{"url": "https://sre.google/", "titulek": "Google SRE - Site Reliability engineering", "h1": "What is Site Reliability Engineering (SRE)?", "popis": "Site reliability engineering: Explore key sre principles & practices. Learn how reliability engineers enhance system's reliability, scalability and performance.", "klicova_slova": "", "kanonicka": "https://sre.google/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "VideoObject", "name": "The History of SRE", "description": "Since 2004, Site Reliability Engineering (SRE) has evolved to become the industry-leading practice for service reliability. In this video, hear from key figures about the history of SRE and what’s next for the SRE community.", "thumbnailUrl": "https://i3.ytimg.com/vi/1NF6N2RwVoc/maxresdefault.jpg", "uploadDate": "2020-07-15T00:00:00+00:00", "duration": "PT4M53S", "contentUrl": "https://www.youtube.com/watch?v=1NF6N2RwVoc"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "What is Site Reliability Engineering (SRE)?"}, {"uroven": 2, "text": "SRE Prodcast"}, {"uroven": 2, "text": "SRE Prodcast"}, {"uroven": 2, "text": "SRE Video Gallery"}, {"uroven": 2, "text": "SRE Video Gallery"}, {"uroven": 2, "text": "Museum of Borgmon Abstract Art"}, {"uroven": 2, "text": "Museum of Borgmon Abstract Art"}, {"uroven": 2, "text": "SRE Careers"}, {"uroven": 2, "text": "SRE Careers"}, {"uroven": 2, "text": "SRE Resources"}, {"uroven": 2, "text": "SRE Resources"}, {"uroven": 2, "text": "What is SRE?"}, {"uroven": 2, "text": "What is SRE?"}, {"uroven": 2, "text": "Product-Focused Reliability for SRE"}, {"uroven": 2, "text": "Product-Focused Reliability for SRE"}, {"uroven": 2, "text": "SRE Books"}, {"uroven": 2, "text": "SRE Books"}], "markdown": "# What is Site Reliability Engineering (SRE)?\n\nSRE is what you get when you treat operations as if it’s a software problem. Our mission is to protect, provide for, and progress the software and systems behind all of Google’s public services — Google Search, Ads, Gmail, Android, YouTube, and App Engine, to name just a few — with an ever-watchful eye on their availability, latency, performance, and capacity.\n\n## SRE Prodcast\n\nDiscover new perspectives on site reliability engineering on Prodcast, our podcast on SRE and production software.\n\n## SRE Prodcast\n\nDiscover new perspectives on site reliability engineering on Prodcast, our podcast on SRE and production software.\n\n## SRE Video Gallery\n\nExplore SRE topics in depth in our video gallery!\n\n## SRE Video Gallery\n\nExplore SRE topics in depth in our video gallery!\n\n## Museum of Borgmon Abstract Art\n\nExplore more of the beauty that emerges from chaos, in this biennial collection of images from our monitoring systems.\n\n## Museum of Borgmon Abstract Art\n\nExplore more of the beauty that emerges from chaos, in this biennial collection of images from our monitoring systems.\n\n## SRE Careers\n\nHear from some of our most senior\n\nengineers about their role at Google.\n\n## SRE Careers\n\nHear from some of our most senior\n\nengineers about their role at Google.\n\n## SRE Resources\n\nA curated list of Site Reliability and Production Engineering resources.\n\n## SRE Resources\n\nA curated list of Site Reliability and Production Engineering resources.\n\n## What is SRE?\n\nSince 2004, SRE has evolved to become the industry-leading practice for service reliability.\n\nHear from key figures about the history of SRE and what’s next for the SRE community.\n\n## What is SRE?\n\nSince 2004, SRE has evolved to become the industry-leading practice for service reliability.\n\nHear from key figures about the history of SRE and what’s next for the SRE community.\n\n## Product-Focused Reliability for SRE\n\nLearn about how a product-focused reliability model can effectively support the overall reliability of a product.\n\n## Product-Focused Reliability for SRE\n\nLearn about how a product-focused reliability model can effectively support the overall reliability of a product.\n\n## SRE Books\n\nRead our SRE books online: \n\nBuilding Secure & Reliable Systems, \n\nThe SRE Workbook, \n\nand the original SRE book.\n\n## SRE Books\n\nRead our SRE books online: \n\nBuilding Secure & Reliable Systems, \n\nThe SRE Workbook, \n\nand the original SRE book.", "znaku_textu": 2382, "slov": 380, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:22:57", "sha256": "4661b438590993a90c09344220c03a24404eb4c071d3946e606bb76d12119322", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/20/", "titulek": "Google SRE: What is SRE? 20 Years of SRE at Google", "h1": "Twenty Years of Site Reliability Engineering at Google", "popis": "Celebrate 20 Years of Google SRE history and its evolution | Learn what is SRE? how it started and the role Google SRE engineers played in its global adoption.", "klicova_slova": "", "kanonicka": "https://sre.google/20/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [[{"@context": "https://schema.org", "@type": "VideoObject", "name": "Dermot Duffy", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/xH9RIxsvBR50eYegeaDSLh1-pNETfMZJlCLN5ffqxYkTahyirlEMMEHrm2kASKsfBWW2pl1o0EjhALYnQNDwrg505T3zE3NwzVrW0SJ9fVBSLkI-X3iH=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M37S", "contentUrl": "https://kstatic.googleusercontent.com/files/d066bff028fe0e14b15c86ddecf8f33d65dc6140f31302276cd492cb94c9a7e9f9f483b4f4ce67547aee69074ad8d93efcd9091a3485b5161ab007202eb6b079"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Jennifer Mace", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/VZctjCirCe4P2jDpiCyaM8_fy3Aooy0l1VUyCcSZSzeWnNI00w-QYCYQgT-N214Jys9iC6zj9FFmj5v3udc8HJmZ3u98XIHooRU255nkT16Ord_JUzE=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT2M17S", "contentUrl": "https://kstatic.googleusercontent.com/files/5ea36355338e8841e584a1a62612c336aef3f024998d25fd44913ce801783a56c64a594e3043e015fd702af4258e77bd529710ad38426d4398c6ee29ec856da3"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Betsy Beyer", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/aaAonji__tcms9X_R3DHmpyWaTbeb2AqQkZ-05NlrW9Eh2fC00cWvzO18snn8wooDL6n8t0Fc0s3ozigwx6qDt3RLlDITi-yBaJ6SI60I1RNyxvPGBg=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M25S", "contentUrl": "https://kstatic.googleusercontent.com/files/638eb7fb140240cdfcfed1b98a358b9c2629f74dc32e88fefadbae72e1772c420c69f68072799bcbe12ad1ff9bf25949d2d98bd6909ee3ce860449d4eeddeab5"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Benjamin Treynor Sloss", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/lQ8ob-AgbkT7MEOwQiW4aPC3G0U-fFqBjpaD0sblpTYGwA6YSUodRrtrNybeFfWUrpmuAXWxHLpwd0mjl8C4xNJar0876dxD8blnF08lwtUZVkFkmBuL=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT2M2S", "contentUrl": "https://kstatic.googleusercontent.com/files/25550fe5b85d3abbed62f27b2c9220a4203e81cbccd09ac5233ebef949223eb7cc4b315eda9a90f2fbccba2027811bca387eacbd56f720895b984da66968027c"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Laura Lamb", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/obDSI1R9Tjx78XxYnzb2fVEObbyUDlTG6xbIIJ3BLlPJpGfEawGA1tGh1rrvkciZih9QKICAWORMX2zUPUR8OqJXKNa0CABfsosPWF2UQd4aeJ6LSKAv=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M37S", "contentUrl": "https://kstatic.googleusercontent.com/files/a13b89cf15731630110749c7b058de70ac26ab6d6922a014089d1d7d2098921c22239066eec4894ee5c17b9367c266c37640fd3772fd2cd3eaa340e24acc6041"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Trisha Weir", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/8xWu9sMwFFwix5PTUkga0sr4bJM7icZxh-k13AU9VOf84OIQyg-nDPb3keEU6rAflXhqQOiqgiEv0tyFauLtLETKQbI6xR4q-OW04Wv1ZzhK7aSRTgk=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M39S", "contentUrl": "https://kstatic.googleusercontent.com/files/b05c773d79c100391495a9ccba30cdbad39d2accd57cecb63b856c18303cc9a8a343ecbfe7daebf09046c7037def3d8ec5493fb8624da6965a9530f9b313a6ac"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Matt Zelesko", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/Nm7IB8Bweqe8SG06GEoKaePmA9wmjR5Hj6S1wixWB-3o4j0jB7zV_kH2hTLAqacOXnBDTHIZnz1xblTbt8-LL7yZneQ2Mxo3o4ThdD2S9ZGqn6-f_LmS=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT2M11S", "contentUrl": "https://kstatic.googleusercontent.com/files/87a6d60dbdb888c60ea17b80560b9fce8432abffc54ba2277a55cefbdad49b8005f2a53909c4df6def452fc46abeea306184261c74bed612b74123cf86b48aaf"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Nicolas Fischbach", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/qMOgkNKiZtg3_2hS4v88Z4HvJ9N7HyVGLz3v347zOu20QqrRws87M1IGZJpTK48KvnYYYF33Q68Fj8cb6EEJ8vgEXzqCpKLj_PQGxjToOEEf1l7gZSw=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M23S", "contentUrl": "https://kstatic.googleusercontent.com/files/87a6d60dbdb888c60ea17b80560b9fce8432abffc54ba2277a55cefbdad49b8005f2a53909c4df6def452fc46abeea306184261c74bed612b74123cf86b48aaf"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Salim Virji", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/AM4X5UMGrGuCU9GwYqexGOGis3Jf0r2vE8SUXZ5agqcDyRh68BHWqAFtgEXjqwdED2nqiBDCmFhBRlRLWauwMfmf2KMyOR-MleK0-hwDh6bhjT6Vc9Q=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M30S", "contentUrl": "https://kstatic.googleusercontent.com/files/60232bd75b59f01d1d81e09bb975a3f5dc4d5fed1ccb83f9a1b4466fc56ac9d7f870cf19c020cc19a8b7b7ef2a51c86c174a0802a1abe3b1054ce895b631404f"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Svetlana Gites", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/Wp04yVGVMMdftjx3e02zsevZtvcC-eAj3Zo710oCQBYwTaQt4NodMy8T1jI6NTXkiumCQsEwrfHhLMY2jZ6WsG3sr0fSJyfU7WMcHOg2CDWJk4BsBw=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT2M15S", "contentUrl": "https://kstatic.googleusercontent.com/files/9bc2d05974974d3e92f0c118dfd932ef6a93b3e9e5998f0466f0c30101c0c1a92a42cbc656f9509620bcd5f52ca488dc7d6e37248be3151a74f6e3ea8d2c1e4b"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Thais Melo", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/Osjwzb02h_KxD4RcbXsDj-_SGy4OZ78f1MWMBR_rqKX2o7m3OBbpocg_ZOw8YbAt0hRep8NHCBgwD5GMXgU9B7BHtMDPBbrh9V1JUqo1AmZajpssrbIz=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M26S", "contentUrl": "https://kstatic.googleusercontent.com/files/47e6ba94f7a19bacfd7d809ab6a74721949c3db5423d22a9bfce48867d89a16eaf6fe99eb2287a130ba066a34a7e0b2fac22a89f1fccf6b080c44e740a058fef"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "JC Van Winkel", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/JM9c3_6QOAmNpaxm300fNdCFQDy6aaq8kKw3N1qUlA0I6tSWyZILqnOEbrWPRw4IvsyTbM2s5zlyIceMIvAjysRsIg774NMh-Z2vlIo8NBpRqqG6-D_T=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M7S", "contentUrl": "https://kstatic.googleusercontent.com/files/d30d4ca73de412dc32fee7f54d6444ab5425afb3b6c8d811b3a22ba8ecf1602938389276c1404b463c9d9923d9ae5a7fbe1b4227a58ff505ae600296024232bf"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Jennifer Petoff", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/sU61xwwwcR3PJvBVpADLT-wEm9Go6wIUu--0olK9A0riSpztCL01BoMix64rpcIAjKE6JT55DtDiEA-dsoai4DS_dn0r8qwtsB-UgFxjQXWVDH4Z5Ew=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M52S", "contentUrl": "https://kstatic.googleusercontent.com/files/a62093de7def6c71b9d0abebf39e454a9623be9f9aa85c1d4c8120cb3ae80b6e6b337c941b308cec90db1853229c4af0f1c3302f00a3dc6ceb9a524829b57172"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Vidhya Narayanan", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/X8EWLaNZI89dTrqSxEZo7RLehYqrk0RG6m28tJIP8JUzeI8Oe7XMR9a8b6eE-XM_KI6f1IGJMTytgzYnPIAAE1VQT6HHMJL2EK2jzaLIP9asA-4AG5o=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M44S", "contentUrl": "https://kstatic.googleusercontent.com/files/8e5c848743c034b16f2b908a3f001cdc98ae48ae89161914e3ac96c3551c34eca07e2e2df7a9ebe9277a889b3947e93918ce170acc51d23de91c59746d032a68"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Dan danrl Luedtke", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/g00jq5CpCmQvKhUXkWpqI9SweCByv_IE9WzNO0BMXxTVQLyvpUWmWT4alxw9K-WcSmwlHUlB-Brv6PHYU2-FMqsEABU6UOk3FW9wnQD4vH6ewJUElIw=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M38S", "contentUrl": "https://kstatic.googleusercontent.com/files/0dca19f6e4a978e89dc05a52e7aac7c0f863d292f6bab10eb8338a299da0984085e4e7a7944a67fd9fba6e55929362f8cb9f1e590ea09260d853606730cfb037"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Michelle Brush", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/UL1i2WoLRuR-BhvzOXZcwe_pm2Yi1awj6sC_jBfDGiG044Qr7vfbgnHKF5ZRQv8Q1KkUYHASMU4pH7Sy7zI8V6RNpWa68javCC0mpaK_4YsFuSQhOQ=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT2M4S", "contentUrl": "https://kstatic.googleusercontent.com/files/b424eccc74b3f10b1d2e861da295f376727f2f645b912745c0259799f64877915d168552b29b7520ff5d2a94a51f945444dff9ff5a854a73601f5c65ef59363b"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Des Keane", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/oO1KTGLtqowEK2zBEaoXY_bzWndOgxdAJtrJsT_-AvC5IVa2RgjwCCzds95T_DX3WYQw-LxdJcV_S5IdxPE2vmBOFYp_Z9FPOgKkgTUVkO94ywJBWiQ=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M51S", "contentUrl": "https://kstatic.googleusercontent.com/files/417e65261067d4f5fba450b463aae4b0c1e85dd55f7ffe1f6c524183945a4900b0a549176b3b4fb9397e612020292a96777f3f7533496f873df67349ae9dceae"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Chris Jones", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/zteT0kCCuwUAw0Rkzjrke_sSGXD2iM5XFcctgDvzxmtfDBoYH9zDfW2PknIyLe5EvxKfSrvoBBwRMeWsNC0EPt2zC_FwhpJDRcO_g1514E7A-MsDcpTv=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M27S", "contentUrl": "https://kstatic.googleusercontent.com/files/f935e07277b398c86ed7b1e95e1b275cd2eb7faaf37d87a5058c25570a475c7751f6d489cd4082ce377de187783abb90dce5091f2d543f6bab9656468e51c1e7"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "Jessica McCarthy", "description": "Twenty Years of Site Reliability Engineering at Google", "thumbnailUrl": "https://lh3.googleusercontent.com/P_KssLxtC4VrfFc7JIx_9X0Hvemd2EMjOSq0cr4F516Em8-rdqa5RNgYamqHZ23Zq4mY2Fu6XlWnK9DHeCWmRM-zcJY5gEvyISzJccmMsG7HMQIFUeg=s0", "uploadDate": "2023-10-25T00:00:00+00:00", "duration": "PT1M1S", "contentUrl": "https://kstatic.googleusercontent.com/files/e97f4f40aedcc64283c546c0eb9aac12964c84b90f9aa668e752279331bd3cfb30de5cd3bc0a644e8516098fa7d4750b8182232a19b49650d6e8cdfee2d360de"}]], "drobecky": [], "osnova": [{"uroven": 1, "text": "Twenty Years of Site Reliability Engineering at Google"}], "markdown": "# Twenty Years of Site Reliability Engineering at Google\n\nCelebrate Twenty Years of Site Reliability Engineering, learn about the history and future of SRE\n\nJessica McCarthy\n\nDirector, Site Reliability Engineering\n\nDermot Duffy\n\nEngineering Director\n\nChris Jones\n\nSite Reliability Engineer\n\nDes Keane\n\nEngineering Director\n\nMichelle Brush\n\nEngineering Director, Site Reliability Engineering\n\nDan \"danrl\" Luedtke\n\nSite Reliability Engineer\n\nVidhya Narayanan\n\nEngineering Director, Site Reliability Engineering\n\nJennifer Petoff\n\nDirector, GCP/TI Education Team (GET)\n\nJC Van Winkel\n\nSite Reliability Educator\n\nJennifer Mace\n\nSite Reliability Engineer\n\nBetsy Beyer\n\nSenior Program Manager\n\nBenjamin Treynor Sloss\n\nVP, 24x7\n\nLaura Lamb\n\nSystems Engineer, Site Reliability Engineering\n\nTrisha Weir\n\nSite Reliability Engineering Manager
- Traffic Dataplane Infrastructure\n\nMatt Zelesko\n\nVice President, Engineering\n\nNicolas Fischbach\n\nSenior Director - Security, Privacy, Resilience and Cloud AI SRE\n\nSalim Virji\n\nSite Reliability Engineer\n\nSvetlana Gites\n\nEngineering Manager SRE\n\nThais Melo\n\nCloud SRE UTL", "znaku_textu": 1057, "slov": 137, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:03", "sha256": "8de940ff6affad390200f1ea7afb15d4d5181d9f4c31c53abfaebf57792277c7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/books/", "titulek": "Google SRE book- Comprehensive guide to site reliability", "h1": "SRE Books", "popis": "Explore the world of site reliability engineering with top-rated sre books. Find resources on SRE principles, best practices and the role of a reliability engineer", "klicova_slova": "", "kanonicka": "https://sre.google/books/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:22:58", "sha256": "7586a595b94792379a70a93c58a459260d8496dc207849a29cfb0ea134a38f07", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://google.github.io/building-secure-and-reliable-systems/raw/toc.html", "https://www.google.com/books/edition/Building_Secure_and_Reliable_Systems/Kn7UxwEACAAJ?hl=en", "https://books.google.com/books?id=fElmDwAAQBAJ", "https://books.google.com/books?id=81UrjwEACAAJ", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/books/building-secure-reliable-systems/", "titulek": "Google SRE book- Comprehensive guide to site reliability", "h1": "SRE Books", "popis": "Explore the world of site reliability engineering with top-rated sre books. Find resources on SRE principles, best practices and the role of a reliability engineer", "klicova_slova": "", "kanonicka": "https://sre.google/books/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/books/", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:17", "sha256": "7586a595b94792379a70a93c58a459260d8496dc207849a29cfb0ea134a38f07", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://google.github.io/building-secure-and-reliable-systems/raw/toc.html", "https://www.google.com/books/edition/Building_Secure_and_Reliable_Systems/Kn7UxwEACAAJ?hl=en", "https://books.google.com/books?id=fElmDwAAQBAJ", "https://books.google.com/books?id=81UrjwEACAAJ", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/careers/", "titulek": "Google SRE - Find your next SRE Job role and sre positions", "h1": "Learn about Site Reliability Engineering Careers", "popis": "Checkout out SRE jobs & positions, including senior site reliability engineer roles. Top positions, career growth and insights from Googles's expert engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/careers/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "VideoObject", "name": "Hear about the SRE Employee Experience", "description": "What's it like to be a Site Reliability Engineer at Google? These Googlers share their experiences so far.", "thumbnailUrl": "https://i3.ytimg.com/vi/JffGP1CrNU8/maxresdefault.jpg", "uploadDate": "2021-07-16T00:00:00+00:00", "duration": "PT7M58S", "contentUrl": "https://www.youtube.com/watch?v=JffGP1CrNU8"}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Hear from some of our most senior engineers about their role at Google."}, {"uroven": 1, "text": "Learn about Site Reliability Engineering Careers"}], "markdown": "## Hear from some of our most senior engineers about their role at Google.\n\nAnna Berenberg\n\nGoogle Fellow\n\nJeffrey Snover\n\nDistinguished Engineer\n\nThais Melo\n\nPrincipal Engineer\n\n[Contact the Google Recruiting Team](https://goo.gle/sre-contact-exec-ic) to learn more about becoming a Principal Engineer, Distinguished Engineer, or Fellow at Google.\n\n# Learn about Site Reliability Engineering Careers", "znaku_textu": 388, "slov": 53, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:04", "sha256": "a0e1cc36b5ce3b7527b88d8cb55ff9d549e75c391021860a0cc8b249e4973eb8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://goo.gle/sre-contact-exec-ic", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/classroom/", "titulek": "Google SRE - Sre wokshop | Learn about NALSD and sre", "h1": "SRE Classroom: Learning about NALSD and SRE", "popis": "SRE Classroom offers workshops by Google SRE, covering NALSD and sre. Learn non-abstract large systems design and gain hands-on experience in system evaluation.", "klicova_slova": "", "kanonicka": "https://sre.google/classroom/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Classroom: Learning about NALSD and SRE"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Tutorials"}, {"uroven": 2, "text": "Distributed PubSub"}, {"uroven": 2, "text": "Distributed ImageServer"}, {"uroven": 2, "text": "The Art of SLOs"}, {"uroven": 2, "text": "Additional Resources"}, {"uroven": 2, "text": "Supplementary Materials"}, {"uroven": 2, "text": "Licensing"}], "markdown": "# SRE Classroom: Learning about NALSD and SRE\n\n## Introduction\n\n*SRE Classroom* is a collection of workshops developed by Google's Site Reliability Engineering group. The goals of this workshop are to (1) introduce participants to the principles of non-abstract large systems design ([NALSD](../../../../../../../workbook/non-abstract-design/)), and (2) provide hands-on experiences with applying these principles to the design and evaluation of these systems. We consider NALSD a concept fundamental to SRE, and understanding its principles provides a basis for having meaningful conversations about the design and operation of large software systems.\n\n## Tutorials\n\n## [Distributed PubSub](distributed-pubsub/)\n\nBuild a planet scale distributed PubSub system using NALSD principles. Learn about some foundational large system design principles and concepts. Topics include correctness, reliability, performance, different inter-system communication styles, and more. We introduce the problem requirements in detail and walk through an example solution.\n\n## [Distributed ImageServer](imageserver/)\n\nBuild a planet scale distributed ImageServer system using NALSD principles. Learn about some foundational large system design principles and concepts. Topics include sharding, replication, latency, load balancing, and more. We introduce the problem requirements in detail and walk through an example solution.\n\n## [The Art of SLOs](../../../../../resources/practices-and-processes/art-of-slos/)\n\nThe Art of SLOs introduces participants to concepts in measuring service reliability: Service Level Indicators (SLIs) and Service Level Objectives (SLOs), and gives them some hands-on experience with creating these measures in practice.\n\n## Additional Resources\n\n## Supplementary Materials\n\nThis section collects material that you can use to continue your study of Non Abstract Large System Design. You can use this material independently of the tutorial material.\n\n[NALSD Flash Cards – A4](/static/pdf/sre_flash_cards_a4.pdf)\n\n[NALSD Flash Cards – Letter](/static/pdf/sre_flash_cards_us_letter.pdf)\n\n[NALSD chapter](/workbook/non-abstract-design/) in the [SRE Workbook](/books/)\n\nIf you find this useful, tell us which topics you want to see in future exercises. Please use the [issue tracker](https://issuetracker.google.com/new?component=942861&template=1498289) to send us your thoughts and suggestions. Alternatively, send us a tweet at [@googlesre.](https://twitter.com/googlesre?lang=en)\n\n## Licensing\n\nThese materials are released under the Creative Commons [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license for anyone to use and reuse, as long as Google is credited as the original author. If you want to suggest improvements, have any problems with the content, or just want to ask a question, please create a bug in our [issue tracker component](https://issuetracker.google.com/new?component=942861&template=1498289).", "znaku_textu": 2903, "slov": 367, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:05", "sha256": "f254c3ec6c3d9cd6ad776300e3b6056c7d5993d38799f8aaf56441ffa598e305", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://issuetracker.google.com/new?component=942861&template=1498289", "https://twitter.com/googlesre?lang=en", "https://creativecommons.org/licenses/by/4.0/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/classroom/distributed-pubsub/", "titulek": "Google SRE classroom - Distributed Publish-subscribe workshop", "h1": "SRE Classroom: Distributed PubSub", "popis": "SRE Classroom: Distributed PubSub teaches NALSD principles through hands on experience in designing and evaluating distributed publish-subscribe messaging systems.", "klicova_slova": "", "kanonicka": "https://sre.google/classroom/distributed-pubsub/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Classroom: Distributed PubSub"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Target Audience"}, {"uroven": 2, "text": "Workshop Materials"}, {"uroven": 2, "text": "Distributed PubSub – Slides"}, {"uroven": 2, "text": "Distributed PubSub – Participant Resources"}, {"uroven": 2, "text": "Distributed PubSub – Facilitator Resources"}, {"uroven": 2, "text": "Additional Resources"}, {"uroven": 2, "text": "Licensing"}], "markdown": "# SRE Classroom: Distributed PubSub\n\n## Introduction\n\n*SRE Classroom: Distributed PubSub* is a workshop developed by Google' Site Reliability Engineering group. The goals of this workshop are to (1) introduce participants to the principles of non-abstract large systems design ([NALSD](../../../../../../../workbook/non-abstract-design/)), and (2) provide hands-on experiences with applying these principles to the design and evaluation of these systems. We consider NALSD a concept fundamental to SRE, and understanding its principles provides a basis for having meaningful conversations about the design and operation of large software systems.\n\nIn the first theoretical part of the workshop, participants learn about some foundational large system design principles and concepts. Topics include correctness, reliability, performance, different inter-system communication styles, and more. We introduce the problem requirements in detail and walk through the first parts of an example solution.\n\nThe practical part of this workshop asks participants to apply the principles they have learned to develop a Publish-Subscribe system that meets certain performance and correctness requirements and [Service Level Objectives (SLOs)](https://cloud.google.com/blog/products/management-tools/practical-guide-to-setting-slos).\n\nThe workshop concludes with a detailed example solution, as well as a discussion of the system's inputs and SLOs.\n\n## Target Audience\n\nThis workshop includes technical content, and its primary audience is software developers and site reliability engineers. We have also welcomed folks in various other roles, including product management and senior engineering management, to this workshop.\n\nThe workshop includes hands-on work well-suited for groups of five, and scales well from 1 to 20 groups—as many as a hundred participants!\n\n## Workshop Materials\n\n## Distributed PubSub – Slides\n\nThis presentation is the backbone of the workshop. It contains the training content that prepares participants for the practical exercises. There are detailed speaker notes for presenters that make it possible to deliver the workshop with minimum preparation. We also provide a *Presenter Guide* with additional tips and guidance for leading the workshop.\n\n[Presentation Slides](https://goo.gle/nalsd-pubsub-slides)\n\n[PDF version of these slides, without speaker notes](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-slides.pdf)\n\n[Presenter Guide - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-a4.pdf)\n\n[Presenter Guide - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-letter.pdf)\n\n## Distributed PubSub – Participant Resources\n\nThe *Participant Handout* contains additional details about the exercise. The *Latency Numbers Everyone Should Know* handout contains reference numbers that are useful for back-of-the-envelope calculations. The *NALSD Workbook* contains reference material that is useful both during the workshop and more generally when applying the NALSD approach to solving system design problems.\n\n[Participant Handout - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-handout-a4.pdf)\n\n[Participant Handout - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-handout-letter.pdf)\n\n[Latency Numbers Everyone Should Know - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-a4.pdf)\n\n[Latency Numbers Everyone Should Know - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-letter.pdf)\n\n[NALSD Workbook - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-a4.pdf)\n\n[NALSD Workbook - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-letter.pdf)\n\n## Distributed PubSub – Facilitator Resources\n\nThe *Facilitator Guide* contains tips and guidance for facilitators of the workshop. Facilitators should read this ahead of time to prepare for making the workshop an awesome experience for everyone involved. The breakout template can be used to set up breakout groups during the hands-on portion of the workshop. This preparation step can be done by either the facilitators or the presenter – be sure to coordinate and make a game plan ahead of time!\n\n[Facilitator Guide - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-a4.pdf)\n\n[Facilitator Guide - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-letter.pdf)\n\n[Breakout Template](https://goo.gle/sre-classroom-breakout-organizer)\n\n## Additional Resources\n\nWe aim to develop durable SRE Classroom materials for folks learning about NALSD. If you find this useful, tell us what you want to see in future exercises. Please use the [issue tracker](https://goo.gle/sre-classroom-new-bug) to send us your thoughts and suggestions. Alternatively, send us a tweet at [@googlesre](https://twitter.com/googlesre?lang=en). Visit the [SRE Classroom page](../) to learn more about NALSD and SRE.\n\n## Licensing\n\nThe workshop documents above are released under the Creative Commons [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license for anyone to use and reuse, as long as Google is credited as the original author. If you want to suggest improvements, have any problems with the content, or just want to ask a question, please create a bug in our [issue tracker component](https://goo.gle/sre-classroom-new-bug).", "znaku_textu": 5606, "slov": 666, "odkazu": 60, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:06", "sha256": "b151a9c6dc3057c3dc3f75971c399e1c169dfff862e3d1cbc3da09ed84a3f655", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/management-tools/practical-guide-to-setting-slos", "https://goo.gle/nalsd-pubsub-slides", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-slides.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-handout-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-pubsub-handout-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-letter.pdf", "https://goo.gle/sre-classroom-breakout-organizer", "https://goo.gle/sre-classroom-new-bug", "https://twitter.com/googlesre?lang=en", "https://creativecommons.org/licenses/by/4.0/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/classroom/imageserver/", "titulek": "Google SRE classroom - Distributed imageserver workshop", "h1": "SRE Classroom: Distributed ImageServer", "popis": "SRE classroom's Google image server workshop teaches NALSD principles through hands-on experience in designing and evaluating distributed imageservers.", "klicova_slova": "", "kanonicka": "https://sre.google/classroom/imageserver/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Classroom: Distributed ImageServer"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Target Audience"}, {"uroven": 2, "text": "Workshop Materials"}, {"uroven": 2, "text": "Distributed ImageServer – Slides & Video"}, {"uroven": 2, "text": "Distributed ImageServer – Participant Resources"}, {"uroven": 2, "text": "Distributed Imageserver – Facilitator Resources"}, {"uroven": 2, "text": "Additional Resources"}, {"uroven": 2, "text": "Licensing"}], "markdown": "# SRE Classroom: Distributed ImageServer\n\n## Introduction\n\n*SRE Classroom: Distributed ImageServer* is a workshop developed by Google's Site Reliability Engineering group. The goals of this workshop are to (1) introduce participants to the [principles of non-abstract large systems design (NALSD)](https://sre.google/workbook/non-abstract-design/), and (2) provide hands-on experiences with applying these principles to the design and evaluation of these systems. We consider NALSD a concept fundamental to SRE, and understanding its principles provides a basis for having meaningful conversations about the design and operation of large software systems.\n\nIn the first theoretical part of the workshop, participants learn about some foundational large system design principles and concepts. Topics include correctness, reliability, performance, different inter-system communication styles, and more. We introduce the problem requirements in detail and walk through the first parts of an example solution.\n\nThis is a presentation style workshop, where the speakers first present the problem, then walk through an example solution and any relevant system design concepts. However, we welcome participants to work through their own solutions before learning about the sample solution. This will give participants an opportunity to apply the principles they have learned to develop an ImageServer system that meets certain performance and correctness requirements and Service Level Objectives (SLOs).\n\n## Target Audience\n\nThis workshop includes technical content, and its primary audience is software developers and site reliability engineers. We have also welcomed folks in various other roles, including product management and senior engineering management, to this workshop.\n\nThe workshop includes hands-on work well-suited for groups of five, and scales well from 1 to 20 groups-as many as a hundred participants!\n\n## Workshop Materials\n\n## Distributed ImageServer – Slides & Video\n\nThis presentation is the backbone of the workshop. It contains the training content that prepares participants for the practical exercises. We provide a pre-recorded video version of this workshop for reference. There are also detailed speaker notes for presenters that make it possible to deliver their own instance of the workshop with minimum preparation. We also provide a Presenter Guide with additional tips and guidance for leading the workshop.\n\n[Presentation Slides](https://goo.gle/nalsd-imageserver-slides)\n\n[Workshop Presentation Video Recording](https://goo.gle/imageserver-video)\n\n[PDF version of these slides, without speaker notes](/static/pdf/image-server.pdf)\n\n[Presenter Guide - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-a4.pdf)\n\n## Distributed ImageServer – Participant Resources\n\nThe *Participant Handout* contains additional details about the exercise. The *Latency Numbers Everyone Should Know* handout contains reference numbers that are useful for back-of-the-envelope calculations. The *NALSD Workbook* contains reference material that is useful both during the workshop and more generally when applying the NALSD approach to solving system design problems. The *Imageserver project code* is an open-source repository with a simple imageserver web application using GCP services. The application allows users to upload photos in a few different formats, search photos by tags, and then download them. Use this as a reference system for exploring the behavior of microservices running inside a Kubernetes cluster.\n\n[Participant Handout - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre_classroom_imageserver_handout_a4.pdf)\n\n[Participant Handout - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre_classroom_imageserver_handout_letter.pdf)\n\n[Latency Numbers Everyone Should Know - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-a4.pdf)\n\n[Latency Numbers Everyone Should Know - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-letter.pdf)\n\n[NALSD Workbook - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-a4.pdf)\n\n[NALSD Workbook - Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-letter.pdf)\n\n[Imageserver project code](https://goo.gle/nalsd-imageserver-code)\n\n## Distributed Imageserver – Facilitator Resources\n\nThe *Facilitator Guide* contains tips and guidance for facilitators of the workshop. Facilitators should read this ahead of time to prepare for making the workshop an awesome experience for everyone involved. The breakout template can be used to set up breakout groups during the hands-on portion of the workshop. This preparation step can be done by either the facilitators or the presenter – be sure to coordinate and make a game plan ahead of time!\n\n[Facilitator Guide - A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-a4.pdf)\n\n[Breakout Template](https://goo.gle/sre-classroom-breakout-organizer)\n\n## Additional Resources\n\nWe aim to develop durable SRE Classroom materials for folks learning about NALSD. If you find this useful, tell us what you want to see in future exercises. Please use the [issue tracker](https://goo.gle/sre-classroom-new-bug) to send us your thoughts and suggestions. Alternatively, send us a tweet at [@googlesre](https://twitter.com/googlesre?lang=en). Visit the [SRE Classroom page](../classroom/) to learn more about NALSD and SRE.\n\n## Licensing\n\nThe materials above are released under the Creative Commons [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license for anyone to use and reuse, as long as Google is credited as the original author. If you want to suggest improvements, have any problems with the content, or just want to ask a question, please create a bug in our [issue tracker component](https://goo.gle/sre-classroom-new-bug).", "znaku_textu": 5993, "slov": 745, "odkazu": 59, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:07", "sha256": "b53400d3f3d549a4a869cceac0055511c49d88f9d7a224b4f19381b0987d33c6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://goo.gle/nalsd-imageserver-slides", "https://goo.gle/imageserver-video", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre-classroom-presenter-guide-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre_classroom_imageserver_handout_a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/sre_classroom_imageserver_handout_letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/rule-of-thumb-latency-numbers-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/nalsd-workbook-letter.pdf", "https://goo.gle/nalsd-imageserver-code", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/facilitator-guide-a4.pdf", "https://goo.gle/sre-classroom-breakout-organizer", "https://goo.gle/sre-classroom-new-bug", "https://twitter.com/googlesre?lang=en", "https://creativecommons.org/licenses/by/4.0/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/cloud/", "titulek": "Google SRE - SRE in cloud, leveraging cloud technology", "h1": "SRE in the Cloud", "popis": "Cloud SRE | Master SRE principles for cloud observability with hands-on tutorials, tools, blogs and videos. Transfrom your organisation with sre in the cloud.", "klicova_slova": "", "kanonicka": "https://sre.google/cloud/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "VideoObject", "name": "How to Adopt Site Reliability Engineering (SRE) on Google Cloud", "description": "SRE is a job function, a mindset, and a set of engineering practices to run reliable production systems. Google Cloud helps you implement SRE principles through our tooling, professional services, and resources.", "thumbnailUrl": "https://lh3.googleusercontent.com/9p6sK3wEHPWSgOsuAgPitKbhiwRnv_XgeRZ91-01xZz8pkner2zYQHZEay4p3qmYG55RQSzsQZz0-STE18gQLN9e9yexYU3CN6OvRPm_sjk80ZUvVCXC=s0", "uploadDate": "2021-08-18T00:00:00+00:00", "duration": "PT1M59S", "contentUrl": "https://www.youtube.com/watch?v=cqllWjlvziY"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE in the Cloud"}, {"uroven": 2, "text": "Simplify your SRE journey with cloud native tooling"}, {"uroven": 3, "text": "Balance development velocity and reliability"}, {"uroven": 3, "text": "Reduce toil through built-in integrations"}, {"uroven": 3, "text": "Become proactive about observability using open APIs"}, {"uroven": 2, "text": "Leverage Cloud Observability suite"}, {"uroven": 3, "text": "Cloud Monitoring"}, {"uroven": 3, "text": "Cloud Logging"}, {"uroven": 2, "text": "SRE practices in the cloud"}, {"uroven": 3, "text": "Google Cloud Blog: DevOps & SRE"}, {"uroven": 3, "text": "Increasing business value with better IT operations: A guide to SRE"}, {"uroven": 2, "text": "Learn from real-world case studies"}, {"uroven": 3, "text": "How Lowe's increased their monthly release velocity by 300x"}, {"uroven": 3, "text": "How Lowe's SRE reduced its mean time to recovery (MTTR) by over 80 percent"}, {"uroven": 3, "text": "How Sabre is using SRE to lead a successful digital transformation"}, {"uroven": 3, "text": "2024 State of DevOps Report"}], "markdown": "# SRE in the Cloud\n\nLearn how to put SRE principles into practice by leveraging cloud technology. Implement SRE in your organization through tooling, hands-on tutorials, videos, blogs, and other resources.\n\n## Simplify your SRE journey with cloud native tooling\n\n### Balance development velocity and reliability\n\nManage reliability and [drive alignment](https://cloud.google.com/blog/products/devops-sre/supercharge-your-devops-practice-with-sre-principles) between developers and operators with baked-in SRE best practices. Create Service-Level Indicators (SLI), set Service-Level Objectives (SLO), and track errors easily with [Service Monitoring](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring). Out-of-the-box metric [dashboards](https://cloud.google.com/monitoring/dashboards) are available to help you quickly view and analyze service health.\n\n### Reduce toil through built-in integrations\n\nOne integrated view across metrics, uptime monitoring, dashboards, and [alerts](https://cloud.google.com/monitoring/alerts) helps with faster resolution and in context observability. You also get access to metrics, traces, and logs with zero setup. Connect to tools you love like PagerDuty to troubleshoot incidents quickly across hybrid and multicloud environments. Near real-time ingestion latency and [terabyte per-second ingestion rate](https://cloud.google.com/logging) ensures you can perform real-time log management and analysis at scale.\n\n### Become proactive about observability using open APIs\n\nLeverage open observability tooling to instrument your applications. [OpenTelemetry](https://cloud.google.com/learn/what-is-opentelemetry) is fully integrated with Cloud Operations, so you can collect and export data from cloud-native applications, Specifically, [Cloud Trace](https://cloud.google.com/trace/docs) allows developers to [instrument and export](https://cloud.google.com/trace/docs/setup/nodejs-ot) applications with OpenTelemetry for faster incident resolution.\n\n## Leverage Cloud Observability suite\n\nMonitor, troubleshoot, and improve application performance on your Google Cloud environment.\n\n[Cloud Monitoring Gain visibility into the performance, availability, and health of your applications and infrastructure.](https://cloud.google.com/monitoring)\n\n[Cloud Logging Securely store, search, analyze, and receive alerts for all of your log data and events in real time with an exabyte-scale, fully managed service.](https://cloud.google.com/logging)\n\n[Learn more](https://cloud.google.com/products/operations)\n\n## SRE practices in the cloud\n\nLearn SRE Best Practices with resources created by SRE Experts\n\nCloud blog\n\n### Google Cloud Blog: DevOps & SRE\n\nGoogle Cloud blogs written by SRE subject matter experts across various SRE and DevOps topics such as setting SLOs, getting the right culture, product announcements, customer stories, and more.\n\n[Learn more](https://cloud.google.com/blog/products/devops-sre)\n\nWhite paper\n\n### Increasing business value with better IT operations: A guide to SRE\n\nThis paper covers the business benefits of SRE, SRE best practices, what Google Cloud offers for SRE, and how Google's own experience can help customers on their SRE journey.\n\n[Learn more](https://cloud.google.com/resources/sre-it-operations-whitepaper)\n\n## Learn from real-world case studies\n\nLearn how Google Cloud customers are able to leverage SRE practices.\n\n- Devops & SRE How Lowe's increased their monthly release velocity by 300x [View story](https://cloud.google.com/blog/products/devops-sre/how-lowes-leverages-google-sre-practices)\n- Devops & SRE How Lowe's SRE reduced its mean time to recovery (MTTR) by over 80 percent [View story](https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre)\n- Devops & SRE How Sabre is using SRE to lead a successful digital transformation [View story](https://cloud.google.com/blog/products/devops-sre/sabre-leverages-google-cloud-and-site-reliability-engineering?skip_cache=true)\n\n### 2024 State of DevOps Report\n\nFor over a decade, the DORA Accelerate State of DevOps report has been offering critical insights into the practices and capabilities that fuel the success of high-performing technology organizations. The tenth edition of the DORA report explores how AI is changing work and its impact on overall technology organizations’ performance.\n\n[Learn more](https://cloud.google.com/devops/state-of-devops/)", "znaku_textu": 4393, "slov": 537, "odkazu": 58, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:08", "sha256": "5384b6d4e10024f0dbd806f52a1e246f1e1c5d2b119d1c2325987288f2f7730d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/devops-sre/supercharge-your-devops-practice-with-sre-principles", "https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring", "https://cloud.google.com/monitoring/dashboards", "https://cloud.google.com/monitoring/alerts", "https://cloud.google.com/logging", "https://cloud.google.com/learn/what-is-opentelemetry", "https://cloud.google.com/trace/docs", "https://cloud.google.com/trace/docs/setup/nodejs-ot", "https://cloud.google.com/monitoring", "https://cloud.google.com/products/operations", "https://cloud.google.com/blog/products/devops-sre", "https://cloud.google.com/resources/sre-it-operations-whitepaper", "https://cloud.google.com/blog/products/devops-sre/how-lowes-leverages-google-sre-practices", "https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre", "https://cloud.google.com/blog/products/devops-sre/sabre-leverages-google-cloud-and-site-reliability-engineering?skip_cache=true", "https://cloud.google.com/devops/state-of-devops/", "https://cloud.google.com/sre", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/in-conversation/", "titulek": "Google SRE - Ben Treynor Sloss on sre and sre team responsibilities", "h1": "In Conversation", "popis": "Ben Treynor Sloss interview with Niall Murphy, discusses about sre & sre roles and responsibilities; highlights how SRE differs from traditional operations.", "klicova_slova": "", "kanonicka": "https://sre.google/in-conversation/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 4, "text": "Niall Murphy"}, {"uroven": 4, "text": "Ben Treynor"}, {"uroven": 1, "text": "In Conversation"}], "markdown": "InterviewerNiall Murphy\n\nSite Reliability Engineer\n\nIntervieweeBen Treynor\n\nVP of Engineering\n\n# In Conversation\n\nIn this interview, Ben Treynor Sloss shares his thoughts with Niall Murphy about what Site Reliability Engineering (SRE) is, how and why it works so well, and the factors that differentiate SRE from operations teams in industry.\n\nFundamentally, it's what happens when you ask a software engineer to design an operations function. When I came to Google, I was fortunate enough to be part of a team that was partially composed of folks who were software engineers, and who were inclined to use software as a way of solving problems that had historically been solved by hand. So when it was time to create a formal team to do this operational work, it was natural to take the \"everything can be treated as a software problem\" approach and run with it.\n\nSo SRE is fundamentally doing work that has historically been done by an operations team, but using engineers with software expertise, and banking on the fact that these engineers are inherently both predisposed to, and have the ability to, substitute automation for human labor.\n\nOn top of that, in Google, we have a bunch of rules of engagement, and principles for how SRE teams interact with their environment -- not only the production environment, but also the development teams, the testing teams, the users, and so on. Those rules and work practices help us to keep doing primarily engineering work and not operations work.\n\nIn general, an SRE team is responsible for availability, latency, performance, efficiency, change management, monitoring, emergency response, and capacity planning.\n\nMany operations teams today have a similar role, sometimes without some of the bits that I've identified. But the way that SRE does it is quite different. That's due to a couple of reasons.\n\nNumber one is hiring. We hire engineers with software development ability and proclivity.\n\nTo SRE, software engineers are people who know enough about programming languages, data structures and algorithms, and performance to be able to write software that is effective. Crucially, while the software may accomplish a task at launch, it also has to be efficient at accomplishing that task **even as the task grows**.\n\n**\"Typically, we hire about a 50-50 mix of people who have more of a software background and people who have more of a systems background. It seems to be a really good mix.\"**\n\nDuring our hiring process, we examine people who are close to passing the Google SWE bar, and who in addition also have a complementary set of skills that are useful to us. Network engineering and Unix system administration are two common areas that we look at; there are others. Someone with good software skills but perhaps little professional development experience, who also is an expert in network engineering or system administration -- we hire those people for SRE. Typically, we hire about a 50-50 mix of people who have more of a software background and people who have more of a systems engineering background. It seems to be a really good mix.\n\nWe've held that hiring bar constant through the years, even at times when it's been very hard to find people, and there's been a lot of pressure to relax that bar in order to increase hiring volume. We've never changed our standards in this respect. That has, I think, been incredibly important for the group. Because what you end up with is, a team of people who fundamentally **will not accept** doing things over and over by hand, but also a team that has a lot of the same academic and intellectual background as the rest of the development organization. This ensures that mutual respect and mutual vocabulary pertains between SRE and SWE.\n\nOne of the things you normally see in operations roles as opposed to engineering roles is that there's a chasm not only with respect to duty, but also of background and of vocabulary, and eventually, of respect. This, to me, is a pathology.\n\nIt's interesting in this context to also look at the organizational differences that make SRE what it is, not just the individual work habits.\n\nOne of the key characteristics that SREs have is that they are free to transfer between SRE teams, and the group is large enough to have plenty of mobility. Additionally, SWEs are free to transfer out of SRE. But, in general, they do not.\n\nThe necessary condition for this freedom of movement is parity between SWEs in general, SREs who happen to be SWEs, and compensation parity between those and systems engineers in SRE. They're all groups that are held to the same standards of performance, the same standards of output, the same standards of expertise. And there's free transfer between the SWE and the SRE SWE team. The key point about free and easy migration for anyone in the SRE group who find that they are working on a project or a system that is \"bad\" is that it is an excellent threat, providing an incentive for development teams to not build systems that are horrible to run.\n\nIt's a threat I use all the time. say, \"Look, basically, we're only hiring engineers into SRE. If you build a system that is an ops disaster, the SREs will leave. I will let them.\" And as they leave and the group drops below critical mass, we will hand operational responsibility back to you, the development team.\n\nIn Google, we have institutionalized this response, with things like the **Production Readiness Review**(PRR). The PRR helps us avoid getting into this situation by examining both the system and its characteristics before taking it on, also by having shared responsibility. This is the simplest and most effective way I know to remove any fantasy about what the system is like in the real world. It also provides a huge incentive to the development team to make a system that has low operational load.\n\n**\"We will assign SREs where they’re going to do the most good.\"**\n\nEarly on, we didn't have much in the way of choice. We could not hire SREs as fast as the demand for them, so there was always scarcity. I used that to our advantage by simply saying, \"We will assign SREs to the places where they're going to do the most good\". Operational only projects have relatively low ROI. I don't put SREs on those. There are other projects which are much more mature and established, and SREs on those projects would have a much higher marginal benefit. Historically, what we have seen is one SRE will replace two SWEs doing the same work, partly because they tend to be expert at production-related technologies and the support model. Roughly, that's the equation that has helped SRE demand stay high. That demand in turn being higher than supply has helped us avoid being pulled into some engagements where the engagement itself would have been sketchy.\n\n**\"We care deeply about keeping SRE an engineering function, so our rule of thumb is that an SRE team must spend at least 50% of its time doing development.\"**\n\nSRE has quarterly service reviews, which are intentionally designed to measure the amount of ops workload that a team has. You can get used to this workload and spend most of your time working on ops only stuff. The reviews are an external check to make sure that if you fall into that mode we notice and take corrective action, which can sometimes mean dissolving the team!\n\nWe care very deeply about keeping SRE an engineering function, so our rule of thumb is that an SRE team must spend at least 50% of its time actually doing development. So how do you enforce that? In the first place, you have to measure it. After the measurement, you ensure that the teams consistently spending less than 50% of their time on development work get redirected or get dissolved.\n\nIndeed; in terms of differentiation between SRE in Google and other, notionally \"SRE\" jobs, this, would be one of the easy ways to figure out what you are getting into. So when you interview with other groups, and talk to the folks in the team who you prospectively may be joining, try to find out how many lines of code they have written in the recent past, and what fraction of their working hours is spent on writing code. If their answer is \"I wrote three functions last month,\" well, you have your answer.\n\n**\"In Google SRE, we pay close attention to the promotion rates by level for everybody irrespective of systems or software background, and compare that to the overall Eng and Eng Software Engineering promotion rates to make sure that they are statistically identical. And they are.\"**\n\nAnother question you could ask is, who are the more senior developers that they're working with either inside the SRE team or outside the SRE team? How often do they end up getting promoted? Is their promotion rate the same as the SWE team?\n\nIn Google SRE, we pay close attention to the promotion rates by level for everybody irrespective of systems or software background, and compare that to the overall Eng and Eng Software Engineering promotion rates to make sure that they are statistically identical. And they are.\n\n**\"The incentive of the development team is to get features launched and to get users to adopt the product. That's it! The incentives of a team with operational duties is to ensure that the thing doesn’t blow up on their watch. So these two would certainly seem to be in tension.\"**\n\nOne classic conflict in the industry is that the ops team comes up with long checklists that the development team must go through before they say something is supported. This is an important conflict, because it's one of those places where you see clearly that the incentives of the two groups are actually different. When you strip away everything else, the incentive of the development team is to get features launched and to get users to adopt the product. That's it! And if you strip away everything else, the incentives of a team with operational duties is to ensure that the thing doesn't blow up on their watch. So these two would certainly seem to be in tension. How do you resolve that?\n\n**\"The business or the product must establish what the availability target is for the system. Once you’ve done that, one minus the availability target is what we call the error budget.\nSo ideally, we would spend all of our unavailability budget taking risks with things we launch in order to get them launched quickly.\"**\n\nThe solution that we have in SRE -- and it's worked extremely well -- is an **error budget**. An error budget stems from this basic observation: 100% is the wrong reliability target for basically everything. Perhaps a pacemaker is a good exception! But, in general, for any software service or system you can think of, 100% is not the right reliability target because no user can tell the difference between a system being 100% available and, let's say, 99.999% available. Because typically there are so many other things that sit in between the user and the software service that you're running that the marginal difference is lost in the noise of everything else that can go wrong.\n\nIf 100% is the wrong reliability target for a system, what, then, is the right reliability target for the system? I propose that's a product question. It's not a technical question at all. It's a question of what will the users be happy with, given how much they're paying, whether it's direct or indirect, and what their alternatives are.\n\nThe business or the product must establish what the availability target is for the system. Once you've done that, one minus the availability target is what we call the error budget; if it's 99.99% available, that means that it's 0.01% unavailable. Now we are allowed to have .01% unavailability and **this is a budget**. We can spend it on anything we want, as long as we don't overspend it.\n\nSo what do we want to spend the error budget on? The development team wants to launch features and get users. So ideally, we would spend all of our unavailability budget taking risks with things we launch in order to get them launched quickly. This basic premise describes the whole model. As soon as you conceptualize SRE activities in this way, then you say, oh, okay, so having things that do phased rollout or 1% experiments, all these are ways of putting less of our unavailability budget at risk, so that we can take more chances with our launches, so that we can launch more quickly. Sounds good.\n\nThis approach also has another good consequence, which is that if the service natively sits there and throws errors, you know, .01% of the time, you're blowing your entire unavailability budget on something that gets you nothing. So you have an incentive in both the development world and the SRE team to improve the service's native stability so that you'll have budget left to spend on things you do want, like feature launches.\n\nThe other crucial advantage of this is that SRE no longer has to apply any judgment about what the development team is doing. SRE measures and enforces, but we do not assess or judge. Our take is \"As long as your availability as we measure it is above your Service Level Objective (SLO), you're clearly doing a good job. You're making accurate decisions about how risky something is, how many experiments you should run, and so on. So knock yourselves out and launch whatever you want. We're not going to interfere.\" And this continues **until** you blow the budget.\n\nOnce you've blown the budget, we don't know how well you're testing. There can be a huge information asymmetry between the development team and the SRE team about features, how risky they are, how much testing went into them, who the engineers were, and so on. We don't generally know, and it's not going to be fruitful for us to guess. So we're not even going to try. The only **sure** way that we can bring the availability level back up is to stop all launches until you have earned back that unavailability. So that's what we do. Of course, such an occurrence happens very rarely, but it does happen. We simply freeze launches, other than P0 bug fixes -- things that by themselves represent improved availability.\n\nThis has two nice effects. One, SRE isn't in this game of second-guessing what the dev team is doing. So there's no need for an adversarial relationship or information hiding or anything else. That's what you want.\n\nThe other thing, which is one I hadn't anticipated but turns out to be really important, is, once the development team figures out that this is how the game works, they self-police. Often, for the kind of systems we run at Google, it's not one development team; it's a bunch of small development teams working on different features. If you think about it from the perspective of the individual developer, such a person may not want a poorly tested feature to blow the error budget and block the cool launch that's coming out a week later. The developer is incentivized to find the overall manager of the teams to make sure that more testing is done before the launch. Generally there's much less information asymmetry inside the development team than there is between the development and SRE teams, so they are best equipped to have that conversation.\n\nAnd that is crucially important.\n\nThe moral authority is a physics question. It is crucial that you establish what the target SLO is upfront, because that is the standard against which you are agreeing that the service will be measured. SRE is at that point simply measuring and enforcing something we've already agreed we want. Very handy position to be in.\n\nIn terms of how you actually generate moral authority, it's easy. You, the development team, have already told us what the SLO for this service must be, and now we're below it. There's nothing else we can do; this is a physics problem. You can't change your mind now. We already decided that this figure is what's in the users' best interest -- currently, the data clearly indicates that we're below that. So we just have to wait until we get back to that availability level. You can use some of this waiting time to make sure that your next release doesn't blow it again.\n\nThe way this is commonly done today is via a [capability maturity](https://en.wikipedia.org/wiki/Capability_Maturity_Model) model. There are many, and they all mostly say the same things. They all start out with the basic question of, do you know what you are doing as a team? Or do you just have a collection of individuals, each of whom knows some fraction of the problem space? Most teams start out at that point; you have a bunch of people, who each knows some stuff, and when you need to do something, you try to get people with enough combined expertise to be able to accomplish what you need to.\n\nIn this way of doing things, when something goes wrong with the service, the outcome is dependent on who the people are. That would be what we call a chaotic situation. As the team matures, you move from chaotic to defined; i.e., you start saying \"Here are the standard things we do, and they are also documented so that anybody on the team can do them.\" You no longer depend on the random selection of the individual who happens to be there. From there you can move to optimizing things, where you're actually measuring them. Now that you've said, \"This is what should happen,\" you look at what actually happened and you compare it to what should have happened. Then you either change the instructions or change how the people are behaving or both, and repeat forever or until done.\n\n**\"So anything that scales headcount linearly with the size of the service will fail.\"**\n\nOne of the things we measure in the quarterly service reviews (discussed earlier), is what the environment of the SREs is like. Regardless of what they say, how happy they are, whether they like their development counterparts and so on, the key thing is to actually measure where their time is going. This is important for two reasons. One, because you want to detect as soon as possible when teams have gotten to the point where they're spending most of their time on operations work. You have to stop it at that point and correct it, because every Google service is growing, and, typically, they are all growing faster than the head count is growing. **So anything that scales headcount linearly with the size of the service will fail**. If you're spending most of your time on operations, that situation does not self-correct! You eventually get the crisis where you're now spending all of your time on operations and it's still not enough, and then the service either goes down or has another major problem.\n\nThe second is, again, this is an engineering team. If you look at the people on the team, their careers and their goals are not furthered by running around closing tickets or provisioning resources. They have engineering skills and expertise that they and their manager want to develop. And that is developed, because they're software engineers, by writing software and working with people who are more senior and experienced and capable than they are, and learning. So you must ensure that they're actually doing those things.\n\nA classic way of doing monitoring is, you have something that's watching a value or a condition or whatever, and when it sees something interesting, spits out an email. This is the most common monitoring I know. But email is not the right approach for this; if you are requiring a human to read the email and decide whether something needs to be done, you are making a mistake. The answer should be, a human never interprets anything, in the alerting domain. Interpretation is done by the software we write. We just get notified when we need to take action.\n\nSo there are, in my view, only **three kinds of valid monitoring output**. There are **alerts**, which say a human must take action right now. Something that is happening or about to happen, that a human needs to take action immediately to improve the situation.\n\nThe second category is **tickets**. A human needs to take action, but not immediately. You have maybe hours, typically, days, but some human action is required.\n\nThe third category is **logging**. No one ever needs to look at this information, but it is available for diagnostic or forensic purposes. The expectation is that no one reads it.\n\nI have never seen monitoring output that does not fall into one of those three categories. I have very frequently seen people make mistakes in implementing monitoring so that they generate logs but treat them as tickets. That's a big mistake. One of the places you normally spot it is: \"Oh, yeah, we had to spend a whole bunch of time reviewing all of this stuff that our monitoring system spits out.\" Well, don't do that. That doesn't scale as you have more users and more instances, the quantity of that stuff will increase and the quality will decrease. You need to develop a system, whether it's monitoring configs or a parser or whatever, you need to write a system that will turn that output into one of the three categories.\n\nYep. More generally, when we talk about overall system availability, there are two basic components to it. There is mean time between failure -- how often does the thing stop working. And then there is mean time to repair -- once it stops working, how long does it take until you fix it?\n\nSome function of those two is your availability. Falling out of that, there are two ways to make a highly available system. (Of course, anywhere between these extremes is also ok, if the numbers stack up.) You can make it fail very rarely, or you are able to fix it really quickly when it does fail. Google has a well-deserved reputation for extremely high availability. And the way SRE gets that is by doing both.\n\nAt the first level -- and this is where we spend most of our time -- we build systems that will tolerate failure. We talk about that in terms of **graceful degradation**, as well as **defense in depth**. They are two different variants of the same thing. Things will fail. What's important is that the user experience is not meaningfully degraded when things fail, giving you enough time to fix them without actually having a user-visible problem. So the MTTR is milliseconds for most failures, because it's automated. Typically, no human will respond in less than two minutes to something that goes wrong. So if you want things that are going to fail without a user impact, the best way to get them is to have them automatically fixed. We do that by defense in depth.\n\nAll the different layers of the system are designed to tolerate point failures, even data center-sized point failures, without the user experience being affected. All that happens automatically. No human lifts a finger and no human often even needs to know about it. It just occurs. That's defense in depth.\n\nGraceful degradation is the ability to tolerate failures without having complete collapse. For example, if a user's network is running slowly, the Hangout video system will reduce the video resolution and preserve the audio. For Gmail, a slow network might mean that big attachments won't load, but users can still read their email. All these are automated responses that give you high availability without a human having to do anything.\n\nOnce a human actually has to do something, then MTTR matters a lot. In particular, the \"R\" part of that means not that a human has gotten the page or that the human has triaged the page, or even that the human has gotten to a keyboard to do something. It is that the human correctly assesses the situation and takes the appropriate corrective actions, versus diagnosing incorrectly or taking ineffective steps.\n\nIn other industries, you have operational manuals; we have operational readiness drills, and that is how we ensure that people know how to respond correctly to a variety of emergency conditions. However, if you get a group of software engineers together and say, \"We're going to do operational readiness drills,\" the nictating membrane will slide down over their eyes, and that will effectively be the end of the conversation, whether you know it or not. One possible way to address that is to take inspiration from role-playing games. Plenty of people in software have played role-playing games at one point or another, and the rest have generally at least heard of them.\n\nSo while nobody wants to do operational readiness drills, everybody is up for a game of Wheel of Misfortune. In this context, Wheel of Misfortune is nothing more than a statistically adjusted selection mechanism for picking a disaster, followed by role playing, in which one person plays the part of the dungeon master -- in this case, the \"system\" -- and the other person plays the part of the on-call engineer. The documentation folks listen in, we record what happened in the scenario, what the on-call engineer said to do, and we compare this against what they actually should have done. Then afterwards we go adjust our playbooks -- our term for operations manuals -- to provide additional information or context for what the ideal responses would have been.\n\nPart of what makes SRE work in the operations world is you drill people on the correct response to emergency situations until they don't have to think about it. And we do it in a way that's culturally compatible: if you've seen SRE groups do this, people actually look forward to these exercises, because it's an opportunity to kind of show off what you know and it's fun.\n\nDemand forecasting and capacity planning can be viewed as ensuring that you have sufficient defense in depth for projected future demand. There's nothing particularly special about that, except most companies don't seem to do it.\n\nAnother differentiator question between Google SRE and other places to work would be, so what N+M do you run your services at? A common answer is some variant of, \"I don't know, because we've never assessed what the capacity of our service is.\"\n\nThey may not say it exactly that way. But if they can't tell you how they benchmark their service, and how they measure its response to 100% or 130% of that load, and how much spare capacity they have at peak demand time, then they don't know. In the absence of demand forecasting or capacity planning, you can expect frequent outages and lots of emergencies.\n\nSo there's two layers of incentives for efficiency. One is that the SRE head count isn't free. A Product Area gets a certain number of head count. They can spend them on developers or they can spend them on SRE. In theory, they will spend only as much on SRE as is necessary to get the optimal feature velocity while meeting their service SLO. In fact, that's actually how many we want them to spend on SRE -- no more, no less. So that's an incentive for them to be frugal with their SREs, and also be careful about the code that their teams write so that it doesn't generate a lot of work that SRE teams need to deal with. Plus, if you build bad code, then all the good SREs leave and you end up either running it yourself or at best having a junior team who's willing to take a gamble.\n\nThe second point is that once you realize capacity is critical to availability then you realize that the SRE team must be in charge of capacity planning, which means they also must be in charge of provisioning and change management. Therefore, you get utilization as a function of how your service works and how the provisioning is done. So SRE, by definition, must be involved in any work on utilization, because they ultimately control provisioning. So you get a very, very big lever on your total costs by paying close attention to your provisioning strategy.\n\nIn general, we've found that when people depart for other organizations, they generally come back. The things that currently distinguish Google SRE from how other companies do things today I would expect over time to be adopted by those companies. It's just a good way to run things.\n\nIt does of course require a lot of management support and a reliance on data to make decisions. This has happened a few times when a problem made it up to senior management; in this case, the VP for Technical Infrastructure, and, eventually, the CEO. They always back the SRE team, so people don't even bother trying anymore. You may not get that kind of management support at all companies.\n\nI am familiar with it. I started coming across it a few years ago. It appears to describe people who are doing things similar to what SRE does, and it does hit the idea of let's have folks who are developers be on our operations team, which I think is excellent.\n\nYes, there appears to be a lot of variance in what \"DevOps\" means in practice. We've iterated to the current SRE definition over the last 15 years, and key pieces include status parity, free transfer, scarcity, operational load caps, error budgets, and so on. I've seen this definition work very well in practice here at Google, and I expect we'll continue to evolve it to make the role even more attractive to developers while at the same time making it more effective at running efficient, high-availability, large-scale systems.\n\n**\"We’ve iterated to the current SRE definition over the last 15 years.\nI expect we’ll continue to evolve it to make the role even more attractive to developers while at the same time making it more effective at running efficient, high-availability, large-scale systems.\"**", "znaku_textu": 29219, "slov": 5103, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:09", "sha256": "898054f2576c8c6607bd8617a8830ef9e9ef7794732f15f4c73c1bb636ca6de2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://en.wikipedia.org/wiki/Capability_Maturity_Model", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/intl/ja_jp/resources/practices-and-processes/art-of-slos/", "titulek": "Google SRE - Art of slo | customer reliability engineering", "h1": "The Art of SLOs", "popis": "The art of SLO's workshop, crafted by google's customer reliability engineering team, teaches how to measure service reliability using SLIs and SLOs hands-on.", "klicova_slova": "", "kanonicka": "https://sre.google/intl/ALL_jp/resources/practices-and-processes/art-of-slos/", "jazyk": "ja", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "VideoObject", "name": "The Art of SLOs (Service Level Objectives)", "description": "Want to learn the Art of SLOs and get access to a free workshop? In this episode, Google Cloud Developer Advocate Riccardo Carlesso shares the Art of SLOs (Service Level Objectives) so you can ensure Reliability is a key feature of your service. Watch to learn about SLOs, SLIs, and choosing the right reliability target metrics for your application!", "thumbnailUrl": "https://i3.ytimg.com/vi/E3ReKuJ8ewA/maxresdefault.jpg", "uploadDate": "2022-01-26T00:00:00+00:00", "duration": "PT4M0S", "contentUrl": "https://www.youtube.com/watch?v=E3ReKuJ8ewA"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Art of SLOs"}, {"uroven": 2, "text": "イントロダクション"}, {"uroven": 2, "text": "ĺŻžčąĄĺ‚ĺŠ č€"}, {"uroven": 2, "text": "ワークショップ資料"}, {"uroven": 2, "text": "The Art of SLOs – スライド"}, {"uroven": 2, "text": "The Art of SLOs – ĺ‚ĺŠ č€…ç”¨čł‡ć–™"}, {"uroven": 2, "text": "The Art of SLOs – ファシリテーター用資料"}, {"uroven": 2, "text": "ライセンス"}], "markdown": "# The Art of SLOs\n\n## イントロダクション\n\nThe Art of SLOsは、Googleぎ[Customer Reliability Engineering](https://cloud.google.com/blog/products/gcp/introducing-a-new-era-of-customer-support-google-customer-reliability-engineering)チームによって開発されたワークショップです。このワークショップの目的は、GoogleăŒă‚ľăƒźăƒ“ă‚šăŽäżĄé źć€§ă‚’č¨ˆć¸Źă™ă‚‹ć–šćł• [サービスレベル指標(SLI) とサービスレベル目標 (SLO)](https://cloud.google.com/blog/products/gcp/availability-part-deux-CRE-life-lessons)ă‚’ĺ‚ĺŠ č€…ăŤç´šäť‹ă—ă€ĺŽŸéš›ăŤă“ă‚Œă‚‰ăŽč¨ˆć¸Źć–šćł•ă‚’ä˝œćˆă™ă‚‹ă“ă¨ă‚’ä˝“é¨“ă—ăŚă‚‚ă‚‰ă†ă“ă¨ă§ă™ă€‚ă“ă‚Œă‚‰ăŻé‡čŚă§ĺœŸĺ°ă¨ăŞă‚‹ćŚ‚ĺżľă§ă™ă€‚ă‚ľăƒźăƒ“ă‚šăŽäżĄé źć€§ă‚’ĺŽ˘čŚłçš„ăŤć¸ŹĺŽšă™ă‚‹ć–šćł•ăŒă‚ă‚Œă°ă€ă‚ľăƒźăƒ“ă‚šăŽäżĄé źć€§ăŤă¤ă„ăŚćœ‰ć„çžŠăŞäźščŠąă‚’ă™ă‚‹ă“ă¨ăŒăŻă‚‹ă‹ăŤç°Ąĺ˜ăŤăŞă‚Šăžă™ă€‚\n\năƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ăŽç†čŤ–çˇ¨ă§ăŻă€é–‹ç™şăƒăƒźăƒ ă¨é‹ç”¨ăƒăƒźăƒ ăŽé–“ă§ă—ă°ă—ă°ç”Ÿă˜ă‚‹çľ„çš”çš„ăŞçˇŠĺźľă‚’ă€ă‚ľăƒźăƒ“ă‚šăŽćœ›ăžă—ă„äżĄé źć€§ă‚’čĄ¨ă™ç›Žć¨™ĺ€¤ă‚’č¨­ĺŽšă™ă‚‹ă“ă¨ă§č§Łćąşă™ă‚‹ć–šćł•ă‚’ĺ­Śăłăžă™ă€‚ăžăŸă€SLOă¨ă‚¨ăƒŠăƒźăƒă‚¸ă‚§ăƒƒăƒˆă‚’ä˝żăŁăŚă€ăƒ‡ăƒźă‚żé§†ĺ‹•ă§ă€ĺŽ˘čŚłçš„ă€ă‹ă¤ăƒŚăƒźă‚śăƒźé‡čŚ–ăŽć–šćł•ă§ă‚ľăƒźăƒ“ă‚šăŽäżĄé źć€§ă‚’ć¸ŹĺŽšăƒťçŽĄç†ă™ă‚‹ć–šćł•ăŤă¤ă„ăŚă‚‚ç´šäť‹ă—ăžă™ă€‚ăƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ă§ăŻă€ćŠ€čĄ“çš„ăŞĺ´é˘ă‹ă‚‰ă€č‰Żă„SLIを作るための品質について簡単に紹介します。最後に、SLI開発の4ステッププロセスを、架空のモバイルゲームのサーバー側インフラとユーザーとの簡単なやりとりに適用して、セッションは終了します。\n\nワークショップの実践編では、学んだことをゲームのユーザーとインフラとのより複雑なインタラクションに応用してもらいます。それぞれのインタラクションには特別な工夫が凝らされており、ユーザーが何を期待しているのか、そしてサービスがその期待にどれだけ応えているかを示す良い代替指標を見つけるにはどうしたらよいのか、真剣に考えなければなりません。最後に回答例が提示され、自分の進捗状況や推測と比較することができます。\n\n## ĺŻžčąĄĺ‚ĺŠ č€\n\năƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ăŽĺ†…ĺŽšăŻćŻ”čźƒçš„ćŠ€čĄ“çš„ăŞă‚‚ăŽă§ă€ä¸ťăŤé–‹ç™şăƒťé‹ç”¨ă‚¨ăƒłă‚¸ăƒ‹ă‚˘ă¨ăăŽç›´ĺąžăŽçŽĄç†čˇă‚’ĺŻžčąĄă¨ă—ăŚă„ăžă™ă€‚ă—ă‹ă—ă€ćŠ€čĄ“ĺż—ĺ‘ăŽéŤ˜ă„čŁ˝ĺ“ć‹…ĺ˝“č€…ă‚„ăƒ“ă‚¸ăƒă‚šăƒŞăƒźăƒ€ăƒźă‚‚ĺ‚ĺŠ ă§ăă‚Œă°ă€ćœ€č‰ŻăŽçľćžœă‚’ĺž—ă‚‹ă“ă¨ăŒă§ăă‚‹ă§ă—ă‚‡ă†ă€‚SLOăŽç›Žć¨™ĺ€¤ăŻăƒŚăƒźă‚śăƒźă‚’ĺżľé ­ăŤč¨­ĺŽšă™ă‚‹ĺż…čŚăŒă‚ă‚Šăžă™ă€‚ăžăŸă‚¨ăƒŠăƒźăƒă‚¸ă‚§ăƒƒăƒˆăŻă€ăă‚Œă‚’ä˝żă„ćžœăŸă—ăŸĺ ´ĺˆăŤă€çľŒĺ–śé™ŁăŽĺžŒă‚ç›žăŒă‚ăŁăŚĺˆă‚ăŚă€çľ„çš”ăŽçˇŠĺźľă‚’č§Łăă“ă¨ăŒă§ăă‚‹ăŽă§ă™ă€‚\n\năƒăƒźăƒ ĺ…¨ä˝“ă‚’ć•™č‚˛ă™ă‚‹ĺż…čŚăŒăŞă„ĺ ´ĺˆăŻă€[Courseraの「Measuring and Managing 」コース](https://www.coursera.org/learn/site-reliability-engineering-slos)のほうがより適しているかもしれません。このコースでは、SLI、SLO、エラーバジェットの世界について、より詳しく、自分のペースで学ぶことができます。\n\n## ワークショップ資料\n\n## [The Art of SLOs – スライド](https://docs.google.com/presentation/d/1WA0N-Xq6HWFpEigTUPyybsULnqZz7qfnApZYMNCU674/edit#slide=id.g75945b48fe_0_0)\n\năƒ—ăƒŹă‚źăƒłăƒ†ăƒźă‚ˇăƒ§ăƒłă¨ăƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ăŽéŞ¨ĺ­ă¨ăŞă‚‹ă‚‚ăŽă§ă™ă€‚ĺ‚ĺŠ č€…ăŒĺŽŸčˇľçš„ăŞćź”çż’ă‚’čĄŒă†ăŸă‚ăŽćş–ĺ‚™ă¨ăŞă‚‹ăƒˆăƒŹăƒźăƒ‹ăƒłă‚°ĺ†…ĺŽšăŒĺŤăžă‚ŒăŚă„ăžă™ă€‚ăƒ—ăƒŹă‚źăƒłă‚żăƒźăŽăŸă‚ăŽčŠłç´°ăŞă‚šăƒ”ăƒźă‚ŤăƒźăƒŽăƒźăƒˆăŒă‚ă‚Šă€ćœ€ĺ°é™ăŽćş–ĺ‚™ă§ăƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ă‚’ĺŽŸć–˝ă™ă‚‹ă“ă¨ăŒă§ăăžă™ă€‚\n\n[PDF版(スピーカーノートなし)](/static/pdf/jp-art-of-slos-slides-pdf.pdf)\n\n## [The Art of SLOs – ĺ‚ĺŠ č€…ç”¨čł‡ć–™](https://docs.google.com/document/d/1WWQ9asDFlgr7f4jTh2xgxm8XIMLK_244-sDBMIvqVtw/edit#heading=h.cv46xi8vwp4b)\n\nç ”äżŽĺ˝“ć—ĽăŤăƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ĺ‚ĺŠ č€…ĺ…¨ĺ“ĄăŤăŠć¸Ąă—ă™ă‚‹30ページほどの印刷用ハンドブックです。ワークショップ中はもちろん、一般的にサービスのSLOを作成する際に役立つ参考資料や、実習に必要な架空のモバイルゲームの背景や技術的な詳細が記載されています。\n\n[ハンドブック(A4版)](/static/pdf/jp-art-of-slos-handbook-pdf-a4.pdf)\n\n[SLOワークシート](https://docs.google.com/document/d/16KbWO1sz8QjWRg3vbXn1CKBlx9Mh0BF_UMpslvHD_WY/edit#)\n\n[SLOワークシート(A4版)](/static/pdf/jp-art-of-slos-worksheet-pdf-a4.pdf)\n\n## [The Art of SLOs – ファシリテーター用資料](https://docs.google.com/document/d/1pxA3MJFrbXy9Yums1jHNjAW9NMFSQFPRpZMHD4-aHks/edit#)\n\năƒŻăƒźă‚Żă‚ˇăƒ§ăƒƒăƒ—ă‚’äźç”ťăƒťé‹ĺ–śă™ă‚‹ăŸă‚ăŽăƒ•ă‚Ąă‚ˇăƒŞăƒ†ăƒźă‚żăƒźăƒăƒłăƒ‰ăƒ–ăƒƒă‚Żă§ă™ă€‚ăƒă‚żăƒăƒŹăŤăŞă‚Šăžă™ăŒă€ĺ‚ĺŠ č€…ăŒSLOを作成するよう求められる、より複雑で難しい2ă¤ăŽă‚¤ăƒłă‚żăƒŠă‚Żă‚ˇăƒ§ăƒłăŤă¤ă„ăŚă€ćąşĺŽšäş‹é …ăŽčŠłç´°ăŞç†ç”ąă¨ă¨ă‚‚ăŤé•ˇć–‡ăŽSLOの例が掲載されています。\n\n[ハンドブック(A4版)](/static/pdf/jp-art-of-slos-howto-pdf-a4.pdf)\n\n## ライセンス\n\n上記の4つの文書は、クリエイティブ・コモンズ [CC-BY-4.0](http://creativecommons.org/licenses/by/4.0/) ライセンスの下で公開されており、Google が原著者としてクレジットされている限り、誰でも自由に使用・再利用することができます。もし、[改善を提案したい](https://issuetracker.google.com/issues/new?component=765274&template=1371896)、[コンテンツに問題](https://issuetracker.google.com/issues/new?component=765274&template=1371794)がある、または単に[質問をしたい](https://issuetracker.google.com/issues/new?component=765274&template=1371921)ĺ ´ĺˆăŻă€ç§ăŸăĄăŽ[イシュートラッカーのコンポーネント](https://issuetracker.google.com/issues?q=status:open%20componentid:765274)でバグを作成してください。", "znaku_textu": 6111, "slov": 150, "odkazu": 56, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:31", "sha256": "aa8cb1c4e3b2855c490dca1306f4d1e9c99d1adf78632df0f1c177e9b98e6395", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/introducing-a-new-era-of-customer-support-google-customer-reliability-engineering", "https://cloud.google.com/blog/products/gcp/availability-part-deux-CRE-life-lessons", "https://www.coursera.org/learn/site-reliability-engineering-slos", "https://docs.google.com/presentation/d/1WA0N-Xq6HWFpEigTUPyybsULnqZz7qfnApZYMNCU674/edit", "https://docs.google.com/document/d/1WWQ9asDFlgr7f4jTh2xgxm8XIMLK_244-sDBMIvqVtw/edit", "https://docs.google.com/document/d/16KbWO1sz8QjWRg3vbXn1CKBlx9Mh0BF_UMpslvHD_WY/edit", "https://docs.google.com/document/d/1pxA3MJFrbXy9Yums1jHNjAW9NMFSQFPRpZMHD4-aHks/edit", "http://creativecommons.org/licenses/by/4.0/", "https://issuetracker.google.com/issues/new?component=765274&template=1371896", "https://issuetracker.google.com/issues/new?component=765274&template=1371794", "https://issuetracker.google.com/issues/new?component=765274&template=1371921", "https://issuetracker.google.com/issues?q=status%3Aopen+componentid%3A765274", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/intl/ja_jp/resources/practices-and-processes/enterprise-roadmap-to-sre/", "titulek": "Google SRE - sre roadmap guide: enterprise roadmap to sre", "h1": "SREエンタープライズロードマップ - Google - Site Reliability Engineering", "popis": "Enterprise roadmap to SRE guide, a step-by-step approach for integrating the sre function into your organization, ensuring reliable IT operations.", "klicova_slova": "", "kanonicka": "https://sre.google/intl/ALL_jp/resources/practices-and-processes/enterprise-roadmap-to-sre/", "jazyk": "ja", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Despite SRE's popularity, many enterprises have experienced a significant gap between initial enthusiasm for SRE and its often modest level of adoption. If you're a product owner or have a stake in reliable services and need to know more about SRE adoption, this report will methodically guide you through the process.", "datePublished": "2022-01-20", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/enterprise-roadmap-to-sre.pdf", "bookFormat": "http://schema.org/Ebook", "name": "SREエンタープライズロードマップ - Google - Site Reliability Engineering", "author": [{"@type": "Person", "name": "James Brookbank"}, {"@type": "Person", "name": "Steve McGhee"}], "publisher": [{"@type": "organization", "name": "Google"}], "bookEdition": "First Edition", "isbn": "978-1-098-11771-9", "inLanguage": "en"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SREエンタープライズロードマップ - Google - Site Reliability Engineering"}], "markdown": "# SREエンタープライズロードマップ - Google - Site Reliability Engineering\n\nGoogle が過去に出版した 2 冊の書籍「[Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/)」と「[The Site Reliability Workbook](https://sre.google/workbook/table-of-contents/)」は、サービスライフサイクル全体への取り組みによって、組織がソフトウェアシステムの構築、展開、監視、保守を成功させる方法と理由を示しています。本レポートでは、Google Cloud Reliability Advocate ぎ Steve McGhee と Google Cloud Solutions Architect ぎ James Brookbank が、組織で SRE を導入する際にエンジニアが直面する特定の課題について深く掘り下げています。\n\nSRE の普及にもかかわらず、多くの企業では SRE ăŤĺŻžă™ă‚‹ĺ˝“ĺˆăŽç†ąć„ă¨ă€ăăŽćŽĄç”¨ăŽĺşŚĺˆă„ăŽé–“ăŤĺ¤§ăăŞéš”ăŸă‚ŠăŒç”Ÿă˜ăŚă„ăžă™ă€‚ćœŹăƒŹăƒăƒźăƒˆăŻă€ăƒ—ăƒ­ăƒ€ă‚Żăƒˆă‚ŞăƒźăƒŠăƒźă‚„äżĄé źć€§ăŽéŤ˜ă„ă‚ľăƒźăƒ“ă‚šăŤćşă‚ă‚‹ć–šă€…ăŒă€SREの採用について知りたいときに、そのプロセスを体系的に説明するものです。\n\n- 既存の環境を評価し、期待値を設定することから始める\n- äżĄé źć€§ăŤĺŻžă™ă‚‹ SRE ăŽă‚˘ăƒ—ăƒ­ăƒźăƒă‚’ć¤œč¨źă—ă€ăŞăœäżĄé źć€§ăŒćœ€ă‚‚ćœ›ăžă‚Œă‚‹čŁ˝ĺ“ćŠŸčƒ˝ăŞăŽă‹ă‚’ĺ­Śăś\n- リスクの受容など、SRE の基本原則を既存の組織に当てはめる方法について学ぶ\n- チームメンバーができること、知っていること、使っているツールに基づき、チームのための SRE のプラクティスを開発する\n- SRE の成功を積極的に促進し、組織内で SRE を継続的に機能させるためのヒントを得る\n\n[PDF](/static/pdf/jp-enterprise-roadmap-to-sre.pdf)", "znaku_textu": 1807, "slov": 69, "odkazu": 43, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:28", "sha256": "e4078c42e5204e0496012a341c577fe3e3d650bbce99897f991fec2bb25eed41", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/local/", "titulek": "Google SRE Events", "h1": "Google SRE Events", "popis": "Discover Site Reliability Engineering, find local events, meetups, resources to learn more about SRE and reliability engineering", "klicova_slova": "", "kanonicka": "https://sre.google/local/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Google SRE Events"}], "markdown": "# Google SRE Events\n\nGoogle SRE invites the community to join us at our local events and meetups, taking place in the following locations. The events offer a chance to share knowledge and to meet folks from SRE and related fields.\n\n| Munich | [https://muc.sre.xyz/](https://muc.sre.xyz/) |\n| --- | --- |\n| New York | [https://www.meetup.com/new-york-site-reliability-engineering-tech-talks/](https://www.meetup.com/new-york-site-reliability-engineering-tech-talks/) |\n| Pittsburgh | [https://www.meetup.com/pittsburgh-site-reliability-engineering/](https://www.meetup.com/pittsburgh-site-reliability-engineering/) |\n| Sunnyvale | [https://www.meetup.com/google-bay-area-sre-engagement/](https://www.meetup.com/google-bay-area-sre-engagement/) |\n\nNote: These are not recruiting events, and no recruiters from Google or other companies participate.", "znaku_textu": 813, "slov": 90, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:10", "sha256": "18502fa22cdd0669c0eabd24843eee4a0b2e262a2a54c79a392444392cb464a7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://muc.sre.xyz/", "https://www.meetup.com/new-york-site-reliability-engineering-tech-talks/", "https://www.meetup.com/pittsburgh-site-reliability-engineering/", "https://www.meetup.com/google-bay-area-sre-engagement/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/mobaa/", "titulek": "Google SRE - Get glimpse into the mobaa visual patterns", "h1": "Welcome to the Museum of Borgmon Abstract Art!", "popis": "Mobaa monitoring graphs reveal visual patterns in time-series data, showcasing beauty in chaos, some emerged during tough rollouts or incidents in Google's sytems.", "klicova_slova": "", "kanonicka": "https://sre.google/mobaa/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Welcome to the Museum of Borgmon Abstract Art!"}, {"uroven": 2, "text": "2024 Gallery"}, {"uroven": 2, "text": "2022 Gallery"}, {"uroven": 2, "text": "2020 Gallery"}, {"uroven": 2, "text": "Vector Methods"}], "markdown": "# Welcome to the Museum of Borgmon Abstract Art!\n\nThese images offer a glimpse into the visual patterns that appear in our variables and time-series, and the beauty that emerges from chaos. Some of the images in these galleries appeared during difficult rollouts, and some even during production incidents. All come from graphs generated by Google’s monitoring systems.\n\n## [2024 Gallery](/mobaa/2024/)\n\n## [2022 Gallery](/mobaa/2022/)\n\n## [2020 Gallery](/mobaa/frayed/)\n\n## [Vector Methods](/mobaa/methods/)", "znaku_textu": 493, "slov": 66, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:11", "sha256": "21954ff243f6866b7022bc0653dea1f75bea22c36c0887311eeb4a1e1112c11c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/mobaa/2022/", "titulek": "Google SRE - Museum of Borgmon Abstract Art", "h1": "2022 Gallery Page", "popis": "Discover the intersection of Borgmon abstract art gallery, turning system data into artistic insights.", "klicova_slova": "", "kanonicka": "https://sre.google/mobaa/2022/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:14", "sha256": "5bf5ba724a4dbf4a07dc098ec1eb6e25a2eaab0e4f1a97232076e86c28a69f23", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/mobaa/2024/", "titulek": "Museum of Borgmon Abstract Art - Google - Site Reliability Engineering", "h1": "2024 Gallery Page", "popis": "SRE Google Borgmon SREArt MonArt OpsArt monitoring gallery 2024", "klicova_slova": "", "kanonicka": "https://sre.google/mobaa/2024/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:15", "sha256": "78716778ded7a3aacfba81abfe12f2c285a98c4abf40035628e93cef2fdb9d71", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/mobaa/frayed/", "titulek": "Google SRE - The Museum of Borgmon Abstract Art", "h1": "The Museum of Borgmon Abstract Art", "popis": "Visualizing SRE graphs through Borgmon abstract art, offers a unique perspective on sre graph representation, blending monitoring with creativity.", "klicova_slova": "", "kanonicka": "https://sre.google/mobaa/frayed/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:13", "sha256": "055eddc6c6fde276c435d24215a9d0eb79ed4a96f9ef19ede3db047edd2dbee7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/mobaa/methods/", "titulek": "Google SRE - Methods for vector display of internet artifacts", "h1": "Methods for Vector Display of Internet Artifacts", "popis": "Methods for vector display of internet artifacts: Explore how Google's panopticon and monarch system enhance the visualization and monitorng digital data at scale.", "klicova_slova": "", "kanonicka": "https://sre.google/mobaa/methods/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Methods for Vector Display of Internet Artifacts"}, {"uroven": 2, "text": "You Know The Rules And So Do I"}, {"uroven": 3, "text": "By Štěpán Davidovič with Salim Virji"}, {"uroven": 3, "text": "Let's get started"}, {"uroven": 3, "text": "From Rick Astley Video to Rick Silhouete"}, {"uroven": 3, "text": "From Rick Silhouete to Monarch Astley"}, {"uroven": 3, "text": "On-Screen, Data"}, {"uroven": 3, "text": "Animate!"}, {"uroven": 3, "text": "Writing On The Wall"}, {"uroven": 3, "text": "Final Thoughts"}], "markdown": "# Methods for Vector Display of Internet Artifacts\n\n## You Know The Rules And So Do I\n\n### By Štěpán Davidovič with Salim Virji\n\nOne way to learn about distributed systems in depth is to creatively misuse them, and find the limits of their flexibility. Thus, one year when April Fool's came along, I took the opportunity to do just that - Google as a whole [has quite a history of April Fools' jokes.](https://en.wikipedia.org/wiki/List_of_Google_April_Fools%27_Day_jokes)\n\nI am a frequent user of [Monarch](https://www.vldb.org/pvldb/vol13/p3181-adams.pdf), Google's planet-scale monitoring system, and Panopticon (or PCon), its user interface. PCon displays monitoring graphs that contain up to 127 lines of information on how your system is doing. Monarch collects and stores metric data, and allows arbitrary querying using a rich query language: the python-based, domain-specific language called Mash. Google Cloud users may also recognize the [Monarch Query Language](https://cloud.google.com/monitoring/mql).\n\nA Mash query looks like so:\n\n```\nFetch(Raw('example.production.Servers', '/my/service/errors'),\n {'user': 'stepand',\n 'server': 'rickroll_server'})\n | Window(Align('1h'))\n | GroupBy([], Sum())\n```\n\nNow I wanted to take this Monarch system and creatively misuse it-that is, use it in an unusual way. What better way to do this than-wait for it-Rickroll Monarch?\n\nFor those that don't know, \"[Rickrolling](https://en.wikipedia.org/wiki/Rickrolling) is a bait-and-switch prank that involves posting a hyperlink that is supposedly relevant to the topic at hand . . . but redirects the viewer to the music video of Never Gonna Give You Up, a 1987 dance-pop single by English singer-songwriter Rick Astley.\"\n\nSo let's put Monarch and Rickroll together! How can we Rickroll Monarch?\n\nAside from the April Fool's joke, serious learning occurred, too. This project taught me about problem decomposition and being principled at cutting corners in exactly the right places. It helped me move from instinctive to deliberate when explaining why I felt this or that corner should be cut. And it gave me more familiarity with our monitoring system. And this prank was also a good opportunity to practice a thing or two about graphics and animation, subjects I find interesting in their own right.\n\n### Let's get started\n\nOkay, so how do you get Rick Astley to show up dancing on your monitoring dashboard?\n\nFrom the start, I wanted to use lines on Panopticon-that is, treat it as a vector display. It's a natural choice, given that in Panopticon, everything is a line. If we're doing vectors, what problems do we have to solve?\n\n1. Get the actual Rick Astley video. Turns out, this is not a big problem. There are a bunch of videos on the internet. Phew, I was worried for a moment!\n2. Turn the video into vectors. I'm okay with outlines, so we need one silhouette per each frame of animation.\n3. Take the silhouette and write it into Monarch correctly. There's a bunch of limitations to that.\n4. Display the animation at a sufficient refresh rate so that it actually looks like animation to people.\n\nSource: Video capture from [https://www.youtube.com/watch?v=dQw4w9WgXcQ](https://www.youtube.com/watch?v=dQw4w9WgXcQ)\n\n**Bonus points**: Don't melt Monarch in the process! Everything done here is an abuse of the system, of course, so I want to be careful. I need to learn a lot about the system first\n\n### From Rick Astley Video to Rick Silhouete\n\nIf we look at the Rick Astley video, we can see there's a lot going on: there's a complex background, a microphone, and of course, Mr. Astley is moving around quite a bit\n\nMy first thought was rotoscoping it. I've done that a few times for some amateur movie shots. It isn't too hard, but it takes a lot of effort-nope, not gonna happen.\n\nMy second thought was, has someone done this already? As a matter of fact, yes, someone did: Google! A few years back, Google [Rickrolled the internet](https://www.engadget.com/2014-06-06-this-is-the-truth-behind-webdriver-torso.html) with a Rickroll in Webdriver Torso.\n\nOk, we've got a high contrast silhouette now. Still no vectors, but much easier to turn into vectors.\n\nFirst things first. Let's download the video from [https://www.youtube.com/watch?v=klqi_h9FElc](https://www.youtube.com/watch?v=klqi_h9FElc) and turn it into a series of frames:\n\n```\n$ mkdir frames\n$ ffmpeg -i klqi_h9FElc.mkv -r 4 frames/output_%04d.png\n```\n\nNow that I have each individual frame, I only care about the red part of every frame (thanks, whoever made this Webdriver Torso video!). Shell script using Imagemagick makes quick work of that and leaves only the parts I care about. I found this Imagemagick invocation on the internet and just adjusted the colors:\n\n```\n$ cd frames\n$ mkdir processed\n$ for i in *.png; do convert \"$i\" -level 25%,75% -fill white -fuzz 10% +opaque \"#f90000\" \"processed/$i.pnm\"; done\n```\n\nNotice the \".pnm\" suffix. This suffix indicates that I want the files to be processed by the next tool in the pipeline: [potrace](http://potrace.sourceforge.net/). It only accepts a few input formats. The resulting images may not be pretty, but they'll do. There are various minor blotches of compression artifacts, which I'm sure I could remove somehow, but these are corners I can easily cut later, so I didn't bother removing them now\n\nIn my experience, Potrace is probably the fastest, easiest way to convert an outline into vectors, for simple shapes. I frequently use Potrace in graphics work, to get SVG into Inkscape.\n\nHowever, SVG is kind of awkward to work with, and I have many more steps left. Remember, I need to get this data into Monarch, which still requires a lot more processing. Also, Potrace generates Bezier curve definitions, which I'd need to turn into individual data points. Handling SVG and Bezier curves is a lot of work. Can I do something easier?\n\nThis is when I notice that Potrace supports \"[GeoJSON](http://geojson.org/)\", a format I've never heard of before, but it conveniently dumps data into JSON. In addition, GeoJSON approximates Bezier curves by eight straight line segments. Score! Double victory!\n\nNext, let's use CSV as a simple data interchange format. My data format is a CSV with three columns: frame number, point x coordinates, and point y coordinates. A single frame has a single silhouette, and the points are the outline of that silhouette.\n\nI run a simple Python script and get this generated!\n\n```\nimport csv\nimport json\nimport subprocess\nimport sys\n\nwith open('result.csv', 'w') as output_csv:\n writer = csv.writer(output_csv, lineterminator='\\n')\n for index, fn in enumerate(sys.argv[1:]):\n print '[%d] Tracing PNM %s' % (index, fn)\n with open(fn) as input_pnm:\n p = subprocess.Popen(['/usr/bin/potrace', '-b', 'geojson'],\n stdin=subprocess.PIPE,\n stdout=subprocess.PIPE,\n close_fds=True)\n stuff_from_pipe = p.communicate(input_pnm.read())[0]\n p.wait()\n print '[%d] Writing frame' % index\n data = json.loads(stuff_from_pipe)\n for item in data['features'][0]['geometry']['coordinates'][0]:\n writer.writerow([index]+item)\n```\n\nWoohoo, I got my CSV file with the animation!\n\n### From Rick Silhouete to Monarch Astley\n\nI have a vector silhouette now, and my goal is to get it into the monitoring system - clearly a very reasonable goal. When writing to Monarch, you need to go from left to right, from the oldest data point to the youngest. Your next write must be for a later timestamp than the previous write, or Monarch rejects it. We need to follow this directionality requirement, instead of simply adding points clockwise around the silhouette and calling it a graph.\n\nThis requires some code. This code finds the leftmost point in the silhouette, and traverses clockwise and counterclockwise to find the longest segment, where the next point is not more left than the preceding point. Once such a segment is found, the segment is split off as an independent line, and we repeat the process all over again until we run out of lines. We then write those lines to Monarch as independent streams, with points ordered from left to right.\n\nFor testing, I add the option to dump this output into SVG, with a new color for each line. This helps to find various bugs in the algorithm, and nicely visualize what's going on.\n\nNext, I use a library designed for bulk writes into Monarch. In order to keep the data separate from everything else, I use custom root labels, custom schema, and a custom metric. The metric is /experimental/stepand/rickroll/never_gonna_give_you_up, schema is experimental.users.stepand.and.RickAstley.\n\nEach picture now has width, which is equivalent to a time duration. It also has height, which is the value of the time series.\n\nOriginally, I'd wanted to bulk-write one frame per second into Monarch, slightly into the future according to the PCon viewport. Each second would have been the one frame I'm interested in, and I would have narrowed the PCon viewport to a one-second width. Unfortunately, this was not possible. Streamz API prevented me from writing two data points for the same metric, in the same write. I also could not write quickly, because I was hitting issues with reordered writes (recall Monarch wants them in chronological order) and my naive implementation couldn't write fast enough because of this requirement.\n\nI still have other options:\n\n1) Work around the reordering problem by writing one data point per one stream.\n\n2) Create new targets or new metric fields.\n\n3) Find another solution to the whole animation question.\n\nI start with the first option but quickly realize that the total number of points for all frames is around 20,000. Having one stream per data point is a very inefficient use of Monarch, because it is a mismatch to a typical time series (with one stream running for a long time), and goes counter to the physical storage model. I conclude that I can't render a frame very fast this way.\n\nTherefore, the other solution is to write slowly. Writing the entire image takes about 20 minutes now, and the viewport is one hour wide. Instead of writing just one frame, it now writes all frames. Each frame has a different target, so they can be filtered individually.\n\n### On-Screen, Data\n\nWhen does PCon connect two dots, and when does it leave a gap? Through trial and error, I learned that PCon looks at the last Window() statement in the query. Therefore, I use this to interpolate points and ensure lines are continuous, even if the original vectorization has a long gap.\n\nThis is kind of awkward, since it increases the number of points written. However, it leads to a substantial increase in picture quality. This is also very useful for the lettering (see section, Writing On The Wall), and saves me much manual labor by making it legible.\n\n### Animate!\n\nOkay, on to the last step: how do we animate? Well, PCon has a feature where it automatically refreshes the graph as often as you'd like.\n\nWe write individual frames to Monarch, and set the refresh interval to one second. The last thing we need is a way to decide which frame to render. Essentially, we need a clock with a one-second precision.\n\nThis simple query gives us the number of seconds since the start of the hour:\n\n```\nFetch(Raw('experimental.users.stepand.and.RickAstley', '/presence/found'),\n{'give': 0, 'gonna': 0, 'never': 'global', 'up': 0, 'you': 0})\n | Filter(False)\n | Window(Align('1h'), '1h')\n | GroupBy(['never', 'gonna', 'give'], PickAny())\n | JoinWithLiteralTable(target_schema_name='experimental.users.stepand.and.RickAstley',\nfields=('never', 'gonna', 'give'), streams=[('global', 0, 0, True)], input_default=True)\n | Point(TimestampMicros())\n | Window(Align('1h'))\n | Point(Floor(VAL / 1000000) % 3600)\n```\n\nWe use this query and join it with the stored data, and only filter the frame we want. Simply take the stream value modulo number of frames (which is 21), turn it into a field, and join it against the original data.\n\nIt turns out, we can also use this query to solve another problem. When displaying time series, we always see only a limited time window. After a while the image starts to slide to the left, out of the left edge of the window, and we only get a part of Rick Astley. By using [time shift](https://cloud.google.com/monitoring/mql/reference#time_shift-tabop), however, we don't even need to write twice: we just move a single set of frames to the right! Therefore, we use this timing information to decide whether to shift right or not. The entire animation is approximately 30 minutes wide (quite a great width unit)! When the leftmost edge of the data hits the leftmost edge of the viewed window, we just shift it by 30 minutes to the right. After another 30 minutes, we remove the shift, but load data from the new data push.\n\nHere's how it looks, all pulled together: [check out the result here](https://kstatic.googleusercontent.com/files/a8d9f2693621cfab8ae448dde17a83b42099ecac0bc571d6f1926b87b550ca7cfde5448fc0d495dfe462b3ecfeb01260e23109eb29a6fad30f92c62de3541f9a)!\n\n### Writing On The Wall\n\nI worry that the Rick Astley silhouette may not be immediately recognizable, so I decide to add some writing to drive the point home.\n\nNow that we have a general vector display, the lettering is really the easiest part. I manually prepare a bunch of letters as vector paths, and then the code scales them and writes them to Monarch, just like the other vectors. There are just minor improvements, then, to the lettering over time, to make it more legible.\n\n### Final Thoughts\n\nThis was a fun project, and there were many details I had to solve which I don't go into here.\n\nPcon Rickroll was a good exercise in project decomposition: how to go from a bizarre and ambiguous problem statement, to concrete subproblems and their concrete solutions, while staying within the limited time budget I'm willing to dedicate to a joke. It helped me be more principled in identifying where to cut corners to maximize impact while minimizing effort: I could have rotoscoped the whole video, had a more robust vectorization, or better graphing-a colleague recommended using histograms, which can be used to construct grayscale bitmaps. However, recognizing what was \"good enough\" for each step helped me actually pull off this April Fool's joke. I could not spend an infinite amount of time, so this strategy made the difference between making this project feasible or not.\n\nOn a final note, I'd like to thank the outstanding engineers working on Monarch. The Monarch system is one of the most exciting services I have the pleasure to use.", "znaku_textu": 14404, "slov": 2285, "odkazu": 53, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:12", "sha256": "295436c94a0e875efddeac776ae89749ebba18f0137251d0d47fe0cb94d45364", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://en.wikipedia.org/wiki/List_of_Google_April_Fools'_Day_jokes", "https://www.vldb.org/pvldb/vol13/p3181-adams.pdf", "https://cloud.google.com/monitoring/mql", "https://en.wikipedia.org/wiki/Rickrolling", "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://www.engadget.com/2014-06-06-this-is-the-truth-behind-webdriver-torso.html", "https://www.youtube.com/watch?v=klqi_h9FElc", "http://potrace.sourceforge.net/", "http://geojson.org/", "https://cloud.google.com/monitoring/mql/reference", "https://kstatic.googleusercontent.com/files/a8d9f2693621cfab8ae448dde17a83b42099ecac0bc571d6f1926b87b550ca7cfde5448fc0d495dfe462b3ecfeb01260e23109eb29a6fad30f92c62de3541f9a", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/next26/", "titulek": "Ask an SRE at Google Cloud Next '26", "h1": "Ask an SRE at Google Cloud Next '26", "popis": "Book an in-person session with a Google SRE at Google Cloud Next '26", "klicova_slova": "", "kanonicka": "https://sre.google/next26/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Ask an SRE at Google Cloud Next '26"}, {"uroven": 2, "text": "Example discussion topics:"}], "markdown": "# Ask an SRE at Google Cloud Next '26\n\nCome and talk to Google's SRE team about your reliability challenges!\n\nGoogle SRE will be onsite at Next '26, with:\n\n- An SRE booth in the Builder Hub on the main floor\n- Bookable customer meetings in the CEC (Customer Engagement Center)\n\nReach out to your Google contact to book a customer meeting, or come visit us in the Builder Hub.\n\n## Example discussion topics:\n\n- **AI for SRE:** How do SREs manage our production AI at scale, and how does AI make SREs even more effective at Google?\n- **SRE adoption in the enterprise:** How can you establish a foothold for reliability engineering in your company?\n- **What is SRE and why does it matter?** What does it give us? Are we doing it already?\n- **Disaster Recovery testing:** What are the principles and best practices of disaster simulations? How do we integrate Disaster Recovery into my team's regular practices?\n- **Better monitoring practices:** What do you really need to monitor? Where and how?\n- **Change management:** Service config and binary changes are a principal source of outages, so how do you mitigate their risk?\n- **Operational overload:** How do we dig our team out of a weekly alerting nightmare?\n- **How to build out an SRE team:** You have more products and features than people in your SRE team. How do you make it work?\n- **Incident Management:** How do you reduce the impact of outages when they inevitably happen, and restore your service as quickly as possible?\n- **Reliability Engineering:** How do you learn from outages in order to build more reliable services?", "znaku_textu": 1522, "slov": 261, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:16", "sha256": "f34f3c6b30e740d5c850ed89b25403a5e6adb7e0396f625e2a4bd425234a8670", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/", "titulek": "Google SRE - Google podcast on site reliability engineering", "h1": "SRE Prodcast", "popis": "Google SRE Podcast: Dive into site reliability engineering at Google. Hear SREs share insights on their work, career paths and tackling cutting-edge challenges.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Prodcast"}, {"uroven": 2, "text": "Season 1: SRE Fundamentals"}, {"uroven": 2, "text": "Postmortems with Ayelet Sachto"}, {"uroven": 2, "text": "Incident Management with Adrienne Walcer"}, {"uroven": 2, "text": "On-Call Rotations with Andrew Widdowson (APW)"}, {"uroven": 2, "text": "Automation with Pierre Palatin"}, {"uroven": 2, "text": "Client-Transparent Migrations with Pavan Adharapurapu"}, {"uroven": 2, "text": "Rethinking SLOs with Narayan Desai"}, {"uroven": 2, "text": "Alerting with Amelia Harrison"}, {"uroven": 2, "text": "Customer-Centric Monitoring with Silvia Esparrachiari"}, {"uroven": 2, "text": "SRE Philosophy with Jennifer Mace (Macey)"}, {"uroven": 2, "text": "Creating the SRE Prodcast with John Reese (JTR)"}, {"uroven": 2, "text": "Season 2: Life of an SRE"}, {"uroven": 2, "text": "Life of An SRE: Beyond Google"}, {"uroven": 2, "text": "Life of An SRE with Sabrina Farmer"}, {"uroven": 2, "text": "Life of An SRE with Dave Reisner"}, {"uroven": 2, "text": "Life of An SRE with Stephen Benjamin"}, {"uroven": 2, "text": "Life of An SRE with Jessica Theodat"}, {"uroven": 2, "text": "Life of An SRE with Shannon Brady and Theo Klein"}, {"uroven": 2, "text": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon"}, {"uroven": 2, "text": "Life of An SRE with Tom Cranitch and Megan Yin"}, {"uroven": 2, "text": "Season 3: Champions of the Internet"}, {"uroven": 2, "text": "Special Episode: You Missed a Page from Telebot"}, {"uroven": 2, "text": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano"}, {"uroven": 2, "text": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw"}, {"uroven": 2, "text": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire"}, {"uroven": 2, "text": "Maglev: load balancing at Google with Cody Smith and Trisha Weir"}, {"uroven": 2, "text": "Profiling data with Pat Somaru and Narayan Desai"}, {"uroven": 2, "text": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes"}, {"uroven": 2, "text": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers"}, {"uroven": 2, "text": "Incident Response with Sarah Butt and Vrai Stacey"}, {"uroven": 2, "text": "Building Reliable Systems with Silvia Botros and Niall Murphy"}, {"uroven": 2, "text": "Creating Systems that are Safe with Liz Fong-Jones"}, {"uroven": 2, "text": "Production Problems Are For All! with Ben Treynor Sloss"}, {"uroven": 2, "text": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen"}, {"uroven": 2, "text": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis"}, {"uroven": 2, "text": "Season 4: Friends and Trends"}, {"uroven": 2, "text": "The One with Ben Good and Our Kubernetes Friends"}, {"uroven": 2, "text": "The One With AI Agents, Ramón Llamas, and Swapnil Haria"}, {"uroven": 2, "text": "The One with Technical Program Managers and Karanveer Anand"}, {"uroven": 2, "text": "The One with STPA, Jeffrey Snover, and Theo Klein"}, {"uroven": 2, "text": "The One with Startups and Adam Fletcher"}, {"uroven": 2, "text": "The One With SLOs and Sal Furino"}, {"uroven": 2, "text": "The One With the Future of SRE and Matt Zelesko"}, {"uroven": 2, "text": "The One With AI and Todd Underwood"}, {"uroven": 2, "text": "The One With Data Centers and Peter Pellerzi"}, {"uroven": 2, "text": "The One With Security and Jessica Theodat"}, {"uroven": 2, "text": "We’re back with Season 4!"}, {"uroven": 2, "text": "Season 5: More Friends, More Trends"}, {"uroven": 2, "text": "The One With Damion Yates and Building AI systems"}, {"uroven": 2, "text": "The One with Carla Geisser and Crisis Engineering"}, {"uroven": 2, "text": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI"}, {"uroven": 2, "text": "The One with Shannon Brady and Operating Systems"}, {"uroven": 2, "text": "The One with Denia del Cid"}, {"uroven": 2, "text": "The One With Heather Adkins"}, {"uroven": 2, "text": "The One With SLOs"}, {"uroven": 2, "text": "The One With Stephanie Hippo and Observability"}, {"uroven": 2, "text": "Season 6: Prodcast Live!"}, {"uroven": 2, "text": "Adam Kramer discusses Incident Response"}, {"uroven": 2, "text": "Courtney Nash on Complex Systems"}, {"uroven": 2, "text": "A conversation with John Allspaw at SREcon Part 1"}, {"uroven": 2, "text": "A conversation with John Allspaw at SREcon Part 2"}, {"uroven": 2, "text": "The SRE At Home"}, {"uroven": 2, "text": "Matt Zelesko and the Future of SRE"}, {"uroven": 2, "text": "Handling Burnout with Sam Anderson"}, {"uroven": 2, "text": "Mikey Dickerson and Crisis Engineering"}, {"uroven": 2, "text": "This is Fine! with Colette Alexander and Clint Byrum"}, {"uroven": 3, "text": "Meet Your Hosts"}, {"uroven": 4, "text": "Jordan Greenberg"}, {"uroven": 4, "text": "Steve McGhee"}, {"uroven": 4, "text": "Florian Rathgeber"}, {"uroven": 4, "text": "Matthew Siegler"}, {"uroven": 4, "text": "MP English"}, {"uroven": 3, "text": "Meet our Production Team"}, {"uroven": 4, "text": "Paul Guglielmino"}, {"uroven": 4, "text": "Salim Virji"}, {"uroven": 3, "text": "Foreword"}, {"uroven": 3, "text": "Acknowledgments"}], "markdown": "# SRE Prodcast\n\nProdcast is Google's podcast about Site Reliability Engineering and production software.\n\n- Season 1: SRE Fundamentals\n- Season 2: Life of an SRE\n- Season 3: Champions of the Internet\n- Season 4: Friends and Trends\n- Season 5: More Friends, More Trends\n- Season 6: Prodcast Live!\n\n## Season 1: SRE Fundamentals\n\nSeason 1 Discusses **concepts from the [SRE Book](https://sre.google/sre-book/table-of-contents/)** with experts at Google.\n\nSeason 1, Episode 9\n\n## Postmortems with Ayelet Sachto\n\n**Ayelet Sachto** offers advice on creating an actionable, transparent, and blameless postmortem culture.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-09)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-09.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 15 - Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)\n- [Anatomy of An Incident](/resources/practices-and-processes/anatomy-of-an-incident/)\n- [Postmortem Action Items: Plan the Work and Work the Plan](https://ai.google/research/pubs/pub45906)\n- [Shrinking the impact of production incidents using SRE principles—CRE Life Lessons](https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons)\n\nSeason 1, Episode 8\n\n## Incident Management with Adrienne Walcer\n\n**Adrienne Walcer** discusses how to approach and organize incident management efforts throughout the production lifecycle.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-08.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 13 - Emergency Response](/sre-book/emergency-response/)\n- [SRE Book Chapter 14 - Managing Incidents](/sre-book/managing-incidents/)\n- [SRE Book Chapter 16 - Tracking Outages](/sre-book/tracking-outages/)\n- [Anatomy of an Incident](/resources/practices-and-processes/anatomy-of-an-incident/)\n\nSeason 1, Episode 7\n\n## On-Call Rotations with Andrew Widdowson (APW)\n\n**Andrew Widdowson (APW)** shares strategies for successful on-call rotations.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-07.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 11 - Being On-Call](/sre-book/being-on-call/)\n\nSeason 1, Episode 6\n\n## Automation with Pierre Palatin\n\n**Pierre Palatin** dives into different automation strategies, how to build confidence in your system, and why designing the UI may be your biggest challenge.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-06.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 7 - The Evolution of Automation at Google](/sre-book/automation-at-google/)\n- [SRE Book Chapter 8 - Release Engineering](/sre-book/release-engineering/)\n- [Prodspec and Annealing | USENIX White Paper](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production)\n- [xkcd: Automation](https://xkcd.com/1319/)\n\nSeason 1, Episode 5\n\n## Client-Transparent Migrations with Pavan Adharapurapu\n\n**Pavan Adharapurapu** details how to approach large-scale migrations while optimizing for user experience.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-05.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 17 - Testing for Reliability](/sre-book/testing-reliability/)\n- [SRE Book Chapter 27 - Reliable Product Launches at Scale](/sre-book/reliable-product-launches/)\n\nSeason 1, Episode 4\n\n## Rethinking SLOs with Narayan Desai\n\n**Narayan Desai** explains why SLOs can be problematic and proposes alternative methods for monitoring complex, large-scale systems.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-04.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 4 - Service Level Objectives](/sre-book/service-level-objectives/)\n\nSeason 1, Episode 3\n\n## Alerting with Amelia Harrison\n\n**Amelia Harrison** advises on when and how to alert, ideal coverage, and tuning.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-03.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 10 - Practical Alerting](/sre-book/practical-alerting/)\n\nSeason 1, Episode 2\n\n## Customer-Centric Monitoring with Silvia Esparrachiari\n\n**Silvia Esparrachiari** talks about the challenges of monitoring and the importance of understanding your users.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-02.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 6 - Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/)\n\nSeason 1, Episode 1\n\n## SRE Philosophy with Jennifer Mace (Macey)\n\nWhat is SRE, anyway? **Jennifer Mace (Macey)** gives us her definition of \"site reliability engineer,\" discusses how to manage risk, and shares key questions to ask developers.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-01.pdf)\n\nFurther reading\n\n- [SRE Book Chapter 3 - Embracing Risk](/sre-book/embracing-risk/)\n- [SRE Book Chapter 9 - Simplicity](/sre-book/simplicity/)\n- [SRE Book Chapter 5 - Toil](/sre-book/eliminating-toil/)\n- [Generic Mitigations](https://goo.gle/gm)\n- [Multi-Single Tenancy](https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/)\n\nSeason 1, Episode 0\n\n## Creating the SRE Prodcast with John Reese (JTR)\n\nHost **MP English** and former Google SRE **John Reese (JTR)** chat about the creation of the Prodcast.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-01-00)\n- [View PDF transcript](/static/pdf/sre-prodcast-01-00.pdf)\n\nFurther reading\n\n- Prodcast Season 1 Forward\n\n## Season 2: Life of an SRE\n\nSeason 2 \"**Life of An SRE**\", examines the career path and growth of individuals in SRE.\n\nSeason 2, Episode 8\n\n## Life of An SRE: Beyond Google\n\nFormer Google SREs, or “Xooglers”, talk with hosts MP and Steve McGhee about site reliability engineering outside of Google. What’s the difference in scale? What skills are generally valuable? And why can’t you build “SRE in a box” that jump-starts pretty much any organization?\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-08.pdf)\n\nFurther reading\n\n- [Enterprise Roadmap to SRE - Google - Site Reliability Engineering](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/)\n- [What SRE Could Be: Systems Reliability Engineering](https://www.usenix.org/conference/srecon22emea/presentation/nolan-sre)\n- [Thinking in Systems](https://donellameadows.org/systems-thinking-book-sale/)\n\nSeason 2, Episode 7\n\n## Life of An SRE with Sabrina Farmer\n\nSabrina Farmer, VP of Engineering at Google, talks about her career journey through Site Reliability Engineering. What does management mean? What’s involved in being an effective manager? and what’s a feasibility study? Hear some great advice on how to get what you expect out of a role, wherever on the ladder it is.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-07.pdf)\n\nSeason 2, Episode 6\n\n## Life of An SRE with Dave Reisner\n\nDave Reisner talks about his path to Staff SRE, from ArchLinux contributor through DevOps to software engineer. This episode emphasizes the value of strong mentoring and manager relationships, and the challenges of work-life balance.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-06.pdf)\n\nFurther reading\n\n- [A Case Study in Community-Driven Software Adoption](https://sre.google/resources/practices-and-processes/community-driven-software-adoption/)\n\nSeason 2, Episode 5\n\n## Life of An SRE with Stephen Benjamin\n\nExplore the role and responsibilities of an SRE manager with Stephen Benjamin.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-05.pdf)\n\nFurther reading\n\n- [SRE as a team sport – O’Reilly](https://www.oreilly.com/content/sre-as-a-team-sport/)\n- [Developing a Google SRE Culture | Coursera](https://www.coursera.org/learn/developing-a-google-sre-culture)\n\nSeason 2, Episode 4\n\n## Life of An SRE with Jessica Theodat\n\nExplore the role and responsibilities of a Senior SRE with Jessica Theodat, as she discusses life-work balance, the value of mentoring, and being a Black woman in SRE.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-04.pdf)\n\nSeason 2, Episode 3\n\n## Life of An SRE with Shannon Brady and Theo Klein\n\nExplore the career paths of SREs Shannon Brady and Theo Klein, as they discuss their paths to Site Reliability Engineering and finding their areas of expertise.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-03.pdf)\n\nFurther reading\n\n- [SRE Book Update: Postmortem Culture](https://sre.google/resources/book-update/postmortem-culture/)\n\nSeason 2, Episode 2\n\n## Life of An SRE with Mariuxi Vasconez and Julian Alarcon\n\nIn this episode, Mariuxi and Julian discuss their paths to SRE: what drew them initially to SRE, and what motivates them to continue developing skills\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-02.pdf)\n\nFurther reading\n\n- [Introducing Non-Abstract Large System Design, Google SRE Book](https://sre.google/workbook/non-abstract-design/)\n\nSeason 2, Episode 1\n\n## Life of An SRE with Tom Cranitch and Megan Yin\n\nHow does one become an SRE? And what’s the career like? In this episode, Tom and Megan discuss their path to SRE.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-02-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-02-01.pdf)\n\nFurther reading\n\n- [Invent More, Toil Less](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45765.pdf)\n- [Postmortem Culture: Learning from Failure, Google SRE Book](/workbook/postmortem-culture/)\n- [Training Site Reliability Engineers](/resources/practices-and-processes/training-site-reliability-engineers/)\n\n## Season 3: Champions of the Internet\n\nSeason 3 \"**Champions of the Internet**\", discusses software systems designed and built by SRE.\n\nSeason 3, Episode 14\n\n## Special Episode: You Missed a Page from Telebot\n\nThis episode features **Javi Beltran**, a Google engineering lead who created the \"Telebot\" theme song. With our beloved hosts, **Steve McGhee** and **Jordan Greenberg**, Beltran discusses the origins of the song, created in 2012 for Google's paging system. The song was meant to add a touch of levity to what could be a stressful situation for engineers on-call. Beltran also unveils a new, more modern remix of “Telebot” (created in collaboration with our host, Jordan Greenberg!) which will be used as the intro theme for the podcast's next season.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-14)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-14.pdf)\n\nFurther reading\n\n- [Chapter 11 - Being On-Call](https://sre.google/sre-book/being-on-call/)\n\nSeason 3, Episode 13\n\n## Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano\n\nIn this episode of the Prodcast, guests **Dominic Hutton** (Staff SRE, HashiCorp) and **Niccolo' Cascarano** (Senior Staff SRE at Google) join hosts **Steve McGhee** and **Jordan Greenberg** to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-13)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-13.pdf)\n\nFurther reading\n\n- [Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production)\n- [Dominic's Blog](https://www.sketchreliability.engineering/)\n\nSeason 3, Episode 12\n\n## Human Factors in Complex Systems with Casey Rosenthal and John Allspaw\n\nThis episode features **Casey Rosenthal** (Founder, Cirrusly.ai) and **John Allspaw** (Founder and Principal, Adaptive Capacity Labs), joining our hosts **Steve McGhee** and **Jordan Greenberg**. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-12)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-12.pdf)\n\nFurther reading\n\n- [Seeking SRE: Conversations about Running Production Systems at Scale](https://www.google.com/books/edition/Seeking_SRE/yzuWtAEACAAJ?hl=en)\n- [What Is Incident Severity, but a Lie Agreed Upon?](https://www.usenix.org/conference/srecon24americas/presentation/ruppe)\n\nSeason 3, Episode 11\n\n## Embracing Complexity with Christina Schulman & Dr. Laura Maguire\n\nIn this episode of the Prodcast, we are joined by guests **Christina Schulman** (Staff SRE, Google) and **Dr. Laura Maguire** (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-11)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-11.pdf)\n\nFurther reading\n\n- [Embracing Risk](https://sre.google/sre-book/embracing-risk/)\n\nSeason 3, Episode 10\n\n## Maglev: load balancing at Google with Cody Smith and Trisha Weir\n\nIn this episode, **Cody Smith** (CTO and Co-founder, Camus Energy) & **Trisha Weir** (SRE Department Lead, Google) join hosts **Steve McGhee** and **Jordan Greenberg**, to discuss their experience developing *Maglev*, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-10)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-10.pdf)\n\nFurther reading\n\n- [Maglev: A Fast and Reliable Software Network Load Balancer](https://www.usenix.org/sites/default/files/nsdi16-paper-eisenbud.pdf)\n- [Google shares software network load balancer design powering GCP networking](https://cloud.google.com/blog/products/gcp/google-shares-software-network-load-balancer-design-powering-gcp-networking)\n\nSeason 3, Episode 9\n\n## Profiling data with Pat Somaru and Narayan Desai\n\nIn this episode, guests **Narayan Desai** (Principal SRE, Google) and **Pat Somaru** (Senior Production Engineer, Meta) join hosts **Steve McGhee** and **Florian Rathgeber** to discuss the challenges of observability and working with profiling data. The discussion covers intriguing topics like noise reduction, workload modeling, and the need for better tools and techniques to handle high-cardinality data.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-09)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-09.pdf)\n\nFurther reading\n\n- [Sto: A Better Way to Store and Query Profiler Data](https://www.usenix.org/conference/srecon23americas/presentation/somaru)\n- [Principled Performance Analytics](https://www.usenix.org/conference/srecon22americas/presentation/desai)\n- [YourKit](https://www.yourkit.com/)\n\nSeason 3, Episode 8\n\n## Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes\n\nThis episode features Google engineers **Wilmer van der Gaast** (Production on-tall) and **Andy Sykes** (Senior Staff Systems Engineer, SRE), joining hosts **Steve McGhee** and **Jordan Greenberg**, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-08.pdf)\n\nFurther reading\n\n- [An Illustrated Guide to the Kaminsky DNS Vulnerability](http://unixwiz.net/techtips/iguide-kaminsky-dns-vuln.html)\n\nSeason 3, Episode 7\n\n## SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers\n\nGuests **Jordan Chernev** (Senior Technology Executive) and **Scott Bowers** (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries. They share the importance of aligning SLOs with user experience, strategies for handling spikes in traffic, communicating with users during outages, and investing in reliability.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-07.pdf)\n\nSeason 3, Episode 6\n\n## Incident Response with Sarah Butt and Vrai Stacey\n\n**Sarah Butt** (Principal Engineer, Centralized Incident Response, Salesforce) and **Vrai Stacey** (Staff Software Engineer, Google) join hosts **Steve McGhee** and **Jordan Greenberg** to dive into incident response—particularly tooling and software for reliability incidents. Tune in for an in-depth discussion on topics such as the importance of communication and collaboration during incidents, and the role of tooling in supporting incident response processes. Sarah and Vrai also share personal takeaways from incidents they have experienced.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-06.pdf)\n\nSeason 3, Episode 5\n\n## Building Reliable Systems with Silvia Botros and Niall Murphy\n\nSilvia Botros (SRE Architect, Twilio | Author of \"High Performance MySQL, 4th edition\") and Niall Murphy (Co-founder & CEO, Stanza) join hosts Steve McGhee and Jordan Greenberg, to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-05.pdf)\n\nFurther reading\n\n- [High Performance MySQL, 4th edition](https://www.google.com/books/edition/High_Performance_MySQL/G3ZPEAAAQBAJ?hl=en&gbpv=0)\n- [The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations](https://www.google.com/books/edition/Accelerate/Kax-DwAAQBAJ?hl=en)\n\nSeason 3, Episode 4\n\n## Creating Systems that are Safe with Liz Fong-Jones\n\nLiz Fong-Jones (former Google SRE and current Field CTO at honeycomb.io) joins hosts Steve McGhee and Jordan Greenberg for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-04.pdf)\n\nSeason 3, Episode 3\n\n## Production Problems Are For All! with Ben Treynor Sloss\n\nBen Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.\n\nBen coined the term \"Site Reliability Engineering\" for his team of (now) 4,000 software engineers, engaged in what were traditionally operations functions. Under Ben's leadership, Google SRE wrote two best-selling books on SRE. Since then, the rest of the SaaS industry has come to adopt the SRE name, mission, and practices.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-03.pdf)\n\nSeason 3, Episode 2\n\n## There Remains a Huge Amount of Work to Do, with Healfdene Goguen\n\nIn this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-02.pdf)\n\nSeason 3, Episode 1\n\n## SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis\n\nIn this season of Google Prodcast, current and former SREs, both within and outside of Google, chat with hosts Steve McGhee and Jordan Greenberg to discuss software systems designed and built by SREs.\n\nFor \"episode zero\", guests Amy Tobey and Vladyslav Ukis will set the stage for the season with a lively discussion about what Software Engineering means to Site Reliability Engineering.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-03-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-03-01.pdf)\n\n## Season 4: Friends and Trends\n\nSeason 4 is about SRE \"**Friends and Trends**\", We discuss what's coming up in the SRE space, from new technology to modernizing processes and more, as well as the friends we make along the way.\n\nSeason 4, Episode 10\n\n## The One with Ben Good and Our Kubernetes Friends\n\nIn this special episode hosts Steve McGhee from the Google SRE Prodcast and Kaslin Fields from the Google Kubernetes Podcast, welcome Google Cloud Solutions Architect Ben Good to discuss platform engineering. Listeners can look forward to hearing about the role of Kubernetes as a tool for building platforms, how to create \"golden paths\" for developers, and the importance of observability and self-service in platform design. The conversation also touches on industry trends, the bespoke nature of platforms, and how DORA metrics can be applied to platform engineering practices.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-10)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-10.pdf)\n\nFurther reading\n\n- [Deployment Archetypes for Cloud Applications](https://research.google/pubs/deployment-archetypes-for-cloud-applications/)\n\nSeason 4, Episode 9\n\n## The One With AI Agents, Ramón Llamas, and Swapnil Haria\n\nGoogle Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-09)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-09.pdf)\n\nFurther reading\n\n- [FLASH: A Reliable Workflow Automation Agent](https://www.microsoft.com/en-us/research/project/flash-a-reliable-workflow-automation-agent/)\n- [LLexus: an AI agent system for incident management](https://www.microsoft.com/en-us/research/wp-content/uploads/2024/07/3689051.3689056.pdf)\n\nSeason 4, Episode 8\n\n## The One with Technical Program Managers and Karanveer Anand\n\nThis episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-08.pdf)\n\nFurther reading\n\n- [10 Years of Crashing Google](https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan)\n- [Project management à la SRE: How to juggle the needs of your project and production](https://cloud.google.com/blog/products/devops-sre/project-management-for-sres/)\n\nSeason 4, Episode 7\n\n## The One with STPA, Jeffrey Snover, and Theo Klein\n\nThis episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. **Theo Klein**, a Google SRE, and **Jeffrey Snover**, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-07.pdf)\n\nFurther reading\n\n- [STPA (System Theoretic Process Analysis) at Google](https://sre.google/resources/practices-and-processes/stpa/)\n- [The Evolution of SRE at Google](https://www.usenix.org/publications/loginonline/evolution-sre-google)\n- [Ten Machine Requirements To Satisfy Essentials Of Joint Activity](https://human-machine.team/)\n- [Mapping a Better Future with STPA](https://www.usenix.org/conference/srecon25americas/presentation/klein)\n- [STAMP Workshop](https://psas.scripts.mit.edu/home/stamp-workshops/)\n- [The STAMP Institute](http://stamp-institute.com/)\n- [MIT STAMP Workshop Tutorials](https://psas.scripts.mit.edu/home/mit-stamp-workshop-tutorials/)\n- [How Complex Systems Fail](https://how.complexsystems.fail/)\n- [CAST Tutorial](https://psas.scripts.mit.edu/home/wp-content/uploads/2013/04/CAST_Tutorial-2013.pdf)\n\nSeason 4, Episode 6\n\n## The One with Startups and Adam Fletcher\n\nIn this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-06.pdf)\n\nFurther reading\n\n- [Case Studies in Infrastructure Change Management](https://sre.google/resources/practices-and-processes/infrastructure-change-management/)\n- [Life of an Airline Flight: What Systems Get You From Here to There via the Air -- Adam Fletcher](https://www.youtube.com/watch?v=8_t41xvPp1w)\n\nSeason 4, Episode 5\n\n## The One With SLOs and Sal Furino\n\nIn this episode, **Sal Furino**, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts **Steve McGhee** and **Matt Siegler**. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-05.pdf)\n\nFurther reading\n\n- [Graceful Degradation and SLOs by Niall Murphy (re: LLM mimicking responses)](https://blog.relyabilit.ie/graceful-degradation-and-slos/)\n- [Implementing Service Level Objectives by Alex Hidalgo](https://www.oreilly.com/library/view/implementing-service-level/9781492076803/)\n- [9 SLIs; OH MY!](https://www.youtube.com/watch?v=J-VrU5JHPlk)\n- [SRE CON23 EMEA: 9 Things you should do when starting to use SLOs](https://www.youtube.com/watch?v=zkUnOfZjEnc)\n- [Fred Moyer's \"error budgets as a sentence\" at Monitorama 2022](https://www.youtube.com/watch?v=LupB2-P0bD8)\n- [SLO Development Lifecycle](https://www.slodlc.com/)\n- [R9Y.dev reliability map](https://www.r9y.dev/)\n- [Platform Engineering New York Meetup group](https://www.meetup.com/platform-engineering-new-york/)\n- [Sal's LinkedIn](https://www.linkedin.com/in/salvatore-furino)\n\nSeason 4, Episode 4\n\n## The One With the Future of SRE and Matt Zelesko\n\n**Matt Zelesko**, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-04.pdf)\n\nFurther reading\n\n- [Chapter 12 from the SRE book: Non-Abstract Large System Design](https://sre.google/workbook/non-abstract-design/)\n- [Chapter 23 from the SRE book: Managing Critical State](https://sre.google/sre-book/managing-critical-state/)\n- [Complexities of Capacity Management for Distributed Services](https://www.youtube.com/watch?v=pOo0oKNM9I8)\n\nSeason 4, Episode 3\n\n## The One With AI and Todd Underwood\n\nIn this Google Prodcast episode, **Todd Underwood**, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-03.pdf)\n\nFurther reading\n\n- [ML for Operations: Pitfalls, Dead Ends, and Hope](https://static.googleusercontent.com/media/sre.google/en//static/pdf/login-summer20-08-ross.pdf)\n- [AIOps: Prove It! An Open Letter to Vendors Selling AI for SREs](https://www.usenix.org/conference/srecon25americas/presentation/majors)\n\nSeason 4, Episode 2\n\n## The One With Data Centers and Peter Pellerzi\n\nThis episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-02.pdf)\n\nFurther reading\n\n- [DeepMind AI Reduces Google Data Centre Cooling Bill by 40%](https://deepmind.google/discover/blog/deepmind-ai-reduces-google-data-centre-cooling-bill-by-40/)\n- [Hear how data centers change the world around them](https://blog.google/inside-google/infrastructure/where-the-internet-lives-podcast-season-3/)\n\nSeason 4, Episode 1\n\n## The One With Security and Jessica Theodat\n\nJessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-01.pdf)\n\nSeason 4, Episode 0\n\n## We’re back with Season 4!\n\nIn this episode, hosts and producers of Prodcast (including our new co-host, **Matt Siegler**!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-04-00)\n- [View PDF transcript](/static/pdf/sre-prodcast-04-00.pdf)\n\n## Season 5: More Friends, More Trends\n\nSeason 5, Episode 8\n\n## The One With Damion Yates and Building AI systems\n\nHow do you introduce Site Reliability Engineering to an AI research lab, bringing concepts of scale to engineers who are at the leading edge of AI systems?\n\nIn the latest episode of The Prodcast, hosts Steve McGhee and Florian Rathgeber chat with Damion Yates, who helped establish the reliability engineering culture at Google DeepMind. Damion shares his journey of bringing scalable infrastructure to DeepMind, supporting massive machine learning experiments.\n\nDiscover the unique challenges of supporting AI research, such as managing highly expensive \"lockstep\" training models where a single machine failure halts the entire process. Damion also explains why he believes \"luck is our enemy\" in systems engineering, and why protecting a research scientist's time is the ultimate metric for success.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-08.pdf)\n\nSeason 5, Episode 7\n\n## The One with Carla Geisser and Crisis Engineering\n\nJoin us for a discussion with Carla Geisser of Layer Aleph, a company focused on \"crisis engineering\". Carla distinguishes a crisis from a standard incident by noting that a crisis is novel and lacks a playbook. She outlines five criteria for a true crisis: fundamental surprise, broken critical functions, high visibility, a rigid deadline (unlike internal tech deadlines), and perception breakdown. Crises often arise in organizations that struggle to admit computers control core decisions, leading to complex, glued-together systems. Carla emphasizes that SRE-adjacent skills are essential for connecting the dots and exposing the full system. The key takeaway for SREs is to recognize when a true crisis is happening, as leadership will only be willing to \"break rules\" and enable substantive change once three of these criteria are met.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-07.pdf)\n\nSeason 5, Episode 6\n\n## The One with Parker Barnes, Felipe Tiengo Ferreira, and AI\n\nThis episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-06.pdf)\n\nSeason 5, Episode 5\n\n## The One with Shannon Brady and Operating Systems\n\nIn this episode of the Prodcast, guest Shannon Brady speaks with hosts Jordan Greenberg and Florian Rathgeber about managing Google’s vast fleet of internal devices. Shannon explains how Google’s Linux platform uses core SRE principles—specifically testing, canarying, and monitoring—for weekly stage rollouts of its Debian-based distribution. Configuration is efficiently managed using Puppet to ensure the right setup for a diverse user base. The conversation pivots to \"the year of Linux everything,\" underscoring its widespread adoption. Discussing AI, Shannon identifies its greatest utility for SREs in rapidly analyzing signals and generating complex queries to resolve outages. This episode reinforces that practicing SRE fundamentals is paramount, demonstrating that you can be an SRE at heart, regardless of your official title.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-05.pdf)\n\nFurther reading\n\n- [Canary Releases: Deployment Safety and Efficiency](https://sre.google/workbook/canarying-releases/)\n- [Stress Testing: Build Confidence in Systems](https://sre.google/sre-book/testing-reliability/)\n\nSeason 5, Episode 4\n\n## The One with Denia del Cid\n\nCurious about the real impact of AI on Site Reliability Engineering? In this episode of The Prodcast, Google SRE Denia del Cid breaks down how her team is leveraging AI to transform production workflows.\n\nDenia details practical applications like early outage detection, incident similarity analysis, and toil reduction. She explains the critical importance of validating against \"golden data sets\" and keeping humans in the loop to build trust. Discover how SREs are evolving from skepticism to strategic adoption with Gemini. \n\nTune in for a pragmatic, measured look at the future of reliability.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-04.pdf)\n\nSeason 5, Episode 3\n\n## The One With Heather Adkins\n\nJoin us on The Prodcast as we host Heather Adkins, leader of Google’s Office of Cybersecurity Resilience, for a critical look at the future of digital defenses. We explore the intersection of SRE and security , unpacking the \"Secure by Design\" philosophy and the shared DNA of incident management. \n\nHeather candidly discusses the rise of \"Agentic AI hackers\" and polymorphic malware , revealing how defenders can use AI to stay ahead. From \"castle\" defense strategies to \"nodal biology\" theories, this episode is a must-listen for anyone navigating the new era of AI-driven threats.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-03.pdf)\n\nFurther reading\n\n- [Google's Approach for Secure AI Agents](https://research.google/pubs/an-introduction-to-googles-approach-for-secure-ai-agents/)\n- [Building Secure and Reliable Systems](https://google.github.io/building-secure-and-reliable-systems/raw/toc.html)\n\nSeason 5, Episode 2\n\n## The One With SLOs\n\nIn this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-02.pdf)\n\nFurther reading\n\n- [Building good SLOs—CRE life lessons](https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons)\n- [SLO Engineering Case Studies](https://sre.google/workbook/slo-engineering-case-studies/)\n\nSeason 5, Episode 1\n\n## The One With Stephanie Hippo and Observability\n\nIn this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. \n\nSteph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. \nWe also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-05-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-05-01.pdf)\n\n## Season 6: Prodcast Live!\n\nSeason 6, Episode 9\n\n## Adam Kramer discusses Incident Response\n\nGoogle's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-09)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-09.pdf)\n\nFurther reading\n\n- [Google Compute Engine APIs](https://docs.cloud.google.com/compute/docs/reference/rest/v1?rep_location=global#service:-compute.googleapis.com)\n- [Bespin](https://starwars.fandom.com/wiki/Bespin)\n\nSeason 6, Episode 8\n\n## Courtney Nash on Complex Systems\n\nCourtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-08)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-08.pdf)\n\nFurther reading\n\n- [Using Staged World Exercises to Practice Effective Incident Response and Analysis Techniques](https://www.usenix.org/conference/srecon26americas/presentation/tue-workshop)\n- [AI in SRE](https://www.usenix.org/conference/srecon26americas/presentation/discussion-ai-sre)\n\nSeason 6, Episode 6-7\n\n## A conversation with John Allspaw at SREcon Part 1\n\nJohn Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-06)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-06.pdf)\n\nFurther reading\n\n- [AMA at SREcon](https://www.usenix.org/conference/srecon26americas/presentation/ama-allspaw)\n\nSeason 6, Episode 6-7\n\n## A conversation with John Allspaw at SREcon Part 2\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-07)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-07.pdf)\n\nFurther reading\n\n- [Previously on the Prodcast:](https://sre.google/prodcast/#season3-episode12)\n\nSeason 6, Episode 5\n\n## The SRE At Home\n\nWe speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-05)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-05.pdf)\n\nFurther reading\n\n- [Ricard’s homepage](https://www.bejarano.io/)\n- [Articles on Home Lab systems](https://linuxblog.io/tag/homelab/)\n\nSeason 6, Episode 4\n\n## Matt Zelesko and the Future of SRE\n\nWe sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-04)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-04.pdf)\n\nFurther reading\n\n- [STPA](https://sre.google/resources/practices-and-processes/stpa/)\n- [Previous Prodcast episode](https://sre.google/prodcast/#season4-episode4)\n\nSeason 6, Episode 3\n\n## Handling Burnout with Sam Anderson\n\nSam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-03)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-03.pdf)\n\nSeason 6, Episode 2\n\n## Mikey Dickerson and Crisis Engineering\n\nCrisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-02)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-02.pdf)\n\nFurther reading\n\n- [Crisis Engineering book](https://share.google/CXoiu1HBnzj5B8lnk)\n- [Mikey Dickerson on LinkedIn](https://www.linkedin.com/in/mikeydickerson/)\n\nSeason 6, Episode 1\n\n## This is Fine! with Colette Alexander and Clint Byrum\n\nWhat’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast *live* at SREcon in Seattle.\n\nView transcript\n\n- [View HTML transcript](/prodcast/transcripts/sre-prodcast-06-01)\n- [View PDF transcript](/static/pdf/sre-prodcast-06-01.pdf)\n\nFurther reading\n\n- [This is Fine! SRECon Recap](https://www.thisisfinepod.com/the-pod/srecon-americas-2026-recap)\n- [This is Fine! podcast](https://www.thisisfinepod.com/)\n\n---\n\n### Meet Your Hosts\n\n#### **Jordan Greenberg**\n\nEngineering Program Manager, GCP\n\nSeasons 3+\n\n#### **Steve McGhee**\n\nReliability Advocate, SRE\n\nSeasons 2+\n\n#### **Florian Rathgeber**\n\nSite Reliability Engineer, GCP\n\nSeasons 3+\n\n#### **Matthew Siegler**\n\nMachine Learning Infrastructure SRE\n\nSeasons 4+\n\n#### **MP English**\n\nSystems Engineer\n\nSeasons 1 & 2\n\n---\n\n### Meet our Production Team\n\n#### **Paul Guglielmino**\n\nStaff Software Engineer\n (Sound Engineer)\n\n#### **Salim Virji**\n\nSite Reliability Engineer | SRE Education Program Manager\n (Producer)\n\n---\n\n### Foreword\n\nThe Google Prodcast Team has gone through quite a few iterations and hiatuses over the years, and many people have had a hand in its existence. For the longest time, a handful of SREs produced the Prodcast for the listening pleasure of the other engineers here at Google.\n\nThe credit for a lot of the project really goes to John Reese, known around Google as JTR. The Prodcast was a project he kept alive as other team members came and went. Eventually, JTR decided to explore the world outside of Google and the Prodcast was left in an uncertain state. I had been a part of the team for a while, Viv had just joined the team, and the other member of the team had to step away due to other commitments.\n\nAt this point, we decided to make a hard pivot. We decided that we wanted to make a podcast for more than just engineers at Google. We wanted to make something that would be of interest to folks across organizations and technical implementations. In his last act as part of the Prodcast, JTR put us in touch with Jennifer Petoff, Director of SRE Education, in order to have the support of the SRE organization behind us. With that, we turned to one of the most studied resources in SRE: the Google SRE Book.\n\nWe didn't want to rehash what the book already discussed in detail; we might as well have just recorded an audiobook if that was our goal. Originally, we were aiming for something in the neighborhood of an update—a revision—to the SRE Book. What we ended up with was a series of conversations with domain experts at Google that often challenged the orthodoxy of the SRE Book, sometimes entirely reframing the topic, as is particularly the case with our episode on SLOs, one of my personal favorites.\n\nI found myself learning new things during every recording session, even though we had already met with our guests to map the episodes out! It was an absolute pleasure chatting with all our guests, to the point that we often continued talking after we finished recording. I am immensely grateful to all our guests for the time they contributed so that we may put all of this together for you. I hope you enjoy listening as much as we enjoyed recording.\n\nTo the present and future reliability of you and your services,\n\n— MP English from the Prodcast Team\n\n---\n\n### Acknowledgments\n\nThis season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran and Jordan Greenberg. \n\nWe are grateful for the contributions of Sunny Hsiao, Christof Leng, Jennifer Petoff, and John Reese.", "znaku_textu": 49671, "slov": 6571, "odkazu": 279, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:17", "sha256": "34db67ff428cfdb4dc64404556b95572f302e0951806e8ce9516d3512e74e6a4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.youtube.com/@GoogleSREProdcast", "https://open.spotify.com/show/3YHfBp9FPYJ2kydkKWUoxX?dlsi=6d735dc71a244ea2&nd=1&si=3fcd39747805448a", "https://podcasts.apple.com/us/podcast/google-sre-prodcast/id1615778073", "https://feeds.libsyn.com/407036", "https://ai.google/research/pubs/pub45906", "https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons", "https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production", "https://xkcd.com/1319/", "https://goo.gle/gm", "https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/", "https://www.usenix.org/conference/srecon22emea/presentation/nolan-sre", "https://donellameadows.org/systems-thinking-book-sale/", "https://www.oreilly.com/content/sre-as-a-team-sport/", "https://www.coursera.org/learn/developing-a-google-sre-culture", "https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45765.pdf", "https://www.sketchreliability.engineering/", "https://www.google.com/books/edition/Seeking_SRE/yzuWtAEACAAJ?hl=en", "https://www.usenix.org/conference/srecon24americas/presentation/ruppe", "https://www.usenix.org/sites/default/files/nsdi16-paper-eisenbud.pdf", "https://cloud.google.com/blog/products/gcp/google-shares-software-network-load-balancer-design-powering-gcp-networking", "https://www.usenix.org/conference/srecon23americas/presentation/somaru", "https://www.usenix.org/conference/srecon22americas/presentation/desai", "https://www.yourkit.com/", "http://unixwiz.net/techtips/iguide-kaminsky-dns-vuln.html", "https://www.google.com/books/edition/High_Performance_MySQL/G3ZPEAAAQBAJ?gbpv=0&hl=en", "https://www.google.com/books/edition/Accelerate/Kax-DwAAQBAJ?hl=en", "https://research.google/pubs/deployment-archetypes-for-cloud-applications/", "https://www.microsoft.com/en-us/research/project/flash-a-reliable-workflow-automation-agent/", "https://www.microsoft.com/en-us/research/wp-content/uploads/2024/07/3689051.3689056.pdf", "https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan", "https://cloud.google.com/blog/products/devops-sre/project-management-for-sres/", "https://www.usenix.org/publications/loginonline/evolution-sre-google", "https://human-machine.team/", "https://www.usenix.org/conference/srecon25americas/presentation/klein", "https://psas.scripts.mit.edu/home/stamp-workshops/", "http://stamp-institute.com/", "https://psas.scripts.mit.edu/home/mit-stamp-workshop-tutorials/", "https://how.complexsystems.fail/", "https://psas.scripts.mit.edu/home/wp-content/uploads/2013/04/CAST_Tutorial-2013.pdf", "https://www.youtube.com/watch?v=8_t41xvPp1w", "https://blog.relyabilit.ie/graceful-degradation-and-slos/", "https://www.oreilly.com/library/view/implementing-service-level/9781492076803/", "https://www.youtube.com/watch?v=J-VrU5JHPlk", "https://www.youtube.com/watch?v=zkUnOfZjEnc", "https://www.youtube.com/watch?v=LupB2-P0bD8", "https://www.slodlc.com/", "https://www.r9y.dev/", "https://www.meetup.com/platform-engineering-new-york/", "https://www.linkedin.com/in/salvatore-furino", "https://www.youtube.com/watch?v=pOo0oKNM9I8", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/login-summer20-08-ross.pdf", "https://www.usenix.org/conference/srecon25americas/presentation/majors", "https://deepmind.google/discover/blog/deepmind-ai-reduces-google-data-centre-cooling-bill-by-40/", "https://blog.google/inside-google/infrastructure/where-the-internet-lives-podcast-season-3/", "https://research.google/pubs/an-introduction-to-googles-approach-for-secure-ai-agents/", "https://google.github.io/building-secure-and-reliable-systems/raw/toc.html", "https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons", "https://docs.cloud.google.com/compute/docs/reference/rest/v1?rep_location=global", "https://starwars.fandom.com/wiki/Bespin", "https://www.usenix.org/conference/srecon26americas/presentation/tue-workshop", "https://www.usenix.org/conference/srecon26americas/presentation/discussion-ai-sre", "https://www.usenix.org/conference/srecon26americas/presentation/ama-allspaw", "https://www.bejarano.io/", "https://linuxblog.io/tag/homelab/", "https://share.google/CXoiu1HBnzj5B8lnk", "https://www.linkedin.com/in/mikeydickerson/", "https://www.thisisfinepod.com/the-pod/srecon-americas-2026-recap", "https://www.thisisfinepod.com/", "http://linkedin.com/in/jg-tpgm", "https://twitter.com/stevemcghee", "https://www.linkedin.com/in/stevemcghee", "https://www.linkedin.com/in/florianrathgeber/", "https://bsky.app/profile/frathgeber.bsky.social", "https://www.linkedin.com/in/msiegler", "https://twitter.com/mips_in_prod", "https://www.linkedin.com/in/paulguglielmino/", "https://www.linkedin.com/in/lasagnaboy/", "https://www.x.com/googlesre", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00", "titulek": "Google SRE - site reliability engineering podcast with John Reese", "h1": "Creating the SRE Prodcast with John Reese (JTR)", "popis": "Creating the SRE podcast with John Reese, the idea of podcast aims to share insights and stories from the world of site reliability engineering.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00"}, "headline": "Creating the SRE Prodcast with John Reese (JTR)", "description": "Host MP English and former Google SRE John Reese (JTR) chat about the creation of the Prodcast.", "image": "https://kstatic.googleusercontent.com/files/5e6f09130bdab998ee96df52d124a8131435f069541c7f795d70272bdd5d2a0ea7ba574e22fad0af2ed3e2d579cb8f24b1bc3d811733b47afa200051106011ed", "author": [{"@type": "Person", "name": "John Reese (JTR)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Creating the SRE Prodcast with John Reese (JTR)"}], "markdown": "# Creating the SRE Prodcast with John Reese (JTR)\n\nHost **MP English** and former Google SRE **John Reese (JTR)** chat about the creation of the Prodcast.\n\n**MP:** Hello, and welcome to a very special Episode 0 of the Google SRE podcast, or as we affectionately like to call it, the Prodcast. For this Episode 0, we reached out to find a very special guest, someone who previously was at Google and has moved on and had a huge role in making this podcast series possible. So, I'm going to hand it over to John and let you introduce yourself a little bit.\n\n**JTR:** Thank you, MP. My name is John Reese. I go by JTR. I was one of the overall tech leads for Google's SRE organization for many years. And while I was in that role, I founded the original Google internal-only version of this podcast, which was called the Prodcast because production seemed like an obvious joke.\n\nThe actual origin of this idea is that I was working from a massage chair in our San Francisco office, the kind of chair where you sit in it and you hit a button and it starts squeezing and twisting and trying to relax your muscles. This particular massage chair really wants to massage your arms as well. So I grudgingly put my arms in the massage and I was like, you know, with my arms immobilized, I'm not able to do any work. What if there were a way I could do work just by listening? And this was the origin of the idea to create a work-internal podcast where you could at least find out what was going on elsewhere in the world of reliability at Google.\n\nSo I posted the idea on our extremely popular internal social networking site, Google+. Some colleagues popped up who had previous experience in this, or at least a little bit of previous experience. And one of them, his name was Adam. Adam and I sat down and recorded a first episode where he was just interviewing me about old crufty technology I worked on when I started at the company, which I can talk about at length. It is the most interesting thing in the world to me. And we released it after doing a little bit of, sort of, basic audio editing in GarageBand and put it out there and there was some interest. And then another colleague whose name is Andrew—in my imagination, he listened to this.\n\n**MP:** Andrew's actually our episode seven guest.\n\n**JTR:** Ah. Andrew P. Widdowson, who you'll see upcoming in Episode 7, had a lot of experience in his college years as a college radio DJ and has continued to do stuff of that sort, audio and deejaying and just generally sort of emceeing things. And he listened to our original podcast episode and he was like, you know what? These are people who appreciate constructive feedback, and I have a lot of constructive feedback. So, he got in touch, drove all the way up from the South Bay to meet us in San Francisco, and sat us down in a room and explained all this stuff about how to make a better audio product. A lot of it was about how microphone pickup works and that you need to talk directly to the microphone because even turning your head a few degrees can cause pickup to drop off. A lot of it was about the editing process. It was all actually super fascinating 'cause I like learning about new technical topics that I don't know anything about. Audio editing is one of those.\n\nSo we made a huge list of notes and the second episode that we put out was of much higher audio quality, I believe. We ended up having a bunch of fancy gear, which came from Adam to involve us putting on big over the ear—earphones, headphones, whatever those things are called.\n\n**MP:** Having monitors.\n\n**JTR:** Yes. Monitors, all of it goes in a little solid-state recording device. And we would record sort of different audio tracks for each of the people who's speaking, each of the audio tracks—because we were in the same room because this was pre-plague times—each of the audio recordings would actually pick up mostly the person who was speaking into it, but also the background noise, the people who were off-mic speaking, which added this sort of extra sort of real quality to the recording, which is somewhat lacking actually in modern podcasts that are made remote during the pandemic. And then I was taught by Adam and Andrew how to do audio editing in GarageBand. And then later in Audacity, the much nerdier-seeming of the tools.\n\n**MP:** Audacity is a good workhorse.\n\n**JTR:** Yeah. They both can get it done. It was just a new world to me to learn how to deal with audio signals and sort of these signal processing and slicing things up and thinking about, like, compression of the wave signal on all this stuff. That was all new and neat.\n\n**MP:** How long ago was it that it started? 'Cause I'm not even really sure how long it had been going on for when I got involved.\n\n**JTR:** Yeah. I have lost all of my extended memory because it was all stored on Google servers. The Prodcast website, I think we have the date stamps and I think it would have been three or four years ago it started. Definitely double-check that, please. One of the interesting things is that we wanted this to be something that people could legitimately do and call it work—they could listen to this podcast and say, I just did an hour or 30 minutes of work. So we picked the target length to be just under 30 minutes, so you can block off a 30 minute slot in your calendar and do it.\n\nAnd we also made a decision, which fortunately is being revisited to make them confidential, so that people could talk openly about internal projects, so you could be finding out about some exciting project from elsewhere in the company that might have an impact on your work. But it turns out that making a podcast confidential really sort of goes against the grain of the entire podcast ethos, which is very much about information should be free. So it was very hard to get a confidential podcast approved to be listened to through podcast players. We actually encouraged people to play it directly at a Google Drive because Google Drive ACLs follow local company policy, which, you know, I'm sure that dramatically reduced the number of people who were willing to listen to this as a podcast because they couldn't just shuffle it into their normal podcast feed. We did some investigation into whether we could, like, treat it as like a—the same way podcast players treat premium content where you actually have to, like, password or something in order to get access to it. For whatever reason, that didn't pan out.\n\n**MP:** Mm-hmm.\n\n**JTR:** So during my—during my tenure, it was confidential only, and you had to play it in this surprising obnoxious way.\n\n**MP:** Yeah. Something that frustrated me there was that even knowing, like, how many listens we were getting was really difficult.\n\n**JTR:** Yeah. We didn't have any sort of good analytics. We had to, like, see how many people were accessing the URL, which of course doesn't tell us how many people have downloaded it in other ways or sent it to other people.\n\n**MP:** I just have a general question for you. Do you think you'd be interested in doing another podcast of some sort someday?\n\n**JTR:** Like a guest episode?\n\n**MP:** Just in general, like, host your own, do something SRE related with all of your experience?\n\n**JTR:** Yeah. Very possible. And if you're interested in interviewing people outside of the company for this podcast, I am available for that. [Laughs]\n\n**MP:** We're not entirely sure yet where we're going to go after this run. We want to see how our viewership does. One of the ones I would be really interested in—and it might be a good one to go and look for people both in and outside of the company, especially as people have moved on and time has passed—my concept is for a second series \"garage to global\" and a podcast history of Google production.\n\n**JTR:** Mm-hmm. Yeah. I love that.\n\n**MP:** I think that would be a really interesting story to share because it's a remarkable scaling.\n\n**JTR:** Yeah. There's a bunch of these production interviews that might be a good companion piece to that. I've talked to some people about whether we could make those public as well. There's some openness to that. Of course, we would need to work with the people that were interviewed.\n\n**MP:** Mm-hmm. So I think that's something that I would be interested in doing after the series, but we're definitely going to take a little hiatus after this because it has been a pretty substantial amount of work to get all these episodes together.\n\n**JTR:** Yeah. What is the recording schedule? What does that look like? How much time has that taken up?\n\n**MP:** It's been on and off, but usually the commitment per episode in production time is, we have an hour recording block. We have at least one half-hour prep session with the guests. And then there's probably another, like, hour or so of prep work before. So it's about two and a half hours to get to the recording. And then there's generating transcripts, editing transcripts, all the stuff we have to do on the back half. The major change from when we were doing this together that's been a really big benefit is having a professional paid production house to do the edits for us.\n\n**JTR:** I bet. Yeah.\n\n**MP:** That has been a huge game-changer.\n\n**JTR:** That was always where I got stuck. It was fun to do that part, but it took forever and I'm sure I was doing a terrible job compared to what they were doing.\n\n**MP:** It's allowed us with this series to really focus on the content and not have to worry too much about getting the audio clean and ready for everyone for general consumption.\n\n**JTR:** So they're pretty good at cleaning up the audio?\n\n**MP:** Yeah. And it saves us all that time, 'cause it would—you'd have 30 minutes of audio and it would take you hours and hours to edit 30 minutes of audio. At least now we've been able to be much more content-driven.\n\n**JTR:** I like it. Cool. When is it coming out?\n\n**MP:** Episode 1 is going to be in the next week or two? I'm not going to put a firm date on it because this episode will likely be getting released after the first episode has been released. So it's end of March, beginning of April, we will have Episode 1 coming out. We will have *had* Episode 1 coming out for folks actually listening.\n\n**JTR:** Well, I'm super excited that it got to this point. It was only a dream when I was leaving.\n\n**MP:** And there's a real big thanks goes out to you for helping set up that transition when you left. That was a really big help—getting us in contact with the folks that we needed to talk to to get that organizational buy-in. That really made all of this possible. So, a huge credit to you for all of that.\n\n**JTR:** Thank you. I appreciate that.\n\n**MP:** And to the—just the general legacy of it.\n\n**JTR:** Yeah. It really—it feels good to me that things that I've started are still developing and continuing and getting better.\n\n**MP:** I do want to thank you so much for taking the time out of your day to chat with me.\n\n**JTR:** Very worth it.\n\n**MP:** Thanks so much.\n\n**JTR:** Absolutely. Have a great day.", "znaku_textu": 10904, "slov": 2023, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:50:59", "sha256": "87024a82d42c193dd7ee19bf2ed3c8599f59acaa171661a144d212bae7bbfb70", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00/", "titulek": "Google SRE - site reliability engineering podcast with John Reese", "h1": "Creating the SRE Prodcast with John Reese (JTR)", "popis": "Creating the SRE podcast with John Reese, the idea of podcast aims to share insights and stories from the world of site reliability engineering.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00"}, "headline": "Creating the SRE Prodcast with John Reese (JTR)", "description": "Host MP English and former Google SRE John Reese (JTR) chat about the creation of the Prodcast.", "image": "https://kstatic.googleusercontent.com/files/5e6f09130bdab998ee96df52d124a8131435f069541c7f795d70272bdd5d2a0ea7ba574e22fad0af2ed3e2d579cb8f24b1bc3d811733b47afa200051106011ed", "author": [{"@type": "Person", "name": "John Reese (JTR)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Creating the SRE Prodcast with John Reese (JTR)"}], "markdown": "# Creating the SRE Prodcast with John Reese (JTR)\n\nHost **MP English** and former Google SRE **John Reese (JTR)** chat about the creation of the Prodcast.\n\n**MP:** Hello, and welcome to a very special Episode 0 of the Google SRE podcast, or as we affectionately like to call it, the Prodcast. For this Episode 0, we reached out to find a very special guest, someone who previously was at Google and has moved on and had a huge role in making this podcast series possible. So, I'm going to hand it over to John and let you introduce yourself a little bit.\n\n**JTR:** Thank you, MP. My name is John Reese. I go by JTR. I was one of the overall tech leads for Google's SRE organization for many years. And while I was in that role, I founded the original Google internal-only version of this podcast, which was called the Prodcast because production seemed like an obvious joke.\n\nThe actual origin of this idea is that I was working from a massage chair in our San Francisco office, the kind of chair where you sit in it and you hit a button and it starts squeezing and twisting and trying to relax your muscles. This particular massage chair really wants to massage your arms as well. So I grudgingly put my arms in the massage and I was like, you know, with my arms immobilized, I'm not able to do any work. What if there were a way I could do work just by listening? And this was the origin of the idea to create a work-internal podcast where you could at least find out what was going on elsewhere in the world of reliability at Google.\n\nSo I posted the idea on our extremely popular internal social networking site, Google+. Some colleagues popped up who had previous experience in this, or at least a little bit of previous experience. And one of them, his name was Adam. Adam and I sat down and recorded a first episode where he was just interviewing me about old crufty technology I worked on when I started at the company, which I can talk about at length. It is the most interesting thing in the world to me. And we released it after doing a little bit of, sort of, basic audio editing in GarageBand and put it out there and there was some interest. And then another colleague whose name is Andrew—in my imagination, he listened to this.\n\n**MP:** Andrew's actually our episode seven guest.\n\n**JTR:** Ah. Andrew P. Widdowson, who you'll see upcoming in Episode 7, had a lot of experience in his college years as a college radio DJ and has continued to do stuff of that sort, audio and deejaying and just generally sort of emceeing things. And he listened to our original podcast episode and he was like, you know what? These are people who appreciate constructive feedback, and I have a lot of constructive feedback. So, he got in touch, drove all the way up from the South Bay to meet us in San Francisco, and sat us down in a room and explained all this stuff about how to make a better audio product. A lot of it was about how microphone pickup works and that you need to talk directly to the microphone because even turning your head a few degrees can cause pickup to drop off. A lot of it was about the editing process. It was all actually super fascinating 'cause I like learning about new technical topics that I don't know anything about. Audio editing is one of those.\n\nSo we made a huge list of notes and the second episode that we put out was of much higher audio quality, I believe. We ended up having a bunch of fancy gear, which came from Adam to involve us putting on big over the ear—earphones, headphones, whatever those things are called.\n\n**MP:** Having monitors.\n\n**JTR:** Yes. Monitors, all of it goes in a little solid-state recording device. And we would record sort of different audio tracks for each of the people who's speaking, each of the audio tracks—because we were in the same room because this was pre-plague times—each of the audio recordings would actually pick up mostly the person who was speaking into it, but also the background noise, the people who were off-mic speaking, which added this sort of extra sort of real quality to the recording, which is somewhat lacking actually in modern podcasts that are made remote during the pandemic. And then I was taught by Adam and Andrew how to do audio editing in GarageBand. And then later in Audacity, the much nerdier-seeming of the tools.\n\n**MP:** Audacity is a good workhorse.\n\n**JTR:** Yeah. They both can get it done. It was just a new world to me to learn how to deal with audio signals and sort of these signal processing and slicing things up and thinking about, like, compression of the wave signal on all this stuff. That was all new and neat.\n\n**MP:** How long ago was it that it started? 'Cause I'm not even really sure how long it had been going on for when I got involved.\n\n**JTR:** Yeah. I have lost all of my extended memory because it was all stored on Google servers. The Prodcast website, I think we have the date stamps and I think it would have been three or four years ago it started. Definitely double-check that, please. One of the interesting things is that we wanted this to be something that people could legitimately do and call it work—they could listen to this podcast and say, I just did an hour or 30 minutes of work. So we picked the target length to be just under 30 minutes, so you can block off a 30 minute slot in your calendar and do it.\n\nAnd we also made a decision, which fortunately is being revisited to make them confidential, so that people could talk openly about internal projects, so you could be finding out about some exciting project from elsewhere in the company that might have an impact on your work. But it turns out that making a podcast confidential really sort of goes against the grain of the entire podcast ethos, which is very much about information should be free. So it was very hard to get a confidential podcast approved to be listened to through podcast players. We actually encouraged people to play it directly at a Google Drive because Google Drive ACLs follow local company policy, which, you know, I'm sure that dramatically reduced the number of people who were willing to listen to this as a podcast because they couldn't just shuffle it into their normal podcast feed. We did some investigation into whether we could, like, treat it as like a—the same way podcast players treat premium content where you actually have to, like, password or something in order to get access to it. For whatever reason, that didn't pan out.\n\n**MP:** Mm-hmm.\n\n**JTR:** So during my—during my tenure, it was confidential only, and you had to play it in this surprising obnoxious way.\n\n**MP:** Yeah. Something that frustrated me there was that even knowing, like, how many listens we were getting was really difficult.\n\n**JTR:** Yeah. We didn't have any sort of good analytics. We had to, like, see how many people were accessing the URL, which of course doesn't tell us how many people have downloaded it in other ways or sent it to other people.\n\n**MP:** I just have a general question for you. Do you think you'd be interested in doing another podcast of some sort someday?\n\n**JTR:** Like a guest episode?\n\n**MP:** Just in general, like, host your own, do something SRE related with all of your experience?\n\n**JTR:** Yeah. Very possible. And if you're interested in interviewing people outside of the company for this podcast, I am available for that. [Laughs]\n\n**MP:** We're not entirely sure yet where we're going to go after this run. We want to see how our viewership does. One of the ones I would be really interested in—and it might be a good one to go and look for people both in and outside of the company, especially as people have moved on and time has passed—my concept is for a second series \"garage to global\" and a podcast history of Google production.\n\n**JTR:** Mm-hmm. Yeah. I love that.\n\n**MP:** I think that would be a really interesting story to share because it's a remarkable scaling.\n\n**JTR:** Yeah. There's a bunch of these production interviews that might be a good companion piece to that. I've talked to some people about whether we could make those public as well. There's some openness to that. Of course, we would need to work with the people that were interviewed.\n\n**MP:** Mm-hmm. So I think that's something that I would be interested in doing after the series, but we're definitely going to take a little hiatus after this because it has been a pretty substantial amount of work to get all these episodes together.\n\n**JTR:** Yeah. What is the recording schedule? What does that look like? How much time has that taken up?\n\n**MP:** It's been on and off, but usually the commitment per episode in production time is, we have an hour recording block. We have at least one half-hour prep session with the guests. And then there's probably another, like, hour or so of prep work before. So it's about two and a half hours to get to the recording. And then there's generating transcripts, editing transcripts, all the stuff we have to do on the back half. The major change from when we were doing this together that's been a really big benefit is having a professional paid production house to do the edits for us.\n\n**JTR:** I bet. Yeah.\n\n**MP:** That has been a huge game-changer.\n\n**JTR:** That was always where I got stuck. It was fun to do that part, but it took forever and I'm sure I was doing a terrible job compared to what they were doing.\n\n**MP:** It's allowed us with this series to really focus on the content and not have to worry too much about getting the audio clean and ready for everyone for general consumption.\n\n**JTR:** So they're pretty good at cleaning up the audio?\n\n**MP:** Yeah. And it saves us all that time, 'cause it would—you'd have 30 minutes of audio and it would take you hours and hours to edit 30 minutes of audio. At least now we've been able to be much more content-driven.\n\n**JTR:** I like it. Cool. When is it coming out?\n\n**MP:** Episode 1 is going to be in the next week or two? I'm not going to put a firm date on it because this episode will likely be getting released after the first episode has been released. So it's end of March, beginning of April, we will have Episode 1 coming out. We will have *had* Episode 1 coming out for folks actually listening.\n\n**JTR:** Well, I'm super excited that it got to this point. It was only a dream when I was leaving.\n\n**MP:** And there's a real big thanks goes out to you for helping set up that transition when you left. That was a really big help—getting us in contact with the folks that we needed to talk to to get that organizational buy-in. That really made all of this possible. So, a huge credit to you for all of that.\n\n**JTR:** Thank you. I appreciate that.\n\n**MP:** And to the—just the general legacy of it.\n\n**JTR:** Yeah. It really—it feels good to me that things that I've started are still developing and continuing and getting better.\n\n**MP:** I do want to thank you so much for taking the time out of your day to chat with me.\n\n**JTR:** Very worth it.\n\n**MP:** Thanks so much.\n\n**JTR:** Absolutely. Have a great day.", "znaku_textu": 10904, "slov": 2023, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-00", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:18", "sha256": "87024a82d42c193dd7ee19bf2ed3c8599f59acaa171661a144d212bae7bbfb70", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01", "titulek": "Google SRE - Discussion on SRE philosophy an sre concepts", "h1": "SRE Philosophy", "popis": "Jennifer Mace shares her SRE definition, discusses risk management and sre concepts to bridge the gap between software engineering and operations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01"}, "headline": "SRE Philosophy", "description": "What is SRE, anyway? Jennifer Mace (Macey) gives us her definition of Site Reliability Engineer, discusses how to manage risk, and shares key questions to ask developers.", "image": "https://kstatic.googleusercontent.com/files/96e6c6e2e8ec149692dbab3999360aa3ac252a6cbaff9a0de3e6945dbfc79f855d82972034c488285452dcaa4d3d9fcc590455ffe71f53945ac306c0e99deb85", "author": [{"@type": "Person", "name": "Jennifer Mace (Macey)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Philosophy"}], "markdown": "# SRE Philosophy\n\nWhat is SRE, anyway? Jennifer Mace (Macey) gives us her definition of Site Reliability Engineer, discusses how to manage risk, and shares key questions to ask developers.\n\n**MP:** Hello, and welcome to the first ever episode of the Google SRE Podcast, or as we affectionately refer to it, \"The Prodcast.\" I’m your host today, MP, and here with me as co-host is Viv.\n\n**Viv:** Hi, Viv here. Happy to be here. Thanks, MP.\n\n**MP:** This series that we’ll be releasing over the next few months has grown out of a long-time internal podcast series made by SREs for other engineers here at Google. And we decided we wanted to take that idea and create something new for the entire SRE and Dev communities. Over the course of these episodes, we’ll be taking SRE concepts, many of which are covered in the 2016 SRE book, and chatting with domain experts here at Google to hear their opinions on these topics and get some new perspectives. And to start us off here with us today to talk about \"What is SRE, anyway?\" is Macey. Why don’t you go ahead and introduce yourself?\n\n**Macey:** Hi. So my name is Jennifer Mace, and everybody calls me Macey. And I am extremely happy to be here today and excited to get on with chatting a bit about what SRE means because who really knows? You know, at the end of the day, it could be anything. My official job title at Google is Shenaniganry Retribution Enforcer, in the grand tradition of SRE nonsense back titles. But more to the point, I am an SRE at Google, and I have been here for nine years. I joined fresh out of college. And I am, as I like to describe it, a mathematician who tripped and fell into a computer. So I am very much a software engineer who has become an SRE and been one my whole career. I spent some time on the ad-serving SRE teams, where they have seven digits of queries per second, which is terrifying. I then spent a little while as the tech lead of GKE SRE, which is the Kubernetes Engine that Google runs for our customers. And nowadays, I run around trying to make Cloud more hospitable for Enterprise stuff.\n\n**Viv:** You’ve been everywhere!\n\n**Macey:** I’ve been everywhere. It’s fine sitting here in Sunny Seattle, the last of Sunny Seattle.\n\n**MP:** So one of the most, I think, well-popularized definitions of SRE that a lot of folks have seen is—I think I might be paraphrasing Ben Treynor with this one, is \"SRE is what happens when you ask software engineers to take over an operations function.\"\n\n**Macey:** Uh-huh. That’s—\n\n**MP:** But, like, that’s not really useful when I go to talk to my friends or family. And that’s not even necessarily that useful when I go to talk to other engineers. Like, how would you—right from the start—if you could redefine SRE from the start, how would you define it?\n\n**Macey:** Let’s see. Well, we’re just another Dev team who has a different set of priorities, right, in the same way that a Security Engineering team isn’t confusing to anybody. That’s a team of engineers whose job is to make things secure. SRE is a team of engineers whose job it is to make sure things are up, whatever that might take. So it’s less operations. I don’t love the phrasing of \"make software engineers do operations,\" ‘cause that sounds like, you know, you misbehaved in high school, and now you have to clean the kitchens, go do operations until you’ve fixed your life. It really is another engineering discipline. It’s just that our priorities are less about bringing new interesting features to our users and more about making sure that the features out there work well and stay up and running. So I guess that’s not a million miles different, is it?\n\n**MP:** So I guess that sort o, begs the question, \"What does it mean to engineer reliability?\"\n\n**Macey:** Oh, yeah. Well, engineering reliability can kinda go in a ton of different directions. And for me, that’s part of why I find this discipline so fascinating, because the types of engineering that I might do in Ads, which is a high-traffic, low-latency, really fast-paced environment, might be around making sure that there are redundant servers so you can serve the traffic from anywhere in the world if you lose a data center. But the type of engineering that I would do in a Kubernetes environment, which is more about providing a single instance of Kubernetes to our users, can’t use nearly the same tactics. So engineering reliability is about questions. It’s about asking your developers and asking them to ask their customers, \"What does reliability mean? What about your service matters if it’s up and running? What would a user consider to be broken?\" And then you serve that.\n\n**Viv:** So when talking about SRE being a team that maintains the reliability of a service, is that one half of a team that also includes the developers, or what makes it different from the Dev team?\n\n**Macey:** I think that there are a lot of different organizational models that a company can choose to field to kind of achieve the same ends. One of the things that Google really had was early on, a lot of services had a large number of developers that they wanted to kinda centralize and make efficiency improvements over the operations part. And so you might have five, ten, even more than that developer teams mapping back to a single SRE team. And when that happens, you really can’t have the SREs be embedded in the Dev teams in quite the same way as you might when there’s a one-to-one mapping.\n\n**Viv:** That makes sense.\n\n**Macey:** We do have some teams that are more embedded. I want to say that the internal SQL team works basically as a dual-purpose Developer and SRE team, for example.\n\n**Viv:** I’m mainly curious because when I started as an SRE, which was about a year ago during the pandemic, I actually didn’t really get to know more like, \"Hey, this is an SRE role.\" More I was in the role of \"Hey, here’s what our team does. Would you like to join?\" And without really knowing what SRE meant, I was like, \"Yes, this sounds like fun. Sign me up.\" So I’m always curious about what these definitions mean and when people come and ask me because I’m just kind of like, \"Here’s what *I* do\"…\n\n**Macey:** Right.\n\n**Viv:** Rather than what does SRE generally do.\n\n**Macey:** I mean, me too. I was hired on a pure SWE role, and I was pitched three different teams at Google, and the SRE one sounded the most interesting. But otherwise, I would’ve been a developer on, I want to say, Database team, which, you know—no rudeness to databases, but I find this more fun.\n\n**MP:** I think it’s certainly more exciting.\n\n**Macey:** Mm-hmm.\n\n**Viv:** I almost feel bad that I think maybe some Dev folks never get to stumble into this, because it is definitely an interesting take on a lot of the same things.\n\n**Macey:** Well, I mean, Google does offer a program so that developers can spend six months experiencing SRE and acting as an SRE, which I think is a really useful thing even if it’s not necessarily something that the developer in question might want to do forever. I think it gives you different perspectives. One of the other things—one of the other ways that we talk about running systems as SREs is managing risk. I think, MP, you had some questions around that, right?\n\n**MP:** Yeah, I think that was where I wanted to go next. I guess the next question I had is: we started talking about reliability, and then if you go and open up the SRE book to the third chapter, it’s one of the first things that the book talks about…\n\n**Macey:** There we go.\n\n**MP:** …is risk.\n\n**Macey:** Mm-hmm.\n\n**MP:** So how does reliability map to risk?\n\n**Macey:** So how does reliability map to risk? Well, we never, at Google, try to aim for 100% reliability, right? So let’s start there. The first thing that you do when you’re trying to measure the reliability of a system is you figure out some metric, what we call a service level indicator, and then you set a goal. What percentage of this metric do you want to be good? Usually, we’d aim like 95, 99%. Risk, then, is about spending that 1% budget, that 5% budget, of allowable mistakes. So a service that is happy to succeed 95% of the time has a much higher risk tolerance because you can spend 5% of your queries as errors, and that’s completely fine and acceptable, right? Whereas if you have a service, like I once worked on one that was six nines of reliable, that’s 99.9999%, that means that our monitoring system can’t measure how reliable that is because it’s more reliable than the monitoring. We did not have much risk allowance. We ran 20x over-provisioned. We ran 20 times as many servers as we needed ‘cause we could not fail.\n\n**MP:** That’s like how many seconds of downtime per year does that one—\n\n**Macey:** Oh, none. None. Like none. We don’t actually advise that our developers ask us to do this, ‘cause this is one of the funny things. Sometimes you get into a situation like you’re saying, Viv. When you’re on separate teams, you have to negotiate across that boundary a little bit more than when you’re in the same team together. But sometimes you have a Developer team who says, \"Well, my service is important, so we want a really high percentage of availability.\" And the SRE turns around and says, \"You want four nines? We can absolutely do that. You get to release once a month. No, you don’t get that new feature.\" And the developer’s like, \"What? That’s not what I wanted.\" \"Well, then you didn’t want that many nines,\" and they usually don’t, right? So that kind of communication is also part of being an SRE.\n\n**MP:** There was something else that I found really interesting when I was doing my research for this episode: the contrast drawn between stability and agility. The book—and it kind of talks about those as opposing forces. And I’m curious how you view those, given what you were just saying about how you get to release once a month.\n\n**Macey:** Right. And honestly, if I had an SRE of my acquaintance who came to me and said, \"We impose this on our developers,\" I’d be like, \"Why?\" Because they’re not opposed, precisely; they interact with each other. A service that releases frequently generally has more stable releases because they’re better at doing them, right? When you’re releasing bi-weekly or daily when you have a Push On Green situation—which means that the automation will just do a release whenever your test is passing—then it’s going to be a lot easier to push a fix really quickly or patch a security hole really quickly. So in some ways, agility is actually serving stability. But it’s also true that most systems only break when something changes. And so when you’re introducing change, you’re introducing chaos. And so it really depends. It’s almost a triangle, rather than a line between two things. And the point of the triangle is, you know, validation, testing, and canarying how well are you able to assert and prove that this particular change is safe and good? ‘Cause if you can assert that really well, if you invest heavily in it, then you get to have both agility and stability.\n\n**MP:** So the three legs of—the three points of—the triangle you would have would be validation, stability, and agility?\n\n**Macey:** I guess, maybe. I don’t know if it needs to be a triangle. I’m just making this up off the top of my head here. But I guess kind of how I think about it is if you invest heavily in making sure—in, like, having safety checks—then you get to be more agile and maintain a stable stability. Normally, in SRE…if you’re thinking as a physicist, right, the variable that you keep constant is the stability. That’s 99%. I want that to always be 99%. I can vary the other two by dialing up the testing, which lets me increase my agility. But if I don’t invest in testing and my infrastructure there doesn’t keep up with changes, doesn’t have good coverage on new features, then I can’t be as agile and stay stable.\n\n**MP:** That’s actually a shift that I’ve seen in my own realm recently, where we’re doing a lot more offline, hidden things where we’re testing how the release that’s going to make it to prod is going to perform days before it makes it to prod.\n\n**Macey:** Right.\n\n**MP:** But making sure that it looks identical or near-identical to what the live service is already doing.\n\n**Macey:** Yeah. And the thing there that can be very difficult is that code and services and systems and applications can be more or less testable, depending on how they’re architected from their very inception, right? And so that can get really tricky when you want to put operations as only the last thing on a checklist. This is why at Google, we really like to have SREs involved in design review early on before implementation even starts, to ask questions like, \"How are you going to test that feature? Do you have a way to mock that data in production?\" You know?\n\n**MP:** Yeah. So the other thing that I am curious about is how does it differ when you have maybe an older service versus a newer service? You have that brand new ideal world where SREs are there from day one versus SREs kind of coming on to a legacy system that maybe has a little bit of cruft.\n\n**Macey:** Right.\n\n**MP:** Does the approach you would take as an SRE really change between those two situations?\n\n**Macey:** I mean, simultaneously massively and not at all, which is deeply unhelpful of me to say. So let’s break that out a little bit ‘cause that’s bad radio. It is very different in what you will practically do, but philosophically quite similar. It’s all about trade-offs, right? One of the important things to learn being a good SRE is not to rigidly insist on your solutions to problems, but to present problems and trade-offs and decisions to your developer partners and treat them as partners, with respect, and let them help make those decisions. So for a newer system, you might come in on a design and say, \"Hmm, this seems like a monolithic architecture that’s going to be really hard to test. Could you implement it in these microservices? Would that work?\" And it’s easy to do at the beginning. If you have a monolith in production already that’s been running for six years, you might not go in straight away and say, \"Can we break it out into microservices?\" You might present that as an option if they have the staffing, but instead, you might say, \"Our end goals are X, Y, and Z. Here’s how we can get to them. I, as your SRE, cannot do everything at once. If you invest in making your service more reliable, then I can help invest in making it agile. But if you can’t invest on your side, I’m going to spend all of my time doing the operations work, manually patching things. This isn’t a punishment, but I just won’t have the time to spend on the agility.\" So that’s kind of the shift, right? It’s all about presenting options and letting your partners have a hand in the decision.\n\n**Viv:** So what I’m hearing here is an SRE acts almost like a consultant in those early stages and then follows up on the outcomes of whatever the developer decides to do. Does this depend on the team? How involved do SREs tend to be on the actual development of these things? For instance, like the testing, the frameworks?\n\n**Macey:** So it super varies by team. At Google, we are a software engineer-heavy organization. I think it’s about 60% software engineer SREs and about 40% systems engineer. So we do want to get our hands into the code base sometimes. Most of the time, that will be more like you’re saying on the infrastructure side, on the release frameworks, or the testing frameworks, and helping the developers to use existing tooling. Sometimes that will involve getting deep into their actual code base, doing something, like I’ve been involved in implementing load shedding in the customer client code, for example. So SREs aren’t just acting as consultants, but also sometimes as engineers who will come in and work on a project inside of the Dev code base, depending on how much time you have.\n\n**MP:** I have a little thought experiment. There’s a new product coming up to launch, and you get to decide whether or not this launch goes forward. What are the questions you’re going to be asking that team?\n\n**Macey:** Well, thank you for the generous lead-in, MP, ‘cause I have a little bit of a hobbyhorse, so I have my three questions of SRE, which is I want my developer to be able to answer. Before I take the pager, I want them to answer first: how does your thing break? Second: how do I know that it broke? And third: what do I do when I know that it broke? So this can mean any different sort of things, depending on how the service works, right? This could be how does your pipeline form malformed data? Or how do I get paged if the queries are broken? Anything, right? But that’s the sort of things that I want my developers to be thinking about when they’re launching, when they’re saying, \"Can I launch this thing?\" Well, if you can answer these three questions to my satisfaction, then we’ll have a chat.\n\n**Viv:** I really like it. I feel like I should be asking—this should just be like a thing. Every time somebody asks me a question now and they’re like, \"Hey, we want to put this forward,\" I just want to be like, \"Hey, see, you missed these questions here.\" This is the structure I’m missing.\n\n**Macey:** Sometimes—a lot of the time in a well-organized system—the \"How do I know that it broke?\" should mean \"It will make your SLO tank,\" right? If it’s part of the main flow of the service, and if it breaking will cause your users to be unable to use the service, then it should show up in the SLO. That’s the service level objective. But not every feature is in the main flow. Sometimes it’s just a nice add-on, right? If they want to page an SRE about it, they need to be able to answer that.\n\n**Viv:** I could also see it as working in the reverse way as a \"How do I know it broke?\" Like, \"Maybe this should be in our SLOs,\" right?\n\n**Macey:** Right.\n\n**Viv:** \"We didn’t previously consider it, but now we want it as part of our thing so that SREs know what to do or when to do the do.\n\n**Macey:** Exactly.\n\n**MP:** The first question, \"How does it break?\" sounds like one that’s kind of hard to answer exhaustively.\n\n**Macey:** Mm-hmm. Yeah, I mean, this is—again, this is the sorts of things that you ask in conversation, ‘cause, to me, being SRE is all about asking questions, being in conversation. So I would maybe give examples to the developer who owns the feature by asking, \"What would it be like for this to be broken? What would a user experience? Okay, what would that look like on internal metrics?\" Right? \"What does broken mean for this feature? What would you as its developer consider to be not working enough that you would want an SRE to do something about that fact?\" ‘Cause we don’t take 100% responsibility for every single aspect of a code base when we go on-call, right? Some services are what we call fully onboarded; some services are called assisted tier or partially onboarded, where we only make sure that the service is running but not that the business is going correctly. But even for things that are fully onboarded, you can’t make sure that absolutely everything is functioning, right?\n\n**MP:** There’s a lot of business logic and a lot of services, and I know how all the parts [are] put together, but I don’t really know what each part does.\n\n**Macey:** Right? It’s like how did, two weeks ago, this shift in the machine learning pipeline cause a change in that advertiser’s profile, which caused a revenue shift in that budget system, which I have no idea [about]? It’s not my job to know. None of those things are for me to debug as an SRE.\n\n**MP:** What about external constraints with launches in SREs?\n\n**Macey:** What kinds of external?\n\n**MP:** Well, like SLAs in this case, I think, is what I would be interested in here. When there’s external factors, not just the users, but maybe some—\n\n**Macey:** Some kind of promise—some kind of promise that you’ve made? Yeah.\n\n**MP:** Yeah. Like, does SRE really ever think about contractual agreements in SLAs, or do you just somehow try to avoid that?\n\n**Macey:** Well, some of the stuff—there’s a difference between things that the leads of an SRE team are thinking about and that every single on-call has to be aware of all the time, right? I would expect that the leads of a team have some awareness. So an SLA, a service-level agreement, is kind of a written obligation, almost, of the service owner to the users or the customers or the client, right? For example, I believe at one point, the GKE system had an SLA that said there would be no more than a certain percentage of downtime for any given Kubernetes instance. When a launch is being suggested or an outage is underway that threatens an SLA that is running up against, you might fail your contractual obligations, or internally, you might cause your customers to be broken, too, because you’re breaching your SLA. That is the time when even the most junior SRE on-call starts having director authority. This is somewhat unofficial, right? But the SRE on-call gets to tell managers what to do, gets to force deploy engineers and say, \"You need to drop everything. This is an emergency.\" Or, \"You don’t get to launch this thing because the risk profile butting up against this agreement we’ve made means that I don’t think we can do this safely.\" And sometimes that means, you know, if a junior engineer ends up making that call, they’ll probably bring in their tech lead and say, \"Please support me. Back me up. Make sure I’m saying this right.\" And a big outage, you’ll pull in your SRE colleagues as well. But there is a power in that relationship that SRE does have when they think something is in danger, and it’s a power we have to be careful not to misuse. But it’s important ‘cause that’s our job.\n\n**MP:** The phrase, when I started learning to go on-call, that my manager liked to use was \"You have the keys to the car.\"\n\n**Macey:** Mm-hmm. \"Don’t drive it off a cliff.\"\n\n**Viv:** So we’ve talked a little bit about the constraints for \"How does it break?\" Who makes those decisions? There’s \"How do I know?\" and we said, you know, maybe service level objectives. I’m curious about \"What do I do?\" because as we’ve kind of briefly touched on a little bit, SRE is a very flexible role, right?\n\n**Macey:** Right.\n\n**Viv:** And I think maybe \"What do I do?\" can sometimes be, \"Let’s take our time and fix this,\" or it could be, \"We need to drive this car really fast to avoid getting hit by an avalanche.\" So, what are your thoughts on \"What do I do\"?\n\n**Macey:** Well, I’m sure that you guys probably have a later episode planned to go into a bit more depth on this, so I’ll keep it fairly brief. But an SRE’s first job is to figure out the impact when you’re paged, right? Being on-call is not everything an SRE does, as I hope we’ve probably already touched on. But first, you figure out what the impact is, and then you try to mitigate that impact to the user as best as possible, and then you try to figure out exactly how it happened, in that order. So mitigate first.\n\n**MP:** I'm always eager to hit the rollback button.\n\n**Macey:** Hmm, yes, there’s—and folks can find this—I have [an article out with O’Reilly on generic mitigations](https://www.oreilly.com/content/generic-mitigations/). But basically, the idea is if you are an SRE with responsibility for a service, and that service matters to you, if you care about it, then you should probably have one or two things like a rollout that are actions you can perform when everything’s broken and you don’t know why. So in Ads, we used \"drain to a different cell.\" If one cell is just acting weird, move all the traffic somewhere else. Figure it out later.\n\n**Viv:** Yeah, I like it. Keep those 99.999s up.\n\n**Macey:** Yeah, I mean, the job is to make the service work for the user. It can do that perfectly well from a different cell, hopefully.\n\n**MP:** So is the worry about cascading failures?\n\n**Macey:** Right. And cascading is its own form of entertainment. But that’s work you have to do in advance.\n\n**MP:** I had to deal with a bit of a failure loop the other week, and it was just so—just not even sure if it’s in a failure loop or if there is something else going wrong.\n\n**Macey:** Yeah. Yeah.\n\n**MP:** I’m just like, \"I can’t drain if it is, 'cause then it’s just gonna move the failure loop.\"\n\n**Macey:** Well, one of the things is if you have these generic mitigations, you drain one cell, you data roll back a different cell, you binary roll back a third cell—whichever one of those fixes—you do it globally if you’re in a bad situation. But in case our listeners—I don’t know if \"cascading failure\" is quite a Google-specific term, but basically, when you have a bug or a problem that causes crashes in your servers and then you move it to a different cell and they all crash, and then you move it to a different cell and they all crash, nobody’s having a good time.\n\n**MP:** The outage that chases you.\n\n**Macey:** Yes. I’m like, \"Why? Go away. Nobody asked you.\" One time we had an entertaining Belgian who kept doing that to us, so it was very fun.\n\n**Viv:** This is all making me a little nervous because I’m actually on-call right now. And now I—\n\n**Macey:** Oh, no.\n\n**Viv:** Oh, not right now, right now. I will be on-call in, like, half an hour. And now I’m worried that all these things we’re briefly mentioning are going to happen.\n\n**Macey:** It’s fine if they do. It’s all investment in your education.\n\n**Viv:** Thank you. Thank you. I’m looking forward to draining a cell, rolling back a binary, and whatever the third one was.\n\n**Macey:** Yes. It’s great fun.\n\n**MP:** So I think we’d be a little remiss in a conversation about \"What is SRE?\" to not mention this particular buzzword, which I think responding to pages technically counts as.\n\n**Macey:** No. Well, okay, how do you—would you like to state us a buzzword, MP?\n\n**MP:** Toil.\n\n**Macey:** Toil. And everybody immediately makes devil horns. What would you or the book define toil as, MP? I say it [while] seizing the microphone.\n\n**MP:** Well, I’m not great. I struggle to define it. And then the book just gives you a list of questions, and it’s like…\n\n**Macey:** Oh, God.\n\n**MP:** \"If you answer yes to more than one of these, maybe it’s toil.\"\n\n**Macey:** So I will give you, then, my definition of toil. Toil is boring or repetitive work that does not gain you a permanent improvement.\n\n**MP:** I don’t think responding to pages is boring.\n\n**Macey:** Well, boring or repetitive.\n\n**MP:** They can definitely be repetitive.\n\n**Macey:** So I would say—I wouldn’t put responding to pages as toil unless you’re getting the same page or the same type of page repeatedly, and then it’s toil. Because the first time you get a page, you’re actually doing interesting investigative work and you’re learning things. And that is permanent improvement, right? You have gained something. Boring refactoring work that makes your code base better in the long run is not toil. It’s just boring. The reason that SREs talk so much about toil is because toil is the environment of the Ops engineer, right? And so it’s kind of in our prehistory. It’s in our background. And we don’t like it, and we try to get as far away from it as possible by doing things like automating our release process. Manually running a release of a binary is toil. Has not gained you anything. You haven’t learned anything. You’re just doing it. An SRE will sometimes do manual steps, if that’s what’s needed to maintain stability. But they will try as hard as they can to automate it or to improve the process so it’s not needed. Because any work you do to remove toil basically gives your team back that many engineering hours of a skilled labor to put towards things which gain you permanent improvements. So that’s kind of my philosophy towards toil and why it’s bad. It’s bad because it’s a tax on your time and because people hate it, and thus, it’s a tax on your morale, too.\n\n**Viv:** So I guess you could even say that to the part where maybe you’re getting pages that are recurring. Something becomes toil when you see it enough that there is a solution to automating or fixing it or putting it away.\n\n**Macey:** Mm-hmm. SRE likes to write playbooks, but when you get to the point where you have a playbook that you get paged and you exactly follow steps one, two, three every time, write a robot. Write a cron job, you know? You write a script. We did this back in Ads. We ran a lot of C++ binaries, and sometimes they would get crashy or OOM. We had a restart server that when a particular server thought that it was getting unhealthy, if it thought it was getting stuck, it would send a little message to the restart server, and the restart server would come back, bop it over the head, and it would reboot so that SREs didn’t have to go and reboot it. It’s like, \"Please resurrect me. Okay.\"\n\n**MP:** I think my team runs something similar.\n\n**Macey:** Yeah. Oh.\n\n**Viv:** So is it possible if a team—say, toil appears—a wild toil appears, you fix it…\n\n**Macey:** Fight item. Run.\n\n**Viv:** Yeah. It goes away and, you know, repeat, repeat. Is it possible that SREs will eventually not have anything to do?\n\n**Macey:** It hasn’t happened yet. I think that the type of review work that we do, the type of consulting work we talked about earlier, all of that is always happening, and our developers are always introducing new features, creating new services. We’re always getting new platforms, like the Kubernetes model, the Anthos model. All of that stuff is always coming. So there’s always new stuff coming up, and that will always give us interesting things. And also, if you get to a point with a service where it’s just too stable—it never pages you, it’s boring—you can hand it back to your developers and say, \"You’ve done a great job. This is a win. You have won.\"\n\n**MP:** We can all dream.\n\n**Viv:** I like it.\n\n**Macey:** I’ve had that happen in the past.\n\n**MP:** Really?\n\n**Macey:** I had a hilarious situation where there was a geo backend that Ads needed to be way more reliable than it was. So we went to the geo team and were like, \"We really need to know where the users are. Can you make us better at that?\" And they were like, \"No, we don’t need that. We’re fine at 90% reliable.\" Ads needed four nines. It was at one nine. So we were like, \"We’ll just be taking that service then. We took it for two years, we got it up to four nines, and we handed it back like, \"Here you go.\"\n\n**Viv:** That is pretty cool.\n\n**Macey:** It can happen.\n\n**Viv:** Wow, I love it.\n\n**MP:** Well, on that note—\n\n**Macey:** On the note of wrapping things up neatly and handing them back—\n\n**MP:** Thank you so much for your time today, Macey.\n\n**Macey:** It’s fun. Thank you for hosting me.\n\n**MP:** We will make sure, for all those interested, that [the article on generic mitigations](https://www.oreilly.com/content/generic-mitigations/) is in the episode notes.\n\n**Macey:** Yep. There’s [another one kicking around about multi-single tenancy](https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/) that is illustrated with cranes because I had a very enthusiastic artist who really wanted to draw birds for it, so we drew birds.\n\n**Viv:** I was just about to ask, are they bird cranes or construction cranes?\n\n**Macey:** I asked him this as well because the other one seemed less fun.\n\n**Viv:** Like friendly construction cranes with birds working together.\n\n**Macey:** There we go. It’s SRE. We love our metaphors. Changing the wheel while the car is racing.\n\n**Viv:** Well, it was really lovely to chat with you.\n\n**Macey:** Awesome. See y’all later, and good luck with the new podcast.\n\n**MP:** Oh, thank you so much.\n\n**Macey:** Yay!", "znaku_textu": 31347, "slov": 5739, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:50:58", "sha256": "7a4bab316ef84af8056f88e78b34c13510a516e11b6c6dedb4ec601a20358ec4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/generic-mitigations/", "https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01/", "titulek": "Google SRE - Discussion on SRE philosophy an sre concepts", "h1": "SRE Philosophy", "popis": "Jennifer Mace shares her SRE definition, discusses risk management and sre concepts to bridge the gap between software engineering and operations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01"}, "headline": "SRE Philosophy", "description": "What is SRE, anyway? Jennifer Mace (Macey) gives us her definition of Site Reliability Engineer, discusses how to manage risk, and shares key questions to ask developers.", "image": "https://kstatic.googleusercontent.com/files/96e6c6e2e8ec149692dbab3999360aa3ac252a6cbaff9a0de3e6945dbfc79f855d82972034c488285452dcaa4d3d9fcc590455ffe71f53945ac306c0e99deb85", "author": [{"@type": "Person", "name": "Jennifer Mace (Macey)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Philosophy"}], "markdown": "# SRE Philosophy\n\nWhat is SRE, anyway? Jennifer Mace (Macey) gives us her definition of Site Reliability Engineer, discusses how to manage risk, and shares key questions to ask developers.\n\n**MP:** Hello, and welcome to the first ever episode of the Google SRE Podcast, or as we affectionately refer to it, \"The Prodcast.\" I’m your host today, MP, and here with me as co-host is Viv.\n\n**Viv:** Hi, Viv here. Happy to be here. Thanks, MP.\n\n**MP:** This series that we’ll be releasing over the next few months has grown out of a long-time internal podcast series made by SREs for other engineers here at Google. And we decided we wanted to take that idea and create something new for the entire SRE and Dev communities. Over the course of these episodes, we’ll be taking SRE concepts, many of which are covered in the 2016 SRE book, and chatting with domain experts here at Google to hear their opinions on these topics and get some new perspectives. And to start us off here with us today to talk about \"What is SRE, anyway?\" is Macey. Why don’t you go ahead and introduce yourself?\n\n**Macey:** Hi. So my name is Jennifer Mace, and everybody calls me Macey. And I am extremely happy to be here today and excited to get on with chatting a bit about what SRE means because who really knows? You know, at the end of the day, it could be anything. My official job title at Google is Shenaniganry Retribution Enforcer, in the grand tradition of SRE nonsense back titles. But more to the point, I am an SRE at Google, and I have been here for nine years. I joined fresh out of college. And I am, as I like to describe it, a mathematician who tripped and fell into a computer. So I am very much a software engineer who has become an SRE and been one my whole career. I spent some time on the ad-serving SRE teams, where they have seven digits of queries per second, which is terrifying. I then spent a little while as the tech lead of GKE SRE, which is the Kubernetes Engine that Google runs for our customers. And nowadays, I run around trying to make Cloud more hospitable for Enterprise stuff.\n\n**Viv:** You’ve been everywhere!\n\n**Macey:** I’ve been everywhere. It’s fine sitting here in Sunny Seattle, the last of Sunny Seattle.\n\n**MP:** So one of the most, I think, well-popularized definitions of SRE that a lot of folks have seen is—I think I might be paraphrasing Ben Treynor with this one, is \"SRE is what happens when you ask software engineers to take over an operations function.\"\n\n**Macey:** Uh-huh. That’s—\n\n**MP:** But, like, that’s not really useful when I go to talk to my friends or family. And that’s not even necessarily that useful when I go to talk to other engineers. Like, how would you—right from the start—if you could redefine SRE from the start, how would you define it?\n\n**Macey:** Let’s see. Well, we’re just another Dev team who has a different set of priorities, right, in the same way that a Security Engineering team isn’t confusing to anybody. That’s a team of engineers whose job is to make things secure. SRE is a team of engineers whose job it is to make sure things are up, whatever that might take. So it’s less operations. I don’t love the phrasing of \"make software engineers do operations,\" ‘cause that sounds like, you know, you misbehaved in high school, and now you have to clean the kitchens, go do operations until you’ve fixed your life. It really is another engineering discipline. It’s just that our priorities are less about bringing new interesting features to our users and more about making sure that the features out there work well and stay up and running. So I guess that’s not a million miles different, is it?\n\n**MP:** So I guess that sort o, begs the question, \"What does it mean to engineer reliability?\"\n\n**Macey:** Oh, yeah. Well, engineering reliability can kinda go in a ton of different directions. And for me, that’s part of why I find this discipline so fascinating, because the types of engineering that I might do in Ads, which is a high-traffic, low-latency, really fast-paced environment, might be around making sure that there are redundant servers so you can serve the traffic from anywhere in the world if you lose a data center. But the type of engineering that I would do in a Kubernetes environment, which is more about providing a single instance of Kubernetes to our users, can’t use nearly the same tactics. So engineering reliability is about questions. It’s about asking your developers and asking them to ask their customers, \"What does reliability mean? What about your service matters if it’s up and running? What would a user consider to be broken?\" And then you serve that.\n\n**Viv:** So when talking about SRE being a team that maintains the reliability of a service, is that one half of a team that also includes the developers, or what makes it different from the Dev team?\n\n**Macey:** I think that there are a lot of different organizational models that a company can choose to field to kind of achieve the same ends. One of the things that Google really had was early on, a lot of services had a large number of developers that they wanted to kinda centralize and make efficiency improvements over the operations part. And so you might have five, ten, even more than that developer teams mapping back to a single SRE team. And when that happens, you really can’t have the SREs be embedded in the Dev teams in quite the same way as you might when there’s a one-to-one mapping.\n\n**Viv:** That makes sense.\n\n**Macey:** We do have some teams that are more embedded. I want to say that the internal SQL team works basically as a dual-purpose Developer and SRE team, for example.\n\n**Viv:** I’m mainly curious because when I started as an SRE, which was about a year ago during the pandemic, I actually didn’t really get to know more like, \"Hey, this is an SRE role.\" More I was in the role of \"Hey, here’s what our team does. Would you like to join?\" And without really knowing what SRE meant, I was like, \"Yes, this sounds like fun. Sign me up.\" So I’m always curious about what these definitions mean and when people come and ask me because I’m just kind of like, \"Here’s what *I* do\"…\n\n**Macey:** Right.\n\n**Viv:** Rather than what does SRE generally do.\n\n**Macey:** I mean, me too. I was hired on a pure SWE role, and I was pitched three different teams at Google, and the SRE one sounded the most interesting. But otherwise, I would’ve been a developer on, I want to say, Database team, which, you know—no rudeness to databases, but I find this more fun.\n\n**MP:** I think it’s certainly more exciting.\n\n**Macey:** Mm-hmm.\n\n**Viv:** I almost feel bad that I think maybe some Dev folks never get to stumble into this, because it is definitely an interesting take on a lot of the same things.\n\n**Macey:** Well, I mean, Google does offer a program so that developers can spend six months experiencing SRE and acting as an SRE, which I think is a really useful thing even if it’s not necessarily something that the developer in question might want to do forever. I think it gives you different perspectives. One of the other things—one of the other ways that we talk about running systems as SREs is managing risk. I think, MP, you had some questions around that, right?\n\n**MP:** Yeah, I think that was where I wanted to go next. I guess the next question I had is: we started talking about reliability, and then if you go and open up the SRE book to the third chapter, it’s one of the first things that the book talks about…\n\n**Macey:** There we go.\n\n**MP:** …is risk.\n\n**Macey:** Mm-hmm.\n\n**MP:** So how does reliability map to risk?\n\n**Macey:** So how does reliability map to risk? Well, we never, at Google, try to aim for 100% reliability, right? So let’s start there. The first thing that you do when you’re trying to measure the reliability of a system is you figure out some metric, what we call a service level indicator, and then you set a goal. What percentage of this metric do you want to be good? Usually, we’d aim like 95, 99%. Risk, then, is about spending that 1% budget, that 5% budget, of allowable mistakes. So a service that is happy to succeed 95% of the time has a much higher risk tolerance because you can spend 5% of your queries as errors, and that’s completely fine and acceptable, right? Whereas if you have a service, like I once worked on one that was six nines of reliable, that’s 99.9999%, that means that our monitoring system can’t measure how reliable that is because it’s more reliable than the monitoring. We did not have much risk allowance. We ran 20x over-provisioned. We ran 20 times as many servers as we needed ‘cause we could not fail.\n\n**MP:** That’s like how many seconds of downtime per year does that one—\n\n**Macey:** Oh, none. None. Like none. We don’t actually advise that our developers ask us to do this, ‘cause this is one of the funny things. Sometimes you get into a situation like you’re saying, Viv. When you’re on separate teams, you have to negotiate across that boundary a little bit more than when you’re in the same team together. But sometimes you have a Developer team who says, \"Well, my service is important, so we want a really high percentage of availability.\" And the SRE turns around and says, \"You want four nines? We can absolutely do that. You get to release once a month. No, you don’t get that new feature.\" And the developer’s like, \"What? That’s not what I wanted.\" \"Well, then you didn’t want that many nines,\" and they usually don’t, right? So that kind of communication is also part of being an SRE.\n\n**MP:** There was something else that I found really interesting when I was doing my research for this episode: the contrast drawn between stability and agility. The book—and it kind of talks about those as opposing forces. And I’m curious how you view those, given what you were just saying about how you get to release once a month.\n\n**Macey:** Right. And honestly, if I had an SRE of my acquaintance who came to me and said, \"We impose this on our developers,\" I’d be like, \"Why?\" Because they’re not opposed, precisely; they interact with each other. A service that releases frequently generally has more stable releases because they’re better at doing them, right? When you’re releasing bi-weekly or daily when you have a Push On Green situation—which means that the automation will just do a release whenever your test is passing—then it’s going to be a lot easier to push a fix really quickly or patch a security hole really quickly. So in some ways, agility is actually serving stability. But it’s also true that most systems only break when something changes. And so when you’re introducing change, you’re introducing chaos. And so it really depends. It’s almost a triangle, rather than a line between two things. And the point of the triangle is, you know, validation, testing, and canarying how well are you able to assert and prove that this particular change is safe and good? ‘Cause if you can assert that really well, if you invest heavily in it, then you get to have both agility and stability.\n\n**MP:** So the three legs of—the three points of—the triangle you would have would be validation, stability, and agility?\n\n**Macey:** I guess, maybe. I don’t know if it needs to be a triangle. I’m just making this up off the top of my head here. But I guess kind of how I think about it is if you invest heavily in making sure—in, like, having safety checks—then you get to be more agile and maintain a stable stability. Normally, in SRE…if you’re thinking as a physicist, right, the variable that you keep constant is the stability. That’s 99%. I want that to always be 99%. I can vary the other two by dialing up the testing, which lets me increase my agility. But if I don’t invest in testing and my infrastructure there doesn’t keep up with changes, doesn’t have good coverage on new features, then I can’t be as agile and stay stable.\n\n**MP:** That’s actually a shift that I’ve seen in my own realm recently, where we’re doing a lot more offline, hidden things where we’re testing how the release that’s going to make it to prod is going to perform days before it makes it to prod.\n\n**Macey:** Right.\n\n**MP:** But making sure that it looks identical or near-identical to what the live service is already doing.\n\n**Macey:** Yeah. And the thing there that can be very difficult is that code and services and systems and applications can be more or less testable, depending on how they’re architected from their very inception, right? And so that can get really tricky when you want to put operations as only the last thing on a checklist. This is why at Google, we really like to have SREs involved in design review early on before implementation even starts, to ask questions like, \"How are you going to test that feature? Do you have a way to mock that data in production?\" You know?\n\n**MP:** Yeah. So the other thing that I am curious about is how does it differ when you have maybe an older service versus a newer service? You have that brand new ideal world where SREs are there from day one versus SREs kind of coming on to a legacy system that maybe has a little bit of cruft.\n\n**Macey:** Right.\n\n**MP:** Does the approach you would take as an SRE really change between those two situations?\n\n**Macey:** I mean, simultaneously massively and not at all, which is deeply unhelpful of me to say. So let’s break that out a little bit ‘cause that’s bad radio. It is very different in what you will practically do, but philosophically quite similar. It’s all about trade-offs, right? One of the important things to learn being a good SRE is not to rigidly insist on your solutions to problems, but to present problems and trade-offs and decisions to your developer partners and treat them as partners, with respect, and let them help make those decisions. So for a newer system, you might come in on a design and say, \"Hmm, this seems like a monolithic architecture that’s going to be really hard to test. Could you implement it in these microservices? Would that work?\" And it’s easy to do at the beginning. If you have a monolith in production already that’s been running for six years, you might not go in straight away and say, \"Can we break it out into microservices?\" You might present that as an option if they have the staffing, but instead, you might say, \"Our end goals are X, Y, and Z. Here’s how we can get to them. I, as your SRE, cannot do everything at once. If you invest in making your service more reliable, then I can help invest in making it agile. But if you can’t invest on your side, I’m going to spend all of my time doing the operations work, manually patching things. This isn’t a punishment, but I just won’t have the time to spend on the agility.\" So that’s kind of the shift, right? It’s all about presenting options and letting your partners have a hand in the decision.\n\n**Viv:** So what I’m hearing here is an SRE acts almost like a consultant in those early stages and then follows up on the outcomes of whatever the developer decides to do. Does this depend on the team? How involved do SREs tend to be on the actual development of these things? For instance, like the testing, the frameworks?\n\n**Macey:** So it super varies by team. At Google, we are a software engineer-heavy organization. I think it’s about 60% software engineer SREs and about 40% systems engineer. So we do want to get our hands into the code base sometimes. Most of the time, that will be more like you’re saying on the infrastructure side, on the release frameworks, or the testing frameworks, and helping the developers to use existing tooling. Sometimes that will involve getting deep into their actual code base, doing something, like I’ve been involved in implementing load shedding in the customer client code, for example. So SREs aren’t just acting as consultants, but also sometimes as engineers who will come in and work on a project inside of the Dev code base, depending on how much time you have.\n\n**MP:** I have a little thought experiment. There’s a new product coming up to launch, and you get to decide whether or not this launch goes forward. What are the questions you’re going to be asking that team?\n\n**Macey:** Well, thank you for the generous lead-in, MP, ‘cause I have a little bit of a hobbyhorse, so I have my three questions of SRE, which is I want my developer to be able to answer. Before I take the pager, I want them to answer first: how does your thing break? Second: how do I know that it broke? And third: what do I do when I know that it broke? So this can mean any different sort of things, depending on how the service works, right? This could be how does your pipeline form malformed data? Or how do I get paged if the queries are broken? Anything, right? But that’s the sort of things that I want my developers to be thinking about when they’re launching, when they’re saying, \"Can I launch this thing?\" Well, if you can answer these three questions to my satisfaction, then we’ll have a chat.\n\n**Viv:** I really like it. I feel like I should be asking—this should just be like a thing. Every time somebody asks me a question now and they’re like, \"Hey, we want to put this forward,\" I just want to be like, \"Hey, see, you missed these questions here.\" This is the structure I’m missing.\n\n**Macey:** Sometimes—a lot of the time in a well-organized system—the \"How do I know that it broke?\" should mean \"It will make your SLO tank,\" right? If it’s part of the main flow of the service, and if it breaking will cause your users to be unable to use the service, then it should show up in the SLO. That’s the service level objective. But not every feature is in the main flow. Sometimes it’s just a nice add-on, right? If they want to page an SRE about it, they need to be able to answer that.\n\n**Viv:** I could also see it as working in the reverse way as a \"How do I know it broke?\" Like, \"Maybe this should be in our SLOs,\" right?\n\n**Macey:** Right.\n\n**Viv:** \"We didn’t previously consider it, but now we want it as part of our thing so that SREs know what to do or when to do the do.\n\n**Macey:** Exactly.\n\n**MP:** The first question, \"How does it break?\" sounds like one that’s kind of hard to answer exhaustively.\n\n**Macey:** Mm-hmm. Yeah, I mean, this is—again, this is the sorts of things that you ask in conversation, ‘cause, to me, being SRE is all about asking questions, being in conversation. So I would maybe give examples to the developer who owns the feature by asking, \"What would it be like for this to be broken? What would a user experience? Okay, what would that look like on internal metrics?\" Right? \"What does broken mean for this feature? What would you as its developer consider to be not working enough that you would want an SRE to do something about that fact?\" ‘Cause we don’t take 100% responsibility for every single aspect of a code base when we go on-call, right? Some services are what we call fully onboarded; some services are called assisted tier or partially onboarded, where we only make sure that the service is running but not that the business is going correctly. But even for things that are fully onboarded, you can’t make sure that absolutely everything is functioning, right?\n\n**MP:** There’s a lot of business logic and a lot of services, and I know how all the parts [are] put together, but I don’t really know what each part does.\n\n**Macey:** Right? It’s like how did, two weeks ago, this shift in the machine learning pipeline cause a change in that advertiser’s profile, which caused a revenue shift in that budget system, which I have no idea [about]? It’s not my job to know. None of those things are for me to debug as an SRE.\n\n**MP:** What about external constraints with launches in SREs?\n\n**Macey:** What kinds of external?\n\n**MP:** Well, like SLAs in this case, I think, is what I would be interested in here. When there’s external factors, not just the users, but maybe some—\n\n**Macey:** Some kind of promise—some kind of promise that you’ve made? Yeah.\n\n**MP:** Yeah. Like, does SRE really ever think about contractual agreements in SLAs, or do you just somehow try to avoid that?\n\n**Macey:** Well, some of the stuff—there’s a difference between things that the leads of an SRE team are thinking about and that every single on-call has to be aware of all the time, right? I would expect that the leads of a team have some awareness. So an SLA, a service-level agreement, is kind of a written obligation, almost, of the service owner to the users or the customers or the client, right? For example, I believe at one point, the GKE system had an SLA that said there would be no more than a certain percentage of downtime for any given Kubernetes instance. When a launch is being suggested or an outage is underway that threatens an SLA that is running up against, you might fail your contractual obligations, or internally, you might cause your customers to be broken, too, because you’re breaching your SLA. That is the time when even the most junior SRE on-call starts having director authority. This is somewhat unofficial, right? But the SRE on-call gets to tell managers what to do, gets to force deploy engineers and say, \"You need to drop everything. This is an emergency.\" Or, \"You don’t get to launch this thing because the risk profile butting up against this agreement we’ve made means that I don’t think we can do this safely.\" And sometimes that means, you know, if a junior engineer ends up making that call, they’ll probably bring in their tech lead and say, \"Please support me. Back me up. Make sure I’m saying this right.\" And a big outage, you’ll pull in your SRE colleagues as well. But there is a power in that relationship that SRE does have when they think something is in danger, and it’s a power we have to be careful not to misuse. But it’s important ‘cause that’s our job.\n\n**MP:** The phrase, when I started learning to go on-call, that my manager liked to use was \"You have the keys to the car.\"\n\n**Macey:** Mm-hmm. \"Don’t drive it off a cliff.\"\n\n**Viv:** So we’ve talked a little bit about the constraints for \"How does it break?\" Who makes those decisions? There’s \"How do I know?\" and we said, you know, maybe service level objectives. I’m curious about \"What do I do?\" because as we’ve kind of briefly touched on a little bit, SRE is a very flexible role, right?\n\n**Macey:** Right.\n\n**Viv:** And I think maybe \"What do I do?\" can sometimes be, \"Let’s take our time and fix this,\" or it could be, \"We need to drive this car really fast to avoid getting hit by an avalanche.\" So, what are your thoughts on \"What do I do\"?\n\n**Macey:** Well, I’m sure that you guys probably have a later episode planned to go into a bit more depth on this, so I’ll keep it fairly brief. But an SRE’s first job is to figure out the impact when you’re paged, right? Being on-call is not everything an SRE does, as I hope we’ve probably already touched on. But first, you figure out what the impact is, and then you try to mitigate that impact to the user as best as possible, and then you try to figure out exactly how it happened, in that order. So mitigate first.\n\n**MP:** I'm always eager to hit the rollback button.\n\n**Macey:** Hmm, yes, there’s—and folks can find this—I have [an article out with O’Reilly on generic mitigations](https://www.oreilly.com/content/generic-mitigations/). But basically, the idea is if you are an SRE with responsibility for a service, and that service matters to you, if you care about it, then you should probably have one or two things like a rollout that are actions you can perform when everything’s broken and you don’t know why. So in Ads, we used \"drain to a different cell.\" If one cell is just acting weird, move all the traffic somewhere else. Figure it out later.\n\n**Viv:** Yeah, I like it. Keep those 99.999s up.\n\n**Macey:** Yeah, I mean, the job is to make the service work for the user. It can do that perfectly well from a different cell, hopefully.\n\n**MP:** So is the worry about cascading failures?\n\n**Macey:** Right. And cascading is its own form of entertainment. But that’s work you have to do in advance.\n\n**MP:** I had to deal with a bit of a failure loop the other week, and it was just so—just not even sure if it’s in a failure loop or if there is something else going wrong.\n\n**Macey:** Yeah. Yeah.\n\n**MP:** I’m just like, \"I can’t drain if it is, 'cause then it’s just gonna move the failure loop.\"\n\n**Macey:** Well, one of the things is if you have these generic mitigations, you drain one cell, you data roll back a different cell, you binary roll back a third cell—whichever one of those fixes—you do it globally if you’re in a bad situation. But in case our listeners—I don’t know if \"cascading failure\" is quite a Google-specific term, but basically, when you have a bug or a problem that causes crashes in your servers and then you move it to a different cell and they all crash, and then you move it to a different cell and they all crash, nobody’s having a good time.\n\n**MP:** The outage that chases you.\n\n**Macey:** Yes. I’m like, \"Why? Go away. Nobody asked you.\" One time we had an entertaining Belgian who kept doing that to us, so it was very fun.\n\n**Viv:** This is all making me a little nervous because I’m actually on-call right now. And now I—\n\n**Macey:** Oh, no.\n\n**Viv:** Oh, not right now, right now. I will be on-call in, like, half an hour. And now I’m worried that all these things we’re briefly mentioning are going to happen.\n\n**Macey:** It’s fine if they do. It’s all investment in your education.\n\n**Viv:** Thank you. Thank you. I’m looking forward to draining a cell, rolling back a binary, and whatever the third one was.\n\n**Macey:** Yes. It’s great fun.\n\n**MP:** So I think we’d be a little remiss in a conversation about \"What is SRE?\" to not mention this particular buzzword, which I think responding to pages technically counts as.\n\n**Macey:** No. Well, okay, how do you—would you like to state us a buzzword, MP?\n\n**MP:** Toil.\n\n**Macey:** Toil. And everybody immediately makes devil horns. What would you or the book define toil as, MP? I say it [while] seizing the microphone.\n\n**MP:** Well, I’m not great. I struggle to define it. And then the book just gives you a list of questions, and it’s like…\n\n**Macey:** Oh, God.\n\n**MP:** \"If you answer yes to more than one of these, maybe it’s toil.\"\n\n**Macey:** So I will give you, then, my definition of toil. Toil is boring or repetitive work that does not gain you a permanent improvement.\n\n**MP:** I don’t think responding to pages is boring.\n\n**Macey:** Well, boring or repetitive.\n\n**MP:** They can definitely be repetitive.\n\n**Macey:** So I would say—I wouldn’t put responding to pages as toil unless you’re getting the same page or the same type of page repeatedly, and then it’s toil. Because the first time you get a page, you’re actually doing interesting investigative work and you’re learning things. And that is permanent improvement, right? You have gained something. Boring refactoring work that makes your code base better in the long run is not toil. It’s just boring. The reason that SREs talk so much about toil is because toil is the environment of the Ops engineer, right? And so it’s kind of in our prehistory. It’s in our background. And we don’t like it, and we try to get as far away from it as possible by doing things like automating our release process. Manually running a release of a binary is toil. Has not gained you anything. You haven’t learned anything. You’re just doing it. An SRE will sometimes do manual steps, if that’s what’s needed to maintain stability. But they will try as hard as they can to automate it or to improve the process so it’s not needed. Because any work you do to remove toil basically gives your team back that many engineering hours of a skilled labor to put towards things which gain you permanent improvements. So that’s kind of my philosophy towards toil and why it’s bad. It’s bad because it’s a tax on your time and because people hate it, and thus, it’s a tax on your morale, too.\n\n**Viv:** So I guess you could even say that to the part where maybe you’re getting pages that are recurring. Something becomes toil when you see it enough that there is a solution to automating or fixing it or putting it away.\n\n**Macey:** Mm-hmm. SRE likes to write playbooks, but when you get to the point where you have a playbook that you get paged and you exactly follow steps one, two, three every time, write a robot. Write a cron job, you know? You write a script. We did this back in Ads. We ran a lot of C++ binaries, and sometimes they would get crashy or OOM. We had a restart server that when a particular server thought that it was getting unhealthy, if it thought it was getting stuck, it would send a little message to the restart server, and the restart server would come back, bop it over the head, and it would reboot so that SREs didn’t have to go and reboot it. It’s like, \"Please resurrect me. Okay.\"\n\n**MP:** I think my team runs something similar.\n\n**Macey:** Yeah. Oh.\n\n**Viv:** So is it possible if a team—say, toil appears—a wild toil appears, you fix it…\n\n**Macey:** Fight item. Run.\n\n**Viv:** Yeah. It goes away and, you know, repeat, repeat. Is it possible that SREs will eventually not have anything to do?\n\n**Macey:** It hasn’t happened yet. I think that the type of review work that we do, the type of consulting work we talked about earlier, all of that is always happening, and our developers are always introducing new features, creating new services. We’re always getting new platforms, like the Kubernetes model, the Anthos model. All of that stuff is always coming. So there’s always new stuff coming up, and that will always give us interesting things. And also, if you get to a point with a service where it’s just too stable—it never pages you, it’s boring—you can hand it back to your developers and say, \"You’ve done a great job. This is a win. You have won.\"\n\n**MP:** We can all dream.\n\n**Viv:** I like it.\n\n**Macey:** I’ve had that happen in the past.\n\n**MP:** Really?\n\n**Macey:** I had a hilarious situation where there was a geo backend that Ads needed to be way more reliable than it was. So we went to the geo team and were like, \"We really need to know where the users are. Can you make us better at that?\" And they were like, \"No, we don’t need that. We’re fine at 90% reliable.\" Ads needed four nines. It was at one nine. So we were like, \"We’ll just be taking that service then. We took it for two years, we got it up to four nines, and we handed it back like, \"Here you go.\"\n\n**Viv:** That is pretty cool.\n\n**Macey:** It can happen.\n\n**Viv:** Wow, I love it.\n\n**MP:** Well, on that note—\n\n**Macey:** On the note of wrapping things up neatly and handing them back—\n\n**MP:** Thank you so much for your time today, Macey.\n\n**Macey:** It’s fun. Thank you for hosting me.\n\n**MP:** We will make sure, for all those interested, that [the article on generic mitigations](https://www.oreilly.com/content/generic-mitigations/) is in the episode notes.\n\n**Macey:** Yep. There’s [another one kicking around about multi-single tenancy](https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/) that is illustrated with cranes because I had a very enthusiastic artist who really wanted to draw birds for it, so we drew birds.\n\n**Viv:** I was just about to ask, are they bird cranes or construction cranes?\n\n**Macey:** I asked him this as well because the other one seemed less fun.\n\n**Viv:** Like friendly construction cranes with birds working together.\n\n**Macey:** There we go. It’s SRE. We love our metaphors. Changing the wheel while the car is racing.\n\n**Viv:** Well, it was really lovely to chat with you.\n\n**Macey:** Awesome. See y’all later, and good luck with the new podcast.\n\n**MP:** Oh, thank you so much.\n\n**Macey:** Yay!", "znaku_textu": 31347, "slov": 5739, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:19", "sha256": "7a4bab316ef84af8056f88e78b34c13510a516e11b6c6dedb4ec601a20358ec4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/generic-mitigations/", "https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02", "titulek": "Google SRE - Approach to server monitoring and SRE telemetry", "h1": "Customer-Centric Monitoring", "popis": "Join Silvia Esparrachiari for valuable insights on server monitoring, SRE telemetry and customer journey monitoring to better understand and serve your users.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02"}, "headline": "Customer-Centric Monitoring", "description": "Silvia Esparrachiari talks about the challenges of monitoring and the importance of understanding your users.", "image": "https://kstatic.googleusercontent.com/files/e14b3ba9f73f82b23317a75ec651cd7b5554e81966fb2dc3e752b98f114ed4af8f676551c221b59c0c3c96fdcc295a5e261cb193853316fe5d53225406d7adf5", "author": [{"@type": "Person", "name": "Silvia Esparrachiari"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Customer-Centric Monitoring"}], "markdown": "# Customer-Centric Monitoring\n\nSilvia Esparrachiari talks about the challenges of monitoring and the importance of understanding your users.\n\n**Viv:** Hi everyone. Welcome to the SRE Prodcast. This is a limited series where we're discussing concepts from the SRE book with experts around Google. I'm Viv, and I'm your host today. And I am here with MP.\n\n**MP:** Hello everyone.\n\n**Viv:** And today, we'll be talking about monitoring with our guest Sylvia.\n\n**Sylvia:** Hello.\n\n**Viv:** Hi! Thanks for being here. Do you want to tell us a little bit about yourself?\n\n**Sylvia:** Yes, for sure. Thanks for the invite, first of all. Hi, I'm Sylvia, and I am the SRE UTL (SRE Uber Tech Lead) for a sorted collection of services in AMP—that stands for Application Modernization Platform. I've been at Google for over ten years, in SRE for about seven years… and monitoring is the center of SRE work— not just for the metrics, but also observability and understanding of how our services are behaving, and addressing our customers' needs.\n\n**Viv:** Yeah. Cool, thanks. So the SRE book has some notes on monitoring that are more just kind of general definitions to keep in mind as you build your systems—there are some general tips—but I'm wondering what you would define as monitoring if someone were to say, \"Hey, we need to monitor our systems,\" right? What does that mean?\n\n**Sylvia:** So the first question is, what's your business goal, right? Traditional thinking around monitoring often says that we should consider error rates or latency, but these are all measurements. They are not targets. They're not goals. So monitoring is nothing if you do not have a goal. It's actually not encouraged nowadays to have too much data, right? 'Cause it can obfuscate the objective information that you are actually looking for. So, first thing when you think about monitoring is, what are your business goals and what kind of information you can extract from your services? [You] should make a decision about whether or not you are meeting those business goals or what kind of insight you are looking for to take the next step in your market segment.\n\n**MP:** So one of the words you've used is observability. And another word that I've heard around the industry is telemetry. How are these the same or different from monitoring?\n\n**Sylvia:** I usually tend to think of telemetry as one aspect of observability—so for me, telemetry is the time series for whatever you are trying to observe. And observability means, can you extract this data from your telemetry, right? Again, you may have tons of data in your telemetry, but they say nothing about what you are actually trying to observe.\n\n**Viv:** Yeah, I like it. It's an interesting approach. So do monitoring systems often account for a number of goals, or is it—I guess this is kind of easy if you have one clear business goal that everything kind of works towards. What if there are a number of goals—does that mean it's a monitoring system that accounts for all of them? What does complexity look like as systems become complex or goals become complex?\n\n**Sylvia:** Of course, that's an awesome question. 'Cause especially at Google, we are often handling systems that are too complex for a single person to understand, and they often share different goals from different parties, right? So I bet that the goals from business folks, they are interpreted slightly differently from what engineering usually thinks about their own services. So observability may include all these different perspectives. In engineering, usually, we tend to look at the services as black box, right? And engineers, on a first moment, they will try to observe things like availability, which is commonly defined as the error ratio on the service. So given a certain timeframe, you want your error ratio to be below a certain percentage, and that's called availability. But the truth is, the next question you have to ask is, who is observing those errors? Are they observed by a single user? Is this user a critical user? Is this user intentionally generating errors—for some reason, that's what they actually want? I can give you a quick example.\n\n**MP:** I would actually love to hear that.\n\n**Sylvia:** Yeah. So here's the thing. There was a system that would push data into a database. And then, in the second moment, they would intentionally send the same data and count the number of duplicated errors. So data availability from the point of view of that user availability was always 50%. 'Cause in the first moment they would inject the data. The second moment they would try to inject the data again. And in the best scenario, they would get errors, all errors in the second attempt. So if you consider the whole timeframe of their workflow, availability is 50%. So these are the questions that we have to ask ourselves when we look at telemetry: what is this data telling us? If you look at only the general broad view, you may get an answer that makes absolutely no sense and definitely doesn't describe the user experience. So broad data by itself means nothing. You have to understand your users, you have to understand your use cases, and you have to accommodate for user creativity, which is very hard.\n\n**Viv:** Users are certainly inventive. I know I've seen that a lot as an SRE handling something that is more user-facing. Lots of weird things come up! So, I guess, speaking about users when we talk about business goals, are those typically internal for us—you know, we want our system like this? Or is it more of a user approach where it's: we want our users to see X, Y, and Z? How much of monitoring is something that users notice versus something that your team or your company might want for itself?\n\n**Sylvia:** That's a great question. Observability may happen at different levels, right? So one important level is the one that we believe is closest to the user experience. That level is defined by ourselves. Actually, the closest level of observability is for you to sit right next to a user and observe them using the system. But that's a very hard strategy to escalate, right? You cannot sit next to your users and collect data from them. So we tend to automate this data collection, either via instrumentation of our client libraries, things that run on the browser, and send those back to telemetry about the usage patterns, usage sequence. So, oh, I click this button, and then next, I click this other one. So you can actually draw the most common interactions for users in a browser. Another layer that is often associated with user experience is at the very API level—the public API that Google exposes to users. In that case, you instrument the calls to the API. It's a little bit harder to trace the interaction across APIs 'cause they're not necessarily related. But this is a common level for systems in infrastructure, for instance, 'cause we really don't have any piece of logic that runs on the browser. We only go up to the API level. Does that answer your question?\n\n**Viv:** I think so, a little bit.\n\n**MP:** Yeah. I know a way that this has been in my experience. I tend to think of these as like client-side monitoring versus server-side monitoring are the words I use in my head usually.\n\n**Sylvia:** Definitely. If you have telemetry coming from a client library or an agent on the browser or agent somewhere, that's usually considered client monitoring. Server monitoring might be misleading 'cause you can still account for different workflows on the server being processed by the server, while \"server monitoring\" often brings to mind the general performance of that black box. So server monitoring is often associated with black box monitoring, but you can do *workflow* monitoring on the server. And that's the actual challenge in TI/GCP (Technical Infrastructure/Google Cloud Platform) at the moment.\n\n**MP:** \"Workflow monitoring\" is a term I have not heard before.\n\n**Sylvia:** I just invented it. Just to give you something different.\n\n**Viv:** I love it. You heard it here, first. So you heard it here first! Now we can bring that back to all our teams and talk about workflow monitoring on the server for the server.\n\n**Sylvia:** For the customer.\n\n**Viv:** For the customer.\n\n**Sylvia:** On the server for the customer, yes.\n\n**Viv:** Yeah. I know—this isn't necessarily a question, just a comment—I know one of the things that our team thinks about often is, you know, if you have these different pieces on client-side, workflow—more server-side, if you wanna say that—how do you connect those to get a full picture of what's going on versus keeping those separate? And how can you apply both of those when you're looking at different incidents or just generally looking at long-term trends?\n\n**Sylvia:** That's the $1 million question. So yeah, when should we use observability? When should we apply observability? For me, there are two key moments when you need observability. One, as you mentioned, is during outages and incidents: you want to know how that outage is impacting your users. And that's a critical detail information that you must have at the time of the outage. 'Cause you must provide a response to your customer saying, \"hey yes, we are aware. We know that is happening right here. We predict it's gonna be fixed by then.\" There is another moment when you should take a look at observability, which is planning—strategic planning. And you don't have to do that at the moment. You actually can look back in the past and observe trends, look for evidence of new usage or new patterns, or even areas where your service may not be actually delivering what the user wants. You can actually find this—like the case that I gave before when users would push new data, and the way for them to verify that the data was actually stored was to send it again and get errors. Maybe we should just send them a confirmation that the data was stored. They *need* to confirm that the data is stored, so they do that creative second push to make that verification. So observability can help you with that kind of insight.\n\n**Viv:** I was just thinking, you know, in an ideal situation, when do you start thinking about monitoring when you're building a new service or system? Or I guess in your experience— I know monitoring is a core component of what you focus on. Is that something that you then apply? Like, you bring your approach to existing systems and involve that monitoring? Or when do we think about it when it doesn't exist yet? Or when do we think about when to update it?\n\n**Sylvia:** So during any development process, there's one step which is verification, right? So you go to your users, ask them what they want, and then you have a fail fast iteration, build the model, MVP, check with them if that's what they want, implement it, invite your users to test your thing, and then you push to prod, right? Even after pushing this new feature to prod, you still have to check if the feature is actually working as intended for everybody. And if it's not working, what's the subset of users that is not having the good experience that you designed? So monitoring serves that purpose— the verification purpose— at all times. So the beauty of monitoring is it's also an automation. So you don't have to ask your customers all the time, \"hey, is it working? Is it working?\" No, you have the monitoring there. You can check this out. So once you think about monitoring, think about what are the verification requirements for your feature or your product and integrate the indicators, the main indicators, the telemetry that you need to verify those conditions into the design plan, so when you launch the feature, it goes with all the necessary monitoring that you need to further verify if it's a success or a failure.\n\n**Viv:** We talked about being very intentional in what data you're monitoring. How do you know that that data is accurate? Or rather, how can you trust that data?\n\n**Sylvia:** That's an excellent question. Yeah. Problems with the monitoring data can be very deceptive and hard to actually notice. I'm trying to think if I ever saw that kind of example. I think the most recent example I can think of was something that was always kind of on. So it was always zero or always one. And we could only verify that there was a problem with the monitoring data because of secondary information or a secondary source of telemetry. For instance, our monitoring was saying, \"oh, user names were fine. We're getting zero errors when registering a new user in the system.\" But then, when we looked at the logs, we could clearly see the error logs being reported there. So it's mostly a matter of feeling, right? You feel that there should be a variation in this indicator somehow. Why is this always 100%? It doesn't make sense. So, always look at your telemetry with a little bit of criticism and don't trust a single indicator, right? Always build a robust collection of indicators that can give you the whole picture with higher confidence.\n\n**Viv:** Okay. So what I'm kind of hearing is: trust your data by not trusting your data, but understanding your service, potentially. Not that you shouldn't trust your data, but just to be critical about it.\n\n**Sylvia:** You trust the overall behavior of your data. You don't trust the little piece individually.\n\n**Viv:** Sure. And I think it's interesting to point out that there does need to be a robust means of monitoring, right? I don't know if that means that there is overlap in what's being looked at, but if you only have one thing to look at it, then maybe you don't know when it's failing, right? There's only one aspect you can kind of approach it from.\n\n**Sylvia:** There is another way to validate that your monitoring is actually giving you the data that you expect. It's similar to unit tests, right? So you build the test, and then you break it, and then you see it fail. So you know the test is actually reacting to the bad condition. So you can do the same thing with monitoring. If you have an indicator that says when your system is down, you may want to bring something down to verify, probably not in production. Try this in tests, right, not in the prod environment. And verify that your alert actually goes off or that your graphs actually go down. So verify that your intention to monitor is actually what is in place.\n\n**MP:** Now what about, like, meta monitoring?\n\n**Viv:** Monitoring your monitoring?\n\n**MP:** Yeah. Like, the \"who watches the watchmen\" question.\n\n**Sylvia:** So that's the beauty of options, right. So if you don't trust your monitoring solution, you could always have two solutions in place, right? So go around the market, choose two, and put them in place. If you offer a monitoring solution, definitely do not use your own solution to monitor yourself. Again, you may do that with a secondary separated system, but also have a different solution to make sure that the most critical indicators for your system do not have a dependency on yourself, right? So avoid cyclic dependencies when you run a monitoring solution and avoid cyclic dependencies for everything basically.\n\n**Viv:** So I like a lot of the principles that you've talked about—definitely good food for thought. I'm wondering, where are we in those principles? Does current monitoring—do the systems that you have currently follow all of those things? Or where is the room for improvement? Have we not reached that point yet? Like, is this ideal and we're moving towards it, or is this where we are and then there's room to keep going?\n\n**Sylvia:** So observability has evolved, at least at Google, in the past ten years where we used to look at our services and interpret the information we got as serving an abstract user. So all these queries go to the user. It's a single entity that represents us all. We not often would look at the long tail of performance. So if we have five 9s of availability, we are happy, right? 'Cause that represents that the generic user is also happy 'cause they observe five-nines of availability or latency or whatever indicator we have. Now, the world has changed a bit—actually, a lot. And we are starting to account for different profiles, different users. So we no longer assume that five 9s of availability represent the overall experience for all the customers. And we take a deeper look into the long tail of performance, and that changes the way that we measure things. 'Cause before we didn't need an identifier for the users; we could easily drop that on the floor. Not even an identifier for the users—we mentioned before workflows, the workflows are actually more important than the users individually 'cause different users can perform the same workflow in our systems. So we want to make sure that all the workflows that are served by our systems are well-performing, and they might diverge in their computational requirements, right? So one workflow may require lower latency, but not so much accuracy. So we have to account for that kind of workflow. Another one may require exceptional accuracy, but they can tolerate a day of stallness or something like that.\n\n**MP:** I did have a question I wanted to ask earlier. When we were talking about telemetry, and the idea of user-centric telemetry popped into my head— that sounds really expensive in terms of data to try to have telemetry on a per-user basis.\n\n**Sylvia:** Yes, you are correct. So consider even just 1 million users. You would have one line on the graph for each one of these users. That graph will never render. And also, it would not be so useful, right? 'Cause, we are humans. We can barely cope with ten lines, [let alone] 1 million. That's where the concept of workflow comes in, or profile, or unity of aggregation. Anything that brings us between 1 million and just one, but we can still extract actionable information from it. So we don't need to understand each individual user, but we can understand the classes of users, their workflows. Or even if the data is not necessarily centered on the user, we may choose aggregation that is based on whatever we are serving. So let's say we are serving a photo album for our users. So we may consider checking availability and latency per album or per photo. But I think, in that case, the album would be more interesting so we can see how many albums are healthy, right? We don't need to know exactly which user is looking at the album, but we can count how many albums are healthy or are rendered within a second or so. And even then, if the number of albums is too high, we can aggregate them and say, oh, how are the albums with five photos—up to five photos—behaving? What's their performance? What's the performance of albums between 5 and 20 photos, and so forth?\n\n**Viv:** Makes sense. So I guess in that case, to continue your example, say most users have relatively small photo albums. Say everybody has under a hundred. But then there are some users who have tons and tons of photos in their albums and maybe that's the long tail where they don't perform as well. Is the point of monitoring to—maybe this is kind of a rhetorical question, but—I'm curious whether the monitoring serves more to just make sure that you keep tabs on that specific workflow or profile of users? Just, for instance, to know if the system is down for them versus for everybody, or is it more of a way to improve on the system for those particular people because your service may tend to only account for the average person? Does that make sense?\n\n**Sylvia:** Yes. And that's exactly the point, right. You can get direct insight on where your service is lacking, and you can take an objective decision on whether or not to make your service perform better. So let's say 99% of our users have photo albums under five photos or so. Are we happy with that number? Do we have a customer that is really engaged in having very large photos? Do we feel like we need to satisfy that use case? If the answer is no, we can even disregard that particular class of information, right. But at least we know we are not blind to that.\n\n**Viv:** Yeah. That makes sense. That was gonna be one of my questions as well. Kind of like, when do we care? Because I could totally see this as being a question of why do we want to spend engineering time on building monitoring for all these particular workflows if the numbers of people in workflows B through Z are so much smaller than A? Maybe that's more of a business question, but it definitely seems like something that could be tricky.\n\n**Sylvia:** Yeah. And we can also leverage this information to the business folks and help them decide on what's the next step.\n\n**MP:** Well, I feel like to some degree we've danced around a buzzword buzz abbreviation with talking about a user-focused monitoring, which I guess those would be CUIs and CUJs.\n\n**Viv:** Critical user interactions and critical user journeys.\n\n**MP:** Yeah. I've heard those terms. Do those fit into this picture? It sounds like they would fit into this picture.\n\n**Sylvia:** Yes. The critical user journeys, which is the most reasonable aggregation of data to talk about, [are] usually user interaction like click the button, enter text, submit form. These are too small for us to take any action unless there is a specific problem with the interaction. So, let's say one interaction that was interesting: there was a button in a UI that required a query to an ACL system—so an authorization system—to decide whether or not the button should render, and the whole UI would hang waiting for that authorization because the logic in the JavaScript required to know whether or not that button would show up so they could build a \"hold on.\" Needless to say, there were several users that were impacted by random outages or just high lag in this authorization system, which was not designed for that kind of authorization—like, constant authorization just to render a UI. So, in that case, the click on the button or just the sheer visualization of the button was a problem to the user. That's usually very rare. Just to let it [be] noted here, the solution for that is, yeah, render the button anyway, and if the user clicks the button, then you decide what should happen then. You can even show an authorization error or so, but do not block the rendering of the UI based on a single authorization. Just so folks know about this. In general, you are after an experience, right? 'Cause the experience accounts more for the performance than a single event. And in the same way that you can think of someone sitting in front of a computer and trying to send an email—click here, alter email, send button—the whole set of actions may trigger a collection of calls after the requests reach the API.\n\nSo [the] user is doing their thing on the UI. And then, these trigger HTTP calls to the API. These HTTP calls are converted into internal requests to the backend of that API, and that backend, in its turn, sends a bunch of other requests to adjacent systems. So all these three, all this stack of calls, will impact the user journey, right? Not just the call to the API, not just the click on the button. Everything. So when something goes wrong it's really difficult oftentimes to understand what went wrong. 'Cause, there was no problem with the backend to the API. There was no problem with the browser. JavaScript was fine. So what went wrong? You want to know: what were the calls that can impact that user experience? One way of doing that is to build a breadcrumb trail across your systems. So every time you get a request from the user, you annotate it with individual ID, and you propagate that ID across all the other response requests. This is extremely expensive. So you may want to try to do this via some kind of sampling, or if you know that you have a problem with a specific journey, then you turn this on, you apply this for that specific journey.\n\n**Viv:** Yeah. I definitely see why user journeys are a good thing to focus on and why maybe that's the, perhaps—I don't wanna say new frontier, but kind of the new thing for monitoring, to lean into what the experience is like. This goes along with a lot of the things we generally talked about in this episode. MP, do you have other questions you want to chat about before we wrap up?\n\n**MP:** I think I'm all set. I think that was a really fascinating discussion.\n\n**Viv:** Cool.\n\n**MP:** I really enjoyed that.\n\n**Viv:** I'm really glad you came to talk to us about your ideas of monitoring, where it's going, telemetry, observability, workflow monitoring— lots of great things in this episode. So thank you so much for coming and having this chat with us.\n\n**Sylvia:** Yeah, it was super fun. Thank you so much for the invite.\n\n**Viv:** Thanks so much for tuning into the SRE Prodcast, and come back next time for Episode 3 on alerting.", "znaku_textu": 24690, "slov": 4371, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:50:57", "sha256": "09e6ff842310c399878f263bc1419d7c5b32dd6ffb5a1a0c4ef00e2b369e9376", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02/", "titulek": "Google SRE - Approach to server monitoring and SRE telemetry", "h1": "Customer-Centric Monitoring", "popis": "Join Silvia Esparrachiari for valuable insights on server monitoring, SRE telemetry and customer journey monitoring to better understand and serve your users.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02"}, "headline": "Customer-Centric Monitoring", "description": "Silvia Esparrachiari talks about the challenges of monitoring and the importance of understanding your users.", "image": "https://kstatic.googleusercontent.com/files/e14b3ba9f73f82b23317a75ec651cd7b5554e81966fb2dc3e752b98f114ed4af8f676551c221b59c0c3c96fdcc295a5e261cb193853316fe5d53225406d7adf5", "author": [{"@type": "Person", "name": "Silvia Esparrachiari"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Customer-Centric Monitoring"}], "markdown": "# Customer-Centric Monitoring\n\nSilvia Esparrachiari talks about the challenges of monitoring and the importance of understanding your users.\n\n**Viv:** Hi everyone. Welcome to the SRE Prodcast. This is a limited series where we're discussing concepts from the SRE book with experts around Google. I'm Viv, and I'm your host today. And I am here with MP.\n\n**MP:** Hello everyone.\n\n**Viv:** And today, we'll be talking about monitoring with our guest Sylvia.\n\n**Sylvia:** Hello.\n\n**Viv:** Hi! Thanks for being here. Do you want to tell us a little bit about yourself?\n\n**Sylvia:** Yes, for sure. Thanks for the invite, first of all. Hi, I'm Sylvia, and I am the SRE UTL (SRE Uber Tech Lead) for a sorted collection of services in AMP—that stands for Application Modernization Platform. I've been at Google for over ten years, in SRE for about seven years… and monitoring is the center of SRE work— not just for the metrics, but also observability and understanding of how our services are behaving, and addressing our customers' needs.\n\n**Viv:** Yeah. Cool, thanks. So the SRE book has some notes on monitoring that are more just kind of general definitions to keep in mind as you build your systems—there are some general tips—but I'm wondering what you would define as monitoring if someone were to say, \"Hey, we need to monitor our systems,\" right? What does that mean?\n\n**Sylvia:** So the first question is, what's your business goal, right? Traditional thinking around monitoring often says that we should consider error rates or latency, but these are all measurements. They are not targets. They're not goals. So monitoring is nothing if you do not have a goal. It's actually not encouraged nowadays to have too much data, right? 'Cause it can obfuscate the objective information that you are actually looking for. So, first thing when you think about monitoring is, what are your business goals and what kind of information you can extract from your services? [You] should make a decision about whether or not you are meeting those business goals or what kind of insight you are looking for to take the next step in your market segment.\n\n**MP:** So one of the words you've used is observability. And another word that I've heard around the industry is telemetry. How are these the same or different from monitoring?\n\n**Sylvia:** I usually tend to think of telemetry as one aspect of observability—so for me, telemetry is the time series for whatever you are trying to observe. And observability means, can you extract this data from your telemetry, right? Again, you may have tons of data in your telemetry, but they say nothing about what you are actually trying to observe.\n\n**Viv:** Yeah, I like it. It's an interesting approach. So do monitoring systems often account for a number of goals, or is it—I guess this is kind of easy if you have one clear business goal that everything kind of works towards. What if there are a number of goals—does that mean it's a monitoring system that accounts for all of them? What does complexity look like as systems become complex or goals become complex?\n\n**Sylvia:** Of course, that's an awesome question. 'Cause especially at Google, we are often handling systems that are too complex for a single person to understand, and they often share different goals from different parties, right? So I bet that the goals from business folks, they are interpreted slightly differently from what engineering usually thinks about their own services. So observability may include all these different perspectives. In engineering, usually, we tend to look at the services as black box, right? And engineers, on a first moment, they will try to observe things like availability, which is commonly defined as the error ratio on the service. So given a certain timeframe, you want your error ratio to be below a certain percentage, and that's called availability. But the truth is, the next question you have to ask is, who is observing those errors? Are they observed by a single user? Is this user a critical user? Is this user intentionally generating errors—for some reason, that's what they actually want? I can give you a quick example.\n\n**MP:** I would actually love to hear that.\n\n**Sylvia:** Yeah. So here's the thing. There was a system that would push data into a database. And then, in the second moment, they would intentionally send the same data and count the number of duplicated errors. So data availability from the point of view of that user availability was always 50%. 'Cause in the first moment they would inject the data. The second moment they would try to inject the data again. And in the best scenario, they would get errors, all errors in the second attempt. So if you consider the whole timeframe of their workflow, availability is 50%. So these are the questions that we have to ask ourselves when we look at telemetry: what is this data telling us? If you look at only the general broad view, you may get an answer that makes absolutely no sense and definitely doesn't describe the user experience. So broad data by itself means nothing. You have to understand your users, you have to understand your use cases, and you have to accommodate for user creativity, which is very hard.\n\n**Viv:** Users are certainly inventive. I know I've seen that a lot as an SRE handling something that is more user-facing. Lots of weird things come up! So, I guess, speaking about users when we talk about business goals, are those typically internal for us—you know, we want our system like this? Or is it more of a user approach where it's: we want our users to see X, Y, and Z? How much of monitoring is something that users notice versus something that your team or your company might want for itself?\n\n**Sylvia:** That's a great question. Observability may happen at different levels, right? So one important level is the one that we believe is closest to the user experience. That level is defined by ourselves. Actually, the closest level of observability is for you to sit right next to a user and observe them using the system. But that's a very hard strategy to escalate, right? You cannot sit next to your users and collect data from them. So we tend to automate this data collection, either via instrumentation of our client libraries, things that run on the browser, and send those back to telemetry about the usage patterns, usage sequence. So, oh, I click this button, and then next, I click this other one. So you can actually draw the most common interactions for users in a browser. Another layer that is often associated with user experience is at the very API level—the public API that Google exposes to users. In that case, you instrument the calls to the API. It's a little bit harder to trace the interaction across APIs 'cause they're not necessarily related. But this is a common level for systems in infrastructure, for instance, 'cause we really don't have any piece of logic that runs on the browser. We only go up to the API level. Does that answer your question?\n\n**Viv:** I think so, a little bit.\n\n**MP:** Yeah. I know a way that this has been in my experience. I tend to think of these as like client-side monitoring versus server-side monitoring are the words I use in my head usually.\n\n**Sylvia:** Definitely. If you have telemetry coming from a client library or an agent on the browser or agent somewhere, that's usually considered client monitoring. Server monitoring might be misleading 'cause you can still account for different workflows on the server being processed by the server, while \"server monitoring\" often brings to mind the general performance of that black box. So server monitoring is often associated with black box monitoring, but you can do *workflow* monitoring on the server. And that's the actual challenge in TI/GCP (Technical Infrastructure/Google Cloud Platform) at the moment.\n\n**MP:** \"Workflow monitoring\" is a term I have not heard before.\n\n**Sylvia:** I just invented it. Just to give you something different.\n\n**Viv:** I love it. You heard it here, first. So you heard it here first! Now we can bring that back to all our teams and talk about workflow monitoring on the server for the server.\n\n**Sylvia:** For the customer.\n\n**Viv:** For the customer.\n\n**Sylvia:** On the server for the customer, yes.\n\n**Viv:** Yeah. I know—this isn't necessarily a question, just a comment—I know one of the things that our team thinks about often is, you know, if you have these different pieces on client-side, workflow—more server-side, if you wanna say that—how do you connect those to get a full picture of what's going on versus keeping those separate? And how can you apply both of those when you're looking at different incidents or just generally looking at long-term trends?\n\n**Sylvia:** That's the $1 million question. So yeah, when should we use observability? When should we apply observability? For me, there are two key moments when you need observability. One, as you mentioned, is during outages and incidents: you want to know how that outage is impacting your users. And that's a critical detail information that you must have at the time of the outage. 'Cause you must provide a response to your customer saying, \"hey yes, we are aware. We know that is happening right here. We predict it's gonna be fixed by then.\" There is another moment when you should take a look at observability, which is planning—strategic planning. And you don't have to do that at the moment. You actually can look back in the past and observe trends, look for evidence of new usage or new patterns, or even areas where your service may not be actually delivering what the user wants. You can actually find this—like the case that I gave before when users would push new data, and the way for them to verify that the data was actually stored was to send it again and get errors. Maybe we should just send them a confirmation that the data was stored. They *need* to confirm that the data is stored, so they do that creative second push to make that verification. So observability can help you with that kind of insight.\n\n**Viv:** I was just thinking, you know, in an ideal situation, when do you start thinking about monitoring when you're building a new service or system? Or I guess in your experience— I know monitoring is a core component of what you focus on. Is that something that you then apply? Like, you bring your approach to existing systems and involve that monitoring? Or when do we think about it when it doesn't exist yet? Or when do we think about when to update it?\n\n**Sylvia:** So during any development process, there's one step which is verification, right? So you go to your users, ask them what they want, and then you have a fail fast iteration, build the model, MVP, check with them if that's what they want, implement it, invite your users to test your thing, and then you push to prod, right? Even after pushing this new feature to prod, you still have to check if the feature is actually working as intended for everybody. And if it's not working, what's the subset of users that is not having the good experience that you designed? So monitoring serves that purpose— the verification purpose— at all times. So the beauty of monitoring is it's also an automation. So you don't have to ask your customers all the time, \"hey, is it working? Is it working?\" No, you have the monitoring there. You can check this out. So once you think about monitoring, think about what are the verification requirements for your feature or your product and integrate the indicators, the main indicators, the telemetry that you need to verify those conditions into the design plan, so when you launch the feature, it goes with all the necessary monitoring that you need to further verify if it's a success or a failure.\n\n**Viv:** We talked about being very intentional in what data you're monitoring. How do you know that that data is accurate? Or rather, how can you trust that data?\n\n**Sylvia:** That's an excellent question. Yeah. Problems with the monitoring data can be very deceptive and hard to actually notice. I'm trying to think if I ever saw that kind of example. I think the most recent example I can think of was something that was always kind of on. So it was always zero or always one. And we could only verify that there was a problem with the monitoring data because of secondary information or a secondary source of telemetry. For instance, our monitoring was saying, \"oh, user names were fine. We're getting zero errors when registering a new user in the system.\" But then, when we looked at the logs, we could clearly see the error logs being reported there. So it's mostly a matter of feeling, right? You feel that there should be a variation in this indicator somehow. Why is this always 100%? It doesn't make sense. So, always look at your telemetry with a little bit of criticism and don't trust a single indicator, right? Always build a robust collection of indicators that can give you the whole picture with higher confidence.\n\n**Viv:** Okay. So what I'm kind of hearing is: trust your data by not trusting your data, but understanding your service, potentially. Not that you shouldn't trust your data, but just to be critical about it.\n\n**Sylvia:** You trust the overall behavior of your data. You don't trust the little piece individually.\n\n**Viv:** Sure. And I think it's interesting to point out that there does need to be a robust means of monitoring, right? I don't know if that means that there is overlap in what's being looked at, but if you only have one thing to look at it, then maybe you don't know when it's failing, right? There's only one aspect you can kind of approach it from.\n\n**Sylvia:** There is another way to validate that your monitoring is actually giving you the data that you expect. It's similar to unit tests, right? So you build the test, and then you break it, and then you see it fail. So you know the test is actually reacting to the bad condition. So you can do the same thing with monitoring. If you have an indicator that says when your system is down, you may want to bring something down to verify, probably not in production. Try this in tests, right, not in the prod environment. And verify that your alert actually goes off or that your graphs actually go down. So verify that your intention to monitor is actually what is in place.\n\n**MP:** Now what about, like, meta monitoring?\n\n**Viv:** Monitoring your monitoring?\n\n**MP:** Yeah. Like, the \"who watches the watchmen\" question.\n\n**Sylvia:** So that's the beauty of options, right. So if you don't trust your monitoring solution, you could always have two solutions in place, right? So go around the market, choose two, and put them in place. If you offer a monitoring solution, definitely do not use your own solution to monitor yourself. Again, you may do that with a secondary separated system, but also have a different solution to make sure that the most critical indicators for your system do not have a dependency on yourself, right? So avoid cyclic dependencies when you run a monitoring solution and avoid cyclic dependencies for everything basically.\n\n**Viv:** So I like a lot of the principles that you've talked about—definitely good food for thought. I'm wondering, where are we in those principles? Does current monitoring—do the systems that you have currently follow all of those things? Or where is the room for improvement? Have we not reached that point yet? Like, is this ideal and we're moving towards it, or is this where we are and then there's room to keep going?\n\n**Sylvia:** So observability has evolved, at least at Google, in the past ten years where we used to look at our services and interpret the information we got as serving an abstract user. So all these queries go to the user. It's a single entity that represents us all. We not often would look at the long tail of performance. So if we have five 9s of availability, we are happy, right? 'Cause that represents that the generic user is also happy 'cause they observe five-nines of availability or latency or whatever indicator we have. Now, the world has changed a bit—actually, a lot. And we are starting to account for different profiles, different users. So we no longer assume that five 9s of availability represent the overall experience for all the customers. And we take a deeper look into the long tail of performance, and that changes the way that we measure things. 'Cause before we didn't need an identifier for the users; we could easily drop that on the floor. Not even an identifier for the users—we mentioned before workflows, the workflows are actually more important than the users individually 'cause different users can perform the same workflow in our systems. So we want to make sure that all the workflows that are served by our systems are well-performing, and they might diverge in their computational requirements, right? So one workflow may require lower latency, but not so much accuracy. So we have to account for that kind of workflow. Another one may require exceptional accuracy, but they can tolerate a day of stallness or something like that.\n\n**MP:** I did have a question I wanted to ask earlier. When we were talking about telemetry, and the idea of user-centric telemetry popped into my head— that sounds really expensive in terms of data to try to have telemetry on a per-user basis.\n\n**Sylvia:** Yes, you are correct. So consider even just 1 million users. You would have one line on the graph for each one of these users. That graph will never render. And also, it would not be so useful, right? 'Cause, we are humans. We can barely cope with ten lines, [let alone] 1 million. That's where the concept of workflow comes in, or profile, or unity of aggregation. Anything that brings us between 1 million and just one, but we can still extract actionable information from it. So we don't need to understand each individual user, but we can understand the classes of users, their workflows. Or even if the data is not necessarily centered on the user, we may choose aggregation that is based on whatever we are serving. So let's say we are serving a photo album for our users. So we may consider checking availability and latency per album or per photo. But I think, in that case, the album would be more interesting so we can see how many albums are healthy, right? We don't need to know exactly which user is looking at the album, but we can count how many albums are healthy or are rendered within a second or so. And even then, if the number of albums is too high, we can aggregate them and say, oh, how are the albums with five photos—up to five photos—behaving? What's their performance? What's the performance of albums between 5 and 20 photos, and so forth?\n\n**Viv:** Makes sense. So I guess in that case, to continue your example, say most users have relatively small photo albums. Say everybody has under a hundred. But then there are some users who have tons and tons of photos in their albums and maybe that's the long tail where they don't perform as well. Is the point of monitoring to—maybe this is kind of a rhetorical question, but—I'm curious whether the monitoring serves more to just make sure that you keep tabs on that specific workflow or profile of users? Just, for instance, to know if the system is down for them versus for everybody, or is it more of a way to improve on the system for those particular people because your service may tend to only account for the average person? Does that make sense?\n\n**Sylvia:** Yes. And that's exactly the point, right. You can get direct insight on where your service is lacking, and you can take an objective decision on whether or not to make your service perform better. So let's say 99% of our users have photo albums under five photos or so. Are we happy with that number? Do we have a customer that is really engaged in having very large photos? Do we feel like we need to satisfy that use case? If the answer is no, we can even disregard that particular class of information, right. But at least we know we are not blind to that.\n\n**Viv:** Yeah. That makes sense. That was gonna be one of my questions as well. Kind of like, when do we care? Because I could totally see this as being a question of why do we want to spend engineering time on building monitoring for all these particular workflows if the numbers of people in workflows B through Z are so much smaller than A? Maybe that's more of a business question, but it definitely seems like something that could be tricky.\n\n**Sylvia:** Yeah. And we can also leverage this information to the business folks and help them decide on what's the next step.\n\n**MP:** Well, I feel like to some degree we've danced around a buzzword buzz abbreviation with talking about a user-focused monitoring, which I guess those would be CUIs and CUJs.\n\n**Viv:** Critical user interactions and critical user journeys.\n\n**MP:** Yeah. I've heard those terms. Do those fit into this picture? It sounds like they would fit into this picture.\n\n**Sylvia:** Yes. The critical user journeys, which is the most reasonable aggregation of data to talk about, [are] usually user interaction like click the button, enter text, submit form. These are too small for us to take any action unless there is a specific problem with the interaction. So, let's say one interaction that was interesting: there was a button in a UI that required a query to an ACL system—so an authorization system—to decide whether or not the button should render, and the whole UI would hang waiting for that authorization because the logic in the JavaScript required to know whether or not that button would show up so they could build a \"hold on.\" Needless to say, there were several users that were impacted by random outages or just high lag in this authorization system, which was not designed for that kind of authorization—like, constant authorization just to render a UI. So, in that case, the click on the button or just the sheer visualization of the button was a problem to the user. That's usually very rare. Just to let it [be] noted here, the solution for that is, yeah, render the button anyway, and if the user clicks the button, then you decide what should happen then. You can even show an authorization error or so, but do not block the rendering of the UI based on a single authorization. Just so folks know about this. In general, you are after an experience, right? 'Cause the experience accounts more for the performance than a single event. And in the same way that you can think of someone sitting in front of a computer and trying to send an email—click here, alter email, send button—the whole set of actions may trigger a collection of calls after the requests reach the API.\n\nSo [the] user is doing their thing on the UI. And then, these trigger HTTP calls to the API. These HTTP calls are converted into internal requests to the backend of that API, and that backend, in its turn, sends a bunch of other requests to adjacent systems. So all these three, all this stack of calls, will impact the user journey, right? Not just the call to the API, not just the click on the button. Everything. So when something goes wrong it's really difficult oftentimes to understand what went wrong. 'Cause, there was no problem with the backend to the API. There was no problem with the browser. JavaScript was fine. So what went wrong? You want to know: what were the calls that can impact that user experience? One way of doing that is to build a breadcrumb trail across your systems. So every time you get a request from the user, you annotate it with individual ID, and you propagate that ID across all the other response requests. This is extremely expensive. So you may want to try to do this via some kind of sampling, or if you know that you have a problem with a specific journey, then you turn this on, you apply this for that specific journey.\n\n**Viv:** Yeah. I definitely see why user journeys are a good thing to focus on and why maybe that's the, perhaps—I don't wanna say new frontier, but kind of the new thing for monitoring, to lean into what the experience is like. This goes along with a lot of the things we generally talked about in this episode. MP, do you have other questions you want to chat about before we wrap up?\n\n**MP:** I think I'm all set. I think that was a really fascinating discussion.\n\n**Viv:** Cool.\n\n**MP:** I really enjoyed that.\n\n**Viv:** I'm really glad you came to talk to us about your ideas of monitoring, where it's going, telemetry, observability, workflow monitoring— lots of great things in this episode. So thank you so much for coming and having this chat with us.\n\n**Sylvia:** Yeah, it was super fun. Thank you so much for the invite.\n\n**Viv:** Thanks so much for tuning into the SRE Prodcast, and come back next time for Episode 3 on alerting.", "znaku_textu": 24690, "slov": 4371, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:20", "sha256": "09e6ff842310c399878f263bc1419d7c5b32dd6ffb5a1a0c4ef00e2b369e9376", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03", "titulek": "Google SRE - Effective alerting on SLOs with Amelia Harrison", "h1": "Alerting", "popis": "Optimize monitoring and alerting with Google SRE alerting best practices. Learn from AutoAlert expert on when and how to alert, ideal coverage, and tuning.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03"}, "headline": "Alerting", "description": "Amelia Harrison advises on when and how to alert, ideal coverage, and tuning.", "image": "https://kstatic.googleusercontent.com/files/a1e68c98064990d0759cfb014233d6611eeb2f3b735b59c7af7a40027e2fc0e5ed1f2c23ff7dfb90e1a1cddbd1b250458c61a5962efe6f0d0fed99c37b934ed6", "author": [{"@type": "Person", "name": "Amelia Harrison"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Alerting"}], "markdown": "# Alerting\n\nAmelia Harrison advises on when and how to alert, ideal coverage, and tuning.\n\n**MP:** Hello and welcome to the Google SRE podcast, or as we affectionately like to call it, the Prodcast. I am your host for today, MP, and here with me is Viv.\n\n**Viv:** Hi!\n\n**MP:** Last time we talked about monitoring, so today we have someone here to talk to us about monitoring's close sibling: alerting. Amelia, why don't you go ahead and introduce yourself.\n\n**Amelia:** Hi, I am Amelia. I work on AutoAlert, a service at Google for alerting services across Google if there's something going wrong.\n\n**MP:** Wonderful. So to start us off, how would you distinguish alerting from monitoring?\n\n**Amelia:** So I like to think of the main distinction between monitoring and alerting as being one of timing. So monitoring is fundamentally asynchronous: at any point as a service owner, you should be able to go look at some graphs, some dashboards, and answer questions that might arise about your service. On the other hand, alerting is synchronous, so timing really matters. You wanna get alerts when something is going wrong and is actionable, and not get them when things are working as intended.\n\n**MP:** In the last episode, we talked a lot about all of the different ways to get data, and we talked about—I think some of the terms that popped up were like client-side monitoring, workflow monitoring, server monitoring. There's just so much data that we have from our monitoring systems. How do I get from that to meaningful alerts?\n\n**Amelia:** So I think there are sort of two sides to this coin. Like on the one side, there's sort of the service-specific aspects of alerting where you really need—as a service owner, you really need to sit down and think about the user journeys, the user interactions with your service and what matters, maybe set SLOs for your service and hopefully they're user-centric. And you want to make sure that you have alerting coverage for when those journeys aren't working as intended. On the other hand, I think there's a sort of infrastructure level of alerting that ideally is somewhat service-independent. So like, if you are using common infrastructure resources, like database storage or load balancers, or if you're using a common probing solution, then by virtue of using those resources, ideally you'll have sort of 'alerting as a service' set up for those resources to let you know when things go wrong—when your probes start failing, when you're at risk of running out of storage quota, when your load balancer starts seeing an abnormally large percentage of errors, for example.\n\n**Viv:** There are a lot of things to consider\n\n**Amelia:** [laughs] Yes.\n\n**Viv:** Or there are a lot of things that could go wrong, I guess. It's a big world out there.\n\n**Amelia:** Yeah. There are a lot of things that could go wrong. I think that—like, in an ideal world, I think the onus should be on service providers to think about not how things could go wrong, but how things going wrong could manifest as user impact, and make sure that if it is manifesting as user impact, that there's alerting coverage for that. But then, on the other hand, I think if you're building a service using common building blocks— like a common storage resource— then ideally it shouldn't be on the service provider to ensure that they've thought about all of the ways that those building blocks can fail and have alerting coverage for those failure modes.\n\n**Viv:** So you mentioned user impact there and, you know, how alerting kind of gets you ahead of users perceiving failures in your overall service or, you know, whatever the system is. I'm guessing you probably don't want to alert after users are seeing failures. So when do you alert, right? Like, when is too early?\n\n**Amelia:** Mm.\n\n**Viv:** And where is that sweet spot?\n\n**Amelia:** I think that the answer really depends on the kind of failure mode. And also, I think it's kind of a controversial question because I think you'll find some people that would take the line. If you're alerting before you have a user issue, it's too early. I mean, ideally we'd like to avoid all outages, which is why, for example, alerting when you are approaching storage quota is a reasonable thing to do. Like if hitting quota is gonna cause an outage, then you should know before you get there.\n\nBut in a lot of cases, it's not reasonable to expect that you would be able to catch a production issue prior to it impacting users. I mean, you can do all sorts of things like having staged rollouts and having your binaries go through some sort of canary analysis or dev and staging environments. But sometimes— especially if the cause of an outage is not internal to your service, but it's because of a dependency— that's not going to be sufficient for you to be able to catch an issue before it starts.\n\nSo yeah, in summation, I think the answer is sort of, it depends. There are certain failure modes that you can reasonably expect to catch before they impact users, but there are others where that's a less reasonable expectation.\n\n**MP:** What about subtle failure modes? I can brainstorm a lot of ways I might expect users to see an outage, but I always know there's going to be something that I've seen in my own experience: failure modes that are so hyper-specific and, like, almost nearly impossible to capture in any succinct way other than, like, digging through logs.\n\n**Amelia:** Hmm. Do you mean it's impossible to anticipate the failure mode, or do you mean that it's impossible to detect the way that users are perceiving the failure mode?\n\n**MP:** We had signals that accurately reflected the user experience, but it was nothing that we would've ever, off the top of our heads, considered like, \"oh, this is a way that this can break.\"\n\n**Amelia:** Mm.\n\n**MP:** We were able to notice it after the fact, after, like, some significant period of time, but it kind of was lurking in our data all along.\n\n**Amelia:** It was the issue that the impact was just not widespread enough?\n\n**MP:** Yeah. It was a very localized sort of impact.\n\n**Amelia:** Yeah. I mean, it's an interesting question, right? It's like, where do you draw the line between bug and outage? Like, I don't know, how *do* you draw the line? Like, one way to draw the line is, what percentage of users are affected? How much of your target population is affected? Another one is severity. Like, how impactful is the problem? I guess, at the very least for high severity and widespread issues, I think that these are the ones that are easily qualified as outages, right?\n\n**MP:** Mm-hmm.\n\n**Amelia:** And you definitely want to make sure that you have alerting coverage for those sorts of failure modes. And this could be in the form of black-box monitoring with probes. This is, like, a fairly reasonable approach to detecting these sorts of outages. But I think for what it sounds like you're describing is a situation where it's kind of in the gray area. Or was it clear? Was it very obviously an outage?\n\n**MP:** I don't think it was an outage because of the particular way it manifested for the user. It was just like, a certain workflow would crash on the client but succeed on the server. And then when the user went back, the effect of the completed workflow was still there on the server side, so they never saw the workflow again. Like, it was a special one-time thing. And so there were these client crashes that were just happening at some rate and we just didn't really notice them.\n\n**Amelia:** So in the aftermath of that issue, did you try to somehow formalize expectations around the workflow, like put an SLO on it, or...?\n\n**MP:** Not me specifically, but some counterparts that I was working with added some extra monitoring and alerting around that specific workflow.\n\n**Amelia:** Yeah. I mean, sometimes it's just a matter of, users use your services in unexpected ways. And so your notion of what the critical user journeys for your services are may be not really accurately reflecting the way users are using and interacting with your service. And so, I guess, kind of what this is getting at is that even if you haven't explicitly set an SLO on a certain way that a user interacts with your service— if a bunch of people are doing it and it's, like, normally working, then there is an implicit sort of expectation there. There's almost an implicit SLO, right? And I guess that these can be the ones that are issues— these implicit SLOs are the ones that can be really hard to get ahead of because you haven't explicitly defined an objective for the service with respect to that interaction.\n\n**Viv:** But I do like the thought that you can. I think it's interesting that, you know, alerting probably changes as maybe your service evolves or users evolve in terms of the ways they use things, right? This is maybe only tangentially related, but I thought of this because I think we mentioned bugs versus outages. And I guess another question is, who gets the alerts? Maybe, you know— is it always SRE? Is it the developers sometimes? And I guess, are these pages, are these tickets sometimes? And is it bad to get a lot of frequent tickets to try and catch a bunch of things, but only get, like, really important pages for outages? Or what is your opinion on all of that balance?\n\n**Amelia:** Yeah. Yeah. It's a really good point. I guess we should talk a little bit about what we mean by alerts, right? I don't think of alerts as just being pages, but I think of them as being any automation generated—so any automatic monitoring-generated notifications. It could be bugs. It could be emails. It could be pages. I don't know. It could be like a notification in an IRC or something. The delivery mechanism doesn't really matter as much. And I think that ideally, if you have a paging alert, it's really important that it be urgent and that it be actionable. So reflecting an issue that needs to be addressed quickly, and that can be addressed by the person who's responding. On the other hand, the mechanisms that my team uses the most are either paging or tickets.\n\n**MP:** I feel like email alerts are where alerts go to die.\n\n**Amelia:** [laughs] Yes. They might as well not exist, probably.\n\n**Viv:** I have gotten forwarded some email alerts before. They're... interesting.\n\n**MP:** This just turns into email filter hell.\n\n**Amelia:** Yeah, definitely. So one of the things that we've struggled with on my team is that there's sort of an interesting line between what we mean by urgency. If the dichotomy is: you either have paging alerts or you have ticketing alerts, then how do you decide what's urgent enough to be paging? And the criteria that we've used is, okay, if this alert fires on Friday evening at 5pm, will you have enough time to react and prevent it from becoming a major outage in the next 48 hours? Like, is it actually okay if it waits till Monday? So you need that 48-hour window. So urgent doesn't necessarily mean it needs to be handled this minute, but it means we cannot wait for the dev team on Monday. It may be that there's a few hours before it actually becomes a problem and maybe there's 12 hours, but if it's less than 48, then it probably should be paging because it can't wait the weekend, essentially. Did that answer your question?\n\n**Viv:** Yeah, sort of, I think. And so I guess in that scenario it would mean that maybe you'd get a ticket, and then if the circumstances were to change with whatever it is, then your team might get paged anyway, or, you know, maybe that page would never happen and you would just come back to it in 48 hours.\n\n**Amelia:** Yeah. Yeah.\n\n**Viv:** I get nervous when I get tickets sometimes because I'm always like, is this the precursor to a page? You know, does this mean that I need to be acting fast to avoid like we said, large user failures, et cetera. But I think that being in the philosophy of \"this is a ticket because of that\" is interesting and is a good point.\n\n**MP:** I feel like there's a weird class of ticket that I've encountered where it's disruptive— internally disruptive— but not an outage where it's like, you should probably deal with this as soon as you can 'cause it might make people's lives difficult, but it's not actually an outage. Users will never notice that this particular thing is broken, but you're gonna make some other people's lives difficult— I have a very specific example in my head— and failure to act increases risk later.\n\n**Amelia:** But you're still talking about, like, an automated alert, not like a—?\n\n**MP:** Yeah, yeah. But this is definitely, like, ticket-level in your bug queue.\n\n**Amelia:** Yeah. And so the question is like, what do you do with these? Like, is it appropriate that it be ticketing versus—?\n\n**MP:** Yeah, well, I know the fact is, if the justification I would use for bringing a ticket was that if I was to get one at like 7pm, that's not getting looked at until the next morning and more or less people can wait until the next morning. And it can— it could definitely wait a weekend, too, in this case, 'cause mostly it's internal workflows [that] are disrupted. It's not something that anyone's gonna really be bothered by on a Saturday or a Sunday.\n\n**Amelia:** Yeah. I think that one of the things that this brings up is that really a lot of these decisions are service-dependent. There's not, like, a good generalized answer. There are rules of thumb and sort of frameworks for thinking about what urgency is appropriate. But ultimately it really sort of depends on your service. And one of the things that can inform it to you is the, like, existing pager load. If your on-call rotation includes a whole bunch of different services and the load is very high, then it might not make sense to add these sort of preemptive, \"nothing is broken right this moment, but it will be broken in 36 hours if nobody takes any action.\" It might not make sense to add those to the pager load. Hopefully, nobody's in that situation. And probably there's some more fundamental rethinking of how to increase the service reliability to bring down the pager load so that you can catch those things earlier.\n\n**MP:** I think at this point I wanted to ask: if you could have your perfect alerting system just exist, how would you sort of structure that? What sort of a thing would that look like?\n\n**Amelia:** I think that the major difference between the current state of the world and the perfect [alerting system](https://sre.google/workbook/alerting-on-slos/) in my mind is that I would really like to see something that's more data-driven. I think that a lot of the existing approach to alerting, it often looks something like: you're a service owner, you think about what's important to your users, what their critical journeys are, you set up monitoring and alerting for those journeys, and then the alerts start to fire and you're like, \"oh, you know, this didn't indicate a real problem, this was too noisy,\" and you tune the alerts. Or you miss an outage and you say, \"oh, you know, we had monitoring, but our alerting just wasn't sufficiently sensitive to this failure mode.\" So you add an alert on that monitoring or you make the existing alerting more sensitive. Your team and every other service support team or every other SRE team is going through this exact same exercise of tuning alerts, making them more sensitive, less sensitive. Sometimes it's the same alert, you know. Sometimes it's like, \"oh, too sensitive; not sensitive enough; haven't found the sweet spot yet.\"\n\n**MP:** This all sounds painfully familiar.\n\n**Amelia:** [laughs] Yeah. The problem is that individually exploring the threshold space, you know, the parameter space for an individual alert, we're not able to make really data-driven decisions about what good alerting looks like. And we're not able to leverage other people going through the same exercise to sort of converge on good alerting. So I think ideally, you have a sort of system where you have alerting as a service and you're able to set various SLOs for your service, but beyond that, you don't really have to think about the details or tune the parameters for the alerting to make sure that you're able to uphold those SLOs. That can be handled separately by the alerting service, right? And that service will have visibility into alerting across a whole bunch of different services and, as a result, is able to leverage all of the data that you get from that sort of high-level visibility.\n\n**Viv:** So perhaps from seeing all these examples across various services of when an alert isn't sensitive enough, it would know to maybe tune it, I guess... is that odd? I don't know which direction we're thinking, but, you know, something like that.\n\n**Amelia:** That's right. And also it can learn about common failure modes, like sometimes alerts fire and it's a false positive that has to do with the way that the monitoring data is stored. It's not even related to the threshold, but it's like a blip in the monitoring in itself. Or it's, like, an issue with the monitoring repository, right??aybe there's a problem with your time series database or something. And so everybody gets a false positive alert because data got dropped. I don't know.\n\n**Viv:** I know that one.\n\n**MP:** Yeah, I know. I know I saw one where it was like a particular export server wasn't working and I'm getting pages and tickets for half of the services I support and I'm like, \"this is wrong.\"\n\n**Amelia:** Right. And so is everybody outside Google. When you have a centrally-provided alerting as a service, then that team has the resources to think about that common failure mode and make sure that the alerts that they're developing are robust to it. Versus every single team having to discover that for themselves and then tune all of the alerts or make modifications to all of the alerts that they own to make them robust to this monitoring failure mode.\n\n**Viv:** So when users would initially use alerting as a service, you mentioned that they would set up or agree on a service level objective. Would that mean that as, you know, alerting as a service adjusts, they would suggest perhaps a new SLO based on what they're actually seeing?\n\n**Amelia:** Yeah, absolutely. I think that that's another thing that makes alerting as a service particularly attractive— is that we talked a little bit earlier about implicit SLOs. We know that customers are gonna use our service like this and that we want to provide this level of experience for them. If you have alerting as a service, then you can allow users to specify— or users, in this case, is service providers— you can allow service providers to specify their objectives or not. You know, maybe they just specify their SLIs— the indicators that they know are important indicators of service health— and then the centralized alerting service monitors those indicators and knows what the usual performance is and can let you know if there are severe regressions.\n\n**MP:** That reminds me of one of the things that kind of always is sticking in the back of my mind is that worry about that alert I wrote three years ago and whether or not any of those thresholds are still meaningful. And every, like, alert you add creates more work, 'cause at some point, you have to go and make sure that alert still works.\n\n**Amelia:** Right. Right. Absolutely. I mean, assumably if they're not meaningful in the sense that they're way too tight, then someone else has come along and turned them down. But if they're not meaningful in the sense that they're too loose, then maybe you're really missing big problems with your service and you just don't know.\n\n**MP:** Yeah. I'm thinking specifically in the case of that implicit SLO and like, you launch your service and you're like, \"okay, we're gonna start at two 9s\" and you launch your service and you set up everything for two 9s and then you spend the next year working on availability improvements. And now you're running at four 9s but your alerting is still stuck at two 9s and now users have come to who expect four 9s and now your alert's not gonna fire until it's really bad.\n\n**Amelia:** And if you drop down to two 9s you're gonna have to find out about it from users, which is not fun. Right?\n\n**MP:** That's the stuff that gives me nightmares.\n\n**Viv:** It's hard. There are a lot of things to keep track of. I mean, obviously, that's why there are other automated things that help us with this. But even still, there's a lot of challenges in making sure you're up to date with everything. How far away do you think—sorry, this is kind of jumping back, but—how far away do you think we are from your ideal alerting as a service?\n\n**Amelia:** Definitely at Google, we have strong proofs of concept that this can work. We have a foothold, and I think we're moving in the right direction. We also know what doesn't work, or we have some good ideas about what doesn't work. So, for example, I think what we've seen is that generalized anomaly detection for alerting doesn't generally work. And I think part of the issue there— or maybe it could work, but what we've seen so far is that it is not very effective. And I think part of the issue there is that metrics are not created equally, right? There are important service level indicators that really tell you something about the overall service health, and then there's a whole bunch of other metrics that may be useful for monitoring that you're probably retaining somehow, but anomalies— they are likely to just lead to wild goose chases and be a distraction.\n\n**MP:** Like the inherent noise of the signal is too high for you— like for anomalies to actually be a meaningful concept is, sort of, what I'm hearing.\n\n**Amelia:** Right. Or even just the signal just doesn't matter. Like, it just doesn't tell you that much useful about your service. So I think that you'll never really get away from the need for service owners to have input about what they care about, right? Like, service owners identifying the important metrics that really reflect the health of the service. I think that we've seen that we're probably not going to be able to get away from that and also instrumenting the service with those metrics, right? Because there's just, I think, in general, not a one-size-fits-all solution to that problem.\n\n**MP:** So I think on that note, if no one has any more comments or anything, I think we should say thank you to Amelia for her time.\n\n**Amelia:** So happy to be here. Thank you for having me.\n\n**MP:** It was a pleasure.\n\n**Amelia:** Likewise.\n\n**Viv:** See you around.\n\n**Amelia:** Bye.", "znaku_textu": 22400, "slov": 4009, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:50:56", "sha256": "c498c746e0b32918d29b8cc46d6d17beffc2e89caf7006e310bc870aa668f992", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03/", "titulek": "Google SRE - Effective alerting on SLOs with Amelia Harrison", "h1": "Alerting", "popis": "Optimize monitoring and alerting with Google SRE alerting best practices. Learn from AutoAlert expert on when and how to alert, ideal coverage, and tuning.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03"}, "headline": "Alerting", "description": "Amelia Harrison advises on when and how to alert, ideal coverage, and tuning.", "image": "https://kstatic.googleusercontent.com/files/a1e68c98064990d0759cfb014233d6611eeb2f3b735b59c7af7a40027e2fc0e5ed1f2c23ff7dfb90e1a1cddbd1b250458c61a5962efe6f0d0fed99c37b934ed6", "author": [{"@type": "Person", "name": "Amelia Harrison"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Alerting"}], "markdown": "# Alerting\n\nAmelia Harrison advises on when and how to alert, ideal coverage, and tuning.\n\n**MP:** Hello and welcome to the Google SRE podcast, or as we affectionately like to call it, the Prodcast. I am your host for today, MP, and here with me is Viv.\n\n**Viv:** Hi!\n\n**MP:** Last time we talked about monitoring, so today we have someone here to talk to us about monitoring's close sibling: alerting. Amelia, why don't you go ahead and introduce yourself.\n\n**Amelia:** Hi, I am Amelia. I work on AutoAlert, a service at Google for alerting services across Google if there's something going wrong.\n\n**MP:** Wonderful. So to start us off, how would you distinguish alerting from monitoring?\n\n**Amelia:** So I like to think of the main distinction between monitoring and alerting as being one of timing. So monitoring is fundamentally asynchronous: at any point as a service owner, you should be able to go look at some graphs, some dashboards, and answer questions that might arise about your service. On the other hand, alerting is synchronous, so timing really matters. You wanna get alerts when something is going wrong and is actionable, and not get them when things are working as intended.\n\n**MP:** In the last episode, we talked a lot about all of the different ways to get data, and we talked about—I think some of the terms that popped up were like client-side monitoring, workflow monitoring, server monitoring. There's just so much data that we have from our monitoring systems. How do I get from that to meaningful alerts?\n\n**Amelia:** So I think there are sort of two sides to this coin. Like on the one side, there's sort of the service-specific aspects of alerting where you really need—as a service owner, you really need to sit down and think about the user journeys, the user interactions with your service and what matters, maybe set SLOs for your service and hopefully they're user-centric. And you want to make sure that you have alerting coverage for when those journeys aren't working as intended. On the other hand, I think there's a sort of infrastructure level of alerting that ideally is somewhat service-independent. So like, if you are using common infrastructure resources, like database storage or load balancers, or if you're using a common probing solution, then by virtue of using those resources, ideally you'll have sort of 'alerting as a service' set up for those resources to let you know when things go wrong—when your probes start failing, when you're at risk of running out of storage quota, when your load balancer starts seeing an abnormally large percentage of errors, for example.\n\n**Viv:** There are a lot of things to consider\n\n**Amelia:** [laughs] Yes.\n\n**Viv:** Or there are a lot of things that could go wrong, I guess. It's a big world out there.\n\n**Amelia:** Yeah. There are a lot of things that could go wrong. I think that—like, in an ideal world, I think the onus should be on service providers to think about not how things could go wrong, but how things going wrong could manifest as user impact, and make sure that if it is manifesting as user impact, that there's alerting coverage for that. But then, on the other hand, I think if you're building a service using common building blocks— like a common storage resource— then ideally it shouldn't be on the service provider to ensure that they've thought about all of the ways that those building blocks can fail and have alerting coverage for those failure modes.\n\n**Viv:** So you mentioned user impact there and, you know, how alerting kind of gets you ahead of users perceiving failures in your overall service or, you know, whatever the system is. I'm guessing you probably don't want to alert after users are seeing failures. So when do you alert, right? Like, when is too early?\n\n**Amelia:** Mm.\n\n**Viv:** And where is that sweet spot?\n\n**Amelia:** I think that the answer really depends on the kind of failure mode. And also, I think it's kind of a controversial question because I think you'll find some people that would take the line. If you're alerting before you have a user issue, it's too early. I mean, ideally we'd like to avoid all outages, which is why, for example, alerting when you are approaching storage quota is a reasonable thing to do. Like if hitting quota is gonna cause an outage, then you should know before you get there.\n\nBut in a lot of cases, it's not reasonable to expect that you would be able to catch a production issue prior to it impacting users. I mean, you can do all sorts of things like having staged rollouts and having your binaries go through some sort of canary analysis or dev and staging environments. But sometimes— especially if the cause of an outage is not internal to your service, but it's because of a dependency— that's not going to be sufficient for you to be able to catch an issue before it starts.\n\nSo yeah, in summation, I think the answer is sort of, it depends. There are certain failure modes that you can reasonably expect to catch before they impact users, but there are others where that's a less reasonable expectation.\n\n**MP:** What about subtle failure modes? I can brainstorm a lot of ways I might expect users to see an outage, but I always know there's going to be something that I've seen in my own experience: failure modes that are so hyper-specific and, like, almost nearly impossible to capture in any succinct way other than, like, digging through logs.\n\n**Amelia:** Hmm. Do you mean it's impossible to anticipate the failure mode, or do you mean that it's impossible to detect the way that users are perceiving the failure mode?\n\n**MP:** We had signals that accurately reflected the user experience, but it was nothing that we would've ever, off the top of our heads, considered like, \"oh, this is a way that this can break.\"\n\n**Amelia:** Mm.\n\n**MP:** We were able to notice it after the fact, after, like, some significant period of time, but it kind of was lurking in our data all along.\n\n**Amelia:** It was the issue that the impact was just not widespread enough?\n\n**MP:** Yeah. It was a very localized sort of impact.\n\n**Amelia:** Yeah. I mean, it's an interesting question, right? It's like, where do you draw the line between bug and outage? Like, I don't know, how *do* you draw the line? Like, one way to draw the line is, what percentage of users are affected? How much of your target population is affected? Another one is severity. Like, how impactful is the problem? I guess, at the very least for high severity and widespread issues, I think that these are the ones that are easily qualified as outages, right?\n\n**MP:** Mm-hmm.\n\n**Amelia:** And you definitely want to make sure that you have alerting coverage for those sorts of failure modes. And this could be in the form of black-box monitoring with probes. This is, like, a fairly reasonable approach to detecting these sorts of outages. But I think for what it sounds like you're describing is a situation where it's kind of in the gray area. Or was it clear? Was it very obviously an outage?\n\n**MP:** I don't think it was an outage because of the particular way it manifested for the user. It was just like, a certain workflow would crash on the client but succeed on the server. And then when the user went back, the effect of the completed workflow was still there on the server side, so they never saw the workflow again. Like, it was a special one-time thing. And so there were these client crashes that were just happening at some rate and we just didn't really notice them.\n\n**Amelia:** So in the aftermath of that issue, did you try to somehow formalize expectations around the workflow, like put an SLO on it, or...?\n\n**MP:** Not me specifically, but some counterparts that I was working with added some extra monitoring and alerting around that specific workflow.\n\n**Amelia:** Yeah. I mean, sometimes it's just a matter of, users use your services in unexpected ways. And so your notion of what the critical user journeys for your services are may be not really accurately reflecting the way users are using and interacting with your service. And so, I guess, kind of what this is getting at is that even if you haven't explicitly set an SLO on a certain way that a user interacts with your service— if a bunch of people are doing it and it's, like, normally working, then there is an implicit sort of expectation there. There's almost an implicit SLO, right? And I guess that these can be the ones that are issues— these implicit SLOs are the ones that can be really hard to get ahead of because you haven't explicitly defined an objective for the service with respect to that interaction.\n\n**Viv:** But I do like the thought that you can. I think it's interesting that, you know, alerting probably changes as maybe your service evolves or users evolve in terms of the ways they use things, right? This is maybe only tangentially related, but I thought of this because I think we mentioned bugs versus outages. And I guess another question is, who gets the alerts? Maybe, you know— is it always SRE? Is it the developers sometimes? And I guess, are these pages, are these tickets sometimes? And is it bad to get a lot of frequent tickets to try and catch a bunch of things, but only get, like, really important pages for outages? Or what is your opinion on all of that balance?\n\n**Amelia:** Yeah. Yeah. It's a really good point. I guess we should talk a little bit about what we mean by alerts, right? I don't think of alerts as just being pages, but I think of them as being any automation generated—so any automatic monitoring-generated notifications. It could be bugs. It could be emails. It could be pages. I don't know. It could be like a notification in an IRC or something. The delivery mechanism doesn't really matter as much. And I think that ideally, if you have a paging alert, it's really important that it be urgent and that it be actionable. So reflecting an issue that needs to be addressed quickly, and that can be addressed by the person who's responding. On the other hand, the mechanisms that my team uses the most are either paging or tickets.\n\n**MP:** I feel like email alerts are where alerts go to die.\n\n**Amelia:** [laughs] Yes. They might as well not exist, probably.\n\n**Viv:** I have gotten forwarded some email alerts before. They're... interesting.\n\n**MP:** This just turns into email filter hell.\n\n**Amelia:** Yeah, definitely. So one of the things that we've struggled with on my team is that there's sort of an interesting line between what we mean by urgency. If the dichotomy is: you either have paging alerts or you have ticketing alerts, then how do you decide what's urgent enough to be paging? And the criteria that we've used is, okay, if this alert fires on Friday evening at 5pm, will you have enough time to react and prevent it from becoming a major outage in the next 48 hours? Like, is it actually okay if it waits till Monday? So you need that 48-hour window. So urgent doesn't necessarily mean it needs to be handled this minute, but it means we cannot wait for the dev team on Monday. It may be that there's a few hours before it actually becomes a problem and maybe there's 12 hours, but if it's less than 48, then it probably should be paging because it can't wait the weekend, essentially. Did that answer your question?\n\n**Viv:** Yeah, sort of, I think. And so I guess in that scenario it would mean that maybe you'd get a ticket, and then if the circumstances were to change with whatever it is, then your team might get paged anyway, or, you know, maybe that page would never happen and you would just come back to it in 48 hours.\n\n**Amelia:** Yeah. Yeah.\n\n**Viv:** I get nervous when I get tickets sometimes because I'm always like, is this the precursor to a page? You know, does this mean that I need to be acting fast to avoid like we said, large user failures, et cetera. But I think that being in the philosophy of \"this is a ticket because of that\" is interesting and is a good point.\n\n**MP:** I feel like there's a weird class of ticket that I've encountered where it's disruptive— internally disruptive— but not an outage where it's like, you should probably deal with this as soon as you can 'cause it might make people's lives difficult, but it's not actually an outage. Users will never notice that this particular thing is broken, but you're gonna make some other people's lives difficult— I have a very specific example in my head— and failure to act increases risk later.\n\n**Amelia:** But you're still talking about, like, an automated alert, not like a—?\n\n**MP:** Yeah, yeah. But this is definitely, like, ticket-level in your bug queue.\n\n**Amelia:** Yeah. And so the question is like, what do you do with these? Like, is it appropriate that it be ticketing versus—?\n\n**MP:** Yeah, well, I know the fact is, if the justification I would use for bringing a ticket was that if I was to get one at like 7pm, that's not getting looked at until the next morning and more or less people can wait until the next morning. And it can— it could definitely wait a weekend, too, in this case, 'cause mostly it's internal workflows [that] are disrupted. It's not something that anyone's gonna really be bothered by on a Saturday or a Sunday.\n\n**Amelia:** Yeah. I think that one of the things that this brings up is that really a lot of these decisions are service-dependent. There's not, like, a good generalized answer. There are rules of thumb and sort of frameworks for thinking about what urgency is appropriate. But ultimately it really sort of depends on your service. And one of the things that can inform it to you is the, like, existing pager load. If your on-call rotation includes a whole bunch of different services and the load is very high, then it might not make sense to add these sort of preemptive, \"nothing is broken right this moment, but it will be broken in 36 hours if nobody takes any action.\" It might not make sense to add those to the pager load. Hopefully, nobody's in that situation. And probably there's some more fundamental rethinking of how to increase the service reliability to bring down the pager load so that you can catch those things earlier.\n\n**MP:** I think at this point I wanted to ask: if you could have your perfect alerting system just exist, how would you sort of structure that? What sort of a thing would that look like?\n\n**Amelia:** I think that the major difference between the current state of the world and the perfect [alerting system](https://sre.google/workbook/alerting-on-slos/) in my mind is that I would really like to see something that's more data-driven. I think that a lot of the existing approach to alerting, it often looks something like: you're a service owner, you think about what's important to your users, what their critical journeys are, you set up monitoring and alerting for those journeys, and then the alerts start to fire and you're like, \"oh, you know, this didn't indicate a real problem, this was too noisy,\" and you tune the alerts. Or you miss an outage and you say, \"oh, you know, we had monitoring, but our alerting just wasn't sufficiently sensitive to this failure mode.\" So you add an alert on that monitoring or you make the existing alerting more sensitive. Your team and every other service support team or every other SRE team is going through this exact same exercise of tuning alerts, making them more sensitive, less sensitive. Sometimes it's the same alert, you know. Sometimes it's like, \"oh, too sensitive; not sensitive enough; haven't found the sweet spot yet.\"\n\n**MP:** This all sounds painfully familiar.\n\n**Amelia:** [laughs] Yeah. The problem is that individually exploring the threshold space, you know, the parameter space for an individual alert, we're not able to make really data-driven decisions about what good alerting looks like. And we're not able to leverage other people going through the same exercise to sort of converge on good alerting. So I think ideally, you have a sort of system where you have alerting as a service and you're able to set various SLOs for your service, but beyond that, you don't really have to think about the details or tune the parameters for the alerting to make sure that you're able to uphold those SLOs. That can be handled separately by the alerting service, right? And that service will have visibility into alerting across a whole bunch of different services and, as a result, is able to leverage all of the data that you get from that sort of high-level visibility.\n\n**Viv:** So perhaps from seeing all these examples across various services of when an alert isn't sensitive enough, it would know to maybe tune it, I guess... is that odd? I don't know which direction we're thinking, but, you know, something like that.\n\n**Amelia:** That's right. And also it can learn about common failure modes, like sometimes alerts fire and it's a false positive that has to do with the way that the monitoring data is stored. It's not even related to the threshold, but it's like a blip in the monitoring in itself. Or it's, like, an issue with the monitoring repository, right??aybe there's a problem with your time series database or something. And so everybody gets a false positive alert because data got dropped. I don't know.\n\n**Viv:** I know that one.\n\n**MP:** Yeah, I know. I know I saw one where it was like a particular export server wasn't working and I'm getting pages and tickets for half of the services I support and I'm like, \"this is wrong.\"\n\n**Amelia:** Right. And so is everybody outside Google. When you have a centrally-provided alerting as a service, then that team has the resources to think about that common failure mode and make sure that the alerts that they're developing are robust to it. Versus every single team having to discover that for themselves and then tune all of the alerts or make modifications to all of the alerts that they own to make them robust to this monitoring failure mode.\n\n**Viv:** So when users would initially use alerting as a service, you mentioned that they would set up or agree on a service level objective. Would that mean that as, you know, alerting as a service adjusts, they would suggest perhaps a new SLO based on what they're actually seeing?\n\n**Amelia:** Yeah, absolutely. I think that that's another thing that makes alerting as a service particularly attractive— is that we talked a little bit earlier about implicit SLOs. We know that customers are gonna use our service like this and that we want to provide this level of experience for them. If you have alerting as a service, then you can allow users to specify— or users, in this case, is service providers— you can allow service providers to specify their objectives or not. You know, maybe they just specify their SLIs— the indicators that they know are important indicators of service health— and then the centralized alerting service monitors those indicators and knows what the usual performance is and can let you know if there are severe regressions.\n\n**MP:** That reminds me of one of the things that kind of always is sticking in the back of my mind is that worry about that alert I wrote three years ago and whether or not any of those thresholds are still meaningful. And every, like, alert you add creates more work, 'cause at some point, you have to go and make sure that alert still works.\n\n**Amelia:** Right. Right. Absolutely. I mean, assumably if they're not meaningful in the sense that they're way too tight, then someone else has come along and turned them down. But if they're not meaningful in the sense that they're too loose, then maybe you're really missing big problems with your service and you just don't know.\n\n**MP:** Yeah. I'm thinking specifically in the case of that implicit SLO and like, you launch your service and you're like, \"okay, we're gonna start at two 9s\" and you launch your service and you set up everything for two 9s and then you spend the next year working on availability improvements. And now you're running at four 9s but your alerting is still stuck at two 9s and now users have come to who expect four 9s and now your alert's not gonna fire until it's really bad.\n\n**Amelia:** And if you drop down to two 9s you're gonna have to find out about it from users, which is not fun. Right?\n\n**MP:** That's the stuff that gives me nightmares.\n\n**Viv:** It's hard. There are a lot of things to keep track of. I mean, obviously, that's why there are other automated things that help us with this. But even still, there's a lot of challenges in making sure you're up to date with everything. How far away do you think—sorry, this is kind of jumping back, but—how far away do you think we are from your ideal alerting as a service?\n\n**Amelia:** Definitely at Google, we have strong proofs of concept that this can work. We have a foothold, and I think we're moving in the right direction. We also know what doesn't work, or we have some good ideas about what doesn't work. So, for example, I think what we've seen is that generalized anomaly detection for alerting doesn't generally work. And I think part of the issue there— or maybe it could work, but what we've seen so far is that it is not very effective. And I think part of the issue there is that metrics are not created equally, right? There are important service level indicators that really tell you something about the overall service health, and then there's a whole bunch of other metrics that may be useful for monitoring that you're probably retaining somehow, but anomalies— they are likely to just lead to wild goose chases and be a distraction.\n\n**MP:** Like the inherent noise of the signal is too high for you— like for anomalies to actually be a meaningful concept is, sort of, what I'm hearing.\n\n**Amelia:** Right. Or even just the signal just doesn't matter. Like, it just doesn't tell you that much useful about your service. So I think that you'll never really get away from the need for service owners to have input about what they care about, right? Like, service owners identifying the important metrics that really reflect the health of the service. I think that we've seen that we're probably not going to be able to get away from that and also instrumenting the service with those metrics, right? Because there's just, I think, in general, not a one-size-fits-all solution to that problem.\n\n**MP:** So I think on that note, if no one has any more comments or anything, I think we should say thank you to Amelia for her time.\n\n**Amelia:** So happy to be here. Thank you for having me.\n\n**MP:** It was a pleasure.\n\n**Amelia:** Likewise.\n\n**Viv:** See you around.\n\n**Amelia:** Bye.", "znaku_textu": 22400, "slov": 4009, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:21", "sha256": "c498c746e0b32918d29b8cc46d6d17beffc2e89caf7006e310bc870aa668f992", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04", "titulek": "Google SRE - Defining SLOs and methods for slo monitoring", "h1": "Rethinking SLOs", "popis": "Explore SLO challenges and alternative methods of slo monitoring for complex large-scale systems. Learn about setting meaningful SLOs with Narayan Desai.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04"}, "headline": "Rethinking SLOs", "description": "Narayan Desai explains why SLOs can be problematic and proposes alternative methods for monitoring complex, large-scale systems.", "image": "https://kstatic.googleusercontent.com/files/628ef6b1b6ac5105a07e63320a01702fe5d72a93b1f790772c691d634779dab1b04543e6c47b167f81e35585f8b132ab50a22c14f05810e2bcf4c60c0b0a59d9", "author": [{"@type": "Person", "name": "Narayan Desai"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Rethinking SLOs"}], "markdown": "# Rethinking SLOs\n\nNarayan Desai explains why SLOs can be problematic and proposes alternative methods for monitoring complex, large-scale systems.\n\n**Viv:** Hello, and welcome to the SRE Prodcast. This is a limited series where we're discussing SRE concepts with experts around Google. I’m Viv, and I'm hosting today with MP.\n\n**MP:** Hello.\n\n**Viv:** And our guest is Narayan, who is here to talk about service level objectives (SLOs). Narayan, welcome to the Prodcast.\n\n**Narayan:** Hi, so I'm Narayan Desai. I'm what we call an Uber Tech Lead. I'm responsible for the reliability of a portfolio of products—GCP's (Google Cloud Platform's) data analytics products. I've been at Google for about five years. And prior to that, I did a lot of work in high performance computing.\n\n**Viv:** Cool stuff. Thanks for being here. So service level objectives are pretty well-known generally as a primary tool for SREs to understand their services, and we talk about it in Chapter 4 of the SRE Book, if you're not familiar with that concept. But today, I'm curious about how these concepts actually work when you're looking at something at the scale of Google— something like Google Cloud. So what are your thoughts?\n\n**Narayan:** So, I think it's been a decidedly mixed experience. So if you think about the business scenario that SLOs were designed in, Google's historical core businesses were very large, had large numbers of customers, and could only afford to approach reliability in the aggregate, right? Not necessarily targeting individual users of high scale services like Search or Gmail. And our situation in GCP is quite different, where each of our customers counts on us to provide infrastructure that they use to build their businesses, right? And so every single one of them needs to have a good experience. And so the whole construct of SLOs as basically an aggregation tool that you can use to combine all the experiences together and set a reasonable threshold of what good performance is. It gets a lot harder in the situation, right? Because all of your customers don't necessarily have the same value to the business. And also, you wanna deliver a good experience to all of them, right?\n\nAnd so these core notions, like error budgets and so forth that are built on top of SLOs, end up being kind of problematic, right? Because no one wants to be in the error budget, and it's understandable, right? They're paying money for a service that they depend on. And so I think from that perspective, it's been tricky to apply SLOs uniformly across GCP.\n\nAnd I think the other dimension that ends up being really interesting is if you think about the core Google services that everyone uses, the use cases are pretty narrow by comparison. You know, if you think about a service like GCE (Google Compute Engine), that's basically a data center in a box. There's a really large API surface, there's a large number of degrees of freedom that customers have, and then they end up building very, very, very complex workflows on top of these building blocks that we provide. And so increasingly, in addition to caring about rates of errors, we care about the performance that's delivered to customers. And I think SLOs really struggle to provide meaningful insights when you need to analyze the performance delivered by a service with a wide range of workloads that customers might request from you.\n\n**Viv:** Yeah. Makes a lot of sense. It's definitely interesting. So, what would you recommend in terms of filling this gap that SLOs have when looking at something this complex and this large?\n\n**Narayan:** So I think that it's worth considering errors and performance discretely, right? It's a lot easier to analyze errors using SLOs than it is to analyze performance using SLOs. But I think even more important than that, the first question that you need to have when you're trying to use one of these systems is: what is the outcome? What is the business outcome that you wanna produce? And how well are these tools doing the job?\n\nI think one of the interesting things about the way that SLOs have been adopted is you'll frequently see people saying that they're actually useful for everything, and you should use SLOs to solve lots of different use cases. I personally think this is pretty problematic, because there's no guarantee that multiple use cases that you try to build on top of the same SLOs will be compatible, right?\n\nAnd so the first thing that you can do when you're using a system like SLOs is you should be sort of skeptical. Try to understand if the SLOs are helpful to you meeting your business objectives or not. And the second thing that you can do is try to make these SLOs as narrow as possible so that they can be used to answer a single question well, as opposed to answering a variety of questions sort of poorly. And I'm a big believer in the need for high fidelity insights increasingly in our services, right? So that we can understand what's going on.\n\nAs a next step, it's really important that we figure out effectively what \"normal\" is in our systems. So SLOs are used as an approximation of normal, right? You know, typically the way that these are formulated is that an expert in the system will go and examine the delivery performance of the system over some historical window— the previous month, previous couple months— and then say, “Oh, well, for this API operation, usually it's some number of nines— you know, 99.99% of requests— should finish in less than 500 milliseconds.\" I think that's an approximation of normal, but that's a point-in-time approximation of normal.\n\nSo one of the ways that this can go wrong: so imagine that you have a storage system that you use, and the storage system consumes 300 of those 500 milliseconds. And like, software hopefully develops over time; imagine your source system speeds up by 30%. Now the estimate that you have normal at 500 milliseconds for 99.99% of requests is suddenly off because 99.99% of requests should actually only take 400 milliseconds now. So there's also a need for reexamining the data and trying to understand how things change over time. You can see shifts and workload, right? If customers start sending larger requests or more complex requests, that might shift the behavior that you're seeing. And so increasingly, I think that it's important that you add in a verification step as well, right?\n\nSo the three top things that I would recommend are: sort of be skeptical. Be very specific about the questions that you're trying to answer, and then validate and iterate over time to make sure that your estimates still make sense and fit the way that the system behaves. Because you don't want a de-tuned alert, or an overly aggressive alert, right? If some sort of subsystem gets slower, you wanna take that into consideration and be triggering actions at the right time.\n\n**MP:** And that calls attention to one of the biggest pain points with SLOs that I've seen in my own personal experience— is every time you add an SLO, that's another thing that you have to do maintenance on and actually make sure that your objectives are still up to date with the actual performance.\n\n**Narayan:** Yeah. Well, I think the other thing that is interesting is… so it is clear how to make SLOs that are narrowly useful to answer questions. However, like you mentioned, there needs to be a maintenance lifecycle, and I don't think that this maintenance lifecycle is very well-developed at this point. And the other big problem that you have related to that is: if you think about what happens, if you have specific SLOs to answer particular problems— is that you end up with SLO proliferation, right? You end up with more and more SLOs. So, you know, for example, we have one service internal to Google, that has— it may have grown since the last time I spoke with this particular team, but they have about a quarter million parameterized SLOs.\n\n**Viv:** Oh, no.\n\n**Narayan:** And this is one service. That's kind of hard to manage, right? And so I think that, you know, the other place that this gets very difficult is that if you have that many SLOs, you're always out of SLO. What does that mean? You know, how should you act? How do you combine those signals together into something that's meaningful? I think all of these are very complicated questions that we haven't really settled very well.\n\nThe other thing that I think is really tricky is: SLOs kind of codify what is expected, but it doesn't incorporate any model of what the service behavior should be that's flexible in any way. So you end up with these very brittle representations of what performance should look like. And so not only do you need to maintain it, but it's unclear what the cadence you need to maintain it on is, and so you never have good confidence of where you are.\n\nSo you know, you end up in the situation where you're getting more and more SLOs and they need to be modified. You don't know how often they need to be modified. And so the precision ends up being really low, because typically, the way that SLOs are deployed is that you sort of tie all of your alerting to it, and you may trigger freezes or other sorts of large-scale actions based on the state of the system with regard to these metrics. And there are a lot of incentives, you know. For example, if you're gonna page someone whenever you're out of SLO, and you have even a moderate—like, let's forget the quarter million case here for a minute—and you just have a service that has little hundreds of SLOs, you will page someone to death if you use SLOs in that way, right? And so there are a lot of reasonable incentives that cause people to make their SLOs less aggressive, as well. And so I think that really, there are a lot of very, very difficult challenges with SLOs, and we really fundamentally need to move onto a more robust framework.\n\n**MP:** While we're still in this realm, there's something I wanted to jump back to slightly. In your framing of this and the experiences with Google Cloud, a lot of that sounded like a lot of the concerns arise primarily out of the notion of: the user shifts a little bit where it's not this individual user. It's one \"user\" that is actually a whole organization behind that that's relying on the system. And it sounded a little bit like these problems might arise most in the case of a cloud provider that's indirect, like a more B2B (business-to-business) instead of B2C (business-to-customer) structure. So I'm wondering what your thoughts are in the framing around what types of business questions are you trying to answer with your SLOs? I'm wondering on what your thoughts are on how all of that applies—if that applies the same, or if it applies in a different way to those direct-to-user monoliths like Search and Gmail?\n\n**Narayan:** So I would definitely say the details are different. I definitely think that there is a really radical difference between B2C and B2B. And I think that fundamentally, what this comes down to— I think, you know, at the end of the day, the business problems that you're trying to tackle here are actually pretty similar in both cases. We all have limited reliability resources, and we need to figure out where to spend them, right? And so SLOs are a mechanism that we can use to understand where we should engage, and you know, if you think about it, on-caller resources and incident response is expensive, right? So where and when do we engage that? Well, you wanna engage that when it's needed the most. So we've tried to do that with SLOs. In some cases, that works very well; in other cases, it doesn't work so well.\n\nAnd I think that from that 50,000 foot perspective, the problems are exactly the same whether you're doing B2B or B2C. But then the specifics get to be very different. We have a wide diversity of users in GCP ranging from free tier customers that we want to give a good experience to when we can— you know, we certainly want to invest there to some extent. But then we also have larger customers that pay us more money and expect better service.\n\nAnd so a lot of the places where I think SLOs have proven problematic in that shift to B2B is that the quintessential SLO calculation is to take all the requests that you had, and count up the number of them that failed and divide that by the number of requests that there were, and that's your insight, right? In B2B, you need to start considering these questions of: what sort of weighting do you wanna use? Do you want to consider all requests the same? Do you wanna consider some requests to be more important? Do you wanna do alternative types of normalizations that might give you different insights out of the data? These things end up being different because I think B2B is fundamentally wrestling with a different set of questions.\n\n**MP:** That's great. Thank you.\n\n**Viv:** So I am curious, then—you mentioned the need for better process around maintenance for managing SLOs or I guess whatever the alternative would be. I know you also mentioned \"a more robust framework.\" So I am curious: if we're still talking about Google Cloud, B2B, what would that more robust framework look like? And you know, say you could start from scratch, right? What would the differences be? And what are we lacking that could hypothetically fix some of the things that we discussed that are problematic?\n\n**Narayan:** Sure. So we are working on exactly this, because we think that this is a big problem, or an area of need, right? I like the way that you put that question, because I think that you do actually need to start and rebuild from the ground up.\n\nSo one of the things that I think is very important is that we need reliability analytics that incorporates some notion of what the invariants we expect to exist in our system be. So for example, SLOs don't say anything deeply about reliability. SLOs say when you should worry. Like, when your rate of errors gets above this particular percentage, you should take additional actions— [that's] effectively what SLOs tell you. And instead, you know, getting down to brass tacks here for rebuilding this, the first thing that you really need to do is you need to get very serious about understanding what it is that you mean by the word reliability, right? Because at the end of the day— I think this is another difference between B2C and B2B— the customer's perception of reliability becomes even more important.\n\nAnd so you need to understand what it is that the customers mean when they say that a service is or isn't reliable. And historically, we haven't done a great job of defining that. We've ended up with these circular definitions where your service is reliable if it meets its SLOs. And a service meets its SLOs if it's reliable, right? And then you sort of pick some arbitrary sort of numerical thresholds for that, and you end up with this self-referential mess.\n\nAnd instead, I think that it's really important to start with a core definition of what it is we're talking about when we say that a service is reliable. So the definition that we've begun to use is a combination of effectively, stationarity, right? Customers expect that they continue to get the service that they got yesterday. And they expect this continuity— or stationarity, if you think about it from a statistical perspective— in three dimensions. They expect that the service will be available: that is to say, when they need it, it will be there. They send a request; you will respond and not just provide an error. They expect that these results will be correct, right? That there is some API contract for the service. And they expect that the performance will be consistent, right? If they send you an RPC, and it took roughly 300 milliseconds yesterday, it'll probably take about 300 milliseconds today.\n\nAnd what that tends to mean, you know, when you start to cast that in mathematical terms, what you're really looking for is a situation where you can make an assertion that the performance that's delivered from a service results in a stationary distribution over time, right? That's not to say that every request will be exactly 200 milliseconds, but that says that the range and distribution of performance that you get or errors that you get is sort of self consistent over time, right? You'll have good days, you'll have bad days, you'll have fast and slow requests, but the distribution will remain roughly fixed.\n\nAnd I think that this approach really gives a different way of looking through systems, or looking at the behavior of systems. Because fundamentally, if you think about— if I were giving a talk here, I would put up a slide at this point that had two performance graphs. You can imagine a graph that is relatively level with very small variance, as one example. And another graph that has lower— the trendline is low, except there's some occasional large spikes, right? And imagine that both of these graphs have the same mean. If you think about which service is easier to use and would be viewed as more reliable by a user, it's definitely that first one that has low variance, right? So, I think that one of the things that is the most important here is that we need to start taking variance more seriously as a core property of our distributed systems. So I'd start there.\n\nWe built some analytics that will do analysis of performance distributions, and we have found that these are good indicators of customer surprise, right? Like, you know, if you think about it, in this kind of infrastructure, surprise is almost always a bad thing, right? And so really, what you wanna do is you want the surprise detector. And so that's what we've been working on building. And it turns out that if you're able to break up your workload into pieces that are self-similar, then many of these behave consistently over time and you can use rates of unlikely events to spot situations where your service isn’t behaving properly, and it is not a function of customer changes to their workloads.\n\nYou know, if I had to look into the crystal ball over the next five years, SLOs in my mind really represent the simplest possible solution to producing summary statistics about the reliability of a service, but I see much more complex analytics happening over the next several years. And I think that these complex analytics are really gonna tell us a lot of very important things about our services and give us tools that we'll be able to use in order to solve problems faster and cheaper, and ideally, before customers notice them, right? Like, I think at the end of the day, we know that we'll have outages, but you want to be able to find and fix these things as quickly as you possibly can. And I think that that's the challenge in front of us. And I think it's a really exciting one.\n\n**MP:** In your definition of reliability, I'm under the impression that performance as you're using it is more or less synonymous with the user's request latency? Or response latency, I guess?\n\n**Narayan:** Depending on the service. So if you're thinking about a serving system, then yeah, roughly. So I spend most of my time thinking about analytics services, and some of those are focused as RPC response pairs. Others are much more asynchronous, right? So you may have a data flow job that runs over the course of hours or days, right? So that's not a single RPC. But really what— you know, when I'm talking about performance, there is the thing that is valuable to the customer, right? And if it's an app, Engine App, it's the response to a request. if it's BigQuery, it's the response to a query. Each service is going to have its own valuable product that delivers to customers, right? And so figuring out how to measure those and measure those at fine granularity ends up being a big part of the challenge here.\n\n**MP:** I was also going to ask that— trying to measure correctness sounds very difficult.\n\n**Narayan:** It's extraordinarily hard, yes.\n\n**MP:** In my mind, the only way to know what the response to a given request is is the system behavior itself. It's sort of definitional and it gets back to that circular logic.\n\n**Narayan:** Yeah. There are strategies that you can use in some cases, right? So check sums are an example where you can detect some failure modes, but the more complex the service, the harder that gets to be. So storage systems have a variety of really difficult engineering challenges. But one place that I really envy them is that they are largely responsible with storing literal bits, which means that you have the ability to at least understand the structure of the data and what should be coming out of particular APIs. There's other correctness difficulties that they have there, so this is by no means a panacea. But for analytics, this is very, very difficult. And so you end up going down a variety of complex tasks.\n\nOne of the wilder ideas that we aren't experimenting with but have spitballed a little bit is: there is some sort of historical precedent for multiple implementations of core logic, right? And running important things twice. You can even think about doing that with multiple releases of the code. You know, I think there's some precedent for that as well. But yeah, correctness is a fiendishly hard problem.\n\n**Viv:** I'm curious, too, because earlier, you talked about potentially weighting different priorities, especially from the user perspective. So when you're looking at something like correctness, or reliability, what users expect— users do a lot of different things. I guess the question is: with this approach of minimizing variance and such, is potentially weighting different user needs over others still in the equation? And how is that accounted for?\n\n**Narayan:** So to be really clear, my team has not been working on statistical methods in this space so much. This is just sort of speculation at this point. But it's definitely one of the things that we're going to need to tackle. So our primary work has been focused on errors and performance.\n\n**Viv:** Got it. Yeah, there are a lot of aspects to this problem. I'm already feeling in over my head.\n\n**Narayan:** I am most optimistic at this point about the insights that we'll be able to get out of performance analytics. You know, there's a weird way that you can view a broad class of error modes. And one of the things that we've observed in many of our outages is that prior to large scale mayhem, you often see performance blips, right? There are subsystems or dependencies that start to get slower. And, you know, as they start to load up and bog down, eventually you hit some critical limit where you have deadlines, and then that bad performance gets helpfully translated into an error for you, which allows you to bail out.\n\nBut what that means is that errors and performance problems are actually more synonymous than you might think. And I'm not saying that 100% of errors are performance problems, but at the root of many RPC errors that have returned, you actually have some component that is slow. And if you were to take a really maximalist view of this: what is a timed-out RPC, but an RPC that hasn't responded yet? That's sort of a performance problem.\n\nAnd so, you know, I'm really optimistic. And we have some evidence that you can see a really large percentage of your outages in the performance domain. And so I think that that's actually the most productive place to start here.\n\n**Viv:** So what is the big takeaway from all of this, and what would the path forward look like from this point, as you see it?\n\n**Narayan:** So I think the most important takeaway here is that there's a huge opportunity in doing more sophisticated analytics on our reliability data. My personal belief is that this will involve the use of models that incorporate what we expect our systems to be doing, and starting to build invariants for the behaviors that we expect them to exhibit on a consistent basis. And I think we need to start formulating more detailed questions, and trying to answer them with data— not just in the SLO formulation, but in others, as well, and see what works, right?\n\nI think that this is going to be an interesting and difficult process, where nobody has all the right answers yet. And so I think it's really important for the community to engage and then talk about what they've done and what works and what doesn't. And that's how we're all going to get better at this. Increasingly, the systems that we're building are getting more and more important, and we need them to be more and more reliable. And so, you know, I think that's an exciting challenge for the next 5 to 10 years. Computing platforms are increasingly at the center of lots of important processes, and we need them to work reliably.\n\n**Viv:** I agree. I think it's a really compelling marathon to be part of right now. So props to that, I guess.\n\n**Narayan:** Yeah, it's definitely an exciting time.\n\n**Viv:** MP, do you have any other questions before we wrap up for today?\n\n**MP:** I don't think so. I really enjoyed chatting with you today.\n\n**Narayan:** Well, thanks. This was a fun chat.\n\n**Viv:** So yeah. Thank you so much for being here. It was great to have you. And for all our listeners: tune into the SRE Prodcast next time for Episode 5, which will be on migration.\n\n**MP:** Thanks so much.", "znaku_textu": 25227, "slov": 4475, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:50:55", "sha256": "99352285234493eb7e4f1ecc9007fb6e17966e9fd66e022fdc90da89f29e4ba6", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04/", "titulek": "Google SRE - Defining SLOs and methods for slo monitoring", "h1": "Rethinking SLOs", "popis": "Explore SLO challenges and alternative methods of slo monitoring for complex large-scale systems. Learn about setting meaningful SLOs with Narayan Desai.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04"}, "headline": "Rethinking SLOs", "description": "Narayan Desai explains why SLOs can be problematic and proposes alternative methods for monitoring complex, large-scale systems.", "image": "https://kstatic.googleusercontent.com/files/628ef6b1b6ac5105a07e63320a01702fe5d72a93b1f790772c691d634779dab1b04543e6c47b167f81e35585f8b132ab50a22c14f05810e2bcf4c60c0b0a59d9", "author": [{"@type": "Person", "name": "Narayan Desai"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Rethinking SLOs"}], "markdown": "# Rethinking SLOs\n\nNarayan Desai explains why SLOs can be problematic and proposes alternative methods for monitoring complex, large-scale systems.\n\n**Viv:** Hello, and welcome to the SRE Prodcast. This is a limited series where we're discussing SRE concepts with experts around Google. I’m Viv, and I'm hosting today with MP.\n\n**MP:** Hello.\n\n**Viv:** And our guest is Narayan, who is here to talk about service level objectives (SLOs). Narayan, welcome to the Prodcast.\n\n**Narayan:** Hi, so I'm Narayan Desai. I'm what we call an Uber Tech Lead. I'm responsible for the reliability of a portfolio of products—GCP's (Google Cloud Platform's) data analytics products. I've been at Google for about five years. And prior to that, I did a lot of work in high performance computing.\n\n**Viv:** Cool stuff. Thanks for being here. So service level objectives are pretty well-known generally as a primary tool for SREs to understand their services, and we talk about it in Chapter 4 of the SRE Book, if you're not familiar with that concept. But today, I'm curious about how these concepts actually work when you're looking at something at the scale of Google— something like Google Cloud. So what are your thoughts?\n\n**Narayan:** So, I think it's been a decidedly mixed experience. So if you think about the business scenario that SLOs were designed in, Google's historical core businesses were very large, had large numbers of customers, and could only afford to approach reliability in the aggregate, right? Not necessarily targeting individual users of high scale services like Search or Gmail. And our situation in GCP is quite different, where each of our customers counts on us to provide infrastructure that they use to build their businesses, right? And so every single one of them needs to have a good experience. And so the whole construct of SLOs as basically an aggregation tool that you can use to combine all the experiences together and set a reasonable threshold of what good performance is. It gets a lot harder in the situation, right? Because all of your customers don't necessarily have the same value to the business. And also, you wanna deliver a good experience to all of them, right?\n\nAnd so these core notions, like error budgets and so forth that are built on top of SLOs, end up being kind of problematic, right? Because no one wants to be in the error budget, and it's understandable, right? They're paying money for a service that they depend on. And so I think from that perspective, it's been tricky to apply SLOs uniformly across GCP.\n\nAnd I think the other dimension that ends up being really interesting is if you think about the core Google services that everyone uses, the use cases are pretty narrow by comparison. You know, if you think about a service like GCE (Google Compute Engine), that's basically a data center in a box. There's a really large API surface, there's a large number of degrees of freedom that customers have, and then they end up building very, very, very complex workflows on top of these building blocks that we provide. And so increasingly, in addition to caring about rates of errors, we care about the performance that's delivered to customers. And I think SLOs really struggle to provide meaningful insights when you need to analyze the performance delivered by a service with a wide range of workloads that customers might request from you.\n\n**Viv:** Yeah. Makes a lot of sense. It's definitely interesting. So, what would you recommend in terms of filling this gap that SLOs have when looking at something this complex and this large?\n\n**Narayan:** So I think that it's worth considering errors and performance discretely, right? It's a lot easier to analyze errors using SLOs than it is to analyze performance using SLOs. But I think even more important than that, the first question that you need to have when you're trying to use one of these systems is: what is the outcome? What is the business outcome that you wanna produce? And how well are these tools doing the job?\n\nI think one of the interesting things about the way that SLOs have been adopted is you'll frequently see people saying that they're actually useful for everything, and you should use SLOs to solve lots of different use cases. I personally think this is pretty problematic, because there's no guarantee that multiple use cases that you try to build on top of the same SLOs will be compatible, right?\n\nAnd so the first thing that you can do when you're using a system like SLOs is you should be sort of skeptical. Try to understand if the SLOs are helpful to you meeting your business objectives or not. And the second thing that you can do is try to make these SLOs as narrow as possible so that they can be used to answer a single question well, as opposed to answering a variety of questions sort of poorly. And I'm a big believer in the need for high fidelity insights increasingly in our services, right? So that we can understand what's going on.\n\nAs a next step, it's really important that we figure out effectively what \"normal\" is in our systems. So SLOs are used as an approximation of normal, right? You know, typically the way that these are formulated is that an expert in the system will go and examine the delivery performance of the system over some historical window— the previous month, previous couple months— and then say, “Oh, well, for this API operation, usually it's some number of nines— you know, 99.99% of requests— should finish in less than 500 milliseconds.\" I think that's an approximation of normal, but that's a point-in-time approximation of normal.\n\nSo one of the ways that this can go wrong: so imagine that you have a storage system that you use, and the storage system consumes 300 of those 500 milliseconds. And like, software hopefully develops over time; imagine your source system speeds up by 30%. Now the estimate that you have normal at 500 milliseconds for 99.99% of requests is suddenly off because 99.99% of requests should actually only take 400 milliseconds now. So there's also a need for reexamining the data and trying to understand how things change over time. You can see shifts and workload, right? If customers start sending larger requests or more complex requests, that might shift the behavior that you're seeing. And so increasingly, I think that it's important that you add in a verification step as well, right?\n\nSo the three top things that I would recommend are: sort of be skeptical. Be very specific about the questions that you're trying to answer, and then validate and iterate over time to make sure that your estimates still make sense and fit the way that the system behaves. Because you don't want a de-tuned alert, or an overly aggressive alert, right? If some sort of subsystem gets slower, you wanna take that into consideration and be triggering actions at the right time.\n\n**MP:** And that calls attention to one of the biggest pain points with SLOs that I've seen in my own personal experience— is every time you add an SLO, that's another thing that you have to do maintenance on and actually make sure that your objectives are still up to date with the actual performance.\n\n**Narayan:** Yeah. Well, I think the other thing that is interesting is… so it is clear how to make SLOs that are narrowly useful to answer questions. However, like you mentioned, there needs to be a maintenance lifecycle, and I don't think that this maintenance lifecycle is very well-developed at this point. And the other big problem that you have related to that is: if you think about what happens, if you have specific SLOs to answer particular problems— is that you end up with SLO proliferation, right? You end up with more and more SLOs. So, you know, for example, we have one service internal to Google, that has— it may have grown since the last time I spoke with this particular team, but they have about a quarter million parameterized SLOs.\n\n**Viv:** Oh, no.\n\n**Narayan:** And this is one service. That's kind of hard to manage, right? And so I think that, you know, the other place that this gets very difficult is that if you have that many SLOs, you're always out of SLO. What does that mean? You know, how should you act? How do you combine those signals together into something that's meaningful? I think all of these are very complicated questions that we haven't really settled very well.\n\nThe other thing that I think is really tricky is: SLOs kind of codify what is expected, but it doesn't incorporate any model of what the service behavior should be that's flexible in any way. So you end up with these very brittle representations of what performance should look like. And so not only do you need to maintain it, but it's unclear what the cadence you need to maintain it on is, and so you never have good confidence of where you are.\n\nSo you know, you end up in the situation where you're getting more and more SLOs and they need to be modified. You don't know how often they need to be modified. And so the precision ends up being really low, because typically, the way that SLOs are deployed is that you sort of tie all of your alerting to it, and you may trigger freezes or other sorts of large-scale actions based on the state of the system with regard to these metrics. And there are a lot of incentives, you know. For example, if you're gonna page someone whenever you're out of SLO, and you have even a moderate—like, let's forget the quarter million case here for a minute—and you just have a service that has little hundreds of SLOs, you will page someone to death if you use SLOs in that way, right? And so there are a lot of reasonable incentives that cause people to make their SLOs less aggressive, as well. And so I think that really, there are a lot of very, very difficult challenges with SLOs, and we really fundamentally need to move onto a more robust framework.\n\n**MP:** While we're still in this realm, there's something I wanted to jump back to slightly. In your framing of this and the experiences with Google Cloud, a lot of that sounded like a lot of the concerns arise primarily out of the notion of: the user shifts a little bit where it's not this individual user. It's one \"user\" that is actually a whole organization behind that that's relying on the system. And it sounded a little bit like these problems might arise most in the case of a cloud provider that's indirect, like a more B2B (business-to-business) instead of B2C (business-to-customer) structure. So I'm wondering what your thoughts are in the framing around what types of business questions are you trying to answer with your SLOs? I'm wondering on what your thoughts are on how all of that applies—if that applies the same, or if it applies in a different way to those direct-to-user monoliths like Search and Gmail?\n\n**Narayan:** So I would definitely say the details are different. I definitely think that there is a really radical difference between B2C and B2B. And I think that fundamentally, what this comes down to— I think, you know, at the end of the day, the business problems that you're trying to tackle here are actually pretty similar in both cases. We all have limited reliability resources, and we need to figure out where to spend them, right? And so SLOs are a mechanism that we can use to understand where we should engage, and you know, if you think about it, on-caller resources and incident response is expensive, right? So where and when do we engage that? Well, you wanna engage that when it's needed the most. So we've tried to do that with SLOs. In some cases, that works very well; in other cases, it doesn't work so well.\n\nAnd I think that from that 50,000 foot perspective, the problems are exactly the same whether you're doing B2B or B2C. But then the specifics get to be very different. We have a wide diversity of users in GCP ranging from free tier customers that we want to give a good experience to when we can— you know, we certainly want to invest there to some extent. But then we also have larger customers that pay us more money and expect better service.\n\nAnd so a lot of the places where I think SLOs have proven problematic in that shift to B2B is that the quintessential SLO calculation is to take all the requests that you had, and count up the number of them that failed and divide that by the number of requests that there were, and that's your insight, right? In B2B, you need to start considering these questions of: what sort of weighting do you wanna use? Do you want to consider all requests the same? Do you wanna consider some requests to be more important? Do you wanna do alternative types of normalizations that might give you different insights out of the data? These things end up being different because I think B2B is fundamentally wrestling with a different set of questions.\n\n**MP:** That's great. Thank you.\n\n**Viv:** So I am curious, then—you mentioned the need for better process around maintenance for managing SLOs or I guess whatever the alternative would be. I know you also mentioned \"a more robust framework.\" So I am curious: if we're still talking about Google Cloud, B2B, what would that more robust framework look like? And you know, say you could start from scratch, right? What would the differences be? And what are we lacking that could hypothetically fix some of the things that we discussed that are problematic?\n\n**Narayan:** Sure. So we are working on exactly this, because we think that this is a big problem, or an area of need, right? I like the way that you put that question, because I think that you do actually need to start and rebuild from the ground up.\n\nSo one of the things that I think is very important is that we need reliability analytics that incorporates some notion of what the invariants we expect to exist in our system be. So for example, SLOs don't say anything deeply about reliability. SLOs say when you should worry. Like, when your rate of errors gets above this particular percentage, you should take additional actions— [that's] effectively what SLOs tell you. And instead, you know, getting down to brass tacks here for rebuilding this, the first thing that you really need to do is you need to get very serious about understanding what it is that you mean by the word reliability, right? Because at the end of the day— I think this is another difference between B2C and B2B— the customer's perception of reliability becomes even more important.\n\nAnd so you need to understand what it is that the customers mean when they say that a service is or isn't reliable. And historically, we haven't done a great job of defining that. We've ended up with these circular definitions where your service is reliable if it meets its SLOs. And a service meets its SLOs if it's reliable, right? And then you sort of pick some arbitrary sort of numerical thresholds for that, and you end up with this self-referential mess.\n\nAnd instead, I think that it's really important to start with a core definition of what it is we're talking about when we say that a service is reliable. So the definition that we've begun to use is a combination of effectively, stationarity, right? Customers expect that they continue to get the service that they got yesterday. And they expect this continuity— or stationarity, if you think about it from a statistical perspective— in three dimensions. They expect that the service will be available: that is to say, when they need it, it will be there. They send a request; you will respond and not just provide an error. They expect that these results will be correct, right? That there is some API contract for the service. And they expect that the performance will be consistent, right? If they send you an RPC, and it took roughly 300 milliseconds yesterday, it'll probably take about 300 milliseconds today.\n\nAnd what that tends to mean, you know, when you start to cast that in mathematical terms, what you're really looking for is a situation where you can make an assertion that the performance that's delivered from a service results in a stationary distribution over time, right? That's not to say that every request will be exactly 200 milliseconds, but that says that the range and distribution of performance that you get or errors that you get is sort of self consistent over time, right? You'll have good days, you'll have bad days, you'll have fast and slow requests, but the distribution will remain roughly fixed.\n\nAnd I think that this approach really gives a different way of looking through systems, or looking at the behavior of systems. Because fundamentally, if you think about— if I were giving a talk here, I would put up a slide at this point that had two performance graphs. You can imagine a graph that is relatively level with very small variance, as one example. And another graph that has lower— the trendline is low, except there's some occasional large spikes, right? And imagine that both of these graphs have the same mean. If you think about which service is easier to use and would be viewed as more reliable by a user, it's definitely that first one that has low variance, right? So, I think that one of the things that is the most important here is that we need to start taking variance more seriously as a core property of our distributed systems. So I'd start there.\n\nWe built some analytics that will do analysis of performance distributions, and we have found that these are good indicators of customer surprise, right? Like, you know, if you think about it, in this kind of infrastructure, surprise is almost always a bad thing, right? And so really, what you wanna do is you want the surprise detector. And so that's what we've been working on building. And it turns out that if you're able to break up your workload into pieces that are self-similar, then many of these behave consistently over time and you can use rates of unlikely events to spot situations where your service isn’t behaving properly, and it is not a function of customer changes to their workloads.\n\nYou know, if I had to look into the crystal ball over the next five years, SLOs in my mind really represent the simplest possible solution to producing summary statistics about the reliability of a service, but I see much more complex analytics happening over the next several years. And I think that these complex analytics are really gonna tell us a lot of very important things about our services and give us tools that we'll be able to use in order to solve problems faster and cheaper, and ideally, before customers notice them, right? Like, I think at the end of the day, we know that we'll have outages, but you want to be able to find and fix these things as quickly as you possibly can. And I think that that's the challenge in front of us. And I think it's a really exciting one.\n\n**MP:** In your definition of reliability, I'm under the impression that performance as you're using it is more or less synonymous with the user's request latency? Or response latency, I guess?\n\n**Narayan:** Depending on the service. So if you're thinking about a serving system, then yeah, roughly. So I spend most of my time thinking about analytics services, and some of those are focused as RPC response pairs. Others are much more asynchronous, right? So you may have a data flow job that runs over the course of hours or days, right? So that's not a single RPC. But really what— you know, when I'm talking about performance, there is the thing that is valuable to the customer, right? And if it's an app, Engine App, it's the response to a request. if it's BigQuery, it's the response to a query. Each service is going to have its own valuable product that delivers to customers, right? And so figuring out how to measure those and measure those at fine granularity ends up being a big part of the challenge here.\n\n**MP:** I was also going to ask that— trying to measure correctness sounds very difficult.\n\n**Narayan:** It's extraordinarily hard, yes.\n\n**MP:** In my mind, the only way to know what the response to a given request is is the system behavior itself. It's sort of definitional and it gets back to that circular logic.\n\n**Narayan:** Yeah. There are strategies that you can use in some cases, right? So check sums are an example where you can detect some failure modes, but the more complex the service, the harder that gets to be. So storage systems have a variety of really difficult engineering challenges. But one place that I really envy them is that they are largely responsible with storing literal bits, which means that you have the ability to at least understand the structure of the data and what should be coming out of particular APIs. There's other correctness difficulties that they have there, so this is by no means a panacea. But for analytics, this is very, very difficult. And so you end up going down a variety of complex tasks.\n\nOne of the wilder ideas that we aren't experimenting with but have spitballed a little bit is: there is some sort of historical precedent for multiple implementations of core logic, right? And running important things twice. You can even think about doing that with multiple releases of the code. You know, I think there's some precedent for that as well. But yeah, correctness is a fiendishly hard problem.\n\n**Viv:** I'm curious, too, because earlier, you talked about potentially weighting different priorities, especially from the user perspective. So when you're looking at something like correctness, or reliability, what users expect— users do a lot of different things. I guess the question is: with this approach of minimizing variance and such, is potentially weighting different user needs over others still in the equation? And how is that accounted for?\n\n**Narayan:** So to be really clear, my team has not been working on statistical methods in this space so much. This is just sort of speculation at this point. But it's definitely one of the things that we're going to need to tackle. So our primary work has been focused on errors and performance.\n\n**Viv:** Got it. Yeah, there are a lot of aspects to this problem. I'm already feeling in over my head.\n\n**Narayan:** I am most optimistic at this point about the insights that we'll be able to get out of performance analytics. You know, there's a weird way that you can view a broad class of error modes. And one of the things that we've observed in many of our outages is that prior to large scale mayhem, you often see performance blips, right? There are subsystems or dependencies that start to get slower. And, you know, as they start to load up and bog down, eventually you hit some critical limit where you have deadlines, and then that bad performance gets helpfully translated into an error for you, which allows you to bail out.\n\nBut what that means is that errors and performance problems are actually more synonymous than you might think. And I'm not saying that 100% of errors are performance problems, but at the root of many RPC errors that have returned, you actually have some component that is slow. And if you were to take a really maximalist view of this: what is a timed-out RPC, but an RPC that hasn't responded yet? That's sort of a performance problem.\n\nAnd so, you know, I'm really optimistic. And we have some evidence that you can see a really large percentage of your outages in the performance domain. And so I think that that's actually the most productive place to start here.\n\n**Viv:** So what is the big takeaway from all of this, and what would the path forward look like from this point, as you see it?\n\n**Narayan:** So I think the most important takeaway here is that there's a huge opportunity in doing more sophisticated analytics on our reliability data. My personal belief is that this will involve the use of models that incorporate what we expect our systems to be doing, and starting to build invariants for the behaviors that we expect them to exhibit on a consistent basis. And I think we need to start formulating more detailed questions, and trying to answer them with data— not just in the SLO formulation, but in others, as well, and see what works, right?\n\nI think that this is going to be an interesting and difficult process, where nobody has all the right answers yet. And so I think it's really important for the community to engage and then talk about what they've done and what works and what doesn't. And that's how we're all going to get better at this. Increasingly, the systems that we're building are getting more and more important, and we need them to be more and more reliable. And so, you know, I think that's an exciting challenge for the next 5 to 10 years. Computing platforms are increasingly at the center of lots of important processes, and we need them to work reliably.\n\n**Viv:** I agree. I think it's a really compelling marathon to be part of right now. So props to that, I guess.\n\n**Narayan:** Yeah, it's definitely an exciting time.\n\n**Viv:** MP, do you have any other questions before we wrap up for today?\n\n**MP:** I don't think so. I really enjoyed chatting with you today.\n\n**Narayan:** Well, thanks. This was a fun chat.\n\n**Viv:** So yeah. Thank you so much for being here. It was great to have you. And for all our listeners: tune into the SRE Prodcast next time for Episode 5, which will be on migration.\n\n**MP:** Thanks so much.", "znaku_textu": 25227, "slov": 4475, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:22", "sha256": "99352285234493eb7e4f1ecc9007fb6e17966e9fd66e022fdc90da89f29e4ba6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05", "titulek": "Google SRE - Maintaining client transparency while migration", "h1": "Client-Transparent Migrations", "popis": "Client centric API migrations, prioritize transparency and minimize disruption. Learn how to approach large-scale migrations with Pavan Adharapurapu.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05"}, "headline": "Client-Transparent Migrations", "description": "Pavan Adharapurapu details how to approach large-scale migrations while optimizing for user experience.", "image": "https://kstatic.googleusercontent.com/files/ff5b20afeb4d1e0d1c903a82e8e13514e735c1d97bae554e3e4d8f7b3f3ae918e6d376355bd194a50f72c39442de41a2fc82431017fa78b5c05ad192fa1e652e", "author": [{"@type": "Person", "name": "Pavan Adharapurapu"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Client-Transparent Migrations"}], "markdown": "# Client-Transparent Migrations\n\nPavan Adharapurapu details how to approach large-scale migrations while optimizing for user experience.\n\n**MP:** Hello and welcome to the Google SRE podcast, or as we affectionately like to call it, the Prodcast. I am your host for today, MP, and along with me is Viv.\n\n**Viv:** Hi! Happy Episode 5.\n\n**MP:** And with us today is Pavan. Pavan, why don't you go ahead and introduce yourself?\n\n**Pavan:** Thanks, MP and Viv. I'm so excited to be on this podcast. Hello, to all the listeners. My name is Pavan Adharapurapu, and I'm a software engineering tech lead and manager in the API platform group here at Google, where I've been working for the past 9+ years. The API platform where I work is part of the backend that processes Google web API calls, or REST API calls. When you use, say, the Google Calendar app on your mobile phone, or create a YouTube playlist on your browser, or upload a Google photo, they all result in API calls to application servers running in Google Cloud.\n\nThe API platform is a layer of those application servers and provides functionality that is common to all Google web APIs, such as authentication, rate limiting, data translation between JSON and internal protocol buffers, building telemetry, and so on. In the recent past, I led a successful multi-year migration project that moved hundreds of Google web APIs to a newer and better API platform. Most importantly, this was done in an invisible manner to the millions of applications and users that consume these APIs. As part of this project, I learned a lot about the challenges involved, common solution approaches, and most importantly, the mindset one needs to have for performing complex backend migrations.\n\n**MP:** Yeah, so that's a problem that comes up in a lot of different forms for both SRE and developers: that we want to change something really significant about our system, but we don't actually want customers or users to notice anything has changed. We want it to be transparent to clients. What does \"client-transparent\" really mean? Does it just come down to byte-for-byte identical responses between an old service and a new service, or is there more to it?\n\n**Pavan:** Yes, client transparency, as you mentioned, is definitely in walls matching responses, but it is not the same as matching responses. It's more than that. So first, let's define client transparency. Client transparency is a property of a migration that comes about by the source and target system behaving the same way for all user-observable aspects, for all the existing traffic. These qualifiers are important. We don't care if two systems do not match in behavior for non-user-observable aspects, or for requests that are not part of the current production traffic set.\n\nSo what are the user-observable aspects? Having a compatible response for every existing request is definitely one of the aspects, but there are two other aspects that make up client transparency: namely, compatible state changes and comparable latency.\n\n**MP:** Can you talk more about state change and how that plays into this? What does that really mean?\n\n**Pavan:** Sure. Yeah. So the compatible state change property requires that the state change affected by the new system must match the old system for a given request. For example, one could imagine two systems that both reject and update requests if it has invalid credentials. Further assume that the errors returned by both systems are exactly the same. So we have matching responses, but still the migration between these two systems could be not client-transparent. For example, suppose the first system mutates the resource before authenticating the request, while, say, the second one authenticates it after mutation. Then even though both the responses are the same, the final state— the final state of the resource— differs between the two systems. This is a contrived example, but you get the idea why state change should match between the two systems.\n\nOne other thing is that the state— when we talk about the state, it is all pieces of the state that is accessible to the user. So that certainly includes the underlying resource state. Every service has an underlying resource that it manages, but it also includes other parts of the state— like billing state, rate limiting state, telemetry state— because these are all accessible to the users. For example, billing state is accessible when the user gets an invoice at the end of the month. The telemetry state is visible through charts and dashboards and Google Cloud Console. So we need to ensure that all of the state is updated compatibly between both the systems.\n\nThe last component that I mentioned that makes up client transparency is latency. It has to be comparable because a significantly deteriorated latency for the new system will definitely be noticeable by the user, and you couldn't really call it client-transparent migration.\n\n**Viv:** Okay, so you've mentioned three components here. Are these the top three components, or is this all we need to consider? And how do we know that that is the appropriate amount to consider for client transparency?\n\n**Pavan:** Great question, Viv. Indeed, how do we know that these three components that I mentioned— namely, compatible responses, compatible state changes, and comparable latency— are not only necessary, but also sufficient conditions for client transparency? Well, that follows from the fact that every real world software can be modeled as a finite state machine with non-zero propagation delay. For a given input, the only things that can be measured for such a finite state machine are the output, the state transition, and propagation delay. And therefore it's enough for us to just make sure that these three components are matching between the two systems and client transparency follows from that.\n\n**Viv:** Interesting. Makes sense. Although I am sure it is much easier said than done.\n\n**Pavan:** Mm-hmm (positive). Indeed.\n\n**MP:** It all comes back to modeling things as finite state machines.\n\n**Pavan:** Indeed.\n\n**MP:** So one thing I'm curious about: I think it's a fairly well-known phenomenon that when you have a large enough API with enough possible ways to use it, someone somewhere is going to start using your API in an unsupported or undocumented way. How are those sorts of things handled when trying to do client-transparent migrations?\n\n**Pavan:** You touch upon the main reason for complexity in migrations, MP. Indeed, a system with a wide surface area and with a large and diverse usage will have some clients depending on implementation traits of the system. There is even a name for this. It's called the Hyrum's Law. It's shortened as, \"the implementation is the interface for large systems.\" It is important to point out that client transparency requires sequencing of behavior not just for documented features, but also for accidental features, implementation idiosyncrasies, and bugs as well. Since, as the Hyrum's Law says, there will be users who would inadvertently come to depend upon them.\n\n**MP:** There's always someone where the saying \"that's not a bug, it's a feature\" is actually true for that user.\n\n**Pavan:** Yes, it is. Yeah.\n\n**Viv:** So is that a small percentage of users? I guess I'm curious: when you're accounting for the entire set of people who use your service, if you are trying to do this client-transparent migration, are these bugs and idiosyncrasies just for a few people? How do we decide that that matters and that we want to account for all of that since I know all this can be very expensive and already pretty complex?\n\n**Pavan:** Yeah, so how many users depend on these non-main line features? It is really a statistical property of your system and usage. During our client-transparent migrations we noticed that a majority of the users indeed use the system as intended— as designed for the mainline scenarios. However, there is a non-trivial portion of the users who depend on these other behaviors of the system: the ones that are not designed intentionally, but are just properties of the underlying tech stack or some bugs. And the interesting thing is that we see that different users use different— depend on different bugs and different accidental behavior, so it's kind of spread out. And that's the property we see for many other migrations, as well.\n\nThe important thing is that those users have to be cared for. You cannot just ignore those use cases just because they're a small percentage of it, because what is an off-label usage of your system can be the basis of a mission-critical workflow for that user. So when it comes to client-transparent migrations, the behavior of the current system is always correct. That's what you assume. It's the spec, and that's what you have to ensure is carried over to the new system, as well.\n\n**Viv:** Makes sense. I like it. It's like no user left behind.\n\n**MP:** Well, I'm wondering, is that an absolute? Like, if you had one user customer that was relying on some sort of idiosyncrasy and porting that functionality over to the new system... and hypothetically introduced a massive complexity increase? You had confidence that they were the only one doing it. Would you ever consider asking the customer to change what they're doing so that it doesn't have this kind of ripple effect? Is there a balancing act there?\n\n**Pavan:** That's a great question, MP. So, indeed, when we say that client transparency is an extremely important criteria, is it absolute? Like, is it a 100.00%, or are there cases where, you know, we could make the case for reaching out to the customer and politely requesting them to change their code to not depend on some undocumented feature or a bug in the system?\n\nSo first thing is that there should be an extremely high barrier for doing that. Why do we have that? It's because making even small changes to production applications can be a huge cost for the customers, and if the customer uses a service through mobile apps/smart TV apps, then they may not even be in control of the update life cycle. It would be the end user.\n\nAnd another important point is that customer applications which have been running for a long time in the field are generally part of very important workflows for the application users. So making even small changes requires a lot of testing to ensure that these important use cases are not broken. So the barrier should be extremely high, but if in the extreme case as you mentioned, MP, where it's just one user and where creating client transparency causes a huge amount of complexity on the service side in the new system, then maybe you could make a case for reaching out to the customer. You know, giving them enough time, providing enough documentation to make the change that you think would be necessary to not port that buggy behavior or accidental behavior into the new system.\n\n**MP:** So it sounds like it is that usual complexity trade-off, that it's either going to be complexity somewhere inside of the new service, or it's going to be that complexity would get pushed back off to the customer, and there needs to be a really substantial difference in— like in my head, I'm sort of saying it needs to be orders of magnitude easier for the customer to make the change than for the migration to be transparent for that use case, is sort of what I'm thinking in my head.\n\n**Pavan:** Yes, exactly. It's almost like you have to have this mindset that you will never burden the customer, and the exception has to be so clear that it proves that rule.\n\n**MP:** What are some of the other difficulties? What are some of the other things you have to look out for when you are trying to ensure you have a client-transparent backend migration?\n\n**Pavan:** Yeah, so there are four major challenges we found during our migrations. The first one is knowing the complete set of disparities between the two systems. Generally, it's not too difficult to figure out the major disparities at the well-known feature set level. For example, one system could support a particular type of authentication, whereas the other system doesn't. It's pretty easy to find that out, but it's much harder to do so for bugs and implementation traits.\n\nThe second challenge is testing two systems for parity. How do we prove that the migration between two systems is going to be client-transparent? The regular unit and integration testing cannot cover all the bugs and accidental features of the system.\n\nThe third challenge we found was that it is hard to know when you broke the customer, because not all compatibility issues can be detected server-side. Let's say the new system adds some innocuous white space, which is allowed by many specs. For example, JSON allows white space, and let's say a not-so-well-written customer application stops working because of it. Without client-side telemetry, which is generally not available for a public service with diverse clients, you cannot know that you broke this client at the server side. And this is one of the core challenges of ensuring client-transparent backend migration.\n\nAnd the final challenge, which we touched upon, is that we could end up bloating the new system with parity fixes— especially the old system idiosyncrasies— and this could reduce the maintainability of the new system for all users, current and new.\n\n**MP:** None of those challenges sound very easily surmountable. It sounds like a lot of the, \"it's really hard to know what you don't know.\"\n\n**Pavan:** Indeed. Yeah. Unknown and knowns. Right.\n\n**MP:** Is there a methodology for these migrations that we can take kind of generally to help make sure we meet all of those challenges?\n\n**Pavan:** Yes, definitely. There is an engineering approach you could use to get control over the disparities between two systems and true client transparency. But before I go there, before I outline the approach that we used successfully, let me take a step back and discuss how we should [approach a complex migration](https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/) in the first place. The first thing to do is to avoid a large-scale complex migration in the first place if possible. We should only—yes, it's a...\n\n**Viv:** Don't do it!\n\n**Pavan:** —it's a surprising thing to say, but I think this is very important. We should only attempt one if the long term benefits to users and not just a service owner significantly outweigh the cost to the user. Migrations are fertile grounds for all sorts of compatibility issues. It's not to be undertaken lightly. One must do cost benefit calculations, get it reviewed, signed off by, you know, your team and leadership chain.\n\nNow, once you decide to migrate, embrace the risk. Do not second guess. Next, approach migrations with a spirit of constructive pessimism. We hope for the best, but we always plan for the worst. Then, before you start migration, you should ensure to prevent any backsliding from happening. That is, make sure no new usage is allowed on the old system— otherwise, it would be like pumping water out of a pool that is being simultaneously filled by water. Not the most efficient way to migrate. Next, aim and plan for client transparency as an overarching constraint for the migration. Anything you do as part of the migration should be invisible to the user, and this cannot be emphasized more. Finally, have a plan be ready in case the migration becomes intractable or fails. There's no point in continuing with the migration that has caused a lot of issues to the users. It's better to just switch over to another plan that continues to serve the users without causing any more issues.\n\n**MP:** The last one there sounds like it's trying to warn about the sunk cost fallacy a little bit?\n\n**Pavan:** Indeed. It is immaterial that you spent a lot of effort, a lot of hard work, in taking the migration up to a certain point. That cost is meaningless if in going further you're going to inconvenience your users even more, right? So you should be careful of the sunk cost fallacy, as you said. What matters is from this point onwards, what is good for your users, for your customers? You always have to follow that path.\n\n**Viv:** So perhaps just a note to continually evaluate whether or not what you're doing is in the best interest of users as you proceed.\n\n**Pavan:** Indeed. Yes.\n\n**MP:** So now, once you've decided to move forward with the migration, how do we try to guarantee— especially when we're putting client transparency as one of our overarching requirements for the success of the migration— what's the strategy there?\n\n**Pavan:** Yes, so the strategy has the following broad steps. To ensure client transparency in your migrations, first of all, we need to enumerate all elements of the user-observable state. As we mentioned before, it could include more than just the resource state. It could include things like billing state, telemetry, et cetera. It is important that we identify all user-observable state because if you don't know what can start behaving differently, you cannot track it or prevent it from going bad.\n\n**MP:** What about just, like, server logs? Do those count as state?\n\n**Pavan:** Server logs count as state only if they are exposed to the user in some fashion. If some pipeline consumes those logs to generate some reporting that is exposed to the user, then yes. It is part of the user-observable state, and you have to make sure that it's updated consistently between the old system as well as the new system.\n\n**Viv:** That sounds really hard.\n\n**MP:** Yeah. Like, would this go all the way down to error messages?\n\n**Pavan:** Well, it's the same thing again. Does the user see the error message in one form or the other? If the error messages are just used for internal debugging by the service developers, then no— you don't have to care about it. But if it is— let's say you scrub those error messages, filter them, and maybe you display it in some console and the customer uses it regularly for doing something important, then guess what? It fits the definition of user-observable state, and you have to make sure that it's in the similar format and similar structure as the old system.\n\nThis, I believe, is a critical prerequisite for client transparency. It's as simple as saying if you don't know what can break the user, then you can never guarantee client transparency. If you only focus on the most important state like the resource state in the database— if that's all you care about, that's all you focus on— then you would be surprised by customer tickets that says, \"Hey, my dashboards are behaving funkily\", or \"my billing is off,\" or \"my requests are getting throttled much more aggressively than before what's happening.\" Right? So you will eventually discover all the user-observable state one way or the other. It's better that you sit down and then you enumerate it as part of your migration planning.\n\nSo let's say you enumerated all the user-observable states. The second thing you do is you quantify the disparity between both the systems. This is the hardest part of ensuring client transparency. We need to quantify compatibility issues between the two systems. If you cannot measure it, you cannot control it. The only practical way that I know of doing it is through what we call as production traffic replay, or sometimes also known as \"dark launch.\" This is where production traffic to the old system is simultaneously run through the new system, and the responses and state changes are compared between both the systems. And I'm happy to go into more detail later on it.\n\nAnd moving on with the different steps for ensuring client transparency, the next thing we do is that we limit blast radius of potential compatibility issues during traffic cutover. Regardless of how much effort you put in, it's hard to guarantee that two systems are 100% compatible. There are always unknown and knowns, and so we have to ensure that any damage they do is limited, and we generally do it through a gradual rollout strategy.\n\nThe next step is detecting incompatibility issues during cutover. So for this we use monitoring for issues that can be detectors server-side, such as errors that happen only on the new system. For issues that cannot be tracked server-side— remember we discussed that not everything, not all compatibility issues, can be detected at the server side— we closely monitor all customer support channels for tickets or complaints from the customers. Once again, we should never, ever depend on the customer for identifying incompatibilities, and we track customer channels only as a precaution and only for learning about unknown and knowns. And when we do detect issues, we need to mitigate, and that we do through a fast rollback to previous state or by moving all traffic to the original system.\n\nFinally, we need to correct any issues detected during rollout, and as part of that, do a postmortem, review the overall migration plan to see how this was missed, and if everything looks good, proceed.\n\n**MP:** A lot of this sounds like fairly standard SRE philosophy in terms of limiting blast radius to being able to detect problems, mitigating problems, doing appropriate postmortem review after the fact. So, like, the two things that really stick out are this state enumeration and this production— this dark launch thing. And we've talked about the state enumeration a fair bit. We've talked about how that's actually very core to the idea of client transparency.\n\nI'm curious more about this production traffic replay, and I can imagine a lot of ways that that is not— it's not just as simple as sending requests to the new service. I have a suspicion that since we've been talking about state, I have a feeling that state changes are going to be kind of complicated once you get— like, if you don't have idempotent service, replaying traffic is not always gonna be a good thing to do.\n\n**Pavan:** Yeah, that's a great point. Yeah, MP, yes, that is definitely a key engineering consideration in any production traffic replay system. Before I go into it, let me quickly touch upon why we need a production traffic replay system that takes the production traffic and replays it through the new system that you're trying to migrate to. So we already mentioned that large systems, they have a lot of accidental behavior. So you cannot prove the client transparency property by analyzing the system in vacuum, right? You cannot just go through the source code of the system. It could be too huge, or even if you could go, it's very hard to prove that they have a compatible behavior. So the only way to do it is to actually run the existing production traffic to the old system on the new system, and actually check that their responses, state changes, and latency match.\n\nThe basic idea is this. We continuously sample production traffic to the old system. We capture the user request, the response from the old system, and the state change from the old system. We then later replay the same user requests through the new system, and once again capture the response and state change from the new system and compare them. If there are no diffs, then it's safe to migrate between the two systems. When there are no diffs for all of the production traffic, right? But if there are any diffs, we treat the new system until the diffs disappear regarding that state. So we should ensure that no state change happens due to replay traffic. It's very important. So how do we compare the state changes between the old system and the new system while ensuring that no state actually changes by the replay traffic? That goes into one of the important engineering considerations in building off a production traffic review system.\n\nSo how we do that is by first isolating the layer that changes between the old and new systems. For example, the database generally remains the same between both the systems. You don't rewrite everything from the ground up, like everything from top to bottom, right? So for the layers that don't change, we capture the messages that cross this layer boundary for the old system, and we replay it for the new system. So for example, when the old system tries to read from the database, and the database returns a certain value, we capture that. And when we replay it in the new system, we replay that captured database value, as well. And similarly, when the old system writes to the database, we capture that, and we compare it with the captured value from the new system. So that way we never change the database— we just use the captured value for replaying and for comparison, and that's how we ensure that we compare state changes without really changing the state on the new system.\n\n**Viv:** So that sounds like it could get pretty complex. Do you have a list of four or five challenges or things to watch out for while you're doing that?\n\n**Pavan:** Yeah. So in building and using a production traffic replay system over the years, we've learned, you know, a lot of things. First thing is that we should ensure that the production system is not affected due to sampling and interception and capturing, right? It's like the equivalent of the Hippocratic Oath: do no harm. You don't disrupt the existing traffic on the existing system in your attempts to create a pathway for a safe migration.\n\nThe second (we already discussed) is not changing state for the replay traffic. As MP mentioned, not only are all systems not idempotent, it's also that we don't know what are the repercussions downstream from changing the state. There could be multiple other systems which could be reading from it, so we should never touch the state as part of replay.\n\nNext, we should ensure that all privacy principles are followed, even when we replay, and we diff the two responses.\n\nNext, we need to be able to make sure that we sample all kinds of traffic. There should be no gaps. If there are any gaps in sampling— certain classes of traffic— then you could have incompatibilities hiding in there that will bite you during the actual migration.\n\nThen there are some practical difficulties, like knowing how much to sample, how long to sample, so that we cover all customers. There could be customers who make infrequent requests like once every week or even once every month. So, how long do you sample?\n\nFinally, you know, there's some timing issues between when you capture and when you replay. For example, our tokens expire within a window, so if you replay it after that window, you might detect spurious diffs. There can also be flukes. You know, network is— you know, they could have flakiness and all sorts of things that could result in issues that could take a long time to analyze.\n\nRegardless of all these practical issues, production traffic replay is exceptionally effective in quantifying the disparity between two systems and guaranteeing that migration will be client-transparent with a very large probability.\n\n**MP:** So is production traffic replay enough to— so you build your production traffic replay system and you get to the zero diff point. Is that sufficient to convince yourself that the migration will be client-transparent? Are there any blind spots that production traffic replay has?\n\n**Pavan:** So reaching diff zero takes you a long way towards client transparency, but there are things that you could still do outside of production traffic replay to provide more confidence.\n\nFor example, production traffic replay, as good as it is in ensuring that responses and state changes are compatible, is not so great at proving that they have comparable latency, because it's hard to mimic [the] production load profile when doing sampling. So you may want to use load tests for that. And similarly, you may want to use integration tests, which we already said are not sufficient for proving client transparency, but they're great for establishing a baseline level of compatibility before you employ production traffic replay for flushing out the remaining compatibilities.\n\nAnd you could also use other techniques like error fallback. Many of the incompatibilities result in the new system throwing errors where the old system processed. So you could also have some sort of a reactive mechanisms where whenever there's an error on the new system, you forward it to the old system for processing, for second-chance processing, when it happens on the request flow before the state changes happen. But yes, we should keep an open mind and try to use other mechanisms in addition to production traffic replay to beef up the competence in our migrations.\n\n**MP:** So up until this point we've spent a lot of time talking about validating the new system and making sure that the behavior of our new system is correct for our users and customers. But how do we actually approach moving traffic? Which is really the true validation, is that you move all the traffic over and no one complains.\n\n**Pavan:** Yes. So the cutover phase, the, you know— or in migrations, the rollout is generally called traffic cutover— that is definitely exciting, but also a phase where you also have a lot of tension. Because that is when all this hard work you did in validating the compatibility of the two systems is put to test.\n\nFirst thing to note is— first thing to realize is that unlike new product or feature launches, the blast radius for migration cutover is quantitatively and qualitatively larger. It's quantitatively larger because you have a large amount of existing traffic. There is no organically increasing traffic that starts at zero, like for new product launches. It's already there. It's qualitatively larger because this is established traffic. This could be from a customer who's been sending traffic for the last ten years. Imagine all the use cases, all the workflows that this traffic is powering. And so request for request, the blast radius is huge for migrations. It's definitely more painful for the user when some disruptions happen.\n\nSo with that said, what are the goals for the cutover? They remain the same as for new launches, which is: we would like to ensure a low mean time between failures, a low blast radius or impact, and a very low mean time to repair. So, how do we ensure low mean time between failures, as well as low blast radius? We primarily depend on fast and easy incremental ramp-up and ramp-down of diversion traffic. Fast means multi-hour, not multi-day. If it's multi-day, then it's hard to track the health of the incremental ramp up. If it's multi-hour, it's sufficiently gradual, and it also enables, you know, tracking of the various health metrics.\n\nAnd I'm talking about incremental ramp-up, not the entire rollout. So even within the gradual rollout, it should be very slow and very small in the beginning, and it can be accelerated somewhat after reaching 5%. We generally notice that it's very rare to see new issues after crossing 5%. Still, you should not move more than, let's say, 15% maximum traffic between every step, and in the beginning we generally start at something very small, like 0.001% or less. Definitely less than your error budget for your service. And leave it there for a week, because with enough time, even a small sampling ratio results in a lot of the customer traffic being eventually sampled. And then we gradually increase the increments, and after we reach 5%, we go 15% every three days.\n\nOne important point is that the diverted traffic must be randomly selected. This is so that every customer sees a gradual rollout from their point of view. If it's not random— for example, if you hash by IP address or some sort of ID— then what happens is that the customers whose traffic is migrated at the end of your rollout suddenly see a large shift in traffic from the old system to new system, and in case of any incompatibilities, suddenly a large part of their traffic is getting affected, and random selection avoids that.\n\nAnd finally, as part of the careful rollout, the way you guarantee a very low mean time to repair is through fast rollback. It's your big red button. You should be able to roll back to either the previous state, the previous split between the old and new system, or maybe rolling back 100% to the old system. You should be able to do it very fast— like in seconds or minutes. And so it's important to build such a fast rollback mechanism before you even start migration. As they say, in case of doubt, roll back, and then investigate. And that's how you ensure that not only is the damage limited, but also you get your customer traffic healthy very soon after you detect something suspicious.\n\n**MP:** Yeah, [a] migration plan should always come packaged with the rollback plan.\n\n**Pavan:** Indeed. Yes, it should have both an entry and exit criteria for different rollout stages so that there's a clear signal that we are good to go on to the next stage or when we have to roll back from that stage.\n\n**MP:** So this is all a lot to think about and consider when trying to migrate a service, particularly the aspect— the client transparency— specifically, there's a lot to account for there. Are there situations where client transparency shouldn't be the goal?\n\n**Pavan:** The answer to that is, surprisingly, yes— but only for very few and specific scenarios. So you should not give priority to client transparency for security and privacy issues. If that's part of migration— you realize that there is a security vulnerability in the old system that could be exploited and that could hurt your customers— then it's important that you don't silently port that security issue to the new system, because in the long term it causes more cost to your customers. So it's better to inform your customers about it and then plug that gap.\n\nAnd there is a case where you need not aim for client transparency, and that is for a service that has gone past its support window. Although in such cases, it's good to have some courtesy advance notices to your customer about the impending migration.\n\nBut otherwise, client transparency is a very strong requirement for all migrations, and ignoring that can be a very frustrating experience for all the parties involved.\n\n**Viv:** Yeah, for sure. Especially the more complex a service is. Yes.\n\n**Pavan:** That is true. A lot of the things that we discussed either do not apply, or get diluted for services that are either simple or do not have diverse traffic. For example, we migrated a service that had a very large amount of traffic, but it was one of the easiest services to migrate. And the reason was, all of the traffic was coming from one client that was owned by Google itself, so we knew exactly the pattern of requests that would be coming to the service. And so it wasn't the case of an open-ended set of clients, you know, sending all sorts of patterns. It was a very simple and a uniform pattern. So it was very easy. So a lot of these things, a lot of these challenges in client transfer migrations, really come about for systems with large surface area and large and diverse usage.\n\n**Viv:** Cool.\n\n**MP:** Anything else you'd like to share with us today, Pavan, before we wrap the episode up?\n\n**Pavan:** Yes. The one thing I would like to reiterate is how critically important client transparency is for any backend migration. The customer point of view should be given primacy over the backend system view. What is an edge case to the backend system could be a mission-critical use case for the customer, and ignoring that could lead to much customer frustration. So I know we repeated this many times, but it's really, really important to always think from the customer perspective and ensure that all your migrations have client transparency as a P0 constraint and also plan for it.\n\n**Viv:** Thank you so much.\n\n**MP:** Yeah. Thank you so much for your time today. It was really great talking to you about all of this. I learned a lot.\n\n**Viv:** I also learned a lot.\n\n**Pavan:** Thank you, MP, and thank you, Viv. It was a pleasure to discuss the knowledge and the techniques that we learned as part of these complex migrations that we have done over the past, and I hope they are useful to the listeners who are planning their own migrations in the future. And good luck migrations to all those.\n\n**MP:** I know I'm definitely gonna be taking things I learned here into my day-to-day practice.\n\n**Viv:** Me too.\n\n**Pavan:** Great.\n\n**MP:** Well, thank you.\n\n**Pavan:** Thank you. Thank you, everyone.", "znaku_textu": 36350, "slov": 6309, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:13:20", "sha256": "ea44fe369f37b486b943eaa6073b95a3795634eae0e761ec5e2e2b4ea1c8c48c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05/", "titulek": "Google SRE - Maintaining client transparency while migration", "h1": "Client-Transparent Migrations", "popis": "Client centric API migrations, prioritize transparency and minimize disruption. Learn how to approach large-scale migrations with Pavan Adharapurapu.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05"}, "headline": "Client-Transparent Migrations", "description": "Pavan Adharapurapu details how to approach large-scale migrations while optimizing for user experience.", "image": "https://kstatic.googleusercontent.com/files/ff5b20afeb4d1e0d1c903a82e8e13514e735c1d97bae554e3e4d8f7b3f3ae918e6d376355bd194a50f72c39442de41a2fc82431017fa78b5c05ad192fa1e652e", "author": [{"@type": "Person", "name": "Pavan Adharapurapu"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Client-Transparent Migrations"}], "markdown": "# Client-Transparent Migrations\n\nPavan Adharapurapu details how to approach large-scale migrations while optimizing for user experience.\n\n**MP:** Hello and welcome to the Google SRE podcast, or as we affectionately like to call it, the Prodcast. I am your host for today, MP, and along with me is Viv.\n\n**Viv:** Hi! Happy Episode 5.\n\n**MP:** And with us today is Pavan. Pavan, why don't you go ahead and introduce yourself?\n\n**Pavan:** Thanks, MP and Viv. I'm so excited to be on this podcast. Hello, to all the listeners. My name is Pavan Adharapurapu, and I'm a software engineering tech lead and manager in the API platform group here at Google, where I've been working for the past 9+ years. The API platform where I work is part of the backend that processes Google web API calls, or REST API calls. When you use, say, the Google Calendar app on your mobile phone, or create a YouTube playlist on your browser, or upload a Google photo, they all result in API calls to application servers running in Google Cloud.\n\nThe API platform is a layer of those application servers and provides functionality that is common to all Google web APIs, such as authentication, rate limiting, data translation between JSON and internal protocol buffers, building telemetry, and so on. In the recent past, I led a successful multi-year migration project that moved hundreds of Google web APIs to a newer and better API platform. Most importantly, this was done in an invisible manner to the millions of applications and users that consume these APIs. As part of this project, I learned a lot about the challenges involved, common solution approaches, and most importantly, the mindset one needs to have for performing complex backend migrations.\n\n**MP:** Yeah, so that's a problem that comes up in a lot of different forms for both SRE and developers: that we want to change something really significant about our system, but we don't actually want customers or users to notice anything has changed. We want it to be transparent to clients. What does \"client-transparent\" really mean? Does it just come down to byte-for-byte identical responses between an old service and a new service, or is there more to it?\n\n**Pavan:** Yes, client transparency, as you mentioned, is definitely in walls matching responses, but it is not the same as matching responses. It's more than that. So first, let's define client transparency. Client transparency is a property of a migration that comes about by the source and target system behaving the same way for all user-observable aspects, for all the existing traffic. These qualifiers are important. We don't care if two systems do not match in behavior for non-user-observable aspects, or for requests that are not part of the current production traffic set.\n\nSo what are the user-observable aspects? Having a compatible response for every existing request is definitely one of the aspects, but there are two other aspects that make up client transparency: namely, compatible state changes and comparable latency.\n\n**MP:** Can you talk more about state change and how that plays into this? What does that really mean?\n\n**Pavan:** Sure. Yeah. So the compatible state change property requires that the state change affected by the new system must match the old system for a given request. For example, one could imagine two systems that both reject and update requests if it has invalid credentials. Further assume that the errors returned by both systems are exactly the same. So we have matching responses, but still the migration between these two systems could be not client-transparent. For example, suppose the first system mutates the resource before authenticating the request, while, say, the second one authenticates it after mutation. Then even though both the responses are the same, the final state— the final state of the resource— differs between the two systems. This is a contrived example, but you get the idea why state change should match between the two systems.\n\nOne other thing is that the state— when we talk about the state, it is all pieces of the state that is accessible to the user. So that certainly includes the underlying resource state. Every service has an underlying resource that it manages, but it also includes other parts of the state— like billing state, rate limiting state, telemetry state— because these are all accessible to the users. For example, billing state is accessible when the user gets an invoice at the end of the month. The telemetry state is visible through charts and dashboards and Google Cloud Console. So we need to ensure that all of the state is updated compatibly between both the systems.\n\nThe last component that I mentioned that makes up client transparency is latency. It has to be comparable because a significantly deteriorated latency for the new system will definitely be noticeable by the user, and you couldn't really call it client-transparent migration.\n\n**Viv:** Okay, so you've mentioned three components here. Are these the top three components, or is this all we need to consider? And how do we know that that is the appropriate amount to consider for client transparency?\n\n**Pavan:** Great question, Viv. Indeed, how do we know that these three components that I mentioned— namely, compatible responses, compatible state changes, and comparable latency— are not only necessary, but also sufficient conditions for client transparency? Well, that follows from the fact that every real world software can be modeled as a finite state machine with non-zero propagation delay. For a given input, the only things that can be measured for such a finite state machine are the output, the state transition, and propagation delay. And therefore it's enough for us to just make sure that these three components are matching between the two systems and client transparency follows from that.\n\n**Viv:** Interesting. Makes sense. Although I am sure it is much easier said than done.\n\n**Pavan:** Mm-hmm (positive). Indeed.\n\n**MP:** It all comes back to modeling things as finite state machines.\n\n**Pavan:** Indeed.\n\n**MP:** So one thing I'm curious about: I think it's a fairly well-known phenomenon that when you have a large enough API with enough possible ways to use it, someone somewhere is going to start using your API in an unsupported or undocumented way. How are those sorts of things handled when trying to do client-transparent migrations?\n\n**Pavan:** You touch upon the main reason for complexity in migrations, MP. Indeed, a system with a wide surface area and with a large and diverse usage will have some clients depending on implementation traits of the system. There is even a name for this. It's called the Hyrum's Law. It's shortened as, \"the implementation is the interface for large systems.\" It is important to point out that client transparency requires sequencing of behavior not just for documented features, but also for accidental features, implementation idiosyncrasies, and bugs as well. Since, as the Hyrum's Law says, there will be users who would inadvertently come to depend upon them.\n\n**MP:** There's always someone where the saying \"that's not a bug, it's a feature\" is actually true for that user.\n\n**Pavan:** Yes, it is. Yeah.\n\n**Viv:** So is that a small percentage of users? I guess I'm curious: when you're accounting for the entire set of people who use your service, if you are trying to do this client-transparent migration, are these bugs and idiosyncrasies just for a few people? How do we decide that that matters and that we want to account for all of that since I know all this can be very expensive and already pretty complex?\n\n**Pavan:** Yeah, so how many users depend on these non-main line features? It is really a statistical property of your system and usage. During our client-transparent migrations we noticed that a majority of the users indeed use the system as intended— as designed for the mainline scenarios. However, there is a non-trivial portion of the users who depend on these other behaviors of the system: the ones that are not designed intentionally, but are just properties of the underlying tech stack or some bugs. And the interesting thing is that we see that different users use different— depend on different bugs and different accidental behavior, so it's kind of spread out. And that's the property we see for many other migrations, as well.\n\nThe important thing is that those users have to be cared for. You cannot just ignore those use cases just because they're a small percentage of it, because what is an off-label usage of your system can be the basis of a mission-critical workflow for that user. So when it comes to client-transparent migrations, the behavior of the current system is always correct. That's what you assume. It's the spec, and that's what you have to ensure is carried over to the new system, as well.\n\n**Viv:** Makes sense. I like it. It's like no user left behind.\n\n**MP:** Well, I'm wondering, is that an absolute? Like, if you had one user customer that was relying on some sort of idiosyncrasy and porting that functionality over to the new system... and hypothetically introduced a massive complexity increase? You had confidence that they were the only one doing it. Would you ever consider asking the customer to change what they're doing so that it doesn't have this kind of ripple effect? Is there a balancing act there?\n\n**Pavan:** That's a great question, MP. So, indeed, when we say that client transparency is an extremely important criteria, is it absolute? Like, is it a 100.00%, or are there cases where, you know, we could make the case for reaching out to the customer and politely requesting them to change their code to not depend on some undocumented feature or a bug in the system?\n\nSo first thing is that there should be an extremely high barrier for doing that. Why do we have that? It's because making even small changes to production applications can be a huge cost for the customers, and if the customer uses a service through mobile apps/smart TV apps, then they may not even be in control of the update life cycle. It would be the end user.\n\nAnd another important point is that customer applications which have been running for a long time in the field are generally part of very important workflows for the application users. So making even small changes requires a lot of testing to ensure that these important use cases are not broken. So the barrier should be extremely high, but if in the extreme case as you mentioned, MP, where it's just one user and where creating client transparency causes a huge amount of complexity on the service side in the new system, then maybe you could make a case for reaching out to the customer. You know, giving them enough time, providing enough documentation to make the change that you think would be necessary to not port that buggy behavior or accidental behavior into the new system.\n\n**MP:** So it sounds like it is that usual complexity trade-off, that it's either going to be complexity somewhere inside of the new service, or it's going to be that complexity would get pushed back off to the customer, and there needs to be a really substantial difference in— like in my head, I'm sort of saying it needs to be orders of magnitude easier for the customer to make the change than for the migration to be transparent for that use case, is sort of what I'm thinking in my head.\n\n**Pavan:** Yes, exactly. It's almost like you have to have this mindset that you will never burden the customer, and the exception has to be so clear that it proves that rule.\n\n**MP:** What are some of the other difficulties? What are some of the other things you have to look out for when you are trying to ensure you have a client-transparent backend migration?\n\n**Pavan:** Yeah, so there are four major challenges we found during our migrations. The first one is knowing the complete set of disparities between the two systems. Generally, it's not too difficult to figure out the major disparities at the well-known feature set level. For example, one system could support a particular type of authentication, whereas the other system doesn't. It's pretty easy to find that out, but it's much harder to do so for bugs and implementation traits.\n\nThe second challenge is testing two systems for parity. How do we prove that the migration between two systems is going to be client-transparent? The regular unit and integration testing cannot cover all the bugs and accidental features of the system.\n\nThe third challenge we found was that it is hard to know when you broke the customer, because not all compatibility issues can be detected server-side. Let's say the new system adds some innocuous white space, which is allowed by many specs. For example, JSON allows white space, and let's say a not-so-well-written customer application stops working because of it. Without client-side telemetry, which is generally not available for a public service with diverse clients, you cannot know that you broke this client at the server side. And this is one of the core challenges of ensuring client-transparent backend migration.\n\nAnd the final challenge, which we touched upon, is that we could end up bloating the new system with parity fixes— especially the old system idiosyncrasies— and this could reduce the maintainability of the new system for all users, current and new.\n\n**MP:** None of those challenges sound very easily surmountable. It sounds like a lot of the, \"it's really hard to know what you don't know.\"\n\n**Pavan:** Indeed. Yeah. Unknown and knowns. Right.\n\n**MP:** Is there a methodology for these migrations that we can take kind of generally to help make sure we meet all of those challenges?\n\n**Pavan:** Yes, definitely. There is an engineering approach you could use to get control over the disparities between two systems and true client transparency. But before I go there, before I outline the approach that we used successfully, let me take a step back and discuss how we should [approach a complex migration](https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/) in the first place. The first thing to do is to avoid a large-scale complex migration in the first place if possible. We should only—yes, it's a...\n\n**Viv:** Don't do it!\n\n**Pavan:** —it's a surprising thing to say, but I think this is very important. We should only attempt one if the long term benefits to users and not just a service owner significantly outweigh the cost to the user. Migrations are fertile grounds for all sorts of compatibility issues. It's not to be undertaken lightly. One must do cost benefit calculations, get it reviewed, signed off by, you know, your team and leadership chain.\n\nNow, once you decide to migrate, embrace the risk. Do not second guess. Next, approach migrations with a spirit of constructive pessimism. We hope for the best, but we always plan for the worst. Then, before you start migration, you should ensure to prevent any backsliding from happening. That is, make sure no new usage is allowed on the old system— otherwise, it would be like pumping water out of a pool that is being simultaneously filled by water. Not the most efficient way to migrate. Next, aim and plan for client transparency as an overarching constraint for the migration. Anything you do as part of the migration should be invisible to the user, and this cannot be emphasized more. Finally, have a plan be ready in case the migration becomes intractable or fails. There's no point in continuing with the migration that has caused a lot of issues to the users. It's better to just switch over to another plan that continues to serve the users without causing any more issues.\n\n**MP:** The last one there sounds like it's trying to warn about the sunk cost fallacy a little bit?\n\n**Pavan:** Indeed. It is immaterial that you spent a lot of effort, a lot of hard work, in taking the migration up to a certain point. That cost is meaningless if in going further you're going to inconvenience your users even more, right? So you should be careful of the sunk cost fallacy, as you said. What matters is from this point onwards, what is good for your users, for your customers? You always have to follow that path.\n\n**Viv:** So perhaps just a note to continually evaluate whether or not what you're doing is in the best interest of users as you proceed.\n\n**Pavan:** Indeed. Yes.\n\n**MP:** So now, once you've decided to move forward with the migration, how do we try to guarantee— especially when we're putting client transparency as one of our overarching requirements for the success of the migration— what's the strategy there?\n\n**Pavan:** Yes, so the strategy has the following broad steps. To ensure client transparency in your migrations, first of all, we need to enumerate all elements of the user-observable state. As we mentioned before, it could include more than just the resource state. It could include things like billing state, telemetry, et cetera. It is important that we identify all user-observable state because if you don't know what can start behaving differently, you cannot track it or prevent it from going bad.\n\n**MP:** What about just, like, server logs? Do those count as state?\n\n**Pavan:** Server logs count as state only if they are exposed to the user in some fashion. If some pipeline consumes those logs to generate some reporting that is exposed to the user, then yes. It is part of the user-observable state, and you have to make sure that it's updated consistently between the old system as well as the new system.\n\n**Viv:** That sounds really hard.\n\n**MP:** Yeah. Like, would this go all the way down to error messages?\n\n**Pavan:** Well, it's the same thing again. Does the user see the error message in one form or the other? If the error messages are just used for internal debugging by the service developers, then no— you don't have to care about it. But if it is— let's say you scrub those error messages, filter them, and maybe you display it in some console and the customer uses it regularly for doing something important, then guess what? It fits the definition of user-observable state, and you have to make sure that it's in the similar format and similar structure as the old system.\n\nThis, I believe, is a critical prerequisite for client transparency. It's as simple as saying if you don't know what can break the user, then you can never guarantee client transparency. If you only focus on the most important state like the resource state in the database— if that's all you care about, that's all you focus on— then you would be surprised by customer tickets that says, \"Hey, my dashboards are behaving funkily\", or \"my billing is off,\" or \"my requests are getting throttled much more aggressively than before what's happening.\" Right? So you will eventually discover all the user-observable state one way or the other. It's better that you sit down and then you enumerate it as part of your migration planning.\n\nSo let's say you enumerated all the user-observable states. The second thing you do is you quantify the disparity between both the systems. This is the hardest part of ensuring client transparency. We need to quantify compatibility issues between the two systems. If you cannot measure it, you cannot control it. The only practical way that I know of doing it is through what we call as production traffic replay, or sometimes also known as \"dark launch.\" This is where production traffic to the old system is simultaneously run through the new system, and the responses and state changes are compared between both the systems. And I'm happy to go into more detail later on it.\n\nAnd moving on with the different steps for ensuring client transparency, the next thing we do is that we limit blast radius of potential compatibility issues during traffic cutover. Regardless of how much effort you put in, it's hard to guarantee that two systems are 100% compatible. There are always unknown and knowns, and so we have to ensure that any damage they do is limited, and we generally do it through a gradual rollout strategy.\n\nThe next step is detecting incompatibility issues during cutover. So for this we use monitoring for issues that can be detectors server-side, such as errors that happen only on the new system. For issues that cannot be tracked server-side— remember we discussed that not everything, not all compatibility issues, can be detected at the server side— we closely monitor all customer support channels for tickets or complaints from the customers. Once again, we should never, ever depend on the customer for identifying incompatibilities, and we track customer channels only as a precaution and only for learning about unknown and knowns. And when we do detect issues, we need to mitigate, and that we do through a fast rollback to previous state or by moving all traffic to the original system.\n\nFinally, we need to correct any issues detected during rollout, and as part of that, do a postmortem, review the overall migration plan to see how this was missed, and if everything looks good, proceed.\n\n**MP:** A lot of this sounds like fairly standard SRE philosophy in terms of limiting blast radius to being able to detect problems, mitigating problems, doing appropriate postmortem review after the fact. So, like, the two things that really stick out are this state enumeration and this production— this dark launch thing. And we've talked about the state enumeration a fair bit. We've talked about how that's actually very core to the idea of client transparency.\n\nI'm curious more about this production traffic replay, and I can imagine a lot of ways that that is not— it's not just as simple as sending requests to the new service. I have a suspicion that since we've been talking about state, I have a feeling that state changes are going to be kind of complicated once you get— like, if you don't have idempotent service, replaying traffic is not always gonna be a good thing to do.\n\n**Pavan:** Yeah, that's a great point. Yeah, MP, yes, that is definitely a key engineering consideration in any production traffic replay system. Before I go into it, let me quickly touch upon why we need a production traffic replay system that takes the production traffic and replays it through the new system that you're trying to migrate to. So we already mentioned that large systems, they have a lot of accidental behavior. So you cannot prove the client transparency property by analyzing the system in vacuum, right? You cannot just go through the source code of the system. It could be too huge, or even if you could go, it's very hard to prove that they have a compatible behavior. So the only way to do it is to actually run the existing production traffic to the old system on the new system, and actually check that their responses, state changes, and latency match.\n\nThe basic idea is this. We continuously sample production traffic to the old system. We capture the user request, the response from the old system, and the state change from the old system. We then later replay the same user requests through the new system, and once again capture the response and state change from the new system and compare them. If there are no diffs, then it's safe to migrate between the two systems. When there are no diffs for all of the production traffic, right? But if there are any diffs, we treat the new system until the diffs disappear regarding that state. So we should ensure that no state change happens due to replay traffic. It's very important. So how do we compare the state changes between the old system and the new system while ensuring that no state actually changes by the replay traffic? That goes into one of the important engineering considerations in building off a production traffic review system.\n\nSo how we do that is by first isolating the layer that changes between the old and new systems. For example, the database generally remains the same between both the systems. You don't rewrite everything from the ground up, like everything from top to bottom, right? So for the layers that don't change, we capture the messages that cross this layer boundary for the old system, and we replay it for the new system. So for example, when the old system tries to read from the database, and the database returns a certain value, we capture that. And when we replay it in the new system, we replay that captured database value, as well. And similarly, when the old system writes to the database, we capture that, and we compare it with the captured value from the new system. So that way we never change the database— we just use the captured value for replaying and for comparison, and that's how we ensure that we compare state changes without really changing the state on the new system.\n\n**Viv:** So that sounds like it could get pretty complex. Do you have a list of four or five challenges or things to watch out for while you're doing that?\n\n**Pavan:** Yeah. So in building and using a production traffic replay system over the years, we've learned, you know, a lot of things. First thing is that we should ensure that the production system is not affected due to sampling and interception and capturing, right? It's like the equivalent of the Hippocratic Oath: do no harm. You don't disrupt the existing traffic on the existing system in your attempts to create a pathway for a safe migration.\n\nThe second (we already discussed) is not changing state for the replay traffic. As MP mentioned, not only are all systems not idempotent, it's also that we don't know what are the repercussions downstream from changing the state. There could be multiple other systems which could be reading from it, so we should never touch the state as part of replay.\n\nNext, we should ensure that all privacy principles are followed, even when we replay, and we diff the two responses.\n\nNext, we need to be able to make sure that we sample all kinds of traffic. There should be no gaps. If there are any gaps in sampling— certain classes of traffic— then you could have incompatibilities hiding in there that will bite you during the actual migration.\n\nThen there are some practical difficulties, like knowing how much to sample, how long to sample, so that we cover all customers. There could be customers who make infrequent requests like once every week or even once every month. So, how long do you sample?\n\nFinally, you know, there's some timing issues between when you capture and when you replay. For example, our tokens expire within a window, so if you replay it after that window, you might detect spurious diffs. There can also be flukes. You know, network is— you know, they could have flakiness and all sorts of things that could result in issues that could take a long time to analyze.\n\nRegardless of all these practical issues, production traffic replay is exceptionally effective in quantifying the disparity between two systems and guaranteeing that migration will be client-transparent with a very large probability.\n\n**MP:** So is production traffic replay enough to— so you build your production traffic replay system and you get to the zero diff point. Is that sufficient to convince yourself that the migration will be client-transparent? Are there any blind spots that production traffic replay has?\n\n**Pavan:** So reaching diff zero takes you a long way towards client transparency, but there are things that you could still do outside of production traffic replay to provide more confidence.\n\nFor example, production traffic replay, as good as it is in ensuring that responses and state changes are compatible, is not so great at proving that they have comparable latency, because it's hard to mimic [the] production load profile when doing sampling. So you may want to use load tests for that. And similarly, you may want to use integration tests, which we already said are not sufficient for proving client transparency, but they're great for establishing a baseline level of compatibility before you employ production traffic replay for flushing out the remaining compatibilities.\n\nAnd you could also use other techniques like error fallback. Many of the incompatibilities result in the new system throwing errors where the old system processed. So you could also have some sort of a reactive mechanisms where whenever there's an error on the new system, you forward it to the old system for processing, for second-chance processing, when it happens on the request flow before the state changes happen. But yes, we should keep an open mind and try to use other mechanisms in addition to production traffic replay to beef up the competence in our migrations.\n\n**MP:** So up until this point we've spent a lot of time talking about validating the new system and making sure that the behavior of our new system is correct for our users and customers. But how do we actually approach moving traffic? Which is really the true validation, is that you move all the traffic over and no one complains.\n\n**Pavan:** Yes. So the cutover phase, the, you know— or in migrations, the rollout is generally called traffic cutover— that is definitely exciting, but also a phase where you also have a lot of tension. Because that is when all this hard work you did in validating the compatibility of the two systems is put to test.\n\nFirst thing to note is— first thing to realize is that unlike new product or feature launches, the blast radius for migration cutover is quantitatively and qualitatively larger. It's quantitatively larger because you have a large amount of existing traffic. There is no organically increasing traffic that starts at zero, like for new product launches. It's already there. It's qualitatively larger because this is established traffic. This could be from a customer who's been sending traffic for the last ten years. Imagine all the use cases, all the workflows that this traffic is powering. And so request for request, the blast radius is huge for migrations. It's definitely more painful for the user when some disruptions happen.\n\nSo with that said, what are the goals for the cutover? They remain the same as for new launches, which is: we would like to ensure a low mean time between failures, a low blast radius or impact, and a very low mean time to repair. So, how do we ensure low mean time between failures, as well as low blast radius? We primarily depend on fast and easy incremental ramp-up and ramp-down of diversion traffic. Fast means multi-hour, not multi-day. If it's multi-day, then it's hard to track the health of the incremental ramp up. If it's multi-hour, it's sufficiently gradual, and it also enables, you know, tracking of the various health metrics.\n\nAnd I'm talking about incremental ramp-up, not the entire rollout. So even within the gradual rollout, it should be very slow and very small in the beginning, and it can be accelerated somewhat after reaching 5%. We generally notice that it's very rare to see new issues after crossing 5%. Still, you should not move more than, let's say, 15% maximum traffic between every step, and in the beginning we generally start at something very small, like 0.001% or less. Definitely less than your error budget for your service. And leave it there for a week, because with enough time, even a small sampling ratio results in a lot of the customer traffic being eventually sampled. And then we gradually increase the increments, and after we reach 5%, we go 15% every three days.\n\nOne important point is that the diverted traffic must be randomly selected. This is so that every customer sees a gradual rollout from their point of view. If it's not random— for example, if you hash by IP address or some sort of ID— then what happens is that the customers whose traffic is migrated at the end of your rollout suddenly see a large shift in traffic from the old system to new system, and in case of any incompatibilities, suddenly a large part of their traffic is getting affected, and random selection avoids that.\n\nAnd finally, as part of the careful rollout, the way you guarantee a very low mean time to repair is through fast rollback. It's your big red button. You should be able to roll back to either the previous state, the previous split between the old and new system, or maybe rolling back 100% to the old system. You should be able to do it very fast— like in seconds or minutes. And so it's important to build such a fast rollback mechanism before you even start migration. As they say, in case of doubt, roll back, and then investigate. And that's how you ensure that not only is the damage limited, but also you get your customer traffic healthy very soon after you detect something suspicious.\n\n**MP:** Yeah, [a] migration plan should always come packaged with the rollback plan.\n\n**Pavan:** Indeed. Yes, it should have both an entry and exit criteria for different rollout stages so that there's a clear signal that we are good to go on to the next stage or when we have to roll back from that stage.\n\n**MP:** So this is all a lot to think about and consider when trying to migrate a service, particularly the aspect— the client transparency— specifically, there's a lot to account for there. Are there situations where client transparency shouldn't be the goal?\n\n**Pavan:** The answer to that is, surprisingly, yes— but only for very few and specific scenarios. So you should not give priority to client transparency for security and privacy issues. If that's part of migration— you realize that there is a security vulnerability in the old system that could be exploited and that could hurt your customers— then it's important that you don't silently port that security issue to the new system, because in the long term it causes more cost to your customers. So it's better to inform your customers about it and then plug that gap.\n\nAnd there is a case where you need not aim for client transparency, and that is for a service that has gone past its support window. Although in such cases, it's good to have some courtesy advance notices to your customer about the impending migration.\n\nBut otherwise, client transparency is a very strong requirement for all migrations, and ignoring that can be a very frustrating experience for all the parties involved.\n\n**Viv:** Yeah, for sure. Especially the more complex a service is. Yes.\n\n**Pavan:** That is true. A lot of the things that we discussed either do not apply, or get diluted for services that are either simple or do not have diverse traffic. For example, we migrated a service that had a very large amount of traffic, but it was one of the easiest services to migrate. And the reason was, all of the traffic was coming from one client that was owned by Google itself, so we knew exactly the pattern of requests that would be coming to the service. And so it wasn't the case of an open-ended set of clients, you know, sending all sorts of patterns. It was a very simple and a uniform pattern. So it was very easy. So a lot of these things, a lot of these challenges in client transfer migrations, really come about for systems with large surface area and large and diverse usage.\n\n**Viv:** Cool.\n\n**MP:** Anything else you'd like to share with us today, Pavan, before we wrap the episode up?\n\n**Pavan:** Yes. The one thing I would like to reiterate is how critically important client transparency is for any backend migration. The customer point of view should be given primacy over the backend system view. What is an edge case to the backend system could be a mission-critical use case for the customer, and ignoring that could lead to much customer frustration. So I know we repeated this many times, but it's really, really important to always think from the customer perspective and ensure that all your migrations have client transparency as a P0 constraint and also plan for it.\n\n**Viv:** Thank you so much.\n\n**MP:** Yeah. Thank you so much for your time today. It was really great talking to you about all of this. I learned a lot.\n\n**Viv:** I also learned a lot.\n\n**Pavan:** Thank you, MP, and thank you, Viv. It was a pleasure to discuss the knowledge and the techniques that we learned as part of these complex migrations that we have done over the past, and I hope they are useful to the listeners who are planning their own migrations in the future. And good luck migrations to all those.\n\n**MP:** I know I'm definitely gonna be taking things I learned here into my day-to-day practice.\n\n**Viv:** Me too.\n\n**Pavan:** Great.\n\n**MP:** Well, thank you.\n\n**Pavan:** Thank you. Thank you, everyone.", "znaku_textu": 36350, "slov": 6309, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:23", "sha256": "ea44fe369f37b486b943eaa6073b95a3795634eae0e761ec5e2e2b4ea1c8c48c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06", "titulek": "Google SRE - Automation strategies with Pierre Palatin", "h1": "Automation with Pierre Palatin", "popis": "Automation Podcast: Deep dive into automation best practices and strategies with Pierre Palatin, explore real-world examples of successful automation initiatives.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06"}, "headline": "Automation with Pierre Palatin", "description": "Pierre Palatin dives into different automation strategies, how to build confidence in your system, and why designing the UI may be your biggest challenge.", "image": "https://kstatic.googleusercontent.com/files/a50529256f88e31f8753b875528fbb439014807fc6190eea3e07db5cab9eeef4ff8db20d7ab05d67ec82bd2759d845051ecc93705cb601aec589bd3293d8a6b9", "author": [{"@type": "Person", "name": "Pierre Palatin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Automation with Pierre Palatin"}], "markdown": "# Automation with Pierre Palatin\n\n**Pierre Palatin** dives into different automation strategies, how to build confidence in your system, and why designing the UI may be your biggest challenge.\n\n**Viv:** Hello, and welcome back to the SRE Prodcast. This is a limited series where we're discussing concepts from the SRE Book with experts here in Google. I'm Viv, and I'm your host today, along with MP—\n\n**MP:** Hello.\n\n**Viv:** —and we are here today with Pierre to talk about automation. Hi, Pierre.\n\n**Pierre:** Hello.\n\n**Viv:** You want to tell us a little bit about yourself and your work at Google?\n\n**Pierre:** Yeah, of course. So I'm Pierre. I've been an SRE at Google for a long time now. I've been at Google SRE since the beginning [of SRE] for 14 years. I'm more on the software engineering side of SRE in general. I've been working on Gmail-related topics for the longest time as an SRE, where I learned a lot about how to run large production systems. But nowadays, I'm working on something called [Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production). So that's what a big chunk of Google production is using nowadays for doing continuous deployment— so, how to manage your production configuration at scale— because we have a lot of things which tend to get in conflict, so that tends to be a lot of work. Yeah. So that's what I do at Google. And outside of that, I'm a nerd. So usually, I do all computer-related stuff. I like graphic rendering, programming in general. And outside of that, when I'm not talking about computer stuff, I'm probably talking about food. Usually.\n\n**Viv:** I love it. Those are all great topics. So, automation. I guess the first question I have is: why should you automate? What are the main reasons to go in that direction?\n\n**Pierre:** Why would someone want to automate? Because yeah, automating something is actually a bit of work. And it's not always what is needed. So from what I've seen, there are usually two main reasons, I guess. One is related to toil, and the other one is related to safety. So the toil-related is— so, toil as in, there is something that you need to do, you have the impression that you need to do it often, and it's frustrating to do. That's usually a fairly big creator. It might not take that much time in the end, but it's very frustrating. So there is this ratio of frustration versus time. And to produce that same excellent sign that you want to automate it, because for many people, it's more fun to automate it in the first place than to toil the thing. And that can end up with a better result, and you might have more time to do and to work on improving a part of your system. So toil is what I've seen as usually being the main motivation or the biggest factor for automation.\n\nSafety will be probably the second one. I'm probably forgetting something. But safety is also commonly mentioned because we know that [we] as humans tend to do mistakes, and sometimes very dumb mistakes. And automation can avoid a world class of problems. It does replace it with another class of problems. But it does prevent a large chunk of issues. So having a computer systematically verifying that all those five properties before pushing something are verified is better than someone who is going to be tired this day; they had some family problem and is always going—they are going to screw it up or just because when we're too worn we screw up. So that's quite often the other reason why people want to automate— I've noticed at least.\n\n**Viv:** I noticed you mentioned that, as you said, automation can take a lot of time. It can be consuming up front, so it is putting the work up there. So it does sound like there are a lot of good reasons to automate. Do you always move in that direction first? Or when do you make that call?\n\n**Pierre:** Yeah. And it's not always easy to determine that, right? So I have my software engineering side, which makes me always want to automate— there's a wonderful [xkcd](https://xkcd.com/1319/) about that, about the cost of automation, that does not necessarily make it a good idea all the time. I guess there [are] *a priori* a few things to look into. I've mentioned the frustration of people having to do the work. I think that's a very important one because when people are prepared to work on interesting stuff, I mean, it's kind of a tautology, right? And so if you can automate it— automate something that is frustrating— that would be an excellent sign. It is pretty worth spending the time on that.\n\nThere is also a more project management side of it. So that's less of my domain, but in the end, well, if you're doing that in context of a company or an organization of some sort, there will be some trade-off about the time you need to spend up front. Do you have the time to do it now? Is that worth the time? Or are you just spending two quarters of work for saving a week of work? Maybe that's not worth it. So that's [the] project management kind of things. And from that, I could believe that automation is not necessarily different from many other projects. That's like looking at the trade-off both from a human, people perspective and from a technical perspective.\n\nThe other thing to take into account is the difficulty of doing it. Because there are some problems which are easy to automate, and even if the game is not that clear, if it takes you two hours, maybe just do it; and some others, which might save you a lot of time, but the end result is not clear. Is the end result going to be actually saving that much time? Or will it break down every time you use it? And that will be also be a criteria— I mean, if you want to automate something or not. That one, I've noticed that it's very, very hard to tell up front is the number of times that we saw that we were going to automate some things that's, \"yeah, it's going to be great, we have these procedures that people follow up, and of course we can automate that,\" and then realize, yeah, it's breaking every single time because okay, it's actually difficult to measure this metric to know if the push is working. Or it's difficult to model that because it's changing all the time and so on.\n\nI think, yeah, and what to automatize also is probably a criteria. People care about automation— [that's] a generalization, so that goes as far as it goes as with any generalization— but there are things about your productions that you care more [about] than others, and in the sense that you will look more at the details. For example, [for] all of the services, I know there is usually at least like this one big, central server that's a really important part where all of the engineering bandwidth is going. And then there [are] all the supporting servers that people don't really care about. They are unnecessary. When they will be down, you will probably still have an outage, unfortunately. But they're less on top of people's minds. And I found out that things which are more on the sidelines is a prime spot for automation because people will not care about the details of how it happens. They just expect that it happens. And their automation will be great.\n\nI guess it's a variation of the pet versus cattle metaphor: when you consider it as a pet, automation might help. [That's] definitely its place. But that might not be the best way to start. Why is the cattle inside? Yeah, you would probably want to automatize it because you don't care how it happens. You just want it to happen. And you probably have a lot of it, also. So yeah, that's where you will usually start for determining what needs to be automated.\n\n**Viv:** So in terms of automating, what does it actually mean to automate a system?\n\n**Pierre:** Yeah, what does it mean? And how much do we want to automate? The things in question and one reason is that it's one of my— a pet peeve of mine— is that about automation, when automation for me makes a lot of sense. Either one thing which makes far less sense to me is automation tools— like there is this one ecosystem of tools which seems odd: oh, yeah, those are automation. And those for me make far less sense. They have their space in industrial automation. But here I'm thinking more of [automatizing your production](https://sre.google/sre-book/automation-at-google/), which is running on Google Cloud, on AWS, and so on, so this kind of large internet services, typically, production. And for me automating is the process of going from something that has been done manually to an extent— so this is a subtlety here, of course, but from going from something manual to something which is part of your service. It's not something special, it's not necessarily a workflow— I think it might be?— but it's really part of your service.\n\nSo, do I have an example for that? Yeah, for example, for managing a mail system— a webmail system, let's say— and you need to deal where each mailbox is located. So you need to manage the load, you have like two [or] three regions, maybe, and you need to manage the load and initially you start with a small service. So from time to time, you have someone who looks into it and sees, yes, the cell over there is a bit overloaded; I should probably move more people there, or create new people. And you do that manually. Initially, it works because you don't have many users; that's great. And then you realize that it starts to get annoying— people do mistakes while you're doing it, and so on, so all the usual signs of yup, we should automate that.\n\nAnd here you can have two approaches. One is okay, we have documentation about it. So I'm going to take the documentation, I'm going to use one of those automation tools, and I'm going to implement this process. Or you can change a bit of perspective on it and instead think, \"Okay, now I have my system, and I want it to automatically manage the location of my users.\" There will be a bunch of criteria; the load is one of them.\n\nAnd for me, the second approach is going to work a lot better. Like, taking a process which was made to human and transforming it into [an] automated step, but very similar, does not work well— I've never really understood why it does not work well, but in practice, it does not. Those processes never end up working well; I don't know why. I guess one of the reasons is that usually they are not running all the time. So things break down over time. The constraints of what is doable by human is very different from what the computer is good at doing. So that is a different constraint.\n\nAnd so yeah, changing your perspective is that yeah, no, you're not building automation— you're building your service; you're building infrastructure. And here's the constraint: I want to keep the load of my users, my mail users, my mailbox properly balanced. How I will do that? Oh, I will probably have something which continuously verifies the load's data through seven days' average, whatever, and go from there. Sometimes you might end up with the same result, continuous integration— so the process of creating your next version of your binary quite often looks very similar. But the perspective, I think, is important there.\n\nI think that was the second part of your question. Yes. Oh, yeah. How much should be automated and what's the place of the humans and people in this automation? I guess, especially I think I mentioned something like, \"automation is about going from something manual to something [that's] part of your infrastructure.\" I would like to say that, yeah, it means that everything is done by the computer, and then you don't have anything to do— that would be great. The reality of all the systems I have had to manage is that I've rarely seen a system that runs itself; in the end, there is always something to do. So I would imagine that the answer is not clear-cut about what the involvement of humans is.\n\nI guess a different aspect to consider: so first, the involvement of humans, of people is probably going to have a lot of variation. There is a difference, because why are they involved? Is that— is someone involved because they have to fix the bug? Okay, we're still going to have [that]; I mean, we try to reduce them. But it only goes that well. And then there [is] the involvement, because it's part of the process— the typical case is approval, like there is an approval step, for example of moving your mailbox around. Maybe you want someone to validate the new layout of your production when it rebalances things. And yeah, you want a human in the process.\n\nSo yeah, for the first one for bugs, and so on, that's going to happen here, you want to reduce that. And I would say that is more of a sign of a failed automation or not. If people often need to fix those bugs, probably the automation is off the marks— something's missing. It's hard to understand a lot of the time, but once you start running into the problem, it might be easier to identify that. Yeah, it's really difficult to know whether a user move actually worked, because that's always a mystery box over there, which does not do what we think it does, and so that makes all of the automation not work.\n\nThe manual part— as in manual, as expected, and as part of the process— those are [the] typical ones— is wanting to have human validation. Yeah, this one I never know what to do with. Internally, in general, so at Google in general, our approach is that we should have the least amount of that possible for infrastructure management. There are many things at Google, and for infrastructure management, in general, that should be automated. And the reason, usually, is that we consider that decision that someone will take will not be as good as what the computer is going to do. And it is true to an extent. And we see that when it comes to evaluating the quality of all this.\n\nSo you have a new version of your binary, you push it through a canary, and it's running as a canary. And so before continuing to push the rest of production, you want to evaluate that. That's normal. And it used to be the case that the instruction in the playbook was saying, \"yeah, go look at the graph. Good luck.\" And instead, we replaced that nowadays. We have [a] system which looks at those graphs automatically. And it's great because I don't like to do manual work. And we have pushback on that initially because the automation is going to miss things which looks of use to humans. Like oh, yes, that was obviously a spike. And yeah, because you did some kind of statistical analysis— I don't know anything about statistical analysis, but we do a lot of them, I know for that— and your statistical analysis misses this obvious spike; that sucks. But overall, for these kinds of things, we've noticed that yeah, it's quite accurate that humans are missing things all the time. The automated one might miss some things that someone would have got, but overall is going to be better.\n\nThere is still space, I think, for a bit of manual approval. And it depends on the impact of a wrong decision as impact and that includes as a mitigation. So for example, if you push a stateless front-end server— a bad stateless front-end server— by mistake, I mean, it's not great. You will lose traffic, definitely. We try to avoid that, obviously. But you can just roll it back to the previous one. And chances are that that's going to be fine.\n\nNow, imagine another case where you're trying to update a database schema. So you have your database schema, you add new columns, you add a new type of data, or worse, you remove data from your database. Now the cost of— yeah, exactly. Deleting data, that's always an interesting one with automation. And the cost of doing a mistake is much, much, *much* higher. Because what— you deleted the data?! Hopefully you have backup, [but] it's not a strategy. So you have backup; let's assume that you have backups. But even then, it's going to take time and so on, and all those variations.\n\nI've seen outages, for example, where there was a small bug, and that generated corruption into the data. Well, that is a lot more work than just a whole bug to fix. And yes, those kinds of cases, in my opinion, might do with an extra layer of approval, like do sanity checks. Because, yes, the automation, the computer, will pick up a lot of things. And then we add the toil of the human [who] will pick another set of mistakes. And you will go with that. Yeah, and in general that's what we're doing: we remove most manual approval steps. I think we do have one for some database management and things like that.\n\n**MP:** There's one case of automation that I'm a little curious about. I'm trying to figure out how to describe it well. I think it might actually fall in the category of kind of a roundabout manual approval when you have a free-floating parameter for your system, and you're allowing automation to basically manage that value for you, but you put limits on what that value could be. And occasionally a human has to go and adjust those values so that the automation can keep doing its thing; it kind of gets stuck on the edge of its limits. Because if you made the parameter space zero to infinity, your automation might just try to drive it to infinity, and then it causes other problems. Does that fall in the manual approval space? Or is that slightly different?\n\n**Pierre:** That's a very interesting question. I know less about those systems where typically yeah, I've seen a lot of those types of automation for managing the shape and the size of your job— like the amount of memory you're using, the number of tasks [are] typical examples that comes to mind from what you describe. And yeah, I guess yeah, I guess it's a type of manual report. That's true. That's true. Because the reason I would add those limits in the first place is a sanity check is that yeah, I want us to adopt the thing automatically. I mean, exactly like you said, but yeah, I don't understand the systems that well. I know that your systems are awfully complex, so we cannot predict everything, unfortunately. And I know that, yeah, if it starts using no memory, or more memory than a single machine has, for example, for the obvious extreme, I don't want that. And probably yeah, I don't understand how this system is going to work so I'm going to put limitations, and in a way that's very similar to those manual approvals, where it's to catch a different type of mistake that the computer can do, but a human can trivially block. Yeah.\n\nYeah, this kind of automation is also— you never know what to do with this kind of automated adaptation. Because the failure mode— it's very useful, because you start a new server, you want multiple copies of it, they might have very different load profiles, for example, so that just adds up automatically. I avoid the toil of having to tune all of them. That's great. But they have other effects, which is that they hide other problems. And so you're going to have, for example, your memory usage, which is going to slowly creep up. And then suddenly, you cannot start your new job, which is like the other kind of your production, like completely unrelated, but you cannot do it because it has been blocked by this small automation over there. It's a tough one.\n\nWhat do we do for— and that goes away from the manual approval, but for this kind of metrics— when we do automated evaluation of a push? In your automated evaluation of a change, there are two approaches that we take. And it depends on whether you know what \"normal\" means. So, normal in the context of your monitoring, typically, is that— and there's one approach with all this statistical analysis, which is yeah, you don't know what normal is, but it's going to tell you if that changes significantly. It helps with problems creeping up a bit, to an extent. And then there is a one which is close to those limits that someone places explicitly where you say \"Yeah, I think that, I don't know, I think the number of RPC errors I want to have; it should be around zero to one percent, for example, because I know my system.\" So that's how it is. And that can be also used to evaluate things. But that changes a lot of things on how to evaluate a result of the automation in the end.\n\n**Viv:** Yeah, there's a lot of different, I guess, factors that play in. So I'm curious: when designing an automation system, does it vary between, you know, whether or not you think that it'll be mostly totally on its own, no human approvals needed? Versus you think it will have more of that— I don't want to say collaboration, but if you are anticipating humans to have to do the sanity check for you?\n\n**Pierre:** Yeah, I guess that's— I would typically start with yeah, I don't want to have people in the loop. And then when I'm forced to have them, I will add questions suited to people. And when I'm forced, I don't necessarily mean by someone most of the time, but forced because yeah, I just cannot get a signal, for example, like I cannot evaluate the outcome of that; it's just too complicated or too noisy. That would be a typical case.\n\nI'm only half-joking about being forced because there is also a perception problem. So a bit further away from the purely technical, whatever that means, aspect of things, is the sign that— well, in the end there is still probably someone responsible for the system. Like, it will be an SRE on-call; we need to understand how things work, and we'd want to learn about all this automation work and build confidence on that. And that's a place where it can be actually useful to have those kind of human checkpoints in the middle, even if they are false or true, they are not really, but because they help build confidence, because oh, yeah, I've just adopted this new system over there, which permits me to be completely intent-based. It's magical. I'm fixing this place over there, and my production is going to be safely updated; it's great. And trust me, it's going to work. So as an SRE, typically you will be a bit skeptical of that. Because hope is not a strategy, as the saying goes, so you want to build confidence. It's a new system, you don't know it, and it's perfectly normal.\n\nAnd I do think that's actually one of the cases where it can make sense. Yeah, ask for approval in the middle. That will make people— that just helps us. People are getting more confidence because they know that the system is not going to progress on its own because they are in the middle. They can take a look at it and look foolish after a few weeks, where they have to go click that. That's usually the reaction of most people: is that \"Yeah, okay, can I have something which clicks the button automatically?\" Glad you asked— I'm going to remove the button and everyone is happy. Or the other way around is that every time someone checks, they need to fix something, and then yeah, okay, maybe we need to go back to the drawing board. So I guess that provides a— that can provide a very good feedback loop to improve your automation, also.\n\n**MP:** I think the other one that I've seen in several different places is a dry run mode. So it's not even asking for an approval or going to attempt to do anything. It's just always telling you, \"Well, if you'd let me, this is what I would be doing.\"\n\n**Pierre:** Yeah, yeah, this is dry run mode. When it is possible, to do a dry run mode is indeed a great way to build up confidence. I like to know what is going to happen, and I've noticed that I'm not the only one, indeed. It's like yeah, okay, that's what's going to happen. And I know I can run it without touching production. Hopefully, the dry run is indeed a dry run. I'm not going to say I've never had a postmortem, where the dry run was not a dry run. But that's a different story, I guess. [Laughs]\n\n**Viv:** Uh-oh.\n\n**Pierre:** I might have taken down Gmail this way. But yeah, no, the dry run is a very useful tool. What I've noticed though, in those Prodspec and Annealing I was mentioning, so what we're using for continuous deployment these days in many parts of Google is that there are some things which are very difficult to have a dry run for. And we have this intent-based system, where we decide what we are going to push next, evaluate what we've pushed, and then decide, okay, no, we know that we can update this place, because it's for the user while they are still sleeping, I don't know, I'm making things up here, right ? It's a very dynamic system and the dry run— and the system fundamentally— is built on to the result of evaluating the push. Like, you modify something, you evaluate it, and during a dry run, that is tricky. Yeah. I mean, you can say, \"Okay, I'm just going to assume that it passes because as a result, passing my joyride in my simulation\", but only give—that gives relatively little information. I guess what I'm arriving at is [it's] sometimes harder to do a dry run than others. But when it's possible, yeah, but by all means, it's a very good tool.\n\nThere are variations of dry run, also. What [a] dry run means for one person can sometimes differ from another person. Because we tend to have multiple layers of automation, I guess: one thing is going to tell something else to modify something else, there is maybe a cache in the middle, and some state-keeping over there, and then okay, what are you allowed to actually modify in your dry run? And what do you [not] want to touch? It's usually not too much of a problem. But from time to time, it can get interesting.\n\n**Viv:** This is maybe going back a little bit, but I really like build confidence as kind of a tip or guideline for maybe what your system should be striving for. I am curious, do you have any other tips or guidelines on what your system should include? In particular, as you just mentioned, you know, if it's interacting with other automation systems. I guess for both cases. What are good things to consider?\n\n**Pierre:** Yeah, I want to build confidence and improve— get people to use it, if you believe that's the thing to use, and so on. Yeah. So I guess I'm going to talk largely in the context of intent-based systems here. So there are often two types: big types of automation, imperative and intent-based. Imperative, that's your automation [where] you're going to describe the steps: first build the binary, then run in canary and verify that, then push to cluster A, then push to region B— things like that: very fixed.\n\nAnd then there's intent based, which is, yeah, I want a new version of the binary over there, and the automation behind the scene… well, not too much behind the scene. But the automation knows that, oh, before I can push it everywhere, all at once, I need to test it somewhere. Oh, also, I'm not allowed to push it all at once, so I just need to pick a place to start it. So that's intent-based. And one thing, which is tricky with this type of automation is that it's quite often disconnected from what the users do. So the users do modifications somewhere, and actions are going to start in another place. While in an imperative style workflow, then quite often the person is going to say, \"Yeah, push my config now,\" or \"Push my new version now.\"\n\nSo in the intent-based, there is this disconnect. When there is a problem, the person in charge of the system will have no starting point. Like, ah, something is wrong. It has done automation again, which caused [a] problem. It's probably right, to be fair, but this is very tricky— and that's very tricky to build confidence based on that. And here, that led me to believe that the UI of automation is absolutely fundamental. That's actually the most tricky part to a large extent of automation. And that's encouraging to help build confidence: how do you represent it? What do you show? Which kind of control do you give the user? Or do you need to engage the information overload, though I do have a preference for information overload versus not having the information? But it's tricky to balance. And that's actually one challenge that I'd say we are struggling with. No, it's not true, we have plenty of good solutions and so on, but that's a very tricky patch.\n\nAnd I think it might be worse by— there are people like me who like writing code. And so I'm usually the first one to want to automate something. And UI might not be the first thing on my mind. I don't mind writing UI; actually, I do enjoy writing a bit of UI. But that's not the first thing I do— let's put it that way. And it's very easy to fall into the trap, I think. I've seen that I'm not the only one in that situation, I've noticed— it's very easy to fall into the trap where you think and concentrate on doing the automation. Because it looks like the difficult part, when the difficult part might be the actual UI, and the UI will be fundamental to help people debug, to build confidence, and so on.\n\nI was mentioning industrial automation. So those big factories, like [a] chemical factory where you don't have a complicated process, but when the process goes wrong, you might kill everyone around— like [a] dangerous process, things like that. And this kind of automation, obviously there are different constraints; that's why it's approached differently. But this type of automation very often has a very strong component of how to show it, and you will see this very simple diagram. Maybe the process behind it will even be simplified, just to be able to have a clearer idea of what's happening. Obviously, when you're automating how to push your front-end server, the risk is very different, so the trade-offs are very different. But still, I do think the representation of automation is actually a challenge. And a good way to build confidence at the same time. So probably good places to investigate.\n\n**Viv:** You mentioned intent versus imperative. And then also a while back, I know you were talking about part of automating might be either choosing to implement what the user would typically do— I think you used a general existing process— or kind of shifting perspective. Do those map to each other? Like does one translate into imperative, the other into intent, or is that a separate result?\n\n**Pierre:** Yeah, [I] think they will often map; they are at least very correlated. Not necessarily, but they will be often correlated. And I think there is space for both the imperative and the intent one. I mean, I've spent the last few years working on an intent-based system. So I'm clearly biased toward intent-based automation. But I do think there is clearly space for things to just work better as imperative. So those are a bunch of trade-offs. One of them that was mentioned is that intent might be harder to debug because it's harder to determine what the system is going to do. While with imperative, you might have even written your server steps, so it's very easy to understand. And that also ties back to the pet versus cattle— is that is a part of your system that you really care about, about the various steps you once tied control, like every week? Maybe you're going to adjust a bit of the steps. Imperative is probably going to be the way to go. For all the rest, that should probably be intent-based.\n\nAnd from what I've seen, also, people tend to go more on the imperative side, because people like to— I mean, it's normal, me too— like to have control over other things, and the imperative workflow tends to give you this impression of control. But moving to intent adds also benefits because, well, firstly, it might automate more, so it's likely to break less often, to a large extent. And that will also encourage many rules across what will be different types of workflows. When you write a workflow, you do that from the perspective of what update you have to do. Like, I want to update my binary, so you're going to write that. But your system is likely more complicated than a single binary, because maybe first you have 10 binaries to run. And then you have the configuration of your database, you have your Pub/Sub config, or your load balancer. And then there is probably Kubernetes into the mix somewhere, which probably needs some configuration, and so on, and so on, and so on. When you take the perspective of an imperative workflow, you're going to miss all of that. So you're going to need to plan, but okay, how is that interaction? Is there another workflow? And people don't do that in the end, because it's complicated.\n\nWith intent-based, you can have a better picture of what needs to happen. And then oh, yeah, I'm just going to stop there— the push of my new binary— because I just saw that there was a change in the database schema 10 minutes ago, and I should not modify the binary because that might be too dangerous to do it now. So it gives you more options to do that.\n\nIt's also: quite often, intent-based allows to shift—how to put that? Everything that people would have learned over time, on how to— I'm missing an expression here— all people have learned how a proper push should be done in your company, in your project, whatever. That allows you to encode that much more easily. In an intent-based system, compared to a workflow, while workflow tends to encourage a lot of customization, so when you want to avoid the customization, going on the intense intent side is quite helpful. And actually, I've seen that. I happen to have discussed recently with people from a few other companies building on intent-based systems and they were usually not working on intent-based automation for their own service. But because they are providing an automation system or production layer to other teams who're there— developers to multiple developer teams. And that was their way to actually encode those best practices. So it was a very good way of doing that, some things that workflow-based is quite often harder to do. It's not— as with everything computer stuff— it's never impossible, but it's a lot harder with imperative workflows.\n\n**MP:** So looking over the episode notes, here, I see this phrase \"delta-based production changes.\" And that's not a phrase that I've actually heard before. So I'm wondering what that actually means and kind of how that relates to this idea of intent-based versus imperative automation, and can that be used for either. Is it like an entirely different idea? I'm just not really sure how to parse that phrase.\n\n**Pierre:** Yeah, I think that's also one of the things which is correlated, but not the same, in a sense. Okay, so what do I call delta-based changes? So, in the end of automation I've been talking about— we've been talking about— is about maintaining your infrastructure and maintaining your production. And that's maintaining it in the face of changes. You want to change it because if you don't want to change it, there is nothing to automate, and we can all go on; it will be also boring and unlikely to live long. But we are here to deal with changes to your system. And whenever you introduce a change to your system, there are two big ways of doing it: either by data or by absolute value. So, a specific example: you want to change the number of tasks you're running for jobs— the number of replicating a Kubernetes deployment, for example. You can either send it to your system or indicate somewhere \"oh, by the way I want plus 10. I want 10 extra tasks.\" Or you can carry around the change that you want: now you want to have 50 tasks because before you had 40 tasks. Now your target is \"50 tasks\"; it's not \"plus 10.\" So it is what I did in the sense of workflow vs. intent because intent naturally goes to a world of using absolute value, while with workflow, it's very tempting to have those deltas.\n\nIt can get tricky also when you look at the details— that's where it gets messy because in the obstruction when you look really inside it, depending on how you look at it, it can differ. So what might start as a \"plus 10\" might be then converted later in your pipeline as an absolute value. And so, yeah, so the reason I was mentioning that I guess, it possibly applies— does it mostly apply to intent? No, actually, it probably applies to both. So the problem we've seen with delta-based changes—so where you carry the change you want, the delta you want to apply (log those \"plus 10\" tasks)— is that prediction never ends up in the state you want, somehow. That's also one of those big mysteries that production is always more complex than you expect. And so when you're just carrying around those plus 10, then you're going to have problems. For example, you might guarantee at least one semantics. Well, now you've added 20 tasks instead of 10 because something in the middle failed. Well, not good. While if you add the absolute value, you can retry as many times; it will be still 50 tasks in the end. And I've lost my train of thought— sorry about that.\n\n**Viv:** I also didn't know what delta-based production changes [were]. I mean, I did know what it was, I guess, but I didn't hear that term.\n\n**Pierre:** So those are the things that it's difficult to guarantee as a semantic of your changes, and the importance is great for automation because [with] computer systems, you can usually guarantee at most once or at least once, and with delta it is difficult to manage. And the other one is bootstrapping. And quite often, you want to understand whether production is actually matching your intent of what you're supposed to have, or maybe you have a big outage. So you have to take down many things— you want to recreate it and you need this absolute value. You need this 50 tasks. And if you just add like delta applies, it might be very odd to reconstruct. We had some cases where those— which were particularly odd to work with— where those delta were themselves being transformed into the type of process... imagine that you're increasing an amount of quota, but this quota it's, let's imagine, I don't know, it's something like your database quota, but your database to run below it needs some compute resources. So when you ask my database to be twice as big, that means maybe I need now three new servers, a bit more quota on my Pub/Sub system, whatever.\n\nBut this translation varies over time. Because yeah. Today, doubling the size of your database, adding two extra servers on your database, might mean having only one new computer— like [an] actual machine. Maybe in six months, that will mean three machines, or maybe that will be optimized [and] it will work differently. This translation function between what you're asking in the first place and what you're getting in the end, that changes over time. And if you manage that with delta, well in one year, you will have no idea why you have the resources in the end. There were a bunch of requests. You can probably look at the history of their requests, but you're not going to have a good time [with] that. So dealing with absolute values when you can is great.\n\nIt still makes sense from a human perspective to have some places where you can just say, \"yeah, I want 10 extra gigs of memory because that's how we think about the problem quite often\", but as soon as possible that should probably be managed to absolute value when you can, and that will make your—I think I have a strong opinion on that one—that's going to make your automation probably work better.\n\n**MP:** Yeah. It sounds to me like the major problem there is that with delta-based: you're adding an additional dependency back to the current state of production.\n\n**Pierre:** Yeah.\n\n**Viv:** Yeah. [Laughs]\n\n**Pierre:** I really like how you put it. Yeah. You add the dependency on your current state, and you do know, we try to avoid that. A bunch of us think Prodspec, so Prodspec, you know, that's a representation of one configuration at Google. And one very strong principle we have is that we can rebuild this configuration without looking at production. It makes it easier for many small things— some larger than others— like rebuilding something which crashed and disappeared and was deleted by mistake, for example. Yeah, and when you do a delta, that's exactly that indeed— that you build on the current state, and your current state, it exists only in production, and that quickly has limits. Yeah. I guess there are some cases where it's still fine— all those parts of configurations that you never really change. Like you initially created your service in your cloud provider interface. You did that once for the lifetime of your service and maybe from time to time you need to change some things there. Not automating that is probably fine.\n\n**Viv:** Yeah. Speaking of complicated things that potentially change, what about continuous enforcement? I guess in particular, too, I know way back we were talking about when to apply certain principles to, you know, intent versus imperative systems or workflow systems. So, I don't know. Do you have—\n\n**Pierre:** Yeah, continuous enforcement, yes. That is also something I feel strongly about. Continuous enforcement. [Laughs] So the idea of continuous enforcement is that [you] assume that you're managing your production by having a configuration somewhere. Maybe it's in a Git repository, maybe it's in a database. You have your configuration somewhere and you have the state of production elsewhere, and you need to reconcile that. So typically, you update your configuration, and then you want production to be updated. And the idea of continuous enforcement is saying that the moment you modify your configuration, it's going to be automatically applied to production.\n\nSo one aspect I think is more of, how do I put that? It's more of a policy question. What do you want for your system? Do you want actually to have someone having to trigger explicitly as a step or not? And I do believe there are— I don't have a good example in mind, but I think there are cases where it might make sense. But for me, that's a policy decision. That should not be guided by the limitation of your system. The technical limitation is that yeah, I'm deciding that I want someone to actually push that. And I guess that ties to the explicit human validation. Like having confirmation by someone reviewing it and that ties into that. Yeah. I do want this explicit step and okay, you're not going to have really continuous enforcement there. Or, what you're saying is that yeah, what I have is the configuration, for me, for all intended purposes, that is a state of production, so just make it happen—safely, hopefully, but make it happen. And that's where you really want continuous enforcement.\n\nNow, what I've noticed is that production is always more complicated than what people think. I don't know why. And people are expecting their own production and they still get trapped. And me first, to be very clear: that's always tried by, oh yes, that was this thing. I never thought about this interaction. I never even thought about this domain of problems. So things are always more complicated than what we expect and what we end up finding with systems which do not use continuous enforcement, is that they are deltas—I should not use \"delta.\" There are *differences* which creep up between the configuration and the state of production and those differences are going to creep up and then someone arrives; they did their own change of the configuration and they want to push it. And certainly, they try to update production and when they update production there is not only their change, but two weeks of changes by other people, which they probably have no clue about in general.\n\nAnd that has led to many outages, actually. We have a certain number of postmortems, which are basically that yeah, that was not pushed when we pushed it, it was not the right time anymore to push it, or other variations of \"they are off\", and absolutely everything goes wrong. So by having continuous enforcement, you avoid this world class of problems. That is basically avoiding what caused the problem. Extra advantage: you're changing production closer to the moment where someone changed the configuration.\n\nAnd this elapsed time between a change of configuration and a change of production is important because the longer it is, the harder it is going to be to debug because the assumption might have changed. Like, oh yeah, I've changed—we configure our cache. Yes. But in the meantime, there was another server which was introduced, which was impacting the cache differently. That's one aspect. The other aspect is just altering the past. So maybe the person didn't change in the first place. So yeah, I'm on-call currently so I'm going to watch it, but then now that the other on-caller who is taking care of that when it gets actually pushed and they have no clue about it, or you might just have forgotten about it. I mean, I see that when I write code, is that I usually forget what I did the last week. And for production configurations, there is no reason that it is any different. So continuous enforcement is going to help you tremendously with that.\n\nIt is tricky and we are talking about getting confidence into a system, so it's usually a relatively difficult step because it's a change in mindset. Because you have to trust the machines to do the thing automatically. You don't have this push tool that you run, which can be difficult to change. And you have to build the confidence that it is going to do the right thing at the right moment— that you have encoded all of the constraints and then, oh, yeah so that actually pushed in the middle of the weekend, something which was very risky. Yeah. Why? Yeah, because someone submitted a change on Friday, and that started to change. And then, yeah, next week, you know, you're woken up on Sunday at 6 am. And those things need to be encoded. So that's where to set up a continuous deployment. I think it's very, very often with it— when very often where it fits our cases. Where it's not, I would guess that's when the automation does not do a good job at evaluating the results, for example. But more often than not, I think it's good to have. And that doesn't prevent you to have an explicit manual step of approval. If the policy— if there was a policy where that makes sense.\n\nOh, it also helps for something else actually as a continuous deployment— sorry, it also helps for something else as a continuous deployment. I don't think it's specific to Google, but I've seen it mostly at Google, is that for turn-up management, so that probably mostly applies to large services, where you quite often need to set up a new copy of your stack, because you're growing your service regularly, or you're moving it around, and so on. So some of it probably tends to be Google-specific, but anyone with a large service will probably have to quite often turn up a new instance of your service. And I've seen countless attempts at automatizing that, like, and that always started with someone documenting the process, the newbie on the team being the one having to do the next turn-up. Sorry about the experience, but it allows you to learn about the system. But so that's how it goes.\n\n**MP:** This sounds familiar.\n\n**Viv:** It sounds like me! Okay. I did this very recently. [Laughs]\n\n**Pierre:** [Laughs] Exactly. So yeah, it happens. Exactly. So I've seen many attempts of saying, okay, so I think actually if it were documented, we know exactly the steps that we need to have. Let's have instead this workflow, this script, this automation tool, which is going to take care of the turn-up. And when they can— when this approach is taken, I've never seen that working. I have never seen an extra example where the end result was actually better than doing it manually. And it was also quite often more frustrating because what was happening is that first there were many steps, which were manual anyway, because I was not doing automation, and there was not— the work was not put into the actual underlying automation. So it was still manual anyway. And more importantly, things were breaking over time, because those things, even if those turn-ups are more frequent than people expect, it's still like once, maybe once a month, once every two weeks, and so the assumptions behind the turn-up documentation changes, and there is always a step broken— like always.\n\nAnd when the step is broken, when you did it manually, yeah, you know which commands you run, so you can debug it— it's not pleasant, but you can debug it. When it's your automation doing that, then you have no idea. You have this step in the middle with a crappy error like context, deadline exceeded, which failed. And it's impossible to debug. And I've never seen this approach work. What I've seen working for turn-ups was taking the problem completely sideways through continuous deployment, continuous enforcement, in the sense that here we're completely changing the premises... instead we are saying that we are modeling production— that's what our production should look like at any point in time. And we continuously enforce that.\n\nSo, that's why I do turn-up almost for free in the first place. Because, well, it's part of the modeling, so to do turn-up, you just add your new cluster— how complicated can that be? And you get your new cluster turned up; it's great. And also, it means that when the architecture is changing of your service— which happens, again, more often than people think of, well, because of continuous enforcement— continuous deployment is always running, then we have to fix it immediately when they are changing. They have this new cache server? Well, we have to be part of the modeling that you're doing. And it's not, it's going to blow pins on one's face very, very quickly. So you have this quick feedback loop, which makes it easier to debug in the end. And that's the only approach I've seen working for managing those turn-ups in practice. And I guess that will apply for any type of automation that you do often, but not that often. And that provides us a solution for that.\n\n**Viv:** Yeah, as mentioned, I did relatively recently— just because I'm relatively new to SRE— turn up a service, but I also recently turned down a service. Is that any different in terms of your recommendations there?\n\n**Pierre:** Turn-downs. I don't know if I have a recommendation. I have very warning signs when it comes to turn-downs. I have not yet found a good way of managing intent-based turn-downs. So one is that turn-downs are doomed to be seen as a symmetric problem of turning up. And they are very different problems in practice. I do understand the symmetry of it— in my mind, I like the symmetry of systems, that's great— but it's a completely different problem. Because in turn-ups, when you screw it in the middle— the consequences, you read zero, because that's your new cluster, your new cluster, you forgot to turn up the front-end— well, no one is impacted, because you're not sending traffic there. Mostly. I mean, things get complicated, but to me the risk is much lower.\n\nSo turn-down, yeah. Any mistakes? You're going to have an outage. That's roughly the baseline. And it just might be worse than that. We were talking about deleting data. And there is one thing which keeps me up at night when it comes to automation: deleting data. Because if I take out the front end, not great. I'm not going to be happy about that. I'm going to be stressed, but it's easy to fix. If I'm deleting a large chunk of data... that's a lot more complicated to recover. We have packets and so on, but it's very, very complicated to deal with. So first, there is a big risk aspect of turn-down, which is very hard to deal with.\n\nSo here are a few tricks. A common trick, for example, for turn-down of stateful data, of actual data, is that you make it inaccessible. So if you have an ACL system or sub-security system, you say, \"Okay, I'm not deleting the data.\" But as the first step of my turn-down, I'm saying that, yeah, you cannot access it anymore. And then you realize that when everyone told you that, yes, I'm not using this data anymore, you find people who actually are still using the data. They have a small outage, but this small outage is when you remove the ACL and everyone's happy again. So that's one trick.\n\nAfter that, if I want to deal with turn-down of intent-based, it's tricky. There is one pattern I think should be absolutely avoided, in most cases: turn-down—what I call turn-down by absence. So there is one thing which is very tempting to do when you have a relatively cleaning turn— relatively clean description of what your position should be. Something which is very tempting is to say, okay, but it means that anything that is in production, but not in my intent, in some scope, should be removed. Because that's an easy way than to manage your turn-down: you just remove it from your config, and it gets deleted. And that works. I will not use that for anything more beyond tests, let's say, or really not important production— or production which can be down for an hour or two without problem. Because in practice, when configuration gets wrong, that's probably one of the biggest failures usually with configurations: is that something gets generated in the middle, there is a bug in that. It's extremely common. And then suddenly, you have only half of your configuration which is generated. Oops. You don't have your production anymore. And there are all variations of that where the automation, something, will go slightly wrong, and suddenly, you don't have your production anymore.\n\nThe approach we've been taking instead is that we need an explicit signal. So it's that you model also what needs to be done— your job. You still describe it, but you add a bit, which indicates that it needs to be done. Managing this information gets tricky. For me, that's still an area of, I was gonna say, research. That might be overselling it, but still something where we are iterating on how to manage that.\n\nAnother pattern I've noticed, which makes it harder, is how people think about turn-down. So what happens first, for large services especially, which is where my experience comes from, is that with Gmail, Blob Service, is that when you turn down something, it's not a one step process. It's many steps and it can take sometimes weeks. So imagine that you want to down a cluster, and you have a lot of user data there. So you will want to move this user data first. But while that is happening, which can take a lot of time, you still want to serve those users, obviously. So you have the signal of turn-downs that you're starting to turn down at one point, but you're still serving, so you still need to have your job running— you might still need to update them, even if that's taking a long time. If that's taking more than a day, you probably still want to update them.\n\nBut that's surely not how people approach it. Usually it's more, \"Oh yeah, I want to get rid of this blank, so I'm first going to remove it from the configuration, and then I'm going to clean things up.\" And that's a bit obvious when said like that. But I've noticed that again and again. I've done it myself. So yeah, so it makes the primers more complicated because once the configuration has been removed or completely removed. And that you don't want to do turn-down by absence because it's dangerous. What do you do then? Which thing do you use? How do you even identify what needs to be turned down? So yeah, in Java, while navigating, trying to do a mix of adding extra safety measures, there is always an infinite string of defensive measures that we can add, and trying to provide various tools to avoid people shooting themselves in the foot, or else all things are [a] foot gun, I guess, in some cases.\n\nThat's another thing with automation— is that automation can be safer, and I think it's safer in many cases. But the failure mode is very different from humans. When someone is in control, it's more likely it's going to do random mistakes, like really random mistakes, but that will be usually more limited. The automation is not going to do random mistakes, because that's what it's been doing like millions of times before. However, when it goes wrong, the mistake is also automated. And that can go much worse in that case. So that's a different kind of differences are needed there.\n\n**Viv:** Thank you for shining some light. So I think I just have one more, hopefully— not like that, I'm sure we could do another episode on this— but kind of a quick question in this frame of mind for you. How close are we as SREs to automating ourselves out of our jobs? Which I know is something people like to riff on a lot?\n\n**Pierre:** Yeah, that's the usual saying, especially behind automation, that okay, what's the goal of automation? Well, I'm lazy, I don't want to do— even if I'm lazy, actually, I don't want to have anything to do. I don't know, I always find this framing, I understand the framing. I also like to do other things than those toil-y aspects. But my perspective on it usually is that it's about complexity management quite often in the end, and I do believe that we're mostly—all of us are mostly working at a fixed amount of complexity. We can deal with a given amount of complexity, and yeah, that's it. And if we simplify something by automatizing it, this complexity is going to shift elsewhere. And this complexity might change a bit over time; for example, you're tired, yeah, you're not going to be able to cope with something stupid in your automation or something stupid in your code, and so on. Or you've just changed teams, you're full of energy, so okay, bring it on, you can understand every— you can try to understand everything, and that overall is complexity. So for me, it's not automatizing yourself necessarily out of a job. But it's wondering *what* to automatize so you can shift the complexity to a place that you actually care about having complexities there.\n\nThere is an obvious answer to that quite often, which is related to automatizing yourself out of a job. You will usually want to move toward being able to take enough features or more services with less people— that's quite often going to be in the direction to simplification, of course. But given that it's not a one-step process, thinking about where is the complexity and which complexity you're willing to trade off instead, is the framing I find interesting because your automation comes with its own complexity— you will have to manage your automation. And it can be more or less good.\n\nAnd there are some places where the automation is going to be a lot more complex to manage and some other— sometimes automation is a no brainer, so that's easy, but sometimes the automation has a cost to maintain it, like how to automatically evaluate your push. Is that worth doing all those fancy statistical systems? Someone has to understand it, and that's not going to be me. That's for sure. And what do we do with that? Do we want to remove the complexities that way? Okay. I'm going to catch up on my statistics, maybe? Yeah, in the end, we are dealing with complexity. And where do we shift it?\n\nComplexity's also— I guess, it's also related to what people enjoy doing more or less because there are some types of work that one person is going to find extremely frustrating, while the next person [thinks], \"yeah, it's a bit repetitive. But okay, I phase out, I'm taking care of that, I'm used to it, and I'm going to enjoy it.\" So this might even differ between people. That's where it goes into team management. But that's a different kind of form.\n\n**Viv:** Well, thank you so much for coming to chat with us today about all of this. I definitely found it very interesting and informative. So yeah.\n\n**Pierre:** Thanks a lot. Thanks a lot for hosting and for forwarding the good questions. I also enjoyed it a lot.\n\n**Viv:** Great.\n\n**Pierre:** I hope everyone else will also.\n\n**MP:** And we want to make sure that our listeners know that just at the end of last year, you had your author on [a whitepaper for Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production), which are Google's current solutions to these problems.\n\n**Pierre:** Exactly. Yeah.\n\n**MP:** We will have a link to that whitepaper in our episode notes for folks that want to follow up with that.\n\n**Pierre:** Yeah, it describes everything that we're doing nowadays for continuous deployment, to a large extent, to automation. It's very long, because I tend to give a lot of details, but I hope people find some interesting bits in there.\n\n**Viv:** We'll definitely link it here so folks can head on over. All right, I think that's all. So, thank you again and... we will be back with an episode next time on on-call, so see you all then.\n\n**MP:** Thank you.", "znaku_textu": 60697, "slov": 10973, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:13:16", "sha256": "d0f3d7a083176fb4297a7ac5ce509e2ce1ce03a7ddc9195deec4232efa256c2a", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production", "https://xkcd.com/1319/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06/", "titulek": "Google SRE - Automation strategies with Pierre Palatin", "h1": "Automation with Pierre Palatin", "popis": "Automation Podcast: Deep dive into automation best practices and strategies with Pierre Palatin, explore real-world examples of successful automation initiatives.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06"}, "headline": "Automation with Pierre Palatin", "description": "Pierre Palatin dives into different automation strategies, how to build confidence in your system, and why designing the UI may be your biggest challenge.", "image": "https://kstatic.googleusercontent.com/files/a50529256f88e31f8753b875528fbb439014807fc6190eea3e07db5cab9eeef4ff8db20d7ab05d67ec82bd2759d845051ecc93705cb601aec589bd3293d8a6b9", "author": [{"@type": "Person", "name": "Pierre Palatin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Automation with Pierre Palatin"}], "markdown": "# Automation with Pierre Palatin\n\n**Pierre Palatin** dives into different automation strategies, how to build confidence in your system, and why designing the UI may be your biggest challenge.\n\n**Viv:** Hello, and welcome back to the SRE Prodcast. This is a limited series where we're discussing concepts from the SRE Book with experts here in Google. I'm Viv, and I'm your host today, along with MP—\n\n**MP:** Hello.\n\n**Viv:** —and we are here today with Pierre to talk about automation. Hi, Pierre.\n\n**Pierre:** Hello.\n\n**Viv:** You want to tell us a little bit about yourself and your work at Google?\n\n**Pierre:** Yeah, of course. So I'm Pierre. I've been an SRE at Google for a long time now. I've been at Google SRE since the beginning [of SRE] for 14 years. I'm more on the software engineering side of SRE in general. I've been working on Gmail-related topics for the longest time as an SRE, where I learned a lot about how to run large production systems. But nowadays, I'm working on something called [Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production). So that's what a big chunk of Google production is using nowadays for doing continuous deployment— so, how to manage your production configuration at scale— because we have a lot of things which tend to get in conflict, so that tends to be a lot of work. Yeah. So that's what I do at Google. And outside of that, I'm a nerd. So usually, I do all computer-related stuff. I like graphic rendering, programming in general. And outside of that, when I'm not talking about computer stuff, I'm probably talking about food. Usually.\n\n**Viv:** I love it. Those are all great topics. So, automation. I guess the first question I have is: why should you automate? What are the main reasons to go in that direction?\n\n**Pierre:** Why would someone want to automate? Because yeah, automating something is actually a bit of work. And it's not always what is needed. So from what I've seen, there are usually two main reasons, I guess. One is related to toil, and the other one is related to safety. So the toil-related is— so, toil as in, there is something that you need to do, you have the impression that you need to do it often, and it's frustrating to do. That's usually a fairly big creator. It might not take that much time in the end, but it's very frustrating. So there is this ratio of frustration versus time. And to produce that same excellent sign that you want to automate it, because for many people, it's more fun to automate it in the first place than to toil the thing. And that can end up with a better result, and you might have more time to do and to work on improving a part of your system. So toil is what I've seen as usually being the main motivation or the biggest factor for automation.\n\nSafety will be probably the second one. I'm probably forgetting something. But safety is also commonly mentioned because we know that [we] as humans tend to do mistakes, and sometimes very dumb mistakes. And automation can avoid a world class of problems. It does replace it with another class of problems. But it does prevent a large chunk of issues. So having a computer systematically verifying that all those five properties before pushing something are verified is better than someone who is going to be tired this day; they had some family problem and is always going—they are going to screw it up or just because when we're too worn we screw up. So that's quite often the other reason why people want to automate— I've noticed at least.\n\n**Viv:** I noticed you mentioned that, as you said, automation can take a lot of time. It can be consuming up front, so it is putting the work up there. So it does sound like there are a lot of good reasons to automate. Do you always move in that direction first? Or when do you make that call?\n\n**Pierre:** Yeah. And it's not always easy to determine that, right? So I have my software engineering side, which makes me always want to automate— there's a wonderful [xkcd](https://xkcd.com/1319/) about that, about the cost of automation, that does not necessarily make it a good idea all the time. I guess there [are] *a priori* a few things to look into. I've mentioned the frustration of people having to do the work. I think that's a very important one because when people are prepared to work on interesting stuff, I mean, it's kind of a tautology, right? And so if you can automate it— automate something that is frustrating— that would be an excellent sign. It is pretty worth spending the time on that.\n\nThere is also a more project management side of it. So that's less of my domain, but in the end, well, if you're doing that in context of a company or an organization of some sort, there will be some trade-off about the time you need to spend up front. Do you have the time to do it now? Is that worth the time? Or are you just spending two quarters of work for saving a week of work? Maybe that's not worth it. So that's [the] project management kind of things. And from that, I could believe that automation is not necessarily different from many other projects. That's like looking at the trade-off both from a human, people perspective and from a technical perspective.\n\nThe other thing to take into account is the difficulty of doing it. Because there are some problems which are easy to automate, and even if the game is not that clear, if it takes you two hours, maybe just do it; and some others, which might save you a lot of time, but the end result is not clear. Is the end result going to be actually saving that much time? Or will it break down every time you use it? And that will be also be a criteria— I mean, if you want to automate something or not. That one, I've noticed that it's very, very hard to tell up front is the number of times that we saw that we were going to automate some things that's, \"yeah, it's going to be great, we have these procedures that people follow up, and of course we can automate that,\" and then realize, yeah, it's breaking every single time because okay, it's actually difficult to measure this metric to know if the push is working. Or it's difficult to model that because it's changing all the time and so on.\n\nI think, yeah, and what to automatize also is probably a criteria. People care about automation— [that's] a generalization, so that goes as far as it goes as with any generalization— but there are things about your productions that you care more [about] than others, and in the sense that you will look more at the details. For example, [for] all of the services, I know there is usually at least like this one big, central server that's a really important part where all of the engineering bandwidth is going. And then there [are] all the supporting servers that people don't really care about. They are unnecessary. When they will be down, you will probably still have an outage, unfortunately. But they're less on top of people's minds. And I found out that things which are more on the sidelines is a prime spot for automation because people will not care about the details of how it happens. They just expect that it happens. And their automation will be great.\n\nI guess it's a variation of the pet versus cattle metaphor: when you consider it as a pet, automation might help. [That's] definitely its place. But that might not be the best way to start. Why is the cattle inside? Yeah, you would probably want to automatize it because you don't care how it happens. You just want it to happen. And you probably have a lot of it, also. So yeah, that's where you will usually start for determining what needs to be automated.\n\n**Viv:** So in terms of automating, what does it actually mean to automate a system?\n\n**Pierre:** Yeah, what does it mean? And how much do we want to automate? The things in question and one reason is that it's one of my— a pet peeve of mine— is that about automation, when automation for me makes a lot of sense. Either one thing which makes far less sense to me is automation tools— like there is this one ecosystem of tools which seems odd: oh, yeah, those are automation. And those for me make far less sense. They have their space in industrial automation. But here I'm thinking more of [automatizing your production](https://sre.google/sre-book/automation-at-google/), which is running on Google Cloud, on AWS, and so on, so this kind of large internet services, typically, production. And for me automating is the process of going from something that has been done manually to an extent— so this is a subtlety here, of course, but from going from something manual to something which is part of your service. It's not something special, it's not necessarily a workflow— I think it might be?— but it's really part of your service.\n\nSo, do I have an example for that? Yeah, for example, for managing a mail system— a webmail system, let's say— and you need to deal where each mailbox is located. So you need to manage the load, you have like two [or] three regions, maybe, and you need to manage the load and initially you start with a small service. So from time to time, you have someone who looks into it and sees, yes, the cell over there is a bit overloaded; I should probably move more people there, or create new people. And you do that manually. Initially, it works because you don't have many users; that's great. And then you realize that it starts to get annoying— people do mistakes while you're doing it, and so on, so all the usual signs of yup, we should automate that.\n\nAnd here you can have two approaches. One is okay, we have documentation about it. So I'm going to take the documentation, I'm going to use one of those automation tools, and I'm going to implement this process. Or you can change a bit of perspective on it and instead think, \"Okay, now I have my system, and I want it to automatically manage the location of my users.\" There will be a bunch of criteria; the load is one of them.\n\nAnd for me, the second approach is going to work a lot better. Like, taking a process which was made to human and transforming it into [an] automated step, but very similar, does not work well— I've never really understood why it does not work well, but in practice, it does not. Those processes never end up working well; I don't know why. I guess one of the reasons is that usually they are not running all the time. So things break down over time. The constraints of what is doable by human is very different from what the computer is good at doing. So that is a different constraint.\n\nAnd so yeah, changing your perspective is that yeah, no, you're not building automation— you're building your service; you're building infrastructure. And here's the constraint: I want to keep the load of my users, my mail users, my mailbox properly balanced. How I will do that? Oh, I will probably have something which continuously verifies the load's data through seven days' average, whatever, and go from there. Sometimes you might end up with the same result, continuous integration— so the process of creating your next version of your binary quite often looks very similar. But the perspective, I think, is important there.\n\nI think that was the second part of your question. Yes. Oh, yeah. How much should be automated and what's the place of the humans and people in this automation? I guess, especially I think I mentioned something like, \"automation is about going from something manual to something [that's] part of your infrastructure.\" I would like to say that, yeah, it means that everything is done by the computer, and then you don't have anything to do— that would be great. The reality of all the systems I have had to manage is that I've rarely seen a system that runs itself; in the end, there is always something to do. So I would imagine that the answer is not clear-cut about what the involvement of humans is.\n\nI guess a different aspect to consider: so first, the involvement of humans, of people is probably going to have a lot of variation. There is a difference, because why are they involved? Is that— is someone involved because they have to fix the bug? Okay, we're still going to have [that]; I mean, we try to reduce them. But it only goes that well. And then there [is] the involvement, because it's part of the process— the typical case is approval, like there is an approval step, for example of moving your mailbox around. Maybe you want someone to validate the new layout of your production when it rebalances things. And yeah, you want a human in the process.\n\nSo yeah, for the first one for bugs, and so on, that's going to happen here, you want to reduce that. And I would say that is more of a sign of a failed automation or not. If people often need to fix those bugs, probably the automation is off the marks— something's missing. It's hard to understand a lot of the time, but once you start running into the problem, it might be easier to identify that. Yeah, it's really difficult to know whether a user move actually worked, because that's always a mystery box over there, which does not do what we think it does, and so that makes all of the automation not work.\n\nThe manual part— as in manual, as expected, and as part of the process— those are [the] typical ones— is wanting to have human validation. Yeah, this one I never know what to do with. Internally, in general, so at Google in general, our approach is that we should have the least amount of that possible for infrastructure management. There are many things at Google, and for infrastructure management, in general, that should be automated. And the reason, usually, is that we consider that decision that someone will take will not be as good as what the computer is going to do. And it is true to an extent. And we see that when it comes to evaluating the quality of all this.\n\nSo you have a new version of your binary, you push it through a canary, and it's running as a canary. And so before continuing to push the rest of production, you want to evaluate that. That's normal. And it used to be the case that the instruction in the playbook was saying, \"yeah, go look at the graph. Good luck.\" And instead, we replaced that nowadays. We have [a] system which looks at those graphs automatically. And it's great because I don't like to do manual work. And we have pushback on that initially because the automation is going to miss things which looks of use to humans. Like oh, yes, that was obviously a spike. And yeah, because you did some kind of statistical analysis— I don't know anything about statistical analysis, but we do a lot of them, I know for that— and your statistical analysis misses this obvious spike; that sucks. But overall, for these kinds of things, we've noticed that yeah, it's quite accurate that humans are missing things all the time. The automated one might miss some things that someone would have got, but overall is going to be better.\n\nThere is still space, I think, for a bit of manual approval. And it depends on the impact of a wrong decision as impact and that includes as a mitigation. So for example, if you push a stateless front-end server— a bad stateless front-end server— by mistake, I mean, it's not great. You will lose traffic, definitely. We try to avoid that, obviously. But you can just roll it back to the previous one. And chances are that that's going to be fine.\n\nNow, imagine another case where you're trying to update a database schema. So you have your database schema, you add new columns, you add a new type of data, or worse, you remove data from your database. Now the cost of— yeah, exactly. Deleting data, that's always an interesting one with automation. And the cost of doing a mistake is much, much, *much* higher. Because what— you deleted the data?! Hopefully you have backup, [but] it's not a strategy. So you have backup; let's assume that you have backups. But even then, it's going to take time and so on, and all those variations.\n\nI've seen outages, for example, where there was a small bug, and that generated corruption into the data. Well, that is a lot more work than just a whole bug to fix. And yes, those kinds of cases, in my opinion, might do with an extra layer of approval, like do sanity checks. Because, yes, the automation, the computer, will pick up a lot of things. And then we add the toil of the human [who] will pick another set of mistakes. And you will go with that. Yeah, and in general that's what we're doing: we remove most manual approval steps. I think we do have one for some database management and things like that.\n\n**MP:** There's one case of automation that I'm a little curious about. I'm trying to figure out how to describe it well. I think it might actually fall in the category of kind of a roundabout manual approval when you have a free-floating parameter for your system, and you're allowing automation to basically manage that value for you, but you put limits on what that value could be. And occasionally a human has to go and adjust those values so that the automation can keep doing its thing; it kind of gets stuck on the edge of its limits. Because if you made the parameter space zero to infinity, your automation might just try to drive it to infinity, and then it causes other problems. Does that fall in the manual approval space? Or is that slightly different?\n\n**Pierre:** That's a very interesting question. I know less about those systems where typically yeah, I've seen a lot of those types of automation for managing the shape and the size of your job— like the amount of memory you're using, the number of tasks [are] typical examples that comes to mind from what you describe. And yeah, I guess yeah, I guess it's a type of manual report. That's true. That's true. Because the reason I would add those limits in the first place is a sanity check is that yeah, I want us to adopt the thing automatically. I mean, exactly like you said, but yeah, I don't understand the systems that well. I know that your systems are awfully complex, so we cannot predict everything, unfortunately. And I know that, yeah, if it starts using no memory, or more memory than a single machine has, for example, for the obvious extreme, I don't want that. And probably yeah, I don't understand how this system is going to work so I'm going to put limitations, and in a way that's very similar to those manual approvals, where it's to catch a different type of mistake that the computer can do, but a human can trivially block. Yeah.\n\nYeah, this kind of automation is also— you never know what to do with this kind of automated adaptation. Because the failure mode— it's very useful, because you start a new server, you want multiple copies of it, they might have very different load profiles, for example, so that just adds up automatically. I avoid the toil of having to tune all of them. That's great. But they have other effects, which is that they hide other problems. And so you're going to have, for example, your memory usage, which is going to slowly creep up. And then suddenly, you cannot start your new job, which is like the other kind of your production, like completely unrelated, but you cannot do it because it has been blocked by this small automation over there. It's a tough one.\n\nWhat do we do for— and that goes away from the manual approval, but for this kind of metrics— when we do automated evaluation of a push? In your automated evaluation of a change, there are two approaches that we take. And it depends on whether you know what \"normal\" means. So, normal in the context of your monitoring, typically, is that— and there's one approach with all this statistical analysis, which is yeah, you don't know what normal is, but it's going to tell you if that changes significantly. It helps with problems creeping up a bit, to an extent. And then there is a one which is close to those limits that someone places explicitly where you say \"Yeah, I think that, I don't know, I think the number of RPC errors I want to have; it should be around zero to one percent, for example, because I know my system.\" So that's how it is. And that can be also used to evaluate things. But that changes a lot of things on how to evaluate a result of the automation in the end.\n\n**Viv:** Yeah, there's a lot of different, I guess, factors that play in. So I'm curious: when designing an automation system, does it vary between, you know, whether or not you think that it'll be mostly totally on its own, no human approvals needed? Versus you think it will have more of that— I don't want to say collaboration, but if you are anticipating humans to have to do the sanity check for you?\n\n**Pierre:** Yeah, I guess that's— I would typically start with yeah, I don't want to have people in the loop. And then when I'm forced to have them, I will add questions suited to people. And when I'm forced, I don't necessarily mean by someone most of the time, but forced because yeah, I just cannot get a signal, for example, like I cannot evaluate the outcome of that; it's just too complicated or too noisy. That would be a typical case.\n\nI'm only half-joking about being forced because there is also a perception problem. So a bit further away from the purely technical, whatever that means, aspect of things, is the sign that— well, in the end there is still probably someone responsible for the system. Like, it will be an SRE on-call; we need to understand how things work, and we'd want to learn about all this automation work and build confidence on that. And that's a place where it can be actually useful to have those kind of human checkpoints in the middle, even if they are false or true, they are not really, but because they help build confidence, because oh, yeah, I've just adopted this new system over there, which permits me to be completely intent-based. It's magical. I'm fixing this place over there, and my production is going to be safely updated; it's great. And trust me, it's going to work. So as an SRE, typically you will be a bit skeptical of that. Because hope is not a strategy, as the saying goes, so you want to build confidence. It's a new system, you don't know it, and it's perfectly normal.\n\nAnd I do think that's actually one of the cases where it can make sense. Yeah, ask for approval in the middle. That will make people— that just helps us. People are getting more confidence because they know that the system is not going to progress on its own because they are in the middle. They can take a look at it and look foolish after a few weeks, where they have to go click that. That's usually the reaction of most people: is that \"Yeah, okay, can I have something which clicks the button automatically?\" Glad you asked— I'm going to remove the button and everyone is happy. Or the other way around is that every time someone checks, they need to fix something, and then yeah, okay, maybe we need to go back to the drawing board. So I guess that provides a— that can provide a very good feedback loop to improve your automation, also.\n\n**MP:** I think the other one that I've seen in several different places is a dry run mode. So it's not even asking for an approval or going to attempt to do anything. It's just always telling you, \"Well, if you'd let me, this is what I would be doing.\"\n\n**Pierre:** Yeah, yeah, this is dry run mode. When it is possible, to do a dry run mode is indeed a great way to build up confidence. I like to know what is going to happen, and I've noticed that I'm not the only one, indeed. It's like yeah, okay, that's what's going to happen. And I know I can run it without touching production. Hopefully, the dry run is indeed a dry run. I'm not going to say I've never had a postmortem, where the dry run was not a dry run. But that's a different story, I guess. [Laughs]\n\n**Viv:** Uh-oh.\n\n**Pierre:** I might have taken down Gmail this way. But yeah, no, the dry run is a very useful tool. What I've noticed though, in those Prodspec and Annealing I was mentioning, so what we're using for continuous deployment these days in many parts of Google is that there are some things which are very difficult to have a dry run for. And we have this intent-based system, where we decide what we are going to push next, evaluate what we've pushed, and then decide, okay, no, we know that we can update this place, because it's for the user while they are still sleeping, I don't know, I'm making things up here, right ? It's a very dynamic system and the dry run— and the system fundamentally— is built on to the result of evaluating the push. Like, you modify something, you evaluate it, and during a dry run, that is tricky. Yeah. I mean, you can say, \"Okay, I'm just going to assume that it passes because as a result, passing my joyride in my simulation\", but only give—that gives relatively little information. I guess what I'm arriving at is [it's] sometimes harder to do a dry run than others. But when it's possible, yeah, but by all means, it's a very good tool.\n\nThere are variations of dry run, also. What [a] dry run means for one person can sometimes differ from another person. Because we tend to have multiple layers of automation, I guess: one thing is going to tell something else to modify something else, there is maybe a cache in the middle, and some state-keeping over there, and then okay, what are you allowed to actually modify in your dry run? And what do you [not] want to touch? It's usually not too much of a problem. But from time to time, it can get interesting.\n\n**Viv:** This is maybe going back a little bit, but I really like build confidence as kind of a tip or guideline for maybe what your system should be striving for. I am curious, do you have any other tips or guidelines on what your system should include? In particular, as you just mentioned, you know, if it's interacting with other automation systems. I guess for both cases. What are good things to consider?\n\n**Pierre:** Yeah, I want to build confidence and improve— get people to use it, if you believe that's the thing to use, and so on. Yeah. So I guess I'm going to talk largely in the context of intent-based systems here. So there are often two types: big types of automation, imperative and intent-based. Imperative, that's your automation [where] you're going to describe the steps: first build the binary, then run in canary and verify that, then push to cluster A, then push to region B— things like that: very fixed.\n\nAnd then there's intent based, which is, yeah, I want a new version of the binary over there, and the automation behind the scene… well, not too much behind the scene. But the automation knows that, oh, before I can push it everywhere, all at once, I need to test it somewhere. Oh, also, I'm not allowed to push it all at once, so I just need to pick a place to start it. So that's intent-based. And one thing, which is tricky with this type of automation is that it's quite often disconnected from what the users do. So the users do modifications somewhere, and actions are going to start in another place. While in an imperative style workflow, then quite often the person is going to say, \"Yeah, push my config now,\" or \"Push my new version now.\"\n\nSo in the intent-based, there is this disconnect. When there is a problem, the person in charge of the system will have no starting point. Like, ah, something is wrong. It has done automation again, which caused [a] problem. It's probably right, to be fair, but this is very tricky— and that's very tricky to build confidence based on that. And here, that led me to believe that the UI of automation is absolutely fundamental. That's actually the most tricky part to a large extent of automation. And that's encouraging to help build confidence: how do you represent it? What do you show? Which kind of control do you give the user? Or do you need to engage the information overload, though I do have a preference for information overload versus not having the information? But it's tricky to balance. And that's actually one challenge that I'd say we are struggling with. No, it's not true, we have plenty of good solutions and so on, but that's a very tricky patch.\n\nAnd I think it might be worse by— there are people like me who like writing code. And so I'm usually the first one to want to automate something. And UI might not be the first thing on my mind. I don't mind writing UI; actually, I do enjoy writing a bit of UI. But that's not the first thing I do— let's put it that way. And it's very easy to fall into the trap, I think. I've seen that I'm not the only one in that situation, I've noticed— it's very easy to fall into the trap where you think and concentrate on doing the automation. Because it looks like the difficult part, when the difficult part might be the actual UI, and the UI will be fundamental to help people debug, to build confidence, and so on.\n\nI was mentioning industrial automation. So those big factories, like [a] chemical factory where you don't have a complicated process, but when the process goes wrong, you might kill everyone around— like [a] dangerous process, things like that. And this kind of automation, obviously there are different constraints; that's why it's approached differently. But this type of automation very often has a very strong component of how to show it, and you will see this very simple diagram. Maybe the process behind it will even be simplified, just to be able to have a clearer idea of what's happening. Obviously, when you're automating how to push your front-end server, the risk is very different, so the trade-offs are very different. But still, I do think the representation of automation is actually a challenge. And a good way to build confidence at the same time. So probably good places to investigate.\n\n**Viv:** You mentioned intent versus imperative. And then also a while back, I know you were talking about part of automating might be either choosing to implement what the user would typically do— I think you used a general existing process— or kind of shifting perspective. Do those map to each other? Like does one translate into imperative, the other into intent, or is that a separate result?\n\n**Pierre:** Yeah, [I] think they will often map; they are at least very correlated. Not necessarily, but they will be often correlated. And I think there is space for both the imperative and the intent one. I mean, I've spent the last few years working on an intent-based system. So I'm clearly biased toward intent-based automation. But I do think there is clearly space for things to just work better as imperative. So those are a bunch of trade-offs. One of them that was mentioned is that intent might be harder to debug because it's harder to determine what the system is going to do. While with imperative, you might have even written your server steps, so it's very easy to understand. And that also ties back to the pet versus cattle— is that is a part of your system that you really care about, about the various steps you once tied control, like every week? Maybe you're going to adjust a bit of the steps. Imperative is probably going to be the way to go. For all the rest, that should probably be intent-based.\n\nAnd from what I've seen, also, people tend to go more on the imperative side, because people like to— I mean, it's normal, me too— like to have control over other things, and the imperative workflow tends to give you this impression of control. But moving to intent adds also benefits because, well, firstly, it might automate more, so it's likely to break less often, to a large extent. And that will also encourage many rules across what will be different types of workflows. When you write a workflow, you do that from the perspective of what update you have to do. Like, I want to update my binary, so you're going to write that. But your system is likely more complicated than a single binary, because maybe first you have 10 binaries to run. And then you have the configuration of your database, you have your Pub/Sub config, or your load balancer. And then there is probably Kubernetes into the mix somewhere, which probably needs some configuration, and so on, and so on, and so on. When you take the perspective of an imperative workflow, you're going to miss all of that. So you're going to need to plan, but okay, how is that interaction? Is there another workflow? And people don't do that in the end, because it's complicated.\n\nWith intent-based, you can have a better picture of what needs to happen. And then oh, yeah, I'm just going to stop there— the push of my new binary— because I just saw that there was a change in the database schema 10 minutes ago, and I should not modify the binary because that might be too dangerous to do it now. So it gives you more options to do that.\n\nIt's also: quite often, intent-based allows to shift—how to put that? Everything that people would have learned over time, on how to— I'm missing an expression here— all people have learned how a proper push should be done in your company, in your project, whatever. That allows you to encode that much more easily. In an intent-based system, compared to a workflow, while workflow tends to encourage a lot of customization, so when you want to avoid the customization, going on the intense intent side is quite helpful. And actually, I've seen that. I happen to have discussed recently with people from a few other companies building on intent-based systems and they were usually not working on intent-based automation for their own service. But because they are providing an automation system or production layer to other teams who're there— developers to multiple developer teams. And that was their way to actually encode those best practices. So it was a very good way of doing that, some things that workflow-based is quite often harder to do. It's not— as with everything computer stuff— it's never impossible, but it's a lot harder with imperative workflows.\n\n**MP:** So looking over the episode notes, here, I see this phrase \"delta-based production changes.\" And that's not a phrase that I've actually heard before. So I'm wondering what that actually means and kind of how that relates to this idea of intent-based versus imperative automation, and can that be used for either. Is it like an entirely different idea? I'm just not really sure how to parse that phrase.\n\n**Pierre:** Yeah, I think that's also one of the things which is correlated, but not the same, in a sense. Okay, so what do I call delta-based changes? So, in the end of automation I've been talking about— we've been talking about— is about maintaining your infrastructure and maintaining your production. And that's maintaining it in the face of changes. You want to change it because if you don't want to change it, there is nothing to automate, and we can all go on; it will be also boring and unlikely to live long. But we are here to deal with changes to your system. And whenever you introduce a change to your system, there are two big ways of doing it: either by data or by absolute value. So, a specific example: you want to change the number of tasks you're running for jobs— the number of replicating a Kubernetes deployment, for example. You can either send it to your system or indicate somewhere \"oh, by the way I want plus 10. I want 10 extra tasks.\" Or you can carry around the change that you want: now you want to have 50 tasks because before you had 40 tasks. Now your target is \"50 tasks\"; it's not \"plus 10.\" So it is what I did in the sense of workflow vs. intent because intent naturally goes to a world of using absolute value, while with workflow, it's very tempting to have those deltas.\n\nIt can get tricky also when you look at the details— that's where it gets messy because in the obstruction when you look really inside it, depending on how you look at it, it can differ. So what might start as a \"plus 10\" might be then converted later in your pipeline as an absolute value. And so, yeah, so the reason I was mentioning that I guess, it possibly applies— does it mostly apply to intent? No, actually, it probably applies to both. So the problem we've seen with delta-based changes—so where you carry the change you want, the delta you want to apply (log those \"plus 10\" tasks)— is that prediction never ends up in the state you want, somehow. That's also one of those big mysteries that production is always more complex than you expect. And so when you're just carrying around those plus 10, then you're going to have problems. For example, you might guarantee at least one semantics. Well, now you've added 20 tasks instead of 10 because something in the middle failed. Well, not good. While if you add the absolute value, you can retry as many times; it will be still 50 tasks in the end. And I've lost my train of thought— sorry about that.\n\n**Viv:** I also didn't know what delta-based production changes [were]. I mean, I did know what it was, I guess, but I didn't hear that term.\n\n**Pierre:** So those are the things that it's difficult to guarantee as a semantic of your changes, and the importance is great for automation because [with] computer systems, you can usually guarantee at most once or at least once, and with delta it is difficult to manage. And the other one is bootstrapping. And quite often, you want to understand whether production is actually matching your intent of what you're supposed to have, or maybe you have a big outage. So you have to take down many things— you want to recreate it and you need this absolute value. You need this 50 tasks. And if you just add like delta applies, it might be very odd to reconstruct. We had some cases where those— which were particularly odd to work with— where those delta were themselves being transformed into the type of process... imagine that you're increasing an amount of quota, but this quota it's, let's imagine, I don't know, it's something like your database quota, but your database to run below it needs some compute resources. So when you ask my database to be twice as big, that means maybe I need now three new servers, a bit more quota on my Pub/Sub system, whatever.\n\nBut this translation varies over time. Because yeah. Today, doubling the size of your database, adding two extra servers on your database, might mean having only one new computer— like [an] actual machine. Maybe in six months, that will mean three machines, or maybe that will be optimized [and] it will work differently. This translation function between what you're asking in the first place and what you're getting in the end, that changes over time. And if you manage that with delta, well in one year, you will have no idea why you have the resources in the end. There were a bunch of requests. You can probably look at the history of their requests, but you're not going to have a good time [with] that. So dealing with absolute values when you can is great.\n\nIt still makes sense from a human perspective to have some places where you can just say, \"yeah, I want 10 extra gigs of memory because that's how we think about the problem quite often\", but as soon as possible that should probably be managed to absolute value when you can, and that will make your—I think I have a strong opinion on that one—that's going to make your automation probably work better.\n\n**MP:** Yeah. It sounds to me like the major problem there is that with delta-based: you're adding an additional dependency back to the current state of production.\n\n**Pierre:** Yeah.\n\n**Viv:** Yeah. [Laughs]\n\n**Pierre:** I really like how you put it. Yeah. You add the dependency on your current state, and you do know, we try to avoid that. A bunch of us think Prodspec, so Prodspec, you know, that's a representation of one configuration at Google. And one very strong principle we have is that we can rebuild this configuration without looking at production. It makes it easier for many small things— some larger than others— like rebuilding something which crashed and disappeared and was deleted by mistake, for example. Yeah, and when you do a delta, that's exactly that indeed— that you build on the current state, and your current state, it exists only in production, and that quickly has limits. Yeah. I guess there are some cases where it's still fine— all those parts of configurations that you never really change. Like you initially created your service in your cloud provider interface. You did that once for the lifetime of your service and maybe from time to time you need to change some things there. Not automating that is probably fine.\n\n**Viv:** Yeah. Speaking of complicated things that potentially change, what about continuous enforcement? I guess in particular, too, I know way back we were talking about when to apply certain principles to, you know, intent versus imperative systems or workflow systems. So, I don't know. Do you have—\n\n**Pierre:** Yeah, continuous enforcement, yes. That is also something I feel strongly about. Continuous enforcement. [Laughs] So the idea of continuous enforcement is that [you] assume that you're managing your production by having a configuration somewhere. Maybe it's in a Git repository, maybe it's in a database. You have your configuration somewhere and you have the state of production elsewhere, and you need to reconcile that. So typically, you update your configuration, and then you want production to be updated. And the idea of continuous enforcement is saying that the moment you modify your configuration, it's going to be automatically applied to production.\n\nSo one aspect I think is more of, how do I put that? It's more of a policy question. What do you want for your system? Do you want actually to have someone having to trigger explicitly as a step or not? And I do believe there are— I don't have a good example in mind, but I think there are cases where it might make sense. But for me, that's a policy decision. That should not be guided by the limitation of your system. The technical limitation is that yeah, I'm deciding that I want someone to actually push that. And I guess that ties to the explicit human validation. Like having confirmation by someone reviewing it and that ties into that. Yeah. I do want this explicit step and okay, you're not going to have really continuous enforcement there. Or, what you're saying is that yeah, what I have is the configuration, for me, for all intended purposes, that is a state of production, so just make it happen—safely, hopefully, but make it happen. And that's where you really want continuous enforcement.\n\nNow, what I've noticed is that production is always more complicated than what people think. I don't know why. And people are expecting their own production and they still get trapped. And me first, to be very clear: that's always tried by, oh yes, that was this thing. I never thought about this interaction. I never even thought about this domain of problems. So things are always more complicated than what we expect and what we end up finding with systems which do not use continuous enforcement, is that they are deltas—I should not use \"delta.\" There are *differences* which creep up between the configuration and the state of production and those differences are going to creep up and then someone arrives; they did their own change of the configuration and they want to push it. And certainly, they try to update production and when they update production there is not only their change, but two weeks of changes by other people, which they probably have no clue about in general.\n\nAnd that has led to many outages, actually. We have a certain number of postmortems, which are basically that yeah, that was not pushed when we pushed it, it was not the right time anymore to push it, or other variations of \"they are off\", and absolutely everything goes wrong. So by having continuous enforcement, you avoid this world class of problems. That is basically avoiding what caused the problem. Extra advantage: you're changing production closer to the moment where someone changed the configuration.\n\nAnd this elapsed time between a change of configuration and a change of production is important because the longer it is, the harder it is going to be to debug because the assumption might have changed. Like, oh yeah, I've changed—we configure our cache. Yes. But in the meantime, there was another server which was introduced, which was impacting the cache differently. That's one aspect. The other aspect is just altering the past. So maybe the person didn't change in the first place. So yeah, I'm on-call currently so I'm going to watch it, but then now that the other on-caller who is taking care of that when it gets actually pushed and they have no clue about it, or you might just have forgotten about it. I mean, I see that when I write code, is that I usually forget what I did the last week. And for production configurations, there is no reason that it is any different. So continuous enforcement is going to help you tremendously with that.\n\nIt is tricky and we are talking about getting confidence into a system, so it's usually a relatively difficult step because it's a change in mindset. Because you have to trust the machines to do the thing automatically. You don't have this push tool that you run, which can be difficult to change. And you have to build the confidence that it is going to do the right thing at the right moment— that you have encoded all of the constraints and then, oh, yeah so that actually pushed in the middle of the weekend, something which was very risky. Yeah. Why? Yeah, because someone submitted a change on Friday, and that started to change. And then, yeah, next week, you know, you're woken up on Sunday at 6 am. And those things need to be encoded. So that's where to set up a continuous deployment. I think it's very, very often with it— when very often where it fits our cases. Where it's not, I would guess that's when the automation does not do a good job at evaluating the results, for example. But more often than not, I think it's good to have. And that doesn't prevent you to have an explicit manual step of approval. If the policy— if there was a policy where that makes sense.\n\nOh, it also helps for something else actually as a continuous deployment— sorry, it also helps for something else as a continuous deployment. I don't think it's specific to Google, but I've seen it mostly at Google, is that for turn-up management, so that probably mostly applies to large services, where you quite often need to set up a new copy of your stack, because you're growing your service regularly, or you're moving it around, and so on. So some of it probably tends to be Google-specific, but anyone with a large service will probably have to quite often turn up a new instance of your service. And I've seen countless attempts at automatizing that, like, and that always started with someone documenting the process, the newbie on the team being the one having to do the next turn-up. Sorry about the experience, but it allows you to learn about the system. But so that's how it goes.\n\n**MP:** This sounds familiar.\n\n**Viv:** It sounds like me! Okay. I did this very recently. [Laughs]\n\n**Pierre:** [Laughs] Exactly. So yeah, it happens. Exactly. So I've seen many attempts of saying, okay, so I think actually if it were documented, we know exactly the steps that we need to have. Let's have instead this workflow, this script, this automation tool, which is going to take care of the turn-up. And when they can— when this approach is taken, I've never seen that working. I have never seen an extra example where the end result was actually better than doing it manually. And it was also quite often more frustrating because what was happening is that first there were many steps, which were manual anyway, because I was not doing automation, and there was not— the work was not put into the actual underlying automation. So it was still manual anyway. And more importantly, things were breaking over time, because those things, even if those turn-ups are more frequent than people expect, it's still like once, maybe once a month, once every two weeks, and so the assumptions behind the turn-up documentation changes, and there is always a step broken— like always.\n\nAnd when the step is broken, when you did it manually, yeah, you know which commands you run, so you can debug it— it's not pleasant, but you can debug it. When it's your automation doing that, then you have no idea. You have this step in the middle with a crappy error like context, deadline exceeded, which failed. And it's impossible to debug. And I've never seen this approach work. What I've seen working for turn-ups was taking the problem completely sideways through continuous deployment, continuous enforcement, in the sense that here we're completely changing the premises... instead we are saying that we are modeling production— that's what our production should look like at any point in time. And we continuously enforce that.\n\nSo, that's why I do turn-up almost for free in the first place. Because, well, it's part of the modeling, so to do turn-up, you just add your new cluster— how complicated can that be? And you get your new cluster turned up; it's great. And also, it means that when the architecture is changing of your service— which happens, again, more often than people think of, well, because of continuous enforcement— continuous deployment is always running, then we have to fix it immediately when they are changing. They have this new cache server? Well, we have to be part of the modeling that you're doing. And it's not, it's going to blow pins on one's face very, very quickly. So you have this quick feedback loop, which makes it easier to debug in the end. And that's the only approach I've seen working for managing those turn-ups in practice. And I guess that will apply for any type of automation that you do often, but not that often. And that provides us a solution for that.\n\n**Viv:** Yeah, as mentioned, I did relatively recently— just because I'm relatively new to SRE— turn up a service, but I also recently turned down a service. Is that any different in terms of your recommendations there?\n\n**Pierre:** Turn-downs. I don't know if I have a recommendation. I have very warning signs when it comes to turn-downs. I have not yet found a good way of managing intent-based turn-downs. So one is that turn-downs are doomed to be seen as a symmetric problem of turning up. And they are very different problems in practice. I do understand the symmetry of it— in my mind, I like the symmetry of systems, that's great— but it's a completely different problem. Because in turn-ups, when you screw it in the middle— the consequences, you read zero, because that's your new cluster, your new cluster, you forgot to turn up the front-end— well, no one is impacted, because you're not sending traffic there. Mostly. I mean, things get complicated, but to me the risk is much lower.\n\nSo turn-down, yeah. Any mistakes? You're going to have an outage. That's roughly the baseline. And it just might be worse than that. We were talking about deleting data. And there is one thing which keeps me up at night when it comes to automation: deleting data. Because if I take out the front end, not great. I'm not going to be happy about that. I'm going to be stressed, but it's easy to fix. If I'm deleting a large chunk of data... that's a lot more complicated to recover. We have packets and so on, but it's very, very complicated to deal with. So first, there is a big risk aspect of turn-down, which is very hard to deal with.\n\nSo here are a few tricks. A common trick, for example, for turn-down of stateful data, of actual data, is that you make it inaccessible. So if you have an ACL system or sub-security system, you say, \"Okay, I'm not deleting the data.\" But as the first step of my turn-down, I'm saying that, yeah, you cannot access it anymore. And then you realize that when everyone told you that, yes, I'm not using this data anymore, you find people who actually are still using the data. They have a small outage, but this small outage is when you remove the ACL and everyone's happy again. So that's one trick.\n\nAfter that, if I want to deal with turn-down of intent-based, it's tricky. There is one pattern I think should be absolutely avoided, in most cases: turn-down—what I call turn-down by absence. So there is one thing which is very tempting to do when you have a relatively cleaning turn— relatively clean description of what your position should be. Something which is very tempting is to say, okay, but it means that anything that is in production, but not in my intent, in some scope, should be removed. Because that's an easy way than to manage your turn-down: you just remove it from your config, and it gets deleted. And that works. I will not use that for anything more beyond tests, let's say, or really not important production— or production which can be down for an hour or two without problem. Because in practice, when configuration gets wrong, that's probably one of the biggest failures usually with configurations: is that something gets generated in the middle, there is a bug in that. It's extremely common. And then suddenly, you have only half of your configuration which is generated. Oops. You don't have your production anymore. And there are all variations of that where the automation, something, will go slightly wrong, and suddenly, you don't have your production anymore.\n\nThe approach we've been taking instead is that we need an explicit signal. So it's that you model also what needs to be done— your job. You still describe it, but you add a bit, which indicates that it needs to be done. Managing this information gets tricky. For me, that's still an area of, I was gonna say, research. That might be overselling it, but still something where we are iterating on how to manage that.\n\nAnother pattern I've noticed, which makes it harder, is how people think about turn-down. So what happens first, for large services especially, which is where my experience comes from, is that with Gmail, Blob Service, is that when you turn down something, it's not a one step process. It's many steps and it can take sometimes weeks. So imagine that you want to down a cluster, and you have a lot of user data there. So you will want to move this user data first. But while that is happening, which can take a lot of time, you still want to serve those users, obviously. So you have the signal of turn-downs that you're starting to turn down at one point, but you're still serving, so you still need to have your job running— you might still need to update them, even if that's taking a long time. If that's taking more than a day, you probably still want to update them.\n\nBut that's surely not how people approach it. Usually it's more, \"Oh yeah, I want to get rid of this blank, so I'm first going to remove it from the configuration, and then I'm going to clean things up.\" And that's a bit obvious when said like that. But I've noticed that again and again. I've done it myself. So yeah, so it makes the primers more complicated because once the configuration has been removed or completely removed. And that you don't want to do turn-down by absence because it's dangerous. What do you do then? Which thing do you use? How do you even identify what needs to be turned down? So yeah, in Java, while navigating, trying to do a mix of adding extra safety measures, there is always an infinite string of defensive measures that we can add, and trying to provide various tools to avoid people shooting themselves in the foot, or else all things are [a] foot gun, I guess, in some cases.\n\nThat's another thing with automation— is that automation can be safer, and I think it's safer in many cases. But the failure mode is very different from humans. When someone is in control, it's more likely it's going to do random mistakes, like really random mistakes, but that will be usually more limited. The automation is not going to do random mistakes, because that's what it's been doing like millions of times before. However, when it goes wrong, the mistake is also automated. And that can go much worse in that case. So that's a different kind of differences are needed there.\n\n**Viv:** Thank you for shining some light. So I think I just have one more, hopefully— not like that, I'm sure we could do another episode on this— but kind of a quick question in this frame of mind for you. How close are we as SREs to automating ourselves out of our jobs? Which I know is something people like to riff on a lot?\n\n**Pierre:** Yeah, that's the usual saying, especially behind automation, that okay, what's the goal of automation? Well, I'm lazy, I don't want to do— even if I'm lazy, actually, I don't want to have anything to do. I don't know, I always find this framing, I understand the framing. I also like to do other things than those toil-y aspects. But my perspective on it usually is that it's about complexity management quite often in the end, and I do believe that we're mostly—all of us are mostly working at a fixed amount of complexity. We can deal with a given amount of complexity, and yeah, that's it. And if we simplify something by automatizing it, this complexity is going to shift elsewhere. And this complexity might change a bit over time; for example, you're tired, yeah, you're not going to be able to cope with something stupid in your automation or something stupid in your code, and so on. Or you've just changed teams, you're full of energy, so okay, bring it on, you can understand every— you can try to understand everything, and that overall is complexity. So for me, it's not automatizing yourself necessarily out of a job. But it's wondering *what* to automatize so you can shift the complexity to a place that you actually care about having complexities there.\n\nThere is an obvious answer to that quite often, which is related to automatizing yourself out of a job. You will usually want to move toward being able to take enough features or more services with less people— that's quite often going to be in the direction to simplification, of course. But given that it's not a one-step process, thinking about where is the complexity and which complexity you're willing to trade off instead, is the framing I find interesting because your automation comes with its own complexity— you will have to manage your automation. And it can be more or less good.\n\nAnd there are some places where the automation is going to be a lot more complex to manage and some other— sometimes automation is a no brainer, so that's easy, but sometimes the automation has a cost to maintain it, like how to automatically evaluate your push. Is that worth doing all those fancy statistical systems? Someone has to understand it, and that's not going to be me. That's for sure. And what do we do with that? Do we want to remove the complexities that way? Okay. I'm going to catch up on my statistics, maybe? Yeah, in the end, we are dealing with complexity. And where do we shift it?\n\nComplexity's also— I guess, it's also related to what people enjoy doing more or less because there are some types of work that one person is going to find extremely frustrating, while the next person [thinks], \"yeah, it's a bit repetitive. But okay, I phase out, I'm taking care of that, I'm used to it, and I'm going to enjoy it.\" So this might even differ between people. That's where it goes into team management. But that's a different kind of form.\n\n**Viv:** Well, thank you so much for coming to chat with us today about all of this. I definitely found it very interesting and informative. So yeah.\n\n**Pierre:** Thanks a lot. Thanks a lot for hosting and for forwarding the good questions. I also enjoyed it a lot.\n\n**Viv:** Great.\n\n**Pierre:** I hope everyone else will also.\n\n**MP:** And we want to make sure that our listeners know that just at the end of last year, you had your author on [a whitepaper for Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production), which are Google's current solutions to these problems.\n\n**Pierre:** Exactly. Yeah.\n\n**MP:** We will have a link to that whitepaper in our episode notes for folks that want to follow up with that.\n\n**Pierre:** Yeah, it describes everything that we're doing nowadays for continuous deployment, to a large extent, to automation. It's very long, because I tend to give a lot of details, but I hope people find some interesting bits in there.\n\n**Viv:** We'll definitely link it here so folks can head on over. All right, I think that's all. So, thank you again and... we will be back with an episode next time on on-call, so see you all then.\n\n**MP:** Thank you.", "znaku_textu": 60697, "slov": 10973, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:24", "sha256": "d0f3d7a083176fb4297a7ac5ce509e2ce1ce03a7ddc9195deec4232efa256c2a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production", "https://xkcd.com/1319/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07", "titulek": "Google SRE - On call rotation ideas with Andrew Widdowson", "h1": "On-Call Rotations with Andrew Widdowson (APW)", "popis": "Optimize on-call rotations with practical on call rotation schedule examples. Andrew Widdowson (APW) shares strategies for successful on-call rotations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07"}, "headline": "On-Call Rotations with Andrew Widdowson (APW)", "description": "Andrew Widdowson (APW) shares strategies for successful on-call rotations.", "image": "https://kstatic.googleusercontent.com/files/332e2f94502b7a53dfaf3113566c013fbc862baa013a442356edd5d605d77a3385f6a218cab20079c2f40feeb3c4b6f2e9b4845f133f30311ed5cb165ca2f981", "author": [{"@type": "Person", "name": "Andrew Widdowson (APW)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "On-Call Rotations with Andrew Widdowson (APW)"}], "markdown": "# On-Call Rotations with Andrew Widdowson (APW)\n\n**Andrew Widdowson (APW)** shares strategies for successful on-call rotations.\n\n**MP:** Hello, and welcome to Episode 7 of the Google SRE Podcast, or as we affectionately refer to it, the Prodcast. I'm your host for today, MP. And here with me is Viv.\n\n**Viv:** Hi.\n\n**MP:** Here with us today we have someone who I think the vast majority of SREs at Google have had the opportunity to either hear speak or have received teaching from him, and generally a really well-known name around SRE at Google. And he's here today to talk to us about on-call. Andrew, why don't you go ahead and introduce yourself?\n\n**Andrew:** Hey, thanks so much for the warm welcome. I'm Andrew Widdowson, and most people at Google know me by my username, which is APW. So feel free to call me Andrew or APW. I've been an SRE at Google for coming up on 15 years now. Wow. I've enjoyed the entire time. I spent over a decade working on our Google search systems at all front-end back-end infrastructure— you name it, I had looked at it. Then I spent a considerable amount of time, about four, maybe five years working on SRE education through the SRE EDU program. And these days I sling a bunch of data in a slightly less than typical SRE context. I work on the global resilience of our physical Google offices and a bunch of data analysis about how our employees are doing. So there you have it. It's been a wild ride, but I'm glad to talk to you today.\n\n**MP:** Yeah. So on-call is something I think a lot of people in [operations systems administration](https://sre.google/workbook/on-call/) are already familiar with. Why would you say it's SRE's job? It's always a little bit of a funny thing that we're usually the point people for these emergencies for these huge complicated systems, but we're also not usually the experts in how any particular piece of these systems works.\n\n**Andrew:** Yeah. Well, let me set the stage a little bit. So Google is a massively large company these days, but it is always been the case at Google that there have been more software engineers in a general sense, working on products, than there have been SREs. We are, if you will, naturally scarce. So while I agree that in many cases, for some of our most public-facing, high revenue, et cetera, high-risk sorts of products, that SRE should be on-call or co-on-call for a service.\n\nThe other part that I just want to mention that's a part of our leverage, a part of our scarcity, and a part of our selectivity, is that the overwhelming majority of, let's call them microservices at Google, do not have SRE on-call for them. So we pick and choose not our battles, but our responsibilities. And you can think of the fact that at least at Google, if an SRE is on-call, or an SRE team is on-call for a product, that means that there's a certain extra standard of reliability being afforded to it. But we try not to hoard that for ourselves. So even in many of those on-call rotations, we are co-on-call with our developers. Just wanted to clarify that off the top.\n\nBut why should an [SRE be on-call or an SRE team be collectively on-call](https://sre.google/workbook/on-call/) for a service? I think it's because we spend an extra— not necessarily disproportionate, but a necessarily proportionate— amount of our time thinking about the art and science of reliability, rather than just doing the things that make it reliable. So we are both on-call and we're thinking about how to make on-call better.\n\nWhereas the mindshare of many other software developers who may be themselves self-on-call for a service don't necessarily have that mindshare or that amount of time allocation to do that. So, I don't know. I think we're meant to be exemplars of on-call, and we will both do a great job at on-call and like I said, make it better.\n\n**MP:** It gives you a really visceral sense of the health of your systems when you're the one carrying the pager for them.\n\n**Andrew:** Absolutely. I want to be careful about how I say this because sometimes our internal phrasing can sound a little snarky, but I think it's important that our developer colleagues who don't first identify as Site Reliability Engineers— I also identify as a developer, mind you, but identify as an SRE first— our developer first counterparts need to be able to, quote, \"feel the pain of the service\"— the operational aspects of it— in order to be motivated to make it better, because otherwise, it's just throwing stuff over a wall. Here: take this, person who isn't really an SRE!\n\nIn my mind, SRE is about having the setup with your developers, the mutual respect to say, \"We're going to operate this together. However, we may call you in for the big things, because we know that you are a calming force and that you are— especially your brain is especially predisposed to thinking through the on-call issues.\" So you're not in trouble if an SRE shows up. The cavalry is here. The extra help has arrived if an SRE is here.\n\n**Viv:** I like it. So speaking of feeling the pain of your service going wrong, which I think you just mentioned, I think sometimes there's a perception that on-call is just really painful. It's like, \"Ah, I have to carry the pager… all these things are going to be terrible. It is this burden that is part of my job\" versus like, \"it's a part of my job.\" I guess there's different ways to think about it. What, to you, makes on-call a positive if it is a positive, and how can it be a positive if it's not?\n\n**Andrew:** Oh, for sure. The following might sound a little bit exaggerated, but I firmly believe it, and that is that on-call is… you get to be in the driver's seat. If you want a poor race car analogy, which I'll neglect to fully flesh out: you get to be in the driver's seat for a product for your slice of time. And so yes, if it turns out that you're— okay, bad analogies abound— if you're driving, if you're in a race car, but it's constantly backfiring, that's not going to lead to a fun lap around the racetrack. But if you're there and you're able to see the machine sing, if you're able to get the car to really hum and you use it efficiently, you come off the track saying, \"I can't wait to do that again.\" So for me, I look at on-call as: it's a temporary responsibility that I enter into along with everyone else who's in my on-call rotation to make sure that we have the biggest nonevent of my shift. But that being said, let's go straight into the painful on-call shifts.\n\nSo, again, the following is a cultural aspect of how Google treats its production operations. And it doesn't necessarily mean that this is right for everyone, but we have, as an homage or an honor to one of our almost founding members of the SRE org, Ben Treynor Sloss, Ben Sloss, we've named like a fatigue limit, which we've incorrectly called the Treynor limit— his last name is Sloss, we should call it the Sloss limit, whatever. We have this limit named after our grand poobah, which says: if you get more than a certain number of incidents that happen per shift, then that's a sign that your SLAs may need to be adjusted— probably do need to be adjusted.\n\nI mean, it's not the case of, \"Oh, I got paged 10 times today and that's over a threshold of, let's call it three, but this has only ever happened once. We should take radical action.\" No, of course not. But if you look over some smooth window of time and you realize that the amount of time you spend doing follow-through on your incidents, on your outages— which there's always a certain amount of follow-through, helping to coauthor postmortems, or seeing a fix through to production— if that is over a certain threshold, you will end up in some sort of cumulative failure, like a stack of dominoes falling over where you're like, \"Oh, but I can't write a postmortem 'cause I'm getting paged again. Oh, I guess I can't write the postmortem.\" That sort of thing is really bad.\n\nSo we look, at least at Google, with the thresholds that we've set. And again, what even is an incident? It can be— the measuring and the math that we particularly use is less interesting than the philosophy behind it, which is the SRE or really any production-oriented on-caller has a certain mental fatigue limit that we both don't want to get up close to, but we want to very carefully defend ever getting close to sustainably, so that people can say, \"I'm not depleted by my on-call shift. Instead, I'm intrigued or refreshed— best case— or nothing happened; I was bored with my on-call shift.\" That's okay, too.\n\nSo anyway, that's my take on making sure that you have a balanced thing and having the managerial and cultural support to say, \"This on-call rotation isn't sized for the number of incidents or the SLA that it has, or the number of people involved, et cetera.\" That's an important aspect of making sure that on-call is the sort of thing you don't run away from.\n\n**MP:** Yeah, so something I've noticed that is not a standard across teams, but is a common practice, is to actually have both an on-call and an on-duty rotation. How does this relate to that limit?\n\n**Andrew:** Sure. So just to be clear, let's define what we mean by on-call and on-duty generally. So I think on-call is: you are responsible for the vitality of the uptime, the responsiveness of the service during your shift. And on-duty means some sort of probably small quanta, but maybe high quantity of work that needs to be done: crank turning, answering tickets, answering support, whatever type of stuff.\n\nAnd sometimes mechanically, some teams will make the on-caller also be the on-duty person, because there are large swaths of time where you're maybe not getting paged for your service. The goal here is not to get you exactly one page per 12 hours or something. It's to be less than— which could be zero— incidents pages, et cetera, per shift. So that's just an optimistic overloading.\n\nBut I really do want to call out that I think the skill required and the level of thinking exercised— not the level— that the type of thinking exercise for on-call and for on-duty, it could be any number of things, but we'll just say it's very different thinking. One is more like, I'm going to do a repetitive thing or I'm going to follow some decision tree repeatedly and just make a bunch of copies or whatever it is that you do when you're on-duty. But for on-call, it's much more about, as our lead of SRE Education, Jen Petoff says, being stewards of the scientific method in a pressure cooker, at least while you're being paged.\n\nSo the only thing I would guard against, if you were to ask, would be making sure that on-duty does not drain the on-caller so that when they do get paged, say towards the end of their shift, but while they were still on-call, and they go, \"Man, I just did a bajillion thousand tickets and now I'm getting paged. Oh, my head hurts.\" That's not setting a team up for success. So some teams, like I said, optimistically overload on-call to also include, like, \"while you're here, do on-duty.\" But others keep it separate. And really, it comes down to how capable are you and your team of being simultaneously on-call, even if almost quote, unquote, \"nothing happens\", and also doing some other element of day job work.\n\nSo I particularly like coding while I'm on-call. And then I'll just make sure that I write copious amounts of structural documentation as I go. I often code comments first. So I've set myself up to be a fast— I can resume my coding quickly because I always bookmark where I was, if you will. For some people they're like, \"Man, I can't get anything done when I'm on-call. So just sure, give me the on-duty.\" I don't know why I'm using that voice for, \"Man, I'm so overloaded,\" but it really depends on the work. You can have on-callers who are double dutying as software engineers; you can have on-callers who are double dutying as technical program management, and so they may have different skill sets in what they do when they are not being paged.\n\n**Viv:** So if you can have, say, two people splitting the work of on-call/on-duty, you're saying it could be one person, it could be two… could you have two people who are on-call for the pager at the same time? What does the people distribution look like? And are there some guidelines on setting up your rotations?\n\n**Andrew:** Absolutely. So let me first answer the, \"Can you split being on-call at the same time?\" and then, \"How would you construct maybe the demographics and distributions of people involved in an on-call rotation?\" So keep me honest; let's bookmark that.\n\nIn general, I consider on-call to be both a symbol and a responsibility. So in the responsibility part, it's like, \"Oh no, we're spewing 404s in our front-end or 500s or something,\" and you've got to go figure out why it is, and make it better, faster, more like it never happened. But it's also kind of a, like I said, a symbol— a lightning rod, if you will. So if you are the on-caller, you are being given a token that says you are the decider for the reliability of this product. At Google, we have a saying, which is: when you're on-call for a Google product, you have temporary equivalent authority to a vice president. And that's really true. You may need to make the decision. A part of being on-call is deciding, and you may not be the most knowledged person in the decision space, but you are the most present and most stateful decider until such time as someone can augment you at your request.\n\nSo this is an indirect way of saying to your question, \"What if you split the work?\": so it's my personal preference to have on-call and on-duty be completely separate because I think it gives more agency to the single on-caller to say, \"I choose to do whatever I do when I'm not being paged. Whatever is best for my work and day job,\" as opposed to I'm being told, \"Please do tickets or this or that.\"\n\nBut if you were to split on-call by, say, having two on-callers, regardless of how on-duty is split, I think the ability to respond to an incident may be slightly improved possibly, but the authority-agency-visibility of, \"Who is the on-caller? I need to talk to the on-caller\" is reduced because you now have two people. You have maybe heard of phrases like, \"Too many cooks in the kitchen,\" or, \"If a problem is everyone's problem, then it is no one's problem.\" Or the classic, \"If you don't get what you want from one parent, you ask the other.\"\n\nSo needless to say, I am, for the most part, in favor of [a] single person being the primary on-caller. And if you have a second person for extra support— for relieving for breaks, for \"you need to go to the grocery store\"— I also recommend a secondary, but exactly that: a primary and a secondary rather than two co-primaries and no secondary. That's my personal preference. I think it solves for efficacy of communication and it also solves for agency of the on-caller.\n\n**MP:** Yeah. Thinking about it, the thing that would throw me off the most of trying to have two primary on-callers is, well, how you're splitting who's taking what page and doing that in some kind of equitable way. But even then, once you start, if you're just going back and forth, just alternating, there's a visibility loss there potentially— that as one page can be the consequence of the thing that happened 15 minutes ago and isn't actually a separate problem.\n\n**Andrew:** Yes. The other argument I would make here is if you were to be so unlucky as to have two problems coming in in short distance from each other, and it turns out that they are in fact completely unrelated or mostly orthogonal, having your secondary remain mentally fresh so that when you get paged again and you look at the thing you go, \"Oh, that's not related to this at all. Dear secondary person, would you please take this?\" Then this also reduces the cognitive burden for each of you. I think that's related to what you're saying.\n\n**MP:** Yeah, definitely.\n\n**Andrew:** So I think the second part of your question, if I'm hearing you right, was about how would you design parts of on-call, or would you like to throw that question back to me? I just want to make sure I understand.\n\n**Viv:** Sure. Yeah, I was just asking about the rotation since we were talking about how you might staff it. Other parts of the rotation. So maybe there are more opinions on staffing, but also: how long is your rotation? What does it cover? I don't know. I know I'm throwing more questions at you in response to us bookmarking a question for later.\n\n**Andrew:** This is great. I welcome all the questions. [laughs] So hear me out, fair listener, when I say the following— because again, same disclaimer as before. This is just an overview of ways that Google has chosen to solve things and size things. And so if you hear something in the following that you feel like it could never work for your company or your team, that's okay. But hear me out on some of the different trade-offs and things that we've evolved into.\n\nSo for one thing, we tend to pretty heavily staff our SRE teams. So we have an internal minimum standard of having six or maybe seven— I've lost track— people on each of two sides of an ocean, as it were. Two geographically very different sites must each have at least six or seven people in them. So that would be cumulatively 12 to 14 people at minimum in order to have an officially SRE-funded on-call team and on-call rotation. And so that has implications for all of the rest of the math that we're about to do. You might say, \"I'm a team of three, this doesn't make any sense for me!\" That's totally fine. But hear me out on some of the additional timing that we do.\n\nIt is on a SRE team by SRE team— well, for that matter, any on-call team— basis to determine how much time an on-caller spends per shift, how many shifts you have per day or per week, et cetera, et cetera. But of course— and this is an important thing to flag— it is the responsibility of anyone making an on-call rotation to comply with local laws, local employment laws regarding work, work hours spent, and so forth. And so when I say the following, I mean this for a majority of teams, but there are always exceptions based on where some of our on-callers are based.\n\nSome teams choose to have a, let's call it \"seven unique days a week\"— like a one day of on-call, then further split into, say, 12 hours, so like 12/12. And what this might mean is, let's say that you have different people on your team, and I'll call them A, B, C, D E. Those are all people. It might be then on day one, you have 12 hours of A and 12 hours of B. And then on the next day, you have 12 hours of C and 12 hours of D, where A and C are on one continent and B and D are on another. So that's a case of a dual-homed on-call rotation that is 12 hours within each 24 hours. So that would mean you could have conceivably up to 14 different people a week. Of course, some people may choose to coalesce and say, \"I'm going to take Monday, Wednesday, Thursday,\" or, \"I want to take Friday, Saturday, Sunday.\" They could choose to do that by horse-trading with their colleagues. But the idea is you roll the dice in advance and you could have a completely new person for tomorrow's 12 hours in, let's say, California time than you did in yesterday's 12 hours of California shift or whatever.\n\nSome other teams have much more of a congealed or consecutive sort of basis. So they'll say, \"Okay, well, we're still going to do 12 and 12, or maybe we move the divider between the two on-call teams because one is in a slightly different time zone where it's a little bit harder to do this. So we're going to have some sort of a mercy shift, which is like we do 10 and 14 because of whatever the case may be.\" Sometimes you don't control what nation your second on-call team is hired in because it was a matter of your company staffing priorities, let's say.\n\nSo regardless of whether it's 12 and 12 in a day, or it's X and Y that sum up to 24, maybe you do formally say, \"Okay, we're going to have the same person be on-call from North America during their daytime, plus or minus, for 7 days at a run.\" So that's much more of a different end-of-the-rails sort of setup. So you say, \"I'm doing an on-call shift for 7 days, 12 hours a day. And I have a colleague who's also doing 7 and 12.\"\n\nAnd there are also variations somewhere in the middle between these two that we've seen as well, which is, for example, not doing daily, not doing weekly, but doing something like either over the weekend plus Friday or Monday, so let's call it \"Friday, Saturday, Sunday,\" and then having an entirely during the workweek \"Tuesday, Wednesday, Thursday\" setup. And by the way, I say that with a North American view on the workweek. You can imagine modifications for cultural norms in certain nations and certain countries, specifically around maybe days of Sabbath or employment law, et cetera.\n\nBut there are other variations, as well. So some people say, \"We prefer on our team to know that we always have the same hours of the day that we're going to be on-call for. So give me whole days.\" So Friday, Saturday, Sunday was my previous example versus Monday, Tuesday, Wednesday, Thursday. Or some people say, well, actually there's a benefit to having a midday handoff just before a weekend or just after a weekend because we want to acknowledge the fact that sometimes change in our systems— in fact, very oftentimes— change in our systems, which could be reliability-impacting changes, occur due to, well, humans. And humans are diurnal creatures who are awake or asleep and that have, let's face it, very different behaviors during workdays versus maybe weekend or rest days. And so some people say, \"Eh, let's do a Monday to Friday, but splitting it halfway through what would otherwise be a shift so that I get half of Monday through half of Friday and someone else gets half of Friday through half of Monday in each of our respective 12-hour shifts.\"\n\nHonestly, I think the difference between a halfsies Monday-Friday split versus a Friday plus the weekend and workdays minus Friday split is minimal. I think it may be over-optimization, but honestly, if there's a thing that resonates with your team or with your org and they would prefer to do that, give them that choice. Plus so long as you have systems that allow you to carefully trade shifts for people so that they can further micro-optimize for mutual benefit amongst pairs of people who want to do each other favors, you're going to be okay.\n\nThe last thing I'd advise for you to do, however, is just to say, \"There is a robot that declares when people are on-call and it's all going to happen and you can't change, and deal with it.\" You have to acknowledge there are humans all throughout all of these processes. And we want to optimize for their happiness and their sustainability to want to come back to the on-call rotation.\n\n**MP:** Prior to when I came to Google, I was actually part of a single site on-call rotation that had a 24-hour pager holding. I can't remember exactly how we split the weeks, but it would be multiple consecutive 24-hour periods that we'd be holding the pager for. And I'm sure there are organizations out there that don't have the ability to have dual-sided teams.\n\n**Andrew:** Absolutely.\n\n**MP:** So what would your recommendation for them be?\n\n**Andrew:** Well, to the extent possible, I think the most important thing we need to keep in mind in any [on-call design](https://sre.google/sre-book/being-on-call/)— regardless of whether it's split within a day or not, 24 hours a day or 12 hours a day— is that our humans or on-callers are our most precious resource and their freshness, their vitality— nevermind the service's vitality— is most important.\n\nSo for example, one day I came into work when I was— it was like my third or fourth week on the job. And I came in to find— and of course, this is going to sound like some Silicon valley stereotype, but please bear with me for a second— I found the engineer that I knew the most, my mentor, sleeping in a bean bag. There's the Silicon Valley stereotype, but take from it what you will. When he woke up later, I asked him, I said like, \"Is that a thing that's allowed? Can we sleep in the beanbags?\" And he said, \"Well, I got paged late last night. And so I still came into work today because I'm on-call a little bit later today, but I was doing the company a favor last night and staying up later to make sure that I saw this through. And I know that if I get paged, it will page me in this case [during] what would otherwise be my business hours, daytime, but I'm going to take a bit of a nap so that I can be much more fresh in case I'm not paged until later today. I want to do better at that page.\" So yes, \"be easy on yourself\" was the directive that he gave me. And I remember that to this day.\n\nBut maybe the general lesson to take away from this is, if you're going to be doing an all-day and all-night on-call rotation, I don't think it is sustainable personally to be paged multiple times in the middle of the night for multiple nights if the type of work you are doing is not shift work. I know certain classes of engineering work are like, \"Oh, I'm going to roll onto the night shift and I'm going to roll off.\" That's a different story. But if you are a quote-unquote, \"daylight hours\" worker, 40 hours a week, whatever the case is, but you are also on-call, the only thing I would ask of a management structure in that is to have compassion for the fact that if people are woken up in the middle of the night multiple nights, they're not going to be at their best for later times.\n\nSo what might be a compromise here? I would maybe suggest that maybe there's a policy— like if you get paged in the middle of the night on multiple consecutive nights, that there's a mercy substitution, like you can avail of your colleagues to see if someone will take over the rest of your shift, knowing full well that most of the time, if things are sized right, crossing your fingers, this won't happen. But in the rare case it does, we let you tap the hours, is essentially what I'm saying. That would be my suggestion. But again, given that that is not how things work at Google, I'm merely speculating. And I wish everyone the best of luck in figuring out how to size, shard, and trade their on-call rotations.\n\n**Viv:** I really liked that you said that the people come first.\n\n**Andrew:** Yes.\n\n**Viv:** I'm just using myself as a reference point, but when I first started with on-call, I was really nervous about being on the rotation. You don't want to let the team down, you want to make sure you're getting to everything. And I think it is a good reminder that you have to make sure you are in your best spot, which ultimately will help the rotation, too.\n\n**Andrew:** Exactly. It's not like we're like, \"Welcome to SRE. We're going to burn your amygdala out from stressing you out for multiple days on end. And you're going to start smelling colors.\" That's not what we're here for. It's the mythos, the kind of the reputation that we put around SRE at the risk of over-mythologizing SRE, which is itself dangerous.\n\nBut what we generally tell people when they join the SRE org at Google is, \"Welcome to this specialty role. It's going to require you to grow as an engineer. If you are a software engineer, now you need to learn some more operational things. If you were more operational-oriented, you're going to learn more software things. You will become a hybrid role. Not only will that make you a better engineer, we believe, but also it means that we will use you more selectively for the better good of Google products. And so with that, we are going to make major investments in you and in your operational, as well as psychological, safety. Obviously, we'll treat you well in all other respects, as well. But not only will it be you, you won't be alone. You'll be with a team of people who will be your fellow on-callers and people who are responsible for making the reliability of your product better.\"\n\nBecause of this— it's essentially, everyone loves being told in some way, \"You're special.\" But we try to embody that in what we bring people into, because we know that there will also be times that are very challenging and hard, and \"I don't know the answer\" and \"do I look bad?\" and so forth. And so we try to empower people to know, \"You are the best person for the job at the time. Decisions will be made and systems will become more stable, but we're not going to burn you out or leave you on a ledge because of it.\"\n\n**MP:** Digging more into the staffing question, when it's time to turn up a new on-call rotation, to have a… I guess, in the Google structure, you would say that dev— the engineering organization— has decided that they think it is worthwhile, that it's worth the investment to have SREs for this part of the system. And there now needs to be a new on-call rotation that didn't previously exist before. How do you get from that state— where really the developers are the keepers of all the knowledge and all the information about how the system works— to also having this SRE team alongside them that is ready to respond in an emergency?\n\n**Andrew:** Yes. So there are a lot of different ways to barn raise or bootstrap, if you will, an on-call rotation for a product. And especially if you're going from an existing on-call rotation that was self on-call by the developers of the product and there were no SREs involved, to going to one where the developers may still occasionally be in the on-call rotation, but the overwhelming majority of time is attended to by SREs— there are a couple of different ways you can do this that I think will lead to a more sustainable, less painful, better results, faster sort of a thing.\n\nSo allow me to paint a picture of maybe an over-design of things you could do. Pick from this— any of these recipes. And I think it will be better than just turning the lights on an on-call rotation and throwing the pager over a wall.\n\nSo perhaps with the talent pool that you have, maybe you already have a mature set of SRE team or teams, and you have identified the most senior folks within those teams, but they're on-call for completely different products at your company. Like we like to say, titrate onto any new experiences. That's not only pro advice in the mental health space; it's like saying, \"don't put in the hot liquid or you'll curdle the milk\" kind of a thing. It's, if you can, try to seed a new SRE engagement with one or more senior, already experienced SREs, even if they are not in the same product's domain. Hypothetically, let's say we were turning on Google Maps on-call for the first time. So what if the person you bring over was in Search? They've had experience with on-call and reliability. So if you have that, I would start with that.\n\nThe next most important suggestion I would have is: there was a presumption here that you do not have an infinite supply of fully grizzled veteran SREs or whatever it is— fully experienced SREs to staff all of your new on-call rotations. And that eventually, if not as your second or third hire, certainly as your fourth or sixth hire, you may have someone who's completely new to the SRE role, but you hire them because they're an intelligent thinker— they're an engineer in the making, or they're an engineer in their experience, but they're an SRE in the making.\n\nWhen you get to the point where you have people who are both learning the product and the role of SRE simultaneously, it is vital, in my opinion, that you have a very good safety net under and around them. What I mean by this is education and being able to walk the walk and being able to posture yourself as an SRE. Being able to emulate the thinking— the scientific thinking that goes into being an SRE— all of that's important. And the last thing you want to do is raise someone in a vacuum. I know we overly use the phrase \"cargo cult engineering\" in engineering. I think it's an unfortunate phrase, but many of you know what I mean: we don't want people to reinvent SRE in a vacuum 12 hours in the future from their other on-call colleagues. Because at the end of the day, thinking about this from a psychological standpoint, SREs are engineers who are already rapid inference-makers. Engineers, you know, trying to measure a couple of times, cut once or twice, make a better bridge, whatever it is that engineers do, but SREs specifically tend to be hired because they are in the good sense of bias; they are rapid, biased decision makers. And so this doesn't just apply to how they solve that we're serving excessive 500s in our front end. It's not just technical challenges. They're inherently biased creatures when it comes to things like, \"Do we trust our fellow on-callers? I can't detach from work because we have someone junior, and what if they get paged and we still need to keep the site running?\"\n\nSo this is a very long way of saying: I think it's very important that you have fully participatory education of all existing team members, to raise the next set of SREs that you hire and bring into the team, for everyone's benefit. Not only will it accelerate the journey to on-call for the newbie, as it were, but it'll also increase trust amongst the rest of the team.\n\nIdeally, you don't have an overly judgmental, clique-ish, middle school-style SRE team. \"No, you can't sit at our lunch table,\" nothing like that, certainly. But you want people to be able to see that your newest people succeed or fail at a theoretical exercise multiple times before they get their hands on the control surface and before they are solo on-call.\n\nSo when I say this, my recipe, then, for an SRE on-call team is clear. The first person should be highly experienced. And the point that I made through that long-winded explanation is: the second person should be someone who is relatively senior but is incredibly good at helping teach the art to anyone else and helping to further stir the cultural pot of norms going on in your team.\n\nAnd then the third plus folks can either be senior talent if you've got it, or junior talent if you want to build it. But any way you slice it, you need to make sure that you have people who are good at norm-ing the team as you go. There are other, of course, considerations at play as well, including: when do you hire? Do you start with a 24-hour rotation or do you start with the 12 and 12, plus or minus? How do you make sure that both— assuming that you're dual-homing your on-call rotation— both sites feel equally empowered, and it's not that one is domineering over the other, or that only decisions are made in the same time zone as where your developers live, or something like this. There's a lot of that.\n\nBut on the whole, in summary, in barn raising an on-call rotation, I look for super-senior— like exemplars of the art— then teachers of the arts— which can often also be exemplars of the arts and ideally are— and then the healthy mix of people from different sorts of backgrounds within all of this. And again, I just want to encourage you to say that it's okay if an SRE comes from a radically different product within the company or elsewhere into an SRE team. If anything, as our biologists would say, this adds hybrid vigor. So it's great if you've got a front-end-oriented person and a throughput or pipeline-oriented person working in the same SRE team. Oh, and by the way, that new SRE team is a storage layer that isn't front-end or throughput. That's actually one of the best cases for eventual awesomeness: robustness of awesomeness.\n\n**MP:** Could you go into a little more detail about creating an opportunity for everyone on the team to build their own confidence in their teammates' abilities?\n\n**Andrew:** Yes. And failing in a theoretical exercise rather than on the real product. Yes.\n\n**MP:** Yeah. Can you talk a bit more about what that would look like for a team?\n\n**Andrew:** This is one of actually my favorite things to talk about, so I'm so glad that you led us here. Part of being in this tribe, if you will, of SRE is the kind of oral culture. Part of this is the lessons you learned from your predecessors and then eventually your colleagues. And so one of the best ways to have really good muscle memory at diagnosing problems, becoming better at applying the scientific method as it were in your on-call, is to practice it in a no or low-stakes environment ahead of time.\n\nIn some circles— especially gaming circles— you might hear of tabletop-style exercises with game masters who are running you through a multi-player adventure. You're in a twisted maze of 500 error codes and Prometheus consoles. What do you do next? I go left. Okay. What do you see there? Like if you have your own multi-user game, that's a lovely environment. Other security professionals will also use the word tabletop exercise. It's like, we're going to see what happens if we have a certain country invade another country. What do we do? Who do you call? That kind of a thing.\n\nAt Google, we have what we call \"Wheel of Misfortune,\" which is just a cheesy way of saying that we do a tabletop. And what we do is: many teams will have a weekly or monthly sort of gathering. They'll call it Wheel of Misfortune or something else. It's a tabletop where the game master has been thinking, since the last game anyway, about an interesting story, an interesting diagnostic path that they want to socially norm out to the rest of their team. They want to inoculate them to the, \"Well, I've never thought of this before\" problem.\n\nSo they'll come up with some sort of trigger condition and some sort of actions that need to occur in order to save the universe or save your product from certain ruin. So maybe it'll be that the whole team gets together in a big room with a whiteboard or a computer running a synthetic copy of your services stack, and they'll say, \"Okay, well, today's volunteer is Sally. And okay, Sally, welcome to being our brave on-caller for today. Your backup on-caller today is me. You get paged because of the following message.\" And it's something authentic to how your alerting and monitoring systems work at your company. And maybe you don't have screenshots of a real thing that's broken or maybe you do; maybe it's all verbal. So the person says, \"Okay, Sally, so you get paged for excessive 500s in Asia Pacific. Where would you go to validate this? What would you click on? What would you see?\" And maybe Sally says, \"Okay, well, so I open up our Prometheus dashboard and I filter it out so that I'm only looking at the Asia Pacific region. And then I'm looking at what cloud clusters we're running from. What do I see, Andrew?\" And as the game master, I would say, \"Okay, well, you see a bunch of what looks like very cyclical traffic going over the last eight days. Latency seems within normal, but there's— oh, there's this little spike over here in the very specific cluster that we've rented in India.\" \"Oh, tell me more.\" And so it becomes a conversation.\n\nNow meanwhile, everyone else in the room is listening into this. And I think there are very likely different sorts of cognitive processes going on. So for example, a very senior person is going to be like, \"Oh, Andrew has given them the good old 500s error and APAC trick. I bet this is from an issue that we had three years ago, and he's just doing this as a rerun.\" But maybe there's a junior person in there and they're going, \"Boy, I'm not thinking about this the same way Sally was thinking about this. That's cool. I've learned something from where Sally is going with this\"— that sort of a thing.\n\nNow keep in mind that the volunteer— this mythical Sally person that we're talking about— it's okay if they get stuck, because also that goes back to the whole norm-ing of the tribe. If you don't know an answer, that's okay. This is not like, \"Okay, now please go commit ritual embarrassment, and be shunned from the team.\" Instead it's, \"Okay, we'll phone a friend. Does anyone else here have a suggestion?\" And the game master is very good about making sure that they're not just always getting the smarty-pants person who's been here for 10 years answering the questions. And you just stir this rigorous scientific thinking through your team.\n\nBonus points if occasionally your game masters do something forward-looking. For example, the team is going to be on-call for a new feature in, okay, if this is the on-call for [the] Maps team, there's a new feature coming down the road where you'll be able to get directions by skateboard instead of by walking or biking, let's say. So maybe one person on the team has been working with the developers on the skateboard navigation feature. And so they're the game master that week. And they say, \"The following scenario happens three months in the future when we're on-call for the skateboard backend.\" And people go, \"Well, I don't know anything about the skateboard backend.\" \"True. Let's learn about it together.\"\n\nSo it really is a great way to build mutual trust, muscle memory, better neurons for rapid inference in the myriad decision tree that you'll be faced with when you're on-call, and some level of hope/strategy for the future. I love it and I recommend it for anyone. You don't have to have played a bunch of role-playing games as a kid to become great at either participating in or proctoring a tabletop. You just have to have some interest in it, some willingness to be a bit verbal— a bit more communicating than you might be in your day-to-day sort of job— and be fascinated with how other people learn or how you want to learn.\n\n**Viv:** Absolutely. I also really like that. I'd just like to point out that at least for Google, we have SRE EDU, which does do some form of this. And that's, I guess, the training program for new SREs. And so you get this upfront of like, \"Oh, let's test out the waters.\"\n\n**Andrew:** Exactly. I co-founded that group, and that was very, very important in our design. We wanted to make sure that people got a front-row seat to theoretical fireworks so that they didn't have to be scared the first time— like, \"Oh no, I'm letting Google down.\" Without giving too much of the secret sauce away, I will say that a really cool thing about being an SRE at Google is that in your second or third week on the job, you get to be on-call for a hypothetical Google service: fully featured, but [that] doesn't have any real users. It's just robots pretending to send clicks.\n\nAnd you learn both about how technologies at Google work and how they break. And then, \"Oh, huh. Why is this pager on my table going off?\" And before you know it, if you were given a lecture about internal corporate networking or production networking at Google, you're getting paged because of something that ultimately requires you to fix a part of the network that your stack runs on. And it's really cool. So by the end of the week, you've saved the universe four or five times. Of little consequence because that universe is synthetic, but it's a real conversation starter and it's a real memory jogger.\n\nSo what can you take away from this as maybe a listener of the Prodcast? That is, semi-realistic but low stakes opportunities for your newest or your newest to have been transferred onto a team within your company— opportunities for folks to test the waters out without becoming shamed or embarrassed— are so key. And it shouldn't just be at the beginning. Ideally, it should be something that happens regularly for everyone, because then you've incentivized learning and getting better as a group, as opposed to, \"Well, so-and-so's a screw up.\" It goes to the whole culture of blamelessness that we championed as being SREs.\n\n**MP:** Well, thank you so much, Andrew. It has been an absolute pleasure talking with you today. It's been great to hear all of the knowledge and the insight that you have in this domain. I definitely don't think I'll think about on-call rotations quite the same after this conversation.\n\n**Andrew:** Well, I'm really glad that y'all invited me on. I think it's wonderful that the Prodcast is now reaching larger audiences, and let's keep the conversation going.\n\nIf people have any questions about what we've talked about today, come find me on LinkedIn or something like that and I'll be happy to answer some more questions. But it's fascinating to me to see how the art and science of SRE has evolved both inside of Google and throughout the whole world. This is not a cliche when I say that I'm really excited to see what happens next. I'll be there, and I'll try to be refreshed enough to enjoy it, as I think we all should. So thanks again. Take care.\n\n**Viv:** Thank you.\n\n**MP:** Take care.", "znaku_textu": 44682, "slov": 8325, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:13:12", "sha256": "777def4192ba3ed3de6438498c50924bcda6deb0a78906f834a779fcdf27689e", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07/", "titulek": "Google SRE - On call rotation ideas with Andrew Widdowson", "h1": "On-Call Rotations with Andrew Widdowson (APW)", "popis": "Optimize on-call rotations with practical on call rotation schedule examples. Andrew Widdowson (APW) shares strategies for successful on-call rotations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07"}, "headline": "On-Call Rotations with Andrew Widdowson (APW)", "description": "Andrew Widdowson (APW) shares strategies for successful on-call rotations.", "image": "https://kstatic.googleusercontent.com/files/332e2f94502b7a53dfaf3113566c013fbc862baa013a442356edd5d605d77a3385f6a218cab20079c2f40feeb3c4b6f2e9b4845f133f30311ed5cb165ca2f981", "author": [{"@type": "Person", "name": "Andrew Widdowson (APW)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "On-Call Rotations with Andrew Widdowson (APW)"}], "markdown": "# On-Call Rotations with Andrew Widdowson (APW)\n\n**Andrew Widdowson (APW)** shares strategies for successful on-call rotations.\n\n**MP:** Hello, and welcome to Episode 7 of the Google SRE Podcast, or as we affectionately refer to it, the Prodcast. I'm your host for today, MP. And here with me is Viv.\n\n**Viv:** Hi.\n\n**MP:** Here with us today we have someone who I think the vast majority of SREs at Google have had the opportunity to either hear speak or have received teaching from him, and generally a really well-known name around SRE at Google. And he's here today to talk to us about on-call. Andrew, why don't you go ahead and introduce yourself?\n\n**Andrew:** Hey, thanks so much for the warm welcome. I'm Andrew Widdowson, and most people at Google know me by my username, which is APW. So feel free to call me Andrew or APW. I've been an SRE at Google for coming up on 15 years now. Wow. I've enjoyed the entire time. I spent over a decade working on our Google search systems at all front-end back-end infrastructure— you name it, I had looked at it. Then I spent a considerable amount of time, about four, maybe five years working on SRE education through the SRE EDU program. And these days I sling a bunch of data in a slightly less than typical SRE context. I work on the global resilience of our physical Google offices and a bunch of data analysis about how our employees are doing. So there you have it. It's been a wild ride, but I'm glad to talk to you today.\n\n**MP:** Yeah. So on-call is something I think a lot of people in [operations systems administration](https://sre.google/workbook/on-call/) are already familiar with. Why would you say it's SRE's job? It's always a little bit of a funny thing that we're usually the point people for these emergencies for these huge complicated systems, but we're also not usually the experts in how any particular piece of these systems works.\n\n**Andrew:** Yeah. Well, let me set the stage a little bit. So Google is a massively large company these days, but it is always been the case at Google that there have been more software engineers in a general sense, working on products, than there have been SREs. We are, if you will, naturally scarce. So while I agree that in many cases, for some of our most public-facing, high revenue, et cetera, high-risk sorts of products, that SRE should be on-call or co-on-call for a service.\n\nThe other part that I just want to mention that's a part of our leverage, a part of our scarcity, and a part of our selectivity, is that the overwhelming majority of, let's call them microservices at Google, do not have SRE on-call for them. So we pick and choose not our battles, but our responsibilities. And you can think of the fact that at least at Google, if an SRE is on-call, or an SRE team is on-call for a product, that means that there's a certain extra standard of reliability being afforded to it. But we try not to hoard that for ourselves. So even in many of those on-call rotations, we are co-on-call with our developers. Just wanted to clarify that off the top.\n\nBut why should an [SRE be on-call or an SRE team be collectively on-call](https://sre.google/workbook/on-call/) for a service? I think it's because we spend an extra— not necessarily disproportionate, but a necessarily proportionate— amount of our time thinking about the art and science of reliability, rather than just doing the things that make it reliable. So we are both on-call and we're thinking about how to make on-call better.\n\nWhereas the mindshare of many other software developers who may be themselves self-on-call for a service don't necessarily have that mindshare or that amount of time allocation to do that. So, I don't know. I think we're meant to be exemplars of on-call, and we will both do a great job at on-call and like I said, make it better.\n\n**MP:** It gives you a really visceral sense of the health of your systems when you're the one carrying the pager for them.\n\n**Andrew:** Absolutely. I want to be careful about how I say this because sometimes our internal phrasing can sound a little snarky, but I think it's important that our developer colleagues who don't first identify as Site Reliability Engineers— I also identify as a developer, mind you, but identify as an SRE first— our developer first counterparts need to be able to, quote, \"feel the pain of the service\"— the operational aspects of it— in order to be motivated to make it better, because otherwise, it's just throwing stuff over a wall. Here: take this, person who isn't really an SRE!\n\nIn my mind, SRE is about having the setup with your developers, the mutual respect to say, \"We're going to operate this together. However, we may call you in for the big things, because we know that you are a calming force and that you are— especially your brain is especially predisposed to thinking through the on-call issues.\" So you're not in trouble if an SRE shows up. The cavalry is here. The extra help has arrived if an SRE is here.\n\n**Viv:** I like it. So speaking of feeling the pain of your service going wrong, which I think you just mentioned, I think sometimes there's a perception that on-call is just really painful. It's like, \"Ah, I have to carry the pager… all these things are going to be terrible. It is this burden that is part of my job\" versus like, \"it's a part of my job.\" I guess there's different ways to think about it. What, to you, makes on-call a positive if it is a positive, and how can it be a positive if it's not?\n\n**Andrew:** Oh, for sure. The following might sound a little bit exaggerated, but I firmly believe it, and that is that on-call is… you get to be in the driver's seat. If you want a poor race car analogy, which I'll neglect to fully flesh out: you get to be in the driver's seat for a product for your slice of time. And so yes, if it turns out that you're— okay, bad analogies abound— if you're driving, if you're in a race car, but it's constantly backfiring, that's not going to lead to a fun lap around the racetrack. But if you're there and you're able to see the machine sing, if you're able to get the car to really hum and you use it efficiently, you come off the track saying, \"I can't wait to do that again.\" So for me, I look at on-call as: it's a temporary responsibility that I enter into along with everyone else who's in my on-call rotation to make sure that we have the biggest nonevent of my shift. But that being said, let's go straight into the painful on-call shifts.\n\nSo, again, the following is a cultural aspect of how Google treats its production operations. And it doesn't necessarily mean that this is right for everyone, but we have, as an homage or an honor to one of our almost founding members of the SRE org, Ben Treynor Sloss, Ben Sloss, we've named like a fatigue limit, which we've incorrectly called the Treynor limit— his last name is Sloss, we should call it the Sloss limit, whatever. We have this limit named after our grand poobah, which says: if you get more than a certain number of incidents that happen per shift, then that's a sign that your SLAs may need to be adjusted— probably do need to be adjusted.\n\nI mean, it's not the case of, \"Oh, I got paged 10 times today and that's over a threshold of, let's call it three, but this has only ever happened once. We should take radical action.\" No, of course not. But if you look over some smooth window of time and you realize that the amount of time you spend doing follow-through on your incidents, on your outages— which there's always a certain amount of follow-through, helping to coauthor postmortems, or seeing a fix through to production— if that is over a certain threshold, you will end up in some sort of cumulative failure, like a stack of dominoes falling over where you're like, \"Oh, but I can't write a postmortem 'cause I'm getting paged again. Oh, I guess I can't write the postmortem.\" That sort of thing is really bad.\n\nSo we look, at least at Google, with the thresholds that we've set. And again, what even is an incident? It can be— the measuring and the math that we particularly use is less interesting than the philosophy behind it, which is the SRE or really any production-oriented on-caller has a certain mental fatigue limit that we both don't want to get up close to, but we want to very carefully defend ever getting close to sustainably, so that people can say, \"I'm not depleted by my on-call shift. Instead, I'm intrigued or refreshed— best case— or nothing happened; I was bored with my on-call shift.\" That's okay, too.\n\nSo anyway, that's my take on making sure that you have a balanced thing and having the managerial and cultural support to say, \"This on-call rotation isn't sized for the number of incidents or the SLA that it has, or the number of people involved, et cetera.\" That's an important aspect of making sure that on-call is the sort of thing you don't run away from.\n\n**MP:** Yeah, so something I've noticed that is not a standard across teams, but is a common practice, is to actually have both an on-call and an on-duty rotation. How does this relate to that limit?\n\n**Andrew:** Sure. So just to be clear, let's define what we mean by on-call and on-duty generally. So I think on-call is: you are responsible for the vitality of the uptime, the responsiveness of the service during your shift. And on-duty means some sort of probably small quanta, but maybe high quantity of work that needs to be done: crank turning, answering tickets, answering support, whatever type of stuff.\n\nAnd sometimes mechanically, some teams will make the on-caller also be the on-duty person, because there are large swaths of time where you're maybe not getting paged for your service. The goal here is not to get you exactly one page per 12 hours or something. It's to be less than— which could be zero— incidents pages, et cetera, per shift. So that's just an optimistic overloading.\n\nBut I really do want to call out that I think the skill required and the level of thinking exercised— not the level— that the type of thinking exercise for on-call and for on-duty, it could be any number of things, but we'll just say it's very different thinking. One is more like, I'm going to do a repetitive thing or I'm going to follow some decision tree repeatedly and just make a bunch of copies or whatever it is that you do when you're on-duty. But for on-call, it's much more about, as our lead of SRE Education, Jen Petoff says, being stewards of the scientific method in a pressure cooker, at least while you're being paged.\n\nSo the only thing I would guard against, if you were to ask, would be making sure that on-duty does not drain the on-caller so that when they do get paged, say towards the end of their shift, but while they were still on-call, and they go, \"Man, I just did a bajillion thousand tickets and now I'm getting paged. Oh, my head hurts.\" That's not setting a team up for success. So some teams, like I said, optimistically overload on-call to also include, like, \"while you're here, do on-duty.\" But others keep it separate. And really, it comes down to how capable are you and your team of being simultaneously on-call, even if almost quote, unquote, \"nothing happens\", and also doing some other element of day job work.\n\nSo I particularly like coding while I'm on-call. And then I'll just make sure that I write copious amounts of structural documentation as I go. I often code comments first. So I've set myself up to be a fast— I can resume my coding quickly because I always bookmark where I was, if you will. For some people they're like, \"Man, I can't get anything done when I'm on-call. So just sure, give me the on-duty.\" I don't know why I'm using that voice for, \"Man, I'm so overloaded,\" but it really depends on the work. You can have on-callers who are double dutying as software engineers; you can have on-callers who are double dutying as technical program management, and so they may have different skill sets in what they do when they are not being paged.\n\n**Viv:** So if you can have, say, two people splitting the work of on-call/on-duty, you're saying it could be one person, it could be two… could you have two people who are on-call for the pager at the same time? What does the people distribution look like? And are there some guidelines on setting up your rotations?\n\n**Andrew:** Absolutely. So let me first answer the, \"Can you split being on-call at the same time?\" and then, \"How would you construct maybe the demographics and distributions of people involved in an on-call rotation?\" So keep me honest; let's bookmark that.\n\nIn general, I consider on-call to be both a symbol and a responsibility. So in the responsibility part, it's like, \"Oh no, we're spewing 404s in our front-end or 500s or something,\" and you've got to go figure out why it is, and make it better, faster, more like it never happened. But it's also kind of a, like I said, a symbol— a lightning rod, if you will. So if you are the on-caller, you are being given a token that says you are the decider for the reliability of this product. At Google, we have a saying, which is: when you're on-call for a Google product, you have temporary equivalent authority to a vice president. And that's really true. You may need to make the decision. A part of being on-call is deciding, and you may not be the most knowledged person in the decision space, but you are the most present and most stateful decider until such time as someone can augment you at your request.\n\nSo this is an indirect way of saying to your question, \"What if you split the work?\": so it's my personal preference to have on-call and on-duty be completely separate because I think it gives more agency to the single on-caller to say, \"I choose to do whatever I do when I'm not being paged. Whatever is best for my work and day job,\" as opposed to I'm being told, \"Please do tickets or this or that.\"\n\nBut if you were to split on-call by, say, having two on-callers, regardless of how on-duty is split, I think the ability to respond to an incident may be slightly improved possibly, but the authority-agency-visibility of, \"Who is the on-caller? I need to talk to the on-caller\" is reduced because you now have two people. You have maybe heard of phrases like, \"Too many cooks in the kitchen,\" or, \"If a problem is everyone's problem, then it is no one's problem.\" Or the classic, \"If you don't get what you want from one parent, you ask the other.\"\n\nSo needless to say, I am, for the most part, in favor of [a] single person being the primary on-caller. And if you have a second person for extra support— for relieving for breaks, for \"you need to go to the grocery store\"— I also recommend a secondary, but exactly that: a primary and a secondary rather than two co-primaries and no secondary. That's my personal preference. I think it solves for efficacy of communication and it also solves for agency of the on-caller.\n\n**MP:** Yeah. Thinking about it, the thing that would throw me off the most of trying to have two primary on-callers is, well, how you're splitting who's taking what page and doing that in some kind of equitable way. But even then, once you start, if you're just going back and forth, just alternating, there's a visibility loss there potentially— that as one page can be the consequence of the thing that happened 15 minutes ago and isn't actually a separate problem.\n\n**Andrew:** Yes. The other argument I would make here is if you were to be so unlucky as to have two problems coming in in short distance from each other, and it turns out that they are in fact completely unrelated or mostly orthogonal, having your secondary remain mentally fresh so that when you get paged again and you look at the thing you go, \"Oh, that's not related to this at all. Dear secondary person, would you please take this?\" Then this also reduces the cognitive burden for each of you. I think that's related to what you're saying.\n\n**MP:** Yeah, definitely.\n\n**Andrew:** So I think the second part of your question, if I'm hearing you right, was about how would you design parts of on-call, or would you like to throw that question back to me? I just want to make sure I understand.\n\n**Viv:** Sure. Yeah, I was just asking about the rotation since we were talking about how you might staff it. Other parts of the rotation. So maybe there are more opinions on staffing, but also: how long is your rotation? What does it cover? I don't know. I know I'm throwing more questions at you in response to us bookmarking a question for later.\n\n**Andrew:** This is great. I welcome all the questions. [laughs] So hear me out, fair listener, when I say the following— because again, same disclaimer as before. This is just an overview of ways that Google has chosen to solve things and size things. And so if you hear something in the following that you feel like it could never work for your company or your team, that's okay. But hear me out on some of the different trade-offs and things that we've evolved into.\n\nSo for one thing, we tend to pretty heavily staff our SRE teams. So we have an internal minimum standard of having six or maybe seven— I've lost track— people on each of two sides of an ocean, as it were. Two geographically very different sites must each have at least six or seven people in them. So that would be cumulatively 12 to 14 people at minimum in order to have an officially SRE-funded on-call team and on-call rotation. And so that has implications for all of the rest of the math that we're about to do. You might say, \"I'm a team of three, this doesn't make any sense for me!\" That's totally fine. But hear me out on some of the additional timing that we do.\n\nIt is on a SRE team by SRE team— well, for that matter, any on-call team— basis to determine how much time an on-caller spends per shift, how many shifts you have per day or per week, et cetera, et cetera. But of course— and this is an important thing to flag— it is the responsibility of anyone making an on-call rotation to comply with local laws, local employment laws regarding work, work hours spent, and so forth. And so when I say the following, I mean this for a majority of teams, but there are always exceptions based on where some of our on-callers are based.\n\nSome teams choose to have a, let's call it \"seven unique days a week\"— like a one day of on-call, then further split into, say, 12 hours, so like 12/12. And what this might mean is, let's say that you have different people on your team, and I'll call them A, B, C, D E. Those are all people. It might be then on day one, you have 12 hours of A and 12 hours of B. And then on the next day, you have 12 hours of C and 12 hours of D, where A and C are on one continent and B and D are on another. So that's a case of a dual-homed on-call rotation that is 12 hours within each 24 hours. So that would mean you could have conceivably up to 14 different people a week. Of course, some people may choose to coalesce and say, \"I'm going to take Monday, Wednesday, Thursday,\" or, \"I want to take Friday, Saturday, Sunday.\" They could choose to do that by horse-trading with their colleagues. But the idea is you roll the dice in advance and you could have a completely new person for tomorrow's 12 hours in, let's say, California time than you did in yesterday's 12 hours of California shift or whatever.\n\nSome other teams have much more of a congealed or consecutive sort of basis. So they'll say, \"Okay, well, we're still going to do 12 and 12, or maybe we move the divider between the two on-call teams because one is in a slightly different time zone where it's a little bit harder to do this. So we're going to have some sort of a mercy shift, which is like we do 10 and 14 because of whatever the case may be.\" Sometimes you don't control what nation your second on-call team is hired in because it was a matter of your company staffing priorities, let's say.\n\nSo regardless of whether it's 12 and 12 in a day, or it's X and Y that sum up to 24, maybe you do formally say, \"Okay, we're going to have the same person be on-call from North America during their daytime, plus or minus, for 7 days at a run.\" So that's much more of a different end-of-the-rails sort of setup. So you say, \"I'm doing an on-call shift for 7 days, 12 hours a day. And I have a colleague who's also doing 7 and 12.\"\n\nAnd there are also variations somewhere in the middle between these two that we've seen as well, which is, for example, not doing daily, not doing weekly, but doing something like either over the weekend plus Friday or Monday, so let's call it \"Friday, Saturday, Sunday,\" and then having an entirely during the workweek \"Tuesday, Wednesday, Thursday\" setup. And by the way, I say that with a North American view on the workweek. You can imagine modifications for cultural norms in certain nations and certain countries, specifically around maybe days of Sabbath or employment law, et cetera.\n\nBut there are other variations, as well. So some people say, \"We prefer on our team to know that we always have the same hours of the day that we're going to be on-call for. So give me whole days.\" So Friday, Saturday, Sunday was my previous example versus Monday, Tuesday, Wednesday, Thursday. Or some people say, well, actually there's a benefit to having a midday handoff just before a weekend or just after a weekend because we want to acknowledge the fact that sometimes change in our systems— in fact, very oftentimes— change in our systems, which could be reliability-impacting changes, occur due to, well, humans. And humans are diurnal creatures who are awake or asleep and that have, let's face it, very different behaviors during workdays versus maybe weekend or rest days. And so some people say, \"Eh, let's do a Monday to Friday, but splitting it halfway through what would otherwise be a shift so that I get half of Monday through half of Friday and someone else gets half of Friday through half of Monday in each of our respective 12-hour shifts.\"\n\nHonestly, I think the difference between a halfsies Monday-Friday split versus a Friday plus the weekend and workdays minus Friday split is minimal. I think it may be over-optimization, but honestly, if there's a thing that resonates with your team or with your org and they would prefer to do that, give them that choice. Plus so long as you have systems that allow you to carefully trade shifts for people so that they can further micro-optimize for mutual benefit amongst pairs of people who want to do each other favors, you're going to be okay.\n\nThe last thing I'd advise for you to do, however, is just to say, \"There is a robot that declares when people are on-call and it's all going to happen and you can't change, and deal with it.\" You have to acknowledge there are humans all throughout all of these processes. And we want to optimize for their happiness and their sustainability to want to come back to the on-call rotation.\n\n**MP:** Prior to when I came to Google, I was actually part of a single site on-call rotation that had a 24-hour pager holding. I can't remember exactly how we split the weeks, but it would be multiple consecutive 24-hour periods that we'd be holding the pager for. And I'm sure there are organizations out there that don't have the ability to have dual-sided teams.\n\n**Andrew:** Absolutely.\n\n**MP:** So what would your recommendation for them be?\n\n**Andrew:** Well, to the extent possible, I think the most important thing we need to keep in mind in any [on-call design](https://sre.google/sre-book/being-on-call/)— regardless of whether it's split within a day or not, 24 hours a day or 12 hours a day— is that our humans or on-callers are our most precious resource and their freshness, their vitality— nevermind the service's vitality— is most important.\n\nSo for example, one day I came into work when I was— it was like my third or fourth week on the job. And I came in to find— and of course, this is going to sound like some Silicon valley stereotype, but please bear with me for a second— I found the engineer that I knew the most, my mentor, sleeping in a bean bag. There's the Silicon Valley stereotype, but take from it what you will. When he woke up later, I asked him, I said like, \"Is that a thing that's allowed? Can we sleep in the beanbags?\" And he said, \"Well, I got paged late last night. And so I still came into work today because I'm on-call a little bit later today, but I was doing the company a favor last night and staying up later to make sure that I saw this through. And I know that if I get paged, it will page me in this case [during] what would otherwise be my business hours, daytime, but I'm going to take a bit of a nap so that I can be much more fresh in case I'm not paged until later today. I want to do better at that page.\" So yes, \"be easy on yourself\" was the directive that he gave me. And I remember that to this day.\n\nBut maybe the general lesson to take away from this is, if you're going to be doing an all-day and all-night on-call rotation, I don't think it is sustainable personally to be paged multiple times in the middle of the night for multiple nights if the type of work you are doing is not shift work. I know certain classes of engineering work are like, \"Oh, I'm going to roll onto the night shift and I'm going to roll off.\" That's a different story. But if you are a quote-unquote, \"daylight hours\" worker, 40 hours a week, whatever the case is, but you are also on-call, the only thing I would ask of a management structure in that is to have compassion for the fact that if people are woken up in the middle of the night multiple nights, they're not going to be at their best for later times.\n\nSo what might be a compromise here? I would maybe suggest that maybe there's a policy— like if you get paged in the middle of the night on multiple consecutive nights, that there's a mercy substitution, like you can avail of your colleagues to see if someone will take over the rest of your shift, knowing full well that most of the time, if things are sized right, crossing your fingers, this won't happen. But in the rare case it does, we let you tap the hours, is essentially what I'm saying. That would be my suggestion. But again, given that that is not how things work at Google, I'm merely speculating. And I wish everyone the best of luck in figuring out how to size, shard, and trade their on-call rotations.\n\n**Viv:** I really liked that you said that the people come first.\n\n**Andrew:** Yes.\n\n**Viv:** I'm just using myself as a reference point, but when I first started with on-call, I was really nervous about being on the rotation. You don't want to let the team down, you want to make sure you're getting to everything. And I think it is a good reminder that you have to make sure you are in your best spot, which ultimately will help the rotation, too.\n\n**Andrew:** Exactly. It's not like we're like, \"Welcome to SRE. We're going to burn your amygdala out from stressing you out for multiple days on end. And you're going to start smelling colors.\" That's not what we're here for. It's the mythos, the kind of the reputation that we put around SRE at the risk of over-mythologizing SRE, which is itself dangerous.\n\nBut what we generally tell people when they join the SRE org at Google is, \"Welcome to this specialty role. It's going to require you to grow as an engineer. If you are a software engineer, now you need to learn some more operational things. If you were more operational-oriented, you're going to learn more software things. You will become a hybrid role. Not only will that make you a better engineer, we believe, but also it means that we will use you more selectively for the better good of Google products. And so with that, we are going to make major investments in you and in your operational, as well as psychological, safety. Obviously, we'll treat you well in all other respects, as well. But not only will it be you, you won't be alone. You'll be with a team of people who will be your fellow on-callers and people who are responsible for making the reliability of your product better.\"\n\nBecause of this— it's essentially, everyone loves being told in some way, \"You're special.\" But we try to embody that in what we bring people into, because we know that there will also be times that are very challenging and hard, and \"I don't know the answer\" and \"do I look bad?\" and so forth. And so we try to empower people to know, \"You are the best person for the job at the time. Decisions will be made and systems will become more stable, but we're not going to burn you out or leave you on a ledge because of it.\"\n\n**MP:** Digging more into the staffing question, when it's time to turn up a new on-call rotation, to have a… I guess, in the Google structure, you would say that dev— the engineering organization— has decided that they think it is worthwhile, that it's worth the investment to have SREs for this part of the system. And there now needs to be a new on-call rotation that didn't previously exist before. How do you get from that state— where really the developers are the keepers of all the knowledge and all the information about how the system works— to also having this SRE team alongside them that is ready to respond in an emergency?\n\n**Andrew:** Yes. So there are a lot of different ways to barn raise or bootstrap, if you will, an on-call rotation for a product. And especially if you're going from an existing on-call rotation that was self on-call by the developers of the product and there were no SREs involved, to going to one where the developers may still occasionally be in the on-call rotation, but the overwhelming majority of time is attended to by SREs— there are a couple of different ways you can do this that I think will lead to a more sustainable, less painful, better results, faster sort of a thing.\n\nSo allow me to paint a picture of maybe an over-design of things you could do. Pick from this— any of these recipes. And I think it will be better than just turning the lights on an on-call rotation and throwing the pager over a wall.\n\nSo perhaps with the talent pool that you have, maybe you already have a mature set of SRE team or teams, and you have identified the most senior folks within those teams, but they're on-call for completely different products at your company. Like we like to say, titrate onto any new experiences. That's not only pro advice in the mental health space; it's like saying, \"don't put in the hot liquid or you'll curdle the milk\" kind of a thing. It's, if you can, try to seed a new SRE engagement with one or more senior, already experienced SREs, even if they are not in the same product's domain. Hypothetically, let's say we were turning on Google Maps on-call for the first time. So what if the person you bring over was in Search? They've had experience with on-call and reliability. So if you have that, I would start with that.\n\nThe next most important suggestion I would have is: there was a presumption here that you do not have an infinite supply of fully grizzled veteran SREs or whatever it is— fully experienced SREs to staff all of your new on-call rotations. And that eventually, if not as your second or third hire, certainly as your fourth or sixth hire, you may have someone who's completely new to the SRE role, but you hire them because they're an intelligent thinker— they're an engineer in the making, or they're an engineer in their experience, but they're an SRE in the making.\n\nWhen you get to the point where you have people who are both learning the product and the role of SRE simultaneously, it is vital, in my opinion, that you have a very good safety net under and around them. What I mean by this is education and being able to walk the walk and being able to posture yourself as an SRE. Being able to emulate the thinking— the scientific thinking that goes into being an SRE— all of that's important. And the last thing you want to do is raise someone in a vacuum. I know we overly use the phrase \"cargo cult engineering\" in engineering. I think it's an unfortunate phrase, but many of you know what I mean: we don't want people to reinvent SRE in a vacuum 12 hours in the future from their other on-call colleagues. Because at the end of the day, thinking about this from a psychological standpoint, SREs are engineers who are already rapid inference-makers. Engineers, you know, trying to measure a couple of times, cut once or twice, make a better bridge, whatever it is that engineers do, but SREs specifically tend to be hired because they are in the good sense of bias; they are rapid, biased decision makers. And so this doesn't just apply to how they solve that we're serving excessive 500s in our front end. It's not just technical challenges. They're inherently biased creatures when it comes to things like, \"Do we trust our fellow on-callers? I can't detach from work because we have someone junior, and what if they get paged and we still need to keep the site running?\"\n\nSo this is a very long way of saying: I think it's very important that you have fully participatory education of all existing team members, to raise the next set of SREs that you hire and bring into the team, for everyone's benefit. Not only will it accelerate the journey to on-call for the newbie, as it were, but it'll also increase trust amongst the rest of the team.\n\nIdeally, you don't have an overly judgmental, clique-ish, middle school-style SRE team. \"No, you can't sit at our lunch table,\" nothing like that, certainly. But you want people to be able to see that your newest people succeed or fail at a theoretical exercise multiple times before they get their hands on the control surface and before they are solo on-call.\n\nSo when I say this, my recipe, then, for an SRE on-call team is clear. The first person should be highly experienced. And the point that I made through that long-winded explanation is: the second person should be someone who is relatively senior but is incredibly good at helping teach the art to anyone else and helping to further stir the cultural pot of norms going on in your team.\n\nAnd then the third plus folks can either be senior talent if you've got it, or junior talent if you want to build it. But any way you slice it, you need to make sure that you have people who are good at norm-ing the team as you go. There are other, of course, considerations at play as well, including: when do you hire? Do you start with a 24-hour rotation or do you start with the 12 and 12, plus or minus? How do you make sure that both— assuming that you're dual-homing your on-call rotation— both sites feel equally empowered, and it's not that one is domineering over the other, or that only decisions are made in the same time zone as where your developers live, or something like this. There's a lot of that.\n\nBut on the whole, in summary, in barn raising an on-call rotation, I look for super-senior— like exemplars of the art— then teachers of the arts— which can often also be exemplars of the arts and ideally are— and then the healthy mix of people from different sorts of backgrounds within all of this. And again, I just want to encourage you to say that it's okay if an SRE comes from a radically different product within the company or elsewhere into an SRE team. If anything, as our biologists would say, this adds hybrid vigor. So it's great if you've got a front-end-oriented person and a throughput or pipeline-oriented person working in the same SRE team. Oh, and by the way, that new SRE team is a storage layer that isn't front-end or throughput. That's actually one of the best cases for eventual awesomeness: robustness of awesomeness.\n\n**MP:** Could you go into a little more detail about creating an opportunity for everyone on the team to build their own confidence in their teammates' abilities?\n\n**Andrew:** Yes. And failing in a theoretical exercise rather than on the real product. Yes.\n\n**MP:** Yeah. Can you talk a bit more about what that would look like for a team?\n\n**Andrew:** This is one of actually my favorite things to talk about, so I'm so glad that you led us here. Part of being in this tribe, if you will, of SRE is the kind of oral culture. Part of this is the lessons you learned from your predecessors and then eventually your colleagues. And so one of the best ways to have really good muscle memory at diagnosing problems, becoming better at applying the scientific method as it were in your on-call, is to practice it in a no or low-stakes environment ahead of time.\n\nIn some circles— especially gaming circles— you might hear of tabletop-style exercises with game masters who are running you through a multi-player adventure. You're in a twisted maze of 500 error codes and Prometheus consoles. What do you do next? I go left. Okay. What do you see there? Like if you have your own multi-user game, that's a lovely environment. Other security professionals will also use the word tabletop exercise. It's like, we're going to see what happens if we have a certain country invade another country. What do we do? Who do you call? That kind of a thing.\n\nAt Google, we have what we call \"Wheel of Misfortune,\" which is just a cheesy way of saying that we do a tabletop. And what we do is: many teams will have a weekly or monthly sort of gathering. They'll call it Wheel of Misfortune or something else. It's a tabletop where the game master has been thinking, since the last game anyway, about an interesting story, an interesting diagnostic path that they want to socially norm out to the rest of their team. They want to inoculate them to the, \"Well, I've never thought of this before\" problem.\n\nSo they'll come up with some sort of trigger condition and some sort of actions that need to occur in order to save the universe or save your product from certain ruin. So maybe it'll be that the whole team gets together in a big room with a whiteboard or a computer running a synthetic copy of your services stack, and they'll say, \"Okay, well, today's volunteer is Sally. And okay, Sally, welcome to being our brave on-caller for today. Your backup on-caller today is me. You get paged because of the following message.\" And it's something authentic to how your alerting and monitoring systems work at your company. And maybe you don't have screenshots of a real thing that's broken or maybe you do; maybe it's all verbal. So the person says, \"Okay, Sally, so you get paged for excessive 500s in Asia Pacific. Where would you go to validate this? What would you click on? What would you see?\" And maybe Sally says, \"Okay, well, so I open up our Prometheus dashboard and I filter it out so that I'm only looking at the Asia Pacific region. And then I'm looking at what cloud clusters we're running from. What do I see, Andrew?\" And as the game master, I would say, \"Okay, well, you see a bunch of what looks like very cyclical traffic going over the last eight days. Latency seems within normal, but there's— oh, there's this little spike over here in the very specific cluster that we've rented in India.\" \"Oh, tell me more.\" And so it becomes a conversation.\n\nNow meanwhile, everyone else in the room is listening into this. And I think there are very likely different sorts of cognitive processes going on. So for example, a very senior person is going to be like, \"Oh, Andrew has given them the good old 500s error and APAC trick. I bet this is from an issue that we had three years ago, and he's just doing this as a rerun.\" But maybe there's a junior person in there and they're going, \"Boy, I'm not thinking about this the same way Sally was thinking about this. That's cool. I've learned something from where Sally is going with this\"— that sort of a thing.\n\nNow keep in mind that the volunteer— this mythical Sally person that we're talking about— it's okay if they get stuck, because also that goes back to the whole norm-ing of the tribe. If you don't know an answer, that's okay. This is not like, \"Okay, now please go commit ritual embarrassment, and be shunned from the team.\" Instead it's, \"Okay, we'll phone a friend. Does anyone else here have a suggestion?\" And the game master is very good about making sure that they're not just always getting the smarty-pants person who's been here for 10 years answering the questions. And you just stir this rigorous scientific thinking through your team.\n\nBonus points if occasionally your game masters do something forward-looking. For example, the team is going to be on-call for a new feature in, okay, if this is the on-call for [the] Maps team, there's a new feature coming down the road where you'll be able to get directions by skateboard instead of by walking or biking, let's say. So maybe one person on the team has been working with the developers on the skateboard navigation feature. And so they're the game master that week. And they say, \"The following scenario happens three months in the future when we're on-call for the skateboard backend.\" And people go, \"Well, I don't know anything about the skateboard backend.\" \"True. Let's learn about it together.\"\n\nSo it really is a great way to build mutual trust, muscle memory, better neurons for rapid inference in the myriad decision tree that you'll be faced with when you're on-call, and some level of hope/strategy for the future. I love it and I recommend it for anyone. You don't have to have played a bunch of role-playing games as a kid to become great at either participating in or proctoring a tabletop. You just have to have some interest in it, some willingness to be a bit verbal— a bit more communicating than you might be in your day-to-day sort of job— and be fascinated with how other people learn or how you want to learn.\n\n**Viv:** Absolutely. I also really like that. I'd just like to point out that at least for Google, we have SRE EDU, which does do some form of this. And that's, I guess, the training program for new SREs. And so you get this upfront of like, \"Oh, let's test out the waters.\"\n\n**Andrew:** Exactly. I co-founded that group, and that was very, very important in our design. We wanted to make sure that people got a front-row seat to theoretical fireworks so that they didn't have to be scared the first time— like, \"Oh no, I'm letting Google down.\" Without giving too much of the secret sauce away, I will say that a really cool thing about being an SRE at Google is that in your second or third week on the job, you get to be on-call for a hypothetical Google service: fully featured, but [that] doesn't have any real users. It's just robots pretending to send clicks.\n\nAnd you learn both about how technologies at Google work and how they break. And then, \"Oh, huh. Why is this pager on my table going off?\" And before you know it, if you were given a lecture about internal corporate networking or production networking at Google, you're getting paged because of something that ultimately requires you to fix a part of the network that your stack runs on. And it's really cool. So by the end of the week, you've saved the universe four or five times. Of little consequence because that universe is synthetic, but it's a real conversation starter and it's a real memory jogger.\n\nSo what can you take away from this as maybe a listener of the Prodcast? That is, semi-realistic but low stakes opportunities for your newest or your newest to have been transferred onto a team within your company— opportunities for folks to test the waters out without becoming shamed or embarrassed— are so key. And it shouldn't just be at the beginning. Ideally, it should be something that happens regularly for everyone, because then you've incentivized learning and getting better as a group, as opposed to, \"Well, so-and-so's a screw up.\" It goes to the whole culture of blamelessness that we championed as being SREs.\n\n**MP:** Well, thank you so much, Andrew. It has been an absolute pleasure talking with you today. It's been great to hear all of the knowledge and the insight that you have in this domain. I definitely don't think I'll think about on-call rotations quite the same after this conversation.\n\n**Andrew:** Well, I'm really glad that y'all invited me on. I think it's wonderful that the Prodcast is now reaching larger audiences, and let's keep the conversation going.\n\nIf people have any questions about what we've talked about today, come find me on LinkedIn or something like that and I'll be happy to answer some more questions. But it's fascinating to me to see how the art and science of SRE has evolved both inside of Google and throughout the whole world. This is not a cliche when I say that I'm really excited to see what happens next. I'll be there, and I'll try to be refreshed enough to enjoy it, as I think we all should. So thanks again. Take care.\n\n**Viv:** Thank you.\n\n**MP:** Take care.", "znaku_textu": 44682, "slov": 8325, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:25", "sha256": "777def4192ba3ed3de6438498c50924bcda6deb0a78906f834a779fcdf27689e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08", "titulek": "Google SRE - Incident management process with Adrienne Walcer", "h1": "Incident Management with Adrienne Walcer", "popis": "Master Google SRE incident management with Adrienne Walcer. Learn best practices for organizing and managing incidents throughout the production lifecycle.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08"}, "headline": "Incident Management with Adrienne Walcer", "description": "Adrienne Walcer discusses how to approach and organize incident management efforts throughout the production lifecycle.", "image": "https://kstatic.googleusercontent.com/files/cb65d58f70a424b1fe5ce3bcc6d189067df424399aba78ae45c7c3c9969c2d523eb1d9767978af1e28c3c76addaa66e9137fbb4f62ca8b51e100c5da776f6f0e", "author": [{"@type": "Person", "name": "Adrienne Walcer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Management with Adrienne Walcer"}], "markdown": "# Incident Management with Adrienne Walcer\n\n**Adrienne Walcer** discusses how to approach and organize incident management efforts throughout the production lifecycle.\n\n**Viv:** Hi everyone. Welcome back to the SRE Podcast. This is a limited series where we're discussing SRE concepts with experts around Google. I'm Viv, and I'm hosting with MP today.\n\n**MP:** Hello.\n\n**Viv:** Hi, MP. We have a special guest today: Adrienne. So hello, and... introduce yourself?\n\n**Adrienne:** Sure. Hey, y'all, I'm Adrienne Walcer. I'm a nine-year Googler and a Technical Program Manager in Site Reliability Engineering. I'm also the program lead for Incident Management at Google. You may have seen me before, through— I wrote a book thing? I'm still self-conscious about it because I'm pretty sure my mom has just downloaded it several thousand times. She's lying to me about it. It's called [*Anatomy of an Incident*](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/); that is with O'Reilly Publishing. And I also had the pleasure of hanging out at the last USENIX LISA conference, for all of you large-scale distributed systems nerds. Wow— what a weird and specific thing to be nerdy about. Yeah! How are y'all today?\n\n**Viv:** We're great. We're glad to have you here. And I am glad you know so much about incident management because that is what we are here to talk about today.\n\n**Adrienne:** Nice.\n\n**Viv:** So in our previous episode, we talked a little bit about just generally being on call, and now we're kind of at the point in the process where, hey, it's whatever your favorite day of the week is, and you're at home, chilling— or if you're me, taking a nap— and your pager goes off. So I guess the big question is: then what? Or I don't know if you want to back up a little bit, but where do we start when we talk about incident management?\n\n**Adrienne:** I've noticed that there are two primary schools of thought around incident management. The first school of thought is that you manage an incident and then it's over; you move on. Incidents are a single point-in-time event that occurs that you need to get through in order to go back to doing whatever you were previously doing. The second school of thought is that incident management is a practice that you do every single day with every single piece of engineering that you touch. Incident management is a continuous cycle that will exist throughout the lifecycle of your system.\n\nI am a firm believer in number two. So even though your pager is going off at one moment, I believe pretty firmly that you are managing the incident from the second that you wrote the root cause into your technical stack.\n\n**Viv:** I like it. Definitely good to back up then. If you are always in the cycle of incident management, then how do you know where to start when you want to get into best practices?\n\n**Adrienne:** Great question, Viv. So there's the difference between your perception of a system and how the system is actually functioning. Usually, we first get involved in the incident management process when a signal has been raised to indicate that our system is no longer in the expected state of homeostasis; something has changed. An alert has gone off, a user sent you a nasty email saying \"what the heck?? I lost all of my Angry Birds\" or something. You get an indicator that something isn't normal. Ideally, these are automated, but that's a problem for later us. And this indication that your system is in some kind of hazard state, some kind of outage state, some kind of incident state, that's when usually we start engaging with the incident management process, because something has been tipped off that, oh, we need to act and we kind of need to act now.\n\nBut realistically, we build our incidents and our outages into systems as we engineer them. Every time we create a dependency, we create a possibility that that dependency won't be available. Every time we create a config, we create the possibility that that config is gonna be out of sync with what your system really needs. So on a continuous basis, it's the cycle of triggers and a matrix of root causes. And these root causes are gonna be the underlying challenges or issues that your system might have. And these triggers are environmental or system context shifts that enable those underlying system hazards to become problems, to become incidents, to set off those alerts and set off those pages. And what those really are, are indicators that something isn't the way it usually is.\n\nThis doesn't always mean that an incident is necessary and that it's time to raise the alarm and wake everyone up. No— it means that it's time to apply a little bit of thinking and diagnosis and triage to that system and identify whether or not this marker that has no longer been moving in a normal direction, whether that's indicative of something really problematic or whether it's just an environmental shift that your system knows how to handle. And then the incident management process from there is working through, responding to that incident if that incident exists, helping to mitigate whatever challenges are thrown your way— helping your system recover, become more stable, grow further. And then eventually another incident will happen again.\n\nSo it's a bit of a cycle and we move through these phases of planning and preparation of incident occurrence, of response, of mitigation, and of recovery. And usually these recovery actions— these things that we take to build a more stable system— are the same things that we should be doing in order to better prepare and train and be ready for incidents, 'cause those hazards, they already exist. The state of building something means there is uncertainty as to that thing's future.\n\n**MP:** It sounds like you're using hazard as a bit of a term of art. Could you define that for us?\n\n**Adrienne:** Yes. So when I'm thinking root cause and trigger or hazard... so a hazard can exist in a system for an indefinite period of time. The system environment needs to shift somehow to turn that hazard into an outage. And essentially \"root cause\" kind of equals the \"hazard.\" In reality, a root cause is usually a very complex matrix of factors, of timing, of user behaviors. But saying \"root causal matrix\" is kind of a mouthful. So when you say \"hazard state,\" that means that your system is in a state in which something is vulnerable to error. And that's kind of cool, but that system environment needs to shift to transition that hazard, which can exist in a stagnant kind of non-moving state for a while. Something needs to happen for that to become a problem.\n\nI mean, think of it a little more broadly. A gas leak in a house can go on for hours, but it's not until an electrical switch flips or a burner lights up before that gas leak turns into an outage or a problem, or an incident scenario. There needs to be some kind of environmental shift and that environmental shift, usually we refer to that as the trigger. So it's related, but it's a separate thing. And these two work in concert in order to create hazardous or dangerous scenarios. And when you think about prevention efforts, sometimes it makes sense to work on and make more safe one of these underlying hazards within a system. But sometimes it makes sense to build stronger prevention around these trigger conditions— essentially building a safer environment for the system to operate in. So you could get more of what you want, which is safety, which is security, which is reliability.\n\nI know it's super nerdy, *super nerdy*, but these are some of the language bits that we use in the field of systems engineering to talk about broad systems. They aren't inherently software engineering terms, but, you know, SRE is a combination of systems engineering and software engineering. So it makes sense to borrow from both fields of study. And there's a lot of really interesting literature and nerdiness, general nerdiness around the creation of hazard states and fault analysis within systems. And all of it creates really juicy learning tidbits that I try to get everyone to consume. And sometimes it's like getting kids to eat their broccoli— unless you have one of those weird kids that loves broccoli, in which case, jealous. But sometimes folks see the value of some of this deep nerd dumb. And I'm hoping that a lot of folks will take this as what it is. It's a language that can be used in order to describe incidents and incident management and start some of these more critical, important conversations either on your team and your company, maybe around your house. I don't know what you do in your free time.\n\n**MP:** Going back to the stages of an incident that we were talking about, there's mitigation and recovery and kind of that improvement side of the story.\n\n**Adrienne:** Mm-hmm.\n\n**MP:** I'm now hearing about this framing of hazard [that] is brand new to me. And now I'm thinking about on the recovery side that you can either try to eliminate a hazard, but you can also try to manage a hazard. You don't necessarily need to— at least that's my initial intuitive response— is you don't necessarily need to eliminate hazards; you can manage them. Is that intuition true?\n\n**Adrienne:** Yeah. I mean, hazards exist everywhere and a lot of them are totally out of our control. Like things we can't inherently control are user behaviors, whether or not your app or video goes viral because of the shout-out on a local news show. We can't control the speed of light, the size of the earth— which is woefully inconvenient sometimes. But all of these things create, essentially in some weird way, hazard conditions that we need to work around in order to optimize our system for what we think, or maybe what we know, or maybe what we hope our users need. And here's a really bad analogy: being outdoors, kinda hazardous. There's bad weather, maybe there's animals, maybe there's bears, you get bugs. Just weird stuff happens outdoors. I'm an engineer, Viv. I'm indoorsy. Don't laugh at me.\n\n**Viv:** No, we're all indoorsy here. I think it's funny because the way you said it made it sound like the outdoors is just this perilous, like, nightmare. Don't step outside, you know, the mosquitoes will get you.\n\n**Adrienne:** I do believe the Google Australia sites are hiring if you're interested in a thousand things that can murder you. But, outdoors: many hazard conditions— so many hazard conditions. But how do we work on these set of hazard conditions in order to keep our human bodies safe? We live in houses or in buildings or in tents or yurts. I don't know what people do. But that's essentially a mitigation from the series of hazard conditions that exist for living in the world.\n\nI know— so deep, right? I am a puddle. But it brings up some really interesting things because incidents happen. They're weird; they're confusing. Maybe we like them, maybe we don't, but we need to figure out what is the best work that your team can do after an incident. And by thinking about things in terms of this language of hazards and triggers, you could figure out where your team or where your org or whatever can exert the most control in order to make the most efficacious changes on that system and on that system environment. You know, your incident has been mitigated, your system is stable again; does it matter that you understand the underlying problems? Yes. Because you want to prepare for the next problems and you don't want the same problems that you just dealt with to come back again. Something that our SRE vice president Ben Treynor has said on numerous occasions is that he only wants new incidents. You know, if we've seen something before, we don't wanna see it again. We're not into the replay or repeat button on the record player. Wow, record players. I am old. Doing the work to understand what is shifting within your system and how it works, that'll help you from having those same repeat issues over and over again.\n\n**Viv:** That makes sense. So you mentioning that you don't want repeat incidents reminded me of— I think we might have jumped a little bit over this, but I'm curious if you have thoughts particularly. So you said, okay, yeah, your incident is mitigated. Sometimes that's easier said than done, right? Especially in the moment. I guess I'm curious before we even get to the \"how do we wanna move forward?\"... how do you make sure this doesn't happen again, you know, et cetera, whatever steps come afterwards when you're there in that moment. I you're looking at something that is totally new— new trigger, a hazard you didn't realize was around— what can you do? I don't know. What is your advice in this case? Or, you know, another nice outdoor analogy, but I'm a little lost on the analogy right now.\n\n**Adrienne:** No, no, I feel ya. Like, I think the most terrifying part of the incident management lifecycle is that moment when an alert or your pager goes off and there's those few seconds of, \"Oh gosh, is this a thing I can deal with?\" And then there's always that like, \"Is this a thing *I* can deal with?\" 'Cause those are the moments where I always have that instinctive feeling of like, well, time to go and cry to my manager and I'm gonna hope that they have sufficient magical wizardry, that they can handle the big evil problems.\n\nSo an incident happens; you're staring at something you don't know how to deal with. I have two things that I love for people to think about at this point in time. Number one is figure out immediately, or as quickly as possible, if you're having any user impact. Because realistically, if your system is sufficiently robust, a little bit of outage might not be super noticeable. But if your system is quite sensitive to its current balances and configurations, if it can't take a lot of really sudden fluctuations, what you wanna make sure of is that your end user is having an acceptable time and interacting with your system. So for there, we wanna do things called mitigations, and Jennifer \"Macey\" gave a great overview on mitigations and mitigative activities. I believe she appeared recently on the SRE Prodcast.\n\n**Viv:** She did indeed. She's our first guest.\n\n**Adrienne:** Awesome. So if you see immediate user impact, like I love to prioritize having some kind of Band-Aid to bring about a little bit of stability, such that you have time in order to figure out what's really happening within your system. And depending upon the size of the problem and how many folks you're gonna need in order to resolve that problem, that's where some of the art of incident management comes in.\n\nSo here at Google, we use a cool variant on the FEMA incident management system. We call it IMAG: Incident Management at Google. And we believe that incidents are an issue that have been escalated and require kind of immediate, continuous, organized response to address it. This means you're gonna need to organize your team in order to make progress on this issue. And this means putting together some kind of organizational structure such that you can make progress in parallel with your teammates, but we can get more into that later. I said that there are two things I like to think about when a page immediately goes off.\n\nSo the second thing that I like to think about is knowing who is accountable when an incident is happening. When pagers go off, it's really simple. Whoever's pager is going off is somehow responsible or accountable for that incident. But when you think about broader things, it can get really confusing who owns what, or what piece of organizational muscle should be activated in order to work on and make progress on a given scenario.\n\nSo figuring out in advance who is accountable, who owns the thing, who works on things when something happens, those are the things that can buy you a lot of really valuable time during an incident. Because that deer-in-headlights response of, \"Oh gosh, who does the thing?\" When you multiply that by the number of people on your team, the number of people having that same response, what initially starts out as seconds in figuring out who's accountable can turn into minutes, can turn into hours, can sometimes turn into days of figuring out what subteam or what person is accountable for resolving an incident or an issue. And that's where you can really lose organizational velocity in addressing your users' needs. And it's incidents like those where everyone's trying to figure out who's responsible where the person who ends up looking like a hero— and I normally don't condone any kind of heroism— is the person who's just willing to raise their hand and move first. 'Cause when really messy things happen, any kind of leadership is helpful. You just need someone who's willing to take the first step.\n\nAnd particularly at Google, we've got a massive organization, like [a] hundred thousand plus employees. Figuring out who's in charge of things and who makes a move when bad stuff happens, that's a continuous and ongoing challenge. But that's also been some of the places in which we've been most successful during major incidents. During a couple really recent big blowups— you think of the Log4Shell vulnerability in JavaScript where, you know, you just get a little bit of remote code execution, it's cool, we all do it. A major security vulnerability, like threatening the whole internet. One of the cool things that Google was able to do was we were able to mobilize really quickly. It took a matter of hours before we had some teams on pretty much every product area working to address these issues and bring things to closure. And I almost have no idea how it happened, even though I was working on it? But the ability of a company to mobilize quickly, figure out who's accountable, and make some concise steps forward— that's a strength. That's a huge strength towards business continuity.\n\nAnd if you and your team ever have that deer-in-headlights kind of moment: number one, totally okay. Everyone does it. Everyone does it. It's cool. But take a little bit of time and diagnose those challenges. What are you feeling when you first see an incident? Is there anything that you wish you were better prepared on? Is there anything from previous incidents that now scares you to work on them? Because incident management is about building good habits all across that lifecycle. And if you can take some of these best practices and turn them into habits, you won't be relying upon looking up a playbook to figure out how to resolve something. You'll have that internal, intuitive understanding of what those next steps should be and how we can communicate and work together to resolve an incident. And that means you will have more uptime and everyone will be happy and will hold hands under a rainbow. It'll be beautiful.\n\n**Viv:** Even though the rainbow is outside, just to clarify.\n\n**Adrienne:** [Laughs] The rainbow is outside. It is dangerous there. We have also built windows in order to see the rainbow while being inside, because innovation is key for incident management. Oh my gosh, I'm gonna make myself puke.\n\n**MP:** Something you said there that stuck with me a little bit: that getting slowed down by determining ownership of an issue.\n\n**Viv:** Ooh, yeah.\n\n**MP:** I think I'm usually, in my mind, I'm more familiar with that in the recovery stages, where it's like, \"It's been mitigated\". And then it kind of, it gets lost in the morass of everything else going on. But I wanted to think more in the moment where I have heard it phrased a few different ways. My manager likes to use the phrase, \"You have the keys to the car.\" I've heard other folks phrase it as temporary director-level authority of, like, that SRE that has the pager: \"You're the one with the pager. You own it. This is your problem until it's over.\"\n\n**Adrienne:** Yep. But then you get messy distributed stacks where problems can, like, slip through the cracks or something can happen across multiple systems and you need to determine who's actually in charge.\n\n**Viv:** Yeah. Yeah. [Laughs]\n\n**Adrienne:** Oh, that's a messy one, but that's where categorizing different types of incident responders can be kind of helpful if you have a big enough and messy enough technical stack. Here at Google, oh yeah, it's the messiest. I love it. But we have essentially two types of incident responders at Google. We have component responders, and these are incident responders on-call for one component or system within Google's overall technical infrastructure. And then we'll also have systems of systems responders. And these are folks that are on-call to support incidents that might span multiple component systems— incidents that fall between system boundaries. Or sometimes they're just the folks around when anything gets messy.\n\nI mean, the reason that we hire teammates is because often the scope of a technical stack grows beyond one person's capacity to understand and maintain state. So we split up that technical stack, such that multiple component responders can provide coverage on a single component of the whole stack. For example: you look at our Ads team. We have folks on call specifically for video ads, specifically for YouTube ads, specifically for mobile ads, specifically for— what do we got? Google AdSense, Google AdX. We got all the ads, and there's somebody different who's usually holding the pager for each. And these are gonna be examples of component responders. We maintain kind of a limited scope primary responder to resolve some issues. But, there, we get a risk of remaining ignorant to production issues that span maybe multiple components or between system boundaries, or we also get a chance of not providing individual component responders with sufficient support if an issue proves to be beyond their expertise. And it's important when somebody is going on-call that they don't feel alone. Oh man, what an experience that must be. So adding a second line of defense that's a little more holistically focused can provide some real advantages.\n\nSo I talked about a couple of different potential component responders for our Ads team, but we also have an overarching Ads incident response team. And these are a group of folks that just have a lot of tenure working on Ads products, and if something arises that goes across multiple components that seeps between multiple ad systems, they're there to provide overall coverage and structure for the whole Ads product. And we do this in a couple of levels at Google, but by differentiating between individual component, as well as systems of systems folks, you're able to scale your incident response and build an organization really well designed for the technical enterprise that you've built. I can spill more details if you need, but... I don't know. [Laughs]\n\n**MP:** I'm just thinking about mapping that to my own experience where I almost feel like my team's a little in between, because we have a lot of large-number— like it's all one system, but it has a lot of, like, subsystems all maintained by different developer teams. So it's kind of like each binary is an entirely different development team that don't necessarily really talk to each other a lot, but it's all one giant thing. And then we have the one to two dozen binaries that we're responsible for, of this whole chunk of systems. And then we talk to external teams!\n\n**Adrienne:** So that sounds messy.\n\n**MP:** That a lot of our job being on-call is, what is actually broken? 'Cause usually the thing that annoys us isn't necessarily the thing that actually is having the misbehavior. And then okay, who can actually fix it? Can I fix it? Do I need a developer to fix it? Do I need [Spanner](https://research.google/pubs/pub39966/) SRE to fix it?\n\n**Adrienne:** Yeah. And I mean the idea of \"component\" is gonna be flexible based upon the size of your stack, the size of what you're handling. So it sounds like you're sitting on top of a really big component, and the cool thing is that you build a lot of experience in troubleshooting different types of systems. So you've become a more skilled generalist, you learn a little bit more holistically-focused engineering. So how do all of the things work together? You also get to learn some cool stuff about triage and how to organize others in messy scenarios. You learn how to command complex situations and diagnose systemic behaviors. So your team is in a position to give you some real career advantages. But at the same time, I would imagine it would feel a little bit invalidating if you're told you should be expert on all the things, because it's not possible.\n\n**MP:** It's not remotely possible for my team at all.\n\n**Adrienne:** I mean, but it's possible for *you*, because you are brilliant. I say that with 100% genuineness; no one gives themselves enough credit. But it's tough. And in those types of scenarios, being able to regularly review your team's operations, comparing notes on what's causing problems, of what's going outside the quality control thresholds, looking over stuff like postmortems and practice as a bulk, is gonna be more important to identify patterns from across your whole team of all the problems that you're seeing, because you're not just looking for behaviors within one more isolated system. You're looking for patterns of behavior across multiple systems— across multiple systems that sit together and talk together with different dev teams involved— and being able to coalesce all of those nuances that you've now witnessed into really concrete ideas of what's the best thing to work on now.\n\nThat's a position of power, but it's also a lot of work, which is why it's important really not to burn your teams out. Incident response is *exhausting*. Holding a pager is *exhausting*, and because it's such a human-expensive activity, it makes a lot of sense to do it as sparingly as possible and really work on prevention, work on preparedness, such that incident response isn't as human-expensive as it can feel. Because sitting at the helm of 12 systems, like— MP, I gotta ask, is a single on-call shift tiring?\n\n**MP:** Depends on the day. We're kinda spiky. We tend to like, we'll have a week where— or like a week or a week and a half where the pager will just be really silent and nothing will happen. And then some hazard will start finally manifesting, and then it will just wreak havoc for a little while, and then things will quiet down again.\n\n**Adrienne:** [Laughs] I feel that. Launches never go the way we want. But it's tiring work and it's, you know, it makes sense to do it as carefully as possible.\n\n**Viv:** Yeah, absolutely. [Sighs] Yeah. Lots of complications. Another thing I was thinking about, not to jump back too far, but when MP was talking about all the complexity and we were talking about different types of incident things, you also— I'm just saying this from experience, 'cause it's happened to me recently— you also get these scenarios where maybe multiple teams get paged at the same time and it becomes a bigger thing. How do you coordinate that?\n\nOr, you know, in my case recently, somebody paged me for something they got paged for and then I paged somebody else. It can also get complicated too, not just in the general expertise before and after, but while you're there, as you mentioned: having organization and having control of who's gonna do what in the moment is important and it can be really tricky.\n\n**Adrienne:** It can be.\n\n**Viv:** Yeah. I don't know what the leading advice on that is, but—\n\n**Adrienne:** This is where having a really solid incident management protocol that all of your team kind of knows about equally can be really helpful. So for Google's incident management protocol, we think about the three C's of managing incidents, which is:\n\n- **Command—** so making decisions and keeping the team or subteam focused on the same goals\n- **Control—** know what is going on, coordinate people, be continuously aware, and\n- **Communications—** so taking notes, being clear and ensuring that everybody has the same context.\n\nBeing able to fall back onto the same set of things can be really, really helpful. When you're pulling people in, it means that you don't need to explain who is doing what and how. You just see the role title and you understand, and you know how to move through things. So the version of the FEMA incident command system, it has defined roles like incident commander, scribe, communications. And by using a shared and clearly defined process, we build really positive emergency response habits, including maintaining active state, a clear chain of command, and just overall reduction of stress. Everyone understands who to go to in an incident and how to hand off.\n\nSo essentially, a chess player can't drop a bishop on a Mahjong table and make sure that everyone knows what to do with it. You know, in urgent situations, it's important that all players are playing the same game. So by using a common incident management protocol, you can page in a bunch more people. And you're all gonna understand where to go, what to look at, how to talk to each other, who's generally in charge of what, and it's in part the role of the incident manager to make sure that this information maintains in a rigid, concrete kind of state as folks move in and out of the incident. It's maintaining that protocol— maintaining that incident management structure will help to drive clarity through the escalated state.\n\nAnd when things get really big and really messy, and they totally do, there isn't often enough mental space for one incident responder to work out the appropriate mitigations and coordinate, implementing those mitigations and communicating to everybody that's dependent upon the system and manage expectations. Bringing in more people is helpful. No one can do all that on their own. So having like a structure that you can fall into, maybe like some standardized tools or plans that you leverage in order to track how this protocol is going, these are some of the tools that are gonna allow you to move smoothly as an organized unit through really, really messy times.\n\nSo when you get that, like, deer-in-headlights response, sometimes even a sloppy first step is to be like, all right, I'm the incident commander. I know how to do \"incident commander.\" What are the things that I remember to do? Okay, let's start by broadly checking things out for context. That's an incident commander role. And hopefully, you'll be less awkward than I am when explaining it, but it gives you a little bit of muscle and a little bit of habit to fall back on. You know, it's playing a game that you're very used to, that you know the rules of. And in that messy scenario, taking the first step forward is gonna be the most important step.\n\n**Viv:** Yeah. Thanks for diving into that a little bit.\n\n**Adrienne:** Sure!\n\n**MP:** So if there's one lesson or concept that you could instill in the hearts of all of our incident responders— all of our on-callers, our pager holders, our SREs— what would that be? What's your number one takeaway for incident management that everyone should try to internalize?\n\n**Adrienne:** Everyone should try to internalize: incident response is a really human-expensive activity. Multiple people need to be involved in driving an incident from initial alerting to resolution. And the act of incident response is to put a mitigation on either that root cause, that hazard, that problem scenario while it's happening in order to buy some time to make judgements about priorities. And it's disruptive, it's tiring, it wrecks all of your normal plans, but by thinking about incident management as a broad lifecycle, by working on preparedness, by working on recovery, these are some of the things that over time can increase the amount of time between incidents, maybe reduce the frequency of incidents and build a more robust system.\n\nSo I guess my number one takeaway is: do as little incident response as possible. Focus on great engineering— building really sound products that can handle a wide variety of user behaviors. Build in reliability from the ground up, use [incident response] sparingly, avoid burning out your team and start doing that engineering work needed to fix longer-running issues or risks. You have a lot of tools at your disposal, so make it happen.\n\n**Viv:** Thank you. I will definitely keep it in mind and I hope everyone else will too. So it was really great to have you on the Prodcast today. Thank you again so much for being here and sharing all of your helpful advice and tips. And as you mentioned, you do have a book out, [*Anatomy of an Incident*](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/)*,* and if I'm correct, you wrote that with Ayelet, right?\n\n**Adrienne:** Yes, and she's the coolest, and it is available on the Google SRE website under [Resources](https://sre.google/resources/). And if you consider downloading it, my mom will be really proud of me. Please help.\n\n**Viv:** We'll all download it, but pretend to be your mom, or I don't know. But yes, everybody, please take a look, and I bring it up because Ayelet is actually gonna be our next and final guest on the Prodcast to wrap us up with postmortems. So thank you again. And we will be back next time with postmortems and to close out this first season of the Prodcast.\n\n**MP:** And hopefully I don't need to use anything I learned today while I'm on-call this weekend.\n\n**Viv:** Ooh, yeah. But stay inside. The outdoors is scary.\n\n**MP:** Thank you so much.\n\n**Adrienne:** Yes. May the pagers be silent and the bears be very, very far away.", "znaku_textu": 33498, "slov": 5852, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:13:08", "sha256": "1493a8567146deb03e627c987a7f377925a6aafedde090ea85ec583fcd3aafcd", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://research.google/pubs/pub39966/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08/", "titulek": "Google SRE - Incident management process with Adrienne Walcer", "h1": "Incident Management with Adrienne Walcer", "popis": "Master Google SRE incident management with Adrienne Walcer. Learn best practices for organizing and managing incidents throughout the production lifecycle.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08"}, "headline": "Incident Management with Adrienne Walcer", "description": "Adrienne Walcer discusses how to approach and organize incident management efforts throughout the production lifecycle.", "image": "https://kstatic.googleusercontent.com/files/cb65d58f70a424b1fe5ce3bcc6d189067df424399aba78ae45c7c3c9969c2d523eb1d9767978af1e28c3c76addaa66e9137fbb4f62ca8b51e100c5da776f6f0e", "author": [{"@type": "Person", "name": "Adrienne Walcer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Management with Adrienne Walcer"}], "markdown": "# Incident Management with Adrienne Walcer\n\n**Adrienne Walcer** discusses how to approach and organize incident management efforts throughout the production lifecycle.\n\n**Viv:** Hi everyone. Welcome back to the SRE Podcast. This is a limited series where we're discussing SRE concepts with experts around Google. I'm Viv, and I'm hosting with MP today.\n\n**MP:** Hello.\n\n**Viv:** Hi, MP. We have a special guest today: Adrienne. So hello, and... introduce yourself?\n\n**Adrienne:** Sure. Hey, y'all, I'm Adrienne Walcer. I'm a nine-year Googler and a Technical Program Manager in Site Reliability Engineering. I'm also the program lead for Incident Management at Google. You may have seen me before, through— I wrote a book thing? I'm still self-conscious about it because I'm pretty sure my mom has just downloaded it several thousand times. She's lying to me about it. It's called [*Anatomy of an Incident*](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/); that is with O'Reilly Publishing. And I also had the pleasure of hanging out at the last USENIX LISA conference, for all of you large-scale distributed systems nerds. Wow— what a weird and specific thing to be nerdy about. Yeah! How are y'all today?\n\n**Viv:** We're great. We're glad to have you here. And I am glad you know so much about incident management because that is what we are here to talk about today.\n\n**Adrienne:** Nice.\n\n**Viv:** So in our previous episode, we talked a little bit about just generally being on call, and now we're kind of at the point in the process where, hey, it's whatever your favorite day of the week is, and you're at home, chilling— or if you're me, taking a nap— and your pager goes off. So I guess the big question is: then what? Or I don't know if you want to back up a little bit, but where do we start when we talk about incident management?\n\n**Adrienne:** I've noticed that there are two primary schools of thought around incident management. The first school of thought is that you manage an incident and then it's over; you move on. Incidents are a single point-in-time event that occurs that you need to get through in order to go back to doing whatever you were previously doing. The second school of thought is that incident management is a practice that you do every single day with every single piece of engineering that you touch. Incident management is a continuous cycle that will exist throughout the lifecycle of your system.\n\nI am a firm believer in number two. So even though your pager is going off at one moment, I believe pretty firmly that you are managing the incident from the second that you wrote the root cause into your technical stack.\n\n**Viv:** I like it. Definitely good to back up then. If you are always in the cycle of incident management, then how do you know where to start when you want to get into best practices?\n\n**Adrienne:** Great question, Viv. So there's the difference between your perception of a system and how the system is actually functioning. Usually, we first get involved in the incident management process when a signal has been raised to indicate that our system is no longer in the expected state of homeostasis; something has changed. An alert has gone off, a user sent you a nasty email saying \"what the heck?? I lost all of my Angry Birds\" or something. You get an indicator that something isn't normal. Ideally, these are automated, but that's a problem for later us. And this indication that your system is in some kind of hazard state, some kind of outage state, some kind of incident state, that's when usually we start engaging with the incident management process, because something has been tipped off that, oh, we need to act and we kind of need to act now.\n\nBut realistically, we build our incidents and our outages into systems as we engineer them. Every time we create a dependency, we create a possibility that that dependency won't be available. Every time we create a config, we create the possibility that that config is gonna be out of sync with what your system really needs. So on a continuous basis, it's the cycle of triggers and a matrix of root causes. And these root causes are gonna be the underlying challenges or issues that your system might have. And these triggers are environmental or system context shifts that enable those underlying system hazards to become problems, to become incidents, to set off those alerts and set off those pages. And what those really are, are indicators that something isn't the way it usually is.\n\nThis doesn't always mean that an incident is necessary and that it's time to raise the alarm and wake everyone up. No— it means that it's time to apply a little bit of thinking and diagnosis and triage to that system and identify whether or not this marker that has no longer been moving in a normal direction, whether that's indicative of something really problematic or whether it's just an environmental shift that your system knows how to handle. And then the incident management process from there is working through, responding to that incident if that incident exists, helping to mitigate whatever challenges are thrown your way— helping your system recover, become more stable, grow further. And then eventually another incident will happen again.\n\nSo it's a bit of a cycle and we move through these phases of planning and preparation of incident occurrence, of response, of mitigation, and of recovery. And usually these recovery actions— these things that we take to build a more stable system— are the same things that we should be doing in order to better prepare and train and be ready for incidents, 'cause those hazards, they already exist. The state of building something means there is uncertainty as to that thing's future.\n\n**MP:** It sounds like you're using hazard as a bit of a term of art. Could you define that for us?\n\n**Adrienne:** Yes. So when I'm thinking root cause and trigger or hazard... so a hazard can exist in a system for an indefinite period of time. The system environment needs to shift somehow to turn that hazard into an outage. And essentially \"root cause\" kind of equals the \"hazard.\" In reality, a root cause is usually a very complex matrix of factors, of timing, of user behaviors. But saying \"root causal matrix\" is kind of a mouthful. So when you say \"hazard state,\" that means that your system is in a state in which something is vulnerable to error. And that's kind of cool, but that system environment needs to shift to transition that hazard, which can exist in a stagnant kind of non-moving state for a while. Something needs to happen for that to become a problem.\n\nI mean, think of it a little more broadly. A gas leak in a house can go on for hours, but it's not until an electrical switch flips or a burner lights up before that gas leak turns into an outage or a problem, or an incident scenario. There needs to be some kind of environmental shift and that environmental shift, usually we refer to that as the trigger. So it's related, but it's a separate thing. And these two work in concert in order to create hazardous or dangerous scenarios. And when you think about prevention efforts, sometimes it makes sense to work on and make more safe one of these underlying hazards within a system. But sometimes it makes sense to build stronger prevention around these trigger conditions— essentially building a safer environment for the system to operate in. So you could get more of what you want, which is safety, which is security, which is reliability.\n\nI know it's super nerdy, *super nerdy*, but these are some of the language bits that we use in the field of systems engineering to talk about broad systems. They aren't inherently software engineering terms, but, you know, SRE is a combination of systems engineering and software engineering. So it makes sense to borrow from both fields of study. And there's a lot of really interesting literature and nerdiness, general nerdiness around the creation of hazard states and fault analysis within systems. And all of it creates really juicy learning tidbits that I try to get everyone to consume. And sometimes it's like getting kids to eat their broccoli— unless you have one of those weird kids that loves broccoli, in which case, jealous. But sometimes folks see the value of some of this deep nerd dumb. And I'm hoping that a lot of folks will take this as what it is. It's a language that can be used in order to describe incidents and incident management and start some of these more critical, important conversations either on your team and your company, maybe around your house. I don't know what you do in your free time.\n\n**MP:** Going back to the stages of an incident that we were talking about, there's mitigation and recovery and kind of that improvement side of the story.\n\n**Adrienne:** Mm-hmm.\n\n**MP:** I'm now hearing about this framing of hazard [that] is brand new to me. And now I'm thinking about on the recovery side that you can either try to eliminate a hazard, but you can also try to manage a hazard. You don't necessarily need to— at least that's my initial intuitive response— is you don't necessarily need to eliminate hazards; you can manage them. Is that intuition true?\n\n**Adrienne:** Yeah. I mean, hazards exist everywhere and a lot of them are totally out of our control. Like things we can't inherently control are user behaviors, whether or not your app or video goes viral because of the shout-out on a local news show. We can't control the speed of light, the size of the earth— which is woefully inconvenient sometimes. But all of these things create, essentially in some weird way, hazard conditions that we need to work around in order to optimize our system for what we think, or maybe what we know, or maybe what we hope our users need. And here's a really bad analogy: being outdoors, kinda hazardous. There's bad weather, maybe there's animals, maybe there's bears, you get bugs. Just weird stuff happens outdoors. I'm an engineer, Viv. I'm indoorsy. Don't laugh at me.\n\n**Viv:** No, we're all indoorsy here. I think it's funny because the way you said it made it sound like the outdoors is just this perilous, like, nightmare. Don't step outside, you know, the mosquitoes will get you.\n\n**Adrienne:** I do believe the Google Australia sites are hiring if you're interested in a thousand things that can murder you. But, outdoors: many hazard conditions— so many hazard conditions. But how do we work on these set of hazard conditions in order to keep our human bodies safe? We live in houses or in buildings or in tents or yurts. I don't know what people do. But that's essentially a mitigation from the series of hazard conditions that exist for living in the world.\n\nI know— so deep, right? I am a puddle. But it brings up some really interesting things because incidents happen. They're weird; they're confusing. Maybe we like them, maybe we don't, but we need to figure out what is the best work that your team can do after an incident. And by thinking about things in terms of this language of hazards and triggers, you could figure out where your team or where your org or whatever can exert the most control in order to make the most efficacious changes on that system and on that system environment. You know, your incident has been mitigated, your system is stable again; does it matter that you understand the underlying problems? Yes. Because you want to prepare for the next problems and you don't want the same problems that you just dealt with to come back again. Something that our SRE vice president Ben Treynor has said on numerous occasions is that he only wants new incidents. You know, if we've seen something before, we don't wanna see it again. We're not into the replay or repeat button on the record player. Wow, record players. I am old. Doing the work to understand what is shifting within your system and how it works, that'll help you from having those same repeat issues over and over again.\n\n**Viv:** That makes sense. So you mentioning that you don't want repeat incidents reminded me of— I think we might have jumped a little bit over this, but I'm curious if you have thoughts particularly. So you said, okay, yeah, your incident is mitigated. Sometimes that's easier said than done, right? Especially in the moment. I guess I'm curious before we even get to the \"how do we wanna move forward?\"... how do you make sure this doesn't happen again, you know, et cetera, whatever steps come afterwards when you're there in that moment. I you're looking at something that is totally new— new trigger, a hazard you didn't realize was around— what can you do? I don't know. What is your advice in this case? Or, you know, another nice outdoor analogy, but I'm a little lost on the analogy right now.\n\n**Adrienne:** No, no, I feel ya. Like, I think the most terrifying part of the incident management lifecycle is that moment when an alert or your pager goes off and there's those few seconds of, \"Oh gosh, is this a thing I can deal with?\" And then there's always that like, \"Is this a thing *I* can deal with?\" 'Cause those are the moments where I always have that instinctive feeling of like, well, time to go and cry to my manager and I'm gonna hope that they have sufficient magical wizardry, that they can handle the big evil problems.\n\nSo an incident happens; you're staring at something you don't know how to deal with. I have two things that I love for people to think about at this point in time. Number one is figure out immediately, or as quickly as possible, if you're having any user impact. Because realistically, if your system is sufficiently robust, a little bit of outage might not be super noticeable. But if your system is quite sensitive to its current balances and configurations, if it can't take a lot of really sudden fluctuations, what you wanna make sure of is that your end user is having an acceptable time and interacting with your system. So for there, we wanna do things called mitigations, and Jennifer \"Macey\" gave a great overview on mitigations and mitigative activities. I believe she appeared recently on the SRE Prodcast.\n\n**Viv:** She did indeed. She's our first guest.\n\n**Adrienne:** Awesome. So if you see immediate user impact, like I love to prioritize having some kind of Band-Aid to bring about a little bit of stability, such that you have time in order to figure out what's really happening within your system. And depending upon the size of the problem and how many folks you're gonna need in order to resolve that problem, that's where some of the art of incident management comes in.\n\nSo here at Google, we use a cool variant on the FEMA incident management system. We call it IMAG: Incident Management at Google. And we believe that incidents are an issue that have been escalated and require kind of immediate, continuous, organized response to address it. This means you're gonna need to organize your team in order to make progress on this issue. And this means putting together some kind of organizational structure such that you can make progress in parallel with your teammates, but we can get more into that later. I said that there are two things I like to think about when a page immediately goes off.\n\nSo the second thing that I like to think about is knowing who is accountable when an incident is happening. When pagers go off, it's really simple. Whoever's pager is going off is somehow responsible or accountable for that incident. But when you think about broader things, it can get really confusing who owns what, or what piece of organizational muscle should be activated in order to work on and make progress on a given scenario.\n\nSo figuring out in advance who is accountable, who owns the thing, who works on things when something happens, those are the things that can buy you a lot of really valuable time during an incident. Because that deer-in-headlights response of, \"Oh gosh, who does the thing?\" When you multiply that by the number of people on your team, the number of people having that same response, what initially starts out as seconds in figuring out who's accountable can turn into minutes, can turn into hours, can sometimes turn into days of figuring out what subteam or what person is accountable for resolving an incident or an issue. And that's where you can really lose organizational velocity in addressing your users' needs. And it's incidents like those where everyone's trying to figure out who's responsible where the person who ends up looking like a hero— and I normally don't condone any kind of heroism— is the person who's just willing to raise their hand and move first. 'Cause when really messy things happen, any kind of leadership is helpful. You just need someone who's willing to take the first step.\n\nAnd particularly at Google, we've got a massive organization, like [a] hundred thousand plus employees. Figuring out who's in charge of things and who makes a move when bad stuff happens, that's a continuous and ongoing challenge. But that's also been some of the places in which we've been most successful during major incidents. During a couple really recent big blowups— you think of the Log4Shell vulnerability in JavaScript where, you know, you just get a little bit of remote code execution, it's cool, we all do it. A major security vulnerability, like threatening the whole internet. One of the cool things that Google was able to do was we were able to mobilize really quickly. It took a matter of hours before we had some teams on pretty much every product area working to address these issues and bring things to closure. And I almost have no idea how it happened, even though I was working on it? But the ability of a company to mobilize quickly, figure out who's accountable, and make some concise steps forward— that's a strength. That's a huge strength towards business continuity.\n\nAnd if you and your team ever have that deer-in-headlights kind of moment: number one, totally okay. Everyone does it. Everyone does it. It's cool. But take a little bit of time and diagnose those challenges. What are you feeling when you first see an incident? Is there anything that you wish you were better prepared on? Is there anything from previous incidents that now scares you to work on them? Because incident management is about building good habits all across that lifecycle. And if you can take some of these best practices and turn them into habits, you won't be relying upon looking up a playbook to figure out how to resolve something. You'll have that internal, intuitive understanding of what those next steps should be and how we can communicate and work together to resolve an incident. And that means you will have more uptime and everyone will be happy and will hold hands under a rainbow. It'll be beautiful.\n\n**Viv:** Even though the rainbow is outside, just to clarify.\n\n**Adrienne:** [Laughs] The rainbow is outside. It is dangerous there. We have also built windows in order to see the rainbow while being inside, because innovation is key for incident management. Oh my gosh, I'm gonna make myself puke.\n\n**MP:** Something you said there that stuck with me a little bit: that getting slowed down by determining ownership of an issue.\n\n**Viv:** Ooh, yeah.\n\n**MP:** I think I'm usually, in my mind, I'm more familiar with that in the recovery stages, where it's like, \"It's been mitigated\". And then it kind of, it gets lost in the morass of everything else going on. But I wanted to think more in the moment where I have heard it phrased a few different ways. My manager likes to use the phrase, \"You have the keys to the car.\" I've heard other folks phrase it as temporary director-level authority of, like, that SRE that has the pager: \"You're the one with the pager. You own it. This is your problem until it's over.\"\n\n**Adrienne:** Yep. But then you get messy distributed stacks where problems can, like, slip through the cracks or something can happen across multiple systems and you need to determine who's actually in charge.\n\n**Viv:** Yeah. Yeah. [Laughs]\n\n**Adrienne:** Oh, that's a messy one, but that's where categorizing different types of incident responders can be kind of helpful if you have a big enough and messy enough technical stack. Here at Google, oh yeah, it's the messiest. I love it. But we have essentially two types of incident responders at Google. We have component responders, and these are incident responders on-call for one component or system within Google's overall technical infrastructure. And then we'll also have systems of systems responders. And these are folks that are on-call to support incidents that might span multiple component systems— incidents that fall between system boundaries. Or sometimes they're just the folks around when anything gets messy.\n\nI mean, the reason that we hire teammates is because often the scope of a technical stack grows beyond one person's capacity to understand and maintain state. So we split up that technical stack, such that multiple component responders can provide coverage on a single component of the whole stack. For example: you look at our Ads team. We have folks on call specifically for video ads, specifically for YouTube ads, specifically for mobile ads, specifically for— what do we got? Google AdSense, Google AdX. We got all the ads, and there's somebody different who's usually holding the pager for each. And these are gonna be examples of component responders. We maintain kind of a limited scope primary responder to resolve some issues. But, there, we get a risk of remaining ignorant to production issues that span maybe multiple components or between system boundaries, or we also get a chance of not providing individual component responders with sufficient support if an issue proves to be beyond their expertise. And it's important when somebody is going on-call that they don't feel alone. Oh man, what an experience that must be. So adding a second line of defense that's a little more holistically focused can provide some real advantages.\n\nSo I talked about a couple of different potential component responders for our Ads team, but we also have an overarching Ads incident response team. And these are a group of folks that just have a lot of tenure working on Ads products, and if something arises that goes across multiple components that seeps between multiple ad systems, they're there to provide overall coverage and structure for the whole Ads product. And we do this in a couple of levels at Google, but by differentiating between individual component, as well as systems of systems folks, you're able to scale your incident response and build an organization really well designed for the technical enterprise that you've built. I can spill more details if you need, but... I don't know. [Laughs]\n\n**MP:** I'm just thinking about mapping that to my own experience where I almost feel like my team's a little in between, because we have a lot of large-number— like it's all one system, but it has a lot of, like, subsystems all maintained by different developer teams. So it's kind of like each binary is an entirely different development team that don't necessarily really talk to each other a lot, but it's all one giant thing. And then we have the one to two dozen binaries that we're responsible for, of this whole chunk of systems. And then we talk to external teams!\n\n**Adrienne:** So that sounds messy.\n\n**MP:** That a lot of our job being on-call is, what is actually broken? 'Cause usually the thing that annoys us isn't necessarily the thing that actually is having the misbehavior. And then okay, who can actually fix it? Can I fix it? Do I need a developer to fix it? Do I need [Spanner](https://research.google/pubs/pub39966/) SRE to fix it?\n\n**Adrienne:** Yeah. And I mean the idea of \"component\" is gonna be flexible based upon the size of your stack, the size of what you're handling. So it sounds like you're sitting on top of a really big component, and the cool thing is that you build a lot of experience in troubleshooting different types of systems. So you've become a more skilled generalist, you learn a little bit more holistically-focused engineering. So how do all of the things work together? You also get to learn some cool stuff about triage and how to organize others in messy scenarios. You learn how to command complex situations and diagnose systemic behaviors. So your team is in a position to give you some real career advantages. But at the same time, I would imagine it would feel a little bit invalidating if you're told you should be expert on all the things, because it's not possible.\n\n**MP:** It's not remotely possible for my team at all.\n\n**Adrienne:** I mean, but it's possible for *you*, because you are brilliant. I say that with 100% genuineness; no one gives themselves enough credit. But it's tough. And in those types of scenarios, being able to regularly review your team's operations, comparing notes on what's causing problems, of what's going outside the quality control thresholds, looking over stuff like postmortems and practice as a bulk, is gonna be more important to identify patterns from across your whole team of all the problems that you're seeing, because you're not just looking for behaviors within one more isolated system. You're looking for patterns of behavior across multiple systems— across multiple systems that sit together and talk together with different dev teams involved— and being able to coalesce all of those nuances that you've now witnessed into really concrete ideas of what's the best thing to work on now.\n\nThat's a position of power, but it's also a lot of work, which is why it's important really not to burn your teams out. Incident response is *exhausting*. Holding a pager is *exhausting*, and because it's such a human-expensive activity, it makes a lot of sense to do it as sparingly as possible and really work on prevention, work on preparedness, such that incident response isn't as human-expensive as it can feel. Because sitting at the helm of 12 systems, like— MP, I gotta ask, is a single on-call shift tiring?\n\n**MP:** Depends on the day. We're kinda spiky. We tend to like, we'll have a week where— or like a week or a week and a half where the pager will just be really silent and nothing will happen. And then some hazard will start finally manifesting, and then it will just wreak havoc for a little while, and then things will quiet down again.\n\n**Adrienne:** [Laughs] I feel that. Launches never go the way we want. But it's tiring work and it's, you know, it makes sense to do it as carefully as possible.\n\n**Viv:** Yeah, absolutely. [Sighs] Yeah. Lots of complications. Another thing I was thinking about, not to jump back too far, but when MP was talking about all the complexity and we were talking about different types of incident things, you also— I'm just saying this from experience, 'cause it's happened to me recently— you also get these scenarios where maybe multiple teams get paged at the same time and it becomes a bigger thing. How do you coordinate that?\n\nOr, you know, in my case recently, somebody paged me for something they got paged for and then I paged somebody else. It can also get complicated too, not just in the general expertise before and after, but while you're there, as you mentioned: having organization and having control of who's gonna do what in the moment is important and it can be really tricky.\n\n**Adrienne:** It can be.\n\n**Viv:** Yeah. I don't know what the leading advice on that is, but—\n\n**Adrienne:** This is where having a really solid incident management protocol that all of your team kind of knows about equally can be really helpful. So for Google's incident management protocol, we think about the three C's of managing incidents, which is:\n\n- **Command—** so making decisions and keeping the team or subteam focused on the same goals\n- **Control—** know what is going on, coordinate people, be continuously aware, and\n- **Communications—** so taking notes, being clear and ensuring that everybody has the same context.\n\nBeing able to fall back onto the same set of things can be really, really helpful. When you're pulling people in, it means that you don't need to explain who is doing what and how. You just see the role title and you understand, and you know how to move through things. So the version of the FEMA incident command system, it has defined roles like incident commander, scribe, communications. And by using a shared and clearly defined process, we build really positive emergency response habits, including maintaining active state, a clear chain of command, and just overall reduction of stress. Everyone understands who to go to in an incident and how to hand off.\n\nSo essentially, a chess player can't drop a bishop on a Mahjong table and make sure that everyone knows what to do with it. You know, in urgent situations, it's important that all players are playing the same game. So by using a common incident management protocol, you can page in a bunch more people. And you're all gonna understand where to go, what to look at, how to talk to each other, who's generally in charge of what, and it's in part the role of the incident manager to make sure that this information maintains in a rigid, concrete kind of state as folks move in and out of the incident. It's maintaining that protocol— maintaining that incident management structure will help to drive clarity through the escalated state.\n\nAnd when things get really big and really messy, and they totally do, there isn't often enough mental space for one incident responder to work out the appropriate mitigations and coordinate, implementing those mitigations and communicating to everybody that's dependent upon the system and manage expectations. Bringing in more people is helpful. No one can do all that on their own. So having like a structure that you can fall into, maybe like some standardized tools or plans that you leverage in order to track how this protocol is going, these are some of the tools that are gonna allow you to move smoothly as an organized unit through really, really messy times.\n\nSo when you get that, like, deer-in-headlights response, sometimes even a sloppy first step is to be like, all right, I'm the incident commander. I know how to do \"incident commander.\" What are the things that I remember to do? Okay, let's start by broadly checking things out for context. That's an incident commander role. And hopefully, you'll be less awkward than I am when explaining it, but it gives you a little bit of muscle and a little bit of habit to fall back on. You know, it's playing a game that you're very used to, that you know the rules of. And in that messy scenario, taking the first step forward is gonna be the most important step.\n\n**Viv:** Yeah. Thanks for diving into that a little bit.\n\n**Adrienne:** Sure!\n\n**MP:** So if there's one lesson or concept that you could instill in the hearts of all of our incident responders— all of our on-callers, our pager holders, our SREs— what would that be? What's your number one takeaway for incident management that everyone should try to internalize?\n\n**Adrienne:** Everyone should try to internalize: incident response is a really human-expensive activity. Multiple people need to be involved in driving an incident from initial alerting to resolution. And the act of incident response is to put a mitigation on either that root cause, that hazard, that problem scenario while it's happening in order to buy some time to make judgements about priorities. And it's disruptive, it's tiring, it wrecks all of your normal plans, but by thinking about incident management as a broad lifecycle, by working on preparedness, by working on recovery, these are some of the things that over time can increase the amount of time between incidents, maybe reduce the frequency of incidents and build a more robust system.\n\nSo I guess my number one takeaway is: do as little incident response as possible. Focus on great engineering— building really sound products that can handle a wide variety of user behaviors. Build in reliability from the ground up, use [incident response] sparingly, avoid burning out your team and start doing that engineering work needed to fix longer-running issues or risks. You have a lot of tools at your disposal, so make it happen.\n\n**Viv:** Thank you. I will definitely keep it in mind and I hope everyone else will too. So it was really great to have you on the Prodcast today. Thank you again so much for being here and sharing all of your helpful advice and tips. And as you mentioned, you do have a book out, [*Anatomy of an Incident*](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/)*,* and if I'm correct, you wrote that with Ayelet, right?\n\n**Adrienne:** Yes, and she's the coolest, and it is available on the Google SRE website under [Resources](https://sre.google/resources/). And if you consider downloading it, my mom will be really proud of me. Please help.\n\n**Viv:** We'll all download it, but pretend to be your mom, or I don't know. But yes, everybody, please take a look, and I bring it up because Ayelet is actually gonna be our next and final guest on the Prodcast to wrap us up with postmortems. So thank you again. And we will be back next time with postmortems and to close out this first season of the Prodcast.\n\n**MP:** And hopefully I don't need to use anything I learned today while I'm on-call this weekend.\n\n**Viv:** Ooh, yeah. But stay inside. The outdoors is scary.\n\n**MP:** Thank you so much.\n\n**Adrienne:** Yes. May the pagers be silent and the bears be very, very far away.", "znaku_textu": 33498, "slov": 5852, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:26", "sha256": "1493a8567146deb03e627c987a7f377925a6aafedde090ea85ec583fcd3aafcd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://research.google/pubs/pub39966/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09", "titulek": "Google SRE - Incident postmortem podcast with Ayelet Sachto", "h1": "Postmortems with Ayelet Sachto", "popis": "Explore Google sre post mortem with Ayelet Sachto, deep dive into advices on creating an actionable, transparent, and blameless incident postmortem culture.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09"}, "headline": "Postmortems with Ayelet Sachto", "description": "Ayelet Sachto offers advice on creating an actionable, transparent, and blameless postmortem culture.", "image": "https://kstatic.googleusercontent.com/files/8127db1da795e3878a49c7c75cf6cd96dddd87373952f37d3b8ba1eac9fef1e9773918915e8147452925a5612b611ad6cf6a076114a0115d22c6ccb2eaed9b78", "author": [{"@type": "Person", "name": "Ayelet Sachto"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Postmortems with Ayelet Sachto"}], "markdown": "# Postmortems with Ayelet Sachto\n\n**Ayelet Sachto** offers advice on creating an actionable, transparent, and blameless postmortem culture.\n\n**MP:** Hello, and welcome to Episode 9 of the Google SRE Podcast, or as we affectionately refer to it, the Prodcast. This is actually going to be the final episode of our initial season. And last week we got to talk about incident management and on-call response, and this week we're moving on to what happens after the incident to close things out.\n\nSo here with us today to talk with us about postmortems is Ayelet. Would you like to go ahead and introduce yourself?\n\n**Ayelet:** Yes, thank you. Happy to be here. I'm Ayelet Sachto. I'm currently a site reliability engineer in GKE (Google Kubernetes Engine) SRE team in London and formerly a strategic cloud engineer and leading PSO (Professional Services Organization) SRE efforts in EMEA. [Incident management and postmortems](https://sre.google/workbook/postmortem-culture/) are not new to me, as I've been living and bleeding production on a large scale for almost two decades now, developing and architecting large-scale application and data flow while implementing dev-ops practices and SRE technologies. Most of them cover production on-call, of course. And outside of my main role, I also volunteer in the tech community as a mentor, public speaker, and organizer.\n\n**Viv:** Oh, you've been busy. Good busy.\n\n**Ayelet:** Trying to be, yes. [Laughs]\n\n**MP:** So for those of our listeners that might not be familiar with the term \"postmortem,\" could you give us your definition of what makes a postmortem a postmortem?\n\n**Ayelet:** To answer [what is postmortems](https://sre.google/sre-book/postmortem-culture/) or what makes a postmortem a postmortem, it's also important to understand why we write postmortems and what is the problem that we are trying to solve with postmortems.\n\nPostmortems are a written record of an incident. They should include the actions taken to mitigate customer impact and resolve the incident, the stages that more often than not will be separated, the impact itself, the root causes, and—important to emphasize root cause or root causes and not just the symptoms—the follow-up actions to prevent it from reoccurring. Our goal with postmortem is to prevent incidents from reoccurring and at least reducing the likelihood of impact of future outages.\n\nThere are a lot of things that we can do in order to reduce the impact of incidents or to reduce the frequency of incidents. But the data that are coming from postmortems is crucial in order to understand what we can prioritize and what we should prioritize. Postmortem is our tool to learn from our failures. And unless we have some formalized processes of learning from these incidents in place, they will reoccur. So postmortems provide us a method to learn not only from our failures, but from others. And that's why it's really important also to share them globally and not hide them.\n\nBut to be able to learn from them, they need to be blameless because that will prevent side conversations about who did what and might be at fault, maybe. We don't want people to hide information or not to declare incidents because they are afraid of punishment. We want to encourage [the] culture that people are not afraid to take risks.\n\n**Viv:** That makes sense. I like it. It's a lot of transparency around the process, just being really honest and open. And it sounds like when this goes well, then it does make for a stronger community and for a stronger product moving forward. So how do you make sure that those postmortems fill that? Like sometimes when you're like, \"Oh, I'm going to document or record something afterwards,\" you just dash off a couple of things because you're tired and then you're done, right? So how can we make sure we write good postmortems?\n\n**Ayelet:** The TL;DR version of how we ensure that postmortems are written and those are kept with specific guidelines or standards, we need strong processes for that. And we need our systems and tools to be in place in order to make it easier for people. When you are asking what will be considered as a good postmortem, then we need to think about a checklist of things that are covered.\n\nOne will be the information that I mentioned, the milestone, the stages. And the timeline is very, very important; sometimes people are missing that. So they are writing when an incident started and when the impact may be mitigated, but they're not capturing all the stages.\n\nAnd it's important to understand the time it took for each step, because with this information we can improve and understand where we have gaps. Was it in the time it took us to detect the issue, when we actually got alerted on it, or was it escalated by a customer? That is very important to understand. If we mitigate it really, really early on so we didn't have customer impact, but the incident itself was closed a few hours or after a day, that is also very important to understand because we actually mitigated. So we don't want to account for that time, but we do want to account for the follow-up actions and the time overall.\n\nIf we're talking about, also, things that we want to ensure in postmortems, we want to avoid any blameful language. We don't want to focus on people, as I mentioned; we want to focus on improvement and promoting an iterative and collaborative process. So it's important that whoever reviews— and yes, postmortems need to be reviewed— needs to make sure that we have the technical information, we have all the details, but we also have a language that is not pointing fingers, that is blameless, and encourages us to take those risks.\n\nAnother important point is that a good postmortem should include action items. Ideally, we want to translate our learnings from the postmortem to concrete action items. Otherwise it means that we are not improving. Think about it. How can we fix the problem if we don't follow it up with action items?\n\n**MP:** So I wanted to go a little bit more into blamelessness. Is that as simple as keeping language fact-focused, as in \"this is what happened, an engineer pushed a config that caused,\" or is there more of a secret sauce to it, or is it really just as easy as recognizing that humans aren't perfect, humans make mistakes, and these are the facts of what happened?\n\n**Ayelet:** I wish that it was easy. Like any cultural thing and any cultural transformation or change, it's more complicated than a checklist or making sure that our language is aligned with specific terminology.\n\nBut just for the favor of our audience, blamelessness is the notion of switching responsibility from people to systems and processes. We want to avoid that finger-pointing that I mentioned. For one of you who've been in an organization [where] the first question that the manager asks after an incident is \"who did it?,\" probably you can recall, and hopefully not anymore, that you don't really feel empowered to make decisions and employees might feel like they are fearing for their job, they are avoiding taking any risks or changes, and we want to make those changes because we cannot improve without making changes, without taking risks. So if we want innovation, we want to take those risks. And if we want to take risks, we need to accept that failure will happen.\n\nAnd instead of focusing on the people, we need to focus on the system and process that allowed it to happen. Actually, in one of Ben Treynor's emails, he outlined it really well that mistakes are a valuable opportunity to learn and improve. And if we are missing that opportunity, if we are not learning from our mistakes, we are taking the cost of the mistake, but without the benefit of learning from it. In that regard also, I mentioned the cultural impact and the cultural change in some cases. And blamelessness is also important to foster psychological safety in our team.\n\n**MP:** So can you go into a little bit more detail about what it means to have psychological safety on a team, particularly in the context of SRE?\n\n**Ayelet:** So we want people to feel safe enough to ask the right questions that may lead to identifying the root cause of an incident, for example. We want people to feel safe enough, not to hide incidents or problems because we want to improve. In order to demonstrate that, let me ask you something: have you ever had a question that you didn't ask or an idea that you didn't share with your team?\n\n**Viv:** I've definitely not asked a lot of questions.\n\n**MP:** Here and there, most certainly.\n\n**Ayelet:** So I don't want to put you on the spot, but usually when people are not feeling safe enough not to ask questions or not to raise ideas, that can be a sign of a lack of psychological safety in that team. And psychological safety is a belief that while one will not be punished or humiliated for speaking up with ideas, questions, concerns, or mistakes, a culture of psychological safety makes it understood that things will break, failures will happen, and those breakage should be widely communicated.\n\nAnd psychological safety is critical in order to prevent that incident [from] hiding. Because we want to improve, we don't want to hide things. Actually, a really good notion for that is thinking about it: if you are not asking the question, if you are not sharing your idea, you are actually preventing the rest of your team, the rest of the people from the opportunities to learn. Actually, I'm asking a lot of the time questions that for me in my head I'm like, \"No, don't ask that, that sounds stupid!\" Or \"everybody knows that!\" or something like that. But what I'm trying to do is actually ask myself, and what if it's not? What if one person in the team can benefit from that question? What if someone that maybe is more junior, maybe less vocal, maybe they are new to the team, maybe they don't feel safe enough to ask that question, what if they have the same question, but they don't feel safe enough to say it? I'm preventing them from the opportunity to learn. I'm thinking about imposter syndrome and self-doubt; I think that it's something that a lot of people in Google share in general. So what if your idea is not that stupid? What if actually nobody's thought about it or didn't think about that perspective?\n\nSo in order to grow, even if that idea sounds not as amazing as others, it's important to voice them out. And more importantly, it's important for managers [and] organizations to create an environment that people feel safe enough and empowered enough to voice those.\n\n**Viv:** I like it. And I'm really glad you touched on maybe the fear of speaking up or imposter syndrome or other things that might come from the person itself. In my case, I feel like my team does have an environment where folks are encouraged to ask questions and such, but I think it is still hard for me to do that sometimes because like you said, it is quite nerve-wracking and it's like, \"What if everybody already knows this and I'm just the only one who's not caught up here?\" Like you said, \"what if this is stupid?\" So it is tricky. Even once you have the environment, there are still hurdles and maybe you think you have a safe environment and it actually could be better. So lots of factors come into play.\n\n**Ayelet:** And actually the solution is exactly that, is asking questions, is actually encouraging others to ask questions as well. One of my favorite suggestions actually is to lead by example, and it's with questions, it's with other behaviors that you value, it's not just for managers or tech leads, what I'm going to say, but acknowledge that you also don't know everything, acknowledge that you might also need to ask questions, and model curiosity as well. This way, your team—and again, when I'm saying your team it's not just as leaders, it's not just as managers, it's for all of us; we are making the culture of our teams as well—encourage each other, and don't discourage each other from asking questions.\n\nI mentioned before that actually creating psychological safety is not as simple and actually the idea of just asking questions sounds very simplistic, but it takes time and any change takes time. So for teams that maybe are not there yet, start simple, iterate, like we're doing with software engineering problems. It will take time, but the important part is that we'll improve with time and do some strides to [a] better position.\n\n**MP:** There are a couple other things beyond blamelessness and psychological safety that I wanted to get to today. Jumping back a little bit, you talked about action items and follow-ups from postmortems. Is there a right way or wrong way to do action items from a postmortem?\n\n**Ayelet:** First of all, if you are actually taking action items, then you are in a good enough standing. But when we're saying \"action items,\" those need to be concrete. And those need to be assigned, and ideally with an ETA. Now, every team is a bit different and the work processes are different, so it's possible that for one team it's okay to put it on their board; for another team it will be to actually assign it to a person; for other teams and other also action items, it can be that it will be to set a meeting in the calendar.\n\nSo there's no one way to actually create a follow-up, but you need to ensure that a follow-up will happen. And that happens usually again with assigning a specific person. And usually that person will not necessarily be the person that will resolve everything, but they can be the ones that will triage it, that will create the bug, that will set up the meeting, that will do some sort of an action that will promote that action item.\n\nAnother thing to consider is that if we have learnings in our postmortems, and we didn't really talk about all the parts in the postmortems, but in postmortems, we usually have what went well and what could be improved—and for us, usually, in Google, we have also where we got lucky. Usually we want to translate the thing that we need to improve, what could be better, and where we got lucky to some sort of an action item. So for example, if we didn't have a monitor alert or we didn't have an alert on something, but a developer looked at the dashboard exactly at this time because they developed a new feature, so we got lucky, but maybe next time we won't get lucky. So ideally one action item will be to create an alert to create a page. So next time, if someone will not look at the dashboard, we'll still catch it.\n\n**Viv:** Who owns those action items in the sense of like, is that usually on one person, two people? Again, with the idea of not making someone feel like the incident is their fault could also extend into how you follow up, right?\n\n**Ayelet:** So that's a tricky question because even ownership of postmortems can be different between teams and between organizations. So you're alluding also that postmortems themselves need to have an owner and that owner needs to not just write it, but make sure that it's being reviewed and being approved and then being publicized—so shared globally, widely. And in that postmortem, they need to also assign the action items. Depends on the action items, depends on the organization, depends on the team. The action items may be assigned to, let's say, the rightful owner in the policy. It can be whoever is the subject matter expert. It can be based on a discussion. It can be part of the postmortem itself to identify who are the right people that need to be involved in the postmortem itself. So there is no one answer. And like we say in a lot of other things, it depends. And it's okay also to say, \"We don't know who is the owner of implementing X, Y, Z.\" So the action items will be to create a bug and to start a discussion between those teams to make sure that it is being resolved by a specific date and time.\n\n**MP:** I think there's another thing we've avoided talking about so far is the relationship between incidents and postmortems, because I know from my own personal experience, and I assume most people can imagine, you're not writing up a whole postmortem for every little outage that happens. So where is this tipping point where it was, \"Oh, that was just a little outage,\" to \"Oh, this was an incident, we need to do a postmortem for this.\" Where is that line? Is there even a clear line?\n\n**Ayelet:** Again, a tricky question. The relationship between incidents and postmortems are not just, \"We are opening postmortems for incidents.\" For incidents and severe enough incidents, we usually will open a postmortem, and I'll expand on it in a second, but also it goes both ways. So when we have a critical mass of postmortems, that can lead us to identifying patterns; that can lead us to actually reducing either incidents, again, both the volume of incidents and also the frequency of them. But in order to do that, we need to rely on postmortem data to prioritize what and how we should invest time and priorities.\n\nSaying that, you did touch on an important point of *when* we should write a postmortem. Let's say that we have a bleeding money incident, Severity 1 incident. It's no brainer. If you open an OMG (Outage Management at Google), you'll write a postmortem, but there's also other scenarios that we want to write postmortems that are not specifically for incidents or not incidents that are in a specific severity. And I mentioned, it depends, and here it also depends. Each team can define what are the criteria for them that they will write an incident.\n\nSo some scenarios can be, we have an incident with customer impact. Those are [a] very common baseline of writing a postmortem. And usually there is a strong agreement on that. In Google, we have SLOs, service level objectives. If we are breaching those because of an incident, then we definitely need to write a postmortem as well. But there's also other scenarios. For example, what if we have a case of data loss and we don't have a direct impact on the customer yet? So it's a potential customer impact, but at the moment we don't. We will still want to create a record of what happened, how it happened to keep track, to triage it. We still want that learning. And we achieve that by having postmortems.\n\nSo other cases that we might want to have a postmortem, even if we didn't declare an incident, or we didn't declare, let's say, Priority 1 or Priority 0—depends on the organization—incident. As I mentioned, user-visible downtime usually comes with an incident with some sort of P0, P1, but it can be also the aggregation of the service. It can be also in a case when an on-caller intervenes. It can be also, we had a release and we had to roll back. We rolled back before we had a customer impact or the customer impact was so minor that we didn't open an incident, but we still want to keep track of that information. And maybe we routed traffic because of that. We might want to create a postmortem in case we have a lower priority incident, but with a resolution time that is above some threshold; they took longer to solve. In case we had the monitor failures—so in case our tools fails us—it's not customer impact, but in case we had a customer impact, we wouldn't know. So we want to understand. And in some organizations, [those] monitoring failures, those tools themselves, we'll also need to open an incident with some priority level.\n\nSo again, depends on the organization, depends on the team, but it's not one-to-one. There's a lot of cases that we would want to open a postmortem that maybe is not an incident with a specific priority or severity.\n\n**MP:** The near-misses also generally are at this really broad category of, maybe we want to take a closer look at this, even though it wasn't bad this time.\n\n**Ayelet:** Yes, exactly.\n\n**MP:** So I think, wrapping up here for today, what would be your final thoughts to those of us that want to write better postmortems in our day-to-day? What is the biggest piece of advice you have to offer us?\n\n**Ayelet:** So actually one of my recommendations is not just writing a postmortem. A lot of organizations are writing a postmortem, are capturing those notes, but after that are not sharing them or not sharing it publicly enough, not widely enough. And it's a miss also. So let's say, you wrote a postmortem and it can be a very lean one, it can be the most amazing postmortem ever, if you are not sharing it, other people will not be able to learn from it.\n\nSo one of the things that I keep seeing with organizations that we work with is that they're actually writing postmortems. They are thinking about the language itself. They are trying to capture also action items and improve, but they are not sharing it. And usually in that step where people are talking about it—I'm actually sharing an example pre-Google time that actually because someone wrote a postmortem for an issue that was in a production system that was not under my, let's say, ownership at the time, and they shared it publicly, they shared it with R&D in general—I actually was able to prevent an incident in our own system because they shared a problem that we also encountered. And when we connected the dots, it actually showed the deeper problem in our systems. And we were able to actually solve the root cause for both of our systems.\n\nSo sometimes we're saying, we don't want to share it too broadly because it's not relevant for them, it's not the same system, it's not their ownership. And they are keeping that in the scope of the team or in the scope of even sometimes their PA, the organization, but others can learn from it and can improve from it. I do encourage every organization to share it as widely as possible and create the infrastructure to share it widely as well. Of course, in some cases, we need to redact some information, especially customer data and things like that, but it shouldn't be a block here. We should find a workaround for that as well. We have solutions, in fact, for that.\n\n**MP:** Well, that was some really great advice. I think that's definitely something that I'm going to want to incorporate more into my daily work, making sure that I'm looking out for postmortems from my peers and that I'm actually reading them thoroughly and trying to internalize that information, and also making sure anything I produce gets shared out and widely disseminated as well. So thank you so much for your time today. It's been really great.\n\n**Ayelet:** Thank you for having me.\n\n**MP:** And thank you so much for being our ninth and final guest on this first series of the Prodcast.\n\n**Viv:** Yeah, this is a great way to wrap things up. We got great advice, we talked about postmortems, and maybe we'll write a postmortem for this Prodcast.\n\n**Ayelet:** Actually, I recommend to do postmortems for a lot of things other than incidents. So retrospective is important.\n\n**Viv:** Well, if we write one, we will certainly share it with you.\n\n**Ayelet:** Looking forward to it.\n\n**MP:** Thank you again.", "znaku_textu": 22886, "slov": 4075, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:13:05", "sha256": "ebbdb344542adcf3197a334e0b0a4e3da3b35e6a778ff7188ca795fc43ffc1af", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09/", "titulek": "Google SRE - Incident postmortem podcast with Ayelet Sachto", "h1": "Postmortems with Ayelet Sachto", "popis": "Explore Google sre post mortem with Ayelet Sachto, deep dive into advices on creating an actionable, transparent, and blameless incident postmortem culture.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09"}, "headline": "Postmortems with Ayelet Sachto", "description": "Ayelet Sachto offers advice on creating an actionable, transparent, and blameless postmortem culture.", "image": "https://kstatic.googleusercontent.com/files/8127db1da795e3878a49c7c75cf6cd96dddd87373952f37d3b8ba1eac9fef1e9773918915e8147452925a5612b611ad6cf6a076114a0115d22c6ccb2eaed9b78", "author": [{"@type": "Person", "name": "Ayelet Sachto"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Postmortems with Ayelet Sachto"}], "markdown": "# Postmortems with Ayelet Sachto\n\n**Ayelet Sachto** offers advice on creating an actionable, transparent, and blameless postmortem culture.\n\n**MP:** Hello, and welcome to Episode 9 of the Google SRE Podcast, or as we affectionately refer to it, the Prodcast. This is actually going to be the final episode of our initial season. And last week we got to talk about incident management and on-call response, and this week we're moving on to what happens after the incident to close things out.\n\nSo here with us today to talk with us about postmortems is Ayelet. Would you like to go ahead and introduce yourself?\n\n**Ayelet:** Yes, thank you. Happy to be here. I'm Ayelet Sachto. I'm currently a site reliability engineer in GKE (Google Kubernetes Engine) SRE team in London and formerly a strategic cloud engineer and leading PSO (Professional Services Organization) SRE efforts in EMEA. [Incident management and postmortems](https://sre.google/workbook/postmortem-culture/) are not new to me, as I've been living and bleeding production on a large scale for almost two decades now, developing and architecting large-scale application and data flow while implementing dev-ops practices and SRE technologies. Most of them cover production on-call, of course. And outside of my main role, I also volunteer in the tech community as a mentor, public speaker, and organizer.\n\n**Viv:** Oh, you've been busy. Good busy.\n\n**Ayelet:** Trying to be, yes. [Laughs]\n\n**MP:** So for those of our listeners that might not be familiar with the term \"postmortem,\" could you give us your definition of what makes a postmortem a postmortem?\n\n**Ayelet:** To answer [what is postmortems](https://sre.google/sre-book/postmortem-culture/) or what makes a postmortem a postmortem, it's also important to understand why we write postmortems and what is the problem that we are trying to solve with postmortems.\n\nPostmortems are a written record of an incident. They should include the actions taken to mitigate customer impact and resolve the incident, the stages that more often than not will be separated, the impact itself, the root causes, and—important to emphasize root cause or root causes and not just the symptoms—the follow-up actions to prevent it from reoccurring. Our goal with postmortem is to prevent incidents from reoccurring and at least reducing the likelihood of impact of future outages.\n\nThere are a lot of things that we can do in order to reduce the impact of incidents or to reduce the frequency of incidents. But the data that are coming from postmortems is crucial in order to understand what we can prioritize and what we should prioritize. Postmortem is our tool to learn from our failures. And unless we have some formalized processes of learning from these incidents in place, they will reoccur. So postmortems provide us a method to learn not only from our failures, but from others. And that's why it's really important also to share them globally and not hide them.\n\nBut to be able to learn from them, they need to be blameless because that will prevent side conversations about who did what and might be at fault, maybe. We don't want people to hide information or not to declare incidents because they are afraid of punishment. We want to encourage [the] culture that people are not afraid to take risks.\n\n**Viv:** That makes sense. I like it. It's a lot of transparency around the process, just being really honest and open. And it sounds like when this goes well, then it does make for a stronger community and for a stronger product moving forward. So how do you make sure that those postmortems fill that? Like sometimes when you're like, \"Oh, I'm going to document or record something afterwards,\" you just dash off a couple of things because you're tired and then you're done, right? So how can we make sure we write good postmortems?\n\n**Ayelet:** The TL;DR version of how we ensure that postmortems are written and those are kept with specific guidelines or standards, we need strong processes for that. And we need our systems and tools to be in place in order to make it easier for people. When you are asking what will be considered as a good postmortem, then we need to think about a checklist of things that are covered.\n\nOne will be the information that I mentioned, the milestone, the stages. And the timeline is very, very important; sometimes people are missing that. So they are writing when an incident started and when the impact may be mitigated, but they're not capturing all the stages.\n\nAnd it's important to understand the time it took for each step, because with this information we can improve and understand where we have gaps. Was it in the time it took us to detect the issue, when we actually got alerted on it, or was it escalated by a customer? That is very important to understand. If we mitigate it really, really early on so we didn't have customer impact, but the incident itself was closed a few hours or after a day, that is also very important to understand because we actually mitigated. So we don't want to account for that time, but we do want to account for the follow-up actions and the time overall.\n\nIf we're talking about, also, things that we want to ensure in postmortems, we want to avoid any blameful language. We don't want to focus on people, as I mentioned; we want to focus on improvement and promoting an iterative and collaborative process. So it's important that whoever reviews— and yes, postmortems need to be reviewed— needs to make sure that we have the technical information, we have all the details, but we also have a language that is not pointing fingers, that is blameless, and encourages us to take those risks.\n\nAnother important point is that a good postmortem should include action items. Ideally, we want to translate our learnings from the postmortem to concrete action items. Otherwise it means that we are not improving. Think about it. How can we fix the problem if we don't follow it up with action items?\n\n**MP:** So I wanted to go a little bit more into blamelessness. Is that as simple as keeping language fact-focused, as in \"this is what happened, an engineer pushed a config that caused,\" or is there more of a secret sauce to it, or is it really just as easy as recognizing that humans aren't perfect, humans make mistakes, and these are the facts of what happened?\n\n**Ayelet:** I wish that it was easy. Like any cultural thing and any cultural transformation or change, it's more complicated than a checklist or making sure that our language is aligned with specific terminology.\n\nBut just for the favor of our audience, blamelessness is the notion of switching responsibility from people to systems and processes. We want to avoid that finger-pointing that I mentioned. For one of you who've been in an organization [where] the first question that the manager asks after an incident is \"who did it?,\" probably you can recall, and hopefully not anymore, that you don't really feel empowered to make decisions and employees might feel like they are fearing for their job, they are avoiding taking any risks or changes, and we want to make those changes because we cannot improve without making changes, without taking risks. So if we want innovation, we want to take those risks. And if we want to take risks, we need to accept that failure will happen.\n\nAnd instead of focusing on the people, we need to focus on the system and process that allowed it to happen. Actually, in one of Ben Treynor's emails, he outlined it really well that mistakes are a valuable opportunity to learn and improve. And if we are missing that opportunity, if we are not learning from our mistakes, we are taking the cost of the mistake, but without the benefit of learning from it. In that regard also, I mentioned the cultural impact and the cultural change in some cases. And blamelessness is also important to foster psychological safety in our team.\n\n**MP:** So can you go into a little bit more detail about what it means to have psychological safety on a team, particularly in the context of SRE?\n\n**Ayelet:** So we want people to feel safe enough to ask the right questions that may lead to identifying the root cause of an incident, for example. We want people to feel safe enough, not to hide incidents or problems because we want to improve. In order to demonstrate that, let me ask you something: have you ever had a question that you didn't ask or an idea that you didn't share with your team?\n\n**Viv:** I've definitely not asked a lot of questions.\n\n**MP:** Here and there, most certainly.\n\n**Ayelet:** So I don't want to put you on the spot, but usually when people are not feeling safe enough not to ask questions or not to raise ideas, that can be a sign of a lack of psychological safety in that team. And psychological safety is a belief that while one will not be punished or humiliated for speaking up with ideas, questions, concerns, or mistakes, a culture of psychological safety makes it understood that things will break, failures will happen, and those breakage should be widely communicated.\n\nAnd psychological safety is critical in order to prevent that incident [from] hiding. Because we want to improve, we don't want to hide things. Actually, a really good notion for that is thinking about it: if you are not asking the question, if you are not sharing your idea, you are actually preventing the rest of your team, the rest of the people from the opportunities to learn. Actually, I'm asking a lot of the time questions that for me in my head I'm like, \"No, don't ask that, that sounds stupid!\" Or \"everybody knows that!\" or something like that. But what I'm trying to do is actually ask myself, and what if it's not? What if one person in the team can benefit from that question? What if someone that maybe is more junior, maybe less vocal, maybe they are new to the team, maybe they don't feel safe enough to ask that question, what if they have the same question, but they don't feel safe enough to say it? I'm preventing them from the opportunity to learn. I'm thinking about imposter syndrome and self-doubt; I think that it's something that a lot of people in Google share in general. So what if your idea is not that stupid? What if actually nobody's thought about it or didn't think about that perspective?\n\nSo in order to grow, even if that idea sounds not as amazing as others, it's important to voice them out. And more importantly, it's important for managers [and] organizations to create an environment that people feel safe enough and empowered enough to voice those.\n\n**Viv:** I like it. And I'm really glad you touched on maybe the fear of speaking up or imposter syndrome or other things that might come from the person itself. In my case, I feel like my team does have an environment where folks are encouraged to ask questions and such, but I think it is still hard for me to do that sometimes because like you said, it is quite nerve-wracking and it's like, \"What if everybody already knows this and I'm just the only one who's not caught up here?\" Like you said, \"what if this is stupid?\" So it is tricky. Even once you have the environment, there are still hurdles and maybe you think you have a safe environment and it actually could be better. So lots of factors come into play.\n\n**Ayelet:** And actually the solution is exactly that, is asking questions, is actually encouraging others to ask questions as well. One of my favorite suggestions actually is to lead by example, and it's with questions, it's with other behaviors that you value, it's not just for managers or tech leads, what I'm going to say, but acknowledge that you also don't know everything, acknowledge that you might also need to ask questions, and model curiosity as well. This way, your team—and again, when I'm saying your team it's not just as leaders, it's not just as managers, it's for all of us; we are making the culture of our teams as well—encourage each other, and don't discourage each other from asking questions.\n\nI mentioned before that actually creating psychological safety is not as simple and actually the idea of just asking questions sounds very simplistic, but it takes time and any change takes time. So for teams that maybe are not there yet, start simple, iterate, like we're doing with software engineering problems. It will take time, but the important part is that we'll improve with time and do some strides to [a] better position.\n\n**MP:** There are a couple other things beyond blamelessness and psychological safety that I wanted to get to today. Jumping back a little bit, you talked about action items and follow-ups from postmortems. Is there a right way or wrong way to do action items from a postmortem?\n\n**Ayelet:** First of all, if you are actually taking action items, then you are in a good enough standing. But when we're saying \"action items,\" those need to be concrete. And those need to be assigned, and ideally with an ETA. Now, every team is a bit different and the work processes are different, so it's possible that for one team it's okay to put it on their board; for another team it will be to actually assign it to a person; for other teams and other also action items, it can be that it will be to set a meeting in the calendar.\n\nSo there's no one way to actually create a follow-up, but you need to ensure that a follow-up will happen. And that happens usually again with assigning a specific person. And usually that person will not necessarily be the person that will resolve everything, but they can be the ones that will triage it, that will create the bug, that will set up the meeting, that will do some sort of an action that will promote that action item.\n\nAnother thing to consider is that if we have learnings in our postmortems, and we didn't really talk about all the parts in the postmortems, but in postmortems, we usually have what went well and what could be improved—and for us, usually, in Google, we have also where we got lucky. Usually we want to translate the thing that we need to improve, what could be better, and where we got lucky to some sort of an action item. So for example, if we didn't have a monitor alert or we didn't have an alert on something, but a developer looked at the dashboard exactly at this time because they developed a new feature, so we got lucky, but maybe next time we won't get lucky. So ideally one action item will be to create an alert to create a page. So next time, if someone will not look at the dashboard, we'll still catch it.\n\n**Viv:** Who owns those action items in the sense of like, is that usually on one person, two people? Again, with the idea of not making someone feel like the incident is their fault could also extend into how you follow up, right?\n\n**Ayelet:** So that's a tricky question because even ownership of postmortems can be different between teams and between organizations. So you're alluding also that postmortems themselves need to have an owner and that owner needs to not just write it, but make sure that it's being reviewed and being approved and then being publicized—so shared globally, widely. And in that postmortem, they need to also assign the action items. Depends on the action items, depends on the organization, depends on the team. The action items may be assigned to, let's say, the rightful owner in the policy. It can be whoever is the subject matter expert. It can be based on a discussion. It can be part of the postmortem itself to identify who are the right people that need to be involved in the postmortem itself. So there is no one answer. And like we say in a lot of other things, it depends. And it's okay also to say, \"We don't know who is the owner of implementing X, Y, Z.\" So the action items will be to create a bug and to start a discussion between those teams to make sure that it is being resolved by a specific date and time.\n\n**MP:** I think there's another thing we've avoided talking about so far is the relationship between incidents and postmortems, because I know from my own personal experience, and I assume most people can imagine, you're not writing up a whole postmortem for every little outage that happens. So where is this tipping point where it was, \"Oh, that was just a little outage,\" to \"Oh, this was an incident, we need to do a postmortem for this.\" Where is that line? Is there even a clear line?\n\n**Ayelet:** Again, a tricky question. The relationship between incidents and postmortems are not just, \"We are opening postmortems for incidents.\" For incidents and severe enough incidents, we usually will open a postmortem, and I'll expand on it in a second, but also it goes both ways. So when we have a critical mass of postmortems, that can lead us to identifying patterns; that can lead us to actually reducing either incidents, again, both the volume of incidents and also the frequency of them. But in order to do that, we need to rely on postmortem data to prioritize what and how we should invest time and priorities.\n\nSaying that, you did touch on an important point of *when* we should write a postmortem. Let's say that we have a bleeding money incident, Severity 1 incident. It's no brainer. If you open an OMG (Outage Management at Google), you'll write a postmortem, but there's also other scenarios that we want to write postmortems that are not specifically for incidents or not incidents that are in a specific severity. And I mentioned, it depends, and here it also depends. Each team can define what are the criteria for them that they will write an incident.\n\nSo some scenarios can be, we have an incident with customer impact. Those are [a] very common baseline of writing a postmortem. And usually there is a strong agreement on that. In Google, we have SLOs, service level objectives. If we are breaching those because of an incident, then we definitely need to write a postmortem as well. But there's also other scenarios. For example, what if we have a case of data loss and we don't have a direct impact on the customer yet? So it's a potential customer impact, but at the moment we don't. We will still want to create a record of what happened, how it happened to keep track, to triage it. We still want that learning. And we achieve that by having postmortems.\n\nSo other cases that we might want to have a postmortem, even if we didn't declare an incident, or we didn't declare, let's say, Priority 1 or Priority 0—depends on the organization—incident. As I mentioned, user-visible downtime usually comes with an incident with some sort of P0, P1, but it can be also the aggregation of the service. It can be also in a case when an on-caller intervenes. It can be also, we had a release and we had to roll back. We rolled back before we had a customer impact or the customer impact was so minor that we didn't open an incident, but we still want to keep track of that information. And maybe we routed traffic because of that. We might want to create a postmortem in case we have a lower priority incident, but with a resolution time that is above some threshold; they took longer to solve. In case we had the monitor failures—so in case our tools fails us—it's not customer impact, but in case we had a customer impact, we wouldn't know. So we want to understand. And in some organizations, [those] monitoring failures, those tools themselves, we'll also need to open an incident with some priority level.\n\nSo again, depends on the organization, depends on the team, but it's not one-to-one. There's a lot of cases that we would want to open a postmortem that maybe is not an incident with a specific priority or severity.\n\n**MP:** The near-misses also generally are at this really broad category of, maybe we want to take a closer look at this, even though it wasn't bad this time.\n\n**Ayelet:** Yes, exactly.\n\n**MP:** So I think, wrapping up here for today, what would be your final thoughts to those of us that want to write better postmortems in our day-to-day? What is the biggest piece of advice you have to offer us?\n\n**Ayelet:** So actually one of my recommendations is not just writing a postmortem. A lot of organizations are writing a postmortem, are capturing those notes, but after that are not sharing them or not sharing it publicly enough, not widely enough. And it's a miss also. So let's say, you wrote a postmortem and it can be a very lean one, it can be the most amazing postmortem ever, if you are not sharing it, other people will not be able to learn from it.\n\nSo one of the things that I keep seeing with organizations that we work with is that they're actually writing postmortems. They are thinking about the language itself. They are trying to capture also action items and improve, but they are not sharing it. And usually in that step where people are talking about it—I'm actually sharing an example pre-Google time that actually because someone wrote a postmortem for an issue that was in a production system that was not under my, let's say, ownership at the time, and they shared it publicly, they shared it with R&D in general—I actually was able to prevent an incident in our own system because they shared a problem that we also encountered. And when we connected the dots, it actually showed the deeper problem in our systems. And we were able to actually solve the root cause for both of our systems.\n\nSo sometimes we're saying, we don't want to share it too broadly because it's not relevant for them, it's not the same system, it's not their ownership. And they are keeping that in the scope of the team or in the scope of even sometimes their PA, the organization, but others can learn from it and can improve from it. I do encourage every organization to share it as widely as possible and create the infrastructure to share it widely as well. Of course, in some cases, we need to redact some information, especially customer data and things like that, but it shouldn't be a block here. We should find a workaround for that as well. We have solutions, in fact, for that.\n\n**MP:** Well, that was some really great advice. I think that's definitely something that I'm going to want to incorporate more into my daily work, making sure that I'm looking out for postmortems from my peers and that I'm actually reading them thoroughly and trying to internalize that information, and also making sure anything I produce gets shared out and widely disseminated as well. So thank you so much for your time today. It's been really great.\n\n**Ayelet:** Thank you for having me.\n\n**MP:** And thank you so much for being our ninth and final guest on this first series of the Prodcast.\n\n**Viv:** Yeah, this is a great way to wrap things up. We got great advice, we talked about postmortems, and maybe we'll write a postmortem for this Prodcast.\n\n**Ayelet:** Actually, I recommend to do postmortems for a lot of things other than incidents. So retrospective is important.\n\n**Viv:** Well, if we write one, we will certainly share it with you.\n\n**Ayelet:** Looking forward to it.\n\n**MP:** Thank you again.", "znaku_textu": 22886, "slov": 4075, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-01-09", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:27", "sha256": "ebbdb344542adcf3197a334e0b0a4e3da3b35e6a778ff7188ca795fc43ffc1af", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01", "titulek": "Google SRE - How to become a site reliability engineer?", "h1": "Life of An SRE with Tom Cranitch and Megan Yin", "popis": "How to become an SRE? Tom Cranitch and Megan Yin share insights on SRE careers, sre on-call challenges and tips to thrive in this dynamic, impactful role.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01"}, "headline": "Life of An SRE with Tom Cranitch and Megan Yin", "description": "How does one become an SRE? And what's the career like? In this episode, Tom and Megan discuss their path to SRE.", "image": "https://kstatic.googleusercontent.com/files/628ef6b1b6ac5105a07e63320a01702fe5d72a93b1f790772c691d634779dab1b04543e6c47b167f81e35585f8b132ab50a22c14f05810e2bcf4c60c0b0a59d9", "author": [{"@type": "Person", "name": "Tom Cranitch"}, {"@type": "Person", "name": "Megan Yin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Tom Cranitch and Megan Yin"}], "markdown": "# Life of An SRE with Tom Cranitch and Megan Yin\n\nHow does one become an SRE? And what's the career like? In this episode, Tom and Megan discuss their path to SRE.\n\n**MP:** Hello, and welcome to the very first episode of season 2 of the Google SRE podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP, back from season 1. And in this season, we will be exploring the life of an SRE. And to do so, we will be speaking with individual contributor SREs and members of SRE management from all across Google and all levels of tenure. If you are interested in becoming an SRE, growing your career as an SRE, or just want a little bit of a peek into [what makes SRE culture here at Google tick](https://sre.google/workbook/reaching-beyond/), this is going to be the season for you.\n\nAnd I do have one thing to touch on before we dive into our first interval. Viv, my co-host from the first season, has decided to jump in the world of responsible AI here at Google and is no longer with us in SRE. We are very grateful to her contributions to the podcast, and we wish her the absolute best of luck in her new role.\n\nIn light of that, and in keeping with our theme this season of trying to share as many voices as we can, I will be joined by five other SREs across the season as my co-hosts. So here for episode one is my very first co-host, who I am very excited to introduce. Go ahead.\n\n**Pamela:** Hello, world. Sorry, I've always wanted to do that. My name is Pamela Vong. I also go by Pam. And currently, I am a senior site reliability engineer in the Geo team.\n\nI have been at Google and been in SRE for almost 1 and 1/2 years now. So I'm still very fresh and new to all things SRE. But prior to joining Google and SRE, I have been mostly a software engineer for the past almost 15 years on a variety of all technologies, and feel a little embarrassed about not knowing what site reliability engineering even was two years ago from the time of this recording.\n\nAnd at that time, when I was learning about it, I wished that there was a podcast for me to listen to to get the gist of what this whole area of engineering is like, and what the people are like, and the culture is like, because I listen to a lot of tech podcasts. And I've been a huge fan. And that's how I usually get my news and information and how I learn about everything that I do.\n\nSo I was super excited in the beginning of 2022 when the podcast got released, and I binged listened to every episode, and was also equally excited to hear when MP was looking for volunteers for the season 2. So here I am. And thank you for having me.\n\n**MP:** So grateful to have you as both a listener and co-host. So for our first episode, we are going to be starting with some early career SREs here at Google and to hear that very fresh-eyed experience of SRE. So let's go ahead and have our guests introduce themselves.\n\n**Tom:** Hi, I'm Tom. I also work with Pam on the Geo team, but over here in Sydney, Australia. Nice and warm at the moment. I've been at Google for about 10 months so far. And I joined as a new grad.\n\n**Megan:** Hi, I'm Megan, and I, similar to Tom, also am about 10 months in to my career at Google. I joined out of college, and I'm working with MP on the Play SRE team as a software engineer.\n\n**MP:** Thank you both for joining us.\n\n**Pamela:** Megan, let's start with you. Could you tell us about your experience prior to joining Google?\n\n**Megan:** Yeah, for sure. So prior to joining Google, I was a student at Cornell University. I had done a couple of software engineering internships prior to joining Google. When I was in the interview rounds with Google, My recruiter did suggest SRE to me as a potential avenue to go down, and I, like you, was not very familiar with SRE at all.\n\nAnd I had done some reading. I think there's an SRE book out there for public consumption about SRE. And I was pretty interested in what SRE is. It's very different from my experience in software engineering. So I decided to pursue that. And ultimately, this was also how I ended up in the San Francisco office.\n\n**Pamela:** So, Tom, tell us a bit about your experience prior to joining Google.\n\n**Tom:** So I did my undergrad in math and computer science up in Brisbane at the University of Queensland. Through uni, I did some work at the Defense Science and Technology Group, which is the research division of the Department of Defense. I was doing full methods research there. I was looking at program safety.\n\nSo it was a bit of a change coming into SRE, I think, coming from a more like, formal research environment. I sort of got to the last year of my undergrad degree. I was going to do an honors year. For folks in America, I guess it's sort of like a master's. It's a transition we have to get into a PhD. And I decided in my last year that I wasn't keen to do another year of study, and so I started applying to places, and I got an offer from Google.\n\n**Pamela:** Did you know about what SRE was prior to applying to Google?\n\n**Tom:** Not really. I had a similar experience to both of you guys. I applied to a job at Fitbit, actually. There was a new Fitbit team in Sydney. My recruiter then asked me if I was happy for any job at Google.\n\nThe obvious answer to that was yes. So I went through the interview process, and I got to the end in Dream Team match. My recruiter floated the idea of SRE, and similar sort of experience, I looked into it more and I really liked the systems focus of it, the large-scale system design, particularly. I found that really interesting. I got an offer from the SRE team in Sydney, as well as JSRE, and after speaking to both of the managers, I just found the SRE work was more aligned with what I wanted to do in the long term.\n\n**Pamela:** Megan, how did you feel about SRE when you learned about it? And what made you choose SRE?\n\n**Megan:** I was pretty keen on choosing SRE because it's very different from software engineering. I really liked that SRE, you're exposed to a large surface area, versus a developer, you probably get really deep knowledge in maybe one binary. But as an SRE, you can kind of see like the whole forest, that is, in my case, the Play Store. Also, as an SRE, you're kind of solving different problems all the time, versus I thought that, as a developer, the work was very repetitive and that you're kind of doing design, build, test, repeat. And that was kind of what was interesting to me about SRE.\n\n**MP:** Was that design, build, test, repeat the experience you had during your internship?\n\n**Megan:** Yeah, I did have that experience through my internships. I kind of felt like I was just kind of like, building APIs, and kind of just going through the cycle of testing them. And that was also sort of what I experienced through my software engineering coursework in college.\n\n**Pamela:** What was it like for you both to transition from academics to your professional career? What's the most challenging thing you've had to come across?\n\n**Tom:** For me, the most challenging part, I think, was just like, the pure scale. Like uni work and the research work I did, it was not necessarily super well-scoped, but it was work that you could do sort of in the period of weeks or maybe a month or two and you could really get your head around things relatively quickly. A uni course was scoped to a semester, and in that time, you're meant to learn all the content, do the assessment, all that kind of stuff.\n\nAnd I found, joining Google, one of the first things my manager said to me was, I don't expect anything from you in the first six months. And universally, I think that experience is something that most people get at Google, just like, the pure scope of everything here and how long it takes to get your head around the systems that you work on. I think, particularly, in SRE, there's so many systems. Geo has something like hundreds of binaries, right?\n\nAnd then, also, the developer tooling and everything. Everything at Google is new, and just the amount of time it took me to get my head around it. I mean, I don't have my head around it still, but to get to the point where I had my head around it enough to be productive, that was really new for me.\n\n**Megan:** I just want to also echo what Tom said. A lot of it is just being able to thrive in ambiguity, which is like, a huge phrase that we use within SRE. Because SRE has such a large surface area, there is a lot of ambiguity in that, and there is a lot to learn. And just like what Tom said, the first six months is a lot of learning, versus, like, in college, six months, you're probably done with the whole course by then. So, yeah, transitioning to that and just being able to constantly learn while also still producing was a huge transition.\n\n**Pamela:** You've both had an interesting transition into your careers, also, for another reason. You came into Google during the time Google was returning to office. How did that impact your onboarding?\n\n**Megan:** I'm actually super grateful that I was able to onboard in the more return to office time. I definitely really appreciated being able to see my coworkers in the office and just being able to kind of like, go up to their desk and be kind of like, I'm running into this issue. Could you help me out with that? Through my internships, those were all pretty much virtual, and it's really great being with coworkers in the office, and especially when I was shadowing on-call, which is a huge part of the SRE role at Google. It was really great to see my coworkers triaging an incident in real-time and just be able to go up to their desk rather than having to set up a meeting to see how they were handling the problem.\n\n**Tom:** Yeah, I would definitely echo that. I joined a few months before RTO. RTO in Sydney was a little bit later than in the US. And coming into the office initially, it was kind of eerie, right? Like, there was no one around except for my team.\n\nI was quite lucky, I think, that my team was in the office. I really enjoy coming into the office. And just having those in-person interactions, I found so valuable. I think part of it as well is just like overhearing what other people are talking about. You get so much context from the conversations that people are having around you, I think.\n\nAnd definitely echo that, like, just being able to turn to someone and ask a question instead of having to try and perfectly word this message you're sending to them because you've met this person once online and you don't want them to take your message the wrong way and all that kind of stuff, just being able to like, turn to someone and ask a question. And then, if it turns into a bigger thing, you can just go to a meeting room and have the conversation. But not having to balance all these online interactions with people you don't really know, it's super valuable.\n\n**Megan:** Yeah, those magical hallway conversations are huge.\n\n**Pamela:** You've mentioned ramping up to go on-call. Megan, do you want to share what it's been like doing on-call versus the project work you get to see?\n\n**Megan:** Yeah, for sure. So like I said, being on-call is a huge part of being an SRE at Google. I've seen that we tend to budget a lot of time towards being on-call and following up with on-call.\n\nAnd I would say it took me about six months to get ramped up for that. I got ramped up for that by doing some practice exercises, and also, just shadowing and reverse shadowing. The difference there is that if I reverse shadow, I'm in the hot seat, and someone who's more experienced is there to support me. So, yeah, I was doing that for about six months, and just getting an understanding for the system and the critical flows.\n\nAnd part of what was really huge about that is learning which pages should you definitely jump for, for example, if they're revenue impacting, then those are probably things that you should probably escalate. And learning that it's OK to escalate and to involve other people was definitely a huge learning for me.\n\n**Tom:** Yeah, I had a similar sort of experience. We have a relatively quiet page off, for better or for worse. So for me, my ramp up was a bit faster. I got to the point where I was shadowing, and I was shadowing for a little bit, and we didn't get any pages, and my manager was sort of just like, you can go on-call.\n\nIt felt a little bit like being pushed in the deep end. But there's this safety net, which I think is hard to trust, but my manager, obviously being here a bit longer, knows that there's that safety net there, and it's like, it's safe to have someone with not heaps of experience being on-call because there's these escalation paths that were there to save you. But yeah, they may-- to ramp up for on-call, we did a lot of ticket work, so slow burn pages go into our ticket queue.\n\nAnd then, as a team, every week, we sit down and spend about an hour looking through them, and that was really helpful for getting me ready for on-call. Because we don't get a lot of pages, these are the closest things we have, a lot of the time, to real incidents. And they are-- it's a productive exercise as well because these are things that are affecting production. They're real slow burn alerts that need to be fixed by someone anyway. That was definitely super helpful for getting me on call.\n\n**MP:** For both of you, what was it like adjusting to the real-time aspect of having to be on-call for a production service? Because you think about academic work, or even normal software development work, you're not really in that position where five minutes, 10 minutes, 15 minutes, an hour really matters. But then, you're on-call for these large production systems, and those five minutes, 10 minutes can be really important. And I know, I've been supporting production systems for seven years now, like, I'm kind of desensitized to it. So what's that like for both of you, having to make that adjustment into urgent response?\n\n**Tom:** Yeah, I actually really enjoy it. We had SRE EDU. I did it, I think, in my third week or so. And there's these breakage scenarios, and there's this fake service, and things break, and you have to try and fix it. And I found it really enjoyable. And I've continued to find pages to be quite enjoyable.\n\nI think, partly, I enjoyed exams, which is the closest thing you have to these time pressure scenarios that you need. And I found that time pressure, I quite enjoy. So that aspect, I actually haven't hated.\n\nOne thing I do find a bit stressful is, for us, at least my experience has been that a lot of my pages are manual pages. So something has broken for someone in a service that is related to us, or something has broken in our service and we haven't been alerted, but some other team is experiencing pain because of one of our services. They turn to SRE as sort of like, production experts. That I found really scary.\n\nThere's this person who's waiting on you for their service, which is broken. And there's a pressure of someone waiting on you. I actually found that worse than these automatic pages where, even though the revenue impact there may be worse, and the user pain may be worse, the fact that you know that one of your colleagues is waiting on you to reply to them, I found that almost more scary. Particularly as a new grad, like, this person who is far more experienced most of the time is waiting on me with five months experience to sort of get them answers.\n\n**Megan:** Coming from my perspective, my team, I guess, has a little bit of a heavier on-call. We do get quite a few pages that are more revenue impacting. And I remember the first time I dealt with a revenue-impacting large outage was when I was reverse shadowing, actually, my tech lead.\n\nAnd that was incredibly nerve-wracking to me, to see so many people get involved, and also, be cognizant of the fact that Google was also losing money for every minute we were going through this. However, my tech lead said something very interesting to me. He said that SRE is for people who tend to run towards fires instead of away from them.\n\nAnd that is, I do feel, entirely true. And it's really one of the more rewarding aspects of this job, I would say, that real-time aspect. Like you said, MP, it's really interesting to see how these breakages kind of affect people, but also, know how you can triage them and fix them.\n\nAnother big learning for me was, like I mentioned before, just learning which pages and incidents are worth getting stressed over. And obviously, the ones that affect our critical flows, are revenue impacting, are definitely ones that you should be a little bit more stressed about, but more one-off pages for tasks that are dying, or something like that, you can maybe take your time with. And that is huge. And also, like I said, knowing that you can always escalate and people are always happy to get involved, especially if money is on the table.\n\n**MP:** I think one of the things that is fairly well known within SRE, but it's not really even spoken that much is how much authority is delegated to on-caller. And there's this really wild dynamic, that I'm sure both of you have started getting used to, that you can have managers and directors looking at you for guidance, for the answer, and you might have just been on the rotation for a few months at that point. And you have to respond to that. You have to move everyone forward and be that point person.\n\n**Tom:** I remember having this conversation. We had someone senior from the US come and visit us a few months ago. So I had been on-call for a month or two at that point. I remember having a very similar conversation with them.\n\nIt's scary. The whole company puts so much faith and trust in you as this person who has been at Google for like, five or six months that, like-- I don't know, Google Maps, right? We have however many users, and like, the whole service is relying-- I guess there's four.\n\nWe have four SRE shards. So there's four on-calls for Google Maps in SRE. Basically, the whole service is sort of resting on these four people.\n\nAnd your portion of that, the services you're on-call for, which are all super important, the whole company is trusting that you will keep them alive. If not, obviously, there's escalation paths and stuff, but I still find that shocking. It's just like, the amount of faith and trust everyone puts in SRE and on-callers in general.\n\n**Megan:** Yeah. I would say something I like to think about SRE is sort of like the guardians of Google production, is how I like to think about it. And, yeah, it's an incredible honor to have this much responsibility placed on you, but with power, comes great responsibility, or I forgot what the quote was.\n\n**MP:** Spider-Man quote. That's also the sudoers. First time you type sudo on a system, \"with great power comes great responsibility.\"\n\n**Megan:** Yeah. So I do feel that every time, like, somebody sends me a code change to approve, that that code change could definitely come back to page me if I don't put the necessary review into it. But it's also a super forgiving culture. We're always-- things do break, and also, having the great support that the SRE community has. We all know that we have so much responsibility placed on us, but we're also super collaborative, and it's always OK to escalate if you don't know the answer.\n\n**Tom:** I would definitely second that. Like, as soon as there's an incident in the office, the number of people that surround the computer. You walk past another team, and you can tell if there's an incident going on because there's suddenly eight people surrounding this one monitor, and like everyone's there to help each other.\n\nAnd as soon as we have a page in our team, everyone's on their computer looking at dashboards and sort of sharing. And it's super helpful for us as well, the person who's not on-call, because you get practice dealing with pages. But this collaborative thing is definitely-- it's been super rewarding.\n\n**Pamela:** I think that's definitely one of the highlights that drew me into saying yes to SRE, the whole aspect of this larger team that is going to stand behind you and help you, but not blame you if something goes wrong. Going through the SRE book, the whole culture of blameless postmortems, I think, really spoke out and resonated with this empathetic culture that exists in this side of engineering that I don't think I have seen in all the other aspects of my engineering career before.\n\n**Tom:** Yeah, the blameless postmortem culture is something that sounds great on paper, and then, you see it. I think it's really hard to trust until you see it in practice. And you see it over and over again that this is actually so deeply embedded in SRE culture at Google, I think, across all of suite culture at Google. I think it does probably come out of SRE. Until you see it reinforced over and over again, I think it takes a while to trust that there is this blameless culture.\n\n**Megan:** Yeah, exactly. I think the super good approach to it is to always blame the system, because if any one person could have taken down production, then it's the fault of the system, not that individual person. Maybe we need more safeguards in place. Maybe we need to review some of our production policies. But that way, you can make it so that this doesn't happen in the future, rather than placing the blame on any one person.\n\n**Tom:** I think you start to learn over time as well that it's not very productive blaming anyone. I trust everyone that I work with. I trust that they're not doing anything malicious, and I trust that they made the best decision that they could at the time, in the same way that they're going to trust that I made the best decision I could at the time. And so if you're blaming the people, there's no productive changes that are going to come out of that. Whereas, if you can find faults in the system that we can fix, these are concrete things that we can actually improve.\n\n**MP:** And even if it is faulty human decision-making, then take the human decision-making out of it.\n\n**Tom:** Oh, yeah. 100%. Humans are naturally faulty, right? At times, we all make mistakes. And hopefully, the system should be able to pick that up.\n\n**MP:** I'm curious about that having to-- Tom, you mentioned having to learn to trust in blameless postmortem culture. So I'm wondering if you have any other thoughts on that want to share.\n\n**Tom:** Yeah, I think, maybe it's coming out of uni, there's this real culture of individual work and getting grades, and you're getting assessed on everything you do. And so coming into an environment where it's-- project work is also true, but particularly on-call, it's this team effort to keep everything running and no one's there to like give you a grade on how well you're doing. Even if you're the single on-caller, it really is a group effort to keep everything running.\n\nAnd in a similar way, I think, with escalation paths, it takes a long time, or it took a while for me to trust that no one is going to blame you if you escalate or page someone. Geo actually has a dedicated incident response team that we can escalate to if we feel like we can't handle an incident, and no one is going to blame you if you escalate to them. That's what their rotation is there for. And I think it takes a long time though to trust that there is this like, blameless culture hand-in-hand with the escalation paths where no one is going to blame you if you escalate to them.\n\n**Megan:** Yeah, exactly. I believe the philosophy is always to not be afraid to escalate, escalate early. And no one's going to blame you if you don't know how to solve something. It's very collaborative.\n\n**Tom:** I think escalation is also one of the best ways to learn to deal with pages. You have someone that is far more experienced than you that you're then working with, and that is such a great way to learn how they deal with pages and become a better on-caller yourself as well.\n\n**MP:** Have either of you needed to make any adjustments outside of work to just accommodate the inherent stress of supporting live production systems?\n\n**Megan:** I would say not really. Google has a really great work-life balance. And I would say I do go out quite a bit, and I would say those days when I'm on-call, my shift is usually 11:00 AM to 11:00 PM, and those days when I'm on-call, I'm not able to go out quite as much, but I've learned to appreciate those days, even when they're on the weekends, because it gives me some time to force me to stay at home, relax, tend to a lot of my household chores and stuff like that.\n\n**Tom:** Yeah, I've found exercising is something I've picked up a lot more this year, and I found that has really helped. I think a mix of just general work stress. Google has excellent work-life balance, but at times, being on-call is obviously a little bit stressful, and I found exercise has really helped with that.\n\nThe forced downtime for being on-call I find helpful as well. Like, I can still go and do things in life and carry the laptop with me, but I just have to be a bit more calm on those days and not do anything too wild. That forced downtime I've found really helpful.\n\n**Pamela:** So this has been great. What are you both most looking forward to as you grow your SRE careers?\n\n**Megan:** I've been fortunate enough to work with some super talented and super tenured engineers on my team. It was a little bit daunting at first to learn that so many of my coworkers have been at Google like, 5 plus years, and to have so much ownership and so much knowledge on production. It is true that, as an SRE, there is a ton to learn, and it takes a lot of time to do that.\n\nBut I am really looking forward to all the learning that I have in the years ahead as an SRE at Google and just the incredible growth that can happen. I have many role models in my team members, and I look forward to learning from them. It's a great honor. And I look forward to filling their shoes someday.\n\n**Tom:** I would definitely echo the learning. The amount of learning I've done so far has just been crazy. You would think that you would learn less once you leave uni, but I have not found that to be the case. I'm definitely looking forward to that going forward.\n\nIn the nearer future, Geo is undergoing some system redesign stuff at the moment, and SRE is having a really big hand in that. And I'm really excited to work on that stuff, being able to shape the future of how our systems work. That sort of project work stuff I'm really excited for.\n\n**MP:** Well. thank you both for joining us. This has been great. It's been a pleasure to have both of you Thank you, Pam.\n\n**Pamela:** Thank you, MP.\n\n**Tom:** Yeah, thanks for having me.\n\n**Megan:** Thank you.\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 26876, "slov": 5048, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:08", "sha256": "a2eb0c6586762c350df30f994226389dd3e0d3c5d02403e00534a5a388644373", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01/", "titulek": "Google SRE - How to become a site reliability engineer?", "h1": "Life of An SRE with Tom Cranitch and Megan Yin", "popis": "How to become an SRE? Tom Cranitch and Megan Yin share insights on SRE careers, sre on-call challenges and tips to thrive in this dynamic, impactful role.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01"}, "headline": "Life of An SRE with Tom Cranitch and Megan Yin", "description": "How does one become an SRE? And what's the career like? In this episode, Tom and Megan discuss their path to SRE.", "image": "https://kstatic.googleusercontent.com/files/628ef6b1b6ac5105a07e63320a01702fe5d72a93b1f790772c691d634779dab1b04543e6c47b167f81e35585f8b132ab50a22c14f05810e2bcf4c60c0b0a59d9", "author": [{"@type": "Person", "name": "Tom Cranitch"}, {"@type": "Person", "name": "Megan Yin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Tom Cranitch and Megan Yin"}], "markdown": "# Life of An SRE with Tom Cranitch and Megan Yin\n\nHow does one become an SRE? And what's the career like? In this episode, Tom and Megan discuss their path to SRE.\n\n**MP:** Hello, and welcome to the very first episode of season 2 of the Google SRE podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP, back from season 1. And in this season, we will be exploring the life of an SRE. And to do so, we will be speaking with individual contributor SREs and members of SRE management from all across Google and all levels of tenure. If you are interested in becoming an SRE, growing your career as an SRE, or just want a little bit of a peek into [what makes SRE culture here at Google tick](https://sre.google/workbook/reaching-beyond/), this is going to be the season for you.\n\nAnd I do have one thing to touch on before we dive into our first interval. Viv, my co-host from the first season, has decided to jump in the world of responsible AI here at Google and is no longer with us in SRE. We are very grateful to her contributions to the podcast, and we wish her the absolute best of luck in her new role.\n\nIn light of that, and in keeping with our theme this season of trying to share as many voices as we can, I will be joined by five other SREs across the season as my co-hosts. So here for episode one is my very first co-host, who I am very excited to introduce. Go ahead.\n\n**Pamela:** Hello, world. Sorry, I've always wanted to do that. My name is Pamela Vong. I also go by Pam. And currently, I am a senior site reliability engineer in the Geo team.\n\nI have been at Google and been in SRE for almost 1 and 1/2 years now. So I'm still very fresh and new to all things SRE. But prior to joining Google and SRE, I have been mostly a software engineer for the past almost 15 years on a variety of all technologies, and feel a little embarrassed about not knowing what site reliability engineering even was two years ago from the time of this recording.\n\nAnd at that time, when I was learning about it, I wished that there was a podcast for me to listen to to get the gist of what this whole area of engineering is like, and what the people are like, and the culture is like, because I listen to a lot of tech podcasts. And I've been a huge fan. And that's how I usually get my news and information and how I learn about everything that I do.\n\nSo I was super excited in the beginning of 2022 when the podcast got released, and I binged listened to every episode, and was also equally excited to hear when MP was looking for volunteers for the season 2. So here I am. And thank you for having me.\n\n**MP:** So grateful to have you as both a listener and co-host. So for our first episode, we are going to be starting with some early career SREs here at Google and to hear that very fresh-eyed experience of SRE. So let's go ahead and have our guests introduce themselves.\n\n**Tom:** Hi, I'm Tom. I also work with Pam on the Geo team, but over here in Sydney, Australia. Nice and warm at the moment. I've been at Google for about 10 months so far. And I joined as a new grad.\n\n**Megan:** Hi, I'm Megan, and I, similar to Tom, also am about 10 months in to my career at Google. I joined out of college, and I'm working with MP on the Play SRE team as a software engineer.\n\n**MP:** Thank you both for joining us.\n\n**Pamela:** Megan, let's start with you. Could you tell us about your experience prior to joining Google?\n\n**Megan:** Yeah, for sure. So prior to joining Google, I was a student at Cornell University. I had done a couple of software engineering internships prior to joining Google. When I was in the interview rounds with Google, My recruiter did suggest SRE to me as a potential avenue to go down, and I, like you, was not very familiar with SRE at all.\n\nAnd I had done some reading. I think there's an SRE book out there for public consumption about SRE. And I was pretty interested in what SRE is. It's very different from my experience in software engineering. So I decided to pursue that. And ultimately, this was also how I ended up in the San Francisco office.\n\n**Pamela:** So, Tom, tell us a bit about your experience prior to joining Google.\n\n**Tom:** So I did my undergrad in math and computer science up in Brisbane at the University of Queensland. Through uni, I did some work at the Defense Science and Technology Group, which is the research division of the Department of Defense. I was doing full methods research there. I was looking at program safety.\n\nSo it was a bit of a change coming into SRE, I think, coming from a more like, formal research environment. I sort of got to the last year of my undergrad degree. I was going to do an honors year. For folks in America, I guess it's sort of like a master's. It's a transition we have to get into a PhD. And I decided in my last year that I wasn't keen to do another year of study, and so I started applying to places, and I got an offer from Google.\n\n**Pamela:** Did you know about what SRE was prior to applying to Google?\n\n**Tom:** Not really. I had a similar experience to both of you guys. I applied to a job at Fitbit, actually. There was a new Fitbit team in Sydney. My recruiter then asked me if I was happy for any job at Google.\n\nThe obvious answer to that was yes. So I went through the interview process, and I got to the end in Dream Team match. My recruiter floated the idea of SRE, and similar sort of experience, I looked into it more and I really liked the systems focus of it, the large-scale system design, particularly. I found that really interesting. I got an offer from the SRE team in Sydney, as well as JSRE, and after speaking to both of the managers, I just found the SRE work was more aligned with what I wanted to do in the long term.\n\n**Pamela:** Megan, how did you feel about SRE when you learned about it? And what made you choose SRE?\n\n**Megan:** I was pretty keen on choosing SRE because it's very different from software engineering. I really liked that SRE, you're exposed to a large surface area, versus a developer, you probably get really deep knowledge in maybe one binary. But as an SRE, you can kind of see like the whole forest, that is, in my case, the Play Store. Also, as an SRE, you're kind of solving different problems all the time, versus I thought that, as a developer, the work was very repetitive and that you're kind of doing design, build, test, repeat. And that was kind of what was interesting to me about SRE.\n\n**MP:** Was that design, build, test, repeat the experience you had during your internship?\n\n**Megan:** Yeah, I did have that experience through my internships. I kind of felt like I was just kind of like, building APIs, and kind of just going through the cycle of testing them. And that was also sort of what I experienced through my software engineering coursework in college.\n\n**Pamela:** What was it like for you both to transition from academics to your professional career? What's the most challenging thing you've had to come across?\n\n**Tom:** For me, the most challenging part, I think, was just like, the pure scale. Like uni work and the research work I did, it was not necessarily super well-scoped, but it was work that you could do sort of in the period of weeks or maybe a month or two and you could really get your head around things relatively quickly. A uni course was scoped to a semester, and in that time, you're meant to learn all the content, do the assessment, all that kind of stuff.\n\nAnd I found, joining Google, one of the first things my manager said to me was, I don't expect anything from you in the first six months. And universally, I think that experience is something that most people get at Google, just like, the pure scope of everything here and how long it takes to get your head around the systems that you work on. I think, particularly, in SRE, there's so many systems. Geo has something like hundreds of binaries, right?\n\nAnd then, also, the developer tooling and everything. Everything at Google is new, and just the amount of time it took me to get my head around it. I mean, I don't have my head around it still, but to get to the point where I had my head around it enough to be productive, that was really new for me.\n\n**Megan:** I just want to also echo what Tom said. A lot of it is just being able to thrive in ambiguity, which is like, a huge phrase that we use within SRE. Because SRE has such a large surface area, there is a lot of ambiguity in that, and there is a lot to learn. And just like what Tom said, the first six months is a lot of learning, versus, like, in college, six months, you're probably done with the whole course by then. So, yeah, transitioning to that and just being able to constantly learn while also still producing was a huge transition.\n\n**Pamela:** You've both had an interesting transition into your careers, also, for another reason. You came into Google during the time Google was returning to office. How did that impact your onboarding?\n\n**Megan:** I'm actually super grateful that I was able to onboard in the more return to office time. I definitely really appreciated being able to see my coworkers in the office and just being able to kind of like, go up to their desk and be kind of like, I'm running into this issue. Could you help me out with that? Through my internships, those were all pretty much virtual, and it's really great being with coworkers in the office, and especially when I was shadowing on-call, which is a huge part of the SRE role at Google. It was really great to see my coworkers triaging an incident in real-time and just be able to go up to their desk rather than having to set up a meeting to see how they were handling the problem.\n\n**Tom:** Yeah, I would definitely echo that. I joined a few months before RTO. RTO in Sydney was a little bit later than in the US. And coming into the office initially, it was kind of eerie, right? Like, there was no one around except for my team.\n\nI was quite lucky, I think, that my team was in the office. I really enjoy coming into the office. And just having those in-person interactions, I found so valuable. I think part of it as well is just like overhearing what other people are talking about. You get so much context from the conversations that people are having around you, I think.\n\nAnd definitely echo that, like, just being able to turn to someone and ask a question instead of having to try and perfectly word this message you're sending to them because you've met this person once online and you don't want them to take your message the wrong way and all that kind of stuff, just being able to like, turn to someone and ask a question. And then, if it turns into a bigger thing, you can just go to a meeting room and have the conversation. But not having to balance all these online interactions with people you don't really know, it's super valuable.\n\n**Megan:** Yeah, those magical hallway conversations are huge.\n\n**Pamela:** You've mentioned ramping up to go on-call. Megan, do you want to share what it's been like doing on-call versus the project work you get to see?\n\n**Megan:** Yeah, for sure. So like I said, being on-call is a huge part of being an SRE at Google. I've seen that we tend to budget a lot of time towards being on-call and following up with on-call.\n\nAnd I would say it took me about six months to get ramped up for that. I got ramped up for that by doing some practice exercises, and also, just shadowing and reverse shadowing. The difference there is that if I reverse shadow, I'm in the hot seat, and someone who's more experienced is there to support me. So, yeah, I was doing that for about six months, and just getting an understanding for the system and the critical flows.\n\nAnd part of what was really huge about that is learning which pages should you definitely jump for, for example, if they're revenue impacting, then those are probably things that you should probably escalate. And learning that it's OK to escalate and to involve other people was definitely a huge learning for me.\n\n**Tom:** Yeah, I had a similar sort of experience. We have a relatively quiet page off, for better or for worse. So for me, my ramp up was a bit faster. I got to the point where I was shadowing, and I was shadowing for a little bit, and we didn't get any pages, and my manager was sort of just like, you can go on-call.\n\nIt felt a little bit like being pushed in the deep end. But there's this safety net, which I think is hard to trust, but my manager, obviously being here a bit longer, knows that there's that safety net there, and it's like, it's safe to have someone with not heaps of experience being on-call because there's these escalation paths that were there to save you. But yeah, they may-- to ramp up for on-call, we did a lot of ticket work, so slow burn pages go into our ticket queue.\n\nAnd then, as a team, every week, we sit down and spend about an hour looking through them, and that was really helpful for getting me ready for on-call. Because we don't get a lot of pages, these are the closest things we have, a lot of the time, to real incidents. And they are-- it's a productive exercise as well because these are things that are affecting production. They're real slow burn alerts that need to be fixed by someone anyway. That was definitely super helpful for getting me on call.\n\n**MP:** For both of you, what was it like adjusting to the real-time aspect of having to be on-call for a production service? Because you think about academic work, or even normal software development work, you're not really in that position where five minutes, 10 minutes, 15 minutes, an hour really matters. But then, you're on-call for these large production systems, and those five minutes, 10 minutes can be really important. And I know, I've been supporting production systems for seven years now, like, I'm kind of desensitized to it. So what's that like for both of you, having to make that adjustment into urgent response?\n\n**Tom:** Yeah, I actually really enjoy it. We had SRE EDU. I did it, I think, in my third week or so. And there's these breakage scenarios, and there's this fake service, and things break, and you have to try and fix it. And I found it really enjoyable. And I've continued to find pages to be quite enjoyable.\n\nI think, partly, I enjoyed exams, which is the closest thing you have to these time pressure scenarios that you need. And I found that time pressure, I quite enjoy. So that aspect, I actually haven't hated.\n\nOne thing I do find a bit stressful is, for us, at least my experience has been that a lot of my pages are manual pages. So something has broken for someone in a service that is related to us, or something has broken in our service and we haven't been alerted, but some other team is experiencing pain because of one of our services. They turn to SRE as sort of like, production experts. That I found really scary.\n\nThere's this person who's waiting on you for their service, which is broken. And there's a pressure of someone waiting on you. I actually found that worse than these automatic pages where, even though the revenue impact there may be worse, and the user pain may be worse, the fact that you know that one of your colleagues is waiting on you to reply to them, I found that almost more scary. Particularly as a new grad, like, this person who is far more experienced most of the time is waiting on me with five months experience to sort of get them answers.\n\n**Megan:** Coming from my perspective, my team, I guess, has a little bit of a heavier on-call. We do get quite a few pages that are more revenue impacting. And I remember the first time I dealt with a revenue-impacting large outage was when I was reverse shadowing, actually, my tech lead.\n\nAnd that was incredibly nerve-wracking to me, to see so many people get involved, and also, be cognizant of the fact that Google was also losing money for every minute we were going through this. However, my tech lead said something very interesting to me. He said that SRE is for people who tend to run towards fires instead of away from them.\n\nAnd that is, I do feel, entirely true. And it's really one of the more rewarding aspects of this job, I would say, that real-time aspect. Like you said, MP, it's really interesting to see how these breakages kind of affect people, but also, know how you can triage them and fix them.\n\nAnother big learning for me was, like I mentioned before, just learning which pages and incidents are worth getting stressed over. And obviously, the ones that affect our critical flows, are revenue impacting, are definitely ones that you should be a little bit more stressed about, but more one-off pages for tasks that are dying, or something like that, you can maybe take your time with. And that is huge. And also, like I said, knowing that you can always escalate and people are always happy to get involved, especially if money is on the table.\n\n**MP:** I think one of the things that is fairly well known within SRE, but it's not really even spoken that much is how much authority is delegated to on-caller. And there's this really wild dynamic, that I'm sure both of you have started getting used to, that you can have managers and directors looking at you for guidance, for the answer, and you might have just been on the rotation for a few months at that point. And you have to respond to that. You have to move everyone forward and be that point person.\n\n**Tom:** I remember having this conversation. We had someone senior from the US come and visit us a few months ago. So I had been on-call for a month or two at that point. I remember having a very similar conversation with them.\n\nIt's scary. The whole company puts so much faith and trust in you as this person who has been at Google for like, five or six months that, like-- I don't know, Google Maps, right? We have however many users, and like, the whole service is relying-- I guess there's four.\n\nWe have four SRE shards. So there's four on-calls for Google Maps in SRE. Basically, the whole service is sort of resting on these four people.\n\nAnd your portion of that, the services you're on-call for, which are all super important, the whole company is trusting that you will keep them alive. If not, obviously, there's escalation paths and stuff, but I still find that shocking. It's just like, the amount of faith and trust everyone puts in SRE and on-callers in general.\n\n**Megan:** Yeah. I would say something I like to think about SRE is sort of like the guardians of Google production, is how I like to think about it. And, yeah, it's an incredible honor to have this much responsibility placed on you, but with power, comes great responsibility, or I forgot what the quote was.\n\n**MP:** Spider-Man quote. That's also the sudoers. First time you type sudo on a system, \"with great power comes great responsibility.\"\n\n**Megan:** Yeah. So I do feel that every time, like, somebody sends me a code change to approve, that that code change could definitely come back to page me if I don't put the necessary review into it. But it's also a super forgiving culture. We're always-- things do break, and also, having the great support that the SRE community has. We all know that we have so much responsibility placed on us, but we're also super collaborative, and it's always OK to escalate if you don't know the answer.\n\n**Tom:** I would definitely second that. Like, as soon as there's an incident in the office, the number of people that surround the computer. You walk past another team, and you can tell if there's an incident going on because there's suddenly eight people surrounding this one monitor, and like everyone's there to help each other.\n\nAnd as soon as we have a page in our team, everyone's on their computer looking at dashboards and sort of sharing. And it's super helpful for us as well, the person who's not on-call, because you get practice dealing with pages. But this collaborative thing is definitely-- it's been super rewarding.\n\n**Pamela:** I think that's definitely one of the highlights that drew me into saying yes to SRE, the whole aspect of this larger team that is going to stand behind you and help you, but not blame you if something goes wrong. Going through the SRE book, the whole culture of blameless postmortems, I think, really spoke out and resonated with this empathetic culture that exists in this side of engineering that I don't think I have seen in all the other aspects of my engineering career before.\n\n**Tom:** Yeah, the blameless postmortem culture is something that sounds great on paper, and then, you see it. I think it's really hard to trust until you see it in practice. And you see it over and over again that this is actually so deeply embedded in SRE culture at Google, I think, across all of suite culture at Google. I think it does probably come out of SRE. Until you see it reinforced over and over again, I think it takes a while to trust that there is this blameless culture.\n\n**Megan:** Yeah, exactly. I think the super good approach to it is to always blame the system, because if any one person could have taken down production, then it's the fault of the system, not that individual person. Maybe we need more safeguards in place. Maybe we need to review some of our production policies. But that way, you can make it so that this doesn't happen in the future, rather than placing the blame on any one person.\n\n**Tom:** I think you start to learn over time as well that it's not very productive blaming anyone. I trust everyone that I work with. I trust that they're not doing anything malicious, and I trust that they made the best decision that they could at the time, in the same way that they're going to trust that I made the best decision I could at the time. And so if you're blaming the people, there's no productive changes that are going to come out of that. Whereas, if you can find faults in the system that we can fix, these are concrete things that we can actually improve.\n\n**MP:** And even if it is faulty human decision-making, then take the human decision-making out of it.\n\n**Tom:** Oh, yeah. 100%. Humans are naturally faulty, right? At times, we all make mistakes. And hopefully, the system should be able to pick that up.\n\n**MP:** I'm curious about that having to-- Tom, you mentioned having to learn to trust in blameless postmortem culture. So I'm wondering if you have any other thoughts on that want to share.\n\n**Tom:** Yeah, I think, maybe it's coming out of uni, there's this real culture of individual work and getting grades, and you're getting assessed on everything you do. And so coming into an environment where it's-- project work is also true, but particularly on-call, it's this team effort to keep everything running and no one's there to like give you a grade on how well you're doing. Even if you're the single on-caller, it really is a group effort to keep everything running.\n\nAnd in a similar way, I think, with escalation paths, it takes a long time, or it took a while for me to trust that no one is going to blame you if you escalate or page someone. Geo actually has a dedicated incident response team that we can escalate to if we feel like we can't handle an incident, and no one is going to blame you if you escalate to them. That's what their rotation is there for. And I think it takes a long time though to trust that there is this like, blameless culture hand-in-hand with the escalation paths where no one is going to blame you if you escalate to them.\n\n**Megan:** Yeah, exactly. I believe the philosophy is always to not be afraid to escalate, escalate early. And no one's going to blame you if you don't know how to solve something. It's very collaborative.\n\n**Tom:** I think escalation is also one of the best ways to learn to deal with pages. You have someone that is far more experienced than you that you're then working with, and that is such a great way to learn how they deal with pages and become a better on-caller yourself as well.\n\n**MP:** Have either of you needed to make any adjustments outside of work to just accommodate the inherent stress of supporting live production systems?\n\n**Megan:** I would say not really. Google has a really great work-life balance. And I would say I do go out quite a bit, and I would say those days when I'm on-call, my shift is usually 11:00 AM to 11:00 PM, and those days when I'm on-call, I'm not able to go out quite as much, but I've learned to appreciate those days, even when they're on the weekends, because it gives me some time to force me to stay at home, relax, tend to a lot of my household chores and stuff like that.\n\n**Tom:** Yeah, I've found exercising is something I've picked up a lot more this year, and I found that has really helped. I think a mix of just general work stress. Google has excellent work-life balance, but at times, being on-call is obviously a little bit stressful, and I found exercise has really helped with that.\n\nThe forced downtime for being on-call I find helpful as well. Like, I can still go and do things in life and carry the laptop with me, but I just have to be a bit more calm on those days and not do anything too wild. That forced downtime I've found really helpful.\n\n**Pamela:** So this has been great. What are you both most looking forward to as you grow your SRE careers?\n\n**Megan:** I've been fortunate enough to work with some super talented and super tenured engineers on my team. It was a little bit daunting at first to learn that so many of my coworkers have been at Google like, 5 plus years, and to have so much ownership and so much knowledge on production. It is true that, as an SRE, there is a ton to learn, and it takes a lot of time to do that.\n\nBut I am really looking forward to all the learning that I have in the years ahead as an SRE at Google and just the incredible growth that can happen. I have many role models in my team members, and I look forward to learning from them. It's a great honor. And I look forward to filling their shoes someday.\n\n**Tom:** I would definitely echo the learning. The amount of learning I've done so far has just been crazy. You would think that you would learn less once you leave uni, but I have not found that to be the case. I'm definitely looking forward to that going forward.\n\nIn the nearer future, Geo is undergoing some system redesign stuff at the moment, and SRE is having a really big hand in that. And I'm really excited to work on that stuff, being able to shape the future of how our systems work. That sort of project work stuff I'm really excited for.\n\n**MP:** Well. thank you both for joining us. This has been great. It's been a pleasure to have both of you Thank you, Pam.\n\n**Pamela:** Thank you, MP.\n\n**Tom:** Yeah, thanks for having me.\n\n**Megan:** Thank you.\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 26876, "slov": 5048, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:28", "sha256": "a2eb0c6586762c350df30f994226389dd3e0d3c5d02403e00534a5a388644373", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02", "titulek": "Google SRE - Julian Alarcon on reliability engineer skills", "h1": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon", "popis": "SRE at Google: Mariuxi Vasconez and Julian Alarcon share their journey, developing key skills and what drives them to excel as site reliability engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02"}, "headline": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon", "description": "In this episode, Mariuxi and Julian discuss their paths to SRE: what drew them initially to SRE, and what motivates them to continue developing skills", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Mariuxi Vasconez"}, {"@type": "Person", "name": "Julian Alarcon"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon"}], "markdown": "# Life of An SRE with Mariuxi Vasconez and Julian Alarcon\n\nIn this episode, Mariuxi and Julian discuss their paths to SRE: what drew them initially to SRE, and what motivates them to continue developing skills\n\n[THEME MUSIC] [NON-ENGLISH SINGING]\n\n**MP:** Hello, and welcome to episode 2 of season 2 of the \"Google SRE Podcast\"-- or, as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me, again, as co-host is Pam.\n\n**PAM**: Hi, everyone. Thanks for having me back.\n\n**MP:** Glad to have you. Today, we are going to continue our conversation with earlier career SREs. And we have two more folks with us who have had a different track into SRE than our previous guests. And we're going to get to hear a little bit about their experience at Google and before Google today. So we're going to go ahead and let them introduce themselves.\n\n**MARIUXI:** Thank you, MP. My name is Mariuxi Vasconez. I am an SRE for the corporate [INAUDIBLE] team, which supports the core infrastructure here at Google. I've been at Google for about six years, and I've been an SRE close to two years.\n\n**JULIAN:** And I'm Julian Alarcon. I am a Chrome SRE on the Chrome team, working on the world's most popular browser. And I've been at Google for around three years and SRE at Google around a year.\n\n**PAM:** Welcome, Julian and Mari. So I know that you two share a common thread in how you got started here at Google. We have what used to be known as ITRP, now called ITCP program-- the IT Career Programs-- and that provides equitable, sustainable, and well-supported paths from operations to other in-demand, tech-plus Google roles. So would the two of you like to share? Julian, why don't you start how you began your path into SRE?\n\n**JULIAN:** Thank you, Pam. Basically, it was a weird path. Early on, I loved to break things, just via the computers. My dad, actually, had a little home office thing going on. And he would just have computers that were pretty cheap and I could break. So I used to work on them a lot. And moving into high school, I saw an opportunity within this program called Cisco Academy, which was working on networking and routers and switches. And a teacher really pushed me to take a chance and join the program that she was actually leading.\n\nAnd through that, I just loved networking. And I learned that I want to do something with architecting, or building systems, or working on large-scale systems in any type of way. I didn't understand what it meant. It just sounded cool, and it was one of the main jobs in this poster that we had set up in that Cisco Academy room. Then moving into college, I took a different route. Instead of computer engineering and computer science, I went to IT thinking that, hey, maybe I can create my own path with what I wanted to do I started with IT. I started getting involved in school with actual computer science stuff and all that.\n\nBut then towards junior year, trying to figure out, you know, what do I want to do? I went back to that thought I had about being an architect. And I started looking up, OK, what is an architect in tech? And I heard about this thing called DevOps, which was connecting engineers and the operations. And then I saw this thing called SRE, which sounded like DevOps, but it sounded a bit more cooler because it seemed like it came from Google. It was a philosophy of how to deal with production. Didn't really understand production.\n\nThen after a couple of classes, I realized in my IT degree, like, hey, production sounds cool. I want to be owner of production. And yeah, through that and my involvement with school through this honors society, I was able to get the opportunity to apply to the ITCP program. And just took my chance it-- like, hey, let's go to California. Let me go to a new state, meet new people, and see if I end up a SRE somehow. I didn't know there's an avenue to get into SRE. Yeah, I just took a chance.\n\nAnd I also worked as a systems engineer for six months in Kansas City. I just wanted to get out and just experience what it is to work in the industry. I did have an internship within the school, within the university, and within my high school, but they were all IT related and never had really touched production. But yeah, I took my chance. Spend six months working on production. I broke a hospital's imaging system-- the entire hospital's imaging system. I felt really bad about it. But it did help me moving into Google and knowing that, hey, I can break bigger things.\n\n**PAM:** Breaking things is fun, isn't it? It helps you learn. How did that lead into Google for you?\n\n**JULIAN:** I took a chance on, hey, I'm having this job for six months, and I'm really enjoying it. But Google-- this is an opportunity you usually don't get. And the opportunity to work at Google actually came as a surprise to me, just because I never thought I would get the job. Because I never thought, hey, Google was never in my mind. Even though when I was young, I loved Google. I loved the products. My dad-- big user. Big, big user and big fan. So I applied for the role. Somebody reached out to me and said, hey, just send your resume in. Don't worry about it. Just send your resume in.\n\nSo I worked on it and polished it. My first interview date, I actually forgot about it. And I was at the supermarket. And they called me-- hey, are you ready for the interview? And my heart sank because I was not ready. I was in the produce section looking at bananas. Yeah, I rescheduled that interview, got my GCP shirt on for the next interview, and just kind of explained my love for computers and my passion and that, hey, I like breaking things. I like learning. And I don't know-- I want to take the opportunity to work at Google and see what avenue of work there is for me. I can explore my skills.\n\nAnd yeah, somehow got the job. Still didn't understand it-- got a welcome package, like, hey, welcome to Google. Didn't believe it. I was like, OK, this is they're tricking me, you know. I'm going to get to California. And they're going to be like, hey, yeah, we sent that to the wrong person-- apologize. But yeah, got to Google after the six months at this other company. Started working on the ITRP program. There, I found out that there actually was an avenue to get to SRE.\n\nAnd the program actually allowed me to do some work with SRE if I wanted to. And seeing as my last role I worked in production, and I did break smaller stuff-- I heard SREs broke bigger stuff-- so it just made a smart transition. Hey, let me go to SRE just because it is what I want to do. It's in DevOps-- that type of operations and computer engineering. And yeah, I took a chance and started working on my way to be an SRE.\n\n**MARIUXI:** I started at Google as an IT intern back in 2015. And the natural transition for IT interns was the ITRP program for most recent graduates. So my experience in the ITRP program is that we were able to not only be exposed to the broader teams in Google, but also start learning more of troubleshooting skills, and learning the Google internal systems, et cetera.\n\nSo I think already there, I was already getting a little bit of IT SRE experience. Within the program at the time, we were able to also do our rotations. And there were a lot of teams-- SRE teams-- that used to recruit from the program. But at the moment, I wasn't familiar with SRE very much. I had some stereotypes that were talked about, about SRE.\n\nSo I was not looking into SRE at the moment. I created my own rotation at the time. I was interested on developing. During ITRP, I was able to also do fullstack certification. So I wanted to make sure that I was applying those skills that I was learning and paying for. So I made my rotation and went to work with a cloud team that was developing tools that help sales to keep track of their accounts and projects that they were working on with clients, et cetera.\n\nMy stereotype at the time for a SRE was that they were full-on software engineers. I was very intimidated about that thought because I did not see myself sitting and creating an entire database, very efficient, that supports millions of users. And the stereotype was also that mostly were men in that role with years of experience and expertise. And I was very early in my career, so I did not have that experience.\n\nSo I was kind of running away from it, but I was able to network with the right people here at Google. I was able to get to know a couple of SREs and have conversations of what they looked like. And getting to know the role-- getting to know the teams that are here in Google-- helped me to understand better and feel actually integrated and embraced, I would say, by the SRE org.\n\nThese are people that love to share what they know-- experts that will sit down with you and would explain your service, and how they made it more efficient, and how it is reliable. So I really like that knowledge-sharing. And I would say that was one of the first things that caught my eye from SRE.\n\n**PAM:** You mentioned already you went more into customer engineering out of the IT program because you had stereotypes that maybe SRE wasn't going to be a good fit.\n\n**MARIUXI:** Or I can continue if you want.\n\n**PAM:** Yeah, let's continue with your story.\n\n**MARIUXI:** So from ITRP going into my full-time role out of the rotational program, I landed a job with a customer engineer with Cloud. So there, we were helping small/medium businesses transition from whichever was their infrastructure, whether it was on premise or in another cloud provider, into Google Cloud. This helped me to better understand how startups or other medium businesses really planned their infrastructure and help them do that transition into GCP.\n\nThese already gave me a little bit of perspective into something that a lot of people talk in SRE, but it sounds like a very challenging thing to do, which is NALSD, the non-abstract large system design-- one of the biggest interviews, also from SRE So I believe that I had an advantage in that area because I was seeing so many companies, and I was helping them to translate whatever they had out there into GCP, and make sure that it's efficient, and make sure that it can support x amount of users that they have.\n\nSo when I was talking with other SRE colleagues that I had, we were exchanging these thoughts, et cetera. And at the moment, I felt like my role was more consultant because I was not able to touch the technology for the other companies because they were not part of Google yet. So there were a lot of liability risks there. So I felt like as early as I was in my career, I wanted to get more expertise with actually touching technologies, et cetera.\n\nSo I was able to create a small, 20% project time with an SRE team and work in a little project that was coding. But I was able to understand how SREs work on it. It's not actually, you know, the signing, creating services, but more like automating or, like a lot of SREs say, automating ourselves out of the job. So I was able to sit down on different meetings that really gave me perspective.\n\nBut I would say my way into a SRE was actually starting with that 20% networking with other SREs. And that's what made me want to be part and move into a SRE later on.\n\n**MP:** It's really kind of funny how it sounds like Julian ran towards SRE, and you did everything you could to run from SRE. But ultimately, you both still landed as SREs.\n\n**MARIUXI:** Exactly, yes.\n\n**MP:** I'm curious-- this question's for both of you. What was the biggest challenge? We can start with Mari, and then I'd like to hear from Julian as well. What was the biggest challenge in moving from your previous role into SRE?\n\n**MARIUXI:** Yes. For me, it was definitely the technology side of things, the coding interviews, and, of course, NALSD as well because thinking or talking about businesses that have already their infrastructure created and just moving into another provider is a little bit easy, in my words, to afterwards when I experienced NALSD.\n\nBecause I had to prepare-- and I don't even know how many mock interviews I did at the time-- to really understand the depth of a system and how there is engineers that sit down and calculate, you know, how many servers we're going to need to storage x amount of pictures or whatever it is. And then not only just thinking about that first idea, but, OK, how are we going to design the cache for this? How are we going to make this reliable if something goes down?\n\nLike, there is so much depth into it. And I met engineers that have been years within SRE, and they still don't consider themselves experts. So I think that's something challenging-- really understand the depth of the systems. And I would say the next thing for me was learning more about the technology because, unlike Julian, I graduated in information systems.\n\nAnd as a first generation going to school, I didn't have the privilege to take really technical classes, data structures, and all these things that would help me with my coding skills. So taking the time to learn those technologies took a while as well. But I was able to do it, thankfully, alongside teammates that were experts and would sit with me and explain me and help me to practice. So I would say that took some time of preparation on my end within Google as well-- extra hours from work. [LAUGHS]\n\n**JULIAN:** So the question is, what was the hardest challenge moving to SRE? How large an obstacle it is to become an SRE is massive. I mean, it's the amount of knowledge-- specifically NALSD, as Mari mentioned-- it's probably the biggest thing. Just system design in general. Most of the time, if you're an entry-level engineer-- if you're an entry-level person in tech-- you're not really familiar with an architecture of a system, right? And that was the hardest thing for me, just to understand what Spanner meant. What the intricacies of a large-scale distributed database-- just the idea of that was hard to do, right?\n\nAnd the only reason that I became an SRE was because somebody reached out to me and said, hey, there's a couple of people who are one year ahead of you that are training to start SRE interviews. And they're doing mocks. Do you want to join this group of people? So I'm like, yeah, let me join this group people. I want to learn what they're doing-- how they're doing mocks. And this is just when I started a couple of months in, so I had no idea what this design even meant. And I just started going to mocks and learning how they tackled system design, how they did coding interviews, just like Mari had mentioned.\n\nI had to spend my work from 9:00 PM to 5:00 PM and then from 5:00 PM to 10:00 PM, a whole year and a half, getting to that level where I felt ready to do mock interviews, let alone the actual interviews. But what we did is that group-- a little group of people-- we started talking about, hey, you're a year ahead of me. What are the things that challenged you most? And then we started just sharing some information. More people started joining. And we just started, every single week, interviewing each other, like mock interviews.\n\nEven if we didn't know how to do it, we would just mock each other, and mock each other. Just like Mari mentioned, I think I did over 100 mock interviews. I just wanted to be an SRE so badly that whatever work I had to put in, I did. And it took a lot out of me. I can definitely say that my mental health is affected. It was during the pandemic, so also do mocks while I'm dealing with all these other obstacles. So it really was probably the hardest obstacle in my life, to be honest with you, to become an SRE. But I had good people supporting me and people who converted into those roles.\n\nAnd I do want to throw this in, though. This group continued even after I converted. Then I helped others. And now, people in the same floor that I work with, two people are people that I mocked continuously and were able to convert from ITRP and ITCP over to SRE. It's so, so hard to get there, but I feel like a community helping each other, and quizzing each other, and challenging each other to be better can achieve anything.\n\n**PAM:** It sounds like you and Mari both had a pretty strong support network and people that were helping, mentoring, and helping grow your career towards SRE. What was the most helpful experience of the mentorship you've received?\n\n**MARIUXI:** I would say that the most helpful thing they shared with me, outside the technological parts-- their expertise and knowledge-- I would say they gave me confidence that it's OK not to be an expert on something. That it's OK to not know everything from a system because you have a team. That you can rely on your team. You're never going to be alone on call. You're never going to be blamed for any outages that you provoke.\n\nIt's so funny because the first time that I was on call, you know, I had double-checked everything that I had to do to help a team migrate from one of our data centers into another failover. And I had sit with the TL. I was like, OK, this is what we're going to do. Are these steps OK? He was like, yes, no worries. I'll be there. And I was in Dublin during this time, so he was in New York. I started at 7:00 AM. It was, like, 1:00 or 2:00 AM here in New York.\n\nBut I remember I went through the playbook because, of course, we have helpful documentation as well. And I started shutting down the different VMs because we were going to be failing them over. And then out of nowhere, I received a ping from, like, three people. And they're like, did you start the migration yet? And I was like, yes, I'm almost halfway through. And they're like, no, you needed to wait for us to give you a heads-up because we have to fully, gracefully shut down these machines, et cetera.\n\nBut this is not something that we didn't talk about with my TL. I guess that was not part of the playbook. So I quickly reached out. They were like, it's OK. For next time, this is what we have to do. Please update the documentation. Thankfully, nothing was lost. Everything was fine. But that was my first time being on call. And you know, even though it was like a rookie mistake, it was OK.\n\nI felt comfortable talking to people. They were OK. They didn't get mad at me. My teammate reached out as well. And I stayed through the rest of the migration just to make sure that nothing goes wrong and I don't feel pressured. So I feel like it's a supportive organization. And just knowing that I'm not by myself is a good feeling. And the best thing or best advice-- that reassurance, I would say, that they gave me.\n\n**PAM:** And a good learning opportunity as well, right? Because if you hadn't made the migration happen, no one would have noticed that there was something missing in this playbook to do that type of change safely. So never waste a good-- what's the saying, MP? Never waste a good outage?\n\n**MP:** I don't think I know that one.\n\n**MARIUXI:** We just made it then.\n\n[LAUGHTER]\n\n**MP:** Never waste a good opportunity for a postmortem?\n\n**PAM:** I guess, yeah.\n\n**MP:** I just like it that it's almost sort of a badge of honor as an SRE for how big the dollar value on the largest outage you've caused is. Because it happens. We can never be perfect. And we're always going to accidentally do the wrong thing here and there.\n\n**PAM:** And with the scale of Google, there's always a chance that something in the intricate systems is going to break and go wrong. And what is great is, as Mari was saying, no one blames the person. It's not any one person's fault. There's just too much complications in the system. And our job, as in Mari's example, is trying to make it clearer-- updating those playbooks.\n\n**MP:** Or even going so far as the next layer of, well, instead of having a human manually do that process, right, the tool that ensures you gracefully do everything and the human doesn't have to think about all of those intricacies. Yeah, but then your script's going to be out of date six months later. Then it breaks in a different way.\n\n**MARIUXI**: It's just automating ourselves out of shutting down machines.\n\n**PAM**: Exactly. So Julian, do you want to share a story about your experience with mentorship and getting into SRE?\n\n**JULIAN:** I want to go back to when I first looked at what SRE was coming into ITRP/ITCP. So here I am saying, hey, I want be an SRE somehow. I don't know how, but I want to get there. And I knew that I needed somebody in SRE to help me get there because there's a lot of stuff that I don't know. And the program, like Mari mentioned, there's a lot of avenues you can go to. You can go be a custom engineer. You can even do SWE work. You can do what we call COE work, which is more of on the IT side.\n\nSo I went and reached out to every Latinx SRE at Google I could find. And I just started looking at people and connecting people who are in our HOLA, which is our Latinx interest group inside of Google, and just started seeing people in SRE. And I found a couple of people. I met with them, and I told them straight up, hey, I need a mentor. I want to be an SRE somehow. I don't really see people who look like me in SRE. So that's why I'm reaching out to you, because you make me feel comfortable. And you can ask questions that I usually wouldn't ask somebody who I don't feel comfortable with.\n\nAnd one person within the Android SRE team went ahead and said, yeah, let's meet every single month. And it was such a-- it was a journey of meeting twice a month with this gentleman. His name is Guillermo Quezada. And just asking questions like had mentioned, what is locking mechanism? How do transactions get locked? How do systems work? How does Google work, you know? And it's a big question with a lot of answers, and it probably takes years to even understand, like, couple of things at Google work, and Google does, and how they do it.\n\nSo it was talking more about the theories, and what SRE thinks, and [INAUDIBLE] these postmortems. How to understand how SRE can help teams be better and create services that are more reliable. So all these things-- all these theories-- he just started tossing them at me and having me read things, research documents, design documents. And through that-- through him-- I really felt comfortable with what SRE was and telling myself that, yeah, this is what I want to do. This is pretty, pretty cool.\n\nAgain, I go back to breaking things. You can break bigger things. And yeah, and through him, I was able to eventually start mocking to the point where he gave me the mocks that he would ask interviewees outside of SRE, who would be more senior folks, and just quiz me at that level, you know, get me to the point. I had already been practicing in my group, so it's like you know you're at that level. So let me push you and just ask you next-level questions to see if you can come up with ideas with what we talked about. And because of his help, I can genuinely say that he gave me that reassurance and support to keep pushing forward and to ask interesting questions.\n\n**MP:** So something that we've heard from both of you today that I'm wondering if we could maybe highlight a little bit more-- or maybe, where's the room for improvement? Because you've both mentioned these particular experiences of not seeing people that looked like yourself in SRE, and that being a bit of a barrier to entry for you. And you both overcame it, but what do you think? What would be kind of our little, if we were to do a quick two-minute mini postmortem, what is something that we could do better in those dimensions to make sure that SRE is welcoming to all people?\n\n**MARIUXI:** I can start.\n\n**MP:** Yeah, go ahead. I know this is not an easy question, and I'm not expecting a 30-second solution to any of this at all. But I think it would be great to hear from both of you about, maybe, where there's room for improvement.\n\n**MARIUXI:** Definitely. And I speak not only from me, but I'm very passionate also about DEI. I think this is a great opportunity to help us show and create representation out there. I'm sure plenty of people can hear-- my accent is not fully English American. So yeah, this is a great outlet to start creating exposure for underrepresented groups at SRE. What's their story?\n\nBecause I think it's important to know, historically, that a lot of roles in tech have been fulfilled by privileged people that were able to come from households that had engineers-- had doctors-- that could guide them through these paths into SRE, into software engineering, whatever it could be. That's not the case of a lot of underrepresented groups-- a lot of immigrants that come to this country.\n\nSo there are programs like these. There are programs like ITRP. There are programs like Cloud Technical Residency or different residencies that Google offers-- not only Google, but other companies. It's just a matter of sharing and exposing that information. And I think that's not only the goal for Google, you know-- have information accessible for everyone.\n\nBut outlets like this one can also be shown to other potential SREs that want to join SRE at Google that may not come directly from university into SRE that are here in other roles. There is a way. Any technical role is just a matter of learning, practicing, and executing at the end.\n\nSo yeah, sharing these stories and letting people know that there are programs, and there are paths, and there is people that want to share that information and their knowledge with you is important. And little by little, we'll grow the representation at Google. The representation of what an SRE means-- who is an SRE-- and will hopefully bring in more people.\n\n**MP:** Julian, do you have something you'd like to add on that thought?\n\n**JULIAN:** I completely agree with Mari on everything. I did want to add, I think the biggest obstacle right now is just letting folks know that SRE isn't just your 20-year-plus experienced production engineer working on the backend service. People, they come from all walks of life. And for example, in campus events are events where you go and meet students or folks who might not be familiar with what an SRE looks like. And then, OK, take that image away and show them that, hey, we-- all types of people. Come to SRE with the goal of doing something completely different than the other.\n\nBut they all care about one thing, and that is making services reliable. SRE can also do a lot of things. So there's a lot of fun for anybody who is interested in tech and is techie and wants to, like, play with stuff and actually have impact on production systems. It's important to let people know that that's an avenue everybody is welcome in. So I've worked on this nonprofit which tries to incentivize minorities into tech. And we specifically focus on having workshops that teach students and folks who are wanting to get into the tech fields tech skills that might not be available through a school curriculum.\n\nAnd one thing that we do focus on is having events where we have these really big tech companies like Twitter, Meta, Amazon, and Google just come represent and be like, hey, these are engineers. And we really focus on having people who look like the students and people who are just your everyday walk of life. Like, I don't want you to walk around and be, like, hey, that person looks like an engineer. First of all, that's making assumptions.\n\nBut second of all, you never know. You never know who that person, that you've never would have imagined works in SRE, is a lead engineer who-- they are leading one of the biggest orgs inside of Google or a big tech company. And they're having massive impact, making sure that every time you load up a web page, it loads in less than 5 to 3 milliseconds. Yeah, keeping that-- taking that image away, I think, is key.\n\n**PAM:** Mari, when you landed in SRE? How did you go about finding a mentor and get comfortable in the role?\n\n**MARIUXI:** Yeah, that's a good question because I did have mentors that were SREs, but they were not SREs in my team. And of course, as we were talking before, Google is very complex plenty of service, and there is plenty of people working in one service. So actually, for my team, we support different services. So it can get a bit complex.\n\nBut when I started, Google does this thing that is called SRE EDU. So all the SREs that start at Google have a week-long training on production systems, being on call, being on dashboards, and whatsoever. So during that time, I started with someone that started in my team as well. Of course, there is a difference between looking at production services and the core ones that we run, because they run completely adjacent from the production ones.\n\nAnd so as part of being in the core virtualization world, we use our own servers. We work on the virtualization for the servers. And we provide the products to internal teams within Google. So one of the reasons why I went into this team to start with is because I wanted to learn virtualisation from scratch. I was working with Cloud. I understood what a compute engine, was what a VM is, et cetera.\n\nBut I never saw it and thought, you know, what workflows run that make these virtual machines, et cetera. So that's something that attracted me to this team. And so when I joined, I saw that we work with third-party technologies, like VMware, like NetUP to provide storage, [INAUDIBLE] which is an outsource technology that we have to create virtual machines and run them, et cetera.\n\nBut these are things that I heard about, never really seen. So actually, my teammate he had, like, 10 years of experience with working with VMware. And you know, we had to start getting ready and trained to be on call-- on duty for these technologies. And I was very new. I just passed interviews. I got into the role. So I really needed to learn more of, like, hey, what's VMware? How am I going to support this?\n\nSo I literally reached out. I'm very outspoken, in a way, or not shy in that regard. I like to ask questions. If I'm not familiar with something, like, let's talk about it. Let me learn of it. Let me read about it. So I sat down one day during a one-on-one that we had. And I said, hey-- and shout out to Marko Zagar, my teammate-- I was like, hey, Marko, I know you come from working with VMware for 10-plus years.\n\nCan you please like have one-on-ones with me where we talk about VMware, where you can explain to me, maybe, concepts that I don't understand from the onboarding documents and playbooks that we have? So he happily sat down with me during a lot of months to talk to me and walk me through VMware-- also had experience with NetUP. Marko is just awesome. So any questions now that I have after two years, you know-- because I'm still learning and you'll never stop learning at Google or in any technology field-- I feel comfortable to just reach out to him and have him explain abstract things, or concepts that I really don't understand, or create some confusion to me.\n\nSo that's how I created that mentorship, which it wasn't like, hey, Marko, be my mentor. It was, hey, Marko you really know about this. Can you please help me understand this? And now it's just, yeah, a relationship that organically developed into a mentorship. I see him as my mentor and trust his judgment to give me advice in any project or any decision for the team. So that's how that developed.\n\n**PAM:** I just wanted to highlight that Marko is from a different background than you, Mari. So your mentors don't have to necessarily look like you, as long as you're willing to reach out and find them.\n\n**MARIUXI:** Definitely. Definitely. And I think even our personalities are very different. He helps me with a lot of technical stuff. And I'm happy to help with things that maybe he's not very comfortable with, like we're working on a project, so I'm happy to help more in the project management side of things, or tracking, or planning customer meetings, or gathering requirements that we need from the customers that we support.\n\nSo I'm happy to help out with those things and then also chime in with the technical part of things. So it's a good, balanced work relationship.\n\n**MP:** So thank you, both, so much for your time today sharing your experiences and your insight. Pam, did you have anything you wanted to say before we closed out?\n\n**PAM:** I don't know. Do I? [LAUGHS] Well, thank you both for joining. You've been great. And they're both such inspiring stories. And I'm glad we can share it with the world.\n\n**MARIUXI:** Thank you so much. And I encourage anyone that's looking into SRE, or the name has ever ringed their ear, to just look more into it. Talk with people that are in SRE. Reach out-- it's a very inclusive organization. And I couldn't be more happy to be part of it. And I'm sad that I ran away from it for so long.\n\n**MP:** Thank you so much. Take care.\n\n**PAM:** Cheers.\n\n**[THEME MUSIC]**\n\n**[NON-ENGLISH SINGING]**\n\n**VOICEOVER**: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 32979, "slov": 6130, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:06", "sha256": "3a22a2ccae907f10f5829e395d29c3b0b580ae9969caa3bb8818f80b79144d8b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02/", "titulek": "Google SRE - Julian Alarcon on reliability engineer skills", "h1": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon", "popis": "SRE at Google: Mariuxi Vasconez and Julian Alarcon share their journey, developing key skills and what drives them to excel as site reliability engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02"}, "headline": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon", "description": "In this episode, Mariuxi and Julian discuss their paths to SRE: what drew them initially to SRE, and what motivates them to continue developing skills", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Mariuxi Vasconez"}, {"@type": "Person", "name": "Julian Alarcon"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Mariuxi Vasconez and Julian Alarcon"}], "markdown": "# Life of An SRE with Mariuxi Vasconez and Julian Alarcon\n\nIn this episode, Mariuxi and Julian discuss their paths to SRE: what drew them initially to SRE, and what motivates them to continue developing skills\n\n[THEME MUSIC] [NON-ENGLISH SINGING]\n\n**MP:** Hello, and welcome to episode 2 of season 2 of the \"Google SRE Podcast\"-- or, as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me, again, as co-host is Pam.\n\n**PAM**: Hi, everyone. Thanks for having me back.\n\n**MP:** Glad to have you. Today, we are going to continue our conversation with earlier career SREs. And we have two more folks with us who have had a different track into SRE than our previous guests. And we're going to get to hear a little bit about their experience at Google and before Google today. So we're going to go ahead and let them introduce themselves.\n\n**MARIUXI:** Thank you, MP. My name is Mariuxi Vasconez. I am an SRE for the corporate [INAUDIBLE] team, which supports the core infrastructure here at Google. I've been at Google for about six years, and I've been an SRE close to two years.\n\n**JULIAN:** And I'm Julian Alarcon. I am a Chrome SRE on the Chrome team, working on the world's most popular browser. And I've been at Google for around three years and SRE at Google around a year.\n\n**PAM:** Welcome, Julian and Mari. So I know that you two share a common thread in how you got started here at Google. We have what used to be known as ITRP, now called ITCP program-- the IT Career Programs-- and that provides equitable, sustainable, and well-supported paths from operations to other in-demand, tech-plus Google roles. So would the two of you like to share? Julian, why don't you start how you began your path into SRE?\n\n**JULIAN:** Thank you, Pam. Basically, it was a weird path. Early on, I loved to break things, just via the computers. My dad, actually, had a little home office thing going on. And he would just have computers that were pretty cheap and I could break. So I used to work on them a lot. And moving into high school, I saw an opportunity within this program called Cisco Academy, which was working on networking and routers and switches. And a teacher really pushed me to take a chance and join the program that she was actually leading.\n\nAnd through that, I just loved networking. And I learned that I want to do something with architecting, or building systems, or working on large-scale systems in any type of way. I didn't understand what it meant. It just sounded cool, and it was one of the main jobs in this poster that we had set up in that Cisco Academy room. Then moving into college, I took a different route. Instead of computer engineering and computer science, I went to IT thinking that, hey, maybe I can create my own path with what I wanted to do I started with IT. I started getting involved in school with actual computer science stuff and all that.\n\nBut then towards junior year, trying to figure out, you know, what do I want to do? I went back to that thought I had about being an architect. And I started looking up, OK, what is an architect in tech? And I heard about this thing called DevOps, which was connecting engineers and the operations. And then I saw this thing called SRE, which sounded like DevOps, but it sounded a bit more cooler because it seemed like it came from Google. It was a philosophy of how to deal with production. Didn't really understand production.\n\nThen after a couple of classes, I realized in my IT degree, like, hey, production sounds cool. I want to be owner of production. And yeah, through that and my involvement with school through this honors society, I was able to get the opportunity to apply to the ITCP program. And just took my chance it-- like, hey, let's go to California. Let me go to a new state, meet new people, and see if I end up a SRE somehow. I didn't know there's an avenue to get into SRE. Yeah, I just took a chance.\n\nAnd I also worked as a systems engineer for six months in Kansas City. I just wanted to get out and just experience what it is to work in the industry. I did have an internship within the school, within the university, and within my high school, but they were all IT related and never had really touched production. But yeah, I took my chance. Spend six months working on production. I broke a hospital's imaging system-- the entire hospital's imaging system. I felt really bad about it. But it did help me moving into Google and knowing that, hey, I can break bigger things.\n\n**PAM:** Breaking things is fun, isn't it? It helps you learn. How did that lead into Google for you?\n\n**JULIAN:** I took a chance on, hey, I'm having this job for six months, and I'm really enjoying it. But Google-- this is an opportunity you usually don't get. And the opportunity to work at Google actually came as a surprise to me, just because I never thought I would get the job. Because I never thought, hey, Google was never in my mind. Even though when I was young, I loved Google. I loved the products. My dad-- big user. Big, big user and big fan. So I applied for the role. Somebody reached out to me and said, hey, just send your resume in. Don't worry about it. Just send your resume in.\n\nSo I worked on it and polished it. My first interview date, I actually forgot about it. And I was at the supermarket. And they called me-- hey, are you ready for the interview? And my heart sank because I was not ready. I was in the produce section looking at bananas. Yeah, I rescheduled that interview, got my GCP shirt on for the next interview, and just kind of explained my love for computers and my passion and that, hey, I like breaking things. I like learning. And I don't know-- I want to take the opportunity to work at Google and see what avenue of work there is for me. I can explore my skills.\n\nAnd yeah, somehow got the job. Still didn't understand it-- got a welcome package, like, hey, welcome to Google. Didn't believe it. I was like, OK, this is they're tricking me, you know. I'm going to get to California. And they're going to be like, hey, yeah, we sent that to the wrong person-- apologize. But yeah, got to Google after the six months at this other company. Started working on the ITRP program. There, I found out that there actually was an avenue to get to SRE.\n\nAnd the program actually allowed me to do some work with SRE if I wanted to. And seeing as my last role I worked in production, and I did break smaller stuff-- I heard SREs broke bigger stuff-- so it just made a smart transition. Hey, let me go to SRE just because it is what I want to do. It's in DevOps-- that type of operations and computer engineering. And yeah, I took a chance and started working on my way to be an SRE.\n\n**MARIUXI:** I started at Google as an IT intern back in 2015. And the natural transition for IT interns was the ITRP program for most recent graduates. So my experience in the ITRP program is that we were able to not only be exposed to the broader teams in Google, but also start learning more of troubleshooting skills, and learning the Google internal systems, et cetera.\n\nSo I think already there, I was already getting a little bit of IT SRE experience. Within the program at the time, we were able to also do our rotations. And there were a lot of teams-- SRE teams-- that used to recruit from the program. But at the moment, I wasn't familiar with SRE very much. I had some stereotypes that were talked about, about SRE.\n\nSo I was not looking into SRE at the moment. I created my own rotation at the time. I was interested on developing. During ITRP, I was able to also do fullstack certification. So I wanted to make sure that I was applying those skills that I was learning and paying for. So I made my rotation and went to work with a cloud team that was developing tools that help sales to keep track of their accounts and projects that they were working on with clients, et cetera.\n\nMy stereotype at the time for a SRE was that they were full-on software engineers. I was very intimidated about that thought because I did not see myself sitting and creating an entire database, very efficient, that supports millions of users. And the stereotype was also that mostly were men in that role with years of experience and expertise. And I was very early in my career, so I did not have that experience.\n\nSo I was kind of running away from it, but I was able to network with the right people here at Google. I was able to get to know a couple of SREs and have conversations of what they looked like. And getting to know the role-- getting to know the teams that are here in Google-- helped me to understand better and feel actually integrated and embraced, I would say, by the SRE org.\n\nThese are people that love to share what they know-- experts that will sit down with you and would explain your service, and how they made it more efficient, and how it is reliable. So I really like that knowledge-sharing. And I would say that was one of the first things that caught my eye from SRE.\n\n**PAM:** You mentioned already you went more into customer engineering out of the IT program because you had stereotypes that maybe SRE wasn't going to be a good fit.\n\n**MARIUXI:** Or I can continue if you want.\n\n**PAM:** Yeah, let's continue with your story.\n\n**MARIUXI:** So from ITRP going into my full-time role out of the rotational program, I landed a job with a customer engineer with Cloud. So there, we were helping small/medium businesses transition from whichever was their infrastructure, whether it was on premise or in another cloud provider, into Google Cloud. This helped me to better understand how startups or other medium businesses really planned their infrastructure and help them do that transition into GCP.\n\nThese already gave me a little bit of perspective into something that a lot of people talk in SRE, but it sounds like a very challenging thing to do, which is NALSD, the non-abstract large system design-- one of the biggest interviews, also from SRE So I believe that I had an advantage in that area because I was seeing so many companies, and I was helping them to translate whatever they had out there into GCP, and make sure that it's efficient, and make sure that it can support x amount of users that they have.\n\nSo when I was talking with other SRE colleagues that I had, we were exchanging these thoughts, et cetera. And at the moment, I felt like my role was more consultant because I was not able to touch the technology for the other companies because they were not part of Google yet. So there were a lot of liability risks there. So I felt like as early as I was in my career, I wanted to get more expertise with actually touching technologies, et cetera.\n\nSo I was able to create a small, 20% project time with an SRE team and work in a little project that was coding. But I was able to understand how SREs work on it. It's not actually, you know, the signing, creating services, but more like automating or, like a lot of SREs say, automating ourselves out of the job. So I was able to sit down on different meetings that really gave me perspective.\n\nBut I would say my way into a SRE was actually starting with that 20% networking with other SREs. And that's what made me want to be part and move into a SRE later on.\n\n**MP:** It's really kind of funny how it sounds like Julian ran towards SRE, and you did everything you could to run from SRE. But ultimately, you both still landed as SREs.\n\n**MARIUXI:** Exactly, yes.\n\n**MP:** I'm curious-- this question's for both of you. What was the biggest challenge? We can start with Mari, and then I'd like to hear from Julian as well. What was the biggest challenge in moving from your previous role into SRE?\n\n**MARIUXI:** Yes. For me, it was definitely the technology side of things, the coding interviews, and, of course, NALSD as well because thinking or talking about businesses that have already their infrastructure created and just moving into another provider is a little bit easy, in my words, to afterwards when I experienced NALSD.\n\nBecause I had to prepare-- and I don't even know how many mock interviews I did at the time-- to really understand the depth of a system and how there is engineers that sit down and calculate, you know, how many servers we're going to need to storage x amount of pictures or whatever it is. And then not only just thinking about that first idea, but, OK, how are we going to design the cache for this? How are we going to make this reliable if something goes down?\n\nLike, there is so much depth into it. And I met engineers that have been years within SRE, and they still don't consider themselves experts. So I think that's something challenging-- really understand the depth of the systems. And I would say the next thing for me was learning more about the technology because, unlike Julian, I graduated in information systems.\n\nAnd as a first generation going to school, I didn't have the privilege to take really technical classes, data structures, and all these things that would help me with my coding skills. So taking the time to learn those technologies took a while as well. But I was able to do it, thankfully, alongside teammates that were experts and would sit with me and explain me and help me to practice. So I would say that took some time of preparation on my end within Google as well-- extra hours from work. [LAUGHS]\n\n**JULIAN:** So the question is, what was the hardest challenge moving to SRE? How large an obstacle it is to become an SRE is massive. I mean, it's the amount of knowledge-- specifically NALSD, as Mari mentioned-- it's probably the biggest thing. Just system design in general. Most of the time, if you're an entry-level engineer-- if you're an entry-level person in tech-- you're not really familiar with an architecture of a system, right? And that was the hardest thing for me, just to understand what Spanner meant. What the intricacies of a large-scale distributed database-- just the idea of that was hard to do, right?\n\nAnd the only reason that I became an SRE was because somebody reached out to me and said, hey, there's a couple of people who are one year ahead of you that are training to start SRE interviews. And they're doing mocks. Do you want to join this group of people? So I'm like, yeah, let me join this group people. I want to learn what they're doing-- how they're doing mocks. And this is just when I started a couple of months in, so I had no idea what this design even meant. And I just started going to mocks and learning how they tackled system design, how they did coding interviews, just like Mari had mentioned.\n\nI had to spend my work from 9:00 PM to 5:00 PM and then from 5:00 PM to 10:00 PM, a whole year and a half, getting to that level where I felt ready to do mock interviews, let alone the actual interviews. But what we did is that group-- a little group of people-- we started talking about, hey, you're a year ahead of me. What are the things that challenged you most? And then we started just sharing some information. More people started joining. And we just started, every single week, interviewing each other, like mock interviews.\n\nEven if we didn't know how to do it, we would just mock each other, and mock each other. Just like Mari mentioned, I think I did over 100 mock interviews. I just wanted to be an SRE so badly that whatever work I had to put in, I did. And it took a lot out of me. I can definitely say that my mental health is affected. It was during the pandemic, so also do mocks while I'm dealing with all these other obstacles. So it really was probably the hardest obstacle in my life, to be honest with you, to become an SRE. But I had good people supporting me and people who converted into those roles.\n\nAnd I do want to throw this in, though. This group continued even after I converted. Then I helped others. And now, people in the same floor that I work with, two people are people that I mocked continuously and were able to convert from ITRP and ITCP over to SRE. It's so, so hard to get there, but I feel like a community helping each other, and quizzing each other, and challenging each other to be better can achieve anything.\n\n**PAM:** It sounds like you and Mari both had a pretty strong support network and people that were helping, mentoring, and helping grow your career towards SRE. What was the most helpful experience of the mentorship you've received?\n\n**MARIUXI:** I would say that the most helpful thing they shared with me, outside the technological parts-- their expertise and knowledge-- I would say they gave me confidence that it's OK not to be an expert on something. That it's OK to not know everything from a system because you have a team. That you can rely on your team. You're never going to be alone on call. You're never going to be blamed for any outages that you provoke.\n\nIt's so funny because the first time that I was on call, you know, I had double-checked everything that I had to do to help a team migrate from one of our data centers into another failover. And I had sit with the TL. I was like, OK, this is what we're going to do. Are these steps OK? He was like, yes, no worries. I'll be there. And I was in Dublin during this time, so he was in New York. I started at 7:00 AM. It was, like, 1:00 or 2:00 AM here in New York.\n\nBut I remember I went through the playbook because, of course, we have helpful documentation as well. And I started shutting down the different VMs because we were going to be failing them over. And then out of nowhere, I received a ping from, like, three people. And they're like, did you start the migration yet? And I was like, yes, I'm almost halfway through. And they're like, no, you needed to wait for us to give you a heads-up because we have to fully, gracefully shut down these machines, et cetera.\n\nBut this is not something that we didn't talk about with my TL. I guess that was not part of the playbook. So I quickly reached out. They were like, it's OK. For next time, this is what we have to do. Please update the documentation. Thankfully, nothing was lost. Everything was fine. But that was my first time being on call. And you know, even though it was like a rookie mistake, it was OK.\n\nI felt comfortable talking to people. They were OK. They didn't get mad at me. My teammate reached out as well. And I stayed through the rest of the migration just to make sure that nothing goes wrong and I don't feel pressured. So I feel like it's a supportive organization. And just knowing that I'm not by myself is a good feeling. And the best thing or best advice-- that reassurance, I would say, that they gave me.\n\n**PAM:** And a good learning opportunity as well, right? Because if you hadn't made the migration happen, no one would have noticed that there was something missing in this playbook to do that type of change safely. So never waste a good-- what's the saying, MP? Never waste a good outage?\n\n**MP:** I don't think I know that one.\n\n**MARIUXI:** We just made it then.\n\n[LAUGHTER]\n\n**MP:** Never waste a good opportunity for a postmortem?\n\n**PAM:** I guess, yeah.\n\n**MP:** I just like it that it's almost sort of a badge of honor as an SRE for how big the dollar value on the largest outage you've caused is. Because it happens. We can never be perfect. And we're always going to accidentally do the wrong thing here and there.\n\n**PAM:** And with the scale of Google, there's always a chance that something in the intricate systems is going to break and go wrong. And what is great is, as Mari was saying, no one blames the person. It's not any one person's fault. There's just too much complications in the system. And our job, as in Mari's example, is trying to make it clearer-- updating those playbooks.\n\n**MP:** Or even going so far as the next layer of, well, instead of having a human manually do that process, right, the tool that ensures you gracefully do everything and the human doesn't have to think about all of those intricacies. Yeah, but then your script's going to be out of date six months later. Then it breaks in a different way.\n\n**MARIUXI**: It's just automating ourselves out of shutting down machines.\n\n**PAM**: Exactly. So Julian, do you want to share a story about your experience with mentorship and getting into SRE?\n\n**JULIAN:** I want to go back to when I first looked at what SRE was coming into ITRP/ITCP. So here I am saying, hey, I want be an SRE somehow. I don't know how, but I want to get there. And I knew that I needed somebody in SRE to help me get there because there's a lot of stuff that I don't know. And the program, like Mari mentioned, there's a lot of avenues you can go to. You can go be a custom engineer. You can even do SWE work. You can do what we call COE work, which is more of on the IT side.\n\nSo I went and reached out to every Latinx SRE at Google I could find. And I just started looking at people and connecting people who are in our HOLA, which is our Latinx interest group inside of Google, and just started seeing people in SRE. And I found a couple of people. I met with them, and I told them straight up, hey, I need a mentor. I want to be an SRE somehow. I don't really see people who look like me in SRE. So that's why I'm reaching out to you, because you make me feel comfortable. And you can ask questions that I usually wouldn't ask somebody who I don't feel comfortable with.\n\nAnd one person within the Android SRE team went ahead and said, yeah, let's meet every single month. And it was such a-- it was a journey of meeting twice a month with this gentleman. His name is Guillermo Quezada. And just asking questions like had mentioned, what is locking mechanism? How do transactions get locked? How do systems work? How does Google work, you know? And it's a big question with a lot of answers, and it probably takes years to even understand, like, couple of things at Google work, and Google does, and how they do it.\n\nSo it was talking more about the theories, and what SRE thinks, and [INAUDIBLE] these postmortems. How to understand how SRE can help teams be better and create services that are more reliable. So all these things-- all these theories-- he just started tossing them at me and having me read things, research documents, design documents. And through that-- through him-- I really felt comfortable with what SRE was and telling myself that, yeah, this is what I want to do. This is pretty, pretty cool.\n\nAgain, I go back to breaking things. You can break bigger things. And yeah, and through him, I was able to eventually start mocking to the point where he gave me the mocks that he would ask interviewees outside of SRE, who would be more senior folks, and just quiz me at that level, you know, get me to the point. I had already been practicing in my group, so it's like you know you're at that level. So let me push you and just ask you next-level questions to see if you can come up with ideas with what we talked about. And because of his help, I can genuinely say that he gave me that reassurance and support to keep pushing forward and to ask interesting questions.\n\n**MP:** So something that we've heard from both of you today that I'm wondering if we could maybe highlight a little bit more-- or maybe, where's the room for improvement? Because you've both mentioned these particular experiences of not seeing people that looked like yourself in SRE, and that being a bit of a barrier to entry for you. And you both overcame it, but what do you think? What would be kind of our little, if we were to do a quick two-minute mini postmortem, what is something that we could do better in those dimensions to make sure that SRE is welcoming to all people?\n\n**MARIUXI:** I can start.\n\n**MP:** Yeah, go ahead. I know this is not an easy question, and I'm not expecting a 30-second solution to any of this at all. But I think it would be great to hear from both of you about, maybe, where there's room for improvement.\n\n**MARIUXI:** Definitely. And I speak not only from me, but I'm very passionate also about DEI. I think this is a great opportunity to help us show and create representation out there. I'm sure plenty of people can hear-- my accent is not fully English American. So yeah, this is a great outlet to start creating exposure for underrepresented groups at SRE. What's their story?\n\nBecause I think it's important to know, historically, that a lot of roles in tech have been fulfilled by privileged people that were able to come from households that had engineers-- had doctors-- that could guide them through these paths into SRE, into software engineering, whatever it could be. That's not the case of a lot of underrepresented groups-- a lot of immigrants that come to this country.\n\nSo there are programs like these. There are programs like ITRP. There are programs like Cloud Technical Residency or different residencies that Google offers-- not only Google, but other companies. It's just a matter of sharing and exposing that information. And I think that's not only the goal for Google, you know-- have information accessible for everyone.\n\nBut outlets like this one can also be shown to other potential SREs that want to join SRE at Google that may not come directly from university into SRE that are here in other roles. There is a way. Any technical role is just a matter of learning, practicing, and executing at the end.\n\nSo yeah, sharing these stories and letting people know that there are programs, and there are paths, and there is people that want to share that information and their knowledge with you is important. And little by little, we'll grow the representation at Google. The representation of what an SRE means-- who is an SRE-- and will hopefully bring in more people.\n\n**MP:** Julian, do you have something you'd like to add on that thought?\n\n**JULIAN:** I completely agree with Mari on everything. I did want to add, I think the biggest obstacle right now is just letting folks know that SRE isn't just your 20-year-plus experienced production engineer working on the backend service. People, they come from all walks of life. And for example, in campus events are events where you go and meet students or folks who might not be familiar with what an SRE looks like. And then, OK, take that image away and show them that, hey, we-- all types of people. Come to SRE with the goal of doing something completely different than the other.\n\nBut they all care about one thing, and that is making services reliable. SRE can also do a lot of things. So there's a lot of fun for anybody who is interested in tech and is techie and wants to, like, play with stuff and actually have impact on production systems. It's important to let people know that that's an avenue everybody is welcome in. So I've worked on this nonprofit which tries to incentivize minorities into tech. And we specifically focus on having workshops that teach students and folks who are wanting to get into the tech fields tech skills that might not be available through a school curriculum.\n\nAnd one thing that we do focus on is having events where we have these really big tech companies like Twitter, Meta, Amazon, and Google just come represent and be like, hey, these are engineers. And we really focus on having people who look like the students and people who are just your everyday walk of life. Like, I don't want you to walk around and be, like, hey, that person looks like an engineer. First of all, that's making assumptions.\n\nBut second of all, you never know. You never know who that person, that you've never would have imagined works in SRE, is a lead engineer who-- they are leading one of the biggest orgs inside of Google or a big tech company. And they're having massive impact, making sure that every time you load up a web page, it loads in less than 5 to 3 milliseconds. Yeah, keeping that-- taking that image away, I think, is key.\n\n**PAM:** Mari, when you landed in SRE? How did you go about finding a mentor and get comfortable in the role?\n\n**MARIUXI:** Yeah, that's a good question because I did have mentors that were SREs, but they were not SREs in my team. And of course, as we were talking before, Google is very complex plenty of service, and there is plenty of people working in one service. So actually, for my team, we support different services. So it can get a bit complex.\n\nBut when I started, Google does this thing that is called SRE EDU. So all the SREs that start at Google have a week-long training on production systems, being on call, being on dashboards, and whatsoever. So during that time, I started with someone that started in my team as well. Of course, there is a difference between looking at production services and the core ones that we run, because they run completely adjacent from the production ones.\n\nAnd so as part of being in the core virtualization world, we use our own servers. We work on the virtualization for the servers. And we provide the products to internal teams within Google. So one of the reasons why I went into this team to start with is because I wanted to learn virtualisation from scratch. I was working with Cloud. I understood what a compute engine, was what a VM is, et cetera.\n\nBut I never saw it and thought, you know, what workflows run that make these virtual machines, et cetera. So that's something that attracted me to this team. And so when I joined, I saw that we work with third-party technologies, like VMware, like NetUP to provide storage, [INAUDIBLE] which is an outsource technology that we have to create virtual machines and run them, et cetera.\n\nBut these are things that I heard about, never really seen. So actually, my teammate he had, like, 10 years of experience with working with VMware. And you know, we had to start getting ready and trained to be on call-- on duty for these technologies. And I was very new. I just passed interviews. I got into the role. So I really needed to learn more of, like, hey, what's VMware? How am I going to support this?\n\nSo I literally reached out. I'm very outspoken, in a way, or not shy in that regard. I like to ask questions. If I'm not familiar with something, like, let's talk about it. Let me learn of it. Let me read about it. So I sat down one day during a one-on-one that we had. And I said, hey-- and shout out to Marko Zagar, my teammate-- I was like, hey, Marko, I know you come from working with VMware for 10-plus years.\n\nCan you please like have one-on-ones with me where we talk about VMware, where you can explain to me, maybe, concepts that I don't understand from the onboarding documents and playbooks that we have? So he happily sat down with me during a lot of months to talk to me and walk me through VMware-- also had experience with NetUP. Marko is just awesome. So any questions now that I have after two years, you know-- because I'm still learning and you'll never stop learning at Google or in any technology field-- I feel comfortable to just reach out to him and have him explain abstract things, or concepts that I really don't understand, or create some confusion to me.\n\nSo that's how I created that mentorship, which it wasn't like, hey, Marko, be my mentor. It was, hey, Marko you really know about this. Can you please help me understand this? And now it's just, yeah, a relationship that organically developed into a mentorship. I see him as my mentor and trust his judgment to give me advice in any project or any decision for the team. So that's how that developed.\n\n**PAM:** I just wanted to highlight that Marko is from a different background than you, Mari. So your mentors don't have to necessarily look like you, as long as you're willing to reach out and find them.\n\n**MARIUXI:** Definitely. Definitely. And I think even our personalities are very different. He helps me with a lot of technical stuff. And I'm happy to help with things that maybe he's not very comfortable with, like we're working on a project, so I'm happy to help more in the project management side of things, or tracking, or planning customer meetings, or gathering requirements that we need from the customers that we support.\n\nSo I'm happy to help out with those things and then also chime in with the technical part of things. So it's a good, balanced work relationship.\n\n**MP:** So thank you, both, so much for your time today sharing your experiences and your insight. Pam, did you have anything you wanted to say before we closed out?\n\n**PAM:** I don't know. Do I? [LAUGHS] Well, thank you both for joining. You've been great. And they're both such inspiring stories. And I'm glad we can share it with the world.\n\n**MARIUXI:** Thank you so much. And I encourage anyone that's looking into SRE, or the name has ever ringed their ear, to just look more into it. Talk with people that are in SRE. Reach out-- it's a very inclusive organization. And I couldn't be more happy to be part of it. And I'm sad that I ran away from it for so long.\n\n**MP:** Thank you so much. Take care.\n\n**PAM:** Cheers.\n\n**[THEME MUSIC]**\n\n**[NON-ENGLISH SINGING]**\n\n**VOICEOVER**: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 32979, "slov": 6130, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:29", "sha256": "3a22a2ccae907f10f5829e395d29c3b0b580ae9969caa3bb8818f80b79144d8b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03", "titulek": "Google SRE - Explore sre career paths with Shannon Brady", "h1": "Life of An SRE with Shannon Brady and Theo Klein", "popis": "Shannon Brady on SRE Job Role and sre career path. Learn about the challenges and rewards of an sre, including key responsibilities and skills required.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03"}, "headline": "Life of An SRE with Shannon Brady and Theo Klein", "description": "Explore the career paths of SREs Shannon Brady and Theo Klein, as they discuss their paths to Site Reliability Engineering and finding their areas of expertise.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Shannon Brady"}, {"@type": "Person", "name": "Theo Klein"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Shannon Brady and Theo Klein"}], "markdown": "# Life of An SRE with Shannon Brady and Theo Klein\n\nExplore the career paths of SREs Shannon Brady and Theo Klein, as they discuss their paths to Site Reliability Engineering and finding their areas of expertise.\n\n[THEME MUSIC] [NON-ENGLISH SINGING]\n\nTHEO KLEIN: Hi. My name is Theo Klein, and I've been a site reliability engineer here at Google for just over three years. Currently, I work on the reliability efforts around the infrastructure that powers the ingestion, curation, and storage of all of the data that powers Google Maps. And this is essentially my first SRE job, my first real job out of college, and it's been super awesome.\n\nYeah, sure. So I came into SRE pretty much straight out of college. At university, I was studying cognitive science and computer science. And I really had no experience in computer science prior to university.\n\nIn university, I didn't really understand what the industry was like. And I stumbled into an internship at Microsoft where I was doing software engineering, like, pure software stuff. You know, I was working full stack on Azure.\n\nAnd I knew that I wanted to be in New York City after university. And unfortunately, Microsoft didn't have any offices, any engineering offices at the time in this area. So I applied to Google. And at the time, the only position that was open was in site reliability engineering.\n\nAnd I said, what is site reliability engineering? I have never heard about this before. What is this? And then initially, I was really skeptical. You know, I thought, OK, I'm gonna be doing a lot of DevOps stuff. I'm not necessarily interested in DevOps. What I like working on is algorithms and improving code.\n\nSo despite that skepticism, I knew that I really wanted to be in New York, so I applied. And I ended up getting the job. And the thing that really, like, held me into this position initially was the fact that, if I didn't like it, I had the opportunity to transfer from the position called SRE-SWE to full SWE. So SWE means SoftWare Engineering.\n\nSo I told myself, I'm gonna give it six months and see if I like it. And if I really don't like being a site reliability engineer, then I'm going to change teams internally after six months of being here at Google. And I'll just give it a shot.\n\nAnd so I joined Google. And you know, for a variety of factors that I'll get into later, I actually fell in love with site reliability engineering. And so I've stayed in SRE for the past three years. And I've actually stayed on the same team for the past three years.\n\nMP ENGLISH: Our skills complement each other, truly. Mm-hmm.\n\nMm-hmm. Yeah, that's a really great question. And I totally agree with you that individual members on my team have specific expertise in different areas. And you know, with that said, if you have an interest in an area that you are not an expert in, I think that, at least in my team, we're very encouraging to allow people to explore.\n\nBut in particular, with my journey and finding my expertise, I had always signaled an interest in doing coding projects. And so from the very first project that I worked on, I was essentially, like, working, embedded in a specific developer team to improve the reliability of their system through software engineering projects.\n\nSo I think my very first project was working on a very important core piece of Google Maps infrastructure. And it was running on some very legacy binary dating back to, say, like, 2008. And no one had touched it, right? The only thing that was updating in this binary was the data that was being served by this binary.\n\nAnd you know, times change. Systems change. And the requirements change for the production environment. And none of those changes had been implemented in this old binary. And so my goal, my responsibility for this first project, was, go into this extremely important piece of system and modernize it. Bring it up to date with the best practices of SRE today.\n\nAnd so can you imagine as, like, a new grad coming out of college and then being handed a project that says, take this central piece of software? If it breaks, you break Google. Right. But if it breaks, you break Google. But you are now responsible for bringing it up to times.\n\nAnd that was so crazy. You know, that first day after I left work for that day, I was so scared. But at the same time, I was also really excited because I knew that I was going to be working on a really important project.\n\nAnd so it took me a few months, and I launched it. The launch window was several months long for different parts of Google. And it was a huge success. And so that sort of told me that I needed to find the scariest problems in the problem space that we're on call for and find ways to solve that with engineering.\n\nSo over a few projects after that, I kept on doing similar types of projects where we take old systems and we want to modernize it, or we want to migrate backends. And so I'm not necessarily building new features, right? The API layer of the system remains the same, but the internals are changed such that the reliability is increased.\n\nTHEO: The last project that I've been working on is a project that we call Zero Outages. And the goal of this program is to essentially eliminate all serving outages from the services that we're on call for. And in doing so, the way that we do this is that we're actually automatically analyzing all of the dependencies in the system and ensuring that the dependencies that are in our system are meant to be there.\n\nAnd so we have a system that-- or, like, an auditing tool that will flag risky dependencies. And then we do engineering projects to remove those risky dependencies. So in that way, it's sort of like a two-pronged approach. We've got the auditing tool that will generate alerts. And so I put on my program manager hat to manage all of the alerts that are generated. And then I do engineering projects to mitigate or resolve those risky dependencies.\n\nWhat I really like about this is that it really demonstrates the variety of areas that SRE has expertise in. You're working in quite a low level, in like the tech stack, so to speak, right? You're working very deep on the internals of Linux and how Linux operates and how all of us at Google get to use Linux. Whereas, I work at the very top of this stack where I'm thinking only about the business logic and, more abstractly, how the different components of business logic interact with each other.\n\nAnd at the same time, like, we need SREs and-- throughout this whole stack, right? We need SREs that focus on the internals of Linux. But we also need SREs to think about the broader view of how our systems operate or how the business operates through the code.\n\nYeah, and to add on to that, the postmortem culture, especially in SRE, I think is extremely strong. And it has allowed me, as an individual, but my team to try out risky projects and risky actions without the fear that we will suffer the blunt of the repercussions if the risks don't pan out in the way that we would like them to.\n\nAnd so something that I always think about when I go on call, for example, is that my-- is something that my manager repeats often. And it's that my manager will always have my back for every decision that I make when I'm on call, even if my action-- as a consequence of my action, the system operates even worse than at the beginning of the incident.\n\nAnd we've had moments where, you know, I have issued a command or a colleague has issued a command that has globally taken down a service, right? And the way that we interpret that is not that the-- that this engineer has made a mistake and that they should be reprimanded. Rather, the way that we interpret that is that the system was designed in such a way that allows this vulnerable action to be made by an engineer, by a human.\n\nAnd therefore, the system is at fault. And we should change the system to be more safe and prevent those actions from being made in the first place. And that nuance, I think, is so important because it allows us to make faster decisions and to worry less about the potential negative effects that may happen as a result of those.\n\nAnd I guess another point here is that, by changing the system as opposed to changing the person, we can ensure that, when that person leaves the company and a new person joins, that same mistake won't happen again, right? So these rules are encoded in the system as opposed to the person and their mental model of how, you know, on-call operates.\n\nOne thing that I think is really cool as well is that this postmortem culture has sort of bled into my personal life and my social life. So you know, I have a partner. And at the beginning of our relationship, it was very much me versus them. I can't believe you didn't do X. Or I would receive, like, I can't believe you didn't do the dishes. Like, you have to think about this and that, right?\n\nAnd with this blameless postmortem culture, we're sort of reframing the disagreements or perhaps the negative things that happen as a factor of how the system got us into that situation. And so now it's much more about me and them against the system. And that has become so beneficial for my relationships and for my social network.\n\nI was giving a, you know, a small informal talk to some folks at-- when I was traveling. These were high school students. And I was giving a talk on this blameless postmortem culture. And I was stepping through how we do this at Google. And I was giving very technical examples.\n\nAnd at the end of the talk, a teacher came up to me and said, oh, my gosh, I wish you had been here six months ago. And I say, what do you mean? And this teacher elaborated that they had gone on this international trip to Germany. They're based out of Argentina.\n\nAnd in this trip, there were many things that went wrong, right? There were certain incidents, so to speak. And the students that experienced these incidents decided to-- or they were very frustrated because there was something about maybe, like, a bus not working properly. Maybe there weren't enough seats, or perhaps they were late.\n\nAnd the students were understandably frustrated. But they didn't really know how to express it. And so there was a lot of blaming going about. You know, some teachers were blamed. Some administrators were also blamed for whatever happened. And they realized that they could have used this blameless postmortem culture to analyze the system in a way that would have been much more constructive.\n\nAnd so after I spoke to them about this, they actually reanalyzed all of the failures that had happened on this trip. And they were able to make some changes, which I thought was so cool, right? So this culture of blaming the system as opposed to blaming the people, I think, has ramifications beyond just SRE and, you know, computer science, right? But it's a very social thing that, I think, allows us to make more efficient progress.\n\nYeah. To add on to that, I actually-- I would be even more-- I would be even stronger in my opinions about postmortems in particular. I love writing postmortems. And I love talking about postmortems, specifically because I think it's so cool to see how our systems break and then to just sit around in amazement and say, oh, my gosh, like, these were the steps?\n\nLike, this is so complicated. How on earth did-- you know? Da-da-da-da-da, right? And I think that that is so exciting and fun. And so I guess that this description shows you that you can reframe these incidents in a positive light as an opportunity for learning as opposed to a scary experience, like you were describing, Shannon.\n\nYeah, yeah.\n\nAnd SREs, in some ways, we need postmortems because a lot of times, engineering work that we that we implement comes as a result of those postmortems because they identify systemic risks in our systems. So it's part of our lifeblood.\n\nYeah, so psychological safety is really important to me. And it means a few things. And I guess the best way to describe what psychological safety is, for me at least, is to give some examples.\n\nSo psychological safety to me means being able to be vulnerable with my coworkers, so sharing parts and details that may put me potentially in a bad light. Let's say maybe I wrote something that didn't work properly. I'm able to share that without the fear of being accused of something.\n\nAnd in some ways, that's sort of like a growth mindset, right? We're all working to become better individuals and better coworkers and better engineers. And every opportunity that we have in life is an opportunity to grow.\n\nSo I'm able to be vulnerable with my coworkers. I'm also able to provide feedback, opportunities to grow, to my coworkers and I'm also comfortable enough to receive feedback from coworkers. And I have that space to process that feedback without necessarily taking it the wrong way.\n\nI also, as I said earlier-- I think this-- you know, we had some examples, both Shannon and I, where we are able to take risks and make mistakes without the fear that I'm going to get fired, right? I know that I'm not gonna get fired even though I'm going to make mistakes at my job. Again, because we're learning, we're going to make mistakes. And the only way to learn is to try things out, try new things. And sometimes, those efforts don't go in the right way.\n\nSo additionally, psychological safety also means that, in the rare case where something is uncomfortable socially or technically, I know that I have someone that I can reach out to that isn't necessarily HR. You know, I know that I can go to my manager, and I can share very vulnerable things. And I can bring up conflicts, or I can even bring up technical issues. And I know that my manager has my back. My manager will go up to bat for me, and that makes me feel really safe.\n\nSo in short, I'm able to be vulnerable with my coworkers and show the opportunities where I can learn. I can also trust that my coworkers feel the same way. And I know that my manager is able to provide that safety net. In the case where, let's say, other teams have issues, or maybe they are trying to push for things that we're not comfortable with, I know that my manager will step up to bat for us and protect us.\n\nThat, I think, is something that has become even harder with the pandemic and with COVID-19 because we were all working from home. So the way that I think many people would de-stress after working is by taking some time during their commute to go home. And maybe you're in a different space physically, so you can potentially leave that stress outside in the office.\n\nAnd that's how I dealt with the stress of on-call and other sorts of work-related issues. However, at the start of the pandemic, when we all went to work from home, I was working 2 feet away from where I was eating, which was, 10 feet away from where I would sleep and 15 feet away from where I would shower, right? All of these things are within 20 feet of each other, maybe give or take 10 feet, right?\n\nAnd my partner would work behind me. And so that caused a lot of issues because my world just shrank. And I had no space to leave my stress when I would end the workday.\n\nIt was initially really challenging to separate work from life. And you know, I tried a few things-- vegging out on the couch, scrolling on TikTok, on Reddit, et cetera. And that worked to a certain extent. But actually, what ended up allowing me to separate work from life was actually getting a dog.\n\nThis isn't why I got a dog. I had wanted a dog for a long time. But it was one of the happy side effects of raising a puppy because dogs actually have needs, like humans. And they are very communicative as to when they need something. And that has actually played a really big role in how I start and stop work, both at the beginning of the day and the middle of the day and at the end of the day.\n\nAnd you know, for example, my dog, Biscotti, who is super cute-- and now she's curled up in a ball, sleeping on her dog bed. But she essentially starts my workday right before it because I have to walk her in the morning. And I take a 15-, 20-, 30-minute walk in the park, where I'm essentially meditating just by virtue of walking in the park. At lunch, I get the opportunity to spend time outside, get some fresh air, come back for lunch, not thinking about work, but thinking about my walk in the park and my playing fetch with Biscotti.\n\nAt the end of the day, at 5 o'clock on the dot, on the dot at 5 o'clock, she comes up to me. And she pokes me on the foot. She nudges me. She sits down next to my desk and tells me the workday is over. Playtime is now. Let's go to the park. And so I realized, like, OK. Like, let's go, right?\n\n[DOG BARKING]\n\nOh. There she is, right on cue. And it's almost noon. So I have to take her out soon. So she has given me those specific points where I understand, like, this is the end of the workday. And by going outside, by walking her, by playing with her, I am able to reset myself and then come home not in work mode, but in life mode.\n\nMP: I totally agree, particularly because you can silence an alarm, but you really can't tell a dog to-- I don't know-- to deal with their needs, right? They need us for a lot.\n\nTHEO: I think your point about proximity to tech and silencing notifications is a really salient point. And it's something that I don't do enough of. And I think this problem is compounded by the fact that a lot of us are really passionate about what we do. And so we want to continue working, right? At least, I want to continue working on the problems that I care about.\n\nAnd so it's super easy-- if a notification brings us back into the workspace, it's super easy to say, oh, OK, yeah. Like, let me just do this for another 5, 10, 15 hour, you know? So it's really important to be rigorous about when the workday ends and hold yourself to that because it's super-- especially in the life of-- or in the world of work-from-home, it's extremely easy to revert back into the workspace after the workday ends.\n\nNow, I also want to make another point, which is that I'm making these clear distinctions between work and life, and I'm also adding sort of time boundaries. But on the flip side to that, I also know that in the case where life comes up and a pressing issue appears, I know that I have the ability to take time out of the day to handle those.\n\nSo again, with respect to my dog, the vet is only open from 9:00 AM to 5:00 PM, which is usually when people work. I know that I can take two hours out of the day to handle a vet appointment and then come back to work, knowing that my coworkers understand that life comes first. So that flexibility, I think, is really valuable.\n\nYou can have the regular cut and then the director's cut. And the director's cut could just be the raw stream. Exactly.\n\n[THEME MUSIC]\n\n[NON-ENGLISH SINGING]\n\nVOICEOVER: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 19081, "slov": 3549, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:06", "sha256": "9b8fe56753a453a0025c66d586147b8557ea9151623292ffa5d9f171a3272bf3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03/", "titulek": "Google SRE - Explore sre career paths with Shannon Brady", "h1": "Life of An SRE with Shannon Brady and Theo Klein", "popis": "Shannon Brady on SRE Job Role and sre career path. Learn about the challenges and rewards of an sre, including key responsibilities and skills required.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03"}, "headline": "Life of An SRE with Shannon Brady and Theo Klein", "description": "Explore the career paths of SREs Shannon Brady and Theo Klein, as they discuss their paths to Site Reliability Engineering and finding their areas of expertise.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Shannon Brady"}, {"@type": "Person", "name": "Theo Klein"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Shannon Brady and Theo Klein"}], "markdown": "# Life of An SRE with Shannon Brady and Theo Klein\n\nExplore the career paths of SREs Shannon Brady and Theo Klein, as they discuss their paths to Site Reliability Engineering and finding their areas of expertise.\n\n[THEME MUSIC] [NON-ENGLISH SINGING]\n\nTHEO KLEIN: Hi. My name is Theo Klein, and I've been a site reliability engineer here at Google for just over three years. Currently, I work on the reliability efforts around the infrastructure that powers the ingestion, curation, and storage of all of the data that powers Google Maps. And this is essentially my first SRE job, my first real job out of college, and it's been super awesome.\n\nYeah, sure. So I came into SRE pretty much straight out of college. At university, I was studying cognitive science and computer science. And I really had no experience in computer science prior to university.\n\nIn university, I didn't really understand what the industry was like. And I stumbled into an internship at Microsoft where I was doing software engineering, like, pure software stuff. You know, I was working full stack on Azure.\n\nAnd I knew that I wanted to be in New York City after university. And unfortunately, Microsoft didn't have any offices, any engineering offices at the time in this area. So I applied to Google. And at the time, the only position that was open was in site reliability engineering.\n\nAnd I said, what is site reliability engineering? I have never heard about this before. What is this? And then initially, I was really skeptical. You know, I thought, OK, I'm gonna be doing a lot of DevOps stuff. I'm not necessarily interested in DevOps. What I like working on is algorithms and improving code.\n\nSo despite that skepticism, I knew that I really wanted to be in New York, so I applied. And I ended up getting the job. And the thing that really, like, held me into this position initially was the fact that, if I didn't like it, I had the opportunity to transfer from the position called SRE-SWE to full SWE. So SWE means SoftWare Engineering.\n\nSo I told myself, I'm gonna give it six months and see if I like it. And if I really don't like being a site reliability engineer, then I'm going to change teams internally after six months of being here at Google. And I'll just give it a shot.\n\nAnd so I joined Google. And you know, for a variety of factors that I'll get into later, I actually fell in love with site reliability engineering. And so I've stayed in SRE for the past three years. And I've actually stayed on the same team for the past three years.\n\nMP ENGLISH: Our skills complement each other, truly. Mm-hmm.\n\nMm-hmm. Yeah, that's a really great question. And I totally agree with you that individual members on my team have specific expertise in different areas. And you know, with that said, if you have an interest in an area that you are not an expert in, I think that, at least in my team, we're very encouraging to allow people to explore.\n\nBut in particular, with my journey and finding my expertise, I had always signaled an interest in doing coding projects. And so from the very first project that I worked on, I was essentially, like, working, embedded in a specific developer team to improve the reliability of their system through software engineering projects.\n\nSo I think my very first project was working on a very important core piece of Google Maps infrastructure. And it was running on some very legacy binary dating back to, say, like, 2008. And no one had touched it, right? The only thing that was updating in this binary was the data that was being served by this binary.\n\nAnd you know, times change. Systems change. And the requirements change for the production environment. And none of those changes had been implemented in this old binary. And so my goal, my responsibility for this first project, was, go into this extremely important piece of system and modernize it. Bring it up to date with the best practices of SRE today.\n\nAnd so can you imagine as, like, a new grad coming out of college and then being handed a project that says, take this central piece of software? If it breaks, you break Google. Right. But if it breaks, you break Google. But you are now responsible for bringing it up to times.\n\nAnd that was so crazy. You know, that first day after I left work for that day, I was so scared. But at the same time, I was also really excited because I knew that I was going to be working on a really important project.\n\nAnd so it took me a few months, and I launched it. The launch window was several months long for different parts of Google. And it was a huge success. And so that sort of told me that I needed to find the scariest problems in the problem space that we're on call for and find ways to solve that with engineering.\n\nSo over a few projects after that, I kept on doing similar types of projects where we take old systems and we want to modernize it, or we want to migrate backends. And so I'm not necessarily building new features, right? The API layer of the system remains the same, but the internals are changed such that the reliability is increased.\n\nTHEO: The last project that I've been working on is a project that we call Zero Outages. And the goal of this program is to essentially eliminate all serving outages from the services that we're on call for. And in doing so, the way that we do this is that we're actually automatically analyzing all of the dependencies in the system and ensuring that the dependencies that are in our system are meant to be there.\n\nAnd so we have a system that-- or, like, an auditing tool that will flag risky dependencies. And then we do engineering projects to remove those risky dependencies. So in that way, it's sort of like a two-pronged approach. We've got the auditing tool that will generate alerts. And so I put on my program manager hat to manage all of the alerts that are generated. And then I do engineering projects to mitigate or resolve those risky dependencies.\n\nWhat I really like about this is that it really demonstrates the variety of areas that SRE has expertise in. You're working in quite a low level, in like the tech stack, so to speak, right? You're working very deep on the internals of Linux and how Linux operates and how all of us at Google get to use Linux. Whereas, I work at the very top of this stack where I'm thinking only about the business logic and, more abstractly, how the different components of business logic interact with each other.\n\nAnd at the same time, like, we need SREs and-- throughout this whole stack, right? We need SREs that focus on the internals of Linux. But we also need SREs to think about the broader view of how our systems operate or how the business operates through the code.\n\nYeah, and to add on to that, the postmortem culture, especially in SRE, I think is extremely strong. And it has allowed me, as an individual, but my team to try out risky projects and risky actions without the fear that we will suffer the blunt of the repercussions if the risks don't pan out in the way that we would like them to.\n\nAnd so something that I always think about when I go on call, for example, is that my-- is something that my manager repeats often. And it's that my manager will always have my back for every decision that I make when I'm on call, even if my action-- as a consequence of my action, the system operates even worse than at the beginning of the incident.\n\nAnd we've had moments where, you know, I have issued a command or a colleague has issued a command that has globally taken down a service, right? And the way that we interpret that is not that the-- that this engineer has made a mistake and that they should be reprimanded. Rather, the way that we interpret that is that the system was designed in such a way that allows this vulnerable action to be made by an engineer, by a human.\n\nAnd therefore, the system is at fault. And we should change the system to be more safe and prevent those actions from being made in the first place. And that nuance, I think, is so important because it allows us to make faster decisions and to worry less about the potential negative effects that may happen as a result of those.\n\nAnd I guess another point here is that, by changing the system as opposed to changing the person, we can ensure that, when that person leaves the company and a new person joins, that same mistake won't happen again, right? So these rules are encoded in the system as opposed to the person and their mental model of how, you know, on-call operates.\n\nOne thing that I think is really cool as well is that this postmortem culture has sort of bled into my personal life and my social life. So you know, I have a partner. And at the beginning of our relationship, it was very much me versus them. I can't believe you didn't do X. Or I would receive, like, I can't believe you didn't do the dishes. Like, you have to think about this and that, right?\n\nAnd with this blameless postmortem culture, we're sort of reframing the disagreements or perhaps the negative things that happen as a factor of how the system got us into that situation. And so now it's much more about me and them against the system. And that has become so beneficial for my relationships and for my social network.\n\nI was giving a, you know, a small informal talk to some folks at-- when I was traveling. These were high school students. And I was giving a talk on this blameless postmortem culture. And I was stepping through how we do this at Google. And I was giving very technical examples.\n\nAnd at the end of the talk, a teacher came up to me and said, oh, my gosh, I wish you had been here six months ago. And I say, what do you mean? And this teacher elaborated that they had gone on this international trip to Germany. They're based out of Argentina.\n\nAnd in this trip, there were many things that went wrong, right? There were certain incidents, so to speak. And the students that experienced these incidents decided to-- or they were very frustrated because there was something about maybe, like, a bus not working properly. Maybe there weren't enough seats, or perhaps they were late.\n\nAnd the students were understandably frustrated. But they didn't really know how to express it. And so there was a lot of blaming going about. You know, some teachers were blamed. Some administrators were also blamed for whatever happened. And they realized that they could have used this blameless postmortem culture to analyze the system in a way that would have been much more constructive.\n\nAnd so after I spoke to them about this, they actually reanalyzed all of the failures that had happened on this trip. And they were able to make some changes, which I thought was so cool, right? So this culture of blaming the system as opposed to blaming the people, I think, has ramifications beyond just SRE and, you know, computer science, right? But it's a very social thing that, I think, allows us to make more efficient progress.\n\nYeah. To add on to that, I actually-- I would be even more-- I would be even stronger in my opinions about postmortems in particular. I love writing postmortems. And I love talking about postmortems, specifically because I think it's so cool to see how our systems break and then to just sit around in amazement and say, oh, my gosh, like, these were the steps?\n\nLike, this is so complicated. How on earth did-- you know? Da-da-da-da-da, right? And I think that that is so exciting and fun. And so I guess that this description shows you that you can reframe these incidents in a positive light as an opportunity for learning as opposed to a scary experience, like you were describing, Shannon.\n\nYeah, yeah.\n\nAnd SREs, in some ways, we need postmortems because a lot of times, engineering work that we that we implement comes as a result of those postmortems because they identify systemic risks in our systems. So it's part of our lifeblood.\n\nYeah, so psychological safety is really important to me. And it means a few things. And I guess the best way to describe what psychological safety is, for me at least, is to give some examples.\n\nSo psychological safety to me means being able to be vulnerable with my coworkers, so sharing parts and details that may put me potentially in a bad light. Let's say maybe I wrote something that didn't work properly. I'm able to share that without the fear of being accused of something.\n\nAnd in some ways, that's sort of like a growth mindset, right? We're all working to become better individuals and better coworkers and better engineers. And every opportunity that we have in life is an opportunity to grow.\n\nSo I'm able to be vulnerable with my coworkers. I'm also able to provide feedback, opportunities to grow, to my coworkers and I'm also comfortable enough to receive feedback from coworkers. And I have that space to process that feedback without necessarily taking it the wrong way.\n\nI also, as I said earlier-- I think this-- you know, we had some examples, both Shannon and I, where we are able to take risks and make mistakes without the fear that I'm going to get fired, right? I know that I'm not gonna get fired even though I'm going to make mistakes at my job. Again, because we're learning, we're going to make mistakes. And the only way to learn is to try things out, try new things. And sometimes, those efforts don't go in the right way.\n\nSo additionally, psychological safety also means that, in the rare case where something is uncomfortable socially or technically, I know that I have someone that I can reach out to that isn't necessarily HR. You know, I know that I can go to my manager, and I can share very vulnerable things. And I can bring up conflicts, or I can even bring up technical issues. And I know that my manager has my back. My manager will go up to bat for me, and that makes me feel really safe.\n\nSo in short, I'm able to be vulnerable with my coworkers and show the opportunities where I can learn. I can also trust that my coworkers feel the same way. And I know that my manager is able to provide that safety net. In the case where, let's say, other teams have issues, or maybe they are trying to push for things that we're not comfortable with, I know that my manager will step up to bat for us and protect us.\n\nThat, I think, is something that has become even harder with the pandemic and with COVID-19 because we were all working from home. So the way that I think many people would de-stress after working is by taking some time during their commute to go home. And maybe you're in a different space physically, so you can potentially leave that stress outside in the office.\n\nAnd that's how I dealt with the stress of on-call and other sorts of work-related issues. However, at the start of the pandemic, when we all went to work from home, I was working 2 feet away from where I was eating, which was, 10 feet away from where I would sleep and 15 feet away from where I would shower, right? All of these things are within 20 feet of each other, maybe give or take 10 feet, right?\n\nAnd my partner would work behind me. And so that caused a lot of issues because my world just shrank. And I had no space to leave my stress when I would end the workday.\n\nIt was initially really challenging to separate work from life. And you know, I tried a few things-- vegging out on the couch, scrolling on TikTok, on Reddit, et cetera. And that worked to a certain extent. But actually, what ended up allowing me to separate work from life was actually getting a dog.\n\nThis isn't why I got a dog. I had wanted a dog for a long time. But it was one of the happy side effects of raising a puppy because dogs actually have needs, like humans. And they are very communicative as to when they need something. And that has actually played a really big role in how I start and stop work, both at the beginning of the day and the middle of the day and at the end of the day.\n\nAnd you know, for example, my dog, Biscotti, who is super cute-- and now she's curled up in a ball, sleeping on her dog bed. But she essentially starts my workday right before it because I have to walk her in the morning. And I take a 15-, 20-, 30-minute walk in the park, where I'm essentially meditating just by virtue of walking in the park. At lunch, I get the opportunity to spend time outside, get some fresh air, come back for lunch, not thinking about work, but thinking about my walk in the park and my playing fetch with Biscotti.\n\nAt the end of the day, at 5 o'clock on the dot, on the dot at 5 o'clock, she comes up to me. And she pokes me on the foot. She nudges me. She sits down next to my desk and tells me the workday is over. Playtime is now. Let's go to the park. And so I realized, like, OK. Like, let's go, right?\n\n[DOG BARKING]\n\nOh. There she is, right on cue. And it's almost noon. So I have to take her out soon. So she has given me those specific points where I understand, like, this is the end of the workday. And by going outside, by walking her, by playing with her, I am able to reset myself and then come home not in work mode, but in life mode.\n\nMP: I totally agree, particularly because you can silence an alarm, but you really can't tell a dog to-- I don't know-- to deal with their needs, right? They need us for a lot.\n\nTHEO: I think your point about proximity to tech and silencing notifications is a really salient point. And it's something that I don't do enough of. And I think this problem is compounded by the fact that a lot of us are really passionate about what we do. And so we want to continue working, right? At least, I want to continue working on the problems that I care about.\n\nAnd so it's super easy-- if a notification brings us back into the workspace, it's super easy to say, oh, OK, yeah. Like, let me just do this for another 5, 10, 15 hour, you know? So it's really important to be rigorous about when the workday ends and hold yourself to that because it's super-- especially in the life of-- or in the world of work-from-home, it's extremely easy to revert back into the workspace after the workday ends.\n\nNow, I also want to make another point, which is that I'm making these clear distinctions between work and life, and I'm also adding sort of time boundaries. But on the flip side to that, I also know that in the case where life comes up and a pressing issue appears, I know that I have the ability to take time out of the day to handle those.\n\nSo again, with respect to my dog, the vet is only open from 9:00 AM to 5:00 PM, which is usually when people work. I know that I can take two hours out of the day to handle a vet appointment and then come back to work, knowing that my coworkers understand that life comes first. So that flexibility, I think, is really valuable.\n\nYou can have the regular cut and then the director's cut. And the director's cut could just be the raw stream. Exactly.\n\n[THEME MUSIC]\n\n[NON-ENGLISH SINGING]\n\nVOICEOVER: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 19081, "slov": 3549, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:30", "sha256": "9b8fe56753a453a0025c66d586147b8557ea9151623292ffa5d9f171a3272bf3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04", "titulek": "Google SRE - Podcast on sre job role and Google work culture", "h1": "Life of An SRE with Jessica Theodat", "popis": "Jessica Theodat discusses senior sre role, work-life balance, mentoring and her experience as a black woman in the industry, reflecting on Google sre culture.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04"}, "headline": "Life of An SRE with Jessica Theodat", "description": "Explore the role and responsibilities of a Senior SRE with Jessica Theodat, as she discusses life-work balance, the value of mentoring, and being a Black woman in SRE.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Jessica Theodat"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Jessica Theodat"}], "markdown": "# Life of An SRE with Jessica Theodat\n\nExplore the role and responsibilities of a Senior SRE with Jessica Theodat, as she discusses life-work balance, the value of mentoring, and being a Black woman in SRE.\n\n**MP:** Hello, and welcome to episode four of season two of the Google SRE Podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP, and here with me for the last time this season is my co-host, Pam.\n\n**PAM:** Hi, everyone. Thank you for having me again. I'm very excited and sad that this will be my final episode. So, I can't wait, because this will be a good one.\n\n**MP:** I hope that we get the opportunity to have you back with us in future seasons.\n\n**PAM:** I hope so, too. I would love to do this again.\n\n**MP:** Here with us today is an SRE at Google that is neither on a product team or an infrastructure team. So a very unique experience. A senior SRE here at Google. Let's go ahead and let her introduce herself.\n\n**JESSICA:** Hi, everyone. My name is Jessica. I've been at Google for 10 years now, and an SRE for about five. And in those last five years, I've been the Security and Privacy Tech Lead within my SRE team for the last three years. So it's been very exciting.\n\n**PAM:** Well, that's awesome, Jessica. Welcome to the \"Prodcast.\" How did you get your start into Google 10 years ago?\n\n**JESSICA:** So, my journey began in 2011 when a Google recruiter reached out to me over LinkedIn. Of course, at the time, I didn't believe she was a Google recruiter, because back then, sourcing on LinkedIn wasn't really a thing. So naturally, I assumed that, oh, this is just next generation social engineering, which is basically the art of hacking humans.\n\nAnd while that all sounds far-fetched and crazy, it isn't really that far-fetched, considering Operation Aurora had actually taken place a few years back. So just a little context. At the time that the Google recruiter reached out, I was actually working on my senior thesis paper, and it was around the subject of social engineering. So this is very relevant, just to give you some context into my mind space.\n\nAnyways, long story short, I made the recruiter jump through quite a bit of identity verification hoops before I bought the idea that this was legit. I apologized to my recruiter. We're still friends today, so it worked out. So, yeah, so that's my journey, that's how I started.\n\nAnd then my career at Google kicked off as part of the ITRP program, which is basically the Internal Technical Residency Program. And that's a fancy way of saying that we are IT generalists. We get our hands into a little bit of everything. And then further along in our career, we start to specialize in a niche. And my niche just happened to be in the security space.\n\n**MP:** Yeah, and I just want to take a moment to remind folks from episode two of this season, that the goal of the IT Career Program, formerly known as the IT Residency Program, is to provide equitable, sustainable, and well-supported paths from operations to other in-demand tech plus Google roles.\n\n**PAM:** That's pretty cool. And that's a great program to be a part of. You spent the first five years not in SRE. How did you come to find SRE?\n\n**JESSICA:** Oh, another fun story. So I'll give you the short version, as well. So, at my second month as an ITR, I got the opportunity to represent Google at the Grace Hopper Conference. And it was at the booth that I learned what SRE was through introduction. And in that moment, I thought to myself, wow. I'm seriously in the wrong line of work. SRE is where I want to be.\n\nAnd so from there, I basically spent the next few years of my career transitioning into SRE. And now I'm in SRE, and I've been here for the last five years. And I have to say, that the journey wouldn't have been as smooth without the support of my then manager, my SRE mentors, and my amazing recruiter. So, thank you all again.\n\n**PAM:** You mentioned amazing mentors. Do you want to share any stories about finding mentors within SRE, or if you've had your own personal experience of being a mentor?\n\n**JESSICA:** So, as far as mentors, during my first few months of working as SRE, I wasn't actually an SRE yet. So what I did was, I enlisted for a three-month SRE rotation just to kind of get my feet wet and really decide like, is SRE actually for me, right. The idea of SRE and what it stands for was very attractive, but it was nice to be able to like sample that, right.\n\nAnd I don't think there's too many spaces in the industry where you get to try out a job before you actually commit to it. In preparation, I actually ended up reaching out to a lot of my peers, folks that I worked with. We have a really great community of SREs. We do a lot of social events, so I met people there. We have a lot of Google groups, or like mailing lists, and so I would basically spam the list and say like, hey, I'm getting ready to prep for interviews, who wants to put me through the ringer.\n\nAnd so, yeah, we took it from there. And in the process of doing all of this, I developed a lot of great SRE mentors. But it also gave me the chance when I went through the process myself, to then pay it forward and also do the same for others.\n\n**MP:** I'm really curious what at least in your perspective at the time, what drew you to SRE. And I'm curious if that perspective has changed at all over the years.\n\n**JESSICA:** So, what attracted me to SRE, was the fact that it's the end all, be all, right? In my role as an ITR, you identify problems and you escalate them, and you may end up helping diagnose and troubleshoot them, but you don't actually dig into the root cause, right. It's usually a lot of surfacing of issues.\n\nWhereas the SREs are the people who are responsible for finding root causes. And you can think about it this way. SREs literally have the weight of Google services and infrastructure running on their shoulders, right. We are the people that keep all of the Google services up and running. So when you are doing things like checking to see if your internet connection is OK, is it me, or is it something else, the first thing that people naturally do is, they type in google.com.\n\nAnd that experience that you're having when you're doing that, the idea that you think Google is so reliable that you can then check your internet status against google.com, that's all empowered by SREs. And so I was very fascinated by that. And I decided that is where I want to be. I want to be the person who gets to the root of issues, but also, I like the idea of knowing that I literally have the power of internet in my hands.\n\n**MP:** Has that view evolved at all? Or do you feel that that framing has held?\n\n**JESSICA:** I feel like for the most part, that framing has held. I will say that in some ways, it has evolved, because obviously, the industry evolves. SRE is a set of principles, right. And so as I think I've gone through my career and have matured a bit, my view on reliability and what it means has changed a bit.\n\nAnd I also realized that the responsibility doesn't just end with ensuring reliability or building large scale systems. There are other aspects that come into play. And one of those aspects for me, was security. I'm not just building infrastructure, I'm building secure infrastructure. I'm building infrastructure that is secure by default, and not the exception.\n\nI think one of the things that I was guilty of, and I'm sure others will agree, as well, is that a lot of times when we're building products or features or infrastructure, we think of security as an afterthought. Or there's tension between security and DevOps or security and SRE. And that's not the case at all.\n\nWhen we're building these products or services, one of the things that we want to keep in mind as we're building these things is, how do I make my service or infrastructure or product resilient. And one of the ways of doing that is adding the aspect of security behind it.\n\n**PAM:** So security is a very big part of your career. You mentioned that was sort of your niche, even when you got started. How did the security SRE role become your thing when you entered SRE?\n\n**JESSICA:** I think like all other things that have happened in my career, I think it came as an opportunity. At the time, we were working on locking down a lot of things and essentially shifting the security posture of a lot of various services and infrastructure and product. And in that process of this company-wide initiative, I started identifying very dark corners of what is known as CorpEng.\n\nSo, CorpEng is basically Google's Enterprise. And so what I noticed as being an SRE who works in the CorpEng space, there's a lot of nuances or edge cases that we go through, but don't necessarily pay much attention to or try to dedicate effort towards it.\n\nThat's not to say that they're less important. It's just that when you're trying to launch features or trying to launch infrastructure services, a lot of times those things kind of fall by the wayside, or you make up for them in some way by throwing humans at the problem and just making it a manual operation.\n\nAnd so what I found going through all these things, was that this was one, a pattern. And it wasn't a pattern that my team was suffering, it was a pattern that every team within CorpEng was suffering. And so you start to chat with other people and you figure out what the nuances are. And I found that all of these neglected corners were things that were pretty scary things that needed to be addressed.\n\nAnd naturally, being an SRE and wanting to get to the root of everything, I started to look at these problems and dissect them, and started working on solutions for these things. And then it was a rabbit hole from there. And I think I'm still going down that rabbit hole. And I can't say that I am ready to jump out. I'm enjoying the ride.\n\n**PAM:** So, Jessica, besides your niche in security, you are also the security tech lead for your team. How has being a tech lead been different from the earlier parts of your career in SRE?\n\n**JESSICA:** Oh, man, I think one of the biggest differences between being a senior tech lead, or being a tech lead versus being a little more junior in your career, is that you are joining an amorphous and ambiguous space. Whereas earlier on in your career, you usually get a well-defined set of problems that you have to work towards.\n\nWhereas, as a tech lead, it is your responsibility to set technical direction and be able to be in a space where there are no defined problems. You have to look for the problem. You don't actually know what the problem set is yet. So you're looking across the space that you're in and you're identifying what are the problems-- are there things that are worth investing in right now. What's higher priority versus other things? What's worth the investment?\n\nAnd essentially, when you're committing to technical direction, you're also influencing your peers and you're influencing your leadership to buy into this idea that this is the direction that we should be headed in. And I think that that for me, has definitely been a stretch opportunity and a growth space for me. I think that knowing how to identify the right problems is not something that necessarily comes easy. But when you do end up doing it and you get into the practice of doing it, it's very rewarding.\n\n**PAM:** That sounds like so much responsibility. How have you been keeping your work responsibilities and that chaos with the weight of Google on your shoulders separate from your home life and responsibilities? And what I'm trying to say here, very poorly, is, how have you managed work, life balance?\n\n**JESSICA:** Oh, man. When I have it completely figured out, I will let you know. I think that it's a balance. There are some days where I'm really knee deep into a problem and I'm really into it, and sometimes I can lose track of time. And then there are other times where I say to myself, nope, these are the three things that I'm accomplishing today. And I set a time bound to it.\n\nLike when 4:00, hard stop. What I finished is what I finished that day. And then I carry over those tasks into the next day. So it really depends on what's happening. But what I try to do, is at least implement that framework of, what are the three things that I want to accomplish today. Or I'm only going to work these set of hours.\n\nI think the other thing that makes it possible, is being able to lean on my coworkers and colleagues. I'm not doing this alone. One of the reasons why Google is successful is because we have spaces where we can collaborate and communicate with each other, but also lean on each other in that sense.\n\nOne of the most beautiful aspects I like about my job, is when we come up with different ideas of how to approach a problem, it's a very collaborative approach in the sense that I might write a design document for the problem that it is that I want to solve, and then my coworkers and colleagues, whether within my organization or across the organization, will chime in and give feedback to me. Have you tried thinking about this? Or this is a very interesting way to solve the problem.\n\nLong story short, I maintain work, life balance through some structure, but also being able to lean on my coworkers and knowing that there are people here to support me in that process. It also helps to have friends who will pull you out. I'm also friends with a lot of my coworkers, as well. So sometimes when it becomes towards the end of the day, we usually go to happy hour or tea time or dinner. And there's usually someone chiming in, talking about food, so that always helps. Food is life.\n\n**MP:** So I think we would be a little remiss to not touch on a little bit of a more difficult topic while we have you here. Could you tell us a little bit about how being a Black woman in tech has influenced your career?\n\n**JESSICA:** I guess it's interesting in a couple of ways. On one hand, it kind of sets you apart in the sense that because you may be one of few or one of only, it makes it easier for folks to remember you. Because you are different. And usually, things or people that are different, usually stand out.\n\nAnd so in that case, it has really worked to my favor, because I can introduce myself to someone or have a conversation and generally they'll remember a conversation that we had or they'll remember my saying my name or something. So in that aspect, it's actually worked to my favor. And I would encourage others to run with that, as well.\n\nThe other thing that I would say, is as far as career progression, obviously, and this is not something that's unique to Google, this is a real life problem, there are, for the lack of better terms, systems or invisible systems or biases that play into our experiences every day. And unfortunately, sometimes those things work to our detriment.\n\nAs being a Black woman, I'm sure I've faced many of those obstacles. One of the things that I think I'm grateful for that I've seen Google do, is have things like unconscious bias training. I remember when I started at Google 10 years ago, it wasn't a thing. And as I've progressed through my career, I want to say pretty fairly early on in my career, so probably by my third year at Google, we started doing unconscious biases.\n\nAnd it's not something that is required of one particular person. It's something that we all participate in. And I was pretty grateful for the opportunity, because it even revealed to me that I had my own unconscious biases, as well, with respect to other ideas, other cultures, that sort of thing. And it kind of helped check my perspective.\n\nI think that we all carry things with us that are formed from our upbringing and our environments and that sort of thing, and the content that we consume. It's easy to lose sight of what's important, but also, not be aware of the idea that there is an underlying framework that is formulating your ideas and approach to how you view the world and your perspective.\n\nAs a Black woman SRE, one of the other things that I want to say that I'm pretty grateful for, is opportunities like this to kind of share the experience and voice and let people know that we are here. I think that you don't know what you don't know. And I feel like for me, growing up, I didn't know what an SRE was. These were not things that I was exposed to.\n\nAnd I feel like having platforms like these to be able to discuss these ideas, but also just showing that I'm here, showing that we do exist, it kind of inspires folks to kind of dream bigger and see what is out there. I want to kind of share an anecdote. So a friend of mine, who is a former Googler now, but she had this massive wall behind her. And I never really paid attention to the details, but I knew it was a wall of faces. But I never actually took the time to really look into what was behind her.\n\nAnd I remember sharing a story with her about how I had found out that I was the first Black woman SRE at Google. And I told her that that wasn't something that I went around necessarily sharing, because on one hand, it feels like quite the accomplishment. But on the other hand, it felt a little shameful, because it took this long in history for us to get here. And so it wasn't something that I necessarily wanted to share.\n\nAnd she said something very interesting to me that essentially changed my perspective. And she said, Jess, you want to tell people these things. And the reason why, is this wall behind me, it's basically a wall of firsts. She said, every person's photo on this wall is the first of many. And she said, your face belongs on this wall. And she said the reason why I have this wall, is so that my daughter can look at this wall and realize that these opportunities are possible.\n\nIt's the first woman engineer or first doctor, first person to invent peanut butter, the first person to invent the traffic light. A lot of these inventions are the first of something also included people of color. And so hearing that kind of really gave me the chills. And I feel like ever since I heard that story, I have changed my perspective and I have started to share the story.\n\nAnd I even went as far as to go on LinkedIn and shout this to make this known, like yes, I am the first Black woman SRE. As hard as that was to come to terms with, it was also a very beautiful thing. Because it is something that I can share with others and talk to folks about my experience, but also, theirs as well. So that has been my experience.\n\n**PAM:** Yeah, that was awesome.\n\n**MP:** That story is amazing.\n\n**JESSICA:** Oh, thanks.\n\n**MP:** I didn't even know that. I learned that on the spot just now.\n\n**PAM:** That's so cool and inspiring. I think you should share it. You should shout it from the mountaintops, because it's really true. Representation matters. You're here and saying that you are a Black woman and you are an SRE, and now the generation after you can look to you as a role model.\n\n**JESSICA:** Right.\n\n**PAM:** And that opens so many more doors for all the young people out there who didn't know this was a path before.\n\n**JESSICA:** Right.\n\n**PAM:** So, thank you.\n\n**JESSICA:** Yeah, thank you for giving me the opportunity to share this.\n\n**MP:** In the context of all of that, how do you think your feelings of psychological safety have evolved over the years?\n\n**JESSICA:** They have evolved quite a bit, actually. I remember first joining Google. It was quite the shift for me. Because I grew up in Boston on the East coast, where it's a pretty diverse population. People of all walks of life, culture, ideas, principles, values. And leaving all of that behind to move to someplace new, specifically the West Coast, where you don't know anybody, and the population looks very different from you and you don't really know what to expect, I was pretty nervous.\n\nGoing into the fact that at the time, there weren't that many people that looked like me in tech. Specifically, also in Silicon Valley. When you think about Silicon Valley and tech companies, you think of bro culture. And so I was pretty nervous about that. I think once joining Google, it was very much a different experience than the experiences that I've had at previous companies.\n\nI feel like Google certainly made it their mission to not just focus on diversity, which everyone usually thinks of, but also, inclusivity. There's a saying that goes something like, diversity is having different people at a party, and inclusivity is asking them all to dance. I feel like that's certainly what the environment was like for me.\n\nJust the idea that people come together, and at the end of the day, we all recognize that we are humans. And when we're solving problems, we're not solving just tech problems, we're solving people problems. That's ultimately what any problem boils down to. And so in looking at that, a lot of the things that I would say that those around me looked at was, making sure that all voices were heard and that we were creating safe spaces for these voices to be heard.\n\nA lot of the conversations are difficult conversations to have, especially with things like-- and you know, the past few years around like Black Lives Matter movements or LGBTQ movements, and that sort of thing. Like, they're very difficult spaces or conversations to have for some folks, because not everyone's ideas or beliefs or values are the same. And I think that's the beauty in all of it, is the fact that we are all unique individuals. We also take the time to make sure that the other person is heard, and go out of our way to create those safe spaces.\n\nThe other thing that I want to add as far as psychological safety goes, is my management team in particular, has been extremely supportive around these efforts. I remember going through conferences and stuff or thinking about wanting to get involved, and my skip-level manager would pull me along and say, hey, these things are, these efforts are coming up and stuff. This is something that's also very passionate to myself, as well.\n\nAnd we would have conversations about what they meant, what the impact was. And if the efforts that we are participating in actually had the right impact. Because I feel like a lot of times, or sometimes, we may do things that are well-meaning, but unless you check in with the people on the other end to see how they're doing or to have conversations about the impact that they have on the people around you, then you don't actually necessarily know. And so, what better way to understand, than to hear from the community or the folks themselves.\n\nThe other thing that I wanted to add to psychological safety, was the idea that Google embraces the idea of blameless culture. We don't look at who did this and why did they do this. We look at what systems or rules or policies or things, what dynamics do we have in play that allowed for these sorts of things to take place.\n\nAnd so we look at the root of the problem, or look at issues from that perspective, as opposed to who are we looking to blame. And I think by having a blameless culture, it allows a space for people to feel more comfortable and establish some sense of trust.\n\nBecause you can't establish trust between individuals if you don't feel safe enough to make mistakes or take risks or have honest conversations about your opinions or your beliefs or things that you think become a factor. Again, a lot of these things can sometimes be sensitive topics. But it's nice to know that we have done a pretty good job at building a blameless culture. And I hope we continue to embrace that.\n\n**PAM:** Thank you, Jessica, for that perspective. Do you have anything else you'd like to share with us today?\n\n**JESSICA:** Oh, I don't think I do. I feel like I should, though.\n\n[LAUGHS]\n\n**PAM:** That's OK. This has been a great episode already. There's so much good content here. I can't wait for our listeners to hear it.\n\n**MP:** It really has been a pleasure.\n\n**JESSICA:** Thank you, I appreciate that.\n\n**MP:** And again, thank you so much, Pam, for joining me for these past four episodes. You will be dearly missed.\n\n**PAM:** Well, I hope you invite me back sometime. This is a lot of fun. So, thank you for having me, MP.\n\n**MP:** And thank you again, Jessica. Maybe we will get to have you back, as well in the future.\n\n**JESSICA:** Yeah, looking forward to it. Don't be a stranger.\n\n[THEME MUSIC]\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Pamela Vong, and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee.\n\n[THEME MUSIC]", "znaku_textu": 24536, "slov": 4541, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:05", "sha256": "dce8e689d6a7d41ad893dfb5d84bf27dfe741afd22e770e3e8edc19b095a3cd4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04/", "titulek": "Google SRE - Podcast on sre job role and Google work culture", "h1": "Life of An SRE with Jessica Theodat", "popis": "Jessica Theodat discusses senior sre role, work-life balance, mentoring and her experience as a black woman in the industry, reflecting on Google sre culture.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04"}, "headline": "Life of An SRE with Jessica Theodat", "description": "Explore the role and responsibilities of a Senior SRE with Jessica Theodat, as she discusses life-work balance, the value of mentoring, and being a Black woman in SRE.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Jessica Theodat"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Jessica Theodat"}], "markdown": "# Life of An SRE with Jessica Theodat\n\nExplore the role and responsibilities of a Senior SRE with Jessica Theodat, as she discusses life-work balance, the value of mentoring, and being a Black woman in SRE.\n\n**MP:** Hello, and welcome to episode four of season two of the Google SRE Podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP, and here with me for the last time this season is my co-host, Pam.\n\n**PAM:** Hi, everyone. Thank you for having me again. I'm very excited and sad that this will be my final episode. So, I can't wait, because this will be a good one.\n\n**MP:** I hope that we get the opportunity to have you back with us in future seasons.\n\n**PAM:** I hope so, too. I would love to do this again.\n\n**MP:** Here with us today is an SRE at Google that is neither on a product team or an infrastructure team. So a very unique experience. A senior SRE here at Google. Let's go ahead and let her introduce herself.\n\n**JESSICA:** Hi, everyone. My name is Jessica. I've been at Google for 10 years now, and an SRE for about five. And in those last five years, I've been the Security and Privacy Tech Lead within my SRE team for the last three years. So it's been very exciting.\n\n**PAM:** Well, that's awesome, Jessica. Welcome to the \"Prodcast.\" How did you get your start into Google 10 years ago?\n\n**JESSICA:** So, my journey began in 2011 when a Google recruiter reached out to me over LinkedIn. Of course, at the time, I didn't believe she was a Google recruiter, because back then, sourcing on LinkedIn wasn't really a thing. So naturally, I assumed that, oh, this is just next generation social engineering, which is basically the art of hacking humans.\n\nAnd while that all sounds far-fetched and crazy, it isn't really that far-fetched, considering Operation Aurora had actually taken place a few years back. So just a little context. At the time that the Google recruiter reached out, I was actually working on my senior thesis paper, and it was around the subject of social engineering. So this is very relevant, just to give you some context into my mind space.\n\nAnyways, long story short, I made the recruiter jump through quite a bit of identity verification hoops before I bought the idea that this was legit. I apologized to my recruiter. We're still friends today, so it worked out. So, yeah, so that's my journey, that's how I started.\n\nAnd then my career at Google kicked off as part of the ITRP program, which is basically the Internal Technical Residency Program. And that's a fancy way of saying that we are IT generalists. We get our hands into a little bit of everything. And then further along in our career, we start to specialize in a niche. And my niche just happened to be in the security space.\n\n**MP:** Yeah, and I just want to take a moment to remind folks from episode two of this season, that the goal of the IT Career Program, formerly known as the IT Residency Program, is to provide equitable, sustainable, and well-supported paths from operations to other in-demand tech plus Google roles.\n\n**PAM:** That's pretty cool. And that's a great program to be a part of. You spent the first five years not in SRE. How did you come to find SRE?\n\n**JESSICA:** Oh, another fun story. So I'll give you the short version, as well. So, at my second month as an ITR, I got the opportunity to represent Google at the Grace Hopper Conference. And it was at the booth that I learned what SRE was through introduction. And in that moment, I thought to myself, wow. I'm seriously in the wrong line of work. SRE is where I want to be.\n\nAnd so from there, I basically spent the next few years of my career transitioning into SRE. And now I'm in SRE, and I've been here for the last five years. And I have to say, that the journey wouldn't have been as smooth without the support of my then manager, my SRE mentors, and my amazing recruiter. So, thank you all again.\n\n**PAM:** You mentioned amazing mentors. Do you want to share any stories about finding mentors within SRE, or if you've had your own personal experience of being a mentor?\n\n**JESSICA:** So, as far as mentors, during my first few months of working as SRE, I wasn't actually an SRE yet. So what I did was, I enlisted for a three-month SRE rotation just to kind of get my feet wet and really decide like, is SRE actually for me, right. The idea of SRE and what it stands for was very attractive, but it was nice to be able to like sample that, right.\n\nAnd I don't think there's too many spaces in the industry where you get to try out a job before you actually commit to it. In preparation, I actually ended up reaching out to a lot of my peers, folks that I worked with. We have a really great community of SREs. We do a lot of social events, so I met people there. We have a lot of Google groups, or like mailing lists, and so I would basically spam the list and say like, hey, I'm getting ready to prep for interviews, who wants to put me through the ringer.\n\nAnd so, yeah, we took it from there. And in the process of doing all of this, I developed a lot of great SRE mentors. But it also gave me the chance when I went through the process myself, to then pay it forward and also do the same for others.\n\n**MP:** I'm really curious what at least in your perspective at the time, what drew you to SRE. And I'm curious if that perspective has changed at all over the years.\n\n**JESSICA:** So, what attracted me to SRE, was the fact that it's the end all, be all, right? In my role as an ITR, you identify problems and you escalate them, and you may end up helping diagnose and troubleshoot them, but you don't actually dig into the root cause, right. It's usually a lot of surfacing of issues.\n\nWhereas the SREs are the people who are responsible for finding root causes. And you can think about it this way. SREs literally have the weight of Google services and infrastructure running on their shoulders, right. We are the people that keep all of the Google services up and running. So when you are doing things like checking to see if your internet connection is OK, is it me, or is it something else, the first thing that people naturally do is, they type in google.com.\n\nAnd that experience that you're having when you're doing that, the idea that you think Google is so reliable that you can then check your internet status against google.com, that's all empowered by SREs. And so I was very fascinated by that. And I decided that is where I want to be. I want to be the person who gets to the root of issues, but also, I like the idea of knowing that I literally have the power of internet in my hands.\n\n**MP:** Has that view evolved at all? Or do you feel that that framing has held?\n\n**JESSICA:** I feel like for the most part, that framing has held. I will say that in some ways, it has evolved, because obviously, the industry evolves. SRE is a set of principles, right. And so as I think I've gone through my career and have matured a bit, my view on reliability and what it means has changed a bit.\n\nAnd I also realized that the responsibility doesn't just end with ensuring reliability or building large scale systems. There are other aspects that come into play. And one of those aspects for me, was security. I'm not just building infrastructure, I'm building secure infrastructure. I'm building infrastructure that is secure by default, and not the exception.\n\nI think one of the things that I was guilty of, and I'm sure others will agree, as well, is that a lot of times when we're building products or features or infrastructure, we think of security as an afterthought. Or there's tension between security and DevOps or security and SRE. And that's not the case at all.\n\nWhen we're building these products or services, one of the things that we want to keep in mind as we're building these things is, how do I make my service or infrastructure or product resilient. And one of the ways of doing that is adding the aspect of security behind it.\n\n**PAM:** So security is a very big part of your career. You mentioned that was sort of your niche, even when you got started. How did the security SRE role become your thing when you entered SRE?\n\n**JESSICA:** I think like all other things that have happened in my career, I think it came as an opportunity. At the time, we were working on locking down a lot of things and essentially shifting the security posture of a lot of various services and infrastructure and product. And in that process of this company-wide initiative, I started identifying very dark corners of what is known as CorpEng.\n\nSo, CorpEng is basically Google's Enterprise. And so what I noticed as being an SRE who works in the CorpEng space, there's a lot of nuances or edge cases that we go through, but don't necessarily pay much attention to or try to dedicate effort towards it.\n\nThat's not to say that they're less important. It's just that when you're trying to launch features or trying to launch infrastructure services, a lot of times those things kind of fall by the wayside, or you make up for them in some way by throwing humans at the problem and just making it a manual operation.\n\nAnd so what I found going through all these things, was that this was one, a pattern. And it wasn't a pattern that my team was suffering, it was a pattern that every team within CorpEng was suffering. And so you start to chat with other people and you figure out what the nuances are. And I found that all of these neglected corners were things that were pretty scary things that needed to be addressed.\n\nAnd naturally, being an SRE and wanting to get to the root of everything, I started to look at these problems and dissect them, and started working on solutions for these things. And then it was a rabbit hole from there. And I think I'm still going down that rabbit hole. And I can't say that I am ready to jump out. I'm enjoying the ride.\n\n**PAM:** So, Jessica, besides your niche in security, you are also the security tech lead for your team. How has being a tech lead been different from the earlier parts of your career in SRE?\n\n**JESSICA:** Oh, man, I think one of the biggest differences between being a senior tech lead, or being a tech lead versus being a little more junior in your career, is that you are joining an amorphous and ambiguous space. Whereas earlier on in your career, you usually get a well-defined set of problems that you have to work towards.\n\nWhereas, as a tech lead, it is your responsibility to set technical direction and be able to be in a space where there are no defined problems. You have to look for the problem. You don't actually know what the problem set is yet. So you're looking across the space that you're in and you're identifying what are the problems-- are there things that are worth investing in right now. What's higher priority versus other things? What's worth the investment?\n\nAnd essentially, when you're committing to technical direction, you're also influencing your peers and you're influencing your leadership to buy into this idea that this is the direction that we should be headed in. And I think that that for me, has definitely been a stretch opportunity and a growth space for me. I think that knowing how to identify the right problems is not something that necessarily comes easy. But when you do end up doing it and you get into the practice of doing it, it's very rewarding.\n\n**PAM:** That sounds like so much responsibility. How have you been keeping your work responsibilities and that chaos with the weight of Google on your shoulders separate from your home life and responsibilities? And what I'm trying to say here, very poorly, is, how have you managed work, life balance?\n\n**JESSICA:** Oh, man. When I have it completely figured out, I will let you know. I think that it's a balance. There are some days where I'm really knee deep into a problem and I'm really into it, and sometimes I can lose track of time. And then there are other times where I say to myself, nope, these are the three things that I'm accomplishing today. And I set a time bound to it.\n\nLike when 4:00, hard stop. What I finished is what I finished that day. And then I carry over those tasks into the next day. So it really depends on what's happening. But what I try to do, is at least implement that framework of, what are the three things that I want to accomplish today. Or I'm only going to work these set of hours.\n\nI think the other thing that makes it possible, is being able to lean on my coworkers and colleagues. I'm not doing this alone. One of the reasons why Google is successful is because we have spaces where we can collaborate and communicate with each other, but also lean on each other in that sense.\n\nOne of the most beautiful aspects I like about my job, is when we come up with different ideas of how to approach a problem, it's a very collaborative approach in the sense that I might write a design document for the problem that it is that I want to solve, and then my coworkers and colleagues, whether within my organization or across the organization, will chime in and give feedback to me. Have you tried thinking about this? Or this is a very interesting way to solve the problem.\n\nLong story short, I maintain work, life balance through some structure, but also being able to lean on my coworkers and knowing that there are people here to support me in that process. It also helps to have friends who will pull you out. I'm also friends with a lot of my coworkers, as well. So sometimes when it becomes towards the end of the day, we usually go to happy hour or tea time or dinner. And there's usually someone chiming in, talking about food, so that always helps. Food is life.\n\n**MP:** So I think we would be a little remiss to not touch on a little bit of a more difficult topic while we have you here. Could you tell us a little bit about how being a Black woman in tech has influenced your career?\n\n**JESSICA:** I guess it's interesting in a couple of ways. On one hand, it kind of sets you apart in the sense that because you may be one of few or one of only, it makes it easier for folks to remember you. Because you are different. And usually, things or people that are different, usually stand out.\n\nAnd so in that case, it has really worked to my favor, because I can introduce myself to someone or have a conversation and generally they'll remember a conversation that we had or they'll remember my saying my name or something. So in that aspect, it's actually worked to my favor. And I would encourage others to run with that, as well.\n\nThe other thing that I would say, is as far as career progression, obviously, and this is not something that's unique to Google, this is a real life problem, there are, for the lack of better terms, systems or invisible systems or biases that play into our experiences every day. And unfortunately, sometimes those things work to our detriment.\n\nAs being a Black woman, I'm sure I've faced many of those obstacles. One of the things that I think I'm grateful for that I've seen Google do, is have things like unconscious bias training. I remember when I started at Google 10 years ago, it wasn't a thing. And as I've progressed through my career, I want to say pretty fairly early on in my career, so probably by my third year at Google, we started doing unconscious biases.\n\nAnd it's not something that is required of one particular person. It's something that we all participate in. And I was pretty grateful for the opportunity, because it even revealed to me that I had my own unconscious biases, as well, with respect to other ideas, other cultures, that sort of thing. And it kind of helped check my perspective.\n\nI think that we all carry things with us that are formed from our upbringing and our environments and that sort of thing, and the content that we consume. It's easy to lose sight of what's important, but also, not be aware of the idea that there is an underlying framework that is formulating your ideas and approach to how you view the world and your perspective.\n\nAs a Black woman SRE, one of the other things that I want to say that I'm pretty grateful for, is opportunities like this to kind of share the experience and voice and let people know that we are here. I think that you don't know what you don't know. And I feel like for me, growing up, I didn't know what an SRE was. These were not things that I was exposed to.\n\nAnd I feel like having platforms like these to be able to discuss these ideas, but also just showing that I'm here, showing that we do exist, it kind of inspires folks to kind of dream bigger and see what is out there. I want to kind of share an anecdote. So a friend of mine, who is a former Googler now, but she had this massive wall behind her. And I never really paid attention to the details, but I knew it was a wall of faces. But I never actually took the time to really look into what was behind her.\n\nAnd I remember sharing a story with her about how I had found out that I was the first Black woman SRE at Google. And I told her that that wasn't something that I went around necessarily sharing, because on one hand, it feels like quite the accomplishment. But on the other hand, it felt a little shameful, because it took this long in history for us to get here. And so it wasn't something that I necessarily wanted to share.\n\nAnd she said something very interesting to me that essentially changed my perspective. And she said, Jess, you want to tell people these things. And the reason why, is this wall behind me, it's basically a wall of firsts. She said, every person's photo on this wall is the first of many. And she said, your face belongs on this wall. And she said the reason why I have this wall, is so that my daughter can look at this wall and realize that these opportunities are possible.\n\nIt's the first woman engineer or first doctor, first person to invent peanut butter, the first person to invent the traffic light. A lot of these inventions are the first of something also included people of color. And so hearing that kind of really gave me the chills. And I feel like ever since I heard that story, I have changed my perspective and I have started to share the story.\n\nAnd I even went as far as to go on LinkedIn and shout this to make this known, like yes, I am the first Black woman SRE. As hard as that was to come to terms with, it was also a very beautiful thing. Because it is something that I can share with others and talk to folks about my experience, but also, theirs as well. So that has been my experience.\n\n**PAM:** Yeah, that was awesome.\n\n**MP:** That story is amazing.\n\n**JESSICA:** Oh, thanks.\n\n**MP:** I didn't even know that. I learned that on the spot just now.\n\n**PAM:** That's so cool and inspiring. I think you should share it. You should shout it from the mountaintops, because it's really true. Representation matters. You're here and saying that you are a Black woman and you are an SRE, and now the generation after you can look to you as a role model.\n\n**JESSICA:** Right.\n\n**PAM:** And that opens so many more doors for all the young people out there who didn't know this was a path before.\n\n**JESSICA:** Right.\n\n**PAM:** So, thank you.\n\n**JESSICA:** Yeah, thank you for giving me the opportunity to share this.\n\n**MP:** In the context of all of that, how do you think your feelings of psychological safety have evolved over the years?\n\n**JESSICA:** They have evolved quite a bit, actually. I remember first joining Google. It was quite the shift for me. Because I grew up in Boston on the East coast, where it's a pretty diverse population. People of all walks of life, culture, ideas, principles, values. And leaving all of that behind to move to someplace new, specifically the West Coast, where you don't know anybody, and the population looks very different from you and you don't really know what to expect, I was pretty nervous.\n\nGoing into the fact that at the time, there weren't that many people that looked like me in tech. Specifically, also in Silicon Valley. When you think about Silicon Valley and tech companies, you think of bro culture. And so I was pretty nervous about that. I think once joining Google, it was very much a different experience than the experiences that I've had at previous companies.\n\nI feel like Google certainly made it their mission to not just focus on diversity, which everyone usually thinks of, but also, inclusivity. There's a saying that goes something like, diversity is having different people at a party, and inclusivity is asking them all to dance. I feel like that's certainly what the environment was like for me.\n\nJust the idea that people come together, and at the end of the day, we all recognize that we are humans. And when we're solving problems, we're not solving just tech problems, we're solving people problems. That's ultimately what any problem boils down to. And so in looking at that, a lot of the things that I would say that those around me looked at was, making sure that all voices were heard and that we were creating safe spaces for these voices to be heard.\n\nA lot of the conversations are difficult conversations to have, especially with things like-- and you know, the past few years around like Black Lives Matter movements or LGBTQ movements, and that sort of thing. Like, they're very difficult spaces or conversations to have for some folks, because not everyone's ideas or beliefs or values are the same. And I think that's the beauty in all of it, is the fact that we are all unique individuals. We also take the time to make sure that the other person is heard, and go out of our way to create those safe spaces.\n\nThe other thing that I want to add as far as psychological safety goes, is my management team in particular, has been extremely supportive around these efforts. I remember going through conferences and stuff or thinking about wanting to get involved, and my skip-level manager would pull me along and say, hey, these things are, these efforts are coming up and stuff. This is something that's also very passionate to myself, as well.\n\nAnd we would have conversations about what they meant, what the impact was. And if the efforts that we are participating in actually had the right impact. Because I feel like a lot of times, or sometimes, we may do things that are well-meaning, but unless you check in with the people on the other end to see how they're doing or to have conversations about the impact that they have on the people around you, then you don't actually necessarily know. And so, what better way to understand, than to hear from the community or the folks themselves.\n\nThe other thing that I wanted to add to psychological safety, was the idea that Google embraces the idea of blameless culture. We don't look at who did this and why did they do this. We look at what systems or rules or policies or things, what dynamics do we have in play that allowed for these sorts of things to take place.\n\nAnd so we look at the root of the problem, or look at issues from that perspective, as opposed to who are we looking to blame. And I think by having a blameless culture, it allows a space for people to feel more comfortable and establish some sense of trust.\n\nBecause you can't establish trust between individuals if you don't feel safe enough to make mistakes or take risks or have honest conversations about your opinions or your beliefs or things that you think become a factor. Again, a lot of these things can sometimes be sensitive topics. But it's nice to know that we have done a pretty good job at building a blameless culture. And I hope we continue to embrace that.\n\n**PAM:** Thank you, Jessica, for that perspective. Do you have anything else you'd like to share with us today?\n\n**JESSICA:** Oh, I don't think I do. I feel like I should, though.\n\n[LAUGHS]\n\n**PAM:** That's OK. This has been a great episode already. There's so much good content here. I can't wait for our listeners to hear it.\n\n**MP:** It really has been a pleasure.\n\n**JESSICA:** Thank you, I appreciate that.\n\n**MP:** And again, thank you so much, Pam, for joining me for these past four episodes. You will be dearly missed.\n\n**PAM:** Well, I hope you invite me back sometime. This is a lot of fun. So, thank you for having me, MP.\n\n**MP:** And thank you again, Jessica. Maybe we will get to have you back, as well in the future.\n\n**JESSICA:** Yeah, looking forward to it. Don't be a stranger.\n\n[THEME MUSIC]\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Pamela Vong, and produced and edited by Salim Virji. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee.\n\n[THEME MUSIC]", "znaku_textu": 24536, "slov": 4541, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:31", "sha256": "dce8e689d6a7d41ad893dfb5d84bf27dfe741afd22e770e3e8edc19b095a3cd4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05", "titulek": "Google SRE - Life of SRE engineer at Google | sre mangement", "h1": "Life of An SRE with Stephen Benjamin", "popis": "Explore the role and responsibilities of an SRE manager with Stephen Benjamin. Learn about what it means to be a site reliability manager (SRM) at Google.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05"}, "headline": "Life of An SRE with Stephen Benjamin", "description": "Explore the role and responsibilities of an SRE manager with Stephen Benjamin.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Stephen Benjamin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Stephen Benjamin"}], "markdown": "# Life of An SRE with Stephen Benjamin\n\nExplore the role and responsibilities of an SRE manager with Stephen Benjamin.\n\n**MP:** Hello, and welcome to episode five of season two of the Google \"SRE Podcast,\" or as we affectionately refer to it, \"The Prodcast.\" So for this episode and the next episode, I have a new co-host. So I am-- first things first, I'm going to go ahead and let him introduce himself.\n\n**CHRIS:** Hi, I'm Chris. I'm a Noogler. I started working for Google back in May. At previous jobs, I've worked to speed up deployments through automation for a credit card processing fintech in Oakland, building an education-centered social network with Golang from scratch in LA. Prior to that, I was building and maintaining web infrastructure for terrestrial radio production and distribution in Arizona.\n\nI've been all over the stack in my tenure. I've built server rooms from scratch from cooling and network stacks to virtualization and storage clusters. I've built back-end servers. And I've created very terrible UIs. I'm brand new to managing systems at Google scale. And I'm very excited for the challenge and super excited to be part of \"The Prodcast.\"\n\n**MP:** Thank you for joining us, Chris.\n\n**CHRIS:** My pleasure.\n\n**MP:** So on this episode, we are going to have our first guest, who is a member of SRE management. So that's new and exciting. Everyone that we have spoken to so far has been an individual contributor. So now, we are going to get a little bit more insight into what it means to be a SRM or a site reliability manager. So I'm going to hand things over to our guest for him to introduce himself.\n\n**STEPHEN:** Thank you, MP. Hi, everyone. My name is Stephen. And I've been at Google a little over 12 years. I'm based in Zurich, always have worked for Google in Zurich but originally from the UK. And right now, I'm managing a team who build out the monitoring infrastructure or parts of for Google and other Alphabet companies.\n\nBefore Google, I was working for a finance company. And we can talk about how I went from finance to SRE management I think later on. And before that, studied electronic engineering for a few years and sustainable development. So very excited to be here. And this is my first podcast, Prodcast of any kind, so very excited to see how it goes.\n\n**MP:** Thank you for joining us.\n\n**CHRIS:** OK, cool. Thanks for the intro, Stephen. So I'm pretty new to Google. What does a site reliability manager do? What does your day look like?\n\n**STEPHEN:** So I guess the answer, which no one wants to hear, is it depends. It varies quite a lot depending on what you're focusing on and also what your focus as a manager is.\n\nSo right now, I primarily manage other managers. And so a lot of my time is spent working with them and other stakeholders and customers to try and align on, agree, and drive the priorities and expectations that we've got across my sets of teams and with our partner teams and customers. I think if you're a line manager, and by that, I mean someone who's typically managing a team of perhaps six or seven SREs in a traditional SRE team, then you may be more involved in the day-to-day operations of your team.\n\nSo some managers are, in fact, on-call for their services. I am not on call for a service, so I don't have that as part of my day-to-day, but I know that there are managers who are managing a single SRE team who would be perhaps involved in that on-call rotation. And I think it's a balance. Whichever level you're at, it's a balance between that sort of direct people management side of things and the more strategic team leadership, product leadership, organizational leadership aspects.\n\nAnd I think it does depend a bit on where you are in the cycle of things that you have to do as a manager. So that if you're in an annual planning cycle, you spend a lot more time on the non-people management side of things, thinking about how do you align your OKRs with your organization. How do you make sure you've got a good vision, and you've got plans that set you up for the next six, 12 months.\n\nHowever, if you're going through a performance review cycle, which we're heading into right now, then lots of your focus is going to be on understanding what the people who report to you have done in the last six to 12 months, and how you can reflect on that and talk about performance ratings and give coaching and feedback to people. So it really depends on where you are in that cycle. And of course, depending a bit on your organizational structure too.\n\nSo Stephen, you manage direct line managers, or do you manage other managers of managers?\n\n**STEPHEN:** No, my managers all are line managers at this point. So I have four managers reporting to me who manage between six and 15 people, which I will say up front 15 people is a non-ideal number for a manager. We're going through some growth in our team at the moment. And so they're sort of holding the fort for us as we grow out in a different site.\n\nSo I'm managing people in both Zurich and Munich. And the Munich site is a growth site for us. We have managers coming in January, thank goodness. But for now, I've got two folks in Zurich who are managing the people that we've hired in Munich until we have the managers ramped up there. But they are all-- they're not managing managers themselves. And I have one individual contributor also reporting to me.\n\n**CHRIS:** So you've come from a financial analyst background. That's pretty unique. How did you decide this is what you want to get into? What made you want to do it? Like, what was the process there **[AUDIO OUT]**\n\n**STEPHEN:** It was definitely a mixture of circumstance and luck and some intentionality as well for sure. But I want to be clear that it wasn't all planned out from the beginning. So as you said, I started out working for a finance company. This is an asset management company I moved to work for on basically a grad program when I left university. Moved to the States for a couple of years. Did a variety of different things.\n\nEnded up living in Zurich for personal reasons and was looking for a job. And Google was looking for a finance analyst to support the engineering and product management teams in Europe, Middle East, and Africa. And I thought, well, I worked for a finance company for a couple of years. And I've got an engineering degree of sorts, so engineering, finance analyst seems perfect.\n\nTook a punt on it. And thankfully, Google agreed that it was a punt worth taking. And so ended up, to my surprise, at Google in Zurich as a financial analyst.\n\nI think, very honestly, I knew fairly early on in that role that it wasn't somewhere I wanted to grow a long-term career. I worked with a lot of product managers, especially early on. And I loved the aspect of working with products, especially at Google scale. I mean, I think everyone here knows the scale that we're talking about.\n\nIt took me a long time to make that move. I had a few transient points in between. So as a finance analyst for about three and 1/2 years, ended up moving into one of the teams I was supporting was the emerging markets team. And we were rolling out products in various different countries. And I moved in to that team as a program manager doing business operations analysis, basically. I had a team of reporting analysts. We would look at how a product was rolling out, how we could optimize its performance or its roll out and its scale up, and providing information to teams on the ground who could then sort of adjust how they were doing things.\n\n**CHRIS:** How did you get involved in that?\n\n**STEPHEN:** So the former vice president of engineering and product for all of the EMEA-- Europe, Middle East, and Africa region-- was specifically leading this emerging markets initiative from Zurich. And I was, as the only finance person in Zurich, I think well-situated to be his finance support. So again, that's sort of partly where luck and circumstance just came into it.\n\nAnd so developed a very close working relationship with him. And that was a very, very exciting journey, which is probably subject of a different conversation. But we ended up ultimately growing this fairly big organization of about 300 people, very cross-functional engineering, but also sales, marketing. And working with him.\n\nAnd I talked to him regularly about where I'd like to go next in my career. So again, I was lucky to have a very senior person that I could sort of bounce these things off of. And eventually an opportunity came up to work in the operations part of the organization.\n\nSo I moved over there as a program manager and started work on this sort of business operations or business analytics team. And I think it was a good fit between pure program management and what I'd been doing in the finance team because it was sort of a mixture of reporting analysis but also sort of structuring programs and projects.\n\n**STEPHEN:** So as these things come to pass, the emerging markets team graduated and various parts of it went different product areas within Google. Some of the prods went on to be scaled beyond emerging markets. Other parts were folded in. The team I was part of went into the GO organization, specifically local business and data listings, mapping. And so the focus became very much more singular, focused on that rather than this broad spectrum of things we were doing in various different emerging markets countries.\n\nAnd so I ended up looking around for opportunities in Zurich that sort of felt more aligned with where I'd like to go. And SRE came along. And so I moved into SRE as a program manager. I mentioned that the team I was on previously moved into a different organization. And I just didn't have the same passion for the mission.\n\nAnd again, circumstance dictated that Zurich is a growing site. And I was lucky to have some opportunities and options around me. And for sure, that played a factor.\n\nAnd I met with one of the site leads for SRE at the time. And he was looking for actually three program managers. And he had some headcount to hire, some folks for those. And so I was lucky enough to actually kind of get to pick which of those three I wanted to work on.\n\nAnd the thing I ended up opting for was to work with him across two product areas, which were at the time called Apps and Social. Social was the team that used to manage Google+, if people remember that. And Apps is Gmail, Docs, Drive.\n\nBut the goal of that program or that role was basically, before I joined, Social had split from Gmail, technically. It had been a group of SREs that had sort of broken off to support Social and Google+ as it was scaling and growing. And so historically, they had been built upon a foundation of similar ways of tackling production management.\n\nBut over time, as you can imagine, there had been this divergence of approaches to managing their production systems. And the goal was really to try and structure a program that would help bring those two product areas back together on a technical footing so that they would reap the benefits of convergence in terms of lower overhead cost, lower maintenance cost for the teams, lower cognitive load for engineers, higher mobility for people between services. And so that was what my new manager was looking for was a program manager to basically come in and help structure that program, work across those two product areas.\n\nSo super challenging space for me to go into because I had no technical experience in Google at all. I came into SRE and probably honestly understood 50% or 60% of the words that people said to me for the first few months. And we talked about ambiguity earlier. That was definitely-- there my solution was write a lot of stuff down, ask a lot of questions, and sort of play the somewhat naive idiot in the room for a while.\n\nAnd I think I'd been at Google long enough I think, and I felt comfortable enough with the people I was working with to be able to do that. To ask a lot of questions, I think that's really important for people as they're ramping up into these new roles. And that's maybe something we can talk about later is how we kind of create that environment for people.\n\nBut it was very interesting because out of that sort of grew a track across all of SRE, which is called the Convergence Track, which I was working on with a couple other engineering managers at the time. I was still a program manager. And we were trying to basically drive some best practices and some actual technical convergence across SRE, different product areas and teams.\n\nThe thing that made that very challenging was that we didn't have any headcount for any of this. So we were doing it with a team of volunteers. And I think I remember listing it out at some point. We had probably about 120 people contributing in some way across all the different offices and SRE at some point, which sounds like a lot. But when they're all contributing 20%, it's never really 20%.\n\nAnd actually managing that is really, really hard. Everyone has really good intentions, but their ability to deliver something on a schedule at a certain amount of capacity of their own time is basically impossible to manage. So we kind of made, we made progress in fits and starts.\n\nTwo of the bigger projects that I was involved in from the early days were called Prodspec and Annealing. Those were the two projects, at least that I was involved in, that made the most progress.\n\nWe had a very dedicated group of volunteers who were really interested in solving some problems for their own teams and their teams around them. And I think that really helped because we could actually make some good progress. And we had managers who were very supportive of this as well.\n\nThis and multiple other projects covering different aspects of service management. So capacity management, monitoring is the team I now work in, and incident response management had similar types of volunteer driven projects, some of which were funded, but most of which weren't. And I think the key shift and the way to answer your question eventually, Chris, the key shift came when we actually got proper funding for these projects. There was a recognition in SRE that either we do this properly, and we put headcount behind these efforts, or we don't do them.\n\nAnd I can tell you as a program manager who was trying to manage even a bunch of 80% contributors, when you're trying to manage around on-call rotations and other schedules and competing demands and code yellows and whatever happens, it's really, really hard. So having this injection of actual headcount, I mean, it's night and day for where we are today compared to where we were running as a bunch of volunteer projects. At the time, I was program managing Prod Spec and Annealing, I think we had about 17 engineers working on the two projects in total, I think roughly. And I guess I was in the right place at the right time or the wrong place at the wrong time to be asked to take on management of those people directly.\n\nAnd I have to say, again, I'm really grateful to my manager at the time who-- we had a very open conversation about this. And said, look, this is a bit of a risk for both of us or an experiment. I was a program manager, not a technical program manager. So I hadn't been-- I hadn't done a transfer even onto the technical ladder. And I was working very much in the kind of like let's organize people, projects, agree priorities, track progress, drive progress rather than exercising a lot of technical judgment on the projects. I had built up a lot of state over time just naturally through osmosis.\n\nSo yeah, we agreed to take this chance. And well, five years later, it seems to have worked out. But it definitely was-- it was a chance that we both took kind of consciously but not necessarily knowing if it would be the right-- work out for me or the team or SRE.\n\n**MP:** I did have a question I wanted to throw in. So something that's come up a lot in our previous episodes has been the role of mentorship. So I would like to hear from you how mentorship has played a role in your time as an SRM, whatever your relationship with mentorship has been.\n\n**STEPHEN:** OK. So I said when I joined SRE, I was originally part of the Gmail SRE team. And I remember the first day I walked in, the thing that opened my eyes to the scale of the thing I was working with was someone put their head up above one of the desk dividers and said to someone else, oh, can you just check this thing for me? I need to move half a billion users from this data center to another data center. So I realized I was in a totally different world than the one I'd been in before where we were talking about a few thousands of users on our emerging markets products.\n\nAnd I kind of went from there. I didn't have any real technical exposure or background, especially to the things that Gmail was running at, the scale it was running at. And so in particular, I worked with a couple of engineers on some small starter projects. And they were super patient with me. And they were very-- they were low priority things. They were things that people felt like they would give me a good exposure to production, Gmail itself, and Google engineering more generally because it wasn't something I'd been exposed to.\n\nAnd so I'd say it wasn't necessarily a formal mentoring relationship but it was definitely an important informal mentoring relationship, where I would just sit with them and pair program kind of is the best way I can think of that in some ways, like a way through some of these things. I'd write something in a doc. I'd get some feedback from them on it.\n\nAnd then I'd try something. Inevitably, it wouldn't be quite right because doing stuff with Gmail is complicated as you could imagine. And then I'd sit with them and they'd sort of walk me through it. And I think having those patient sort of senior experts around me has been a hallmark of being able to actually be effective as a manager given my role and my path into the role.\n\nI think as I've taken on people management, I've definitely benefited from having mentors. Often, when I'm trying to deal with specific challenges-- so two things I know about myself, which I've had to really work on or with as I've grown as a people manager is that I'm a conflict-avoider. And I'm a people-pleaser.\n\nAnd those two things can make it difficult for you if you want to give someone feedback. And when you're not a manager, it's not really part of your job formally. Of course, everyone should try and give feedback, and ideally everyone does. But as a people manager, it's on the job description. At least once or twice a year, you have to give someone feedback on how they're doing.\n\nAnd I picked up a team of 17 direct reports overnight. And it had a wide spectrum of performance levels throughout the team. And some of which needed more support than others. And that was something that I definitely wasn't familiar or comfortable with, especially given my previously mentioned characteristics.\n\nAnd so that was something where I definitely relied heavily on experienced mentors. There was one engineering manager in SRE who it was very interesting. The first time he sat down with me to talk to me about people management, he just gave me effectively a lecture on physiology and psychology of how people react to challenging circumstances, like this fight, flight, or freeze kind of reaction.\n\nAnd the whole thing there was to build up to when you're giving someone-- having difficult conversations, you need to understand what's going on inside them as a human being, as a person who has a physiological reaction to being given some difficult news. And I found that really fascinating that was the first thing that he thought he should share with me as a manager. But it really stuck with me that you will have these hard conversations. And they won't be easy. And the other person on their end is much harder for them. And they have a physical reaction to it.\n\nAnd so sometimes you need to have those conversations in two parts, maybe even five minutes or an hour or a day or a week to then come back to it and have a rational conversation. So that was really important. And that person I stayed with them as a mentee for quite a while. I'd meet with them at least every two weeks just to talk about things I was going through and their experiences. They were a very experienced people manager.\n\n**CHRIS:** How did you find these mentors **[AUDIO OUT]**\n\n**STEPHEN:** So in this previous case, they were sort of an obvious choice because they were one of the three or four senior engineering leads or managers at the time in Zurich. And I wasn't working with them directly, so I think that helped because they were sort of somewhat removed from the circumstances I was in and could be a bit more objective, so that helped. Other times, I've asked colleagues around me who they've worked with, who do they recommend, and that's been useful as well. That's helped me connect to some senior folks outside the Zurich office, outside of SRE who have a very different or a more objective perspective and experience that's relevant.\n\nI don't think I've used any of the formal mentoring mentee pairing programs at Google as a mentee at least. So it's really been about trying to exercise my network a little bit around me. I was lucky because I've been through various different parts of Google. I've got a decent network of people that I've worked with in the past. And I try and foster and maintain some of that. And I think having people outside of SRE has been helpful just to fall back on to ask not random questions but sort of somewhat random questions.\n\n**CHRIS:** Some external perspective.\n\n**STEPHEN:** Right, exactly.\n\n**CHRIS:** So it seems like you have a lot of trust in your engineers. How do you build and maintain that level of trust\n\n**STEPHEN:** So I'd say, as a person-- and again, this is something I've kind of **[AUDIO OUT]** I think it's important to know about yourself as a manager or as an individual contributor. I don't think it really matters. But one of the things I know about myself is that I tend to start from a position of trusting everyone. And so I don't rely on someone to build that level of trust with me beforehand. I kind of try and walk into most circumstances assuming that I can trust this person. And I don't mean on a sort of deeply personal level. I mean, if we talk about something professional, it will probably get done to a decent standard.\n\nSo I think that's just a starting point for me. Now, that can sometimes backfire. You pick up 17 engineers overnight. You don't know all of them that well. But that's just always been my starting point.\n\nSo it's probably obvious to say that trust is a two-way street, right? Also, when I started managing these folks, they didn't pick their manager. I didn't pick my team. That was an interesting situation for all of us to be in. Plus, for them, they had someone who had never been a manager before. So this was sort of uncharted territory for most of them probably as well.\n\nSo I think it was about for me establishing myself as someone who was there to support them. And also, I tend to be, as I mentioned earlier, I rely heavily on having partnerships with strong technical leads and folks around me for the technical aspects. I didn't mention it, but maybe it's implicit, but my technical background as it goes is electronic engineering. I don't have any formal software engineering background. So I'm not the person in the room that's going to be leading the charge on how we technically solve a problem. I am the person that will identify the best people to help us and really create a space where they can contribute and drive the discussion and decisions and help them kind of work through that.\n\nAnd I think I tried to always be clear with people in the team that that was my role. I wasn't there to make the technical decisions for them. I was there to enable them to do their work.\n\nSo I think when I started out as a people manager, people already had projects on the go. And I definitely did not walk in and try and create waves and assert any formal authority as a people manager. Much more, it was about let me understand the set of things that people are working on. And then over time try and work out how does that align with priorities.\n\nI think what was important is there was some organizational context around this as well. So the organization that we were in was going through lots of change. And so trying to also help them navigate through that. And again, by demonstrating that I was there to communicate those changes to them, help them understand them, build a team structure that kind of made sense was one way I tried to build trust with them.\n\nAnd I think modeling, going back to maybe to finish the point, I mentioned sort of being clear that I didn't know-- I wasn't there as the technical expert. I think that was important. I said earlier I asked a lot of questions. I continue to do that to this day. And I think that's important for managers and leaders to kind of model that openness to not knowing something and creating a space where it's all right to ask the questions.\n\nOftentimes, I ask a question because I just don't know the answer. Sometimes it's also because I perceive that perhaps other people also don't know the answer, and it would be helpful for others to hear that. And I think if you as a senior person in the room can set that tone, I think it's really important for creating that environment where others feel like they can also put their hand up.\n\n**CHRIS:** So you were just this newly minted manager. And I've been working in industry for a long time. I have mad imposter syndrome. Did you have imposter syndrome signing on to this position? And if so, how did you deal with that?\n\n**STEPHEN:** Yeah, imposter syndrome and I are good friends, I think. So I think one thing that helped me is that I hadn't come into SRE from an individual contributor background as a software engineer or a systems engineer. Everyone knew where I came from.\n\nAnd so I was very clear that this is my strengths. I think I'm good at organizing people. Hopefully, I will become good as a people manager over time helping support their career development. Everyone knows I don't come into this as a tech lead who's now also managing people. So that definitely helped.\n\nHaving said that, it also means that sometimes I'm in conversations, even today honestly, people tell me things that I feel like I really should know what that thing actually means. I'm not going to give an example because that would feed my imposter syndrome too much and probably validate everyone listening that, oh, Stephen shouldn't be here, so,jokes aside-- I still get that today.\n\nAnd one piece of feedback I had in the past actually was that sometimes it's natural to have-- I think everyone, everyone suffers from imposter syndrome to a certain extent at different points in their career and to different levels.\n\n**MP:** So in my personal head canon of what managers do every day is mostly being buried in meetings and short on time, which I don't think you've directly contradicted at any point today. Sounds like managing is quite its own unique challenge. But I am curious, how do you maintain a healthy work-life balance with the particular time demands, structured time demands that management usually requires?\n\n**Stephen:** So first of all, I think probably worth at this point saying that I work part-time. I think that's an important context for people listening. It's not an everyday circumstance-- that not many Googlers or managers work part-time. I've been working 80%, which is four days a week, for a little over three years now. And I think that was a big part of me trying to manage my kind of overall balance between working time and life or life outside of work because I think I spend a big proportion of my life at work.\n\nI have mixed feelings about the kind of work-life balance expression because I'm not sure it is always a balance. I think sometimes it's a case of prioritization. And that's sort of how I try and treat it. So sometimes, depending on what's going on at home or at work, I tend to emphasize one more than the other.\n\nOne thing that I had done before I was part-time when I joined SRE, which is at this point eight years ago, which shocks me to think about the number, is that I was already leaving early on Wednesdays. I had two young kids at that point already. And we had some commitments at home, which I basically had committed to my wife that I was going to be around at home to take on.\n\nAnd so when I joined the team, everyone knew that I left the office at 3:00 on Wednesdays, and nothing could happen after that for me work wise. To the extent that there was a cross site team meeting that happened on Wednesday afternoons with Sunnyvale. And I said I can't be there. If you want me in the meeting, the meeting will need to move. And they said, it's fine. We don't need you in the meeting. And so we just kept it where it was. And I think it was a very explicit expectation between me and the team about my working patterns.\n\nSo I think I've put very explicit structures and times in general around my time. Maybe it's worth mentioning at this point, we're recording this at, for me, 9:00 PM on a Monday evening. And I'm not saying that to come across as some hero. I didn't start the day until 11:30 this morning. And I stopped half an hour later for lunch. So I definitely shift my day to cover the US once or twice a week. And I think that's important, right?\n\nThe reality is that we work in a global company. And you need to have some flexibility. And so I take that by working late on Mondays, but I start late. But I basically don't work after 5:30 on a Tuesday because I need to be back home to help. And Thursday is sort of my wild card day where I can flex it one way or the other, depending on what I need to do.\n\nI guess it comes back to that comment I made a minute ago of it's where the priority is at a given time. And so sometimes, I got something happening at home. I've made a commitment to one of my kids that I'm going to be there to watch a thing. And that goes in my calendar.\n\nAnd I have to say, you mentioned sort of meetings and calendars, and I live and die by my calendar. But my team also know that. So if they can find me in my calendar and there's a free slot, it's very explicit. I have office hours, which is a standing slot which people can book. But also, if they want to talk to me about something, there's an open slot on my calendar. I'm very religious about keeping it up to date. And so people know where I'm going to be and when. And I think that's really important from setting expectations inside and outside of work.\n\nAnd so that's a tactic for managing it. I'll be honest. I think everyone should be honest about this sometimes it works better than other times. You know, I also like to try and keep myself somewhat fit-- a bit of running or cycling. And I try and sort of schedule those in. Sometimes that falls by the wayside. I think you can't do everything. in my case, I've got three kids at this point. And you know, I spend time with them. I can't also be a full-time athlete and a full-time engineering manager and whatever else is I want to do.\n\nAnd so you have to make choices and prioritize. And sometimes you have to just drop one thing or another. So I think to answer your question slightly more succinctly, it's about setting clear expectations, understanding what your priorities are at a given point in time, and then just sort of being strict about those. And I think that's the really important part is really holding a kind of firm line both ways.\n\nAnd personally, I'm very lucky. I have to say my wife, she works 60%, so three days a week. And we've kind of managed to balance that. So she works in the middle of the week, and I work Monday, Tuesday, Thursday, Friday. So we've kind of managed to spread a lot of it out. But she also has some flexibility, so if one or the other of us needs to come home earlier or stay later, we're kind of lucky to be in that situation as well.\n\n**CHRIS:** It's super important to have those boundaries.So you've been at Google for over 12 years now. What if you could go back in time, what advice would you give to your 12 year younger self?\n\n**STEPHEN:** I think the honest answer at this point is take opportunities that come up. In particular in Google, I know everyone doesn't work at such a large company with such a sort of diverse range of things going on. But one of the things I love at Google and one of the things that's kept me here is that diversity of opportunity and the ability that you've got. So I've been through three or four role profile or ladder changes. I've worked on the general and administrative side of the business, on the engineering side, on the operations side.\n\nI think the advice would probably be: take the opportunities that come up to see different parts of the company. And I know that sounds-- that's not a very useful answer because I feel like I did take some of that path, but maybe I'd say do some of it sooner. I ended up-- I said earlier I knew early on that finance wasn't the place I wanted to grow long term. I think maybe in hindsight I could have been a bit more intentional about seeking out some opportunities. But you know, hindsight is 20/20.\n\n**CHRIS:** I'd like to think that I would say yes to all those opportunities, but I hope when they're presented I would have your courage.\n\n**STEPHEN:** Like I said earlier, also some of those were circumstantial and luck and some intentionality, right? And I think maybe it's just-- yeah. I feel very lucky to be in a place where that opportunity exists, right? And that's something I am very open with my teams about, actually. And maybe it sounds weird for a manager to be telling people to think about mobility. But I feel like it would be sort of hypocritical of me not to be open about it with people in my teams because I've moved around so many times.\n\nAnd so I tell people very openly, like, if you've been in a role two or three years, thinking about mobility is not a bad thing. And by the way, here are some resources that you can think about. Would love to have you stay, but if you really want other opportunities, and we can't meet those, or it just makes sense for you to go do something else, like, let's also talk about that.\n\n**MP:** So thank you so much, Stephen, for joining us today. It's been an absolute pleasure having you on, getting to get a little bit more insight into the life of the SRE manager. Is there anywhere online folks can find you if they want to reach out?\n\n**STEPHEN:** Yep I think LinkedIn is probably the best place. And people can-- I'm happy for people to reach out to me there.\n\n**MP:** OK, we'll be sure to include a link to your LinkedIn, a link to your LinkedIn in our episode notes. Chris, did you have any parting thoughts for us?\n\n**CHRIS:** I just want to say a real big thanks to Stephen here for your time. This was amazing. I learned so much from you. I hope to be a really good SRE if you were a direct manager of mine, you be my manager because it sounds like you're really, really supportive and thoughtful and caring. I just want to say thank you so much for your time today.\n\n**STEPHEN:** Well, thanks for the kind words. And thanks for the opportunity as well. It was great to speak to all of you and share some of these stories. Thank you.\n\n**MP:** Thank you everyone. Until next time.\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Chris Wojno, and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 35751, "slov": 6599, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:04", "sha256": "b9330bddec3b4d50b72ef9d3a00ce72b1775a3a0b5a2339a7cb03eb3ad2be4ba", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05/", "titulek": "Google SRE - Life of SRE engineer at Google | sre mangement", "h1": "Life of An SRE with Stephen Benjamin", "popis": "Explore the role and responsibilities of an SRE manager with Stephen Benjamin. Learn about what it means to be a site reliability manager (SRM) at Google.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05"}, "headline": "Life of An SRE with Stephen Benjamin", "description": "Explore the role and responsibilities of an SRE manager with Stephen Benjamin.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Stephen Benjamin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Stephen Benjamin"}], "markdown": "# Life of An SRE with Stephen Benjamin\n\nExplore the role and responsibilities of an SRE manager with Stephen Benjamin.\n\n**MP:** Hello, and welcome to episode five of season two of the Google \"SRE Podcast,\" or as we affectionately refer to it, \"The Prodcast.\" So for this episode and the next episode, I have a new co-host. So I am-- first things first, I'm going to go ahead and let him introduce himself.\n\n**CHRIS:** Hi, I'm Chris. I'm a Noogler. I started working for Google back in May. At previous jobs, I've worked to speed up deployments through automation for a credit card processing fintech in Oakland, building an education-centered social network with Golang from scratch in LA. Prior to that, I was building and maintaining web infrastructure for terrestrial radio production and distribution in Arizona.\n\nI've been all over the stack in my tenure. I've built server rooms from scratch from cooling and network stacks to virtualization and storage clusters. I've built back-end servers. And I've created very terrible UIs. I'm brand new to managing systems at Google scale. And I'm very excited for the challenge and super excited to be part of \"The Prodcast.\"\n\n**MP:** Thank you for joining us, Chris.\n\n**CHRIS:** My pleasure.\n\n**MP:** So on this episode, we are going to have our first guest, who is a member of SRE management. So that's new and exciting. Everyone that we have spoken to so far has been an individual contributor. So now, we are going to get a little bit more insight into what it means to be a SRM or a site reliability manager. So I'm going to hand things over to our guest for him to introduce himself.\n\n**STEPHEN:** Thank you, MP. Hi, everyone. My name is Stephen. And I've been at Google a little over 12 years. I'm based in Zurich, always have worked for Google in Zurich but originally from the UK. And right now, I'm managing a team who build out the monitoring infrastructure or parts of for Google and other Alphabet companies.\n\nBefore Google, I was working for a finance company. And we can talk about how I went from finance to SRE management I think later on. And before that, studied electronic engineering for a few years and sustainable development. So very excited to be here. And this is my first podcast, Prodcast of any kind, so very excited to see how it goes.\n\n**MP:** Thank you for joining us.\n\n**CHRIS:** OK, cool. Thanks for the intro, Stephen. So I'm pretty new to Google. What does a site reliability manager do? What does your day look like?\n\n**STEPHEN:** So I guess the answer, which no one wants to hear, is it depends. It varies quite a lot depending on what you're focusing on and also what your focus as a manager is.\n\nSo right now, I primarily manage other managers. And so a lot of my time is spent working with them and other stakeholders and customers to try and align on, agree, and drive the priorities and expectations that we've got across my sets of teams and with our partner teams and customers. I think if you're a line manager, and by that, I mean someone who's typically managing a team of perhaps six or seven SREs in a traditional SRE team, then you may be more involved in the day-to-day operations of your team.\n\nSo some managers are, in fact, on-call for their services. I am not on call for a service, so I don't have that as part of my day-to-day, but I know that there are managers who are managing a single SRE team who would be perhaps involved in that on-call rotation. And I think it's a balance. Whichever level you're at, it's a balance between that sort of direct people management side of things and the more strategic team leadership, product leadership, organizational leadership aspects.\n\nAnd I think it does depend a bit on where you are in the cycle of things that you have to do as a manager. So that if you're in an annual planning cycle, you spend a lot more time on the non-people management side of things, thinking about how do you align your OKRs with your organization. How do you make sure you've got a good vision, and you've got plans that set you up for the next six, 12 months.\n\nHowever, if you're going through a performance review cycle, which we're heading into right now, then lots of your focus is going to be on understanding what the people who report to you have done in the last six to 12 months, and how you can reflect on that and talk about performance ratings and give coaching and feedback to people. So it really depends on where you are in that cycle. And of course, depending a bit on your organizational structure too.\n\nSo Stephen, you manage direct line managers, or do you manage other managers of managers?\n\n**STEPHEN:** No, my managers all are line managers at this point. So I have four managers reporting to me who manage between six and 15 people, which I will say up front 15 people is a non-ideal number for a manager. We're going through some growth in our team at the moment. And so they're sort of holding the fort for us as we grow out in a different site.\n\nSo I'm managing people in both Zurich and Munich. And the Munich site is a growth site for us. We have managers coming in January, thank goodness. But for now, I've got two folks in Zurich who are managing the people that we've hired in Munich until we have the managers ramped up there. But they are all-- they're not managing managers themselves. And I have one individual contributor also reporting to me.\n\n**CHRIS:** So you've come from a financial analyst background. That's pretty unique. How did you decide this is what you want to get into? What made you want to do it? Like, what was the process there **[AUDIO OUT]**\n\n**STEPHEN:** It was definitely a mixture of circumstance and luck and some intentionality as well for sure. But I want to be clear that it wasn't all planned out from the beginning. So as you said, I started out working for a finance company. This is an asset management company I moved to work for on basically a grad program when I left university. Moved to the States for a couple of years. Did a variety of different things.\n\nEnded up living in Zurich for personal reasons and was looking for a job. And Google was looking for a finance analyst to support the engineering and product management teams in Europe, Middle East, and Africa. And I thought, well, I worked for a finance company for a couple of years. And I've got an engineering degree of sorts, so engineering, finance analyst seems perfect.\n\nTook a punt on it. And thankfully, Google agreed that it was a punt worth taking. And so ended up, to my surprise, at Google in Zurich as a financial analyst.\n\nI think, very honestly, I knew fairly early on in that role that it wasn't somewhere I wanted to grow a long-term career. I worked with a lot of product managers, especially early on. And I loved the aspect of working with products, especially at Google scale. I mean, I think everyone here knows the scale that we're talking about.\n\nIt took me a long time to make that move. I had a few transient points in between. So as a finance analyst for about three and 1/2 years, ended up moving into one of the teams I was supporting was the emerging markets team. And we were rolling out products in various different countries. And I moved in to that team as a program manager doing business operations analysis, basically. I had a team of reporting analysts. We would look at how a product was rolling out, how we could optimize its performance or its roll out and its scale up, and providing information to teams on the ground who could then sort of adjust how they were doing things.\n\n**CHRIS:** How did you get involved in that?\n\n**STEPHEN:** So the former vice president of engineering and product for all of the EMEA-- Europe, Middle East, and Africa region-- was specifically leading this emerging markets initiative from Zurich. And I was, as the only finance person in Zurich, I think well-situated to be his finance support. So again, that's sort of partly where luck and circumstance just came into it.\n\nAnd so developed a very close working relationship with him. And that was a very, very exciting journey, which is probably subject of a different conversation. But we ended up ultimately growing this fairly big organization of about 300 people, very cross-functional engineering, but also sales, marketing. And working with him.\n\nAnd I talked to him regularly about where I'd like to go next in my career. So again, I was lucky to have a very senior person that I could sort of bounce these things off of. And eventually an opportunity came up to work in the operations part of the organization.\n\nSo I moved over there as a program manager and started work on this sort of business operations or business analytics team. And I think it was a good fit between pure program management and what I'd been doing in the finance team because it was sort of a mixture of reporting analysis but also sort of structuring programs and projects.\n\n**STEPHEN:** So as these things come to pass, the emerging markets team graduated and various parts of it went different product areas within Google. Some of the prods went on to be scaled beyond emerging markets. Other parts were folded in. The team I was part of went into the GO organization, specifically local business and data listings, mapping. And so the focus became very much more singular, focused on that rather than this broad spectrum of things we were doing in various different emerging markets countries.\n\nAnd so I ended up looking around for opportunities in Zurich that sort of felt more aligned with where I'd like to go. And SRE came along. And so I moved into SRE as a program manager. I mentioned that the team I was on previously moved into a different organization. And I just didn't have the same passion for the mission.\n\nAnd again, circumstance dictated that Zurich is a growing site. And I was lucky to have some opportunities and options around me. And for sure, that played a factor.\n\nAnd I met with one of the site leads for SRE at the time. And he was looking for actually three program managers. And he had some headcount to hire, some folks for those. And so I was lucky enough to actually kind of get to pick which of those three I wanted to work on.\n\nAnd the thing I ended up opting for was to work with him across two product areas, which were at the time called Apps and Social. Social was the team that used to manage Google+, if people remember that. And Apps is Gmail, Docs, Drive.\n\nBut the goal of that program or that role was basically, before I joined, Social had split from Gmail, technically. It had been a group of SREs that had sort of broken off to support Social and Google+ as it was scaling and growing. And so historically, they had been built upon a foundation of similar ways of tackling production management.\n\nBut over time, as you can imagine, there had been this divergence of approaches to managing their production systems. And the goal was really to try and structure a program that would help bring those two product areas back together on a technical footing so that they would reap the benefits of convergence in terms of lower overhead cost, lower maintenance cost for the teams, lower cognitive load for engineers, higher mobility for people between services. And so that was what my new manager was looking for was a program manager to basically come in and help structure that program, work across those two product areas.\n\nSo super challenging space for me to go into because I had no technical experience in Google at all. I came into SRE and probably honestly understood 50% or 60% of the words that people said to me for the first few months. And we talked about ambiguity earlier. That was definitely-- there my solution was write a lot of stuff down, ask a lot of questions, and sort of play the somewhat naive idiot in the room for a while.\n\nAnd I think I'd been at Google long enough I think, and I felt comfortable enough with the people I was working with to be able to do that. To ask a lot of questions, I think that's really important for people as they're ramping up into these new roles. And that's maybe something we can talk about later is how we kind of create that environment for people.\n\nBut it was very interesting because out of that sort of grew a track across all of SRE, which is called the Convergence Track, which I was working on with a couple other engineering managers at the time. I was still a program manager. And we were trying to basically drive some best practices and some actual technical convergence across SRE, different product areas and teams.\n\nThe thing that made that very challenging was that we didn't have any headcount for any of this. So we were doing it with a team of volunteers. And I think I remember listing it out at some point. We had probably about 120 people contributing in some way across all the different offices and SRE at some point, which sounds like a lot. But when they're all contributing 20%, it's never really 20%.\n\nAnd actually managing that is really, really hard. Everyone has really good intentions, but their ability to deliver something on a schedule at a certain amount of capacity of their own time is basically impossible to manage. So we kind of made, we made progress in fits and starts.\n\nTwo of the bigger projects that I was involved in from the early days were called Prodspec and Annealing. Those were the two projects, at least that I was involved in, that made the most progress.\n\nWe had a very dedicated group of volunteers who were really interested in solving some problems for their own teams and their teams around them. And I think that really helped because we could actually make some good progress. And we had managers who were very supportive of this as well.\n\nThis and multiple other projects covering different aspects of service management. So capacity management, monitoring is the team I now work in, and incident response management had similar types of volunteer driven projects, some of which were funded, but most of which weren't. And I think the key shift and the way to answer your question eventually, Chris, the key shift came when we actually got proper funding for these projects. There was a recognition in SRE that either we do this properly, and we put headcount behind these efforts, or we don't do them.\n\nAnd I can tell you as a program manager who was trying to manage even a bunch of 80% contributors, when you're trying to manage around on-call rotations and other schedules and competing demands and code yellows and whatever happens, it's really, really hard. So having this injection of actual headcount, I mean, it's night and day for where we are today compared to where we were running as a bunch of volunteer projects. At the time, I was program managing Prod Spec and Annealing, I think we had about 17 engineers working on the two projects in total, I think roughly. And I guess I was in the right place at the right time or the wrong place at the wrong time to be asked to take on management of those people directly.\n\nAnd I have to say, again, I'm really grateful to my manager at the time who-- we had a very open conversation about this. And said, look, this is a bit of a risk for both of us or an experiment. I was a program manager, not a technical program manager. So I hadn't been-- I hadn't done a transfer even onto the technical ladder. And I was working very much in the kind of like let's organize people, projects, agree priorities, track progress, drive progress rather than exercising a lot of technical judgment on the projects. I had built up a lot of state over time just naturally through osmosis.\n\nSo yeah, we agreed to take this chance. And well, five years later, it seems to have worked out. But it definitely was-- it was a chance that we both took kind of consciously but not necessarily knowing if it would be the right-- work out for me or the team or SRE.\n\n**MP:** I did have a question I wanted to throw in. So something that's come up a lot in our previous episodes has been the role of mentorship. So I would like to hear from you how mentorship has played a role in your time as an SRM, whatever your relationship with mentorship has been.\n\n**STEPHEN:** OK. So I said when I joined SRE, I was originally part of the Gmail SRE team. And I remember the first day I walked in, the thing that opened my eyes to the scale of the thing I was working with was someone put their head up above one of the desk dividers and said to someone else, oh, can you just check this thing for me? I need to move half a billion users from this data center to another data center. So I realized I was in a totally different world than the one I'd been in before where we were talking about a few thousands of users on our emerging markets products.\n\nAnd I kind of went from there. I didn't have any real technical exposure or background, especially to the things that Gmail was running at, the scale it was running at. And so in particular, I worked with a couple of engineers on some small starter projects. And they were super patient with me. And they were very-- they were low priority things. They were things that people felt like they would give me a good exposure to production, Gmail itself, and Google engineering more generally because it wasn't something I'd been exposed to.\n\nAnd so I'd say it wasn't necessarily a formal mentoring relationship but it was definitely an important informal mentoring relationship, where I would just sit with them and pair program kind of is the best way I can think of that in some ways, like a way through some of these things. I'd write something in a doc. I'd get some feedback from them on it.\n\nAnd then I'd try something. Inevitably, it wouldn't be quite right because doing stuff with Gmail is complicated as you could imagine. And then I'd sit with them and they'd sort of walk me through it. And I think having those patient sort of senior experts around me has been a hallmark of being able to actually be effective as a manager given my role and my path into the role.\n\nI think as I've taken on people management, I've definitely benefited from having mentors. Often, when I'm trying to deal with specific challenges-- so two things I know about myself, which I've had to really work on or with as I've grown as a people manager is that I'm a conflict-avoider. And I'm a people-pleaser.\n\nAnd those two things can make it difficult for you if you want to give someone feedback. And when you're not a manager, it's not really part of your job formally. Of course, everyone should try and give feedback, and ideally everyone does. But as a people manager, it's on the job description. At least once or twice a year, you have to give someone feedback on how they're doing.\n\nAnd I picked up a team of 17 direct reports overnight. And it had a wide spectrum of performance levels throughout the team. And some of which needed more support than others. And that was something that I definitely wasn't familiar or comfortable with, especially given my previously mentioned characteristics.\n\nAnd so that was something where I definitely relied heavily on experienced mentors. There was one engineering manager in SRE who it was very interesting. The first time he sat down with me to talk to me about people management, he just gave me effectively a lecture on physiology and psychology of how people react to challenging circumstances, like this fight, flight, or freeze kind of reaction.\n\nAnd the whole thing there was to build up to when you're giving someone-- having difficult conversations, you need to understand what's going on inside them as a human being, as a person who has a physiological reaction to being given some difficult news. And I found that really fascinating that was the first thing that he thought he should share with me as a manager. But it really stuck with me that you will have these hard conversations. And they won't be easy. And the other person on their end is much harder for them. And they have a physical reaction to it.\n\nAnd so sometimes you need to have those conversations in two parts, maybe even five minutes or an hour or a day or a week to then come back to it and have a rational conversation. So that was really important. And that person I stayed with them as a mentee for quite a while. I'd meet with them at least every two weeks just to talk about things I was going through and their experiences. They were a very experienced people manager.\n\n**CHRIS:** How did you find these mentors **[AUDIO OUT]**\n\n**STEPHEN:** So in this previous case, they were sort of an obvious choice because they were one of the three or four senior engineering leads or managers at the time in Zurich. And I wasn't working with them directly, so I think that helped because they were sort of somewhat removed from the circumstances I was in and could be a bit more objective, so that helped. Other times, I've asked colleagues around me who they've worked with, who do they recommend, and that's been useful as well. That's helped me connect to some senior folks outside the Zurich office, outside of SRE who have a very different or a more objective perspective and experience that's relevant.\n\nI don't think I've used any of the formal mentoring mentee pairing programs at Google as a mentee at least. So it's really been about trying to exercise my network a little bit around me. I was lucky because I've been through various different parts of Google. I've got a decent network of people that I've worked with in the past. And I try and foster and maintain some of that. And I think having people outside of SRE has been helpful just to fall back on to ask not random questions but sort of somewhat random questions.\n\n**CHRIS:** Some external perspective.\n\n**STEPHEN:** Right, exactly.\n\n**CHRIS:** So it seems like you have a lot of trust in your engineers. How do you build and maintain that level of trust\n\n**STEPHEN:** So I'd say, as a person-- and again, this is something I've kind of **[AUDIO OUT]** I think it's important to know about yourself as a manager or as an individual contributor. I don't think it really matters. But one of the things I know about myself is that I tend to start from a position of trusting everyone. And so I don't rely on someone to build that level of trust with me beforehand. I kind of try and walk into most circumstances assuming that I can trust this person. And I don't mean on a sort of deeply personal level. I mean, if we talk about something professional, it will probably get done to a decent standard.\n\nSo I think that's just a starting point for me. Now, that can sometimes backfire. You pick up 17 engineers overnight. You don't know all of them that well. But that's just always been my starting point.\n\nSo it's probably obvious to say that trust is a two-way street, right? Also, when I started managing these folks, they didn't pick their manager. I didn't pick my team. That was an interesting situation for all of us to be in. Plus, for them, they had someone who had never been a manager before. So this was sort of uncharted territory for most of them probably as well.\n\nSo I think it was about for me establishing myself as someone who was there to support them. And also, I tend to be, as I mentioned earlier, I rely heavily on having partnerships with strong technical leads and folks around me for the technical aspects. I didn't mention it, but maybe it's implicit, but my technical background as it goes is electronic engineering. I don't have any formal software engineering background. So I'm not the person in the room that's going to be leading the charge on how we technically solve a problem. I am the person that will identify the best people to help us and really create a space where they can contribute and drive the discussion and decisions and help them kind of work through that.\n\nAnd I think I tried to always be clear with people in the team that that was my role. I wasn't there to make the technical decisions for them. I was there to enable them to do their work.\n\nSo I think when I started out as a people manager, people already had projects on the go. And I definitely did not walk in and try and create waves and assert any formal authority as a people manager. Much more, it was about let me understand the set of things that people are working on. And then over time try and work out how does that align with priorities.\n\nI think what was important is there was some organizational context around this as well. So the organization that we were in was going through lots of change. And so trying to also help them navigate through that. And again, by demonstrating that I was there to communicate those changes to them, help them understand them, build a team structure that kind of made sense was one way I tried to build trust with them.\n\nAnd I think modeling, going back to maybe to finish the point, I mentioned sort of being clear that I didn't know-- I wasn't there as the technical expert. I think that was important. I said earlier I asked a lot of questions. I continue to do that to this day. And I think that's important for managers and leaders to kind of model that openness to not knowing something and creating a space where it's all right to ask the questions.\n\nOftentimes, I ask a question because I just don't know the answer. Sometimes it's also because I perceive that perhaps other people also don't know the answer, and it would be helpful for others to hear that. And I think if you as a senior person in the room can set that tone, I think it's really important for creating that environment where others feel like they can also put their hand up.\n\n**CHRIS:** So you were just this newly minted manager. And I've been working in industry for a long time. I have mad imposter syndrome. Did you have imposter syndrome signing on to this position? And if so, how did you deal with that?\n\n**STEPHEN:** Yeah, imposter syndrome and I are good friends, I think. So I think one thing that helped me is that I hadn't come into SRE from an individual contributor background as a software engineer or a systems engineer. Everyone knew where I came from.\n\nAnd so I was very clear that this is my strengths. I think I'm good at organizing people. Hopefully, I will become good as a people manager over time helping support their career development. Everyone knows I don't come into this as a tech lead who's now also managing people. So that definitely helped.\n\nHaving said that, it also means that sometimes I'm in conversations, even today honestly, people tell me things that I feel like I really should know what that thing actually means. I'm not going to give an example because that would feed my imposter syndrome too much and probably validate everyone listening that, oh, Stephen shouldn't be here, so,jokes aside-- I still get that today.\n\nAnd one piece of feedback I had in the past actually was that sometimes it's natural to have-- I think everyone, everyone suffers from imposter syndrome to a certain extent at different points in their career and to different levels.\n\n**MP:** So in my personal head canon of what managers do every day is mostly being buried in meetings and short on time, which I don't think you've directly contradicted at any point today. Sounds like managing is quite its own unique challenge. But I am curious, how do you maintain a healthy work-life balance with the particular time demands, structured time demands that management usually requires?\n\n**Stephen:** So first of all, I think probably worth at this point saying that I work part-time. I think that's an important context for people listening. It's not an everyday circumstance-- that not many Googlers or managers work part-time. I've been working 80%, which is four days a week, for a little over three years now. And I think that was a big part of me trying to manage my kind of overall balance between working time and life or life outside of work because I think I spend a big proportion of my life at work.\n\nI have mixed feelings about the kind of work-life balance expression because I'm not sure it is always a balance. I think sometimes it's a case of prioritization. And that's sort of how I try and treat it. So sometimes, depending on what's going on at home or at work, I tend to emphasize one more than the other.\n\nOne thing that I had done before I was part-time when I joined SRE, which is at this point eight years ago, which shocks me to think about the number, is that I was already leaving early on Wednesdays. I had two young kids at that point already. And we had some commitments at home, which I basically had committed to my wife that I was going to be around at home to take on.\n\nAnd so when I joined the team, everyone knew that I left the office at 3:00 on Wednesdays, and nothing could happen after that for me work wise. To the extent that there was a cross site team meeting that happened on Wednesday afternoons with Sunnyvale. And I said I can't be there. If you want me in the meeting, the meeting will need to move. And they said, it's fine. We don't need you in the meeting. And so we just kept it where it was. And I think it was a very explicit expectation between me and the team about my working patterns.\n\nSo I think I've put very explicit structures and times in general around my time. Maybe it's worth mentioning at this point, we're recording this at, for me, 9:00 PM on a Monday evening. And I'm not saying that to come across as some hero. I didn't start the day until 11:30 this morning. And I stopped half an hour later for lunch. So I definitely shift my day to cover the US once or twice a week. And I think that's important, right?\n\nThe reality is that we work in a global company. And you need to have some flexibility. And so I take that by working late on Mondays, but I start late. But I basically don't work after 5:30 on a Tuesday because I need to be back home to help. And Thursday is sort of my wild card day where I can flex it one way or the other, depending on what I need to do.\n\nI guess it comes back to that comment I made a minute ago of it's where the priority is at a given time. And so sometimes, I got something happening at home. I've made a commitment to one of my kids that I'm going to be there to watch a thing. And that goes in my calendar.\n\nAnd I have to say, you mentioned sort of meetings and calendars, and I live and die by my calendar. But my team also know that. So if they can find me in my calendar and there's a free slot, it's very explicit. I have office hours, which is a standing slot which people can book. But also, if they want to talk to me about something, there's an open slot on my calendar. I'm very religious about keeping it up to date. And so people know where I'm going to be and when. And I think that's really important from setting expectations inside and outside of work.\n\nAnd so that's a tactic for managing it. I'll be honest. I think everyone should be honest about this sometimes it works better than other times. You know, I also like to try and keep myself somewhat fit-- a bit of running or cycling. And I try and sort of schedule those in. Sometimes that falls by the wayside. I think you can't do everything. in my case, I've got three kids at this point. And you know, I spend time with them. I can't also be a full-time athlete and a full-time engineering manager and whatever else is I want to do.\n\nAnd so you have to make choices and prioritize. And sometimes you have to just drop one thing or another. So I think to answer your question slightly more succinctly, it's about setting clear expectations, understanding what your priorities are at a given point in time, and then just sort of being strict about those. And I think that's the really important part is really holding a kind of firm line both ways.\n\nAnd personally, I'm very lucky. I have to say my wife, she works 60%, so three days a week. And we've kind of managed to balance that. So she works in the middle of the week, and I work Monday, Tuesday, Thursday, Friday. So we've kind of managed to spread a lot of it out. But she also has some flexibility, so if one or the other of us needs to come home earlier or stay later, we're kind of lucky to be in that situation as well.\n\n**CHRIS:** It's super important to have those boundaries.So you've been at Google for over 12 years now. What if you could go back in time, what advice would you give to your 12 year younger self?\n\n**STEPHEN:** I think the honest answer at this point is take opportunities that come up. In particular in Google, I know everyone doesn't work at such a large company with such a sort of diverse range of things going on. But one of the things I love at Google and one of the things that's kept me here is that diversity of opportunity and the ability that you've got. So I've been through three or four role profile or ladder changes. I've worked on the general and administrative side of the business, on the engineering side, on the operations side.\n\nI think the advice would probably be: take the opportunities that come up to see different parts of the company. And I know that sounds-- that's not a very useful answer because I feel like I did take some of that path, but maybe I'd say do some of it sooner. I ended up-- I said earlier I knew early on that finance wasn't the place I wanted to grow long term. I think maybe in hindsight I could have been a bit more intentional about seeking out some opportunities. But you know, hindsight is 20/20.\n\n**CHRIS:** I'd like to think that I would say yes to all those opportunities, but I hope when they're presented I would have your courage.\n\n**STEPHEN:** Like I said earlier, also some of those were circumstantial and luck and some intentionality, right? And I think maybe it's just-- yeah. I feel very lucky to be in a place where that opportunity exists, right? And that's something I am very open with my teams about, actually. And maybe it sounds weird for a manager to be telling people to think about mobility. But I feel like it would be sort of hypocritical of me not to be open about it with people in my teams because I've moved around so many times.\n\nAnd so I tell people very openly, like, if you've been in a role two or three years, thinking about mobility is not a bad thing. And by the way, here are some resources that you can think about. Would love to have you stay, but if you really want other opportunities, and we can't meet those, or it just makes sense for you to go do something else, like, let's also talk about that.\n\n**MP:** So thank you so much, Stephen, for joining us today. It's been an absolute pleasure having you on, getting to get a little bit more insight into the life of the SRE manager. Is there anywhere online folks can find you if they want to reach out?\n\n**STEPHEN:** Yep I think LinkedIn is probably the best place. And people can-- I'm happy for people to reach out to me there.\n\n**MP:** OK, we'll be sure to include a link to your LinkedIn, a link to your LinkedIn in our episode notes. Chris, did you have any parting thoughts for us?\n\n**CHRIS:** I just want to say a real big thanks to Stephen here for your time. This was amazing. I learned so much from you. I hope to be a really good SRE if you were a direct manager of mine, you be my manager because it sounds like you're really, really supportive and thoughtful and caring. I just want to say thank you so much for your time today.\n\n**STEPHEN:** Well, thanks for the kind words. And thanks for the opportunity as well. It was great to speak to all of you and share some of these stories. Thank you.\n\n**MP:** Thank you everyone. Until next time.\n\n**VOICEOVER:** \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Chris Wojno, and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 35751, "slov": 6599, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:32", "sha256": "b9330bddec3b4d50b72ef9d3a00ce72b1775a3a0b5a2339a7cb03eb3ad2be4ba", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06", "titulek": "Google SRE - Life of An SRE with Dave Reisner", "h1": "Life of An SRE with Dave Reisner", "popis": "SRE at Google with Dave Reisner, hear about his path to staff sre. This episode highlights the value of strong mentoring, manager relationship and the challenges of balancing work and life.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06"}, "headline": "Life of An SRE with Dave Reisner", "description": "Dave Reisner talks about his path to Staff SRE, from ArchLinux contributor through DevOps to software engineer. This episode emphasizes the value of strong mentoring and manager relationships, and the challenges of work-life balance.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Dave Reisner"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Dave Reisner"}], "markdown": "# Life of An SRE with Dave Reisner\n\nDave Reisner talks about his path to Staff SRE, from ArchLinux contributor through DevOps to software engineer. This episode emphasizes the value of strong mentoring and manager relationships, and the challenges of work-life balance.\n\n**MP ENGLISH:** Hello, and welcome to Episode 6 of Season 2 of the Google SRE Podcast-- or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me again as co-host is Chris.\n\n**CHRIS WOJNO:** Hello.\n\n**MP:** And today we have with us a staff level SRE here at Google who has had quite the interesting professional journey. I'm very looking forward to hearing more about his experiences. So I'm going to turn things over to him, and let him introduce himself.\n\n**DAVE REISNER:** Hey. Thanks for having me here. I'm Dave Reisner. As mentioned, I'm a staff SRE at Google. I've been here a little over 11 years, spending about nine of those working on Maps. I got started with computers at a really early age. Do we want to go into this kind of detail at this point?\n\n**MP:** Really superficial, because then we're going to follow up to get more into the nitty gritty.\n\n**DAVE:** Of all the things I wrote down, I did not think of an intro. **[LAUGHS]**\n\n**MP:** Well, you can follow up with \"as a kid, you got into computers.\"\n\n**DAVE:** So as a kid, I got into computers. And I learned at an early age that this was really something that was a lot of fun for me. I look at it largely as problem solving. But also, it was an interesting way to spend time and make my brain work. So I think the first thing I did was I learned how to type load and run so I could play games on my family's Commodore 64.\n\n**CHRIS:** Cool. Do you want to just touch briefly on what they do, or should we just keep going?\n\n**DAVE:** Touch briefly on?\n\n**CHRIS:** It was kind of an old interview. Do you want to touch on something more recent, or should we save that for the rest of the interview?\n\n**DAVE:** I'm sorry. I having a little trouble hearing you today, Chris.\n\n**CHRIS:** Is it better?\n\n**MP:** Yes.\n\n**CHRIS:** OK, sorry. I just got to get super friendly with it. OK, should we keep going with another short part of the introduction, or should we just jump straight in and make that part of the interview?\n\n**DAVE:**I say jump straight in.\n\n**CHRIS:** OK, cool. Big pleasure to meet you, Dave. Thanks for joining us today. So you started as a Linux developer. Can you give me, somebody who is not super familiar with that world, an idea of what that was like?\n\n**DAVE:** Yeah. So I got involved with Arch Linux a while back. This was the result of me installing Linux as a replacement for Windows, just to tinker and play around with it. I had tried it for years and failed, working with multiple installation CDs for RedHat, or Debian, or whatever the flavor of the month was.\n\nI eventually came around to Arch Linux, which really was kind of bare bones. You got what you saw. And it was really easy to dig into and modify. There were a bunch of projects that they had. And I eventually ended up as a developer working on the package manager known as pacman.\n\nMost of my contributions there were around working on the downloader. So that would be the piece of the package manager that fetched the actual tarballs, the software from the repositories. I'd replaced an old implementation based on what was called LibFetch, taken from one of the BSDs. And used libcurl instead, which is far more widespread, much more featureful, and actually made things faster in the process.\n\nIn addition to the work on the package manager, I was also dealing with the everyday responsibilities of package management. So I was taking care of a number of packages for the distribution, and curating them for users to download and install.\n\n**CHRIS:** So you were in the belly of the beast, and you even became a sponsored developer. What's that about?\n\n**DAVE:** So in Arch, there's two kinds of roles. In Arch Linux, there's trusted users, and then there's also developers. I had started as a trusted user, but it's not super interesting for this conversation.\n\n**CHRIS:** Sure. So how'd you go from working on Arch Linux, and you made it with Zagat, the restaurant?\n\n**DAVE:** Yeah, Zagat.\n\n**CHRIS:** Zagat. Sorry.\n\n**DAVE:** \"Zag-gat,\" like the cat.\n\n**CHRIS:** So I'll redo that one. So how do you go from Linux to working with Zagat, the restaurant review site?\n\n**DAVE:** It's funny. At some point a Google recruiter actually had reached out to everybody on the Arch Linux developer list and said, hey, do you want to interview as an SRE at Google? And I said, sure, why not? What could possibly go wrong? It's worth the opportunity.\n\nI made it through the phone screen. I got my first phone interview. I said some things that were absolutely not correct, and I knew it as soon as I hung up the phone. I never heard back from them again.\n\n**[LAUGHTER]**\n\nSo I ended up working for Zagat through a friend of mine who I went to school with at the time. He had gotten a job as a developer there. They were working on relaunching their website. They had completely burned down and restaffed their development team, and they wanted someone to do automated QA.\n\nSo they were writing selenium tests against the new side to prove the functionality. And this friend of mine, who actually didn't know me very well, spoke up and said, hey, I know this guy. He'd be great for the job. You should hire him.\n\nSo I got an interview with Zagat. Before they even posted the job publicly, I took it on. As part of that interview, one of the developers who I talked to actually said, hey, you can hire this guy. But you need to find him something new to do, because in six months he's going to be bored.\n\nSo from there, we launched the new site. And I started asking questions about who's going to be running this thing? Who's going to be watching it? Do we have anyone carrying a pager?\n\nGot a resounding silence from this. I at that point piped up and said, happy to do it. I'm pretty familiar with these systems at this point. I can absolutely do that for you.\n\n**CHRIS:** So you started their SRE program at Zagat?\n\n**DAVE:** Yeah, they actually gave me the title of DevOps at some point. But if you want to think of it as SRE, it was sort of that. I had the coding background that I had taught myself. And I feel like I came at it from more of an SRE angle than a DevOps angle.\n\n**CHRIS:** So what made you think that they needed somebody to hold a pager?\n\n**[LAUGHS]**\n\n**DAVE:** I guess it was just a matter of thinking this is a production site that was serving hundreds of users. And they were going to want to know if the site was unresponsive, if it was down. It was really there to provide value for users, and we wanted to have it available as much as possible.\n\n**CHRIS:** So what struggles did you grapple with when trying to move from something like Arch Linux to a company like Zagat?\n\n**DAVE:** Interesting. I actually feel like a lot of it was transferable. Zagat gave me the opportunity to provide whatever operating system I wanted on my workstation, so I very quickly went to Linux.\n\nA lot of what I was dealing with initially was just working in Selenium and the WebDriver tests. So I think a lot of what I learned from Arch was immediately transferable to Zagat. And over time, I had built up more of an arsenal working with other colleagues there to understand more about the ecosystem, and more about the production environment that they were deploying to.\n\n**CHRIS:** So I guess my question is more on a personal/professional kind of phrase. Let me see if I can rephrase it. Were there any career struggles that you had when moving from Arch Linux to Zagat?\n\n**DAVE:** I think it was more of a cultural shift, if that's what you're getting at. Zagat was a company that was very much not tech first. They were a company that happened to employ some developers. And so there was a big push-pull between products and development in terms of understanding what could be done and using the very small developer team as a tool for solving a problem, and not asking them how can we best approach this.\n\nWhereas with Arch Linux, it was very much the wild west. Very loose knit collaboration between a bunch of people in very different time zones, very different priorities. We were all volunteers, and no one really held us accountable.\n\n**CHRIS:** Speaking of having very little structure to much more structure …\n\n**DAVE:** Yeah, I think that's a good way of putting it.\n\n**CHRIS:** So what were your strategies for overcoming some of these struggles? Was there mentorship? Was it friends from outside the company? How did you build up support?\n\n**DAVE:** I think it was a matter of working with my fellow developers. I pretty quickly made friends with them. It definitely fit in terms of age and interests, there was some after work events. I think much like most of my career, I've been driven enough to teach myself. And I generally learn by doing, and curiosity, and hacking on things until they break and then fixing them.\n\n**CHRIS:** Sure. Cool. Speaking of culture shifts, can you tell us how you then found yourself at Google?\n\n**DAVE:** Sure. So about a week short of a year, I'm at Zagat. And suddenly there's a lot of people in the office who I don't recognize. One of them looks a lot like Marissa Mayer, who was running Search at the time.\n\nVery quietly, they gathered everybody together. And they said, hey, by the way, Zagat has been acquired. Your new overlords are Google. You might have heard of them. Which was just this crazy shock to everybody in the room.\n\nWe went from going out for lunch every day as a team, to find some sandwich shop or bibimbap on the street, to having catered lunch brought in every day, and the typical TGIF wine and beer brought in on Friday evenings. So that was quite the change.\n\n**CHRIS:** Can you talk more about the acquisition process? How did your responsibilities and expectations change?\n\n**DAVE:** So the first job I had for Google was essentially to close down the Zagat office. My part of that was we had a couple of servers on site up at Columbus Circle, and we need to get those off of the hardware onto Google Colos in order to close down the office, give up the real estate, and save some money. So that was my first six months.\n\nSo after that, I spent a few more months working with the Zagat group, continuing to develop the Zagat product under Geo within Google. And my manager at the time pulled me aside at some point and said, hey, I need to get you in contact with someone else in Geo, because you need to move on. There's better opportunities out there for you. You're squandering your abilities here.\n\nAnd so she got me in touch with the manager of a team called Map Facts, which was working on the canonical data store for all of the data that you see today on Maps. And after a quick lunch interview, he had offered me a position as a software developer in their team. At the time, I was acquired with a title of systems administrator, and so I was pretty curious about how this was going to work out.\n\nIt turns out that it's entirely possible to get promoted doing software engineering work on the systems administrator ladder, and that's not a problem. [LAUGHS] But I eventually did go through the ladder transfer process, and became a proper software engineer. So despite my failures as a external interviewee, interviewing internally and getting recommendations from co-workers was a much more fruitful path.\n\n**CHRIS:** Now, when you moved on to the SWE ladder, were you in a SWE role? Or have you been with SRE from the moment you came off of the system administrator ladder?\n\n**DAVE:** No. I was actually a developer in the Geo organization for about a year and a half before I made the jump over to SRE.\n\nCHRIS: So you said there was a person that suggested that you need to get out. That was your manager?\n\n**DAVE:** That was my manager from Zagat who had moved over to Google.\n\n**CHRIS:** And so this manager just randomly one day pulled you aside, was like, you need to be doing something different? What prompted that conversation?\n\n**DAVE:** I think it was her recognition that I was probably bored in that role, and she was right. I was writing Java, and I wasn't terribly interested in the language or the actual work. But she was always looking out for me.\n\nShe was the one who interviewed me initially for Zagat. She was the one who gave me the opportunity to hop into the DevOps role. She saw that I had abilities that were not being well spent in my current position, and she wanted to help me out.\n\n**CHRIS:** Did you realize you were bored at that time?\n\n**DAVE:** Absolutely.\n\n**CHRIS:** That sounds like you had a great manager.\n\n**DAVE:** I did. I've had a lot of great managers at Google. I've been very fortunate.\n\n**CHRIS:** So then, how did you end up in SRE from the SWE role?\n\n**DAVE:** So while working on a SWE, I realized that I had a very big interest in, not just writing the code, but how is it deployed? How is it run? We use a system called Borg that does all of our scheduling for us. And it was very complicated, very much a black box when I started.\n\nI wanted to know more, because I realized that it was going to be a very key part of my job. I think this is, again, just the way my brain works. I see something that I don't understand, I want to learn more about it. I want to be able to debug it.\n\nAnd that turns out to be the SRE mindset. A number of people along the way kind of hinted at me, like hey, you should probably be an SRE. It seems like you're pretty cut out for it.\n\nAbout a year after I joined software engineering, I got wind of a new GEO data SRE team starting in New York City. This was going to be third site of GEO SRE. They previously had sites in Zurich and Sydney, and they wanted to expand to a third site focused on some of the data ingest systems in Maps.\n\n**CHRIS:** You mentioned just wanting to dive in and learn all about all the systems. I'm fairly new to Google. I started just a few months ago.\n\nHow do you avoid getting stuck in all these rabbit holes? Because you could just sit there and read for hours and days and days and days and days. How do you avoid that?\n\n**DAVE:** It's difficult to figure out where to quit. I think early on I realized that the more time I could spend learning, the more I was going to help myself in the future. It was like I wanted to bootstrap myself. This gets into work/life balance a bit. What's a good way of figuring out when you know enough? [LAUGHS]\n\n**CHRIS:** I'm still looking for that answer myself.\n\n**DAVE:** Yeah.\n\n**CHRIS:** Well, I think that is the answer and the challenge at the same time, isn't it? You have a new task that you're not really sure how to accomplish. You have to learn almost just enough, maybe slightly more than necessary to learn the task, but not go further than that. Because then you're going to have a new task, and you're going to have to learn a new set of things.\n\n**DAVE:** Right. I think the challenge is learning enough, and maybe a little more than that. And figuring out what's the fine line between being confident with what you've learned, since you might be learning on your own and don't have someone else to bounce those ideas off of, and spending all of your time going down that rabbit hole.\n\nSo it's a matter of, let's get the task done. Let's learn just enough, and a little more, and then move on to the next thing. But maybe also make a note of it for some kind of rainy day when you might have some free time to go back to that thing.\n\n**CHRIS:** What are the differences between an SWE and just an SE? We should probably cover your transition back. Have we done that already-- your transition back to a systems engineer?\n\n**DAVE:** SRE-SWE and SRE-SE?\n\n**CHRIS:** Yeah. I think we can cover your transition back, and then we can switch over to that question.\n\n**DAVE:** I'm not sure we want to cover that. Because the SRE role does exist. I don't know if we hire into it anymore.\n\n**CHRIS:** Which one?\n\n**DAVE:** SRE SE.\n\n**CHRIS:** I think we still have the two hiring tracks.\n\n**DAVE:** OK.\n\n**CHRIS:** My understanding the distinction is mostly around recruitment. That once you're here, you can do either work. But that the SWE SREs have complete freedom to transfer into full time to pure SWE roles, while SE SREs would have to re-interview internally to transfer to the SWE ladder. I know this as an SE SRE.\n\n**[LAUGHTER]**\n\n**DAVE:** Right. So I guess I had both sides of it. My experience is that the differences are so strange. Is this something we want to get into? It's a matter of who reviews your promo packet over a certain level. The work that you do is totally the same, the ladders are written the same.\n\n**CHRIS:** I just assumed there was a difference. I didn't know there was no distinction.\n\n**DAVE:** It's so bizarre. I don't know why they exist. But yeah, I was an SRE SWE. And as part of my five to six promo was asked, we will give you the five to six if you want to take the SRE SE role-- which was like, yeah, duh. **[LAUGHS]**\n\n**CHRIS:** I think it's really subtle differences in the nature of the work you're doing. The performance expectations don't change, but you're expected to be doing more systems-y problems, or more software-y problems.\n\n**DAVE:** And that also varies by team even.\n\n**CHRIS:** Yeah, I don't think it's great context for here. I'm actually going to do a lead in to an actual question that we'll want to keep-- tangent done. How has your career progressed since you landed in the Geodata SRE team?\n\n**DAVE:** I think that over time there's a few things that I've noticed. The scope and complexity of the projects that I'm working on has increased. The length of the arc of work has increased. As an example, I've started off solving problems that were just given to me. That's kind of like the level three expectation.\n\n**CHRIS:** I just want to add for folks outside of Google, just to make the conversation a little easier for everyone. When we say \"level three,\" we're usually talking about traditional junior level. It's the entry level SRE role. I think actually we should reset and avoid the level numbers, and instead use--\n\n**DAVE:** I'll say junior.\n\n**CHRIS:** Yeah, junior, mid-level, senior-- use those terms. Because those will translate outside of Google.\n\n**DAVE:** Cool. That's fine. So there's a few patterns that I've noticed about my work over the past eight or so years. The first is that the scope and complexity have generally increased over time, and that the length of the arc of work has increased.\n\nSo I started off as a junior engineer, solving problems that were given to me. And this maybe takes a quarter or two to solve each of these problems. And over time, I've moved towards defining these problems in a given area, writing designs, delegating, working beyond just myself. And maybe we're looking at two to four quarters per project.\n\nWhereas now, I'm looking at more ambiguous areas with broader problems, writing roadmaps to propose project work, and solving those problems with a team of maybe three to four people. And that's probably a span of a year or more. I think my latest work is going on now 12, 18 months.\n\nCHRIS: Can you speak a little bit to leadership and team management, but not people management, as an individual contributor? Because I think that's a really important distinction, is that individual contributors do lead and manage, but they're not people managers. Can you share a little bit about that distinction?\n\n**DAVE:** Yeah, that's a great point. I think as an individual contributor, there is absolutely still room for technical leadership. So that may be a matter of bringing some problem to the table and being able to dissect it down to multiple individual problems which you can then delegate to other folks, help guide them through that process.\n\nAnd so you end up with something of a pyramid scheme going on here, where you're at the top. Maybe you have all of the ideas, and you delegate down some of those larger problems to folks who are below you. And they may be delegate even smaller problems down to folks below them. And so you kind of all work as a team towards the end goal. But that goes back to what I was talking about with scope and complexity, whereas you have these small problems at the bottom that kind of build up to something larger over time.\n\n**CHRIS:** In what ways do you provide support to people you delegate your tasks to?\n\n**DAVE:** I think there's a couple of things here. I think one of them is obviously code reviews. I think another one is debugging.\n\nBased on my tenure in Geo, I have a lot of knowledge about a lot of the systems that we depend on-- not just the generic Google infrastructure bits, but a lot of the Geo infrastructure bits. I understand how they're wired. I know how they work together. I know how they break. And so navigating those is a huge help to folks who don't necessarily have that experience.\n\n**CHRIS:** So on the flip side, who helps you when you need help? Who is your rock in SRE?\n\n**DAVE:** [LAUGHS] I wish I had one.\n\n**[LAUGHTER]**\n\nSlightly rocky interview. [LAUGHS] Let's see, who do I go to for help?\n\n**CHRIS:** I mean, how has that changed over time even?\n\n**DAVE:** This goes into the mentorship thing a little bit. I think over the years there's been a couple of people that I've admired who have had skill sets similar to mine who have been able to dig into things at a really low level, usually in the realm of performance debugging, and really found the right tool and inserted it in the right place to be able to figure out, ha, that's why that's slow. That's why that's throwing errors.\n\nNot to say that I don't think I do this well. But I think there's been a number of times when colleagues have just shown themselves to be extremely clever and just had the foresight to figure out where to thread the needle.\n\n**CHRIS:** So I'm hoping we can get more into-- I don't want to say personal struggles-- but if you've had any moments where you're just unsure of yourself and/or maybe things are a bit of a struggle emotionally. How have you gotten yourself help, or how have people reached out to you and helped you when they've noticed that you've needed it?\n\n**DAVE:** Should we talk about the pandemic? [LAUGHS]\n\n**CHRIS:** Sure.\n\n**DAVE:** Holy crap. So where do we start? I can definitely tell you about a time where I've struggled.\n\nIt was about March 2020 when the pandemic hit New York City. Me and my wife are living in a small Manhattan apartment. She is a nurse working in the emergency department in Queens, which happened to be very close to the epicenter of the COVID-19 pandemic in Manhattan.\n\n**CHRIS:** So you were dealing with COVID quarantine restrictions, and trying to make sure that your wife is safe, and you're safe.\n\n**DAVE:** Yep, and suddenly I'm working 24/7 hours a day from a tiny Manhattan apartment. Lockdown restrictions were very difficult. It was eerie to walk around on the streets. You never knew if you were safe. There was very much a feeling of doom and gloom all around.\n\nI think during that time I favored comforting my wife and helping her through her day, because I didn't feel like there was anything better that I could do with my time. At the same time, work was kind of a mess. We were all struggling to figure out, not just how do we continue to work from home during this pandemic, but how do we best leverage Maps to help other people?\n\nJust before the pandemic, I had taken on a role as the area tech lead for Geo SRE. In hindsight, I'm not sure it was the best decision for me. Not just because of timing, but because I felt like it was something that I needed to do without really understanding what the role was.\n\nLong story short, I got myself out of that role. That was the second best thing that I could have done for myself at that time. The first best thing I could have done for myself at that time was moving out of Manhattan to the suburbs, where we had a lot more room and we were much more comfortable. And have a real office now.\n\n**CHRIS:** Was there anyone that helped you along with that at Google, or maybe outside of Google?\n\n**DAVE:** Yeah. I think one mistake that I made was I under communicated all of this. Once I opened up to my manager, he was really supportive. There were things that I could have done in hindsight that would have been helpful to me. But he helped me through what I see as a very rocky part in my career.\n\n**CHRIS:** So if you could go back in time and tell yourself those things, what would you tell yourself before taking that position?\n\n**DAVE:** It's not where I thought you were going with that question. I think it's a matter of being realistic about what you think your strengths are. So I took over the area tech lead role from someone who had written a document describing their time as the area tech lead. They essentially concluded that Geo SRE, at the time, was not really set up organizationally to have that kind of role. And I took on that role not really having an answer for that.\n\nI think that was my mistake. I didn't see how to fill that role in the organization as it currently was. And so when I stepped down from that role, I essentially wrote the same doc reiterating a lot of the same points that he made. The organization needs to change. It's not just that it's a difficult role with a lot of complexities.\n\n**CHRIS:** That's fair. And so you've got your house. You've expanded out into the suburbs. You've got something a little bit bigger.\n\nWhat other ways have you tried to maintain a healthy work/life balance? How do you close the laptop lid at the end of the day, so to speak?\n\n**DAVE:** So I think over time this has evolved for me. When I lived in the city, there were always a lot of things to do. There was always parks nearby. It was easy to go out and just take a walk.\n\nI think that there were definitely times when I was young and motivated, and maybe I spent a little bit too much time at work. But I was motivated, and I was having fun, and I was ambitious and wanted to move through the ladder. I think lately it's more about hanging out with neighbors, finding time to go to the gym, taking walks, hanging out with my cat.\n\n**CHRIS:** It's super healthy and important to recharge. Any tips or tricks for how to make sure that you're not overdoing it?\n\n**DAVE:** A chess clock. [LAUGHS] 40 hours a week.\n\n**CHRIS:** Literally a chess clock? That's kind of cool, actually.\n\n**DAVE:** I think especially in the world of work from home, it's really easy to fall into a heavy work balance. Setting hours for yourself just the same as you would say, I'm going to the office from 9:00 to 5:00, I think it's super important to wake up, go through all the motions, take a shower, put on real clothes, start work at some time, and sign off at some time. I think keeping that rhythm, that rotation, is super important.\n\n**CHRIS:** Yeah, I completely second that. I remember when the pandemic started, I used to take the train into a previous gig. And once the pandemic started, we started working from home, I started losing track of time because I didn't have my commute. I wasn't going in, I wasn't leaving.\n\nSo I ended up taking walks during lunch every day and at the end of the day. It really helped me set a pace. Is there anything that you fell into that was kind of like? Did you remake a new routine?\n\n**DAVE:** I kind of carried over my old routine. I've continued to go to the gym every morning. I feel like that's really helpful not just to have that kind of physical activity, but also to have some kind of shift that's the furthest thing possible from sitting at a desk. Lifting weights is amazing compared to writing code. It's just such a great brain flush.\n\n**CHRIS:** That's cool. Any other direction y'all want to take this, MP?\n\n**MP:** There was psychological safety.\n\n**CHRIS:** Yeah, and I have the beginnings of a question bubbling up in my brain.\n\n**MP:** I was thinking about this in terms of imposter syndrome.\n\n**CHRIS:** Yeah. I was going to frame it around mistakes and failures, and being comfortable overcoming--\n\n**MP:** I mean, we could talk more about how you overcame that change you just mentioned, that you got into that position and then needed to bounce. That's also a good touch-off point.\n\n**CHRIS:** Yeah.\n\n**MP:** The imposter syndrome also is a good one to touch on, if that's a framing that lines up well with your experiences.\n\n**DAVE:** Yeah, particularly as an acqui hire, I feel like it was super relevant-- fake it till you make it. [LAUGHS]\n\n**MP:** What are some other struggles you've overcome during your time at Google and your time as an SRE?\n\n**DAVE:** So imposter syndrome was a big one for me, being in acquisition. I really felt like I didn't belong, like I didn't deserve to be at Google. It was always this dream of mine to work at Google, and I never really thought I'd be there. But once I was there, it's kind of like do I actually deserve this?\n\nAnd so being faced with this huge mound of I need to learn this, and this, and this, and this just to get my day job done was super hard for me. It took me a long time to get over that. At the same time, I had this Cinderella period with Google that lasted a couple of years at least. I feel like during that time I figured out what I was good at, what I could lean on, and what would get people to have trust and confidence in my abilities.\n\nThat really gave me a lot of comfort in what I was doing on the day-to-day. So as an example, I was told that an SRE has to be on call and has to respond to outages and has to be able to, not necessarily solve the problem, but come up with some kind of defect report of this is roughly what's happening, and be able to pass that off if you can't solve that yourself.\n\nSo my crutch there, understanding that that was what was going to be in front of me, was I'm going to learn to read a lot of code. I'm going to read so much code for every system that I'm involved in. I'm going to know exactly how it works. I'm going to know exactly where it fails. If I see a log statement, I'm going to know exactly where it comes from and why it happens.\n\nAnd that has been my go-to. That's something that I continue to carry on with. It's part of my curiosity, and I think it served me well in not just being more confident in doing my job, but I think it's also netted me what I wanted, which was other people come to me when they have questions about how systems work and how things are wired together.\n\nI also find that working regularly with the same co-workers in a group is super useful. You gather a rapport with them. You all understand everyone's quirks, what everyone's strengths and weaknesses are. And I think that kind of bounces off each other. The last thing I would say is that I got some really good advice from an old manager of mine, which is you're either legitimately good at your job, or you've convinced everyone around you that you're good at your job, and both of these are valid skill sets.\n\n**CHRIS:** And hopefully you have a little from both columns.\n\n**MP:** I think so. So I was really impressed with your story. I've always been a self-learner. In my own career and my own history, I love-- just like you-- you crack something open, you just dive straight in and get to all the nitty gritty.\n\nSo let's say there's somebody out there that's very similar to that. They don't have a college degree, and they're working in a similar industry as a systems admin. What would you say to somebody considering becoming an SRE? How should they approach that?\n\n**DAVE:** That's a good question. Get acquired.\n\n**[LAUGHTER]**\n\n**MP:** You weren't just sitting on your laurels.\n\n**DAVE** I got lucky. I really want to say that I got lucky. I was in the right place at the right time.\n\nI did not graduate college. I dropped out twice. I had enough credits to get an associate's in computer science, and I just never filled out the paperwork.\n\nI was in the right place and the right time and talked to the right people to get my job at Zagat. I feel like I busted my ass once I was at Google, and not before that. Which is maybe the wrong message to send. [LAUGHS] How can I frame that?\n\nI think the advice that I would give is just be infinitely curious. I think it's about finding something that you enjoy doing, and just going really deep. I think if I've learned anything from working at Google, it's that everybody has some kind of skill that they're just ludicrously good at. Everyone is broadly good at everything they're doing, but everyone has some thing that really drives them.\n\nAnd so maybe for some people it's databases, maybe for some people it's Maps. But having that one thing is just amazing. And so developing some kind of core skill that you really love and you can really talk about, I think that's a great way to get into SRE. Because at the core of what we're doing, it's really about breaking things down and rebuilding them better.\n\n**MP:** I love that advice. Thanks so much. So given all that you've experienced, all that today, are there any either mental health, or other support resources that you would like to see exist? Like, what would have helped you during your journey?\n\n**DAVE:** I think I really lacked having a good mentor that I could reach out to. But I think that's also somewhat my own failing. I think if anything, I would say I've not communicated enough. And I think that there is definitely an opportunity to say, let's overcommunicate until someone tells you it's too much. Because I think people tend to be a little bit less on the social side of things, especially in SRE and SWE.\n\nAnd maybe you don't feel confident enough to speak up when you need help. But really the opposite is true. If you have some coherent thoughts in your head, write them down on paper, circulate them, get feedback-- the sooner the better.\n\n- What would have helped you do that in the past? What could we be doing to help encourage people to adopt that behavior?\n\n**DAVE:** Self-confidence. [LAUGHS] Is there an Adulting 101 course? [LAUGHS] What would do that?\n\nIt's funny, because it's all over the ladder. It's write more design docs, get your name down on things, promote yourself. I think it's easier in the US culture. I think Europeans have a harder time with it. There's an infamous internal slide deck called \"Promo for Europeans.\"\n\nGiving people the tools they need to be confident in their self, doing more to burn down imposter syndrome. I think we need to help people realize that they're here because we believe in them. That they have valuable contributions to make, and we need to support that as much as we can.\n\n**CHRIS:** 100%. I love that. Well, I'm at the end of my list. Anything else you want to wrap up?\n\n**MP:** Well, thank you so much for your time today, Dave. It has been absolutely wonderful chatting with you and hearing from you. Chris, do you have any final thoughts?\n\n**CHRIS:** This has been amazing. I'm so glad you're here at Google. Thanks for getting acquired with us.\n\n**DAVE:** Thanks for having me.\n\n**MP:** Thank you all.\n\n**VOICEOVER**: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Chris Wojno, and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 35014, "slov": 6538, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:03", "sha256": "618d9f3ce9462c0416ce42c0cc70ab49936acdbff04e0fb074167247b9deda15", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06/", "titulek": "Google SRE - Life of An SRE with Dave Reisner", "h1": "Life of An SRE with Dave Reisner", "popis": "SRE at Google with Dave Reisner, hear about his path to staff sre. This episode highlights the value of strong mentoring, manager relationship and the challenges of balancing work and life.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06"}, "headline": "Life of An SRE with Dave Reisner", "description": "Dave Reisner talks about his path to Staff SRE, from ArchLinux contributor through DevOps to software engineer. This episode emphasizes the value of strong mentoring and manager relationships, and the challenges of work-life balance.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Dave Reisner"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Dave Reisner"}], "markdown": "# Life of An SRE with Dave Reisner\n\nDave Reisner talks about his path to Staff SRE, from ArchLinux contributor through DevOps to software engineer. This episode emphasizes the value of strong mentoring and manager relationships, and the challenges of work-life balance.\n\n**MP ENGLISH:** Hello, and welcome to Episode 6 of Season 2 of the Google SRE Podcast-- or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me again as co-host is Chris.\n\n**CHRIS WOJNO:** Hello.\n\n**MP:** And today we have with us a staff level SRE here at Google who has had quite the interesting professional journey. I'm very looking forward to hearing more about his experiences. So I'm going to turn things over to him, and let him introduce himself.\n\n**DAVE REISNER:** Hey. Thanks for having me here. I'm Dave Reisner. As mentioned, I'm a staff SRE at Google. I've been here a little over 11 years, spending about nine of those working on Maps. I got started with computers at a really early age. Do we want to go into this kind of detail at this point?\n\n**MP:** Really superficial, because then we're going to follow up to get more into the nitty gritty.\n\n**DAVE:** Of all the things I wrote down, I did not think of an intro. **[LAUGHS]**\n\n**MP:** Well, you can follow up with \"as a kid, you got into computers.\"\n\n**DAVE:** So as a kid, I got into computers. And I learned at an early age that this was really something that was a lot of fun for me. I look at it largely as problem solving. But also, it was an interesting way to spend time and make my brain work. So I think the first thing I did was I learned how to type load and run so I could play games on my family's Commodore 64.\n\n**CHRIS:** Cool. Do you want to just touch briefly on what they do, or should we just keep going?\n\n**DAVE:** Touch briefly on?\n\n**CHRIS:** It was kind of an old interview. Do you want to touch on something more recent, or should we save that for the rest of the interview?\n\n**DAVE:** I'm sorry. I having a little trouble hearing you today, Chris.\n\n**CHRIS:** Is it better?\n\n**MP:** Yes.\n\n**CHRIS:** OK, sorry. I just got to get super friendly with it. OK, should we keep going with another short part of the introduction, or should we just jump straight in and make that part of the interview?\n\n**DAVE:**I say jump straight in.\n\n**CHRIS:** OK, cool. Big pleasure to meet you, Dave. Thanks for joining us today. So you started as a Linux developer. Can you give me, somebody who is not super familiar with that world, an idea of what that was like?\n\n**DAVE:** Yeah. So I got involved with Arch Linux a while back. This was the result of me installing Linux as a replacement for Windows, just to tinker and play around with it. I had tried it for years and failed, working with multiple installation CDs for RedHat, or Debian, or whatever the flavor of the month was.\n\nI eventually came around to Arch Linux, which really was kind of bare bones. You got what you saw. And it was really easy to dig into and modify. There were a bunch of projects that they had. And I eventually ended up as a developer working on the package manager known as pacman.\n\nMost of my contributions there were around working on the downloader. So that would be the piece of the package manager that fetched the actual tarballs, the software from the repositories. I'd replaced an old implementation based on what was called LibFetch, taken from one of the BSDs. And used libcurl instead, which is far more widespread, much more featureful, and actually made things faster in the process.\n\nIn addition to the work on the package manager, I was also dealing with the everyday responsibilities of package management. So I was taking care of a number of packages for the distribution, and curating them for users to download and install.\n\n**CHRIS:** So you were in the belly of the beast, and you even became a sponsored developer. What's that about?\n\n**DAVE:** So in Arch, there's two kinds of roles. In Arch Linux, there's trusted users, and then there's also developers. I had started as a trusted user, but it's not super interesting for this conversation.\n\n**CHRIS:** Sure. So how'd you go from working on Arch Linux, and you made it with Zagat, the restaurant?\n\n**DAVE:** Yeah, Zagat.\n\n**CHRIS:** Zagat. Sorry.\n\n**DAVE:** \"Zag-gat,\" like the cat.\n\n**CHRIS:** So I'll redo that one. So how do you go from Linux to working with Zagat, the restaurant review site?\n\n**DAVE:** It's funny. At some point a Google recruiter actually had reached out to everybody on the Arch Linux developer list and said, hey, do you want to interview as an SRE at Google? And I said, sure, why not? What could possibly go wrong? It's worth the opportunity.\n\nI made it through the phone screen. I got my first phone interview. I said some things that were absolutely not correct, and I knew it as soon as I hung up the phone. I never heard back from them again.\n\n**[LAUGHTER]**\n\nSo I ended up working for Zagat through a friend of mine who I went to school with at the time. He had gotten a job as a developer there. They were working on relaunching their website. They had completely burned down and restaffed their development team, and they wanted someone to do automated QA.\n\nSo they were writing selenium tests against the new side to prove the functionality. And this friend of mine, who actually didn't know me very well, spoke up and said, hey, I know this guy. He'd be great for the job. You should hire him.\n\nSo I got an interview with Zagat. Before they even posted the job publicly, I took it on. As part of that interview, one of the developers who I talked to actually said, hey, you can hire this guy. But you need to find him something new to do, because in six months he's going to be bored.\n\nSo from there, we launched the new site. And I started asking questions about who's going to be running this thing? Who's going to be watching it? Do we have anyone carrying a pager?\n\nGot a resounding silence from this. I at that point piped up and said, happy to do it. I'm pretty familiar with these systems at this point. I can absolutely do that for you.\n\n**CHRIS:** So you started their SRE program at Zagat?\n\n**DAVE:** Yeah, they actually gave me the title of DevOps at some point. But if you want to think of it as SRE, it was sort of that. I had the coding background that I had taught myself. And I feel like I came at it from more of an SRE angle than a DevOps angle.\n\n**CHRIS:** So what made you think that they needed somebody to hold a pager?\n\n**[LAUGHS]**\n\n**DAVE:** I guess it was just a matter of thinking this is a production site that was serving hundreds of users. And they were going to want to know if the site was unresponsive, if it was down. It was really there to provide value for users, and we wanted to have it available as much as possible.\n\n**CHRIS:** So what struggles did you grapple with when trying to move from something like Arch Linux to a company like Zagat?\n\n**DAVE:** Interesting. I actually feel like a lot of it was transferable. Zagat gave me the opportunity to provide whatever operating system I wanted on my workstation, so I very quickly went to Linux.\n\nA lot of what I was dealing with initially was just working in Selenium and the WebDriver tests. So I think a lot of what I learned from Arch was immediately transferable to Zagat. And over time, I had built up more of an arsenal working with other colleagues there to understand more about the ecosystem, and more about the production environment that they were deploying to.\n\n**CHRIS:** So I guess my question is more on a personal/professional kind of phrase. Let me see if I can rephrase it. Were there any career struggles that you had when moving from Arch Linux to Zagat?\n\n**DAVE:** I think it was more of a cultural shift, if that's what you're getting at. Zagat was a company that was very much not tech first. They were a company that happened to employ some developers. And so there was a big push-pull between products and development in terms of understanding what could be done and using the very small developer team as a tool for solving a problem, and not asking them how can we best approach this.\n\nWhereas with Arch Linux, it was very much the wild west. Very loose knit collaboration between a bunch of people in very different time zones, very different priorities. We were all volunteers, and no one really held us accountable.\n\n**CHRIS:** Speaking of having very little structure to much more structure …\n\n**DAVE:** Yeah, I think that's a good way of putting it.\n\n**CHRIS:** So what were your strategies for overcoming some of these struggles? Was there mentorship? Was it friends from outside the company? How did you build up support?\n\n**DAVE:** I think it was a matter of working with my fellow developers. I pretty quickly made friends with them. It definitely fit in terms of age and interests, there was some after work events. I think much like most of my career, I've been driven enough to teach myself. And I generally learn by doing, and curiosity, and hacking on things until they break and then fixing them.\n\n**CHRIS:** Sure. Cool. Speaking of culture shifts, can you tell us how you then found yourself at Google?\n\n**DAVE:** Sure. So about a week short of a year, I'm at Zagat. And suddenly there's a lot of people in the office who I don't recognize. One of them looks a lot like Marissa Mayer, who was running Search at the time.\n\nVery quietly, they gathered everybody together. And they said, hey, by the way, Zagat has been acquired. Your new overlords are Google. You might have heard of them. Which was just this crazy shock to everybody in the room.\n\nWe went from going out for lunch every day as a team, to find some sandwich shop or bibimbap on the street, to having catered lunch brought in every day, and the typical TGIF wine and beer brought in on Friday evenings. So that was quite the change.\n\n**CHRIS:** Can you talk more about the acquisition process? How did your responsibilities and expectations change?\n\n**DAVE:** So the first job I had for Google was essentially to close down the Zagat office. My part of that was we had a couple of servers on site up at Columbus Circle, and we need to get those off of the hardware onto Google Colos in order to close down the office, give up the real estate, and save some money. So that was my first six months.\n\nSo after that, I spent a few more months working with the Zagat group, continuing to develop the Zagat product under Geo within Google. And my manager at the time pulled me aside at some point and said, hey, I need to get you in contact with someone else in Geo, because you need to move on. There's better opportunities out there for you. You're squandering your abilities here.\n\nAnd so she got me in touch with the manager of a team called Map Facts, which was working on the canonical data store for all of the data that you see today on Maps. And after a quick lunch interview, he had offered me a position as a software developer in their team. At the time, I was acquired with a title of systems administrator, and so I was pretty curious about how this was going to work out.\n\nIt turns out that it's entirely possible to get promoted doing software engineering work on the systems administrator ladder, and that's not a problem. [LAUGHS] But I eventually did go through the ladder transfer process, and became a proper software engineer. So despite my failures as a external interviewee, interviewing internally and getting recommendations from co-workers was a much more fruitful path.\n\n**CHRIS:** Now, when you moved on to the SWE ladder, were you in a SWE role? Or have you been with SRE from the moment you came off of the system administrator ladder?\n\n**DAVE:** No. I was actually a developer in the Geo organization for about a year and a half before I made the jump over to SRE.\n\nCHRIS: So you said there was a person that suggested that you need to get out. That was your manager?\n\n**DAVE:** That was my manager from Zagat who had moved over to Google.\n\n**CHRIS:** And so this manager just randomly one day pulled you aside, was like, you need to be doing something different? What prompted that conversation?\n\n**DAVE:** I think it was her recognition that I was probably bored in that role, and she was right. I was writing Java, and I wasn't terribly interested in the language or the actual work. But she was always looking out for me.\n\nShe was the one who interviewed me initially for Zagat. She was the one who gave me the opportunity to hop into the DevOps role. She saw that I had abilities that were not being well spent in my current position, and she wanted to help me out.\n\n**CHRIS:** Did you realize you were bored at that time?\n\n**DAVE:** Absolutely.\n\n**CHRIS:** That sounds like you had a great manager.\n\n**DAVE:** I did. I've had a lot of great managers at Google. I've been very fortunate.\n\n**CHRIS:** So then, how did you end up in SRE from the SWE role?\n\n**DAVE:** So while working on a SWE, I realized that I had a very big interest in, not just writing the code, but how is it deployed? How is it run? We use a system called Borg that does all of our scheduling for us. And it was very complicated, very much a black box when I started.\n\nI wanted to know more, because I realized that it was going to be a very key part of my job. I think this is, again, just the way my brain works. I see something that I don't understand, I want to learn more about it. I want to be able to debug it.\n\nAnd that turns out to be the SRE mindset. A number of people along the way kind of hinted at me, like hey, you should probably be an SRE. It seems like you're pretty cut out for it.\n\nAbout a year after I joined software engineering, I got wind of a new GEO data SRE team starting in New York City. This was going to be third site of GEO SRE. They previously had sites in Zurich and Sydney, and they wanted to expand to a third site focused on some of the data ingest systems in Maps.\n\n**CHRIS:** You mentioned just wanting to dive in and learn all about all the systems. I'm fairly new to Google. I started just a few months ago.\n\nHow do you avoid getting stuck in all these rabbit holes? Because you could just sit there and read for hours and days and days and days and days. How do you avoid that?\n\n**DAVE:** It's difficult to figure out where to quit. I think early on I realized that the more time I could spend learning, the more I was going to help myself in the future. It was like I wanted to bootstrap myself. This gets into work/life balance a bit. What's a good way of figuring out when you know enough? [LAUGHS]\n\n**CHRIS:** I'm still looking for that answer myself.\n\n**DAVE:** Yeah.\n\n**CHRIS:** Well, I think that is the answer and the challenge at the same time, isn't it? You have a new task that you're not really sure how to accomplish. You have to learn almost just enough, maybe slightly more than necessary to learn the task, but not go further than that. Because then you're going to have a new task, and you're going to have to learn a new set of things.\n\n**DAVE:** Right. I think the challenge is learning enough, and maybe a little more than that. And figuring out what's the fine line between being confident with what you've learned, since you might be learning on your own and don't have someone else to bounce those ideas off of, and spending all of your time going down that rabbit hole.\n\nSo it's a matter of, let's get the task done. Let's learn just enough, and a little more, and then move on to the next thing. But maybe also make a note of it for some kind of rainy day when you might have some free time to go back to that thing.\n\n**CHRIS:** What are the differences between an SWE and just an SE? We should probably cover your transition back. Have we done that already-- your transition back to a systems engineer?\n\n**DAVE:** SRE-SWE and SRE-SE?\n\n**CHRIS:** Yeah. I think we can cover your transition back, and then we can switch over to that question.\n\n**DAVE:** I'm not sure we want to cover that. Because the SRE role does exist. I don't know if we hire into it anymore.\n\n**CHRIS:** Which one?\n\n**DAVE:** SRE SE.\n\n**CHRIS:** I think we still have the two hiring tracks.\n\n**DAVE:** OK.\n\n**CHRIS:** My understanding the distinction is mostly around recruitment. That once you're here, you can do either work. But that the SWE SREs have complete freedom to transfer into full time to pure SWE roles, while SE SREs would have to re-interview internally to transfer to the SWE ladder. I know this as an SE SRE.\n\n**[LAUGHTER]**\n\n**DAVE:** Right. So I guess I had both sides of it. My experience is that the differences are so strange. Is this something we want to get into? It's a matter of who reviews your promo packet over a certain level. The work that you do is totally the same, the ladders are written the same.\n\n**CHRIS:** I just assumed there was a difference. I didn't know there was no distinction.\n\n**DAVE:** It's so bizarre. I don't know why they exist. But yeah, I was an SRE SWE. And as part of my five to six promo was asked, we will give you the five to six if you want to take the SRE SE role-- which was like, yeah, duh. **[LAUGHS]**\n\n**CHRIS:** I think it's really subtle differences in the nature of the work you're doing. The performance expectations don't change, but you're expected to be doing more systems-y problems, or more software-y problems.\n\n**DAVE:** And that also varies by team even.\n\n**CHRIS:** Yeah, I don't think it's great context for here. I'm actually going to do a lead in to an actual question that we'll want to keep-- tangent done. How has your career progressed since you landed in the Geodata SRE team?\n\n**DAVE:** I think that over time there's a few things that I've noticed. The scope and complexity of the projects that I'm working on has increased. The length of the arc of work has increased. As an example, I've started off solving problems that were just given to me. That's kind of like the level three expectation.\n\n**CHRIS:** I just want to add for folks outside of Google, just to make the conversation a little easier for everyone. When we say \"level three,\" we're usually talking about traditional junior level. It's the entry level SRE role. I think actually we should reset and avoid the level numbers, and instead use--\n\n**DAVE:** I'll say junior.\n\n**CHRIS:** Yeah, junior, mid-level, senior-- use those terms. Because those will translate outside of Google.\n\n**DAVE:** Cool. That's fine. So there's a few patterns that I've noticed about my work over the past eight or so years. The first is that the scope and complexity have generally increased over time, and that the length of the arc of work has increased.\n\nSo I started off as a junior engineer, solving problems that were given to me. And this maybe takes a quarter or two to solve each of these problems. And over time, I've moved towards defining these problems in a given area, writing designs, delegating, working beyond just myself. And maybe we're looking at two to four quarters per project.\n\nWhereas now, I'm looking at more ambiguous areas with broader problems, writing roadmaps to propose project work, and solving those problems with a team of maybe three to four people. And that's probably a span of a year or more. I think my latest work is going on now 12, 18 months.\n\nCHRIS: Can you speak a little bit to leadership and team management, but not people management, as an individual contributor? Because I think that's a really important distinction, is that individual contributors do lead and manage, but they're not people managers. Can you share a little bit about that distinction?\n\n**DAVE:** Yeah, that's a great point. I think as an individual contributor, there is absolutely still room for technical leadership. So that may be a matter of bringing some problem to the table and being able to dissect it down to multiple individual problems which you can then delegate to other folks, help guide them through that process.\n\nAnd so you end up with something of a pyramid scheme going on here, where you're at the top. Maybe you have all of the ideas, and you delegate down some of those larger problems to folks who are below you. And they may be delegate even smaller problems down to folks below them. And so you kind of all work as a team towards the end goal. But that goes back to what I was talking about with scope and complexity, whereas you have these small problems at the bottom that kind of build up to something larger over time.\n\n**CHRIS:** In what ways do you provide support to people you delegate your tasks to?\n\n**DAVE:** I think there's a couple of things here. I think one of them is obviously code reviews. I think another one is debugging.\n\nBased on my tenure in Geo, I have a lot of knowledge about a lot of the systems that we depend on-- not just the generic Google infrastructure bits, but a lot of the Geo infrastructure bits. I understand how they're wired. I know how they work together. I know how they break. And so navigating those is a huge help to folks who don't necessarily have that experience.\n\n**CHRIS:** So on the flip side, who helps you when you need help? Who is your rock in SRE?\n\n**DAVE:** [LAUGHS] I wish I had one.\n\n**[LAUGHTER]**\n\nSlightly rocky interview. [LAUGHS] Let's see, who do I go to for help?\n\n**CHRIS:** I mean, how has that changed over time even?\n\n**DAVE:** This goes into the mentorship thing a little bit. I think over the years there's been a couple of people that I've admired who have had skill sets similar to mine who have been able to dig into things at a really low level, usually in the realm of performance debugging, and really found the right tool and inserted it in the right place to be able to figure out, ha, that's why that's slow. That's why that's throwing errors.\n\nNot to say that I don't think I do this well. But I think there's been a number of times when colleagues have just shown themselves to be extremely clever and just had the foresight to figure out where to thread the needle.\n\n**CHRIS:** So I'm hoping we can get more into-- I don't want to say personal struggles-- but if you've had any moments where you're just unsure of yourself and/or maybe things are a bit of a struggle emotionally. How have you gotten yourself help, or how have people reached out to you and helped you when they've noticed that you've needed it?\n\n**DAVE:** Should we talk about the pandemic? [LAUGHS]\n\n**CHRIS:** Sure.\n\n**DAVE:** Holy crap. So where do we start? I can definitely tell you about a time where I've struggled.\n\nIt was about March 2020 when the pandemic hit New York City. Me and my wife are living in a small Manhattan apartment. She is a nurse working in the emergency department in Queens, which happened to be very close to the epicenter of the COVID-19 pandemic in Manhattan.\n\n**CHRIS:** So you were dealing with COVID quarantine restrictions, and trying to make sure that your wife is safe, and you're safe.\n\n**DAVE:** Yep, and suddenly I'm working 24/7 hours a day from a tiny Manhattan apartment. Lockdown restrictions were very difficult. It was eerie to walk around on the streets. You never knew if you were safe. There was very much a feeling of doom and gloom all around.\n\nI think during that time I favored comforting my wife and helping her through her day, because I didn't feel like there was anything better that I could do with my time. At the same time, work was kind of a mess. We were all struggling to figure out, not just how do we continue to work from home during this pandemic, but how do we best leverage Maps to help other people?\n\nJust before the pandemic, I had taken on a role as the area tech lead for Geo SRE. In hindsight, I'm not sure it was the best decision for me. Not just because of timing, but because I felt like it was something that I needed to do without really understanding what the role was.\n\nLong story short, I got myself out of that role. That was the second best thing that I could have done for myself at that time. The first best thing I could have done for myself at that time was moving out of Manhattan to the suburbs, where we had a lot more room and we were much more comfortable. And have a real office now.\n\n**CHRIS:** Was there anyone that helped you along with that at Google, or maybe outside of Google?\n\n**DAVE:** Yeah. I think one mistake that I made was I under communicated all of this. Once I opened up to my manager, he was really supportive. There were things that I could have done in hindsight that would have been helpful to me. But he helped me through what I see as a very rocky part in my career.\n\n**CHRIS:** So if you could go back in time and tell yourself those things, what would you tell yourself before taking that position?\n\n**DAVE:** It's not where I thought you were going with that question. I think it's a matter of being realistic about what you think your strengths are. So I took over the area tech lead role from someone who had written a document describing their time as the area tech lead. They essentially concluded that Geo SRE, at the time, was not really set up organizationally to have that kind of role. And I took on that role not really having an answer for that.\n\nI think that was my mistake. I didn't see how to fill that role in the organization as it currently was. And so when I stepped down from that role, I essentially wrote the same doc reiterating a lot of the same points that he made. The organization needs to change. It's not just that it's a difficult role with a lot of complexities.\n\n**CHRIS:** That's fair. And so you've got your house. You've expanded out into the suburbs. You've got something a little bit bigger.\n\nWhat other ways have you tried to maintain a healthy work/life balance? How do you close the laptop lid at the end of the day, so to speak?\n\n**DAVE:** So I think over time this has evolved for me. When I lived in the city, there were always a lot of things to do. There was always parks nearby. It was easy to go out and just take a walk.\n\nI think that there were definitely times when I was young and motivated, and maybe I spent a little bit too much time at work. But I was motivated, and I was having fun, and I was ambitious and wanted to move through the ladder. I think lately it's more about hanging out with neighbors, finding time to go to the gym, taking walks, hanging out with my cat.\n\n**CHRIS:** It's super healthy and important to recharge. Any tips or tricks for how to make sure that you're not overdoing it?\n\n**DAVE:** A chess clock. [LAUGHS] 40 hours a week.\n\n**CHRIS:** Literally a chess clock? That's kind of cool, actually.\n\n**DAVE:** I think especially in the world of work from home, it's really easy to fall into a heavy work balance. Setting hours for yourself just the same as you would say, I'm going to the office from 9:00 to 5:00, I think it's super important to wake up, go through all the motions, take a shower, put on real clothes, start work at some time, and sign off at some time. I think keeping that rhythm, that rotation, is super important.\n\n**CHRIS:** Yeah, I completely second that. I remember when the pandemic started, I used to take the train into a previous gig. And once the pandemic started, we started working from home, I started losing track of time because I didn't have my commute. I wasn't going in, I wasn't leaving.\n\nSo I ended up taking walks during lunch every day and at the end of the day. It really helped me set a pace. Is there anything that you fell into that was kind of like? Did you remake a new routine?\n\n**DAVE:** I kind of carried over my old routine. I've continued to go to the gym every morning. I feel like that's really helpful not just to have that kind of physical activity, but also to have some kind of shift that's the furthest thing possible from sitting at a desk. Lifting weights is amazing compared to writing code. It's just such a great brain flush.\n\n**CHRIS:** That's cool. Any other direction y'all want to take this, MP?\n\n**MP:** There was psychological safety.\n\n**CHRIS:** Yeah, and I have the beginnings of a question bubbling up in my brain.\n\n**MP:** I was thinking about this in terms of imposter syndrome.\n\n**CHRIS:** Yeah. I was going to frame it around mistakes and failures, and being comfortable overcoming--\n\n**MP:** I mean, we could talk more about how you overcame that change you just mentioned, that you got into that position and then needed to bounce. That's also a good touch-off point.\n\n**CHRIS:** Yeah.\n\n**MP:** The imposter syndrome also is a good one to touch on, if that's a framing that lines up well with your experiences.\n\n**DAVE:** Yeah, particularly as an acqui hire, I feel like it was super relevant-- fake it till you make it. [LAUGHS]\n\n**MP:** What are some other struggles you've overcome during your time at Google and your time as an SRE?\n\n**DAVE:** So imposter syndrome was a big one for me, being in acquisition. I really felt like I didn't belong, like I didn't deserve to be at Google. It was always this dream of mine to work at Google, and I never really thought I'd be there. But once I was there, it's kind of like do I actually deserve this?\n\nAnd so being faced with this huge mound of I need to learn this, and this, and this, and this just to get my day job done was super hard for me. It took me a long time to get over that. At the same time, I had this Cinderella period with Google that lasted a couple of years at least. I feel like during that time I figured out what I was good at, what I could lean on, and what would get people to have trust and confidence in my abilities.\n\nThat really gave me a lot of comfort in what I was doing on the day-to-day. So as an example, I was told that an SRE has to be on call and has to respond to outages and has to be able to, not necessarily solve the problem, but come up with some kind of defect report of this is roughly what's happening, and be able to pass that off if you can't solve that yourself.\n\nSo my crutch there, understanding that that was what was going to be in front of me, was I'm going to learn to read a lot of code. I'm going to read so much code for every system that I'm involved in. I'm going to know exactly how it works. I'm going to know exactly where it fails. If I see a log statement, I'm going to know exactly where it comes from and why it happens.\n\nAnd that has been my go-to. That's something that I continue to carry on with. It's part of my curiosity, and I think it served me well in not just being more confident in doing my job, but I think it's also netted me what I wanted, which was other people come to me when they have questions about how systems work and how things are wired together.\n\nI also find that working regularly with the same co-workers in a group is super useful. You gather a rapport with them. You all understand everyone's quirks, what everyone's strengths and weaknesses are. And I think that kind of bounces off each other. The last thing I would say is that I got some really good advice from an old manager of mine, which is you're either legitimately good at your job, or you've convinced everyone around you that you're good at your job, and both of these are valid skill sets.\n\n**CHRIS:** And hopefully you have a little from both columns.\n\n**MP:** I think so. So I was really impressed with your story. I've always been a self-learner. In my own career and my own history, I love-- just like you-- you crack something open, you just dive straight in and get to all the nitty gritty.\n\nSo let's say there's somebody out there that's very similar to that. They don't have a college degree, and they're working in a similar industry as a systems admin. What would you say to somebody considering becoming an SRE? How should they approach that?\n\n**DAVE:** That's a good question. Get acquired.\n\n**[LAUGHTER]**\n\n**MP:** You weren't just sitting on your laurels.\n\n**DAVE** I got lucky. I really want to say that I got lucky. I was in the right place at the right time.\n\nI did not graduate college. I dropped out twice. I had enough credits to get an associate's in computer science, and I just never filled out the paperwork.\n\nI was in the right place and the right time and talked to the right people to get my job at Zagat. I feel like I busted my ass once I was at Google, and not before that. Which is maybe the wrong message to send. [LAUGHS] How can I frame that?\n\nI think the advice that I would give is just be infinitely curious. I think it's about finding something that you enjoy doing, and just going really deep. I think if I've learned anything from working at Google, it's that everybody has some kind of skill that they're just ludicrously good at. Everyone is broadly good at everything they're doing, but everyone has some thing that really drives them.\n\nAnd so maybe for some people it's databases, maybe for some people it's Maps. But having that one thing is just amazing. And so developing some kind of core skill that you really love and you can really talk about, I think that's a great way to get into SRE. Because at the core of what we're doing, it's really about breaking things down and rebuilding them better.\n\n**MP:** I love that advice. Thanks so much. So given all that you've experienced, all that today, are there any either mental health, or other support resources that you would like to see exist? Like, what would have helped you during your journey?\n\n**DAVE:** I think I really lacked having a good mentor that I could reach out to. But I think that's also somewhat my own failing. I think if anything, I would say I've not communicated enough. And I think that there is definitely an opportunity to say, let's overcommunicate until someone tells you it's too much. Because I think people tend to be a little bit less on the social side of things, especially in SRE and SWE.\n\nAnd maybe you don't feel confident enough to speak up when you need help. But really the opposite is true. If you have some coherent thoughts in your head, write them down on paper, circulate them, get feedback-- the sooner the better.\n\n- What would have helped you do that in the past? What could we be doing to help encourage people to adopt that behavior?\n\n**DAVE:** Self-confidence. [LAUGHS] Is there an Adulting 101 course? [LAUGHS] What would do that?\n\nIt's funny, because it's all over the ladder. It's write more design docs, get your name down on things, promote yourself. I think it's easier in the US culture. I think Europeans have a harder time with it. There's an infamous internal slide deck called \"Promo for Europeans.\"\n\nGiving people the tools they need to be confident in their self, doing more to burn down imposter syndrome. I think we need to help people realize that they're here because we believe in them. That they have valuable contributions to make, and we need to support that as much as we can.\n\n**CHRIS:** 100%. I love that. Well, I'm at the end of my list. Anything else you want to wrap up?\n\n**MP:** Well, thank you so much for your time today, Dave. It has been absolutely wonderful chatting with you and hearing from you. Chris, do you have any final thoughts?\n\n**CHRIS:** This has been amazing. I'm so glad you're here at Google. Thanks for getting acquired with us.\n\n**DAVE:** Thanks for having me.\n\n**MP:** Thank you all.\n\n**VOICEOVER**: \"Prodcast,\" the Google SRE production podcast is hosted by MP English and Chris Wojno, and produced by Salim Virji. The podcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.", "znaku_textu": 35014, "slov": 6538, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:33", "sha256": "618d9f3ce9462c0416ce42c0cc70ab49936acdbff04e0fb074167247b9deda15", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07", "titulek": "Google SRE - A deep dive into sre role and responsibilities", "h1": "Life of An SRE with Sabrina Farmer", "popis": "SRE Role & SRE Career with executive guest Sabrina Farmer : Gain a deep understanding of site reliability engineer responsibilities, skills, and career paths.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07"}, "headline": "Life of An SRE with Sabrina Farmer", "description": "Sabrina Farmer, VP of Engineering at Google, talks about her career journey through Site Reliability Engineering. What does management mean? What's involved in being an effective manager? and what's a feasibility study? Hear some great advice on how to get what you expect out of a role, wherever on the ladder it is.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Sabrina Farmer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Sabrina Farmer"}], "markdown": "# Life of An SRE with Sabrina Farmer\n\nSabrina Farmer, VP of Engineering at Google, talks about her career journey through Site Reliability Engineering. What does management mean? What’s involved in being an effective manager? and what’s a feasibility study? Hear some great advice on how to get what you expect out of a role, wherever on the ladder it is.\n\n**[THEME MUSIC]**\n\n**MP:** Hello, and welcome to the Google SRE Podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me as co-host is Rita.\n\n**RITA:** Hello, I'm happy to be here again.\n\n**MP:** And I am very excited for today's episode because for the first time in the history of the prodcast, we have an executive guest. Let's hear from her.\n\n**SABRINA:** Hi, everybody. I'm Sabrina Farmer. And I am VP of Engineering here at Google for SRE.\n\n**MP:** So I think we should just start off with the most obvious question while we have you here. What does a VP of SRE do?\n\n**SABRINA:** **[LAUGHS]** Every day is a little bit different. I think when you think about a VP position at Google, really, all leaders actually need to make decisions based on Google, their product area, their team, and their people. And I think at the VP level, your starting point is always Google.\n\nSo my job is to make decisions on behalf of Google across my portfolio. So my portfolio here at Google covers most of Google's beloved products, everything from Search and Geo, but also our platforms like Chrome and the Play Store, and all the infrastructure for the products, so the authentication systems, the abuse systems, data analytics, and things like that. And so with that broad view, I'm looking at what problems are each of the product areas having, and then what does this tell me about the opportunity to solve those problems at a higher level. So I'm constantly looking for that.\n\nBut as any good SRE, we're the problem solvers. And so I would say, pretty much guaranteed every day, I'm hearing about all the problems that are happening across the product areas. And my job is to help resolve them as quickly as possible. And they could be technical problems, org problems, or conflicts between teams as well.\n\n**RITA:** If you're the VP of Engineering, I'm wondering how much time you spend actually getting involved in engineering-type decisions versus maybe other business outcome decisions as you were mentioning, like you always keep Google in mind when you are going about in your day-to-day life. What's the balance between those two? Or does it change a lot depending on the time?\n\n**SABRINA:** I am happiest when I'm reading design docs or getting updates on the different projects that are happening across my teams. I enjoy the technical problem solving much more so than all the other areas. But I would say it's pretty mixed. I'm not a tech lead. I don't need to be the tech leads at the various products. And I want them to feel empowered.\n\nSo while I'm reading all these things, a lot of times, I get design docs because people want me to sponsor their work. They want me to hear their idea and give them feedback about how to get it prioritized, how to get it staffed. And so that's often why they send me the design docs. But I enjoy reading the technical aspects of how people are approaching problems.\n\nAnd it's good to read these and see how people are approaching problems because that's the opportunity for me. If I see people trying to solve the same problems, I can connect them. I can bring their ideas together because that will be a better outcome for Google. But I would say it's pretty mixed. And it changes week over week, honestly.\n\n**RITA:** And so you're mentioning that you often see designs from tech leads within your team. I'm sure they're very smart people. And they all have very good opinions about what should be done. But sometimes their opinions would be different. How do you resolve conflict and issues when it comes up between engineering teams?\n\n**SABRINA:** Yes, it's true. Especially at Google, people are very empowered. And you might see a problem. And a lot of people want to jump on the problem. And I will observe often that people are solving from within their world. And it can be very siloed approach. And they believe that they are solving for all of Google. But in reality, they're solving a problem very specific to their product area. And they're extrapolating that everyone has the same experience as their product.\n\nAnd I think sometimes you need to make sure they understand that they're looking at it from one perspective and then challenge them to broaden their perspective. And that's really when, if people are solving the same problems, you want to bring them together. And I think sometimes, you have to help them understand that just talking to each other is not enough. You want to actually go in as a collaboration because people tend to want to carve it up and keep it within their domain because that is what they are in control for. That is where they feel empowered.\n\nAnd as a leader, what you want to do is help them feel empowered more broadly even though it makes the problem a little bit more challenging. When you need to negotiate across multiple teams, it's much harder to find that common ground and agree on it. But if the groups are committed to doing that, that's how we get the better outcome for Google.\n\nAnd sometimes, you facilitate that. And sometimes, your job is to realize that neither one will produce the generalized solution, the solution that will meet all. And then you help them scope it to stay within the domain that they are solving for. And that sometimes is the right answer. Not every solution should be generalized because especially at Google, our product areas have different pressures on them. They have different outcomes that they're shooting for. It's great when we find common ground. But that is not always the right answer for us.\n\nAnd my job is to be the judgment of that over time. Sometimes, what I see is I will say, hey, your solution is not ready to be generalized. Solve it for your team first. And then when we get to that point that it's either mature or everyone else has finally come to where they need to to make that solution more accessible to them, I'm looking out for that timing. Because sometimes, you can have a really good idea and the timing is all wrong.\n\nAnd a year later, everyone is now ready for that solution. And I think what you want to do is you want to be able to pause things successfully because fighting for a year is not a better outcome than just pausing something for a year and then bringing it back when everyone is ready for that idea.\n\n**RITA:** That's really insightful. And it sounds like you have to have still such a breadth of technical knowledge to be able to tell when it is the right time to be making these decisions and promoting these solutions more broadly. Even on the smaller scope that I'm working with, I have seen teams propose solutions to the same problem that persists year over year. And it just doesn't work until finally you have a missing piece that is ready for it to be working in production for it to be generalized. And the problem didn't change much. But the solution is just more ready. And it is about the timing. Do you have any concrete examples of resolving these kinds of issues?\n\n**SABRINA:** If we were to talk about Google, one of the things that when we're building currently in SRE, we're driving an effort of convergence, which is how everyone manages their systems in production. My team started out-- when I was just running what is now known as Workspace, each of those products was actually much more like a silo than a suite.\n\nSo we started, because everyone had its own release system, and everyone had its own way of managing capacity, and everyone had their own performance metrics and things like that, and as the lead, I was expected to staff each of those different efforts within each of the silos. So for me, that was like, wow, that's really inefficient. So I brought everyone together. And I said, look, we really have to think about sharing our solutions.\n\nThat was actually really, really hard for people in SRE at the time to think about giving up the solution that they had built. So we started very slowly. And we created a configuration management system. And we tested it in one part of the Workspace world. And immediately, everyone was like, we should use this for everyone. And I was like, no.\n\nOne, not everyone was ready. Two, we hadn't proved that it would deliver on all of the value propositions that people thought were on the table. And I think because we kept it within a single problem space, we worked through a lot of those problems that had we gone more broadly, we would just have 10 times, 100 times more different scenarios to solve for. And so you really want to make sure you have a true proof of concept that if we had tried to push it on day one, we would have never gotten through all the problems.\n\nI would say that for the configuration framework that I'm talking about, we had learned that lesson the hard way before we had done that. We had created a tool that would help people push things very intentionally into production. So it was like, what do you want production to look like? The system would, when a machine came up, it would put it into the state you wanted it to be in.\n\nBut we went broad with that product right away. And in retrospect, we realized like, oh, we should have narrowed the focus, worked out how the whole thing would work for a single large system before we tried to do multiple large systems at the same time. And that project took a lot longer to take hold across the fleet to then our configuration system, where we had worked out all the bugs within a single domain. And then we just had to focus on the generalization problem after the fact, instead of at the same time you're trying to figure out what's all the functionality and how do you generalize it at the same time, the complexity and coordination is very, very difficult.\n\nWhereas doing a full end-to-end proof of concept and then generalizing that, you actually realize your vision much quicker, even though it feels counterintuitive to the people who are very ambitious about their idea. And I think, as a leader, one of the things you have to do is help people realize this is a really good idea. We are driving towards your vision. It's going to be slower in the beginning and then faster at the end. But that's sometimes hard for people to believe in and trust. And so that's why my job is hard. [LAUGHS]\n\n**RITA:** At Google, we're always encouraged to think about things at scale. I mean, it's nice that you have a solution for this one particular case. But what about all the generalized cases? And sometimes, I can see very enthusiastic and very smart engineers getting ahead of them and thinking about the future when they have not even solved the problem fully for the present.\n\n**SABRINA:** Yeah.\n\n**MP:** I'm curious about the opposite. We've heard a lot about overscoping, and trying to make sure you show the right amount of restraint, and proving the idea in a small enough domain to be manageable. Have you encountered cases where you have to really push to get the scope of something grown? That it was kept too narrowly focused and you really had to drive for it to be a larger project?\n\n**SABRINA:** I've also seen that. Less common at Google because people want to solve the big problems, typically. But I have seen where a tech lead will have an idea, they're driving that idea, and they don't want the distractions from external parties. In that case, they have a really good idea. It actually can be bigger.\n\nSo you get them to work out what they want. But then you need to give them a lot of support so that they're comfortable with what will be criticism that comes from external parties. That it's often the individuals uncomfortable with that moment, where you have to work out everything everyone else wants. And it's going to change what they have in their head.\n\nAnd what I found is you just give them much more support. You help coordinate the communication across different teams because it's often they're not comfortable with that. But if you give them a program manager, for example, who can coordinate these things, collect requirements, that can help them realize that they can actually scale this without the burden totally falling on them to work out what all these additional requirements will look like.\n\nHelp them understand they won't have to do this on their own and that there's a bigger picture here. So it depends on the individual and what's making them uncomfortable about expanding the scope, and then supporting them to make sure that their worst case scenario is protected and mitigated.\n\n**MP:** Yeah, I definitely know from my own experiences that increasing of scope, you have to be able to handle a lot of feedback. And that's not always the most pleasant thing if you're very proud of an idea and now you have to hear everyone's, well, this could be different, this could be different.\n\n**SABRINA:** But sometimes, it's that disagreement where the real breakthroughs come out. Creating a very safe environment for that to happen is critically important for any leader at any level. How do you bring disagreements into your team but have it result in a positive outcome and a better outcome? Because I do think these different perspectives make better products when you can factor them in ahead of time. And it's a lot harder to retrofit anything you build later on. So just being open early on to that kind of feedback can really help you make a better design and a more sustainable design in the future.\n\n**MP:** How do you think this decision-making, and decision-evolving, design-evolving process, has that always been how has functioned? Has that always been how Google development more broadly has functioned? Have you seen cultural changes within SRE over the years on how we deal with these large scope decisions?\n\n**SABRINA:** I mean, I think it's definitely evolved. I don't think it's evolved in one direction, really. I don't think it's gotten necessarily always better over time. I think there's been different points in behavior of how this is done.\n\nSo I joined Google in 2005. I joined Google as an IC. And one of the first things that I was introduced to-- because we had all these design doc templates. But before you ever wrote your design doc, when I started, you had a premeeting. And this was where you had an idea and you brought together the stakeholders. And you briefly described your idea. And people gave you feedback. And then you could work through some of the details. People gave you feedback.\n\nAnd you had that meeting prior to the design doc. So then you'd write the design doc knowing what people were looking for. So you could factor that into your design and into your ideas. And your design doc, at that point, would be fully vetted. And then the review you got after was really like, OK now that I see it end to end, what is my feedback? That was what it was like when I joined.\n\nI found over time, what happened is when people had an idea, they did a full design doc in isolation. And then they would ask for feedback. And we started to call it the monkey knife fight because what would happen was everybody was then on that design doc with all the different problems. And it was just such a uncomfortable experience because everyone was coming in cold. And it all sounded really harsh.\n\nSo, I've seen it change. In order for the feedback to not come across so harsh, then what you did had multiple copies of your design doc. And you would send it out to different audiences. And then you'd have to merge the feedback after. And so there's a lot of ways in which it's changed over time.\n\nI still like when people get together and brainstorm as a group because that is more supportive of the person who's writing the design, even though it requires a little bit more time. It feels like, oh, I can just write my design doc. And that'll be quicker. But again, if you get the early feedback on your idea, sometimes, you might decide, hey, this isn't going to work at all.\n\nSo you don't write the design. You don't write it down. Or that feedback takes you in another direction. And that can save time, even though it feels like it's going to take more time to do that, those premeetings, that prefeedback. I still think what we see is people are doing that whole design doc. And they're sharing their idea as a fully vetted thought. And so we have a lot more designs than we have solutions because of that. But maybe it's all good.\n\n**RITA:** One pattern that I'm seeing now that mentioned this evolution of how we make decisions and how we design solutions is some hybrid of both approaches because I guess with the distributed nature of SRE teams, it can be quite difficult to get everybody, all the stakeholders from multiple teams, into the same room. So I've seen the pattern of you start within your own team locally or maybe across one site, you pitch the idea to them. And you come up with something that your team, at least, has alignment on.\n\nAnd then you start with the external partner teams and send it to them for offline review, give them some more time to think about it to come up with feedback and suggestions. And I think that kind of fulfills the first round of bouncing ideas off of other people. Just so you can vet the initial solutions and cut the ones that are pretty obviously not feasible in this context. And that also gives you the benefit of not having to just work around the real practicalities of scheduling a meeting with many, many people, especially if you have senior stakeholders in multiple time zones, and giving them the time to give feedback on their own time.\n\n**SABRINA:** Yeah, it was definitely a lot easier when I started. In 2005, we were pretty small back then.\n\n**RITA:** You were talking about this process of decision making and coming to the right solutions for the problems. I was wondering how your experience as an SRE starting out as an Individual Contributor and rising up through the ranks through upper management informed your decision making. Because I imagine you have to make many more decisions now that are more impactful but you have less and less time to spend on those decisions. How do you make sure you're getting the right information to make sensible decisions in this case?\n\n**SABRINA:** When I first started, we were very, very empowered. A lot of people talk about Google's bottoms-up approach to planning and ideas and things like that. And I think that that's true. But don't think it was ever an absolute. Work always came from both directions. And I think that sometimes gets lost in the lore of Google's culture.\n\nI feel very, very strongly that engineers should be empowered. They have good ideas. That does not mean everyone is empowered to pursue all their ideas. But what we want is for everyone to feel comfortable bringing their ideas to the forefront, having discussions about them, talking about when might the right time be.\n\nAnd so I spend a lot of time trying to get them to answer these questions. And I often will say, how are you thinking about this, this, and this, much more so how would I think about it. What are the things that I would want to see considered? And I try to get them to answer those questions along the way. Primarily so that they know what principles will I follow when I have to make a prioritization.\n\nBecause you cannot do everything, even though we are now a pretty large organization, not every idea can be pursued at the same time. And so we have to pace these ideas. For me as a leader, the most important thing to me, what's really important to me to do is to let people know how I would make decisions. So that they can understand when I make a decision that they don't like, what went into it ahead of time.\n\nBecause sometimes people are after the fact, wanting me to explain it. And that's fine. I can do that. But it is so much more valuable for them to understand how I make decisions, why I make them the way that I do so that they factor that in. And then that makes my job easier. They'll be happier with the outcome.\n\nBut I think sometimes if you just pursue something in isolation and you miss that what are the decisions or how are things going to be prioritized, you can very easily be disappointed in the outcome and even jaded, jaded in the fact that you don't feel empowered to work on the things that you think are the most important. So I do think that is a huge responsibility for leaders to set that foundation for how things will get done within the organization.\n\nAnd I think as an IC, you want to understand what's going on around you. You want to be paying attention to that so that you can factor that into your consideration for what to work on next, et cetera. I think if you're only looking at your view and not looking at what are the external factors, then I think you're not really setting yourself up for success. So even if you are the most junior SRE, you don't just want to do the task. You want to understand why we're doing this.\n\nYou can have a mandate from on high. And you can execute against that mandate. But if you don't understand the why, why do we have this mandate? What problem is it solving? You're not actually going to have the context for when to use your judgment about sometimes the mandates are wrong and it needs to go in another way. But if you don't know what the intended outcome is, you won't see that for yourself.\n\n**RITA:** I've definitely personally seen the difference between success and failure of a project is whether the context was understood and whether the intention behind the project was understood so that you can self steer. And at critical decision points, you go in the direction that matches the spirit of why this whole thing was started, rather than to the word of what needed to be done. So as an Individual Contributor, how can I know how my VP is making decisions? Is it through formal channels such as overall OKRs for the entire organization? Or are there also other channels that you communicate this?\n\n**SABRINA:** I personally do a couple of things. I'll publish a strategy for my team. I'm very clear on what the guardrails are with my leaders. Because I want my leaders to be empowered. I want their leaders to be empowered. And so for me I don't say, hey, we're doing A, B, and C. I'll be like, hey, we're working between A and D. So that they have room to make their own decisions along the way.\n\nBut I try really, really hard to give what are the business context closest to your work. What am I hearing on the ground? What's probably some of the existential threats that might interrupt a business or things like that? And that can be stuff like, especially right now, I think most SREs understand that there's a lot of regulations coming within the different countries that you work that you need to really understand and spend time with.\n\nAnd so when there's something new, we try to describe what's going on that these different boards or governments are trying to put regulation on, especially as we work across different countries. There's a lot of norms that differ between countries. And what's critically important, although we're a US company, is that we want to do business globally.\n\nAnd so we need everyone to understand what are the different pressures on our business. How do we make it more accessible so you understand it? And then how do we help you understand when it's applied and when it's not applied? And so that's a big part of what the leadership team has to give to all of the ICs within their organization.\n\nWhat are some of the things we need you to know about privacy so you make good decisions in your design reviews and you think about what systems are you splitting the data across? And how did they consider privacy? Because Google has a lot of data systems that have historically been data agnostic, being like we could index anything you sent us. But nowadays, we want you to treat the data differently. Because if that data belongs to a user, we don't want you to treat it as if it's something you just crawled on the web. We want you to treat it differently.\n\nAnd we want our team members to understand the why of that, the value of us thinking about it proactively for our users, and for building trust with our users. If every mistake we make affects people's trust of us, and we have a huge responsibility to all of our users and globally that we understand the responsibility that we have and we act in accordance with that.\n\nAnd so you should understand what's happening for your business. You should understand what pressures it's under. And our leadership team has to make sure that you are given that. And so sometimes, we do it with tech talks. Sometimes we do it in team meetings. What is coming up? What are they talking about at the executive level? And try and provide that context along the way. I don't know that we do it perfectly. But I do know that we try really hard to communicate to this and make it accessible to anyone open to hear it. But hopefully, that's everyone.\n\n**RITA:** So looking back on your career, from your early days as an Individual Contributor that's probably more focused on the direct execution of project, to now as an executive, where you're thinking a lot about how do I direct the people in my organization so that they can make good decisions so that they can understand the decisions I'm making, I'm wondering which skills that you've developed during your career are you the most appreciative of today and why.\n\n**SABRINA:** Something that I worked really hard on and also something I'm constantly working on is communication. Being able to communicate your intent is so, so important. What I've also learned is it's really easy to miscommunicate, especially where I am now.\n\nSo when you're an IC and you're in your team, you're communicating to people who know you really well. And so you get a lot more forgiveness for misspeaking. And I would say, as a VP, you get very little room. It's super easy to misspeak. And then it's harder to correct because not everyone is going to know who you are as a person, even though I really try.\n\nWhile I send email to every single person who joins my organization, that doesn't mean they know me. And it doesn't mean that they're going to, by default, trust me. That's something that I have to work on. So I think communication is such a critical skill.\n\nBeing able to know where your audience is, being connected to people is also very important. I think my technical writing course in college, I value that so much because I learned how to do feasibility studies in that class, which I think is so critical. I learned good technical writing, which, I think, really important. I love to document my ideas and get that feedback on paper and take people to the journey.\n\nBefore I write a strategy, a whole bunch of people have read it before. They read it along the way. They've given me feedback. And so I actually think that is probably one of the most valuable classes I ever took in college because I've used it my entire career, both from an IC to executive.\n\n**MP:** I think feasibility study is a brand new phrase for me if you want to explain that a little bit more.\n\n**SABRINA:** Oh yeah, oh my gosh, I tell everyone-- they have a really good idea. And I'll be like, OK, how can we discover whether or not that's going to be feasible? And you can do a small prototype. How would this work in different contexts? Because you want to do that research before you get something really far along.\n\nAnd so I regularly, someone will have an idea, and then we'll map out what would be a good feasibility study for that. And we'll do that first before we build out a big plan to do something bigger. People love to jump to the bigger, though, even-- I'm working on this project. And everyone's like, oh, that's going to be so big. And I'm like, yeah, but I'm doing a feasibility study.\n\nI'm going to make sure everybody can use this taxonomy or use this framework because before I change the way they work, I actually want to know along the way if I'm on the right track. Because we can all think of ideas that we were like, oh, this is going to solve all the problems. And then you try to push out this new process to thousands of people, and then you realize, hey, that's not actually how people work.\n\nSo you really want to know how people would use it before you try to push something out to a large audience. And that's where feasibility study can be so, so valuable to you. Sometimes, I'll get a new process. And I'll wish they had done a feasibility study so that they could have seen that wow, that's not my workflow at all.\n\n**MP:** I'm hearing some similarities to the idea of an MVP, a Minimum Viable Product. But I feel like there's a little bit of a nuance there where an MVP is kind of saying, can we do this thing. And the feasibility study is getting more at can we do this thing at scale. Or is there a bit more nuance there?\n\n**SABRINA:** I think can we do it at scale, can we do it now? Sometimes it's a timing problem. It's not that it's a bad idea. It's just it's an idea before its time. And I think sometimes in a feasibility study is really where you uncover that. It's not just do people like the idea, but are people ready for the idea. Do we have the infrastructure to deliver on this idea? Which also actually is important for you to know now.\n\nBecause if you find out you don't have the infrastructure to pursue your idea, then maybe you pause your idea and spend time on how long will it take the infrastructure to be where you are? Sometimes, you don't even have the technology yet to pursue an idea. And doing that sort of feasibility study of do I have of everything that I need to execute on this idea? Are teams ready to hear that idea? I think you get it out during that time because a feasibility study is what are all the questions we would need to answer? Who's all the people? Where is their input?\n\nWhat would have to be true for us to push this through? And sometimes, when you put that in front of a project, you're better able to estimate when could you launch. We've all seen people set launch dates. But if you haven't done a feasibility study, you're just putting a date out there. And that date is going to slip. Or you're going to take a bunch of compromises just to hit that date. I've been in all those situations. And that's really why this is something I prefer to teach people how to do early on.\n\n**MP:** If you think about how SRE has changed and evolved over the last 10 years, what do you think the next 10 years of the evolution of SRE is going to look like?\n\n**SABRINA:** When I think about how we do our work now versus how we used to do it, I'm very motivated by change. So I love change because I think change brings opportunity for us to really challenge what we think we know. I think SRE-- especially SRE at Google, there's a lot of best practices, and rules of the road, and how do you build teams, and how do you lay out your team, and how do you do on call? There's a lot of things that are very standard.\n\nAnd I think that in order for us to evolve, we really have to take all of those things and question the assumptions in which these decisions were made. Just because we have a policy does not mean that's going to serve us into the future. It's only served us up to where we are now.\n\nSo one of the things is-- the question that I mentioned earlier, what would have to be true, is a question that I'm trying to challenge my team with. Which is we have an outage, all these things happen, we postmortem, we find all the AIs in there. We really think about how do we avoid this happening again.\n\nBut oftentimes, the postmortems are very specific to that service, the teams involved, and what happened on that day. And I think what I'm thinking about when I'm thinking about the future is not how do I avoid that again. But it's like, what would have to be true for this to never happen again? Or what would have to be true such that I don't have to get paged for this, or I don't have to observe it, or a user doesn't have to discover this?\n\nI think that's the question that's really going to lead us to the next generation of infrastructure and the next generation of how we build teams and how we build our services. Because there's a lot of technology now that can really enable us to have the systems be a lot smarter than they were in the past. So what would have to be true for the system to self recover?\n\nI think in the past, we might put some wrappers around our systems, or babysitters, or things like that, something looking out for what's happening. But how can the systems understand how it could fail, circumvent that, automatically say, hey, this is a hot shard, I should move things around. I should move user traffic around automatically. How do we build a system that can see that instead of building on top of it?\n\nWe're really good right now in creating layers on top of the system. We're working around all the problems. And what we're doing is building solutions on top of that. And I think we really need to start being like, how do we build this system to have these features, have this intuitive understanding of how it can exploit the risks of the system such that it can self repair?\n\nAnd so I really like that way of thinking. I think as we work through these things, we're really discovering that if you built this again, you could build these features or those features to help the system be smarter in the future. And I think our products are getting very advanced. They're getting a lot smarter, very intuitive to what the user wants to write. I love when I'm responding to an email, and I'm like, yes, that's exactly the answer I want to say. And I think more technology is going to do that. And I think our infrastructure can do that too.\n\n**RITA:** So in addition to improving the system so that it can continually evolve and find these kind of risks, what are your thoughts regarding the engineering experience working as an SRE on these systems? What are some areas that you would like to invest in over there?\n\n**SABRINA:** There was a separation between what the developers did and what SRE did. And there was always this wall between the teams. And I think the first thing I do when I engage with a new product is I find out how high that wall is and I just start knocking it down. Because work should be moving in both directions between SRE and dev.\n\nAnd SREs are so much more valuable to the dev team to have them on board at the beginning. Really being intentional about the resilience you want to build in the system, and what reliability are you targeting, what the user experience that you want to achieve, asking those questions up front and bringing SRE into the design phase is a much smoother path to success for your users and achieving what your goals are for the users.\n\nIt's so funny that we have this [history of SREs](../../../20/) coming in late. And I think that doesn't work going into the future. There's too many things coming. And so I want SRE to be comfortable in the design phase. I want them to be comfortable taking on the resilience part, engineering part of a new product, knowing how to do it, engaging in that, and collaborating across the aisle, so to speak, between dev and SRE.\n\nWe should be working from the same set of priorities, the same business objectives, and targeting the same experience for the user. I think SRE at Google, we have an additional mission to bring some consistency to production, to bring cross-functional viewpoint to the solutions that we're recommending. But I think we all need to act as a single team on behalf of our users. And so I think that's a much critical [future for SRE](../../../20/).\n\n**RITA:** In some ways, I can see that's also a cultural paradigm within SRE. And it can be a cultural thing of whether sometimes you feel like you don't have enough knowledge about the system to get involved early. Well, I guess nobody really has that knowledge. It's the concerns that we need to be addressing in terms of reliability and failure domains. Nobody has really thoroughly thought about it. So that really is the point where SRE should feel empowered to come in and get involved in the design early.\n\nAnd so talking about the cultural aspect of SRE, one of my favorite things about being an SRE at Google is just the culture of transparency, of blameless postmortems, of not being afraid of failures, and learning from that, often, in a public way. So you can model that behavior for other people. I'm wondering on the culture and people aspect, which of these initiatives are you the most proud of? And what impact have they had?\n\n**SABRINA:** I think that there's a lot about the SRE culture that I love. And it's evolved so much in my time here. It's almost been 18 years. And I think there was this well-articulated tension between dev and SRE. And that we would use budgets to negotiate between each other. And I think that's historically how we've acted. And I would say now, I find that the teams are much-- you can't really tell that there's a line between them. That's how I can tell we have a really healthy SRE-dev engagement.\n\nAnd I think that is-- this collaboration, this look left and right, which we don't always get correct, and what I mean by that is before you start pursuing an idea, look to see who else is thinking about it and join forces when you can. I think we do that a lot more now than we did in the past. And I think that that is so critical for us in the future as well. So I think we still have some work to do there.\n\nI think probably the best thing that I like about SRE, which is kind of weird because it's also the part that makes my job hard, is that SREs feel very empowered. They're very passionate people. They rarely don't have an opinion on something. You have to manage a lot of different opinions. But I love that. I love that about SRE. I never want to lose that.\n\nI love that they're passionate. They'll fight for what they believe in. And so I don't want that to go away because I think we get better outcomes from it. I just think we need to make people understand that you can do that in a safe environment. And I think SRE at Google has been very good at, especially from leaders, is whatever question comes to us, we know we should answer it.\n\nWe don't have to like it. But we know we have a responsibility to answer it. And I think that that is something I want to never go away because it means people can ask us anything. That they will be safe to ask us really hard questions. And that's only true if we live up to that as leaders.\n\n**RITA:** So for those folks who might be interested in engineering or SRE in particular and are not yet fully in the workforce, in your opinion, how can they best prepare to become an SRE?\n\n**SABRINA:** I think that understanding what drives you is probably the most valuable lesson you can learn, regardless of what role you go into. Because I think SREs are problem solvers. They are curious. And they understand that you're never going to know 100%. And so I think in SRE, it's a constant learning.\n\nSo if you're comfortable learning new things, and change, and you see yourself as a problem solver, you should really consider SRE as a career. Because I think I am so appreciative in college I learned that I was super motivated to solve problems. I loved writing code. But code was a means to the end for me. And for me, it was that problem solving.\n\nAnd so I've never been bored in SRE. There's always problems to be solved. I have seen people, they're only comfortable when they really understand the problem end to end. And I think, oftentimes, you might be better as a full-time SWE, where you have the one thing you're working on and you evolve that one thing. In SRE, there's no one thing you need to know.\n\nYou need to know the full stack. You need to know how everything works together. But a good SRE appreciates that you can learn any of these things along the way. You don't need to know them up front, mostly because we also have a community of people who really support each other.\n\nSo even if you're on call, you're rarely on call by yourself. Your whole team is there behind you. And we're always thinking about the user. So no one's by themselves, typically. And I think that that is another thing people should know. Because we'll talk to people and they'll be like, that sounds super interesting. But I don't know enough yet. And I'm always like, no, none of us know enough. You need to understand that we're all going to work on this together.\n\n**MP:** What advice would you offer to those who are already in SRE and are looking to grow their scope and their leadership potential, either as ICs or on the managerial ladder? What advice would you have for them?\n\n**SABRINA:** I think that I'm going to use the term networking, even though that's a weird term sometimes. I do think that talking to people, really challenging-- I'm doing something, it's going well, can I make it better? I think that's always been my guiding light, a little bit, is, do I think I can make this better?\n\nAnd then how much time would it take? And then learning that decision of pursue this one or pursue another option. I think that it's really valuable to learn. So if you think, oh, management is in my future, you should really understand-- and I wish I had done this early on-- is, what does management mean? What's involved?\n\nBecause it's not really that you're now the boss and you get to tell everyone what to do. I think I thought that early on in my career the first time I became a manager. And I went back and forth, IC, manager, and then I was like, oh this sucks, I'm going to IC, just my work, because as a manager, yeah, you get to tell people what to do. But you also work for all the people who are in your organization.\n\nSo I think about this all the time: that's a lot to take on. You need to know that you're ready to do that. And I think that spending time learning about the role before you jump into it is really, really valuable. I was not so intentional, I think, with my career. And I think if you look at some of what I've done at Google is over time, I created these career planning guides for people to understand what's expected at the different level.\n\nSo that I'd have team members say, hey, I want to get promoted. And I would be like, OK, this is what your new job is going to look like. Is that what you want? Because sometimes, it's not. And you don't want to find out after the fact. Because then what happens? You have to change directions. And that's a lot harder.\n\nSo I think talking to people, learning about what's required at the next level, what does it look like, and then making intentional choices is really, really valuable. The other thing I think, is understanding what support you need. So if you have an idea and you want to generalize it, I said, often, I'll get design docs because people will want my sponsorship for that because they want to put my name on their idea.\n\nAnd it's like before you submit that to me, you should learn, how do I make these decisions? Talk to people who I have sponsored their efforts. I think it makes the experience much smoother for you to learn from someone else than sending me a design doc and realizing I'm going to read it. And I'm going to give you comments all through it, which I think some people think are harsh. But in reality, I'm actually trying to tell you how to get my sponsorship along the way.\n\n**MP:** Rita, did you have anything else you wanted to ask before we wrap up?\n\n**RITA:** I think we've heard some really great insights about what the job of an executive is like, and how leadership at that level works, and also some great advice for folks that are starting out in SRE or looking to advance their careers in different aspects about how to make sure that, yeah, you are getting what you expected once you make that transition.\n\n**MP:** This has been absolutely wonderful. And thank you so much for your time today. Did you have anything else you wanted to share with our audience before we say goodbye?\n\n**SABRINA:** No, thanks for having me. Thanks for evolving this field. I do think that there are great engineers in SRE. I think it's important to know that it's not an operational function. At its core, we have operational work we do, but it's really about what engineering are we bringing to our products and what are we doing for our users. I love it.\n\n**MP:** Well, thank you so much again, Sabrina, for all of your time today. A lot of planning went into making this episode possible. So special thanks to all of those on your team as well. This has been an absolute blast. Thank you.\n\n**RITA:** Thank you for letting me cohost on these episodes. It's been absolutely a great time getting to know fellow SREs more.\n\n**SABRINA:** Thank you. Thank you so much for having me and doing this.\n\n**MP:** And thanks to our audience for listening.\n\n**[VOICEOVER]** \"Prodcast,\" the Google SRE Production Podcast is hosted by MP English and Rita Lu, and produced by Salim Virji. The podcast is edited by Jordan Greenberg, engineering by Paul Guglielmino and Jordan Greenberg. Javi Beltran composed the musical theme. Special Thanks to Steve McGee and Pamela Vong.\n\n**[THEME MUSIC]**", "znaku_textu": 45427, "slov": 8375, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:01", "sha256": "9b06ab9b3714d8c6536024e740dfacc12578782e4ca530741857b6a0cd28bf03", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07/", "titulek": "Google SRE - A deep dive into sre role and responsibilities", "h1": "Life of An SRE with Sabrina Farmer", "popis": "SRE Role & SRE Career with executive guest Sabrina Farmer : Gain a deep understanding of site reliability engineer responsibilities, skills, and career paths.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07"}, "headline": "Life of An SRE with Sabrina Farmer", "description": "Sabrina Farmer, VP of Engineering at Google, talks about her career journey through Site Reliability Engineering. What does management mean? What's involved in being an effective manager? and what's a feasibility study? Hear some great advice on how to get what you expect out of a role, wherever on the ladder it is.", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Sabrina Farmer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE with Sabrina Farmer"}], "markdown": "# Life of An SRE with Sabrina Farmer\n\nSabrina Farmer, VP of Engineering at Google, talks about her career journey through Site Reliability Engineering. What does management mean? What’s involved in being an effective manager? and what’s a feasibility study? Hear some great advice on how to get what you expect out of a role, wherever on the ladder it is.\n\n**[THEME MUSIC]**\n\n**MP:** Hello, and welcome to the Google SRE Podcast, or as we affectionately refer to it, the \"Prodcast.\" I'm your host, MP. And here with me as co-host is Rita.\n\n**RITA:** Hello, I'm happy to be here again.\n\n**MP:** And I am very excited for today's episode because for the first time in the history of the prodcast, we have an executive guest. Let's hear from her.\n\n**SABRINA:** Hi, everybody. I'm Sabrina Farmer. And I am VP of Engineering here at Google for SRE.\n\n**MP:** So I think we should just start off with the most obvious question while we have you here. What does a VP of SRE do?\n\n**SABRINA:** **[LAUGHS]** Every day is a little bit different. I think when you think about a VP position at Google, really, all leaders actually need to make decisions based on Google, their product area, their team, and their people. And I think at the VP level, your starting point is always Google.\n\nSo my job is to make decisions on behalf of Google across my portfolio. So my portfolio here at Google covers most of Google's beloved products, everything from Search and Geo, but also our platforms like Chrome and the Play Store, and all the infrastructure for the products, so the authentication systems, the abuse systems, data analytics, and things like that. And so with that broad view, I'm looking at what problems are each of the product areas having, and then what does this tell me about the opportunity to solve those problems at a higher level. So I'm constantly looking for that.\n\nBut as any good SRE, we're the problem solvers. And so I would say, pretty much guaranteed every day, I'm hearing about all the problems that are happening across the product areas. And my job is to help resolve them as quickly as possible. And they could be technical problems, org problems, or conflicts between teams as well.\n\n**RITA:** If you're the VP of Engineering, I'm wondering how much time you spend actually getting involved in engineering-type decisions versus maybe other business outcome decisions as you were mentioning, like you always keep Google in mind when you are going about in your day-to-day life. What's the balance between those two? Or does it change a lot depending on the time?\n\n**SABRINA:** I am happiest when I'm reading design docs or getting updates on the different projects that are happening across my teams. I enjoy the technical problem solving much more so than all the other areas. But I would say it's pretty mixed. I'm not a tech lead. I don't need to be the tech leads at the various products. And I want them to feel empowered.\n\nSo while I'm reading all these things, a lot of times, I get design docs because people want me to sponsor their work. They want me to hear their idea and give them feedback about how to get it prioritized, how to get it staffed. And so that's often why they send me the design docs. But I enjoy reading the technical aspects of how people are approaching problems.\n\nAnd it's good to read these and see how people are approaching problems because that's the opportunity for me. If I see people trying to solve the same problems, I can connect them. I can bring their ideas together because that will be a better outcome for Google. But I would say it's pretty mixed. And it changes week over week, honestly.\n\n**RITA:** And so you're mentioning that you often see designs from tech leads within your team. I'm sure they're very smart people. And they all have very good opinions about what should be done. But sometimes their opinions would be different. How do you resolve conflict and issues when it comes up between engineering teams?\n\n**SABRINA:** Yes, it's true. Especially at Google, people are very empowered. And you might see a problem. And a lot of people want to jump on the problem. And I will observe often that people are solving from within their world. And it can be very siloed approach. And they believe that they are solving for all of Google. But in reality, they're solving a problem very specific to their product area. And they're extrapolating that everyone has the same experience as their product.\n\nAnd I think sometimes you need to make sure they understand that they're looking at it from one perspective and then challenge them to broaden their perspective. And that's really when, if people are solving the same problems, you want to bring them together. And I think sometimes, you have to help them understand that just talking to each other is not enough. You want to actually go in as a collaboration because people tend to want to carve it up and keep it within their domain because that is what they are in control for. That is where they feel empowered.\n\nAnd as a leader, what you want to do is help them feel empowered more broadly even though it makes the problem a little bit more challenging. When you need to negotiate across multiple teams, it's much harder to find that common ground and agree on it. But if the groups are committed to doing that, that's how we get the better outcome for Google.\n\nAnd sometimes, you facilitate that. And sometimes, your job is to realize that neither one will produce the generalized solution, the solution that will meet all. And then you help them scope it to stay within the domain that they are solving for. And that sometimes is the right answer. Not every solution should be generalized because especially at Google, our product areas have different pressures on them. They have different outcomes that they're shooting for. It's great when we find common ground. But that is not always the right answer for us.\n\nAnd my job is to be the judgment of that over time. Sometimes, what I see is I will say, hey, your solution is not ready to be generalized. Solve it for your team first. And then when we get to that point that it's either mature or everyone else has finally come to where they need to to make that solution more accessible to them, I'm looking out for that timing. Because sometimes, you can have a really good idea and the timing is all wrong.\n\nAnd a year later, everyone is now ready for that solution. And I think what you want to do is you want to be able to pause things successfully because fighting for a year is not a better outcome than just pausing something for a year and then bringing it back when everyone is ready for that idea.\n\n**RITA:** That's really insightful. And it sounds like you have to have still such a breadth of technical knowledge to be able to tell when it is the right time to be making these decisions and promoting these solutions more broadly. Even on the smaller scope that I'm working with, I have seen teams propose solutions to the same problem that persists year over year. And it just doesn't work until finally you have a missing piece that is ready for it to be working in production for it to be generalized. And the problem didn't change much. But the solution is just more ready. And it is about the timing. Do you have any concrete examples of resolving these kinds of issues?\n\n**SABRINA:** If we were to talk about Google, one of the things that when we're building currently in SRE, we're driving an effort of convergence, which is how everyone manages their systems in production. My team started out-- when I was just running what is now known as Workspace, each of those products was actually much more like a silo than a suite.\n\nSo we started, because everyone had its own release system, and everyone had its own way of managing capacity, and everyone had their own performance metrics and things like that, and as the lead, I was expected to staff each of those different efforts within each of the silos. So for me, that was like, wow, that's really inefficient. So I brought everyone together. And I said, look, we really have to think about sharing our solutions.\n\nThat was actually really, really hard for people in SRE at the time to think about giving up the solution that they had built. So we started very slowly. And we created a configuration management system. And we tested it in one part of the Workspace world. And immediately, everyone was like, we should use this for everyone. And I was like, no.\n\nOne, not everyone was ready. Two, we hadn't proved that it would deliver on all of the value propositions that people thought were on the table. And I think because we kept it within a single problem space, we worked through a lot of those problems that had we gone more broadly, we would just have 10 times, 100 times more different scenarios to solve for. And so you really want to make sure you have a true proof of concept that if we had tried to push it on day one, we would have never gotten through all the problems.\n\nI would say that for the configuration framework that I'm talking about, we had learned that lesson the hard way before we had done that. We had created a tool that would help people push things very intentionally into production. So it was like, what do you want production to look like? The system would, when a machine came up, it would put it into the state you wanted it to be in.\n\nBut we went broad with that product right away. And in retrospect, we realized like, oh, we should have narrowed the focus, worked out how the whole thing would work for a single large system before we tried to do multiple large systems at the same time. And that project took a lot longer to take hold across the fleet to then our configuration system, where we had worked out all the bugs within a single domain. And then we just had to focus on the generalization problem after the fact, instead of at the same time you're trying to figure out what's all the functionality and how do you generalize it at the same time, the complexity and coordination is very, very difficult.\n\nWhereas doing a full end-to-end proof of concept and then generalizing that, you actually realize your vision much quicker, even though it feels counterintuitive to the people who are very ambitious about their idea. And I think, as a leader, one of the things you have to do is help people realize this is a really good idea. We are driving towards your vision. It's going to be slower in the beginning and then faster at the end. But that's sometimes hard for people to believe in and trust. And so that's why my job is hard. [LAUGHS]\n\n**RITA:** At Google, we're always encouraged to think about things at scale. I mean, it's nice that you have a solution for this one particular case. But what about all the generalized cases? And sometimes, I can see very enthusiastic and very smart engineers getting ahead of them and thinking about the future when they have not even solved the problem fully for the present.\n\n**SABRINA:** Yeah.\n\n**MP:** I'm curious about the opposite. We've heard a lot about overscoping, and trying to make sure you show the right amount of restraint, and proving the idea in a small enough domain to be manageable. Have you encountered cases where you have to really push to get the scope of something grown? That it was kept too narrowly focused and you really had to drive for it to be a larger project?\n\n**SABRINA:** I've also seen that. Less common at Google because people want to solve the big problems, typically. But I have seen where a tech lead will have an idea, they're driving that idea, and they don't want the distractions from external parties. In that case, they have a really good idea. It actually can be bigger.\n\nSo you get them to work out what they want. But then you need to give them a lot of support so that they're comfortable with what will be criticism that comes from external parties. That it's often the individuals uncomfortable with that moment, where you have to work out everything everyone else wants. And it's going to change what they have in their head.\n\nAnd what I found is you just give them much more support. You help coordinate the communication across different teams because it's often they're not comfortable with that. But if you give them a program manager, for example, who can coordinate these things, collect requirements, that can help them realize that they can actually scale this without the burden totally falling on them to work out what all these additional requirements will look like.\n\nHelp them understand they won't have to do this on their own and that there's a bigger picture here. So it depends on the individual and what's making them uncomfortable about expanding the scope, and then supporting them to make sure that their worst case scenario is protected and mitigated.\n\n**MP:** Yeah, I definitely know from my own experiences that increasing of scope, you have to be able to handle a lot of feedback. And that's not always the most pleasant thing if you're very proud of an idea and now you have to hear everyone's, well, this could be different, this could be different.\n\n**SABRINA:** But sometimes, it's that disagreement where the real breakthroughs come out. Creating a very safe environment for that to happen is critically important for any leader at any level. How do you bring disagreements into your team but have it result in a positive outcome and a better outcome? Because I do think these different perspectives make better products when you can factor them in ahead of time. And it's a lot harder to retrofit anything you build later on. So just being open early on to that kind of feedback can really help you make a better design and a more sustainable design in the future.\n\n**MP:** How do you think this decision-making, and decision-evolving, design-evolving process, has that always been how has functioned? Has that always been how Google development more broadly has functioned? Have you seen cultural changes within SRE over the years on how we deal with these large scope decisions?\n\n**SABRINA:** I mean, I think it's definitely evolved. I don't think it's evolved in one direction, really. I don't think it's gotten necessarily always better over time. I think there's been different points in behavior of how this is done.\n\nSo I joined Google in 2005. I joined Google as an IC. And one of the first things that I was introduced to-- because we had all these design doc templates. But before you ever wrote your design doc, when I started, you had a premeeting. And this was where you had an idea and you brought together the stakeholders. And you briefly described your idea. And people gave you feedback. And then you could work through some of the details. People gave you feedback.\n\nAnd you had that meeting prior to the design doc. So then you'd write the design doc knowing what people were looking for. So you could factor that into your design and into your ideas. And your design doc, at that point, would be fully vetted. And then the review you got after was really like, OK now that I see it end to end, what is my feedback? That was what it was like when I joined.\n\nI found over time, what happened is when people had an idea, they did a full design doc in isolation. And then they would ask for feedback. And we started to call it the monkey knife fight because what would happen was everybody was then on that design doc with all the different problems. And it was just such a uncomfortable experience because everyone was coming in cold. And it all sounded really harsh.\n\nSo, I've seen it change. In order for the feedback to not come across so harsh, then what you did had multiple copies of your design doc. And you would send it out to different audiences. And then you'd have to merge the feedback after. And so there's a lot of ways in which it's changed over time.\n\nI still like when people get together and brainstorm as a group because that is more supportive of the person who's writing the design, even though it requires a little bit more time. It feels like, oh, I can just write my design doc. And that'll be quicker. But again, if you get the early feedback on your idea, sometimes, you might decide, hey, this isn't going to work at all.\n\nSo you don't write the design. You don't write it down. Or that feedback takes you in another direction. And that can save time, even though it feels like it's going to take more time to do that, those premeetings, that prefeedback. I still think what we see is people are doing that whole design doc. And they're sharing their idea as a fully vetted thought. And so we have a lot more designs than we have solutions because of that. But maybe it's all good.\n\n**RITA:** One pattern that I'm seeing now that mentioned this evolution of how we make decisions and how we design solutions is some hybrid of both approaches because I guess with the distributed nature of SRE teams, it can be quite difficult to get everybody, all the stakeholders from multiple teams, into the same room. So I've seen the pattern of you start within your own team locally or maybe across one site, you pitch the idea to them. And you come up with something that your team, at least, has alignment on.\n\nAnd then you start with the external partner teams and send it to them for offline review, give them some more time to think about it to come up with feedback and suggestions. And I think that kind of fulfills the first round of bouncing ideas off of other people. Just so you can vet the initial solutions and cut the ones that are pretty obviously not feasible in this context. And that also gives you the benefit of not having to just work around the real practicalities of scheduling a meeting with many, many people, especially if you have senior stakeholders in multiple time zones, and giving them the time to give feedback on their own time.\n\n**SABRINA:** Yeah, it was definitely a lot easier when I started. In 2005, we were pretty small back then.\n\n**RITA:** You were talking about this process of decision making and coming to the right solutions for the problems. I was wondering how your experience as an SRE starting out as an Individual Contributor and rising up through the ranks through upper management informed your decision making. Because I imagine you have to make many more decisions now that are more impactful but you have less and less time to spend on those decisions. How do you make sure you're getting the right information to make sensible decisions in this case?\n\n**SABRINA:** When I first started, we were very, very empowered. A lot of people talk about Google's bottoms-up approach to planning and ideas and things like that. And I think that that's true. But don't think it was ever an absolute. Work always came from both directions. And I think that sometimes gets lost in the lore of Google's culture.\n\nI feel very, very strongly that engineers should be empowered. They have good ideas. That does not mean everyone is empowered to pursue all their ideas. But what we want is for everyone to feel comfortable bringing their ideas to the forefront, having discussions about them, talking about when might the right time be.\n\nAnd so I spend a lot of time trying to get them to answer these questions. And I often will say, how are you thinking about this, this, and this, much more so how would I think about it. What are the things that I would want to see considered? And I try to get them to answer those questions along the way. Primarily so that they know what principles will I follow when I have to make a prioritization.\n\nBecause you cannot do everything, even though we are now a pretty large organization, not every idea can be pursued at the same time. And so we have to pace these ideas. For me as a leader, the most important thing to me, what's really important to me to do is to let people know how I would make decisions. So that they can understand when I make a decision that they don't like, what went into it ahead of time.\n\nBecause sometimes people are after the fact, wanting me to explain it. And that's fine. I can do that. But it is so much more valuable for them to understand how I make decisions, why I make them the way that I do so that they factor that in. And then that makes my job easier. They'll be happier with the outcome.\n\nBut I think sometimes if you just pursue something in isolation and you miss that what are the decisions or how are things going to be prioritized, you can very easily be disappointed in the outcome and even jaded, jaded in the fact that you don't feel empowered to work on the things that you think are the most important. So I do think that is a huge responsibility for leaders to set that foundation for how things will get done within the organization.\n\nAnd I think as an IC, you want to understand what's going on around you. You want to be paying attention to that so that you can factor that into your consideration for what to work on next, et cetera. I think if you're only looking at your view and not looking at what are the external factors, then I think you're not really setting yourself up for success. So even if you are the most junior SRE, you don't just want to do the task. You want to understand why we're doing this.\n\nYou can have a mandate from on high. And you can execute against that mandate. But if you don't understand the why, why do we have this mandate? What problem is it solving? You're not actually going to have the context for when to use your judgment about sometimes the mandates are wrong and it needs to go in another way. But if you don't know what the intended outcome is, you won't see that for yourself.\n\n**RITA:** I've definitely personally seen the difference between success and failure of a project is whether the context was understood and whether the intention behind the project was understood so that you can self steer. And at critical decision points, you go in the direction that matches the spirit of why this whole thing was started, rather than to the word of what needed to be done. So as an Individual Contributor, how can I know how my VP is making decisions? Is it through formal channels such as overall OKRs for the entire organization? Or are there also other channels that you communicate this?\n\n**SABRINA:** I personally do a couple of things. I'll publish a strategy for my team. I'm very clear on what the guardrails are with my leaders. Because I want my leaders to be empowered. I want their leaders to be empowered. And so for me I don't say, hey, we're doing A, B, and C. I'll be like, hey, we're working between A and D. So that they have room to make their own decisions along the way.\n\nBut I try really, really hard to give what are the business context closest to your work. What am I hearing on the ground? What's probably some of the existential threats that might interrupt a business or things like that? And that can be stuff like, especially right now, I think most SREs understand that there's a lot of regulations coming within the different countries that you work that you need to really understand and spend time with.\n\nAnd so when there's something new, we try to describe what's going on that these different boards or governments are trying to put regulation on, especially as we work across different countries. There's a lot of norms that differ between countries. And what's critically important, although we're a US company, is that we want to do business globally.\n\nAnd so we need everyone to understand what are the different pressures on our business. How do we make it more accessible so you understand it? And then how do we help you understand when it's applied and when it's not applied? And so that's a big part of what the leadership team has to give to all of the ICs within their organization.\n\nWhat are some of the things we need you to know about privacy so you make good decisions in your design reviews and you think about what systems are you splitting the data across? And how did they consider privacy? Because Google has a lot of data systems that have historically been data agnostic, being like we could index anything you sent us. But nowadays, we want you to treat the data differently. Because if that data belongs to a user, we don't want you to treat it as if it's something you just crawled on the web. We want you to treat it differently.\n\nAnd we want our team members to understand the why of that, the value of us thinking about it proactively for our users, and for building trust with our users. If every mistake we make affects people's trust of us, and we have a huge responsibility to all of our users and globally that we understand the responsibility that we have and we act in accordance with that.\n\nAnd so you should understand what's happening for your business. You should understand what pressures it's under. And our leadership team has to make sure that you are given that. And so sometimes, we do it with tech talks. Sometimes we do it in team meetings. What is coming up? What are they talking about at the executive level? And try and provide that context along the way. I don't know that we do it perfectly. But I do know that we try really hard to communicate to this and make it accessible to anyone open to hear it. But hopefully, that's everyone.\n\n**RITA:** So looking back on your career, from your early days as an Individual Contributor that's probably more focused on the direct execution of project, to now as an executive, where you're thinking a lot about how do I direct the people in my organization so that they can make good decisions so that they can understand the decisions I'm making, I'm wondering which skills that you've developed during your career are you the most appreciative of today and why.\n\n**SABRINA:** Something that I worked really hard on and also something I'm constantly working on is communication. Being able to communicate your intent is so, so important. What I've also learned is it's really easy to miscommunicate, especially where I am now.\n\nSo when you're an IC and you're in your team, you're communicating to people who know you really well. And so you get a lot more forgiveness for misspeaking. And I would say, as a VP, you get very little room. It's super easy to misspeak. And then it's harder to correct because not everyone is going to know who you are as a person, even though I really try.\n\nWhile I send email to every single person who joins my organization, that doesn't mean they know me. And it doesn't mean that they're going to, by default, trust me. That's something that I have to work on. So I think communication is such a critical skill.\n\nBeing able to know where your audience is, being connected to people is also very important. I think my technical writing course in college, I value that so much because I learned how to do feasibility studies in that class, which I think is so critical. I learned good technical writing, which, I think, really important. I love to document my ideas and get that feedback on paper and take people to the journey.\n\nBefore I write a strategy, a whole bunch of people have read it before. They read it along the way. They've given me feedback. And so I actually think that is probably one of the most valuable classes I ever took in college because I've used it my entire career, both from an IC to executive.\n\n**MP:** I think feasibility study is a brand new phrase for me if you want to explain that a little bit more.\n\n**SABRINA:** Oh yeah, oh my gosh, I tell everyone-- they have a really good idea. And I'll be like, OK, how can we discover whether or not that's going to be feasible? And you can do a small prototype. How would this work in different contexts? Because you want to do that research before you get something really far along.\n\nAnd so I regularly, someone will have an idea, and then we'll map out what would be a good feasibility study for that. And we'll do that first before we build out a big plan to do something bigger. People love to jump to the bigger, though, even-- I'm working on this project. And everyone's like, oh, that's going to be so big. And I'm like, yeah, but I'm doing a feasibility study.\n\nI'm going to make sure everybody can use this taxonomy or use this framework because before I change the way they work, I actually want to know along the way if I'm on the right track. Because we can all think of ideas that we were like, oh, this is going to solve all the problems. And then you try to push out this new process to thousands of people, and then you realize, hey, that's not actually how people work.\n\nSo you really want to know how people would use it before you try to push something out to a large audience. And that's where feasibility study can be so, so valuable to you. Sometimes, I'll get a new process. And I'll wish they had done a feasibility study so that they could have seen that wow, that's not my workflow at all.\n\n**MP:** I'm hearing some similarities to the idea of an MVP, a Minimum Viable Product. But I feel like there's a little bit of a nuance there where an MVP is kind of saying, can we do this thing. And the feasibility study is getting more at can we do this thing at scale. Or is there a bit more nuance there?\n\n**SABRINA:** I think can we do it at scale, can we do it now? Sometimes it's a timing problem. It's not that it's a bad idea. It's just it's an idea before its time. And I think sometimes in a feasibility study is really where you uncover that. It's not just do people like the idea, but are people ready for the idea. Do we have the infrastructure to deliver on this idea? Which also actually is important for you to know now.\n\nBecause if you find out you don't have the infrastructure to pursue your idea, then maybe you pause your idea and spend time on how long will it take the infrastructure to be where you are? Sometimes, you don't even have the technology yet to pursue an idea. And doing that sort of feasibility study of do I have of everything that I need to execute on this idea? Are teams ready to hear that idea? I think you get it out during that time because a feasibility study is what are all the questions we would need to answer? Who's all the people? Where is their input?\n\nWhat would have to be true for us to push this through? And sometimes, when you put that in front of a project, you're better able to estimate when could you launch. We've all seen people set launch dates. But if you haven't done a feasibility study, you're just putting a date out there. And that date is going to slip. Or you're going to take a bunch of compromises just to hit that date. I've been in all those situations. And that's really why this is something I prefer to teach people how to do early on.\n\n**MP:** If you think about how SRE has changed and evolved over the last 10 years, what do you think the next 10 years of the evolution of SRE is going to look like?\n\n**SABRINA:** When I think about how we do our work now versus how we used to do it, I'm very motivated by change. So I love change because I think change brings opportunity for us to really challenge what we think we know. I think SRE-- especially SRE at Google, there's a lot of best practices, and rules of the road, and how do you build teams, and how do you lay out your team, and how do you do on call? There's a lot of things that are very standard.\n\nAnd I think that in order for us to evolve, we really have to take all of those things and question the assumptions in which these decisions were made. Just because we have a policy does not mean that's going to serve us into the future. It's only served us up to where we are now.\n\nSo one of the things is-- the question that I mentioned earlier, what would have to be true, is a question that I'm trying to challenge my team with. Which is we have an outage, all these things happen, we postmortem, we find all the AIs in there. We really think about how do we avoid this happening again.\n\nBut oftentimes, the postmortems are very specific to that service, the teams involved, and what happened on that day. And I think what I'm thinking about when I'm thinking about the future is not how do I avoid that again. But it's like, what would have to be true for this to never happen again? Or what would have to be true such that I don't have to get paged for this, or I don't have to observe it, or a user doesn't have to discover this?\n\nI think that's the question that's really going to lead us to the next generation of infrastructure and the next generation of how we build teams and how we build our services. Because there's a lot of technology now that can really enable us to have the systems be a lot smarter than they were in the past. So what would have to be true for the system to self recover?\n\nI think in the past, we might put some wrappers around our systems, or babysitters, or things like that, something looking out for what's happening. But how can the systems understand how it could fail, circumvent that, automatically say, hey, this is a hot shard, I should move things around. I should move user traffic around automatically. How do we build a system that can see that instead of building on top of it?\n\nWe're really good right now in creating layers on top of the system. We're working around all the problems. And what we're doing is building solutions on top of that. And I think we really need to start being like, how do we build this system to have these features, have this intuitive understanding of how it can exploit the risks of the system such that it can self repair?\n\nAnd so I really like that way of thinking. I think as we work through these things, we're really discovering that if you built this again, you could build these features or those features to help the system be smarter in the future. And I think our products are getting very advanced. They're getting a lot smarter, very intuitive to what the user wants to write. I love when I'm responding to an email, and I'm like, yes, that's exactly the answer I want to say. And I think more technology is going to do that. And I think our infrastructure can do that too.\n\n**RITA:** So in addition to improving the system so that it can continually evolve and find these kind of risks, what are your thoughts regarding the engineering experience working as an SRE on these systems? What are some areas that you would like to invest in over there?\n\n**SABRINA:** There was a separation between what the developers did and what SRE did. And there was always this wall between the teams. And I think the first thing I do when I engage with a new product is I find out how high that wall is and I just start knocking it down. Because work should be moving in both directions between SRE and dev.\n\nAnd SREs are so much more valuable to the dev team to have them on board at the beginning. Really being intentional about the resilience you want to build in the system, and what reliability are you targeting, what the user experience that you want to achieve, asking those questions up front and bringing SRE into the design phase is a much smoother path to success for your users and achieving what your goals are for the users.\n\nIt's so funny that we have this [history of SREs](../../../20/) coming in late. And I think that doesn't work going into the future. There's too many things coming. And so I want SRE to be comfortable in the design phase. I want them to be comfortable taking on the resilience part, engineering part of a new product, knowing how to do it, engaging in that, and collaborating across the aisle, so to speak, between dev and SRE.\n\nWe should be working from the same set of priorities, the same business objectives, and targeting the same experience for the user. I think SRE at Google, we have an additional mission to bring some consistency to production, to bring cross-functional viewpoint to the solutions that we're recommending. But I think we all need to act as a single team on behalf of our users. And so I think that's a much critical [future for SRE](../../../20/).\n\n**RITA:** In some ways, I can see that's also a cultural paradigm within SRE. And it can be a cultural thing of whether sometimes you feel like you don't have enough knowledge about the system to get involved early. Well, I guess nobody really has that knowledge. It's the concerns that we need to be addressing in terms of reliability and failure domains. Nobody has really thoroughly thought about it. So that really is the point where SRE should feel empowered to come in and get involved in the design early.\n\nAnd so talking about the cultural aspect of SRE, one of my favorite things about being an SRE at Google is just the culture of transparency, of blameless postmortems, of not being afraid of failures, and learning from that, often, in a public way. So you can model that behavior for other people. I'm wondering on the culture and people aspect, which of these initiatives are you the most proud of? And what impact have they had?\n\n**SABRINA:** I think that there's a lot about the SRE culture that I love. And it's evolved so much in my time here. It's almost been 18 years. And I think there was this well-articulated tension between dev and SRE. And that we would use budgets to negotiate between each other. And I think that's historically how we've acted. And I would say now, I find that the teams are much-- you can't really tell that there's a line between them. That's how I can tell we have a really healthy SRE-dev engagement.\n\nAnd I think that is-- this collaboration, this look left and right, which we don't always get correct, and what I mean by that is before you start pursuing an idea, look to see who else is thinking about it and join forces when you can. I think we do that a lot more now than we did in the past. And I think that that is so critical for us in the future as well. So I think we still have some work to do there.\n\nI think probably the best thing that I like about SRE, which is kind of weird because it's also the part that makes my job hard, is that SREs feel very empowered. They're very passionate people. They rarely don't have an opinion on something. You have to manage a lot of different opinions. But I love that. I love that about SRE. I never want to lose that.\n\nI love that they're passionate. They'll fight for what they believe in. And so I don't want that to go away because I think we get better outcomes from it. I just think we need to make people understand that you can do that in a safe environment. And I think SRE at Google has been very good at, especially from leaders, is whatever question comes to us, we know we should answer it.\n\nWe don't have to like it. But we know we have a responsibility to answer it. And I think that that is something I want to never go away because it means people can ask us anything. That they will be safe to ask us really hard questions. And that's only true if we live up to that as leaders.\n\n**RITA:** So for those folks who might be interested in engineering or SRE in particular and are not yet fully in the workforce, in your opinion, how can they best prepare to become an SRE?\n\n**SABRINA:** I think that understanding what drives you is probably the most valuable lesson you can learn, regardless of what role you go into. Because I think SREs are problem solvers. They are curious. And they understand that you're never going to know 100%. And so I think in SRE, it's a constant learning.\n\nSo if you're comfortable learning new things, and change, and you see yourself as a problem solver, you should really consider SRE as a career. Because I think I am so appreciative in college I learned that I was super motivated to solve problems. I loved writing code. But code was a means to the end for me. And for me, it was that problem solving.\n\nAnd so I've never been bored in SRE. There's always problems to be solved. I have seen people, they're only comfortable when they really understand the problem end to end. And I think, oftentimes, you might be better as a full-time SWE, where you have the one thing you're working on and you evolve that one thing. In SRE, there's no one thing you need to know.\n\nYou need to know the full stack. You need to know how everything works together. But a good SRE appreciates that you can learn any of these things along the way. You don't need to know them up front, mostly because we also have a community of people who really support each other.\n\nSo even if you're on call, you're rarely on call by yourself. Your whole team is there behind you. And we're always thinking about the user. So no one's by themselves, typically. And I think that that is another thing people should know. Because we'll talk to people and they'll be like, that sounds super interesting. But I don't know enough yet. And I'm always like, no, none of us know enough. You need to understand that we're all going to work on this together.\n\n**MP:** What advice would you offer to those who are already in SRE and are looking to grow their scope and their leadership potential, either as ICs or on the managerial ladder? What advice would you have for them?\n\n**SABRINA:** I think that I'm going to use the term networking, even though that's a weird term sometimes. I do think that talking to people, really challenging-- I'm doing something, it's going well, can I make it better? I think that's always been my guiding light, a little bit, is, do I think I can make this better?\n\nAnd then how much time would it take? And then learning that decision of pursue this one or pursue another option. I think that it's really valuable to learn. So if you think, oh, management is in my future, you should really understand-- and I wish I had done this early on-- is, what does management mean? What's involved?\n\nBecause it's not really that you're now the boss and you get to tell everyone what to do. I think I thought that early on in my career the first time I became a manager. And I went back and forth, IC, manager, and then I was like, oh this sucks, I'm going to IC, just my work, because as a manager, yeah, you get to tell people what to do. But you also work for all the people who are in your organization.\n\nSo I think about this all the time: that's a lot to take on. You need to know that you're ready to do that. And I think that spending time learning about the role before you jump into it is really, really valuable. I was not so intentional, I think, with my career. And I think if you look at some of what I've done at Google is over time, I created these career planning guides for people to understand what's expected at the different level.\n\nSo that I'd have team members say, hey, I want to get promoted. And I would be like, OK, this is what your new job is going to look like. Is that what you want? Because sometimes, it's not. And you don't want to find out after the fact. Because then what happens? You have to change directions. And that's a lot harder.\n\nSo I think talking to people, learning about what's required at the next level, what does it look like, and then making intentional choices is really, really valuable. The other thing I think, is understanding what support you need. So if you have an idea and you want to generalize it, I said, often, I'll get design docs because people will want my sponsorship for that because they want to put my name on their idea.\n\nAnd it's like before you submit that to me, you should learn, how do I make these decisions? Talk to people who I have sponsored their efforts. I think it makes the experience much smoother for you to learn from someone else than sending me a design doc and realizing I'm going to read it. And I'm going to give you comments all through it, which I think some people think are harsh. But in reality, I'm actually trying to tell you how to get my sponsorship along the way.\n\n**MP:** Rita, did you have anything else you wanted to ask before we wrap up?\n\n**RITA:** I think we've heard some really great insights about what the job of an executive is like, and how leadership at that level works, and also some great advice for folks that are starting out in SRE or looking to advance their careers in different aspects about how to make sure that, yeah, you are getting what you expected once you make that transition.\n\n**MP:** This has been absolutely wonderful. And thank you so much for your time today. Did you have anything else you wanted to share with our audience before we say goodbye?\n\n**SABRINA:** No, thanks for having me. Thanks for evolving this field. I do think that there are great engineers in SRE. I think it's important to know that it's not an operational function. At its core, we have operational work we do, but it's really about what engineering are we bringing to our products and what are we doing for our users. I love it.\n\n**MP:** Well, thank you so much again, Sabrina, for all of your time today. A lot of planning went into making this episode possible. So special thanks to all of those on your team as well. This has been an absolute blast. Thank you.\n\n**RITA:** Thank you for letting me cohost on these episodes. It's been absolutely a great time getting to know fellow SREs more.\n\n**SABRINA:** Thank you. Thank you so much for having me and doing this.\n\n**MP:** And thanks to our audience for listening.\n\n**[VOICEOVER]** \"Prodcast,\" the Google SRE Production Podcast is hosted by MP English and Rita Lu, and produced by Salim Virji. The podcast is edited by Jordan Greenberg, engineering by Paul Guglielmino and Jordan Greenberg. Javi Beltran composed the musical theme. Special Thanks to Steve McGee and Pamela Vong.\n\n**[THEME MUSIC]**", "znaku_textu": 45427, "slov": 8375, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:34", "sha256": "9b06ab9b3714d8c6536024e740dfacc12578782e4ca530741857b6a0cd28bf03", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08", "titulek": "Google SRE - Life at google and sre experience beyond google", "h1": "Life of An SRE: Life Beyond Google", "popis": "Life at Google: Former Google SREs, or ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08"}, "headline": "Life of An SRE: Life Beyond Google", "description": "Former Google SREs, or 'Xooglers', talk with hosts MP and Steve McGhee about site reliability engineering outside of Google. What's the difference in scale? What skills are generally valuable? And why can't you build 'SRE in a box' that jump-starts pretty much any organization?", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Xooglers"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE: Life Beyond Google"}], "markdown": "# Life of An SRE: Life Beyond Google\n\nFormer Google SREs, or “Xooglers”, talk with hosts MP and Steve McGhee about site reliability engineering outside of Google. What’s the difference in scale? What skills are generally valuable? And why can’t you build “SRE in a box” that jump-starts pretty much any organization?\n\n**ROBOT:** You missed a page from the robot.\n\n**MP ENGLISH:** Hello, and welcome to the final episode of season 2 of the Google SRE podcast. Or as we affectionately refer to it, the Prodcast. I'm your host, MP. And we have a very special episode in store today.\n\nSo through all of our previous episodes, we have had current Googlers join us to tell us a little bit about their life and their role at Google and their experiences as an SRE. And today, we have three people joining us who are former SREs at Google who have now gone off into different ventures. And we are going to hear about their experiences.\n\nAnd joining me for that conversation, I'm very grateful for all of his work in putting this panel together, is my co-host today, Steve. Can you introduce yourself, Steve?\n\n**STEVE MCGHEE:** Hi, MP. Happy to be here. I'm Steve McGhee. I kind of fit into the previous category as well, because I was an SRE for about 10 years. And then I left. I became an ex-Googler, a Xoogler. I joined a different company for a while, and I learned how to cloud. And then I discovered it was very difficult, so I came running back to Google.\n\nNo, I actually came back to Google to help customers learn how to build resilient and reliable systems on the cloud. That's my job now. So I'm a reliability advocate, which is a title that I just invented. It turns out you can just do that. And now I do stuff like this. It's pretty great.\n\n**MP ENGLISH:** Thanks so much for joining us today, Steve, and for putting this all together. It was so helpful to have you get all of this organized for us.\n\n**STEVE MCGHEE:** You got it.\n\n**MP ENGLISH:** So let's go ahead and have our panelists introduce themselves.\n\n**CODY SMITH:** Yeah, hi. My name is Cody Smith. I was at Google from 2004 to 2018. I started in a group called Cluster Ops and spent most of my time at Google working in Search.\n\nAnd did some sort of org-level leadership as a production tech lead in SRE for a while, and then briefly was in cloud before leaving to co-found a startup working in energy, actually, called Camus Energy. I'm the CTO there now. We help electrical utilities decarbonize.\n\n**CARLA GEISSER:** Hi. My name is Carla Geisser. I was a site reliability engineer at Google from 2004 until 2015. I worked primarily on large-scale storage systems that underlie lots and lots of Google's infrastructure. And after that, I spent a little while doing consulting in the federal government. And then I went to form a small incident response consulting company with a few other former Google SREs.\n\n**LAURA NOLAN:** I'm Laura Nolan. I was at Google from 2013 to 2018, so I was a little bit of a later vintage than Carla and Cody. While I was there, I was an SRE mainly on ads, pipelines, and databases. We had this very big data warehouse thing called Mesa and a multi-homed pipeline called Photon. You can read papers about those.\n\nLater on, I made a completely different move and went and worked on the network edge, which was sort of being-- the networks teams were being folded into SRE at the time. When I left Google, I worked for three years at Slack. You may have seen some of my incident blog posts that I wrote there during that time.\n\nThere, I worked mostly on service discovery, service mesh, and ingress load balancing. And I'm currently at a very small startup, very early stage, called Stanza. I'm an engineer there. We are making production predictable. And currently, we're working mainly on flow control and automation. Yeah. And I'm in Ireland.\n\n**MP ENGLISH:** Thank you all for joining us today. Steve, why don't you give us the first question for the day?\n\n**STEVE MCGHEE:** Sure. The internal joke about SRE is when you start realizing just how much stuff you learn inside of Google is like, is any of this going to be applicable if I ever choose to leave Google? And so I guess my first question is, was it?\n\nI kind of know my own answer. And I think I know that, of course, things are transferable. But how different was it when you left Google? Did you find that your deep knowledge of Stubby was helpful?\n\n**LAURA NOLAN:** Yeah. Leaving Google was a bit of a shock to the system. And I was only there for what, five or six years. So it wasn't like I didn't remember the outside world. But when I went in, things like Terraform were just getting started. And you come out and the world has changed.\n\nI think a lot of the deeper, more theoretical stuff is perfectly applicable. So thinking about things like, how do I design my system to scale? How do I go about doing things like troubleshooting and analysis of things? All perfectly transferable.\n\nBut then obviously, it's the tooling that's the part that you have to come up to speed with. I think anyone who spends several years in a large company that does things its own way is going to have a bit of a learning curve on the outside.\n\n**CARLA GEISSER:** The way I saw this framed by a friend recently was that the proper nouns are different when you leave Google, but the concepts are all the same. So there will be a thing that looks like a load balancer. There will be a thing that does rate limiting. There will be storage systems.\n\nThey'll all have different names, depending on what cloud provider you're using or what internal systems have been built bespoke inside of that organization. But the reasons those things exist and the reasons they fail will continue to be basically the same. And so that mapping was very helpful in every environment I've worked in.\n\n**CODY SMITH:** Yeah, I would agree with that. I'm certainly not going to miss writing borgmon rule language. But I could write Prometheus configs instead and it would be very similar. The technology choice, I would say, is one of the bigger challenges, adjustments to make. You have to be able to look at some open source piece of software and figure out if it's a good idea to use it or not.\n\nWhereas at Google, you're surrounded by people that have already looked at the options and made decisions, and there's sort of an emerging consensus from the community and within the company. And so you don't necessarily have that when you're out on your own.\n\n**CARLA GEISSER:** Another thing I noticed after leaving Google is just the wild difference in scale. There's that vintage, at this point, I just want to serve five terabytes of data, video floating around. And there are very few organizations where five terabytes of data is a small amount.\n\nThat was a joke at Google, but most companies just don't have that many computers. They don't have that much data. And so that difference changes a bunch of the stuff that you will have to deal with in the outside world.\n\n**LAURA NOLAN:** It absolutely does. I think another thing that's really interesting about the outside world is you come out and you don't have that same uniformity that you get lower down the tech stack at Google. So at Google, you could rely on everything being [INAUDIBLE], right?\n\nWhereas you come out and maybe you're dealing with Thrift and MessagePack and God knows what. And you don't have the Google three affordances of them having your [INAUDIBLE] and your [INAUDIBLE] and all of this kind of stuff. And that makes it harder, in some ways, to write tooling, because you don't have that sort of guaranteed control surface to latch onto.\n\nI think that's why we're seeing such a big explosion of tooling around Kubernetes, because Kubernetes does give you a relatively uniform kind of control surface that you can build software according to and have it be relatively transferable organization to organization.\n\n**CODY SMITH:** I will say, the general knowledge and experience working inside of Google is pretty valuable. The ability to work with data at scale makes you just kind of a magical wizard. Camus works with a lot of electrical utilities that have not Google scale data, but data that's big enough that they grapple with it.\n\nSo we show up and we say, oh, yeah. We'll just check that in BigQuery. And then you can do a query over all of your smart meter data for the last five years in 10 seconds, and it's eye-popping. That familiarity with the cloud tools goes a long way.\n\n**MP ENGLISH:** I did actually want to dig in a little bit more about-- I guess to coin a term, this scale shock of moving from Google outside of Google.\n\nCARLA GEISSER: I would say there was an experience once I had even before I left Google, when I was helping in the healthcare.gov war room, where someone came up to me and said oh, this must be the biggest computer system you've ever worked on. And I think there were maybe 500 computers, at most, involved in that system.\n\nAnd it just was, compared to the systems that Googlers deal with on a day-to-day basis, it was nothing. But it was huge for the federal government. Even for a medium-sized company, that was a big software system. But for me, it was not very much. It was still complicated and broken in all sorts of amazing ways, but it was not big. There's a kind of a scale in complexity as well. That was something that struck me at Slack.\n\nIf you're changing something at the infrastructure level, or you're bringing in a new thing and you want to onboard most of the existing services onto it, you can kind of actually just go and white glove them all, as opposed to having to go and run around and try and get teams to do this for you or build tooling. It actually becomes more economic to just go and make the changes yourself, because you're dealing with dozens or low hundreds rather than thousands of different services. So that's a kind of a difference in scale as well\n\n**CODY SMITH:** Yeah, certainly during my time at Google, you never would have even fathomed having a service that had no replication, even within a cluster. Whereas now, we have deployments of our product for customers with, every single deployment has the same number of replicas of our front end, which is one. We've never needed more than one. It's never come up.\n\n**STEVE MCGHEE:** So this brings us to our next question, which is, what do you love about your new job or your new role? Or when you left Google and you joined the next place, what were you excited about? And were you super happy to see some either piece of tech or culture, or maybe the snack tray? Like anything. What was it that made you smile in the new place?\n\n**CARLA GEISSER:** After Google and after a few intermediary jobs, I formed a consulting company called Layer Aleph with a few other former Google SREs. And I love it, because it's the best parts of the early phase of an SRE project. We typically show up and work with teams that are trying to improve their production operations or trying to recover from a crisis. And we spend a very short amount of time with those people, in, the order of a handful of weeks, and try and help them work through their problems and figure out how they can improve their systems.\n\nAnd then we write up our report and go on our merry way and hope that we were helpful. And so for me, that's the best part of my experience of being an SRE, is the learning, the quickly making connections with other engineers in an organization I've never seen before, learning how their systems work, and trying to figure out what's going on as quickly as we can. So it's been a lot of fun.\n\n**LAURA NOLAN:** So I think the thing that I value most about where I currently am is, we're very small, which means that we can move fast. We all have high level of autonomy. We're working on a product. It's a reliability-focused product, but it's still a product, so there's a sort of a different element of creativity there as well.\n\nWell, having said that, [LAUGHS] sometimes I miss the old days of debugging weird, gnarly production things. What Carla said there about some of the best parts of SRE being figuring out the connections between systems is definitely a thing that resonates. So instead, we're trying to build tools that will help people to do that.\n\n**CODY SMITH:** Yeah, I guess my experience was kind of weird. I moved over to a completely different sector, working in energy with electrical utilities. I joke with people that working on Search, my product had a billion customers and I was surrounded by them all the time.\n\nAnd now at Camus, we have six customers. I have a human relationship with all six of them. And working on decarbonization, especially right now, is just super rewarding. They have all these projects that are hung up on fairly simple things, like we need this battery to essentially talk to these transformers to figure out when to charge and discharge.\n\nAnd that's it. It's a pretty simple technical problem, and solving it will allow them to deploy a 20-megawatt or a 50-megawatt battery and offset a lot of carbon emissions that would otherwise be drawing power from nearby power plants.\n\n**STEVE MCGHEE:** When you got to your new job, I guess the next question in this line would be, so what did you do or add first? And whether it's like a piece of tech or a way of doing things or whatever. And specifically, with regards to reliability.\n\nLike sure, you had to be onboarded and stuff like that. But what did you find that you either found as low-hanging fruit that you went after or something substantial that you brought to the table that wasn't in your new environment that you wanted to achieve first?\n\n**LAURA NOLAN:** The first thing that I did, my first job after Google, my team didn't have a weekly production meeting. And this is a thing that I think is a really valuable piece of culture and process. So just the idea of getting together once a week and having a meeting that is solely focused on what has happened in production, what are on-calls struggling with, what are we planning on doing in the next few days, what's risky, what's going well?\n\nThat was something new, and that was something that I think was very helpful through that tenure. And then the technically, the first thing was putting in circuit-breaking and throttling in a few strategic places that really needed it.\n\n**STEVE MCGHEE:** Can you define those last two terms for anyone who might be unfamiliar? Or even call out a tool or a method or anything?\n\n**LAURA NOLAN:** Sure. Circuit breaking is basically when service A is talking to service B. And service A notices that service B is-- or perhaps a particular instance of service B is implementation dependent, is consistently returning bad results or is consistently slow. What you can do there is you can basically back off for a little while.\n\nThe idea here is that if you have a time-limited overload, you can stop making it worse by sending more results. And it's particularly effective if you have that phenomenon where clients start hammering services with retries once things get a bit slow or a bit flaky. And I guess throttling is a similar idea, where you put in a hard limit over time about how many requests can go from here to there, or a delay in between repeated requests.\n\nFor context, I was part of a team that was managing a very big installation of Konsole, which has a bunch of really interesting design challenges. In certain circumstances, it's very prone to, say, thundering herds and to things really just started getting completely jammed up, is the only way to put it.\n\nIt doesn't have any way of timing out requests that have just been hanging around for a long time. So you can literally end up with your service just sort of sitting there doing nothing but managing a queue, which is not a great state to get into. But a few simple tweaks around that really, really helped the stability of those services.\n\n**CARLA GEISSER:** I guess I'm in a little bit of a different place, because my whole role lately is to show up and provide the low-hanging fruit advice to whatever organization has hired us. And so that has been really fun. And I would say the most frequent advice that we end up giving to people is thinking about the priority of production operations against other things the business might be trying to do, or not.\n\nA lot of people at this point have read the Google SRE book, and they know the words SLO and SLA, and they're very excited to start implementing those. But that isn't necessarily the place for them to start. In a lot of cases, they might have not quite enough production hygiene. They might not even know, really, anything about how their systems are behaving.\n\nAnd so to start immediately with, oh, we need SLAs and SLOs for this product, doesn't help them. They just get mad about not knowing how their systems are performing. And so a lot of it is back to basics. What is your system doing? What is important about your system? What is the business function it is serving? Rather than any particular technical fix.\n\n**CODY SMITH:** At Camus, the experience from SRE ended up being a core part of the product. We had to start with electrical utilities. Building trust. Really giving them a product that was lower risk.\n\nEventually, we want to get to grid orchestration, so we're actually controlling huge numbers of things on their grid. But before we do that, we have to prove that we can be predictable. And so we showed up at the office of our first customer and they took us into the control room and we got to see their systems. They had probably five or six different independently-deployed computer systems for different parts of their grid.\n\nSo a lot of the regular, day-to-day operations involved going from one system to the other, literally with things written on Post-its, back and forth. And so the initial deployment of our product ended up being like, let's take all this data from all these different systems and bring it together into one place. And so you have one web app where you can see most of what you need to know to run your grid day to day.\n\nAnd then once we delivered that and they were happy with it, we were able to move on to the scarier product offerings, from their perspective. So monitoring ended up being a stepping stone for us in our product roadmap.\n\n**MP ENGLISH:** Sounds a bit like Mikey's experience, the Dickerson Pyramid that we hear about. I'm sure Carla hears about all the time. Yeah. Monitoring helps to start there, if you don't have it.\n\n**LAURA NOLAN:** I wanted to put a little bit of an addendum on what Carla said there, about SLOs not being the place to start. That's something that I actually really strongly agree with. And think that there's been a real push that the first thing that you must do, if you implement SRE, is SLOs.\n\nI think if you asked 100 people, probably 90 of them would say that, if they know anything about SRE. And think the reason that is is because SLOs are something that's standardizable. You can make a recipe for SROs and SLOs and you can build a product for it. And so you can say, do this. And the organization can at least start to do it.\n\nBut Carla's right. They're not necessarily going to do it well, because not every organization actually understands what is critical about their product. And not every organization actually has the right monitoring to have the right SLIs to really tell if the product is working or not. Like for example, think about services where data freshness is a big issue. That's much harder to measure than the typical examples of error rates and latency that people always give as the spherical web service example of SLOs.\n\nSo the work that Carla's consultancy does, it's not something that you can standardize in the same way. You can't build a product that's SRE in a box that will come and actually understand your systems and give you that context aware take on the-- I think there's something quite wrong about that. Always do the SLOs first [INAUDIBLE].\n\n**CARLA GEISSER:**I think that's also evidence that whenever Google puts out a paper or a piece of documentation, people assume that it has been uniformly adopted inside of Google. And we all know from our own experience that that's not true. Even adoption of something like SLOs is very lumpy inside of Google. All of the various storage technologies that have been written up, adoption of those took over a decade in some cases.\n\nAnd so that, I think, from the outside, is hard to balance with people, because they see it. And this is true with Facebook and any other company that publishes about their internal engineering culture. People assume that what has been published is how the entire company does it uniformly. And that will never be true. These things will always be deployed based on need or based on specific circumstances within a big company.\n\n**LAURA NOLAN:** Absolutely. And you have plenty of teams, even in a big organization, that might have Potemkin village SLOs, where they have a thing that looks like SLOs, but it's not really that meaningful. They picked a random metric, and they picked a number that would be passing for most of the past quarter, and that's their SLO now, because somebody said that they had to have SLOs. So even in big organizations, things are different between teams.\n\n**CODY SMITH:** My job these days is to talk with, specifically in Google Cloud, customers about this kind of stuff. And I can completely agree with you that everyone wants to do SLOs first, even if they're not ready for them. I've had a couple of customers who simply just didn't have the metrics, like their observability didn't have the granularity or just didn't exist.\n\nAnd they say, we want SLOs first. And it was like, well, that's going to be tough. I'm concerned that it's just that it's novel and it's slightly difficult to understand, but not very hard to understand. And so people latch onto it, because it's sexy and fun. But this also brings me back to the question from before, which is when you go into a culture or a team, do you go after the low-hanging fruit?\n\nLike, we should stop doing the dumb thing over here. Or do you try to aim at something that has more impact and can be broadly applied across multiple teams or multiple services? I feel like that's kind of an art to decide on what to do, what's going to have the most impact on an organization.\n\n**LAURA NOLAN:**You have to pick something that the organization is ready for and will accept and will see as useful, right? Not all of those things are going to be the same in every place. Some engineering teams will have had a bad experience with trying something in the past, and they will have a prejudice against it. So even if it might be the right thing to do technically, it might be the wrong thing to do organizationally, for example.\n\n**CODY SMITH:** I would say anything I would have to add is kind of tangential to the framing of your question. But I would say the experience at a startup was counterintuitive to me in the sense that SLOs for us would really be a luxury. We are building product. We're building features. We're deploying our software.\n\nWe're integrating with existing utility systems. That's a ton of work. And the word \"reliability\" comes up fairly infrequently. I was expecting it to be much more front and center, because I know that utilities do care a lot about reliability for their customers. But mostly, what drives reliability that the customer sees are things like branches falling on wires and squirrels getting into transformers.\n\n**STEVE MCGHEE:** You've all been in SRE long enough where you kind of get it pretty deeply. And now you've been exposed to other stuff out there and other teams. And I just wonder if you think that SRE has co-evolved anywhere else.\n\nOr something similar to SRE, like is SRE really that special? And if you think it has replicas somewhere else in industries outside of ours, what does it look like? What qualities might those other folks share with us?\n\nI guess what I'm getting at is, what actually makes SRE? Like, it's not just coming from Google. I think it was just out there in the universe already, and we just kind of stumbled on it. But I'm curious if you agree.\n\n**LAURA NOLAN:** My grand unifying theory of SRE is that actually, SRE is just a production system specific manifestation of system thinking. And we do it in an informal way. For anyone who wants to hear more about this, I gave one of the keynotes at SRE [INAUDIBLE] about this just last month.\n\nSo what systems thinking is, it's basically the discipline of looking at how systems are structured in a sort of generic way. And looking at how those patterns and interactions in a system give rise to different behaviors. So I think for SREs, an example of a system's structure behavior thing that we're all familiar with is the idea of the cascading failure.\n\nThat kind of vicious cycle of load that causes retries that causes more load. And then you have to have an intervention to get out of that metastable state. And that's the systems insight. But there are lots more different kinds of systems insights, and there's lots of methodologies that we can use to analyze, particularly, the reliability of our system.\n\nSo there's a thing called East-BL, which is basically that something, something, something, broken links. And the idea here is you look at all the control structures in your system. So what's talking to what? And making decisions based on that interaction.\n\nThis could be your monitoring. Could be your health checking. Could be ORPCs doing automation between your systems. Could be interactions in your data plane. And you say, well, what happens if this link breaks?\n\nWhat happens if the traffic increases by 100%? What happens if it's wrong? And that's a really valuable technique for looking at your system and saying, OK, well, how is the system vulnerable? How can I improve the design of this system to make it more robust to all these kinds of things that can go wrong?\n\nIf you look at SRE, a huge amount of system stuff is that kind of thing, looking at the system and understanding its behavior and how this part over here affects that part over there. And how the architecture of the system and the potential changes would make it better or worse.\n\nSo it's really about thinking about the system and how we can make interventions to make it better. And that's not just the technical systems. It's also the humans around the system. How can we be better informed? How can we work better together? How can we deal with on-call with less stress? All this kind of stuff.\n\nSo that's my unifying theory of SRE. And whether I think it's evolved elsewhere, yeah. I think there have always been great sysadmins who've done things very similar to the way SRE have done it. Maybe not with some of the keywords like SLOs, but with a lot of the mindset. I don't think the mindset is distinctive to SRE.\n\n**CODY SMITH:** I think there's relatively few systems thinkers in the world. SRE has a staggering fraction of them. And it's a really valuable high-level skill that maps well onto lots of other industries. I think the book I would recommend, if folks have not read it, by Donella Meadows called \"Thinking in Systems,\" it's a really good primer on this topic.\n\n**CARLA GEISSER:** For me, I guess the core thing about SRE is whatever happens when you take a small number of motivated and empowered operators and give them responsibility for something that is critical to the business, and it has to be responsibility for the entire chain of stuff. And so I think things that look like SRE or DevOps or whatever buzzword we're going to make up in five years, exist and have existed for a long time, just because of how you set up the people and how you set up their job. And as long as there's a small group of people who are empowered and motivated to own a critical system, then something that is like SRE will pop out the other end eventually.\n\n**MP ENGLISH:** I think I heard two or three different major factors there, small group and empowered individuals. And maybe something along the lines of full stack scope. Why do you think it's those three factors that produce this generic SRE DevOps thing?\n\n**CARLA GEISSER:**So I'll start with the end-to-end scope, because I think it's the one that's easiest to explain, maybe. And that is, there can never be another team who you can obviously point at and say, OK, cool. My responsibility ends here. It's definitely their fault. You have to feel a responsibility for the end-to-end system.\n\nEven if there is maybe another team who you need to work with, your ownership needs to cross that boundary in some way. The small team thing is mostly about communications overhead and building a highly-effective group. I think there's a fair bit of organizational research that small teams just tend to work better.\n\nAnd then they grow, because they have to, because the business grows. And then you split the teams apart along different boundaries. And this is like a normal cycle of how organizations behave. But for setting up a thing that looks like SRE, start small, for sure. So empowerment goes with the end-to-end.\n\nPart of the problem is, they need to have the ability to actually change the thing that is in their way, or to demand change for the thing that is making the system unreliable. Because otherwise, you get back very quickly, and we have all been there, to the old school sysadmin world, where the software doesn't work. You have to deploy it anyway. And then everyone is yelling at each other all the time. And you just live in that world forever.\n\n**STEVE MCGHEE:** When I was on shore leave from the spaceship, I learned the term \"stay in your lane,\" which I'd never heard before. Someone told me to stay in my lane when I was trying to help outside of my scope. And it cut me deep. I was not prepared to be told that. It was very strange.\n\nAnd since then, I've tweeted about this a couple times. But telling an SRE to stay in their lane is completely antithetical to their entire being. It's like, I totally agree with that point.\n\n**CARLA GEISSER:** And you could probably build a very good SRE team, just out of the people who have been told to stay in their lane at some point. That group of people, if you can find them, they would be a great SRE team.\n\n**STEVE MCGHEE:** Yeah. They're hired.\n\n**LAURA NOLAN:** This is one of the interesting challenges about SRE-ing in an organization that's heavily reliant on cloud services, because you do end up in a situation where you're trying to figure out how stuff is working and you're trying to figure out how to make things better. But suddenly, you have this big barrier in your way. And you're working with a service that you have very little visibility into, and go talk to the teams. And it really is quite a thing. I have not necessarily got a good answer to that.\n\n**CODY SMITH:** I will say I think SRE prepares you pretty well for entrepreneurship. If you're going to found a company, it's a need to have a sort of sense of responsibility and ownership over the whole thing that makes you a good founder. So it's part of your every day, when you're in SRE, to feel ownership over the service that you're taking care of. And it puts you in the right mindset. And so I often encourage SREs to start their own companies.\n\n**LAURA NOLAN:** Just to react to something that Carla said earlier, Carla said that small teams are a good thing. And also, that teams should have ownership over something. I think that's very right, because one of the anti-patterns that I've seen in a few places is SREs who try to act like permanent consultant teams, but without any actual ownership over any services.\n\nAnd that's a weird place for people to be. I think there is definitely a role for short-term consultants providing that fresh view on your service. But when you have a team that, they kind of end up just project managing other teams to try and do self-service SRE, and the anti-pattern that I've seen is end up with a lot of very shallow checkbox processes that the centralized SRE team asks other teams to do.\n\nSo you'll end up with a PoR form and instead of doing-- at Google, if you were PoR-ing a new service, that's a production readiness review, you might expect to spend three to six months doing deep work, understanding that service, understanding its architecture and how it behaves and ways it might be improved, and instrumenting it and all of that good stuff. Maybe standardizing the tooling and how it does roll outs, all this kind of thing.\n\nWhereas with the tick box PoR that I've seen, you just end up with people saying, yep, yep, yep, yep, yep. And there's little room for thought or deep engagement. It's just yep, I did the thing. I have some monitoring. Is it good monitoring? Who knows. But have some.\n\nSo therefore, I'm good. So you end up with this quite shallow engagement, and not the sort of deep context-aware engagement that I think is really what SREs should be doing.\n\n**CARLA GEISSER:** I think that anti-pattern is particularly common in industries or organizations that already have a lot of compliance folks running around. So in the government or in finance industries or in health care industries, they already have a lot of people walking around with checklists to make sure they are complying with various things. And so it is easy for SRE or DevOps, or any of these kinds of specialized roles, to just become another version of that. Which, as Laura says, is not particularly useful.\n\n**MP ENGLISH:** Yeah, there's different kinds of risk out there. And if you're already good at one type, it's really easy to try to pattern match the old risk model to the form of risk, whether it's reliability or liability, I guess. Didn't even mean to make that pun.\n\nOK, so I think we have time for a couple more questions. Then we'll wrap up. Do you think it's more important to have individual SREs or to make reliability a part of every engineer's mentality? Like, everyone in the org.\n\nSo I guess it's, should you have these specialists? Is that the important part? Or do you want to distribute this speciality across your entire org? I guess you can also say both. But where would you start?\n\n**CODY SMITH:** I don't think it's reasonable to have every engineer have a reliability mindset and understand the overall system, especially for more junior folks. It's just not practical to be able to do their core job and all of that other stuff. So the sweet spot is having, in a mature large organization, a few people sort of sprinkled in dev that think about reliability and understand it and apply it to the development process.\n\nAnd then having a separate SRE team that really focuses on being able to meet the SLO as their primary objective. Those two work together, pursuing-- there's inherent tension between the two of them pursuing the goal of reliability and the goal of launching new features.\n\nThose people on the dev side that are the reliability thinkers are golden, from my perspective. When I was in Search, this was Rob Stetz, who was amazing. He made the job of Search SRE so much easier. He was like the fifth Beatle. He was one of us in spirit.\n\n**CARLA GEISSER:** I think, following along with what Cody said, the absolute worst thing you can do is have a huge number-- well, not a huge number. Even a handful of very competent SREs, and then sprinkle them throughout your organization sort of haphazardly. A lot of places that I've consulted with try this, because someone tells them they need to do SRE, and then they go hire a dozen people with an SRE job title and put them in a variety of disconnected places throughout their organization. And it just doesn't work, because none of them can get traction and none of them can make any progress.\n\nSo I think if you're going to have a thing that you're calling an SRE team, it needs to be very dense with people who have the right mindset and the right level of authority within the organization. And then separately, I agree that having people scattered throughout the organization who are SRE-ish-- and in fact, in my career at Google, I sat on the official Dev side and on the SRE side probably four or five times, and bounced back and forth, because I never liked the idea that a line was there. So yes, having people on the feature-focused side of the world doing SRE things is also very useful.\n\n**LAURA NOLAN:** And the worst passion is the single-embedded SRE that turns into the ops person and ends up being the person who's always called upon to do anything that's sort of production-oriented, like doing rollouts or doing config changes or managing Terraform and PromQL.\n\nThe problem with that is, you just end up doing all of the toil, all of the grunt work. And this is one of the things that I think Carla mentioned, that it's very hard to get traction in that role. I think that's because you essentially end up doing all of the housekeeping.\n\nI think it's also very hard for career growth for SREs who end up in these embedded teams, because they have a different remit to the rest of their team. And so they don't necessarily have anybody working closely with them who can help them develop their skills and who can work with them on larger projects.\n\nVery often, we see these career ladders where you're required to show that leadership and work with a bunch of people. And that can be quite difficult in those disconnected roles. So I think it can be very, very hard for people to get traction, both on their individual career and on being impactful.\n\n**STEVE MCGHEE:** One final question. What do you think is standing in the way of the entire internet being more reliable? What is the problem? Is there a problem?\n\nImagine one. I'll give you 10 whole seconds to solve this problem. Why can't we just depend on everything on the internet working all the time?\n\n**LAURA NOLAN:** This might be a controversial take. But by and large, the internet is pretty reliable, and so are most of the web services. Not all, but I think the story is actually pretty good. And the story is certainly a lot better than it was a number of years ago.\n\nI don't have statistics on this, but I would strongly suspect that the biggest cause of disruption for most people is probably their own local laptop internet. And that's not to say that we can rest on our laurels and say that, hey, software is good now because it's-- it's good, because a lot of people are working hard to make it reliable, I think, in most places. Even places where there aren't SREs, there are always a scattering of devs who are very reliability-focused in terms of the mindset.\n\nSo even if you haven't gotten a specific organizational carve out for SRE, there are people doing that work. The other thing as well is public cloud. And also, I guess, services like Bracell and Fly.io and all these kinds of fairly pre-baked kinds of environments. These things, I think, do help reliability, by and large. And so do things like Cloudflare or Fastly, right, that help you scale a lot of your static serving.\n\nThere's a lot of tooling there that's really, really, really helpful. That's not the full extent of the story of what you need, but I think it's an awful lot better than 20 years ago, when we were all running on a few pizza boxes in a rack somewhere, in a single location. The possibilities for what you can do reliability-wise these days are huge.\n\n**CODY SMITH:** I would say, broadly speaking, validation is too difficult. And that's across the spectrum. I think at the unit testing end, the tools are pretty mature. And then integration testing, less mature. And then monitoring, probing, things like this, less mature.\n\nThere's just a lot of overhead to setting these tools up. And so relative to the amount of time you spend developing a new product or a new feature, getting good validation in place is pretty costly. And a lot of especially smaller companies don't have the time to build all of that stuff out.\n\nIf you're not a developer, if you're, say, an electrical utility and you have to put systems together from six different vendors or 10 different vendors to get a solar farm working, for instance, knowing that you've plugged all the pieces together correctly is very, very difficult. I would hope the next couple of decades reveal a lot more maturity in tools like that that give you the feedback right away that you've connected things correctly. That would be my dream for the future.\n\n**CARLA GEISSER:** I kind of have a similar take to Laura's, which is like, things are pretty good. And also, to go back to Cody's story about working at a new phase startup, a lot of times, it's just not worth it to make it better. Because each additional line costs a huge amount of money. And for many products and many services, maybe that's fine.\n\nSo I think that's one way of looking at it. On a technical level, I think that the scariest thing about the internet at large is that a lot of it is written in memory-unsafe languages, which prove every year that there are security vulnerabilities or denial of service vulnerabilities, or just fragile software all over the place.\n\nAnd that, I think, is the biggest risk to the internet at large. It's getting better in some areas, and some companies are focusing on it. But we still have a lot of C and C++ in the core of the systems that keep the internet on.\n\n**LAURA NOLAN:** So I was going to say, while I do think that the story about reliability is quite good, despite all of the hassle of wiring up all of these disconnected point solutions that Cody talks about, Carla is completely right in that the security, particularly around data security and confidentiality, I think the story is very, very bad. And that's somewhere where we're not seeing any systemic improvements. So completely concur with that. Maybe the future of SRE is security.\n\n**CODY SMITH:** You can add an S to SRE. That should do it.\n\n**MP ENGLISH:** Well, thank you all so much for joining us today. This has been a fantastic, insightful conversation. So thankful for all of you being here today. I have one last last thing, your parting thoughts. What is the number-one piece of advice you would give to teams facing reliability challenges?\n\n**LAURA NOLAN:** I think the number-one piece of advice I would give to any team that is facing reliability challenges would be, don't just do the first thing that pops into your head to fix the problem. Because very often, that initial knee-jerk reaction is something that will maybe paper over the problem or kick the can down the road versus actually solving it.\n\nTake that moment to take a breath and really analyze the problem and understand how it's working as a system. And understand how you can intervene to improve that. Maybe you do some quick-fix mitigations as well, but I think a lot of the teams with the worst reliability challenges are there because there's been many quarters of ignoring the problem, or sort of papering over the problem with quick hacks, rather than really doing the--\n\nMaybe it's not a full redesign. Maybe it's as simple as a fairly small change. I'll give an example here. One time, I worked with a company that would occasionally do a thing where it would require all of the end users to update their client.\n\nAnd sometimes, that caused problems. And the reason it caused problems was when a client would restart, it had to do a pretty expensive call back to base to get a bunch of data. And that call was rate limited.\n\nAnd so sometimes, we'd tell all the clients to update. But then we'd rate limit them when they tried to restart. Now, it turns out that there was a rate limiter on the mechanism that required clients to update as well. But it wasn't synced up with the other rate limit.\n\nSo very simple systemic change was to align those two rate limits, and don't ever ask clients to update if they wouldn't get the permission to do the reboot [INAUDIBLE] call. And that was a pretty quick couple of lines change that made that operation safe. So rather than sitting there trying to tweak those rate limits again, actually aligning the two rate limits fixed the problem, and fixed it for good.\n\nSo there's things like that. So avoid just doing what you've done before and kicking the can down the road, and really think deeply about your problems. That's my advice.\n\n**CODY SMITH:** What I would say is, start with culture. Usually, there are plenty of people around. If problems are emerging steadily, it's because some number of the people around are not upholding reliability as a priority. They don't see it as part of their job.\n\nThey see it as maybe someone else's job, or just maybe a lower priority than launching a new feature. And if you can build a sense of personal attachment between every person on the team and reliability goals, whether they be SLOs or just fewer outages, it will take off on its own pretty quickly.\n\n**CARLA GEISSER:** My thoughts on this are to start extremely small, smaller than you even think makes sense, with one user interaction or one piece of your system's flow. And work your way outward from there, because the thing I've seen most often in organizations is everyone is running around saying, oh, no. Things are unreliable.\n\nBut there's too many things. And so having a focus of, we're just going to make the home page load in under 500 milliseconds 99% of the time. That's our goal. We're not doing anything else right now. And then once you have that nailed, you've learned a bunch of stuff about how your system works and you can move on to the next one.\n\n**MP ENGLISH:** Well, thank you all so much for joining us. I want to give a huge thanks to our guests, all former Google SREs. Carla Geisser of Layer Aleph. Laura Noland of Stanza, and Cody Smith of Camus Energy. I also want to extend a hug thanks to my co-host for this episode, Steve McGhee.\n\nI also want to give a shout out to all of those behind the scenes that have made this season of The Prodcast possible. So huge thanks to Salim, Jordan, and Paul for all of the work they have done behind the scenes.\n\nI also want to extend another thanks to all of my other guest co-hosts this season, Pam, Chris, and Rita. Thank you all so much for being here. Thank you all so much for your time. I am immensely thankful for everyone that contributed to making this season possible. Thanks so much.\n\n**STEVE MCGHEE:** Thanks, everyone.\n\n**LAURA NOLAN:** Thank you. It's been great to be here.\n\n**CODY SMITH:**Thank you.\n\n**CARLA GEISSER:**Thanks. Goodbye.\n\n**LAURA NOLAN:** Bye-bye.\n\n**VOICEOVER:**Prodcast, the Google SRE Production podcast is hosted by MP English and Steve McGhee, and produced by Salim Virji. The Prodcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.\n\n**[THEME MUSIC]**", "znaku_textu": 46691, "slov": 8489, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:01", "sha256": "1af38e1d07e2a1e7381bf90d7beb935cd714d2c2f00381b5edbb7ee3b259d813", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08/", "titulek": "Google SRE - Life at google and sre experience beyond google", "h1": "Life of An SRE: Life Beyond Google", "popis": "Life at Google: Former Google SREs, or ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08"}, "headline": "Life of An SRE: Life Beyond Google", "description": "Former Google SREs, or 'Xooglers', talk with hosts MP and Steve McGhee about site reliability engineering outside of Google. What's the difference in scale? What skills are generally valuable? And why can't you build 'SRE in a box' that jump-starts pretty much any organization?", "image": "https://kstatic.googleusercontent.com/files/1298ed74d44657723283ed08e1ca41c976de43d43c2c11734eb0d57dee0dd9ab62f4ee17e99ef71d32de0f40d9d786fb7f0aaf638c2f378ee2bc29abd454d24f", "author": [{"@type": "Person", "name": "Xooglers"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Life of An SRE: Life Beyond Google"}], "markdown": "# Life of An SRE: Life Beyond Google\n\nFormer Google SREs, or “Xooglers”, talk with hosts MP and Steve McGhee about site reliability engineering outside of Google. What’s the difference in scale? What skills are generally valuable? And why can’t you build “SRE in a box” that jump-starts pretty much any organization?\n\n**ROBOT:** You missed a page from the robot.\n\n**MP ENGLISH:** Hello, and welcome to the final episode of season 2 of the Google SRE podcast. Or as we affectionately refer to it, the Prodcast. I'm your host, MP. And we have a very special episode in store today.\n\nSo through all of our previous episodes, we have had current Googlers join us to tell us a little bit about their life and their role at Google and their experiences as an SRE. And today, we have three people joining us who are former SREs at Google who have now gone off into different ventures. And we are going to hear about their experiences.\n\nAnd joining me for that conversation, I'm very grateful for all of his work in putting this panel together, is my co-host today, Steve. Can you introduce yourself, Steve?\n\n**STEVE MCGHEE:** Hi, MP. Happy to be here. I'm Steve McGhee. I kind of fit into the previous category as well, because I was an SRE for about 10 years. And then I left. I became an ex-Googler, a Xoogler. I joined a different company for a while, and I learned how to cloud. And then I discovered it was very difficult, so I came running back to Google.\n\nNo, I actually came back to Google to help customers learn how to build resilient and reliable systems on the cloud. That's my job now. So I'm a reliability advocate, which is a title that I just invented. It turns out you can just do that. And now I do stuff like this. It's pretty great.\n\n**MP ENGLISH:** Thanks so much for joining us today, Steve, and for putting this all together. It was so helpful to have you get all of this organized for us.\n\n**STEVE MCGHEE:** You got it.\n\n**MP ENGLISH:** So let's go ahead and have our panelists introduce themselves.\n\n**CODY SMITH:** Yeah, hi. My name is Cody Smith. I was at Google from 2004 to 2018. I started in a group called Cluster Ops and spent most of my time at Google working in Search.\n\nAnd did some sort of org-level leadership as a production tech lead in SRE for a while, and then briefly was in cloud before leaving to co-found a startup working in energy, actually, called Camus Energy. I'm the CTO there now. We help electrical utilities decarbonize.\n\n**CARLA GEISSER:** Hi. My name is Carla Geisser. I was a site reliability engineer at Google from 2004 until 2015. I worked primarily on large-scale storage systems that underlie lots and lots of Google's infrastructure. And after that, I spent a little while doing consulting in the federal government. And then I went to form a small incident response consulting company with a few other former Google SREs.\n\n**LAURA NOLAN:** I'm Laura Nolan. I was at Google from 2013 to 2018, so I was a little bit of a later vintage than Carla and Cody. While I was there, I was an SRE mainly on ads, pipelines, and databases. We had this very big data warehouse thing called Mesa and a multi-homed pipeline called Photon. You can read papers about those.\n\nLater on, I made a completely different move and went and worked on the network edge, which was sort of being-- the networks teams were being folded into SRE at the time. When I left Google, I worked for three years at Slack. You may have seen some of my incident blog posts that I wrote there during that time.\n\nThere, I worked mostly on service discovery, service mesh, and ingress load balancing. And I'm currently at a very small startup, very early stage, called Stanza. I'm an engineer there. We are making production predictable. And currently, we're working mainly on flow control and automation. Yeah. And I'm in Ireland.\n\n**MP ENGLISH:** Thank you all for joining us today. Steve, why don't you give us the first question for the day?\n\n**STEVE MCGHEE:** Sure. The internal joke about SRE is when you start realizing just how much stuff you learn inside of Google is like, is any of this going to be applicable if I ever choose to leave Google? And so I guess my first question is, was it?\n\nI kind of know my own answer. And I think I know that, of course, things are transferable. But how different was it when you left Google? Did you find that your deep knowledge of Stubby was helpful?\n\n**LAURA NOLAN:** Yeah. Leaving Google was a bit of a shock to the system. And I was only there for what, five or six years. So it wasn't like I didn't remember the outside world. But when I went in, things like Terraform were just getting started. And you come out and the world has changed.\n\nI think a lot of the deeper, more theoretical stuff is perfectly applicable. So thinking about things like, how do I design my system to scale? How do I go about doing things like troubleshooting and analysis of things? All perfectly transferable.\n\nBut then obviously, it's the tooling that's the part that you have to come up to speed with. I think anyone who spends several years in a large company that does things its own way is going to have a bit of a learning curve on the outside.\n\n**CARLA GEISSER:** The way I saw this framed by a friend recently was that the proper nouns are different when you leave Google, but the concepts are all the same. So there will be a thing that looks like a load balancer. There will be a thing that does rate limiting. There will be storage systems.\n\nThey'll all have different names, depending on what cloud provider you're using or what internal systems have been built bespoke inside of that organization. But the reasons those things exist and the reasons they fail will continue to be basically the same. And so that mapping was very helpful in every environment I've worked in.\n\n**CODY SMITH:** Yeah, I would agree with that. I'm certainly not going to miss writing borgmon rule language. But I could write Prometheus configs instead and it would be very similar. The technology choice, I would say, is one of the bigger challenges, adjustments to make. You have to be able to look at some open source piece of software and figure out if it's a good idea to use it or not.\n\nWhereas at Google, you're surrounded by people that have already looked at the options and made decisions, and there's sort of an emerging consensus from the community and within the company. And so you don't necessarily have that when you're out on your own.\n\n**CARLA GEISSER:** Another thing I noticed after leaving Google is just the wild difference in scale. There's that vintage, at this point, I just want to serve five terabytes of data, video floating around. And there are very few organizations where five terabytes of data is a small amount.\n\nThat was a joke at Google, but most companies just don't have that many computers. They don't have that much data. And so that difference changes a bunch of the stuff that you will have to deal with in the outside world.\n\n**LAURA NOLAN:** It absolutely does. I think another thing that's really interesting about the outside world is you come out and you don't have that same uniformity that you get lower down the tech stack at Google. So at Google, you could rely on everything being [INAUDIBLE], right?\n\nWhereas you come out and maybe you're dealing with Thrift and MessagePack and God knows what. And you don't have the Google three affordances of them having your [INAUDIBLE] and your [INAUDIBLE] and all of this kind of stuff. And that makes it harder, in some ways, to write tooling, because you don't have that sort of guaranteed control surface to latch onto.\n\nI think that's why we're seeing such a big explosion of tooling around Kubernetes, because Kubernetes does give you a relatively uniform kind of control surface that you can build software according to and have it be relatively transferable organization to organization.\n\n**CODY SMITH:** I will say, the general knowledge and experience working inside of Google is pretty valuable. The ability to work with data at scale makes you just kind of a magical wizard. Camus works with a lot of electrical utilities that have not Google scale data, but data that's big enough that they grapple with it.\n\nSo we show up and we say, oh, yeah. We'll just check that in BigQuery. And then you can do a query over all of your smart meter data for the last five years in 10 seconds, and it's eye-popping. That familiarity with the cloud tools goes a long way.\n\n**MP ENGLISH:** I did actually want to dig in a little bit more about-- I guess to coin a term, this scale shock of moving from Google outside of Google.\n\nCARLA GEISSER: I would say there was an experience once I had even before I left Google, when I was helping in the healthcare.gov war room, where someone came up to me and said oh, this must be the biggest computer system you've ever worked on. And I think there were maybe 500 computers, at most, involved in that system.\n\nAnd it just was, compared to the systems that Googlers deal with on a day-to-day basis, it was nothing. But it was huge for the federal government. Even for a medium-sized company, that was a big software system. But for me, it was not very much. It was still complicated and broken in all sorts of amazing ways, but it was not big. There's a kind of a scale in complexity as well. That was something that struck me at Slack.\n\nIf you're changing something at the infrastructure level, or you're bringing in a new thing and you want to onboard most of the existing services onto it, you can kind of actually just go and white glove them all, as opposed to having to go and run around and try and get teams to do this for you or build tooling. It actually becomes more economic to just go and make the changes yourself, because you're dealing with dozens or low hundreds rather than thousands of different services. So that's a kind of a difference in scale as well\n\n**CODY SMITH:** Yeah, certainly during my time at Google, you never would have even fathomed having a service that had no replication, even within a cluster. Whereas now, we have deployments of our product for customers with, every single deployment has the same number of replicas of our front end, which is one. We've never needed more than one. It's never come up.\n\n**STEVE MCGHEE:** So this brings us to our next question, which is, what do you love about your new job or your new role? Or when you left Google and you joined the next place, what were you excited about? And were you super happy to see some either piece of tech or culture, or maybe the snack tray? Like anything. What was it that made you smile in the new place?\n\n**CARLA GEISSER:** After Google and after a few intermediary jobs, I formed a consulting company called Layer Aleph with a few other former Google SREs. And I love it, because it's the best parts of the early phase of an SRE project. We typically show up and work with teams that are trying to improve their production operations or trying to recover from a crisis. And we spend a very short amount of time with those people, in, the order of a handful of weeks, and try and help them work through their problems and figure out how they can improve their systems.\n\nAnd then we write up our report and go on our merry way and hope that we were helpful. And so for me, that's the best part of my experience of being an SRE, is the learning, the quickly making connections with other engineers in an organization I've never seen before, learning how their systems work, and trying to figure out what's going on as quickly as we can. So it's been a lot of fun.\n\n**LAURA NOLAN:** So I think the thing that I value most about where I currently am is, we're very small, which means that we can move fast. We all have high level of autonomy. We're working on a product. It's a reliability-focused product, but it's still a product, so there's a sort of a different element of creativity there as well.\n\nWell, having said that, [LAUGHS] sometimes I miss the old days of debugging weird, gnarly production things. What Carla said there about some of the best parts of SRE being figuring out the connections between systems is definitely a thing that resonates. So instead, we're trying to build tools that will help people to do that.\n\n**CODY SMITH:** Yeah, I guess my experience was kind of weird. I moved over to a completely different sector, working in energy with electrical utilities. I joke with people that working on Search, my product had a billion customers and I was surrounded by them all the time.\n\nAnd now at Camus, we have six customers. I have a human relationship with all six of them. And working on decarbonization, especially right now, is just super rewarding. They have all these projects that are hung up on fairly simple things, like we need this battery to essentially talk to these transformers to figure out when to charge and discharge.\n\nAnd that's it. It's a pretty simple technical problem, and solving it will allow them to deploy a 20-megawatt or a 50-megawatt battery and offset a lot of carbon emissions that would otherwise be drawing power from nearby power plants.\n\n**STEVE MCGHEE:** When you got to your new job, I guess the next question in this line would be, so what did you do or add first? And whether it's like a piece of tech or a way of doing things or whatever. And specifically, with regards to reliability.\n\nLike sure, you had to be onboarded and stuff like that. But what did you find that you either found as low-hanging fruit that you went after or something substantial that you brought to the table that wasn't in your new environment that you wanted to achieve first?\n\n**LAURA NOLAN:** The first thing that I did, my first job after Google, my team didn't have a weekly production meeting. And this is a thing that I think is a really valuable piece of culture and process. So just the idea of getting together once a week and having a meeting that is solely focused on what has happened in production, what are on-calls struggling with, what are we planning on doing in the next few days, what's risky, what's going well?\n\nThat was something new, and that was something that I think was very helpful through that tenure. And then the technically, the first thing was putting in circuit-breaking and throttling in a few strategic places that really needed it.\n\n**STEVE MCGHEE:** Can you define those last two terms for anyone who might be unfamiliar? Or even call out a tool or a method or anything?\n\n**LAURA NOLAN:** Sure. Circuit breaking is basically when service A is talking to service B. And service A notices that service B is-- or perhaps a particular instance of service B is implementation dependent, is consistently returning bad results or is consistently slow. What you can do there is you can basically back off for a little while.\n\nThe idea here is that if you have a time-limited overload, you can stop making it worse by sending more results. And it's particularly effective if you have that phenomenon where clients start hammering services with retries once things get a bit slow or a bit flaky. And I guess throttling is a similar idea, where you put in a hard limit over time about how many requests can go from here to there, or a delay in between repeated requests.\n\nFor context, I was part of a team that was managing a very big installation of Konsole, which has a bunch of really interesting design challenges. In certain circumstances, it's very prone to, say, thundering herds and to things really just started getting completely jammed up, is the only way to put it.\n\nIt doesn't have any way of timing out requests that have just been hanging around for a long time. So you can literally end up with your service just sort of sitting there doing nothing but managing a queue, which is not a great state to get into. But a few simple tweaks around that really, really helped the stability of those services.\n\n**CARLA GEISSER:** I guess I'm in a little bit of a different place, because my whole role lately is to show up and provide the low-hanging fruit advice to whatever organization has hired us. And so that has been really fun. And I would say the most frequent advice that we end up giving to people is thinking about the priority of production operations against other things the business might be trying to do, or not.\n\nA lot of people at this point have read the Google SRE book, and they know the words SLO and SLA, and they're very excited to start implementing those. But that isn't necessarily the place for them to start. In a lot of cases, they might have not quite enough production hygiene. They might not even know, really, anything about how their systems are behaving.\n\nAnd so to start immediately with, oh, we need SLAs and SLOs for this product, doesn't help them. They just get mad about not knowing how their systems are performing. And so a lot of it is back to basics. What is your system doing? What is important about your system? What is the business function it is serving? Rather than any particular technical fix.\n\n**CODY SMITH:** At Camus, the experience from SRE ended up being a core part of the product. We had to start with electrical utilities. Building trust. Really giving them a product that was lower risk.\n\nEventually, we want to get to grid orchestration, so we're actually controlling huge numbers of things on their grid. But before we do that, we have to prove that we can be predictable. And so we showed up at the office of our first customer and they took us into the control room and we got to see their systems. They had probably five or six different independently-deployed computer systems for different parts of their grid.\n\nSo a lot of the regular, day-to-day operations involved going from one system to the other, literally with things written on Post-its, back and forth. And so the initial deployment of our product ended up being like, let's take all this data from all these different systems and bring it together into one place. And so you have one web app where you can see most of what you need to know to run your grid day to day.\n\nAnd then once we delivered that and they were happy with it, we were able to move on to the scarier product offerings, from their perspective. So monitoring ended up being a stepping stone for us in our product roadmap.\n\n**MP ENGLISH:** Sounds a bit like Mikey's experience, the Dickerson Pyramid that we hear about. I'm sure Carla hears about all the time. Yeah. Monitoring helps to start there, if you don't have it.\n\n**LAURA NOLAN:** I wanted to put a little bit of an addendum on what Carla said there, about SLOs not being the place to start. That's something that I actually really strongly agree with. And think that there's been a real push that the first thing that you must do, if you implement SRE, is SLOs.\n\nI think if you asked 100 people, probably 90 of them would say that, if they know anything about SRE. And think the reason that is is because SLOs are something that's standardizable. You can make a recipe for SROs and SLOs and you can build a product for it. And so you can say, do this. And the organization can at least start to do it.\n\nBut Carla's right. They're not necessarily going to do it well, because not every organization actually understands what is critical about their product. And not every organization actually has the right monitoring to have the right SLIs to really tell if the product is working or not. Like for example, think about services where data freshness is a big issue. That's much harder to measure than the typical examples of error rates and latency that people always give as the spherical web service example of SLOs.\n\nSo the work that Carla's consultancy does, it's not something that you can standardize in the same way. You can't build a product that's SRE in a box that will come and actually understand your systems and give you that context aware take on the-- I think there's something quite wrong about that. Always do the SLOs first [INAUDIBLE].\n\n**CARLA GEISSER:**I think that's also evidence that whenever Google puts out a paper or a piece of documentation, people assume that it has been uniformly adopted inside of Google. And we all know from our own experience that that's not true. Even adoption of something like SLOs is very lumpy inside of Google. All of the various storage technologies that have been written up, adoption of those took over a decade in some cases.\n\nAnd so that, I think, from the outside, is hard to balance with people, because they see it. And this is true with Facebook and any other company that publishes about their internal engineering culture. People assume that what has been published is how the entire company does it uniformly. And that will never be true. These things will always be deployed based on need or based on specific circumstances within a big company.\n\n**LAURA NOLAN:** Absolutely. And you have plenty of teams, even in a big organization, that might have Potemkin village SLOs, where they have a thing that looks like SLOs, but it's not really that meaningful. They picked a random metric, and they picked a number that would be passing for most of the past quarter, and that's their SLO now, because somebody said that they had to have SLOs. So even in big organizations, things are different between teams.\n\n**CODY SMITH:** My job these days is to talk with, specifically in Google Cloud, customers about this kind of stuff. And I can completely agree with you that everyone wants to do SLOs first, even if they're not ready for them. I've had a couple of customers who simply just didn't have the metrics, like their observability didn't have the granularity or just didn't exist.\n\nAnd they say, we want SLOs first. And it was like, well, that's going to be tough. I'm concerned that it's just that it's novel and it's slightly difficult to understand, but not very hard to understand. And so people latch onto it, because it's sexy and fun. But this also brings me back to the question from before, which is when you go into a culture or a team, do you go after the low-hanging fruit?\n\nLike, we should stop doing the dumb thing over here. Or do you try to aim at something that has more impact and can be broadly applied across multiple teams or multiple services? I feel like that's kind of an art to decide on what to do, what's going to have the most impact on an organization.\n\n**LAURA NOLAN:**You have to pick something that the organization is ready for and will accept and will see as useful, right? Not all of those things are going to be the same in every place. Some engineering teams will have had a bad experience with trying something in the past, and they will have a prejudice against it. So even if it might be the right thing to do technically, it might be the wrong thing to do organizationally, for example.\n\n**CODY SMITH:** I would say anything I would have to add is kind of tangential to the framing of your question. But I would say the experience at a startup was counterintuitive to me in the sense that SLOs for us would really be a luxury. We are building product. We're building features. We're deploying our software.\n\nWe're integrating with existing utility systems. That's a ton of work. And the word \"reliability\" comes up fairly infrequently. I was expecting it to be much more front and center, because I know that utilities do care a lot about reliability for their customers. But mostly, what drives reliability that the customer sees are things like branches falling on wires and squirrels getting into transformers.\n\n**STEVE MCGHEE:** You've all been in SRE long enough where you kind of get it pretty deeply. And now you've been exposed to other stuff out there and other teams. And I just wonder if you think that SRE has co-evolved anywhere else.\n\nOr something similar to SRE, like is SRE really that special? And if you think it has replicas somewhere else in industries outside of ours, what does it look like? What qualities might those other folks share with us?\n\nI guess what I'm getting at is, what actually makes SRE? Like, it's not just coming from Google. I think it was just out there in the universe already, and we just kind of stumbled on it. But I'm curious if you agree.\n\n**LAURA NOLAN:** My grand unifying theory of SRE is that actually, SRE is just a production system specific manifestation of system thinking. And we do it in an informal way. For anyone who wants to hear more about this, I gave one of the keynotes at SRE [INAUDIBLE] about this just last month.\n\nSo what systems thinking is, it's basically the discipline of looking at how systems are structured in a sort of generic way. And looking at how those patterns and interactions in a system give rise to different behaviors. So I think for SREs, an example of a system's structure behavior thing that we're all familiar with is the idea of the cascading failure.\n\nThat kind of vicious cycle of load that causes retries that causes more load. And then you have to have an intervention to get out of that metastable state. And that's the systems insight. But there are lots more different kinds of systems insights, and there's lots of methodologies that we can use to analyze, particularly, the reliability of our system.\n\nSo there's a thing called East-BL, which is basically that something, something, something, broken links. And the idea here is you look at all the control structures in your system. So what's talking to what? And making decisions based on that interaction.\n\nThis could be your monitoring. Could be your health checking. Could be ORPCs doing automation between your systems. Could be interactions in your data plane. And you say, well, what happens if this link breaks?\n\nWhat happens if the traffic increases by 100%? What happens if it's wrong? And that's a really valuable technique for looking at your system and saying, OK, well, how is the system vulnerable? How can I improve the design of this system to make it more robust to all these kinds of things that can go wrong?\n\nIf you look at SRE, a huge amount of system stuff is that kind of thing, looking at the system and understanding its behavior and how this part over here affects that part over there. And how the architecture of the system and the potential changes would make it better or worse.\n\nSo it's really about thinking about the system and how we can make interventions to make it better. And that's not just the technical systems. It's also the humans around the system. How can we be better informed? How can we work better together? How can we deal with on-call with less stress? All this kind of stuff.\n\nSo that's my unifying theory of SRE. And whether I think it's evolved elsewhere, yeah. I think there have always been great sysadmins who've done things very similar to the way SRE have done it. Maybe not with some of the keywords like SLOs, but with a lot of the mindset. I don't think the mindset is distinctive to SRE.\n\n**CODY SMITH:** I think there's relatively few systems thinkers in the world. SRE has a staggering fraction of them. And it's a really valuable high-level skill that maps well onto lots of other industries. I think the book I would recommend, if folks have not read it, by Donella Meadows called \"Thinking in Systems,\" it's a really good primer on this topic.\n\n**CARLA GEISSER:** For me, I guess the core thing about SRE is whatever happens when you take a small number of motivated and empowered operators and give them responsibility for something that is critical to the business, and it has to be responsibility for the entire chain of stuff. And so I think things that look like SRE or DevOps or whatever buzzword we're going to make up in five years, exist and have existed for a long time, just because of how you set up the people and how you set up their job. And as long as there's a small group of people who are empowered and motivated to own a critical system, then something that is like SRE will pop out the other end eventually.\n\n**MP ENGLISH:** I think I heard two or three different major factors there, small group and empowered individuals. And maybe something along the lines of full stack scope. Why do you think it's those three factors that produce this generic SRE DevOps thing?\n\n**CARLA GEISSER:**So I'll start with the end-to-end scope, because I think it's the one that's easiest to explain, maybe. And that is, there can never be another team who you can obviously point at and say, OK, cool. My responsibility ends here. It's definitely their fault. You have to feel a responsibility for the end-to-end system.\n\nEven if there is maybe another team who you need to work with, your ownership needs to cross that boundary in some way. The small team thing is mostly about communications overhead and building a highly-effective group. I think there's a fair bit of organizational research that small teams just tend to work better.\n\nAnd then they grow, because they have to, because the business grows. And then you split the teams apart along different boundaries. And this is like a normal cycle of how organizations behave. But for setting up a thing that looks like SRE, start small, for sure. So empowerment goes with the end-to-end.\n\nPart of the problem is, they need to have the ability to actually change the thing that is in their way, or to demand change for the thing that is making the system unreliable. Because otherwise, you get back very quickly, and we have all been there, to the old school sysadmin world, where the software doesn't work. You have to deploy it anyway. And then everyone is yelling at each other all the time. And you just live in that world forever.\n\n**STEVE MCGHEE:** When I was on shore leave from the spaceship, I learned the term \"stay in your lane,\" which I'd never heard before. Someone told me to stay in my lane when I was trying to help outside of my scope. And it cut me deep. I was not prepared to be told that. It was very strange.\n\nAnd since then, I've tweeted about this a couple times. But telling an SRE to stay in their lane is completely antithetical to their entire being. It's like, I totally agree with that point.\n\n**CARLA GEISSER:** And you could probably build a very good SRE team, just out of the people who have been told to stay in their lane at some point. That group of people, if you can find them, they would be a great SRE team.\n\n**STEVE MCGHEE:** Yeah. They're hired.\n\n**LAURA NOLAN:** This is one of the interesting challenges about SRE-ing in an organization that's heavily reliant on cloud services, because you do end up in a situation where you're trying to figure out how stuff is working and you're trying to figure out how to make things better. But suddenly, you have this big barrier in your way. And you're working with a service that you have very little visibility into, and go talk to the teams. And it really is quite a thing. I have not necessarily got a good answer to that.\n\n**CODY SMITH:** I will say I think SRE prepares you pretty well for entrepreneurship. If you're going to found a company, it's a need to have a sort of sense of responsibility and ownership over the whole thing that makes you a good founder. So it's part of your every day, when you're in SRE, to feel ownership over the service that you're taking care of. And it puts you in the right mindset. And so I often encourage SREs to start their own companies.\n\n**LAURA NOLAN:** Just to react to something that Carla said earlier, Carla said that small teams are a good thing. And also, that teams should have ownership over something. I think that's very right, because one of the anti-patterns that I've seen in a few places is SREs who try to act like permanent consultant teams, but without any actual ownership over any services.\n\nAnd that's a weird place for people to be. I think there is definitely a role for short-term consultants providing that fresh view on your service. But when you have a team that, they kind of end up just project managing other teams to try and do self-service SRE, and the anti-pattern that I've seen is end up with a lot of very shallow checkbox processes that the centralized SRE team asks other teams to do.\n\nSo you'll end up with a PoR form and instead of doing-- at Google, if you were PoR-ing a new service, that's a production readiness review, you might expect to spend three to six months doing deep work, understanding that service, understanding its architecture and how it behaves and ways it might be improved, and instrumenting it and all of that good stuff. Maybe standardizing the tooling and how it does roll outs, all this kind of thing.\n\nWhereas with the tick box PoR that I've seen, you just end up with people saying, yep, yep, yep, yep, yep. And there's little room for thought or deep engagement. It's just yep, I did the thing. I have some monitoring. Is it good monitoring? Who knows. But have some.\n\nSo therefore, I'm good. So you end up with this quite shallow engagement, and not the sort of deep context-aware engagement that I think is really what SREs should be doing.\n\n**CARLA GEISSER:** I think that anti-pattern is particularly common in industries or organizations that already have a lot of compliance folks running around. So in the government or in finance industries or in health care industries, they already have a lot of people walking around with checklists to make sure they are complying with various things. And so it is easy for SRE or DevOps, or any of these kinds of specialized roles, to just become another version of that. Which, as Laura says, is not particularly useful.\n\n**MP ENGLISH:** Yeah, there's different kinds of risk out there. And if you're already good at one type, it's really easy to try to pattern match the old risk model to the form of risk, whether it's reliability or liability, I guess. Didn't even mean to make that pun.\n\nOK, so I think we have time for a couple more questions. Then we'll wrap up. Do you think it's more important to have individual SREs or to make reliability a part of every engineer's mentality? Like, everyone in the org.\n\nSo I guess it's, should you have these specialists? Is that the important part? Or do you want to distribute this speciality across your entire org? I guess you can also say both. But where would you start?\n\n**CODY SMITH:** I don't think it's reasonable to have every engineer have a reliability mindset and understand the overall system, especially for more junior folks. It's just not practical to be able to do their core job and all of that other stuff. So the sweet spot is having, in a mature large organization, a few people sort of sprinkled in dev that think about reliability and understand it and apply it to the development process.\n\nAnd then having a separate SRE team that really focuses on being able to meet the SLO as their primary objective. Those two work together, pursuing-- there's inherent tension between the two of them pursuing the goal of reliability and the goal of launching new features.\n\nThose people on the dev side that are the reliability thinkers are golden, from my perspective. When I was in Search, this was Rob Stetz, who was amazing. He made the job of Search SRE so much easier. He was like the fifth Beatle. He was one of us in spirit.\n\n**CARLA GEISSER:** I think, following along with what Cody said, the absolute worst thing you can do is have a huge number-- well, not a huge number. Even a handful of very competent SREs, and then sprinkle them throughout your organization sort of haphazardly. A lot of places that I've consulted with try this, because someone tells them they need to do SRE, and then they go hire a dozen people with an SRE job title and put them in a variety of disconnected places throughout their organization. And it just doesn't work, because none of them can get traction and none of them can make any progress.\n\nSo I think if you're going to have a thing that you're calling an SRE team, it needs to be very dense with people who have the right mindset and the right level of authority within the organization. And then separately, I agree that having people scattered throughout the organization who are SRE-ish-- and in fact, in my career at Google, I sat on the official Dev side and on the SRE side probably four or five times, and bounced back and forth, because I never liked the idea that a line was there. So yes, having people on the feature-focused side of the world doing SRE things is also very useful.\n\n**LAURA NOLAN:** And the worst passion is the single-embedded SRE that turns into the ops person and ends up being the person who's always called upon to do anything that's sort of production-oriented, like doing rollouts or doing config changes or managing Terraform and PromQL.\n\nThe problem with that is, you just end up doing all of the toil, all of the grunt work. And this is one of the things that I think Carla mentioned, that it's very hard to get traction in that role. I think that's because you essentially end up doing all of the housekeeping.\n\nI think it's also very hard for career growth for SREs who end up in these embedded teams, because they have a different remit to the rest of their team. And so they don't necessarily have anybody working closely with them who can help them develop their skills and who can work with them on larger projects.\n\nVery often, we see these career ladders where you're required to show that leadership and work with a bunch of people. And that can be quite difficult in those disconnected roles. So I think it can be very, very hard for people to get traction, both on their individual career and on being impactful.\n\n**STEVE MCGHEE:** One final question. What do you think is standing in the way of the entire internet being more reliable? What is the problem? Is there a problem?\n\nImagine one. I'll give you 10 whole seconds to solve this problem. Why can't we just depend on everything on the internet working all the time?\n\n**LAURA NOLAN:** This might be a controversial take. But by and large, the internet is pretty reliable, and so are most of the web services. Not all, but I think the story is actually pretty good. And the story is certainly a lot better than it was a number of years ago.\n\nI don't have statistics on this, but I would strongly suspect that the biggest cause of disruption for most people is probably their own local laptop internet. And that's not to say that we can rest on our laurels and say that, hey, software is good now because it's-- it's good, because a lot of people are working hard to make it reliable, I think, in most places. Even places where there aren't SREs, there are always a scattering of devs who are very reliability-focused in terms of the mindset.\n\nSo even if you haven't gotten a specific organizational carve out for SRE, there are people doing that work. The other thing as well is public cloud. And also, I guess, services like Bracell and Fly.io and all these kinds of fairly pre-baked kinds of environments. These things, I think, do help reliability, by and large. And so do things like Cloudflare or Fastly, right, that help you scale a lot of your static serving.\n\nThere's a lot of tooling there that's really, really, really helpful. That's not the full extent of the story of what you need, but I think it's an awful lot better than 20 years ago, when we were all running on a few pizza boxes in a rack somewhere, in a single location. The possibilities for what you can do reliability-wise these days are huge.\n\n**CODY SMITH:** I would say, broadly speaking, validation is too difficult. And that's across the spectrum. I think at the unit testing end, the tools are pretty mature. And then integration testing, less mature. And then monitoring, probing, things like this, less mature.\n\nThere's just a lot of overhead to setting these tools up. And so relative to the amount of time you spend developing a new product or a new feature, getting good validation in place is pretty costly. And a lot of especially smaller companies don't have the time to build all of that stuff out.\n\nIf you're not a developer, if you're, say, an electrical utility and you have to put systems together from six different vendors or 10 different vendors to get a solar farm working, for instance, knowing that you've plugged all the pieces together correctly is very, very difficult. I would hope the next couple of decades reveal a lot more maturity in tools like that that give you the feedback right away that you've connected things correctly. That would be my dream for the future.\n\n**CARLA GEISSER:** I kind of have a similar take to Laura's, which is like, things are pretty good. And also, to go back to Cody's story about working at a new phase startup, a lot of times, it's just not worth it to make it better. Because each additional line costs a huge amount of money. And for many products and many services, maybe that's fine.\n\nSo I think that's one way of looking at it. On a technical level, I think that the scariest thing about the internet at large is that a lot of it is written in memory-unsafe languages, which prove every year that there are security vulnerabilities or denial of service vulnerabilities, or just fragile software all over the place.\n\nAnd that, I think, is the biggest risk to the internet at large. It's getting better in some areas, and some companies are focusing on it. But we still have a lot of C and C++ in the core of the systems that keep the internet on.\n\n**LAURA NOLAN:** So I was going to say, while I do think that the story about reliability is quite good, despite all of the hassle of wiring up all of these disconnected point solutions that Cody talks about, Carla is completely right in that the security, particularly around data security and confidentiality, I think the story is very, very bad. And that's somewhere where we're not seeing any systemic improvements. So completely concur with that. Maybe the future of SRE is security.\n\n**CODY SMITH:** You can add an S to SRE. That should do it.\n\n**MP ENGLISH:** Well, thank you all so much for joining us today. This has been a fantastic, insightful conversation. So thankful for all of you being here today. I have one last last thing, your parting thoughts. What is the number-one piece of advice you would give to teams facing reliability challenges?\n\n**LAURA NOLAN:** I think the number-one piece of advice I would give to any team that is facing reliability challenges would be, don't just do the first thing that pops into your head to fix the problem. Because very often, that initial knee-jerk reaction is something that will maybe paper over the problem or kick the can down the road versus actually solving it.\n\nTake that moment to take a breath and really analyze the problem and understand how it's working as a system. And understand how you can intervene to improve that. Maybe you do some quick-fix mitigations as well, but I think a lot of the teams with the worst reliability challenges are there because there's been many quarters of ignoring the problem, or sort of papering over the problem with quick hacks, rather than really doing the--\n\nMaybe it's not a full redesign. Maybe it's as simple as a fairly small change. I'll give an example here. One time, I worked with a company that would occasionally do a thing where it would require all of the end users to update their client.\n\nAnd sometimes, that caused problems. And the reason it caused problems was when a client would restart, it had to do a pretty expensive call back to base to get a bunch of data. And that call was rate limited.\n\nAnd so sometimes, we'd tell all the clients to update. But then we'd rate limit them when they tried to restart. Now, it turns out that there was a rate limiter on the mechanism that required clients to update as well. But it wasn't synced up with the other rate limit.\n\nSo very simple systemic change was to align those two rate limits, and don't ever ask clients to update if they wouldn't get the permission to do the reboot [INAUDIBLE] call. And that was a pretty quick couple of lines change that made that operation safe. So rather than sitting there trying to tweak those rate limits again, actually aligning the two rate limits fixed the problem, and fixed it for good.\n\nSo there's things like that. So avoid just doing what you've done before and kicking the can down the road, and really think deeply about your problems. That's my advice.\n\n**CODY SMITH:** What I would say is, start with culture. Usually, there are plenty of people around. If problems are emerging steadily, it's because some number of the people around are not upholding reliability as a priority. They don't see it as part of their job.\n\nThey see it as maybe someone else's job, or just maybe a lower priority than launching a new feature. And if you can build a sense of personal attachment between every person on the team and reliability goals, whether they be SLOs or just fewer outages, it will take off on its own pretty quickly.\n\n**CARLA GEISSER:** My thoughts on this are to start extremely small, smaller than you even think makes sense, with one user interaction or one piece of your system's flow. And work your way outward from there, because the thing I've seen most often in organizations is everyone is running around saying, oh, no. Things are unreliable.\n\nBut there's too many things. And so having a focus of, we're just going to make the home page load in under 500 milliseconds 99% of the time. That's our goal. We're not doing anything else right now. And then once you have that nailed, you've learned a bunch of stuff about how your system works and you can move on to the next one.\n\n**MP ENGLISH:** Well, thank you all so much for joining us. I want to give a huge thanks to our guests, all former Google SREs. Carla Geisser of Layer Aleph. Laura Noland of Stanza, and Cody Smith of Camus Energy. I also want to extend a hug thanks to my co-host for this episode, Steve McGhee.\n\nI also want to give a shout out to all of those behind the scenes that have made this season of The Prodcast possible. So huge thanks to Salim, Jordan, and Paul for all of the work they have done behind the scenes.\n\nI also want to extend another thanks to all of my other guest co-hosts this season, Pam, Chris, and Rita. Thank you all so much for being here. Thank you all so much for your time. I am immensely thankful for everyone that contributed to making this season possible. Thanks so much.\n\n**STEVE MCGHEE:** Thanks, everyone.\n\n**LAURA NOLAN:** Thank you. It's been great to be here.\n\n**CODY SMITH:**Thank you.\n\n**CARLA GEISSER:**Thanks. Goodbye.\n\n**LAURA NOLAN:** Bye-bye.\n\n**VOICEOVER:**Prodcast, the Google SRE Production podcast is hosted by MP English and Steve McGhee, and produced by Salim Virji. The Prodcast is edited by Jordan Greenberg. Engineering by Paul Guglielmo and Jordan Greenberg. Javi Beltran composed the musical theme. Special thanks to Steve McGhee and Pamela Vong.\n\n**[THEME MUSIC]**", "znaku_textu": 46691, "slov": 8489, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-02-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:35", "sha256": "1af38e1d07e2a1e7381bf90d7beb935cd714d2c2f00381b5edbb7ee3b259d813", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01", "titulek": "SRE, a Basis of Influence with Amy Tobey & Vlad Ukis", "h1": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis", "popis": "In this season of Google Prodcast, current and former SREs, both within and outside of Google, chat with hosts Steve McGhee and Jordan Greenberg to discuss software systems designed and built by SREs. \nFor ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01"}, "headline": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis", "description": "For 'episode zero', guests Amy Tobey and Vladyslav Ukis will set the stage for the season with a lively discussion about what Software Engineering means to Site Reliability Engineering.", "image": "https://kstatic.googleusercontent.com/files/8a67aea051c5c086e3d9c108861ba01e38743b0e3e5e07b975ae647448ff830d818227bb13bdba9e29563d6e83c0fa9ea431563c440a2766108b28af33ea4f7d", "author": [{"@type": "Person", "name": "Amy Tobey "}, {"@type": "Person", "name": "Vladyslav Ukis"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis"}], "markdown": "# SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis\n\nIn this season of Google Prodcast, current and former SREs, both within and outside of Google, chat with hosts Steve McGhee and Jordan Greenberg to discuss software systems designed and built by SREs.\n\nFor \"episode zero\", guests Amy Tobey and Vladyslav Ukis will set the stage for the season with a lively discussion about what Software Engineering means to Site Reliability Engineering.\n\n**STEVE:**Welcome to season three of the Prodcast, Google's podcast about site reliability, engineering and production software. I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SREs. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nHello everyone, and welcome to Google's SRE podcast, or as we like to call it, the Prodcast. This is the first episode, or as we like to say, the zeroth episode, in season three. Today, we have Vladyslav and Amy, who are going to help us out a little bit.\n\nAnd we're going to start off our season. This is going to be the third season. We're going to be focusing on software engineering in SRE. And the topic we're going to focus on today is going to be what happens when software engineers solve production problems? And what's the importance of the software engineering mindset within SRE?\n\nAnd this in no way means like software engineering is the only thing, or like you should only be writing code 100% of the time. Certainly not. In fact, I think we'll get into that a bit. But before we do that, why don't we have our guests introduce themselves?\n\nSo let's go alphabetically because that's the best. Everyone likes it. And Amy.\n\n**AMY:**Yeah, hi, folks. I'm Amy Tobey. I have been doing tech in what we call SRE for about 25 years. So before that name came around, that's what I was doing very quickly out of college. Today, I work at Equinix as a senior principal engineer where I meddle in product work and SRE work and software work-- just all over the place. Awesome.\n\n**STEVE:** Thanks, Amy. And Vladyslav.\n\n**VLADYSLAV:** Hi Hello. Thanks for having me on the podcast, or on the Prodcast.\n\n**[CHUCKLES]**\n\nAnd my name is Vladyslav. And I work for a big company called Siemens Healthineers, which is the health care arm of Siemens. And there, I'm responsible for the so-called Teamplay digital health platform, which is a software as a service platform for health care applications and digital services.\n\nAnd this is where SRE comes in very handy because you need to operate the platform somehow. And this is where we use heavily the SRE methodology. And I'm looking forward to talking about it with all of you on the podcast.\n\n**STEVE:** Well, thank you both for coming today. Just to get started, I think we want to start actually with the inverse. So specifically, we have a question here for Vladyslav, which was, how do operations serve as the core part of SRE, which might feed into software engineering later on? Like, what do we even mean by operations to begin with.\n\n**VLADYSLAV:**So in my view, SRE is a methodology for running digital services reliably at scale. And it's about running the services, so we are firmly in the operations arena. But the curious thing about SRE is that it applies a lot of software engineering methodologies in order to achieve that-- reliable operations at scale.\n\nSo it requires you, for example, to implement some sort of SRE infrastructure that enables development teams to operate their services with acceptable cognitive load. And it then requires the software engineers to actually use that infrastructure in order to do the operations of the services. So it requires the operations folks to implement something as software engineers to be used by software engineers, and then requires the software engineers to go on call for their services for an agreed period of time of the day, so working as operations engineers. So I think this is what makes it interesting, and this is where we see the software engineering making its way into SRE. So that's on the one hand, I'd say.\n\nBut also on the other hand, if you take a broader view of what SRE is trying to achieve, it's then actually reliable and scalable services. And that means you need to weave in that SRE thinking from the beginning to end of the service life cycle. So that means you need to apply software engineering things, like what kinds of stability patterns do we implement now into these services?\n\nWhere do we put circuit breakers? Where do we need bulkheads and so on? So you need to have some solid background in software engineering in order to do this across the life cycle.\n\n**STEVE:** Totally agree. Amy, how do you feel about Vladyslav's definition so far.\n\n**AMY:** I like most of it. I tend to take a little bit more expansive and sideways view of it, because what I've seen a lot of in the field is a lot of people look at SRE, and they're overemphasized on the software part. And then we talk to our friends at Google, and they're like, no, no. It's really about what a software engineer would do in an operational context.\n\nAnd I think they're both wrong, because like when I see effective SRE that I've done out in the real world-- and I'm just going to say Google's kind of not like the real world. It's this magical fairy place where people get to have fun and totally have cool tools and good software tools. It's a real place.\n\nBut what I'm getting at is, the real essence of what we were working on are these feedback cycles across the software engineering life cycle. So starting at the very beginning, we want to get involved in product management and in product conception, and start to insert reliability and security-- because it's always on the way for me, requirements into the product process. And then all the way at the end, if there is an end-- well, there is an end when we actually shut the service down. But maybe that long middle, where we spend most of our time, we're constantly looking at where can we improve the feedback signals. And we implement that through a bunch of different ways, like SLOs going on call, all of the DevOps kind of stuff that we try to integrate, CI/CD, it really comes down to how I tighten those feedback cycles between what my customer is experiencing, what my software engineers are doing, and what my leadership believes we're all doing.\n\n**STEVE:** Yeah, I think that last bit is actually a great one as well, which is, what does the leadership think we're doing. One take on this historically has been the idea of not accepting 100% reliability as even a reasonable goal. The jokey way I like to describe it is, if you're asking for something that's unreasonable, you're just telling people to lie to you. And this is what happens with teams that give unachievable goals like 100% availability or reliability in some way.\n\n**AMY:** It's true. You look at 100% stat, and you peer at it long enough and you stare through it and go look at the actual metrics, somewhere some statistical significance is being dropped.\n\n**STEVE:** Yeah, or it's 100%, except for x, y, and z because we're leaving those out, because come on. you wouldn't want to leave those in.\n\n**AMY:** Because they're just not convenient.\n\n**STEVE:** Yeah, that's right. Have either of you encountered a situation where something like this is going on, where the metrics look great? And when you dig into them further, it turns out something funny is going on?\n\nIf that has happened, what do you do? What's the thing here. Is it just talking to the teams in general, or talking to the leadership teams and saying, like, hey, don't do that? Or is there something more subtle here?\n\n**VLADYSLAV:** Well, I think that happens all the time with the definition of SLO. So you go to a team and they're totally new to the party. So they've never done any SREs. And you start advising them, OK, so maybe we would select some SLIs that would apply to your service.\n\nAnd then inevitably, they come up with something like availability. That's important for any service. And then you work with them, and then they come up with an initial set of SLOs.\n\nAnd they think, OK, so our service is so and so and so available. And then what happens is, well, you feed all this into the SRE infrastructure. And then a couple of days later, everything is red because all the SLOs have been broken.\n\nAnd you come to them and say, OK, now have you looked at the SLOs, first of all? No, because they're not trained yet to do this. But then you show them, OK, so all the SLOs have been broken. What does that mean? Well, actually, the customer hasn't called up and didn't say that something is wrong.\n\nSo there, you've got already the cognitive dissonance. So the SLOs have been defined. They are all red. But the customer actually didn't experience it as being so painful. And that happens all the time until you get the team to a point where those things converge.\n\nSo the definition converges with the user experience. And when it's red, then it actually means the user experience got broken. And when it's green, it actually means the user experience is OK. And once you get them to a point that this is an ongoing refinement process, then this is where you know, OK, you are getting it. You're getting somewhere.\n\n**STEVE:** Totally\n\n**AMY:** I have run into that. In fact, there's still a dashboard I'm working slowly to eliminate that shows a number of services-- SLOs that is measured by an instrument that I don't particularly find very reliable because it doesn't represent the customer experience. And there's no technical problem here. It's actually really interesting about it.\n\nLike technically, the system works as designed. It is instrumenting as designed. It is reporting metrics that are actually somewhat representative of what the system is doing, but have almost no bearing on the customer experience. That's the first problem.\n\nBut the way I approach this is not to go and start poking at the technical stuff. I tried that for years. And basically, every time I poke at it, they're like, well, everything's working exactly as we designed it. Well, yeah, because you designed the wrong thing.\n\nBut the thing is, it's been in place for years. And so this is my world. It's been in place for a long time.\n\nAnd so every time I try to approach it and be like, I think we could do this better, everybody's like, well, no. It's been there the whole time I've worked here. It's fine. So this is really more where we start to get really deep into leadership and having to go around to the product managers, and not just the people who own, like, the monitoring system there, but each of the product teams' product managers and point out to them how broken this is. And then go back through their incidents and go like this one, this one, and this one and this one and this one and this one, all caught you by surprise because you're monitoring doesn't actually work, even though you go look at the dashboard.\n\nBut still, it would be like you would show somebody this fairly obvious, to us, truth. And they would go, wow, I got to fix that. Except there are so many other things going on that largely, they're just like, OK, yeah, that's really important. But I've got to go work on this other much more important thing.\n\nAnd so it's still there, and we're still chipping away at it. And we've got most of those people starting to do higher level monitoring so that they come through this journey where, instead of me telling them that it's wrong, basically, we have to take them down this longer road where through, like, instrumenting with OpenTelemetry and using more modern tools, eventually, these folks will come around and go, yeah, that's really bad. And then they'll tear it down. But we're just not there yet.\n\n**STEVE:** This reminds me of like-- this is a high-level, hand-wavy definition, but the difference between programming and, like, professional product software engineering. You can technically do programming just fine and it'll do what you say. But if you're not designing the right thing at the right time for the right people, and getting feedback and doing the whole thing, and working with your peers and like collaborating, like there's a bigger, bigger thing over there, which is capital S, capital E software engineering. We put a W in there sometimes for some reason. It's funny.\n\n**AMY:** I tell people all the time, I write code for free. I get paid to do Jira.\n\n**STEVE:** So there's a trend going around these days around platform engineering. And sometimes, we talk about internal product management. One way that I've heard SREs described is just like another set of influences, or influencers maybe, to that internal product or to that platform in terms of representing the reliability or the security of the things that are being shipped through that internal platform. Do you guys have any takes on that or experience in thinking about reliability through this internal platform concept? Or does it just happen that way?\n\n**VLADYSLAV:** Well, I would say that the SRE infrastructure that you're building ideally would feed into the bigger platform that you designed for your engineering organization. It would feed naturally into what you've got. So it might start as a separate thing.\n\nBut overall, it'll be great to get to a point where the platform that allows you to do pipelines also allows you to set SLOs and feed them into the infrastructure and getting the bridges reported to you, all in one more or less seamless experience from the engineering point of view. I think this is kind of a place where you need to get to. And I think in order to get there, you need to have product thinking for the platform. And that means you need to have product owners-- you might call them technical product owners for the thing. Otherwise, there is no end of product thinking there. And you are not going to end up having a product\n\n**[INAUDIBLE]** probably a bunch of stuff that is engineering-led, but doesn't look like a product.\n\n**STEVE:** Totally.\n\n**AMY:** I think platform engineering is a little bit of a mistake, and it's all Google's fault. And it's because one of the things that they left out of the Google book, or the original SRE book, that I think drives everybody outside of Google crazy-- especially me, is the leadership structure that's in place at Google that enables SREs to speak up and be heard. So this is something I've learned over the years from various folks I've known that have worked there.\n\nBut there are very high-level leaders-- I think all the way up to the senior vice president level, who represent reliability. And most businesses have that for security, but they don't have it for reliability. That's pretty unique to Google and maybe a few other places.\n\nAnd so I think a lot of why platform engineering is arising is because, well, one, it lets us take a lot of these concerns that we're building and actually build a platform where we can just encode them into the platform. So the developers don't even really have to think about it. But the reason that we're driven to do it that way is because without that power base-- I'm going to talk about just power dynamics here.\n\nWithout some kind of platform, with some kind of buy-in and gatekeeping-- really, just gatekeeping, it is super-duper hard to be heard as an SRE because you're just this voice out in the wild. And like I was saying before, as most of the leadership that are trying to ship products and keep the business going and make their P&L go up and to the right, they're just not thinking about it. And they don't want to hear about it. They really don't.\n\nThey don't want me showing up on their door and going, hey, buddy, you got a huge architectural risk right there. And that thing is going to catch on fire one of these days. You're going to have a bad time. I could fix it now. It's going to cost you half a million bucks.\n\nAnd they go, I'm just going to roll a dice, because I don't have any power. I can show them the risk and they can make a business decision on that risk. But humans are notoriously bad at this. And so I think that's really where platform engineering is truly an evolution of SRE and DevOps and all of the things that came before it. But the real pivot that it's bringing to the table is that installation of somebody in power who has a way to say to the leadership team, like, no, you're actually going to do reliability, and that's not an option.\n\n**STEVE:** Yeah, I mean, part of modern-- or not even necessarily modern,ut, as we were saying, professional software engineering is prioritization, or being able to say, like, we're going to build this thing and not that thing. And when priority inversion happens, it's often because of a lack of information or because of a lack of sometimes a champion. So having a seat at the table during that prioritization is super-important.\n\nAnd I agree. That was completely missing from the book. I think that was even left out on purpose because we didn't want to create any \"you have to be like Google\" vibes. But maybe at least just saying it would have been helpful in that structure-- in that book that people saw. Let's keep going.\n\nSo, Amy, how about when you have operators and sysadmins that haven't done software engineering in the past? Have you had any good experiences in like leveling them up and training and all these kinds of things? Like, a, does it work, b, how difficult is it-- c, d, e, up to u. How do you feel about this?\n\n**AMY:** Yeah, yeah, yeah. So A, it does work. B, it's super-duper hard. It's the hardest problem in business. Like, how do I up-level a workforce. In any domain, go and ask some business leader, what's the hardest problem for them. It's like, how do I uplevel my workforce?\n\nSo just out of the gate, the typical move that we've all seen-- and I'll just repeat it, so we're all on the same page. A lot of places looked at the Google book. They probably didn't read it, to be honest. They flipped through it and they went, look, this might help me. I like reliability.\n\nAnd they renamed their sysadmin team to SRE-- all the story since SRE was invented. And when that happens, it has this effect. It does actually do something. So to sit here and say renaming the team does nothing, that's a lie because we've reoriented their focus a little bit right out of the gate.\n\nSo you start to see teams-- I've seen this probably four or five times, where some team gets flipped to SRE. And they're largely just an operations team, and the good ones are doing Kubernetes and they're starting to iterate towards a platform. But they don't have that empowerment. And so that's the big gap, I think.\n\nThere's two major things. There's a skill gap, but there's also the empowerment gap. And then we end up in a livelock with the business, because the business is like, well, I'm not going to trust you with this responsibility because you don't have the skills.\n\nAnd then the people sitting in the seats are like, well, how would I go learn that if I'm not trusted with it? And so we just go around, and so they get stuck doing operational work. And there's all kinds of classic goodies in operational work where it is so hard to get your head above water to where you can actually start swimming.\n\nSo you just end up bobbing up and down and keeping your face above water. That's most of operations, most places. So you have to start with incremental growth in the SRE and bringing your people along.\n\nAnd that's the only thing I've seen that works. You can do the flip, but you have to start to peel off some of the roil and do it incrementally so that you make enough room to start implementing one SLO. And then you make enough room to build another SLO or an incident management, or do a retro program or something. And just snowball that.\n\nBut I've never actually seen anybody flip it, and then everybody goes, yes, I'm an SRE now. I'm going to go learn how to be a great software engineer. They go, like, what the hell is a sprint? And why would I sprint for two weeks?\n\nThat's what most people say, and usually where we start is with those processes. So yes, you can do it. It takes investment and it takes empowerment.\n\n**VLADYSLAV:** And I know a case where the team wasn't just renamed into SRE, but they got a raise as well. And nothing else changed. The leadership thought, OK, if you raise the salaries, if you rename the team, then they will live up to the challenge. But on the ground, nothing changed.\n\nSo what I found useful is, if you have got an operations team that has done traditional operations all along, and you inject a real software engineer into the team-- so just a software engineer that's got an interest in infrastructure stuff and automation and so on. Then this can actually catalyze a change where the software engineer starts building something as a software engineer for a certain purpose for a certain user and so on. This is where things can catch on, because then they go to lunch together and so on.\n\nThey have conversations on a daily basis. And they've got a connection then to a software engineer which is so close, they have never had that before. And this is where you can catalyze the change.\n\n**AMY:** I love that. So embedded SRE is wrong. Embedded SWE is right.\n\n**[CHUCKLES]**\n\nI'm not going to say either one is right or wrong. I just thought that would be funny.\n\n**STEVE:** That was the missing chapter in the book. We fixed it. Good job everyone.\n\nOne of the jobs or one of the purposes of SRE in a group is scaling. It's like the system is already there. Sure, it's going to be adapted over time. But one of the challenges is like just handling growth and stuff.\n\nStuff happens at certain inflection points along the way. Do you have any stories or insights around pitfalls, or the opposite of pitfalls, whatever those are, around scaling of these types of systems, whether they're operational or complete re-architecting? How do you see them coming, how do you approach them, et cetera?\n\n**VLADYSLAV:** I think something like this could be a great catalyst to actually roll out a proper process for operations, like SRE for example. Because if you start to scale-- so the number of users is growing, the session length is growing, and so on, then that will place higher operational demand onto your services, which means they will need to be more available than before, when the load was smaller. But then if you don't have the processes and the cultural substrate in order to support that availability, then this is where you will come to a point where you understand, OK, we need to make some drastic change here.\n\nOtherwise, we are not going to be able to handle it. So we'll just not be able to provide the availability that's needed for that type of traffic that we have never seen. So I think this could actually lead to a great crisis that you can use in order to start introducing proper processes.\n\n**AMY:** That's how it often goes. Like, you wait for an incident. And then that creates the lightning in a bottle, and then you can point that at a team and empower them to go and fix the problem. So I think Steve asked about, like, how do you predict it.\n\nBut this is ultimately how most businesses get it done, really. I think there's a rare privilege a few of us have had-- like rarely in our careers even, where we're somewhere where things are like, we can see the next 10X coming, we can see the 100X coming. Usually what happens, though, is we join a business in a somewhat steady state where it's at some single-digit growth rate.\n\nAnd then the actual problem we have isn't scaling up. So I think most SREs-- most folks carrying that title out there, have the opposite problem, which is how do we make things scale down. Because almost nothing is designed to scale down. Lots of things scale up just fine.\n\nKubernetes scales up like a dream. Amazon scales up like a dream. You can add more instances. Web servers scale like they're super easy.\n\nI don't say super easy, but straightforward. We have good tools we can apply to the problem. But in a lot of enterprises, when we talk about scale, what we actually run into is things that don't scale down. And so we have either like programs that want to be resident in memory 24/7 so that they have their own little built-in schedulers and stuff.\n\nAnd so they're all tightly coupled codes. Like, yep, you're stuck spending n thousand dollars a month to keep n servers up to keep those things running because they can't scale down. And so that has a real business cost.\n\nSo when I think of scale, that's most of the problem that I've worked on in the last few years. It isn't the other direction because that's usually like, add more Cassandra nodes, add more Kubernetes nodes, we're good. But instead, how do I build something small and economical, and then iterate on it while it scales up? And that's actually, I think, far more interesting for the majority of folks out there doing enterprise work.\n\n**STEVE:** It turns out cost matters. Funny, huh?\n\n**VLADYSLAV:** Indeed.\n\n**[CHUCKLES]**\n\n**AMY:** It just depends on if you're like directly in a business that has AI in its name or not.\n\n**STEVE:** All snark is welcome at all times here, by the way. Speaking of which, do you have any examples of a time where a tool, method, product, thing just changed the way that you or your team looked at or worked in production, either for better or for worse? Like, there was this thing that changed the way we all approached production as a whole, whether it was a way of thinking or a piece of technology or someone's way of thinking. I don't know, something like that.\n\n**VLADYSLAV:** So for me, it was clearly getting the development teams that had never done operations before to actually look into production by applying things that SRE suggests by defining the SLOs, thinking about the journeys that would deserve SLOs, then feeding the SLOs into this infrastructure, starting getting feedback from this infrastructure. And then the crux comes, reacting to the feedback from production, enacting that powerful feedback loop of defining something. Then putting it into production, getting feedback from it, and then reacting again, instantiating the scientific method in the operations arena, so to speak. I mean, this just completely changes the attitude of software engineers to what they build, because they suddenly don't just build it. But they build it to observe it.\n\n**AMY:** I 100% agree with Vladyslav on that. I might add a bit of color on around the last thing that he said, which was observability. I think today, we're in a new world of observability than we were even five years ago.\n\nJust with the OpenTelemetry out there, instrumentation for a long time out in the world, we had monitoring vendors who had SDKs that you could hook up to your code. And it would auto-instrument it and give you this wealth of dashboards for free. There's some of them very famous for that. I'm not going to mention their names because they sometimes get upset with me.\n\nBut that's shifted. It's all open source now. OpenTelemetry has re-implemented most of that auto-telemetry, so there's not much excuse not to monitor your systems anymore, because largely what you do is point OpenTelemetry at it and it auto-instruments most of your network calls. So you get an 80% solution for fairly cheap.\n\nAnd then there's this wealth of tools that have evolved over the last few years, largely out of inspiration from the hyperscalers. Like Facebook Scuba evolved into Honeycomb, which is something that I've been using in my work in the last few years with OpenTelemetry. And that's enabled that cycle that Vladyslav described. It's a small part of it. But part of that cycle is our developers, we can put them in the production stream and that starts to create empathy with the operations.\n\nBut the observability cycle is what starts to change their mental models such that they start to design for operations earlier in the process. So that's where I think the modern observability, where we have distributed tracing, just is so easy now compared to even just a few years back. It starts to change the game because now I can roll it out and see what is it actually doing, as opposed to, like, do these numbers on this graph look kind of what I imagined they should look like from my mental model of the system? It's a very different world now. So I think, yeah, tools like Lightstep and Honeycomb, and some of the modern, like Grafana and stuff, is starting to really get there and make this faster.\n\n**STEVE:**This might be leading the witness a little bit, but that's OK. I'm curious, when you introduce a system like this, and you introduce just conceptually-- like, hey, we can take this X-ray to production, we can understand its bones at a pretty deep way. Does that land pretty quickly with developer teams who have never done it before. This is the leading part.\n\n**AMY:** It doesn't.\n\n**STEVE:** But how do you fix that? Like, how do you get it to work?\n\n**AMY:** The way I did it at Equinix was, I embarked on, like, a six-month project where I just would stop by repositories, add the OpenTelemetry instrumentation, work with the team, get it deployed, get it turned on, and pushing out to the metric system. And I really didn't get a lot of uptake until I got almost all the way to the end when I could start to show developers and be like, hey, when you do this with our API, these are all the things that happen in here. And then they start going, what the heck is that? That thing pulls? Why is it polling?\n\nAnd why is it polling every 10 milliseconds. Like, what the heck? That's where you want to get them.\n\nBut until you can show them a waterfall of most of the system, it doesn't click, is what I found. There's a few people who, like, get it. You say, like, it's a directed acyclic graph.\n\nAnd they go, oh, I love this. Let me go do some tracing. And everybody else has to see it. And then they're like, that's pretty cool. And then they start working with it.\n\n**VLADYSLAV:** Yeah, my experience is the same. It takes a long time to get a development team that has never done operations before to a point where they really care, to a point where they notice you and so on. And that requires team-based coaching, I found ideally, where you really get the people together, including the product owner, who is supposed to own the service end to end.\n\nAnd then really work with them and getting them to a point where there is evidence where you start having insights like seeing is believing. OK, I've seen this, so now I believe it, and so on. It definitely requires a lot of dedication and coaching. And also, once you think that you've got them to a point where they do this, come back to them half a year later and check whether they still do it or not.\n\n**AMY:** Yeah, that's another good one.\n\n**VLADYSLAV:** Yeah, and another interesting bit is, we mentioned before the cost consciousness in the cloud. That can be a good driver for this as well, because if suddenly your login costs skyrocket and only your CFO finds that out, then this is definitely already too late. Because then you are accruing the cost at a much faster rate than you should. And if that gets pushed onto the organization to actually reduce costs, then you can only reduce costs once you've got certain visibility into cost, and it requires observability and so on. So that could facilitate the whole introduction of looking into what's going on in production for you.\n\n**[CHUCKLES]**\n\n**STEVE:** Great. This is, again, maybe a leading question, but I'm curious. One of the ideas that SRE teams have going into adopting-- or maybe it came from the books. It's hard for me to really know where this idea came from.\n\nSRE teams, in some sort of platonic ideal state, will magically upgrade the guts of some system. The term that we've used in the past has been, like, to repair the tires on a race car during the drive or whatever-- or repair the wing during flight or something like that. How often does this actually happen?\n\nDo you see teams specifically from an SRE either directed-- hey, we should do this, or directly from the SRE team itself, actually swapping out the guts of some running system in such a way that it continues to run and scales up, and is faster and better and shinier and happier? Is this a myth? Is this real? What do you guys think?\n\n**AMY:** I think it's a bit myth and a bit real. I think SRE teams-- and I jumped in ahead of Vladyslav because I know he's going to have a ton to say about this. I think platform teams, like the SREs that have established a developer experience that they own, especially when they get the abstractions right, can change out everything underneath it.\n\nAnd nobody ever knows. Like, if the abstractions are really solid, that's exactly what they're for. And so if you have Kubernetes in place, you can swap out the Kubernetes fleet a lot of times, even entire clusters, and nobody even knows.\n\nSometimes the software engineers don't even know you did it. So I think it is real, but it has a scope. It pretty rarely, in my experience, spans past the infrastructure layer. And then once you get up into the application tier, all of a sudden now, we have so many product requirements involved-- critical user journeys and things like that, that you're back into a plain old software engineering effort to go in and change out components of the software and move it around. And that's where the SRE comes in more of an advisory role.\n\nAnd I do this a lot these days where I come and help a team figure out how they're going do Strangler pattern, which is where they basically grow a new API, move all of the traffic over, and then kill the old one off when it basically has no more light. And usually what I do is, I go just help people reason about, like, here's your two-year plan to get off this very old crusty platform with a million edges that are going to take forever to file off. And here's how you can do load balancer tricks. Here's how you can do various-- whatever the tricks are we bring to the table, usually, we have those, especially for the infrastructure to stitch things so that we can do that seamless swap.\n\n**VLADYSLAV:** And what I found is that this kind of hot swapping the tires on a Ferrari when it's racing on a track, that happens, I'd say, more often on less mature teams in terms of operations. On the teams where you've got more maturity that happens, I'll say, rarely.\n\n**AMY:** Would you say it's rare or it's just constantly in motion, but smaller changes?\n\n**VLADYSLAV:** Right. Yes, that's right.\n\n**AMY:** I think that would be the maturity. It'd be like, an immature team is going to do like these big chunky changes that are dangerous. And when I see a really high-performance, mature team, every single sprint almost, they're pushing out some incremental change to move forward.\n\n**VLADYSLAV:** Yeah.\n\n**STEVE:** Great, so now open-ended questions. This is the fun part of the interview, hopefully. What would you like to see happen in the next two years when it comes to SRE around the world?\n\nLike, people who identify as SREs, like official books, what is the big change you'd like to see? Or the even better, like, several small changes. It doesn't have to be big changes.\n\n**AMY:** I would like to see our salary double 10 times.\n\n**[CHUCKLES]**\n\nThat'd be good for me, anyway.\n\n**STEVE:** Yeah. When someone offers you more money, you say, yes.\n\n**[LAUGHTER]**\n\n**VLADYSLAV:** You remember that part, you rename the team and give them a raise?\n\n**AMY:** Yeah, I think if we asked all the SREs in the world if they would love this plan I just came up with, I think they would love it. But probably, we need something a little bit more practical to get the business to buy into it. I think this march toward platform engineering is going to be really good for SREs. I think as especially the enterprise crowd tends to follow where the herd has already gone, that's what I mean when I say enterprise.\n\nIt's like, they're not typically adopting the bleeding edge way to do things. But they do have this concept of platform already. A lot of times, it comes out of IT, and so we feel weird about it.\n\nBut I think there's a real opportunity here to build that basis of influence. Because you own the platform, we as SREs typically have the expertise to build those platforms and build them the right way. And that leads us to the influence in the leadership community to start to advocate earlier and earlier for reliability practices. So if I have anything to change, I'd just want to keep going down this road we're going, and just keep hammering on this to see where we can take it, to enable more SREs to get to the table before it's already in production.\n\n**VLADYSLAV:** Yeah, so what I'd like to see in the SREs space is just plain application of AI for banal tasks. So if you're in a hurry today, then you need to have so many things in your head. Where are my runbooks? What is the SLO for the service?\n\nWhat is the historical SLO adherence for that service in that region and so on? Why don't we do this just by having a proper chatbot that can give me all the answers like this. And also imagine how the onboarding of a new SRE would be simplified if the new SRE wouldn't have to bother the next table, but just would be able to have a conversation with some absolutely standard kind of chat bot that would know that stuff.\n\n**STEVE:** Cool. And then speaking of new employees, what advice would you give to not brand-new employees, but even before that-- like high school, early university folks who are maybe looking in this direction? Like, hey, do you think anybody even knows this career exists outside of once you've gotten started in industry. But be like, how would people best be suited spending their time if they wanted to head in the direction of SRE and reliability?\n\n**AMY:** I guess the main thing I would tell these folks is, there's one kind of work that's safe from AI. It's really just one that we have a fairly good notion is going to be safe for a very long time. And that is adaptive work, where we're in the territory of known unknowns and unknown unknowns. This is the place where AI just starts to fall apart, and where human creativity and pattern-finding and stuff starts to be superior. I think even to tomorrow's models, I think we will continue to be superior at this.\n\nSo from that perspective, I think a lot of young folks are asking themselves today, like, what can I do that's safe from the machines? And they should be asking themselves that because we're seeing some real innovation in this space, I think. Where it goes, I'm not going to guess. But what will remain is that the computers will run into situations that they can't solve anymore. And that will be the wall where it's all the stuff that's already been done.\n\nAnd so that leaves us. It leaves SREs. We're the ones that are in there fixing the stupid AI computer when it gets stuck. And say we buy an AI application from some vendor and it's handling a lot of our day-to-day stuff, like Vladyslav described. A lot of the low-hanging fruit, the stuff that's toil should be done by the computers.\n\nWhat's left at the end are the unknown unknowns and the known unknowns, and some of the known unknowns. And where I would focus is being flexible, being adaptable, being somebody who's learned super-duper fast. Those are the skills you need to keep ahead, because the world underneath all of this stuff is changing so fast right now, I don't think it's going to look the same in 10 years.\n\n**VLADYSLAV:**Yeah, I think so. And what I would suggest is, because the whole operational aspect is typically underrepresented in the university curriculum, it's important to get out of university and just get a job at a company that really runs something. And while you would learn something at university for the dev part of the story, you are likely not learning there anything substantial for the ops part of the story.\n\nAnd you can learn the ops part of the story definitely in a company that's doing operations. So that's the advice that I would give. And then just follow your instincts. If you are interested there, you can pursue your interest there.\n\n**AMY:** And that's how most SREs get here. Steve, how many of your colleagues are physics majors at university, half?\n\n**[LAUGHTER]**\n\n**STEVE:** I was going to say more like 15%, even 10%, something like that.\n\n**AMY:** But it's a significant number, right?\n\n**STEVE:** There's physics, philosophy--\n\n**[INTERPOSING VOICES]**\n\n**AMY:** Physics, math, philosophy. But that's the thing I think, though, that leads people here. It is that curiosity. And then getting in and seeing the real world and be like, wow, this is how things actually work, that's where I want to work. Or I need to get paid.\n\n**STEVE:** Yeah, my last boss majored in drama, I believe, or theatrical studies. So there you go.\n\n**AMY:** I was a music major.\n\n**STEVE:** There you go.\n\n**VLADYSLAV:** Cool.\n\n**STEVE:** OK, well, thank you both for coming today. This was a great discussion. Before we sign off, I think it's customary to mention where you can be found on the internet if people want to follow you. And maybe like one final take, if you're so inclined-- one parting shot. perhaps.\n\n**VLADYSLAV:** You can find me on LinkedIn, and pay attention to observability.\n\n**STEVE:** Nice.\n\n**AMY:**I can be found on Mastodon @renice-- so like the command renice, @renice@hachyderm.io. And I can be found on LinkedIn as well. And my parting take would be, I think where all of our work is heading is what, in the resilience community, we call adaptive work. And it's that stuff that remains when everything's been automated, the stuff that the computers haven't predicted or the computers haven't predicted. And so really, site reliability engineer is a lot of ways are adaptive capacity engineers.\n\n**STEVE:** Great Thank you both. And as we like to say, may the queries flow and the pagers stay silent.\n\n**AMY:** All right.\n\n**VLADYSLAV:** Thank you.\n\n**STEVE:** So long.\n\n**PERSON:** You've been listening to Prodcast Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji [INAUDIBLE] The podcast theme is \"Telebot\" by Javi Beltran. Special thanks to MP English and Jenn Petoff.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**", "znaku_textu": 42390, "slov": 7677, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:34", "sha256": "fb7d24d9834011e58820d2aea3f1390d155d032e89e563ee2491ec4dbaf93cca", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01/", "titulek": "SRE, a Basis of Influence with Amy Tobey & Vlad Ukis", "h1": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis", "popis": "In this season of Google Prodcast, current and former SREs, both within and outside of Google, chat with hosts Steve McGhee and Jordan Greenberg to discuss software systems designed and built by SREs. \nFor ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01"}, "headline": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis", "description": "For 'episode zero', guests Amy Tobey and Vladyslav Ukis will set the stage for the season with a lively discussion about what Software Engineering means to Site Reliability Engineering.", "image": "https://kstatic.googleusercontent.com/files/8a67aea051c5c086e3d9c108861ba01e38743b0e3e5e07b975ae647448ff830d818227bb13bdba9e29563d6e83c0fa9ea431563c440a2766108b28af33ea4f7d", "author": [{"@type": "Person", "name": "Amy Tobey "}, {"@type": "Person", "name": "Vladyslav Ukis"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis"}], "markdown": "# SRE, a Basis of Influence with Amy Tobey & Vladyslav Ukis\n\nIn this season of Google Prodcast, current and former SREs, both within and outside of Google, chat with hosts Steve McGhee and Jordan Greenberg to discuss software systems designed and built by SREs.\n\nFor \"episode zero\", guests Amy Tobey and Vladyslav Ukis will set the stage for the season with a lively discussion about what Software Engineering means to Site Reliability Engineering.\n\n**STEVE:**Welcome to season three of the Prodcast, Google's podcast about site reliability, engineering and production software. I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SREs. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nHello everyone, and welcome to Google's SRE podcast, or as we like to call it, the Prodcast. This is the first episode, or as we like to say, the zeroth episode, in season three. Today, we have Vladyslav and Amy, who are going to help us out a little bit.\n\nAnd we're going to start off our season. This is going to be the third season. We're going to be focusing on software engineering in SRE. And the topic we're going to focus on today is going to be what happens when software engineers solve production problems? And what's the importance of the software engineering mindset within SRE?\n\nAnd this in no way means like software engineering is the only thing, or like you should only be writing code 100% of the time. Certainly not. In fact, I think we'll get into that a bit. But before we do that, why don't we have our guests introduce themselves?\n\nSo let's go alphabetically because that's the best. Everyone likes it. And Amy.\n\n**AMY:**Yeah, hi, folks. I'm Amy Tobey. I have been doing tech in what we call SRE for about 25 years. So before that name came around, that's what I was doing very quickly out of college. Today, I work at Equinix as a senior principal engineer where I meddle in product work and SRE work and software work-- just all over the place. Awesome.\n\n**STEVE:** Thanks, Amy. And Vladyslav.\n\n**VLADYSLAV:** Hi Hello. Thanks for having me on the podcast, or on the Prodcast.\n\n**[CHUCKLES]**\n\nAnd my name is Vladyslav. And I work for a big company called Siemens Healthineers, which is the health care arm of Siemens. And there, I'm responsible for the so-called Teamplay digital health platform, which is a software as a service platform for health care applications and digital services.\n\nAnd this is where SRE comes in very handy because you need to operate the platform somehow. And this is where we use heavily the SRE methodology. And I'm looking forward to talking about it with all of you on the podcast.\n\n**STEVE:** Well, thank you both for coming today. Just to get started, I think we want to start actually with the inverse. So specifically, we have a question here for Vladyslav, which was, how do operations serve as the core part of SRE, which might feed into software engineering later on? Like, what do we even mean by operations to begin with.\n\n**VLADYSLAV:**So in my view, SRE is a methodology for running digital services reliably at scale. And it's about running the services, so we are firmly in the operations arena. But the curious thing about SRE is that it applies a lot of software engineering methodologies in order to achieve that-- reliable operations at scale.\n\nSo it requires you, for example, to implement some sort of SRE infrastructure that enables development teams to operate their services with acceptable cognitive load. And it then requires the software engineers to actually use that infrastructure in order to do the operations of the services. So it requires the operations folks to implement something as software engineers to be used by software engineers, and then requires the software engineers to go on call for their services for an agreed period of time of the day, so working as operations engineers. So I think this is what makes it interesting, and this is where we see the software engineering making its way into SRE. So that's on the one hand, I'd say.\n\nBut also on the other hand, if you take a broader view of what SRE is trying to achieve, it's then actually reliable and scalable services. And that means you need to weave in that SRE thinking from the beginning to end of the service life cycle. So that means you need to apply software engineering things, like what kinds of stability patterns do we implement now into these services?\n\nWhere do we put circuit breakers? Where do we need bulkheads and so on? So you need to have some solid background in software engineering in order to do this across the life cycle.\n\n**STEVE:** Totally agree. Amy, how do you feel about Vladyslav's definition so far.\n\n**AMY:** I like most of it. I tend to take a little bit more expansive and sideways view of it, because what I've seen a lot of in the field is a lot of people look at SRE, and they're overemphasized on the software part. And then we talk to our friends at Google, and they're like, no, no. It's really about what a software engineer would do in an operational context.\n\nAnd I think they're both wrong, because like when I see effective SRE that I've done out in the real world-- and I'm just going to say Google's kind of not like the real world. It's this magical fairy place where people get to have fun and totally have cool tools and good software tools. It's a real place.\n\nBut what I'm getting at is, the real essence of what we were working on are these feedback cycles across the software engineering life cycle. So starting at the very beginning, we want to get involved in product management and in product conception, and start to insert reliability and security-- because it's always on the way for me, requirements into the product process. And then all the way at the end, if there is an end-- well, there is an end when we actually shut the service down. But maybe that long middle, where we spend most of our time, we're constantly looking at where can we improve the feedback signals. And we implement that through a bunch of different ways, like SLOs going on call, all of the DevOps kind of stuff that we try to integrate, CI/CD, it really comes down to how I tighten those feedback cycles between what my customer is experiencing, what my software engineers are doing, and what my leadership believes we're all doing.\n\n**STEVE:** Yeah, I think that last bit is actually a great one as well, which is, what does the leadership think we're doing. One take on this historically has been the idea of not accepting 100% reliability as even a reasonable goal. The jokey way I like to describe it is, if you're asking for something that's unreasonable, you're just telling people to lie to you. And this is what happens with teams that give unachievable goals like 100% availability or reliability in some way.\n\n**AMY:** It's true. You look at 100% stat, and you peer at it long enough and you stare through it and go look at the actual metrics, somewhere some statistical significance is being dropped.\n\n**STEVE:** Yeah, or it's 100%, except for x, y, and z because we're leaving those out, because come on. you wouldn't want to leave those in.\n\n**AMY:** Because they're just not convenient.\n\n**STEVE:** Yeah, that's right. Have either of you encountered a situation where something like this is going on, where the metrics look great? And when you dig into them further, it turns out something funny is going on?\n\nIf that has happened, what do you do? What's the thing here. Is it just talking to the teams in general, or talking to the leadership teams and saying, like, hey, don't do that? Or is there something more subtle here?\n\n**VLADYSLAV:** Well, I think that happens all the time with the definition of SLO. So you go to a team and they're totally new to the party. So they've never done any SREs. And you start advising them, OK, so maybe we would select some SLIs that would apply to your service.\n\nAnd then inevitably, they come up with something like availability. That's important for any service. And then you work with them, and then they come up with an initial set of SLOs.\n\nAnd they think, OK, so our service is so and so and so available. And then what happens is, well, you feed all this into the SRE infrastructure. And then a couple of days later, everything is red because all the SLOs have been broken.\n\nAnd you come to them and say, OK, now have you looked at the SLOs, first of all? No, because they're not trained yet to do this. But then you show them, OK, so all the SLOs have been broken. What does that mean? Well, actually, the customer hasn't called up and didn't say that something is wrong.\n\nSo there, you've got already the cognitive dissonance. So the SLOs have been defined. They are all red. But the customer actually didn't experience it as being so painful. And that happens all the time until you get the team to a point where those things converge.\n\nSo the definition converges with the user experience. And when it's red, then it actually means the user experience got broken. And when it's green, it actually means the user experience is OK. And once you get them to a point that this is an ongoing refinement process, then this is where you know, OK, you are getting it. You're getting somewhere.\n\n**STEVE:** Totally\n\n**AMY:** I have run into that. In fact, there's still a dashboard I'm working slowly to eliminate that shows a number of services-- SLOs that is measured by an instrument that I don't particularly find very reliable because it doesn't represent the customer experience. And there's no technical problem here. It's actually really interesting about it.\n\nLike technically, the system works as designed. It is instrumenting as designed. It is reporting metrics that are actually somewhat representative of what the system is doing, but have almost no bearing on the customer experience. That's the first problem.\n\nBut the way I approach this is not to go and start poking at the technical stuff. I tried that for years. And basically, every time I poke at it, they're like, well, everything's working exactly as we designed it. Well, yeah, because you designed the wrong thing.\n\nBut the thing is, it's been in place for years. And so this is my world. It's been in place for a long time.\n\nAnd so every time I try to approach it and be like, I think we could do this better, everybody's like, well, no. It's been there the whole time I've worked here. It's fine. So this is really more where we start to get really deep into leadership and having to go around to the product managers, and not just the people who own, like, the monitoring system there, but each of the product teams' product managers and point out to them how broken this is. And then go back through their incidents and go like this one, this one, and this one and this one and this one and this one, all caught you by surprise because you're monitoring doesn't actually work, even though you go look at the dashboard.\n\nBut still, it would be like you would show somebody this fairly obvious, to us, truth. And they would go, wow, I got to fix that. Except there are so many other things going on that largely, they're just like, OK, yeah, that's really important. But I've got to go work on this other much more important thing.\n\nAnd so it's still there, and we're still chipping away at it. And we've got most of those people starting to do higher level monitoring so that they come through this journey where, instead of me telling them that it's wrong, basically, we have to take them down this longer road where through, like, instrumenting with OpenTelemetry and using more modern tools, eventually, these folks will come around and go, yeah, that's really bad. And then they'll tear it down. But we're just not there yet.\n\n**STEVE:** This reminds me of like-- this is a high-level, hand-wavy definition, but the difference between programming and, like, professional product software engineering. You can technically do programming just fine and it'll do what you say. But if you're not designing the right thing at the right time for the right people, and getting feedback and doing the whole thing, and working with your peers and like collaborating, like there's a bigger, bigger thing over there, which is capital S, capital E software engineering. We put a W in there sometimes for some reason. It's funny.\n\n**AMY:** I tell people all the time, I write code for free. I get paid to do Jira.\n\n**STEVE:** So there's a trend going around these days around platform engineering. And sometimes, we talk about internal product management. One way that I've heard SREs described is just like another set of influences, or influencers maybe, to that internal product or to that platform in terms of representing the reliability or the security of the things that are being shipped through that internal platform. Do you guys have any takes on that or experience in thinking about reliability through this internal platform concept? Or does it just happen that way?\n\n**VLADYSLAV:** Well, I would say that the SRE infrastructure that you're building ideally would feed into the bigger platform that you designed for your engineering organization. It would feed naturally into what you've got. So it might start as a separate thing.\n\nBut overall, it'll be great to get to a point where the platform that allows you to do pipelines also allows you to set SLOs and feed them into the infrastructure and getting the bridges reported to you, all in one more or less seamless experience from the engineering point of view. I think this is kind of a place where you need to get to. And I think in order to get there, you need to have product thinking for the platform. And that means you need to have product owners-- you might call them technical product owners for the thing. Otherwise, there is no end of product thinking there. And you are not going to end up having a product\n\n**[INAUDIBLE]** probably a bunch of stuff that is engineering-led, but doesn't look like a product.\n\n**STEVE:** Totally.\n\n**AMY:** I think platform engineering is a little bit of a mistake, and it's all Google's fault. And it's because one of the things that they left out of the Google book, or the original SRE book, that I think drives everybody outside of Google crazy-- especially me, is the leadership structure that's in place at Google that enables SREs to speak up and be heard. So this is something I've learned over the years from various folks I've known that have worked there.\n\nBut there are very high-level leaders-- I think all the way up to the senior vice president level, who represent reliability. And most businesses have that for security, but they don't have it for reliability. That's pretty unique to Google and maybe a few other places.\n\nAnd so I think a lot of why platform engineering is arising is because, well, one, it lets us take a lot of these concerns that we're building and actually build a platform where we can just encode them into the platform. So the developers don't even really have to think about it. But the reason that we're driven to do it that way is because without that power base-- I'm going to talk about just power dynamics here.\n\nWithout some kind of platform, with some kind of buy-in and gatekeeping-- really, just gatekeeping, it is super-duper hard to be heard as an SRE because you're just this voice out in the wild. And like I was saying before, as most of the leadership that are trying to ship products and keep the business going and make their P&L go up and to the right, they're just not thinking about it. And they don't want to hear about it. They really don't.\n\nThey don't want me showing up on their door and going, hey, buddy, you got a huge architectural risk right there. And that thing is going to catch on fire one of these days. You're going to have a bad time. I could fix it now. It's going to cost you half a million bucks.\n\nAnd they go, I'm just going to roll a dice, because I don't have any power. I can show them the risk and they can make a business decision on that risk. But humans are notoriously bad at this. And so I think that's really where platform engineering is truly an evolution of SRE and DevOps and all of the things that came before it. But the real pivot that it's bringing to the table is that installation of somebody in power who has a way to say to the leadership team, like, no, you're actually going to do reliability, and that's not an option.\n\n**STEVE:** Yeah, I mean, part of modern-- or not even necessarily modern,ut, as we were saying, professional software engineering is prioritization, or being able to say, like, we're going to build this thing and not that thing. And when priority inversion happens, it's often because of a lack of information or because of a lack of sometimes a champion. So having a seat at the table during that prioritization is super-important.\n\nAnd I agree. That was completely missing from the book. I think that was even left out on purpose because we didn't want to create any \"you have to be like Google\" vibes. But maybe at least just saying it would have been helpful in that structure-- in that book that people saw. Let's keep going.\n\nSo, Amy, how about when you have operators and sysadmins that haven't done software engineering in the past? Have you had any good experiences in like leveling them up and training and all these kinds of things? Like, a, does it work, b, how difficult is it-- c, d, e, up to u. How do you feel about this?\n\n**AMY:** Yeah, yeah, yeah. So A, it does work. B, it's super-duper hard. It's the hardest problem in business. Like, how do I up-level a workforce. In any domain, go and ask some business leader, what's the hardest problem for them. It's like, how do I uplevel my workforce?\n\nSo just out of the gate, the typical move that we've all seen-- and I'll just repeat it, so we're all on the same page. A lot of places looked at the Google book. They probably didn't read it, to be honest. They flipped through it and they went, look, this might help me. I like reliability.\n\nAnd they renamed their sysadmin team to SRE-- all the story since SRE was invented. And when that happens, it has this effect. It does actually do something. So to sit here and say renaming the team does nothing, that's a lie because we've reoriented their focus a little bit right out of the gate.\n\nSo you start to see teams-- I've seen this probably four or five times, where some team gets flipped to SRE. And they're largely just an operations team, and the good ones are doing Kubernetes and they're starting to iterate towards a platform. But they don't have that empowerment. And so that's the big gap, I think.\n\nThere's two major things. There's a skill gap, but there's also the empowerment gap. And then we end up in a livelock with the business, because the business is like, well, I'm not going to trust you with this responsibility because you don't have the skills.\n\nAnd then the people sitting in the seats are like, well, how would I go learn that if I'm not trusted with it? And so we just go around, and so they get stuck doing operational work. And there's all kinds of classic goodies in operational work where it is so hard to get your head above water to where you can actually start swimming.\n\nSo you just end up bobbing up and down and keeping your face above water. That's most of operations, most places. So you have to start with incremental growth in the SRE and bringing your people along.\n\nAnd that's the only thing I've seen that works. You can do the flip, but you have to start to peel off some of the roil and do it incrementally so that you make enough room to start implementing one SLO. And then you make enough room to build another SLO or an incident management, or do a retro program or something. And just snowball that.\n\nBut I've never actually seen anybody flip it, and then everybody goes, yes, I'm an SRE now. I'm going to go learn how to be a great software engineer. They go, like, what the hell is a sprint? And why would I sprint for two weeks?\n\nThat's what most people say, and usually where we start is with those processes. So yes, you can do it. It takes investment and it takes empowerment.\n\n**VLADYSLAV:** And I know a case where the team wasn't just renamed into SRE, but they got a raise as well. And nothing else changed. The leadership thought, OK, if you raise the salaries, if you rename the team, then they will live up to the challenge. But on the ground, nothing changed.\n\nSo what I found useful is, if you have got an operations team that has done traditional operations all along, and you inject a real software engineer into the team-- so just a software engineer that's got an interest in infrastructure stuff and automation and so on. Then this can actually catalyze a change where the software engineer starts building something as a software engineer for a certain purpose for a certain user and so on. This is where things can catch on, because then they go to lunch together and so on.\n\nThey have conversations on a daily basis. And they've got a connection then to a software engineer which is so close, they have never had that before. And this is where you can catalyze the change.\n\n**AMY:** I love that. So embedded SRE is wrong. Embedded SWE is right.\n\n**[CHUCKLES]**\n\nI'm not going to say either one is right or wrong. I just thought that would be funny.\n\n**STEVE:** That was the missing chapter in the book. We fixed it. Good job everyone.\n\nOne of the jobs or one of the purposes of SRE in a group is scaling. It's like the system is already there. Sure, it's going to be adapted over time. But one of the challenges is like just handling growth and stuff.\n\nStuff happens at certain inflection points along the way. Do you have any stories or insights around pitfalls, or the opposite of pitfalls, whatever those are, around scaling of these types of systems, whether they're operational or complete re-architecting? How do you see them coming, how do you approach them, et cetera?\n\n**VLADYSLAV:** I think something like this could be a great catalyst to actually roll out a proper process for operations, like SRE for example. Because if you start to scale-- so the number of users is growing, the session length is growing, and so on, then that will place higher operational demand onto your services, which means they will need to be more available than before, when the load was smaller. But then if you don't have the processes and the cultural substrate in order to support that availability, then this is where you will come to a point where you understand, OK, we need to make some drastic change here.\n\nOtherwise, we are not going to be able to handle it. So we'll just not be able to provide the availability that's needed for that type of traffic that we have never seen. So I think this could actually lead to a great crisis that you can use in order to start introducing proper processes.\n\n**AMY:** That's how it often goes. Like, you wait for an incident. And then that creates the lightning in a bottle, and then you can point that at a team and empower them to go and fix the problem. So I think Steve asked about, like, how do you predict it.\n\nBut this is ultimately how most businesses get it done, really. I think there's a rare privilege a few of us have had-- like rarely in our careers even, where we're somewhere where things are like, we can see the next 10X coming, we can see the 100X coming. Usually what happens, though, is we join a business in a somewhat steady state where it's at some single-digit growth rate.\n\nAnd then the actual problem we have isn't scaling up. So I think most SREs-- most folks carrying that title out there, have the opposite problem, which is how do we make things scale down. Because almost nothing is designed to scale down. Lots of things scale up just fine.\n\nKubernetes scales up like a dream. Amazon scales up like a dream. You can add more instances. Web servers scale like they're super easy.\n\nI don't say super easy, but straightforward. We have good tools we can apply to the problem. But in a lot of enterprises, when we talk about scale, what we actually run into is things that don't scale down. And so we have either like programs that want to be resident in memory 24/7 so that they have their own little built-in schedulers and stuff.\n\nAnd so they're all tightly coupled codes. Like, yep, you're stuck spending n thousand dollars a month to keep n servers up to keep those things running because they can't scale down. And so that has a real business cost.\n\nSo when I think of scale, that's most of the problem that I've worked on in the last few years. It isn't the other direction because that's usually like, add more Cassandra nodes, add more Kubernetes nodes, we're good. But instead, how do I build something small and economical, and then iterate on it while it scales up? And that's actually, I think, far more interesting for the majority of folks out there doing enterprise work.\n\n**STEVE:** It turns out cost matters. Funny, huh?\n\n**VLADYSLAV:** Indeed.\n\n**[CHUCKLES]**\n\n**AMY:** It just depends on if you're like directly in a business that has AI in its name or not.\n\n**STEVE:** All snark is welcome at all times here, by the way. Speaking of which, do you have any examples of a time where a tool, method, product, thing just changed the way that you or your team looked at or worked in production, either for better or for worse? Like, there was this thing that changed the way we all approached production as a whole, whether it was a way of thinking or a piece of technology or someone's way of thinking. I don't know, something like that.\n\n**VLADYSLAV:** So for me, it was clearly getting the development teams that had never done operations before to actually look into production by applying things that SRE suggests by defining the SLOs, thinking about the journeys that would deserve SLOs, then feeding the SLOs into this infrastructure, starting getting feedback from this infrastructure. And then the crux comes, reacting to the feedback from production, enacting that powerful feedback loop of defining something. Then putting it into production, getting feedback from it, and then reacting again, instantiating the scientific method in the operations arena, so to speak. I mean, this just completely changes the attitude of software engineers to what they build, because they suddenly don't just build it. But they build it to observe it.\n\n**AMY:** I 100% agree with Vladyslav on that. I might add a bit of color on around the last thing that he said, which was observability. I think today, we're in a new world of observability than we were even five years ago.\n\nJust with the OpenTelemetry out there, instrumentation for a long time out in the world, we had monitoring vendors who had SDKs that you could hook up to your code. And it would auto-instrument it and give you this wealth of dashboards for free. There's some of them very famous for that. I'm not going to mention their names because they sometimes get upset with me.\n\nBut that's shifted. It's all open source now. OpenTelemetry has re-implemented most of that auto-telemetry, so there's not much excuse not to monitor your systems anymore, because largely what you do is point OpenTelemetry at it and it auto-instruments most of your network calls. So you get an 80% solution for fairly cheap.\n\nAnd then there's this wealth of tools that have evolved over the last few years, largely out of inspiration from the hyperscalers. Like Facebook Scuba evolved into Honeycomb, which is something that I've been using in my work in the last few years with OpenTelemetry. And that's enabled that cycle that Vladyslav described. It's a small part of it. But part of that cycle is our developers, we can put them in the production stream and that starts to create empathy with the operations.\n\nBut the observability cycle is what starts to change their mental models such that they start to design for operations earlier in the process. So that's where I think the modern observability, where we have distributed tracing, just is so easy now compared to even just a few years back. It starts to change the game because now I can roll it out and see what is it actually doing, as opposed to, like, do these numbers on this graph look kind of what I imagined they should look like from my mental model of the system? It's a very different world now. So I think, yeah, tools like Lightstep and Honeycomb, and some of the modern, like Grafana and stuff, is starting to really get there and make this faster.\n\n**STEVE:**This might be leading the witness a little bit, but that's OK. I'm curious, when you introduce a system like this, and you introduce just conceptually-- like, hey, we can take this X-ray to production, we can understand its bones at a pretty deep way. Does that land pretty quickly with developer teams who have never done it before. This is the leading part.\n\n**AMY:** It doesn't.\n\n**STEVE:** But how do you fix that? Like, how do you get it to work?\n\n**AMY:** The way I did it at Equinix was, I embarked on, like, a six-month project where I just would stop by repositories, add the OpenTelemetry instrumentation, work with the team, get it deployed, get it turned on, and pushing out to the metric system. And I really didn't get a lot of uptake until I got almost all the way to the end when I could start to show developers and be like, hey, when you do this with our API, these are all the things that happen in here. And then they start going, what the heck is that? That thing pulls? Why is it polling?\n\nAnd why is it polling every 10 milliseconds. Like, what the heck? That's where you want to get them.\n\nBut until you can show them a waterfall of most of the system, it doesn't click, is what I found. There's a few people who, like, get it. You say, like, it's a directed acyclic graph.\n\nAnd they go, oh, I love this. Let me go do some tracing. And everybody else has to see it. And then they're like, that's pretty cool. And then they start working with it.\n\n**VLADYSLAV:** Yeah, my experience is the same. It takes a long time to get a development team that has never done operations before to a point where they really care, to a point where they notice you and so on. And that requires team-based coaching, I found ideally, where you really get the people together, including the product owner, who is supposed to own the service end to end.\n\nAnd then really work with them and getting them to a point where there is evidence where you start having insights like seeing is believing. OK, I've seen this, so now I believe it, and so on. It definitely requires a lot of dedication and coaching. And also, once you think that you've got them to a point where they do this, come back to them half a year later and check whether they still do it or not.\n\n**AMY:** Yeah, that's another good one.\n\n**VLADYSLAV:** Yeah, and another interesting bit is, we mentioned before the cost consciousness in the cloud. That can be a good driver for this as well, because if suddenly your login costs skyrocket and only your CFO finds that out, then this is definitely already too late. Because then you are accruing the cost at a much faster rate than you should. And if that gets pushed onto the organization to actually reduce costs, then you can only reduce costs once you've got certain visibility into cost, and it requires observability and so on. So that could facilitate the whole introduction of looking into what's going on in production for you.\n\n**[CHUCKLES]**\n\n**STEVE:** Great. This is, again, maybe a leading question, but I'm curious. One of the ideas that SRE teams have going into adopting-- or maybe it came from the books. It's hard for me to really know where this idea came from.\n\nSRE teams, in some sort of platonic ideal state, will magically upgrade the guts of some system. The term that we've used in the past has been, like, to repair the tires on a race car during the drive or whatever-- or repair the wing during flight or something like that. How often does this actually happen?\n\nDo you see teams specifically from an SRE either directed-- hey, we should do this, or directly from the SRE team itself, actually swapping out the guts of some running system in such a way that it continues to run and scales up, and is faster and better and shinier and happier? Is this a myth? Is this real? What do you guys think?\n\n**AMY:** I think it's a bit myth and a bit real. I think SRE teams-- and I jumped in ahead of Vladyslav because I know he's going to have a ton to say about this. I think platform teams, like the SREs that have established a developer experience that they own, especially when they get the abstractions right, can change out everything underneath it.\n\nAnd nobody ever knows. Like, if the abstractions are really solid, that's exactly what they're for. And so if you have Kubernetes in place, you can swap out the Kubernetes fleet a lot of times, even entire clusters, and nobody even knows.\n\nSometimes the software engineers don't even know you did it. So I think it is real, but it has a scope. It pretty rarely, in my experience, spans past the infrastructure layer. And then once you get up into the application tier, all of a sudden now, we have so many product requirements involved-- critical user journeys and things like that, that you're back into a plain old software engineering effort to go in and change out components of the software and move it around. And that's where the SRE comes in more of an advisory role.\n\nAnd I do this a lot these days where I come and help a team figure out how they're going do Strangler pattern, which is where they basically grow a new API, move all of the traffic over, and then kill the old one off when it basically has no more light. And usually what I do is, I go just help people reason about, like, here's your two-year plan to get off this very old crusty platform with a million edges that are going to take forever to file off. And here's how you can do load balancer tricks. Here's how you can do various-- whatever the tricks are we bring to the table, usually, we have those, especially for the infrastructure to stitch things so that we can do that seamless swap.\n\n**VLADYSLAV:** And what I found is that this kind of hot swapping the tires on a Ferrari when it's racing on a track, that happens, I'd say, more often on less mature teams in terms of operations. On the teams where you've got more maturity that happens, I'll say, rarely.\n\n**AMY:** Would you say it's rare or it's just constantly in motion, but smaller changes?\n\n**VLADYSLAV:** Right. Yes, that's right.\n\n**AMY:** I think that would be the maturity. It'd be like, an immature team is going to do like these big chunky changes that are dangerous. And when I see a really high-performance, mature team, every single sprint almost, they're pushing out some incremental change to move forward.\n\n**VLADYSLAV:** Yeah.\n\n**STEVE:** Great, so now open-ended questions. This is the fun part of the interview, hopefully. What would you like to see happen in the next two years when it comes to SRE around the world?\n\nLike, people who identify as SREs, like official books, what is the big change you'd like to see? Or the even better, like, several small changes. It doesn't have to be big changes.\n\n**AMY:** I would like to see our salary double 10 times.\n\n**[CHUCKLES]**\n\nThat'd be good for me, anyway.\n\n**STEVE:** Yeah. When someone offers you more money, you say, yes.\n\n**[LAUGHTER]**\n\n**VLADYSLAV:** You remember that part, you rename the team and give them a raise?\n\n**AMY:** Yeah, I think if we asked all the SREs in the world if they would love this plan I just came up with, I think they would love it. But probably, we need something a little bit more practical to get the business to buy into it. I think this march toward platform engineering is going to be really good for SREs. I think as especially the enterprise crowd tends to follow where the herd has already gone, that's what I mean when I say enterprise.\n\nIt's like, they're not typically adopting the bleeding edge way to do things. But they do have this concept of platform already. A lot of times, it comes out of IT, and so we feel weird about it.\n\nBut I think there's a real opportunity here to build that basis of influence. Because you own the platform, we as SREs typically have the expertise to build those platforms and build them the right way. And that leads us to the influence in the leadership community to start to advocate earlier and earlier for reliability practices. So if I have anything to change, I'd just want to keep going down this road we're going, and just keep hammering on this to see where we can take it, to enable more SREs to get to the table before it's already in production.\n\n**VLADYSLAV:** Yeah, so what I'd like to see in the SREs space is just plain application of AI for banal tasks. So if you're in a hurry today, then you need to have so many things in your head. Where are my runbooks? What is the SLO for the service?\n\nWhat is the historical SLO adherence for that service in that region and so on? Why don't we do this just by having a proper chatbot that can give me all the answers like this. And also imagine how the onboarding of a new SRE would be simplified if the new SRE wouldn't have to bother the next table, but just would be able to have a conversation with some absolutely standard kind of chat bot that would know that stuff.\n\n**STEVE:** Cool. And then speaking of new employees, what advice would you give to not brand-new employees, but even before that-- like high school, early university folks who are maybe looking in this direction? Like, hey, do you think anybody even knows this career exists outside of once you've gotten started in industry. But be like, how would people best be suited spending their time if they wanted to head in the direction of SRE and reliability?\n\n**AMY:** I guess the main thing I would tell these folks is, there's one kind of work that's safe from AI. It's really just one that we have a fairly good notion is going to be safe for a very long time. And that is adaptive work, where we're in the territory of known unknowns and unknown unknowns. This is the place where AI just starts to fall apart, and where human creativity and pattern-finding and stuff starts to be superior. I think even to tomorrow's models, I think we will continue to be superior at this.\n\nSo from that perspective, I think a lot of young folks are asking themselves today, like, what can I do that's safe from the machines? And they should be asking themselves that because we're seeing some real innovation in this space, I think. Where it goes, I'm not going to guess. But what will remain is that the computers will run into situations that they can't solve anymore. And that will be the wall where it's all the stuff that's already been done.\n\nAnd so that leaves us. It leaves SREs. We're the ones that are in there fixing the stupid AI computer when it gets stuck. And say we buy an AI application from some vendor and it's handling a lot of our day-to-day stuff, like Vladyslav described. A lot of the low-hanging fruit, the stuff that's toil should be done by the computers.\n\nWhat's left at the end are the unknown unknowns and the known unknowns, and some of the known unknowns. And where I would focus is being flexible, being adaptable, being somebody who's learned super-duper fast. Those are the skills you need to keep ahead, because the world underneath all of this stuff is changing so fast right now, I don't think it's going to look the same in 10 years.\n\n**VLADYSLAV:**Yeah, I think so. And what I would suggest is, because the whole operational aspect is typically underrepresented in the university curriculum, it's important to get out of university and just get a job at a company that really runs something. And while you would learn something at university for the dev part of the story, you are likely not learning there anything substantial for the ops part of the story.\n\nAnd you can learn the ops part of the story definitely in a company that's doing operations. So that's the advice that I would give. And then just follow your instincts. If you are interested there, you can pursue your interest there.\n\n**AMY:** And that's how most SREs get here. Steve, how many of your colleagues are physics majors at university, half?\n\n**[LAUGHTER]**\n\n**STEVE:** I was going to say more like 15%, even 10%, something like that.\n\n**AMY:** But it's a significant number, right?\n\n**STEVE:** There's physics, philosophy--\n\n**[INTERPOSING VOICES]**\n\n**AMY:** Physics, math, philosophy. But that's the thing I think, though, that leads people here. It is that curiosity. And then getting in and seeing the real world and be like, wow, this is how things actually work, that's where I want to work. Or I need to get paid.\n\n**STEVE:** Yeah, my last boss majored in drama, I believe, or theatrical studies. So there you go.\n\n**AMY:** I was a music major.\n\n**STEVE:** There you go.\n\n**VLADYSLAV:** Cool.\n\n**STEVE:** OK, well, thank you both for coming today. This was a great discussion. Before we sign off, I think it's customary to mention where you can be found on the internet if people want to follow you. And maybe like one final take, if you're so inclined-- one parting shot. perhaps.\n\n**VLADYSLAV:** You can find me on LinkedIn, and pay attention to observability.\n\n**STEVE:** Nice.\n\n**AMY:**I can be found on Mastodon @renice-- so like the command renice, @renice@hachyderm.io. And I can be found on LinkedIn as well. And my parting take would be, I think where all of our work is heading is what, in the resilience community, we call adaptive work. And it's that stuff that remains when everything's been automated, the stuff that the computers haven't predicted or the computers haven't predicted. And so really, site reliability engineer is a lot of ways are adaptive capacity engineers.\n\n**STEVE:** Great Thank you both. And as we like to say, may the queries flow and the pagers stay silent.\n\n**AMY:** All right.\n\n**VLADYSLAV:** Thank you.\n\n**STEVE:** So long.\n\n**PERSON:** You've been listening to Prodcast Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji [INAUDIBLE] The podcast theme is \"Telebot\" by Javi Beltran. Special thanks to MP English and Jenn Petoff.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**", "znaku_textu": 42390, "slov": 7677, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:36", "sha256": "fb7d24d9834011e58820d2aea3f1390d155d032e89e563ee2491ec4dbaf93cca", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02", "titulek": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "h1": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "popis": "In this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02"}, "headline": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "description": "In this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!", "image": "https://kstatic.googleusercontent.com/files/71c755832c2e170df3eaabe9fb5f8c88be62ee031dcceafcc28f830c6f848fca2e5d57e886464939de3d0ecb89ae782be5c7fe9451d3bb817dae8621ea6b4ec5", "author": [{"@type": "Person", "name": "Healfdene Goguen"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen"}], "markdown": "# There Remains a Huge Amount of Work to Do, with Healfdene Goguen\n\nIn this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!\n\n**ROBOT:** You missed a page from telebot.\n\n**STEVE:**Welcome to season three of the Prodcast, Google's podcast about site reliability, engineering and production software I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**[ELECTRONIC MUSIC]**\n\nHi, everyone, and welcome to season three of the Prodcast.\n\nI'm Steve McGhee, and I'm your host this season.\n\nToday we have a special kind of in-between episode.\n\nSince last season was about the different stages of being an SRE in Google and outside of Google, we now have a guest today.\n\nWe have Healfdene Goguen and he is an SRE inside of Google.\n\nAnd he actually started as not an SRE.\n\nHe started as a software engineer and he moved into SRE.\n\nSo this is sort of like the side channel into SRE within Google.\n\nSo we thought we'd address this because season 3 is all about doing software engineering inside of SRE, so we felt that it was an appropriate bridge episode.\n\nSo given that, we also have a new co-host.\n\nI have here, Salim Virji.\n\nAnd with that, I think we'll just get started.\n\nHealfdene, do you want to introduce yourself before we get going?\n\n**HEALFDENE:** Thank you.\n\nYeah, so I'm Healf Goguen and I've been at Google for about 18 years.\n\nAnd as you said, I've worked in a bunch of software development and just recently started working in SRE.\n\nAnd I'm excited to talk.\n\n**STEVE:** Cool.\n\nWelcome.\n\nAnd Salim, why don't you introduce yourself, as well?\n\n**SALIM:** Thanks, Steve.\n\nIt's a pleasure to be here today with you both.\n\nAnd I'm Salim.\n\nI'm part of Google's SRE education team.\n\nAnd I've been part of SRE in one form or another for about 20 years.\n\nAnd I've seen a lot of interesting software development take place in SRE and I'm excited that this season will be digging more deeply into that.\n\n**STEVE:** Great.\n\nSo let's just start from where we begin, right?\n\nWhat brought you from a pure software engineering role inside of Google into SRE?\n\nLike, what attracted you?\n\nAnd how did you make the jump, Healf?\n\n**HEALFDENE:** So I think I've always had a broad range of interests.\n\nI like to focus on something and become a specialist in one area.\n\nBut then after some amount of time of going into depth in something, I get impatient and like to move on to something else.\n\nAnd so I think I've iterated through a bunch of different areas.\n\nAnd as I iterated through those areas over the past 30 years of my career, I think I slowly realized some things that were more attractive to me and some things that were less attractive to me.\n\nAnd yeah, we can talk more in depth about what projects led to that viewpoint.\n\nBut I think at some point, I realized that the thing that was most attractive to me was-- or most important to me-- was having a service in production and sort of defending the integrity of that service in production.\n\nAnd so it seemed natural to take an approach, to look at what that meant from the side of SRE as opposed to the side of development.\n\n**STEVE:** So given that, I've been in SRE for too long, what does it mean to not be running something in production?\n\nWhat is the opposite of that you felt drawn to in production part of it?\n\n**HEALFDENE:** In my earliest days, when I was still a teenager and in college, I was just interested in coding, basically, the practice of coding.\n\nSo I worked on a C interpreter at Bell Labs.\n\nAnd we had a few customers.\n\nBut it was mostly just the joy of hacking on a piece of software.\n\nAnd I guess my father was more in theoretical work as an academic.\n\nAnd he said, you're going to get bored with this practice stuff.\n\nWhy don't you try theory?\n\nAnd so I did that.\n\nI went to Edinburgh and did a PhD in a very theoretical area of computer science called-- well, even maybe it’s not as more logic than it is computer science called type theory.\n\nAnd what I found was that it was fascinating intellectually, and even like I was compulsive about it.\n\nBut I didn't end up caring about the results.\n\nAnd so I went back to working on practice.\n\nAnd just the hacking clearly was not enough.\n\nSo I needed some kind of intellectual stimulation, as well, like some architectural principles to apply to it, as well.\n\nThe theory, as I said, was compelling intellectually.\n\nBut I felt divorced from the actual practice and having users and caring about a service.\n\nI went to AT&T for a while and we built a voice over IP service, which was actually great.\n\nIt was a national voice over IP service.\n\nBut it was a much smaller service than something we would build it at Google.\n\nAnd I enjoyed that.\n\nSo it was great to be associated with something that was really-- you know people were using it.\n\nYou could see that people were getting value from it.\n\n**STEVE:** Yeah, like just add users.\n\nIt makes it a lot more interesting, I guess.\n\n**HEALFDENE:** Yes, absolutely.\n\n**STEVE:** Cool.\n\nSo now that you're in SRE, and you've been in here for more than a little bit, what do you find has transferred well from your very distinguished career in software engineering?\n\nWhat bits of it work?\n\nWhat has pulled over, like everything, or very few things, or somewhere in between?\n\n**HEALFDENE:** I think I am still answering that question.\n\nI've been in my role for three months.\n\nSo I think I have a lot more to learn about the answer to that question.\n\nSo I think I can give pieces of the answer.\n\nBut I think there's a lot more to learn about what the answer to that is.\n\nI mean, I think the other piece that we didn't talk about is that you also, as you evolve in your career, you may pick up more of a leadership role.\n\nAnd so I also found that I really cared about the development of the people on my teams.\n\nAnd so that piece, I think, transfers everywhere.\n\nSo that piece clearly, I still need to-- you know, the role, I think you need the respect of the people that you're working with.\n\nBut at the same time, you can apply your experiences to what they're going through and help people develop new skills in those positions.\n\nSo clearly, that is an important piece of what I was brought to the organization to do.\n\nBut I think if we're talking more in terms of technical skills, it's more maybe that you happen to acquire some SRE skills in the development side.\n\nMaybe I could take that as a hypothesis.\n\nLike as you become-- definitely as you become tech lead, you start caring about your products' behavior in production.\n\nAnd you need people that you trust to be applying good principles to make sure that the service is running well.\n\nAnd you come to learn what the things are that do that.\n\n**STEVE:** Yeah, it can be a little chicken and egg.\n\nLike which came first, your SRE interest, or your actual entrance, your interest or your entrance?\n\nI don't know.\n\nSo before you were in SRE at Google, you worked on some other stuff inside of Google.\n\nThere's one system in particular that has the shortest code name ever.\n\nI was wondering if you could tell us about that.\n\n**HEALFDENE:** So that was D. And--\n\n**STEVE:** The letter D, that's it.\n\n**HEALFDENE:** It's the letter D, yes.\n\nSo that is the network attached server that serves all network attached disk storage.\n\nSo it serves all local storage from disks to the rest of the Google network.\n\n**STEVE:** So given your familiarity with working on D-- I believe you were the tech lead within the D team for a while.\n\nDid you, then, just move straight on to D SRE, or did you find that things would be transferable to other teams?\n\nOr how do you see that experience transferring within different roles?\n\n**HEALFDENE:** No, I didn't go direct.\n\nSo I was tech lead of D for seven years.\n\nAnd we definitely worked-- like as the tech lead of definitely one of these low level infrastructure services, I would say you're closely paired-- you have an SRE team that supports the product, as well.\n\nAnd so as the dev tech lead, I think you have a strong view into the overall service.\n\nSo I think at some point, I had clear objectives on what I wanted to achieve with D. And I think we achieved a lot of those objectives.\n\nAnd it became clearer that I could go to a different position right to-- as I said, I was kind of impatient to move on to new projects after I've learned a certain set of skills.\n\nSo I did move to a different project.\n\n**STEVE:** I guess I'm just asking, did you find that being an expert in one particular domain, specifically within Google, this is like this D thing, this disk service, did you find that pigeonholed you when you moved into SRE?\n\nOr did that not really matter?\n\nLike did you find that your skills were transferable to potentially lots of different things?\n\n**HEALFDENE:** I see.\n\nSo, right.\n\nI guess the specific thing is I did move to a different product, but it was a similar scoped product to D. So it's fundamental to Google.\n\nBut it doesn't interact with a lot of the higher level services that Google provides, like GCE or GCS or even YouTube.\n\nIt's the basis for those things.\n\nBut it doesn't have a lot of direct interaction with the higher level components that build those systems.\n\nSo in some sense, the technical skills, I guess the architecture specific things of those services doesn't apply broadly.\n\nBut I guess the techniques that you learn about isolation and capacity planning and all of those things, those definitely are relevant.\n\n**SALIM:** Just a couple of phrases that are a delight to the ear-- isolation and capacity planning.\n\nAnd Healf, which SRE concepts or practices-- I know that a lot of your learning and a lot of SRE generally happens on the job.\n\nAre there SRE concepts or practices that you would recommend that a student pursuing a CS degree learn about?\n\nBecause there isn't formal SRE at the university level.\n\n**HEALFDENE:** I think that's a great question.\n\nI wonder.\n\nLike, I haven't been that close to university or high school teaching, so I don't know whether people are focusing on these things at all.\n\nDefinitely, from the software engineering perspective, it always felt like people really weren't taught what the practices of code reviews and unit testing and all of that stuff.\n\nThere wasn't a focus on that, right?\n\nIt was more a focus on how do you write an algorithm that solves this problem or what is complexity or those kinds of things, right?\n\nAnd I saw less focus on the engineering practice of it.\n\nAnd I suspect that it's mostly similar for SRE practices as well, right?\n\nLike, where would you learn about capacity planning in a university?\n\n**SALIM:** Yeah.\n\nAnd I know that from my experience in SRE, everything I understand about capacity planning has happened while I've been doing actual capacity planning or faced with issues on a production service.\n\n**STEVE:** Totally.\n\nYep.\n\n**SALIM:** What kind of space or university type curriculum would you envision for SRE practices?\n\nThat is, if there were a course on SRE, what are some of the top things you'd expect to see in that course?\n\n**HEALFDENE:** Yeah, that's a great question.\n\nI mean, I think things we've just mentioned are certainly important in that, right?\n\nSo yes, absolutely understanding isolation.\n\nAnd that can be across lots of-- you can certainly specialize across lots of dimensions in that.\n\nSo algorithms for network isolation and CPU isolation and disk isolation.\n\nLike, they're all interesting and sufficiently different that I think you could get a lot out of studying all of those things.\n\nYeah.\n\nI think thinking about what capacity means, it does feel-- I guess the place I have been is in interviews.\n\nSo I do interviews for Google, as many people do.\n\nAnd I think over the last 10 years, questions that you might have asked 10 years ago that were very difficult for people-- I think the fact that we've been moving to cloud has given people more familiarity with things that we took for granted inside Google but you didn't really see outside.\n\nSo I suspect that there are resources now.\n\nSo I don't think Kafka existed, or at least nobody knew about it when I started asking those kinds of questions, right?\n\nBut then people would just say, well, I'll use Kafka.\n\nRight?\n\nAnd then you're like, OK, well, now how do I make it more specific?\n\nSo yeah, I do feel like, probably, external practice is catching up with things that we did inside the company, or passing.\n\n**STEVE:** I wonder about that specific topic.\n\nLike, when it comes to something like Kafka or Pub/Sub, it's this weird piece of infrastructure that if you didn't have all the stuff around it, you wouldn't need it, right?\n\nIt's like it serves a purpose to connect other things, potentially.\n\nBut I wonder, is that enough to know about the existence of that product and the knobs that are on the surface of it?\n\nOr is it fundamentally important for SRE, specifically potential listeners of this podcast who are working in SRE on cloud somewhere, not necessarily inside of Google, to know the guts of that system?\n\nLike, what's going on inside of a distributed message passing system?\n\nAre the products so mature now that the abstraction is good enough, or is it important to know how it all works inside of it?\n\n**HEALFDENE:** I suspect you're both SREs as well so we can have a conversation here.\n\nBut I suspect.\n\nOf course, you can't just take it out of the box and it's going to work, right?\n\nSo I think if we were talking in an academic context, then you might imagine that a professor could, for example, have a bunch of test workloads that exhibit different behaviors and say, well, propose a configuration that's good for maximizing throughput or minimizing latency for the following use cases or whatever.\n\nAnd you could ask people to understand the system well enough that they can tailor it to those kinds of behaviors.\n\n**STEVE:** I think that's a great way to put it.\n\nI actually just had an interesting dinner table conversation with some teenagers the other day where I talked about how there's many different ways to sort a set of things.\n\nAnd they had no idea what I was talking about.\n\nAnd so I talked about like, well, what if it's already sorted?\n\nWhat if it's totally backwards sorted?\n\nWhat if it's random?\n\nLike, the different methods you take result in different outcomes.\n\nSo I think this helps elucidate what I was getting at, which is, if you want to know the outcomes of running a system under many loads like in production, like you were mentioning, against some weird set of users doing funny things to your system, it is sometimes important to have that mindset of, well, what is the O of n?\n\nWhat is the sigma?\n\nWhat are all these?\n\nYou think about these abstract computer science ideas of what's the best thing that this can do, what's the worst thing this can do.\n\nLike, are we just talking about the median all the time?\n\nAnd really understanding its performance characteristics at a more conceptual level besides, just like you said, just taking it out of the box and plugging it in.\n\nSo given that, I guess what I'm trying to get at is, do you think that a computer science education is still relevant in SREs today?\n\nLike, my consideration is, yeah, probably.\n\nAnd maybe we're a biased bunch.\n\nBut have you seen cases where folks have no computer science education whatsoever and it's completely fine?\n\nYou don't have to have a straight answer either.\n\nThis might just be a ball.\n\n**HEALFDENE:** I mean, I think I'm going to say a computer science education has to be maybe not essential, but certainly extremely useful\n\nI can imagine somebody coming with a mathematical background maybe.\n\nI think I prefer more engineering background, though, because I think you might try to boil the problems down too much and abstract away from things that are important if you were more focused on the mathematics instead of the engineering of it.\n\n**STEVE**: Right.\n\nAnd I don't want to dissuade people who don't have a computer science background.\n\nI'm just asking, do you think it's still additive?\n\nLike, do you think it still helps when it comes to SRE?\n\n**HEALFDENE:** Absolutely.\n\nYes.\n\n**SALIM:** Based on the conversation that we're just having, it sounds like you would assert that it is critical for SREs to be involved as service owners.\n\nThat is, rather than encoding SRE best practices in a platform or in a service, SREs also need to come along with that service and ensure that things continue to work.\n\nAnd those things would be capacity planning, understanding new emerging use cases and so on.\n\n**HEALFDENE:** I mean, I think one piece we haven't talked about is that at least at Google, there are two broad classes of SRE, right?\n\nSo there's one that's more, I guess, systems focused and there's one that's more software engineering focused.\n\nAnd so clearly, for the software engineering focus, I think having a computer science background is completely essential.\n\nI believe that with the more systems focus, it's still going to be extremely useful.\n\nBut I'm not sure that it's absolutely critical.\n\n**STEVE:** OK.\n\nWe have a few questions that we try to ask all of our guests just to be a little consistent, have some horizontal questions.\n\nSo you can always pass if it's meaningless.\n\nBut what is one impactful change you've made to a team or that you've been a part of?\n\nWhat is one story that you have around impact that you're particularly either proud of or just sticks in your head in some way?\n\n**HEALFDENE:** So I think that's the project that I just came off.\n\nSo after I finished being tech lead of D I moved to be the tech lead of Chubby.\n\nChubby is a distributed locking service.\n\nSo basically, in a data center, you have many machines that are all trying to do some amount of work.\n\nAnd you want to guarantee that you can divide the work up, but that when you've divided that work up, only one task is doing a certain piece so that you don't get conflicts where they're trying to do the same thing twice and potentially corrupt data.\n\nAnd so that's the basic service that Chubby provides.\n\nAnd Chubby was built in Google 20 years ago, basically, at this point.\n\nAnd Google was a very different company than it is today.\n\nSo really, it had a few enormous services and a bunch of other stuff.\n\nBut the core focus of the company was web search, Gmail, at some point, YouTube-- those very large services.\n\nAnd those large services have the ability that they can run all over the place because they have such a big footprint that it's fine for them to run in many different places.\n\nAnd so if you have a failure in one location, then you can just basically drain that location and say, please don't send any more traffic there.\n\nWe'll send it to the rest of the world.\n\nAnd that service remains perfectly.\n\nIt can continue to serve without any real consequences.\n\nOf course, that's the idealized state, but we got pretty close to that.\n\nAs Google started to move towards cloud, really, cloud customers don't want to build that.\n\nThey can't build that huge footprint, right?\n\nLike, if you're a relatively small company or even a relatively large company, I guess, it's not going to have the workloads that Google has.\n\nAnd so they want to reduce their costs by remaining in basically one location, or potentially two locations.\n\nBut that architecture doesn't work for them.\n\nAnd so basically, what we did while I was tech lead was to change the architecture of Chubby so that it meets that need of supporting regionalized services and the reliability model that they need, instead of the old reliability model that worked for the old Google.\n\nAnd there are many components to having done that.\n\nAnd it was extremely interesting-- almost as a marketing exercise, but also as, of course, a deep technical enterprise.\n\n**STEVE:** That's cool.\n\nThat's a deep cut right there.\n\nThat's understanding the complexities of the failure domains on the customer's behalf and making sure that the infrastructure here allows for that. That's pretty cool.\n\n**SALIM:** Yeah.\n\nI'm curious also-- and this is a shift from what we were just discussing.\n\nI'm still really curious about-- as younger audiences or younger people come to the practice of software engineering and site reliability engineering, what kind of guidance would you give them so that they can improve the internet as we have it today?\n\nAnd so I guess there are two ways that we can look at this.\n\nWhat would you tell teenagers or people who are embarking on a career in internet services?\n\nAnd also, what can we generally improve about the internet?\n\n**HEALFDENE:** Yeah.\n\nI'm sure there are many dimensions to that question.\n\nBut the ones that I feel most directly reflect on my experience is that, I guess, it could look from the outside the internet is done, maybe.\n\nMaybe you have that perception.\n\nBut inside Google, it's very clear that things are constantly changing, right?\n\nAnd so there remains a huge amount of work to do and very interesting things to think about.\n\nAnd there's clear impact to what's happening there.\n\nSo if you're excited about AI and machine learning, then Google is doing amazing things in order to support that in a better way.\n\nAnd it's really interesting across the full band of potential interests, right?\n\nSo from power infrastructure all the way up to what are the models that support those kinds of things and the more abstract approach to that, right?\n\n**SALIM:** Sure.\n\nPower infrastructure is a really hot thing.\n\nNo pun intended.\n\nIt's very much on the minds of, I think, a lot of people, especially the younger folks who are coming into a world where there is a very different landscape for power consumption.\n\nAnd I think also as an awareness of how power intensive a lot of our deceptively small computers can be because we've got these devices that we can hold in our hand.\n\nAnd yet behind these smartphones and similar devices, there's a tremendous amount of computing power in the cloud.\n\n**HEALFDENE:** Yes.\n\nSo I guess one of the projects-- it's a long time ago at this point.\n\nBut I did make a relatively simple change over a few weeks in Bigtable, which I had worked on before D.\n\nAnd it saved some substantial amount of power, which did feel like that was a real accomplishment, just to be able to make relatively simple software changes that actually change how much money Google is spending and how much power we're consuming.\n\nAnd it's definitely possible to have that kind of impact, both from the development and from the SRE side, right?\n\n**STEVE:** Yeah.\n\nOne of my favorite ISMs that I've learned working at Google is that a small percentage of a large number is still a large number.\n\nSo when you can make a little bit of an improvement to a pretty large system, you can have pretty dramatic impacts.\n\nThat can work in both directions, I suppose.\n\nBut when you're talking about cost or energy savings at a global scale, pretty soon, you're talking about real numbers.\n\n**HEALFDENE:** The alternative view, unfortunately, though, is that as you make things more efficient, it just means people use them more, right?\n\n**STEVE:** Yeah.\n\n**SALIM:** Yeah. Induced demand.\n\n**HEALFDENE:** Yes, exactly.\n\n**STEVE:** So big picture, get your futurism hat on.\n\nSalim was alluding to it before.\n\nLike, is it good that society uses these computers so much?\n\nAre they reliable enough?\n\nCan we actually depend on them, and should we depend on them more in the future?\n\n**HEALFDENE:** I think I'm going to beg off on the question of AI in particular.\n\nBut if we talk about moving to the cloud, it feels inevitable, right?\n\nLike, there are substantial efficiencies, I think, for many companies.\n\nAnd so they're just going to do it regardless of what we think.\n\nAnd it should lead to more-- again, with the caveat that I just gave that maybe they'll do more because it's more efficient for them.\n\nBut it is more efficient for them.\n\nAnd so in terms of reliability, I guess we can't guarantee how any individual company is going to do in terms of continuing to honor the commitment we have.\n\nBut I can definitely say that we all have a strong commitment to the reliability of our systems.\n\nAnd there's a huge amount of investment in making sure that these things are reliable.\n\n**STEVE:** Great.\n\nWell, that was wonderful.\n\nThank you for your time.\n\nThis has been an exciting discussion.\n\nThis is a great way to help us kick off our new season of the Prodcast.\n\nSo I really appreciate your time.\n\nSalim, how about you.\n\nAny quips?\n\n**SALIM:** I don't have any quips to share.\n\n**STEVE:** All right.\n\nWorth a shot.\n\n**SALIM:** I mean, I can lean back on the old, hope is not a strategy.\n\nAnd I think for software engineers and folks with CS background, it's very clear that we can approach engineering problems methodically and with a lot of discipline.\n\nBut my time in SRE is also a reminder that no matter how much we plan, our systems will always find a new, chaotic behavior to throw at us.\n\n**STEVE:** Yeah.\n\nI believe it.\n\nAll right.\n\nWell, Healf and Salim, thank you both today.\n\nThis was a great talk.\n\nAnd as always, may the pager stay silent and the queries flow.\n\n**HEALFDENE:** Thank you so much.\n\n**SALIM:** Thank you.\n\n**VOICEOVER**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg, and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is Telebot by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 25514, "slov": 4595, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:32", "sha256": "9cb601bb493f0f2fd6af69165e78b70c7d3b778edff168e8382e68114bfa024a", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02/", "titulek": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "h1": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "popis": "In this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02"}, "headline": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen", "description": "In this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!", "image": "https://kstatic.googleusercontent.com/files/71c755832c2e170df3eaabe9fb5f8c88be62ee031dcceafcc28f830c6f848fca2e5d57e886464939de3d0ecb89ae782be5c7fe9451d3bb817dae8621ea6b4ec5", "author": [{"@type": "Person", "name": "Healfdene Goguen"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "There Remains a Huge Amount of Work to Do, with Healfdene Goguen"}], "markdown": "# There Remains a Huge Amount of Work to Do, with Healfdene Goguen\n\nIn this episode, Healfdene Goguen (Principal Engineer, Google) joins hosts Steve McGhee and Jordan Greenberg to discuss the vast amount of work to be done by SREs, and the fascinating challenges to tackle with clear real-world implications. It's a truly exciting time to be an SRE at Google!\n\n**ROBOT:** You missed a page from telebot.\n\n**STEVE:**Welcome to season three of the Prodcast, Google's podcast about site reliability, engineering and production software I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**[ELECTRONIC MUSIC]**\n\nHi, everyone, and welcome to season three of the Prodcast.\n\nI'm Steve McGhee, and I'm your host this season.\n\nToday we have a special kind of in-between episode.\n\nSince last season was about the different stages of being an SRE in Google and outside of Google, we now have a guest today.\n\nWe have Healfdene Goguen and he is an SRE inside of Google.\n\nAnd he actually started as not an SRE.\n\nHe started as a software engineer and he moved into SRE.\n\nSo this is sort of like the side channel into SRE within Google.\n\nSo we thought we'd address this because season 3 is all about doing software engineering inside of SRE, so we felt that it was an appropriate bridge episode.\n\nSo given that, we also have a new co-host.\n\nI have here, Salim Virji.\n\nAnd with that, I think we'll just get started.\n\nHealfdene, do you want to introduce yourself before we get going?\n\n**HEALFDENE:** Thank you.\n\nYeah, so I'm Healf Goguen and I've been at Google for about 18 years.\n\nAnd as you said, I've worked in a bunch of software development and just recently started working in SRE.\n\nAnd I'm excited to talk.\n\n**STEVE:** Cool.\n\nWelcome.\n\nAnd Salim, why don't you introduce yourself, as well?\n\n**SALIM:** Thanks, Steve.\n\nIt's a pleasure to be here today with you both.\n\nAnd I'm Salim.\n\nI'm part of Google's SRE education team.\n\nAnd I've been part of SRE in one form or another for about 20 years.\n\nAnd I've seen a lot of interesting software development take place in SRE and I'm excited that this season will be digging more deeply into that.\n\n**STEVE:** Great.\n\nSo let's just start from where we begin, right?\n\nWhat brought you from a pure software engineering role inside of Google into SRE?\n\nLike, what attracted you?\n\nAnd how did you make the jump, Healf?\n\n**HEALFDENE:** So I think I've always had a broad range of interests.\n\nI like to focus on something and become a specialist in one area.\n\nBut then after some amount of time of going into depth in something, I get impatient and like to move on to something else.\n\nAnd so I think I've iterated through a bunch of different areas.\n\nAnd as I iterated through those areas over the past 30 years of my career, I think I slowly realized some things that were more attractive to me and some things that were less attractive to me.\n\nAnd yeah, we can talk more in depth about what projects led to that viewpoint.\n\nBut I think at some point, I realized that the thing that was most attractive to me was-- or most important to me-- was having a service in production and sort of defending the integrity of that service in production.\n\nAnd so it seemed natural to take an approach, to look at what that meant from the side of SRE as opposed to the side of development.\n\n**STEVE:** So given that, I've been in SRE for too long, what does it mean to not be running something in production?\n\nWhat is the opposite of that you felt drawn to in production part of it?\n\n**HEALFDENE:** In my earliest days, when I was still a teenager and in college, I was just interested in coding, basically, the practice of coding.\n\nSo I worked on a C interpreter at Bell Labs.\n\nAnd we had a few customers.\n\nBut it was mostly just the joy of hacking on a piece of software.\n\nAnd I guess my father was more in theoretical work as an academic.\n\nAnd he said, you're going to get bored with this practice stuff.\n\nWhy don't you try theory?\n\nAnd so I did that.\n\nI went to Edinburgh and did a PhD in a very theoretical area of computer science called-- well, even maybe it’s not as more logic than it is computer science called type theory.\n\nAnd what I found was that it was fascinating intellectually, and even like I was compulsive about it.\n\nBut I didn't end up caring about the results.\n\nAnd so I went back to working on practice.\n\nAnd just the hacking clearly was not enough.\n\nSo I needed some kind of intellectual stimulation, as well, like some architectural principles to apply to it, as well.\n\nThe theory, as I said, was compelling intellectually.\n\nBut I felt divorced from the actual practice and having users and caring about a service.\n\nI went to AT&T for a while and we built a voice over IP service, which was actually great.\n\nIt was a national voice over IP service.\n\nBut it was a much smaller service than something we would build it at Google.\n\nAnd I enjoyed that.\n\nSo it was great to be associated with something that was really-- you know people were using it.\n\nYou could see that people were getting value from it.\n\n**STEVE:** Yeah, like just add users.\n\nIt makes it a lot more interesting, I guess.\n\n**HEALFDENE:** Yes, absolutely.\n\n**STEVE:** Cool.\n\nSo now that you're in SRE, and you've been in here for more than a little bit, what do you find has transferred well from your very distinguished career in software engineering?\n\nWhat bits of it work?\n\nWhat has pulled over, like everything, or very few things, or somewhere in between?\n\n**HEALFDENE:** I think I am still answering that question.\n\nI've been in my role for three months.\n\nSo I think I have a lot more to learn about the answer to that question.\n\nSo I think I can give pieces of the answer.\n\nBut I think there's a lot more to learn about what the answer to that is.\n\nI mean, I think the other piece that we didn't talk about is that you also, as you evolve in your career, you may pick up more of a leadership role.\n\nAnd so I also found that I really cared about the development of the people on my teams.\n\nAnd so that piece, I think, transfers everywhere.\n\nSo that piece clearly, I still need to-- you know, the role, I think you need the respect of the people that you're working with.\n\nBut at the same time, you can apply your experiences to what they're going through and help people develop new skills in those positions.\n\nSo clearly, that is an important piece of what I was brought to the organization to do.\n\nBut I think if we're talking more in terms of technical skills, it's more maybe that you happen to acquire some SRE skills in the development side.\n\nMaybe I could take that as a hypothesis.\n\nLike as you become-- definitely as you become tech lead, you start caring about your products' behavior in production.\n\nAnd you need people that you trust to be applying good principles to make sure that the service is running well.\n\nAnd you come to learn what the things are that do that.\n\n**STEVE:** Yeah, it can be a little chicken and egg.\n\nLike which came first, your SRE interest, or your actual entrance, your interest or your entrance?\n\nI don't know.\n\nSo before you were in SRE at Google, you worked on some other stuff inside of Google.\n\nThere's one system in particular that has the shortest code name ever.\n\nI was wondering if you could tell us about that.\n\n**HEALFDENE:** So that was D. And--\n\n**STEVE:** The letter D, that's it.\n\n**HEALFDENE:** It's the letter D, yes.\n\nSo that is the network attached server that serves all network attached disk storage.\n\nSo it serves all local storage from disks to the rest of the Google network.\n\n**STEVE:** So given your familiarity with working on D-- I believe you were the tech lead within the D team for a while.\n\nDid you, then, just move straight on to D SRE, or did you find that things would be transferable to other teams?\n\nOr how do you see that experience transferring within different roles?\n\n**HEALFDENE:** No, I didn't go direct.\n\nSo I was tech lead of D for seven years.\n\nAnd we definitely worked-- like as the tech lead of definitely one of these low level infrastructure services, I would say you're closely paired-- you have an SRE team that supports the product, as well.\n\nAnd so as the dev tech lead, I think you have a strong view into the overall service.\n\nSo I think at some point, I had clear objectives on what I wanted to achieve with D. And I think we achieved a lot of those objectives.\n\nAnd it became clearer that I could go to a different position right to-- as I said, I was kind of impatient to move on to new projects after I've learned a certain set of skills.\n\nSo I did move to a different project.\n\n**STEVE:** I guess I'm just asking, did you find that being an expert in one particular domain, specifically within Google, this is like this D thing, this disk service, did you find that pigeonholed you when you moved into SRE?\n\nOr did that not really matter?\n\nLike did you find that your skills were transferable to potentially lots of different things?\n\n**HEALFDENE:** I see.\n\nSo, right.\n\nI guess the specific thing is I did move to a different product, but it was a similar scoped product to D. So it's fundamental to Google.\n\nBut it doesn't interact with a lot of the higher level services that Google provides, like GCE or GCS or even YouTube.\n\nIt's the basis for those things.\n\nBut it doesn't have a lot of direct interaction with the higher level components that build those systems.\n\nSo in some sense, the technical skills, I guess the architecture specific things of those services doesn't apply broadly.\n\nBut I guess the techniques that you learn about isolation and capacity planning and all of those things, those definitely are relevant.\n\n**SALIM:** Just a couple of phrases that are a delight to the ear-- isolation and capacity planning.\n\nAnd Healf, which SRE concepts or practices-- I know that a lot of your learning and a lot of SRE generally happens on the job.\n\nAre there SRE concepts or practices that you would recommend that a student pursuing a CS degree learn about?\n\nBecause there isn't formal SRE at the university level.\n\n**HEALFDENE:** I think that's a great question.\n\nI wonder.\n\nLike, I haven't been that close to university or high school teaching, so I don't know whether people are focusing on these things at all.\n\nDefinitely, from the software engineering perspective, it always felt like people really weren't taught what the practices of code reviews and unit testing and all of that stuff.\n\nThere wasn't a focus on that, right?\n\nIt was more a focus on how do you write an algorithm that solves this problem or what is complexity or those kinds of things, right?\n\nAnd I saw less focus on the engineering practice of it.\n\nAnd I suspect that it's mostly similar for SRE practices as well, right?\n\nLike, where would you learn about capacity planning in a university?\n\n**SALIM:** Yeah.\n\nAnd I know that from my experience in SRE, everything I understand about capacity planning has happened while I've been doing actual capacity planning or faced with issues on a production service.\n\n**STEVE:** Totally.\n\nYep.\n\n**SALIM:** What kind of space or university type curriculum would you envision for SRE practices?\n\nThat is, if there were a course on SRE, what are some of the top things you'd expect to see in that course?\n\n**HEALFDENE:** Yeah, that's a great question.\n\nI mean, I think things we've just mentioned are certainly important in that, right?\n\nSo yes, absolutely understanding isolation.\n\nAnd that can be across lots of-- you can certainly specialize across lots of dimensions in that.\n\nSo algorithms for network isolation and CPU isolation and disk isolation.\n\nLike, they're all interesting and sufficiently different that I think you could get a lot out of studying all of those things.\n\nYeah.\n\nI think thinking about what capacity means, it does feel-- I guess the place I have been is in interviews.\n\nSo I do interviews for Google, as many people do.\n\nAnd I think over the last 10 years, questions that you might have asked 10 years ago that were very difficult for people-- I think the fact that we've been moving to cloud has given people more familiarity with things that we took for granted inside Google but you didn't really see outside.\n\nSo I suspect that there are resources now.\n\nSo I don't think Kafka existed, or at least nobody knew about it when I started asking those kinds of questions, right?\n\nBut then people would just say, well, I'll use Kafka.\n\nRight?\n\nAnd then you're like, OK, well, now how do I make it more specific?\n\nSo yeah, I do feel like, probably, external practice is catching up with things that we did inside the company, or passing.\n\n**STEVE:** I wonder about that specific topic.\n\nLike, when it comes to something like Kafka or Pub/Sub, it's this weird piece of infrastructure that if you didn't have all the stuff around it, you wouldn't need it, right?\n\nIt's like it serves a purpose to connect other things, potentially.\n\nBut I wonder, is that enough to know about the existence of that product and the knobs that are on the surface of it?\n\nOr is it fundamentally important for SRE, specifically potential listeners of this podcast who are working in SRE on cloud somewhere, not necessarily inside of Google, to know the guts of that system?\n\nLike, what's going on inside of a distributed message passing system?\n\nAre the products so mature now that the abstraction is good enough, or is it important to know how it all works inside of it?\n\n**HEALFDENE:** I suspect you're both SREs as well so we can have a conversation here.\n\nBut I suspect.\n\nOf course, you can't just take it out of the box and it's going to work, right?\n\nSo I think if we were talking in an academic context, then you might imagine that a professor could, for example, have a bunch of test workloads that exhibit different behaviors and say, well, propose a configuration that's good for maximizing throughput or minimizing latency for the following use cases or whatever.\n\nAnd you could ask people to understand the system well enough that they can tailor it to those kinds of behaviors.\n\n**STEVE:** I think that's a great way to put it.\n\nI actually just had an interesting dinner table conversation with some teenagers the other day where I talked about how there's many different ways to sort a set of things.\n\nAnd they had no idea what I was talking about.\n\nAnd so I talked about like, well, what if it's already sorted?\n\nWhat if it's totally backwards sorted?\n\nWhat if it's random?\n\nLike, the different methods you take result in different outcomes.\n\nSo I think this helps elucidate what I was getting at, which is, if you want to know the outcomes of running a system under many loads like in production, like you were mentioning, against some weird set of users doing funny things to your system, it is sometimes important to have that mindset of, well, what is the O of n?\n\nWhat is the sigma?\n\nWhat are all these?\n\nYou think about these abstract computer science ideas of what's the best thing that this can do, what's the worst thing this can do.\n\nLike, are we just talking about the median all the time?\n\nAnd really understanding its performance characteristics at a more conceptual level besides, just like you said, just taking it out of the box and plugging it in.\n\nSo given that, I guess what I'm trying to get at is, do you think that a computer science education is still relevant in SREs today?\n\nLike, my consideration is, yeah, probably.\n\nAnd maybe we're a biased bunch.\n\nBut have you seen cases where folks have no computer science education whatsoever and it's completely fine?\n\nYou don't have to have a straight answer either.\n\nThis might just be a ball.\n\n**HEALFDENE:** I mean, I think I'm going to say a computer science education has to be maybe not essential, but certainly extremely useful\n\nI can imagine somebody coming with a mathematical background maybe.\n\nI think I prefer more engineering background, though, because I think you might try to boil the problems down too much and abstract away from things that are important if you were more focused on the mathematics instead of the engineering of it.\n\n**STEVE**: Right.\n\nAnd I don't want to dissuade people who don't have a computer science background.\n\nI'm just asking, do you think it's still additive?\n\nLike, do you think it still helps when it comes to SRE?\n\n**HEALFDENE:** Absolutely.\n\nYes.\n\n**SALIM:** Based on the conversation that we're just having, it sounds like you would assert that it is critical for SREs to be involved as service owners.\n\nThat is, rather than encoding SRE best practices in a platform or in a service, SREs also need to come along with that service and ensure that things continue to work.\n\nAnd those things would be capacity planning, understanding new emerging use cases and so on.\n\n**HEALFDENE:** I mean, I think one piece we haven't talked about is that at least at Google, there are two broad classes of SRE, right?\n\nSo there's one that's more, I guess, systems focused and there's one that's more software engineering focused.\n\nAnd so clearly, for the software engineering focus, I think having a computer science background is completely essential.\n\nI believe that with the more systems focus, it's still going to be extremely useful.\n\nBut I'm not sure that it's absolutely critical.\n\n**STEVE:** OK.\n\nWe have a few questions that we try to ask all of our guests just to be a little consistent, have some horizontal questions.\n\nSo you can always pass if it's meaningless.\n\nBut what is one impactful change you've made to a team or that you've been a part of?\n\nWhat is one story that you have around impact that you're particularly either proud of or just sticks in your head in some way?\n\n**HEALFDENE:** So I think that's the project that I just came off.\n\nSo after I finished being tech lead of D I moved to be the tech lead of Chubby.\n\nChubby is a distributed locking service.\n\nSo basically, in a data center, you have many machines that are all trying to do some amount of work.\n\nAnd you want to guarantee that you can divide the work up, but that when you've divided that work up, only one task is doing a certain piece so that you don't get conflicts where they're trying to do the same thing twice and potentially corrupt data.\n\nAnd so that's the basic service that Chubby provides.\n\nAnd Chubby was built in Google 20 years ago, basically, at this point.\n\nAnd Google was a very different company than it is today.\n\nSo really, it had a few enormous services and a bunch of other stuff.\n\nBut the core focus of the company was web search, Gmail, at some point, YouTube-- those very large services.\n\nAnd those large services have the ability that they can run all over the place because they have such a big footprint that it's fine for them to run in many different places.\n\nAnd so if you have a failure in one location, then you can just basically drain that location and say, please don't send any more traffic there.\n\nWe'll send it to the rest of the world.\n\nAnd that service remains perfectly.\n\nIt can continue to serve without any real consequences.\n\nOf course, that's the idealized state, but we got pretty close to that.\n\nAs Google started to move towards cloud, really, cloud customers don't want to build that.\n\nThey can't build that huge footprint, right?\n\nLike, if you're a relatively small company or even a relatively large company, I guess, it's not going to have the workloads that Google has.\n\nAnd so they want to reduce their costs by remaining in basically one location, or potentially two locations.\n\nBut that architecture doesn't work for them.\n\nAnd so basically, what we did while I was tech lead was to change the architecture of Chubby so that it meets that need of supporting regionalized services and the reliability model that they need, instead of the old reliability model that worked for the old Google.\n\nAnd there are many components to having done that.\n\nAnd it was extremely interesting-- almost as a marketing exercise, but also as, of course, a deep technical enterprise.\n\n**STEVE:** That's cool.\n\nThat's a deep cut right there.\n\nThat's understanding the complexities of the failure domains on the customer's behalf and making sure that the infrastructure here allows for that. That's pretty cool.\n\n**SALIM:** Yeah.\n\nI'm curious also-- and this is a shift from what we were just discussing.\n\nI'm still really curious about-- as younger audiences or younger people come to the practice of software engineering and site reliability engineering, what kind of guidance would you give them so that they can improve the internet as we have it today?\n\nAnd so I guess there are two ways that we can look at this.\n\nWhat would you tell teenagers or people who are embarking on a career in internet services?\n\nAnd also, what can we generally improve about the internet?\n\n**HEALFDENE:** Yeah.\n\nI'm sure there are many dimensions to that question.\n\nBut the ones that I feel most directly reflect on my experience is that, I guess, it could look from the outside the internet is done, maybe.\n\nMaybe you have that perception.\n\nBut inside Google, it's very clear that things are constantly changing, right?\n\nAnd so there remains a huge amount of work to do and very interesting things to think about.\n\nAnd there's clear impact to what's happening there.\n\nSo if you're excited about AI and machine learning, then Google is doing amazing things in order to support that in a better way.\n\nAnd it's really interesting across the full band of potential interests, right?\n\nSo from power infrastructure all the way up to what are the models that support those kinds of things and the more abstract approach to that, right?\n\n**SALIM:** Sure.\n\nPower infrastructure is a really hot thing.\n\nNo pun intended.\n\nIt's very much on the minds of, I think, a lot of people, especially the younger folks who are coming into a world where there is a very different landscape for power consumption.\n\nAnd I think also as an awareness of how power intensive a lot of our deceptively small computers can be because we've got these devices that we can hold in our hand.\n\nAnd yet behind these smartphones and similar devices, there's a tremendous amount of computing power in the cloud.\n\n**HEALFDENE:** Yes.\n\nSo I guess one of the projects-- it's a long time ago at this point.\n\nBut I did make a relatively simple change over a few weeks in Bigtable, which I had worked on before D.\n\nAnd it saved some substantial amount of power, which did feel like that was a real accomplishment, just to be able to make relatively simple software changes that actually change how much money Google is spending and how much power we're consuming.\n\nAnd it's definitely possible to have that kind of impact, both from the development and from the SRE side, right?\n\n**STEVE:** Yeah.\n\nOne of my favorite ISMs that I've learned working at Google is that a small percentage of a large number is still a large number.\n\nSo when you can make a little bit of an improvement to a pretty large system, you can have pretty dramatic impacts.\n\nThat can work in both directions, I suppose.\n\nBut when you're talking about cost or energy savings at a global scale, pretty soon, you're talking about real numbers.\n\n**HEALFDENE:** The alternative view, unfortunately, though, is that as you make things more efficient, it just means people use them more, right?\n\n**STEVE:** Yeah.\n\n**SALIM:** Yeah. Induced demand.\n\n**HEALFDENE:** Yes, exactly.\n\n**STEVE:** So big picture, get your futurism hat on.\n\nSalim was alluding to it before.\n\nLike, is it good that society uses these computers so much?\n\nAre they reliable enough?\n\nCan we actually depend on them, and should we depend on them more in the future?\n\n**HEALFDENE:** I think I'm going to beg off on the question of AI in particular.\n\nBut if we talk about moving to the cloud, it feels inevitable, right?\n\nLike, there are substantial efficiencies, I think, for many companies.\n\nAnd so they're just going to do it regardless of what we think.\n\nAnd it should lead to more-- again, with the caveat that I just gave that maybe they'll do more because it's more efficient for them.\n\nBut it is more efficient for them.\n\nAnd so in terms of reliability, I guess we can't guarantee how any individual company is going to do in terms of continuing to honor the commitment we have.\n\nBut I can definitely say that we all have a strong commitment to the reliability of our systems.\n\nAnd there's a huge amount of investment in making sure that these things are reliable.\n\n**STEVE:** Great.\n\nWell, that was wonderful.\n\nThank you for your time.\n\nThis has been an exciting discussion.\n\nThis is a great way to help us kick off our new season of the Prodcast.\n\nSo I really appreciate your time.\n\nSalim, how about you.\n\nAny quips?\n\n**SALIM:** I don't have any quips to share.\n\n**STEVE:** All right.\n\nWorth a shot.\n\n**SALIM:** I mean, I can lean back on the old, hope is not a strategy.\n\nAnd I think for software engineers and folks with CS background, it's very clear that we can approach engineering problems methodically and with a lot of discipline.\n\nBut my time in SRE is also a reminder that no matter how much we plan, our systems will always find a new, chaotic behavior to throw at us.\n\n**STEVE:** Yeah.\n\nI believe it.\n\nAll right.\n\nWell, Healf and Salim, thank you both today.\n\nThis was a great talk.\n\nAnd as always, may the pager stay silent and the queries flow.\n\n**HEALFDENE:** Thank you so much.\n\n**SALIM:** Thank you.\n\n**VOICEOVER**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg, and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is Telebot by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 25514, "slov": 4595, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:37", "sha256": "9cb601bb493f0f2fd6af69165e78b70c7d3b778edff168e8382e68114bfa024a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03", "titulek": "Production Problems Are For All! with Ben Treynor Sloss.", "h1": "Production Problems Are For All! with Ben Treynor Sloss", "popis": "Ben Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03"}, "headline": "Production Problems Are For All! with Ben Treynor Sloss", "description": "Ben Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.", "image": "https://kstatic.googleusercontent.com/files/e1b46768bc5fc1e89e2db6808dc5cf98f00aaeabdb9935d736c41b3e5ec78664e5d43cfae4398743a0c7822b8b2e74e4de2f992d999aa1a1f6f431f426a51812", "author": [{"@type": "Person", "name": "Ben Treynor Sloss"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Production Problems Are For All! with Ben Treynor Sloss"}], "markdown": "# Production Problems Are For All! with Ben Treynor Sloss\n\nBen Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.\n\nBen coined the term \"Site Reliability Engineering\" for his team of (now) 4,000 software engineers, engaged in what were traditionally operations functions. Under Ben's leadership, Google SRE wrote two best-selling books on SRE. Since then, the rest of the SaaS industry has come to adopt the SRE name, mission, and practices.\n\n**[TELEBOT\"]** You missed a page from telebot\n\n**STEVE:** Welcome to season 3 of The Prodcast, Google's podcast about site reliability, engineering, and production software.\n\nI'm your host, Steve McGee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**(SINGING)** --from telebot You missed a page from telebot You missed--\n\n**STEVE:** Hey, everyone, Welcome to The Prodcast, Google's podcast about site reliability, engineering, and production software.\n\nI'm your host, Steve McGee, as always.\n\nThis week, we have a special guest and a special co-host.\n\nJenn, can you introduce yourself?\n\n**JENN:** Hello, I'm Jenn Petoff.\n\nAnd I'm currently director of Google Cloud platform and technical infrastructure education.\n\nSo my area of expertise is in SRE education and driving a culture of reliability across Google and beyond.\n\nAnd yeah, I've been at Google 17 years.\n\nI'm one of the co-editors of the SRE book that we wrote back in 2016 and absolutely delighted to be here today as the special co-host as we talk to Google SRE OG Ben Treynor.\n\n**STEVE:** Ben, can you introduce yourself?\n\nYou don't need an introduction, but maybe it'll help.\n\n**BEN:** Apparently, I am the SRE OG.\n\nFormally, I'm Ben Treynor Sloss.\n\nI am the VP of 24/7 here at Google, which roughly means networking, data centers, and site reliability engineering for all of Google.\n\nAnd I've been here, now, 21 years, which has seen a certain amount of growth and change.\n\nAnd it has been fun to watch the SRE team and profession evolve to meet the changing needs and growing scale that Google has brought.\n\n**STEVE:** Cool.\n\nWell, Ben, I do remember, the first time I interacted with you was actually a long time ago in a Borgmon meeting.\n\nAnd you were this guy who walked in and told people what to do.\n\nAnd I was like, who's this guy?\n\nAnd it turned out you were the boss, and I had no idea.\n\nIt was pretty funny to me at the time.\n\nAnd that just kind of, maybe, dates me a little bit.\n\nBut so, this season on The Prodcast, we're focusing on software that SREs have built, or software, specifically, that we're focusing on less on the ops, and the toil, and the sysadmin stuff, and more on the building of systems, or improving of systems directly.\n\nAnd Borgmon is one of those ones that I think of when I first think of big pieces of software that SREs contributed a lot to back in the day.\n\nBut to you, what were some of the most impactful pieces of software that you've seen come out of SRE at Google?\n\n**BEN:** Well, you know, a lot of the tools that SRE has built are, by design, created by the team to replace activities that they had to do by hand with automation that could be improved and made more vigilant and more reliable than you can expect a single human to do.\n\nBut most of our problems with production services come from changing something, right?\n\nMy standard quip is if I really wanted Google to be super reliable, I would just shut down the source control management system and go take a vacation for a couple months because almost nothing would break.\n\n**Things break because we change them.**\n\nAnd so therefore, some of the most useful software that we've built are pieces of software that allow change to be propagated into a large, distributed, running system safely, right, and quickly.\n\nSo there are systems internally, like [Sisyphus](https://sre.google/resources/practices-and-processes/community-driven-software-adoption/) or [annealing](https://sre.google/prodcast/#season1-episode6), that we use to make change to running systems without a high false negative rate-- i.e.\n\nthe system pushes a change that breaks things and doesn't notice-- but also without a high false positive rate, which is the system, you know, stops or rolls back a change because it thinks it may be breaking something when, in fact, it was totally fine.\n\nAnd both of those then allow Google to run a higher feature velocity with the same level of safety and with a very low level of toil.\n\nAnd so though there are many, many systems-- and this, in no way, diminishes many of the other things that we've built-- the ones that are focused around safe change management, for me, are very top of mind, mostly because when they don't work, then I get alerts, and phone, calls, and so on. And so that's a very--\n\n**STEVE:** You hear about it.\n\n**BEN:** --a very selfish perspective.\n\n**STEVE:** Cool.\n\n**JENN:** Sounds good.\n\nSo I think, in SRE, we tend to be very reflective.\n\nWe like to think about what we can learn from what we've done over the past number of years, et cetera.\n\nI also like to think about what-ifs.\n\nSo this is a bit of a counterfactual warning.\n\nYou know, if we enter the bizarro world, what would Google have been like if SRE didn't happen as it did?\n\nLike, was it inevitable for SRE to evolve the way it did or to be implemented the way it was?\n\nAnd yeah, what would it be like if it hadn't?\n\n**BEN:** Well, we actually have a lot of data points about how that plays out.\n\nBecause we have a number of other firms in industry who are successful, but have taken a different approach, right?\n\nFamously, another large distributed services company has said SRE is the wrong answer.\n\nThat is not a good way to go because it separates the development team from the reality of the service they're running, and dot, dot, dot, dot, da-da-- totally reasonable perspective.\n\nThey've pursued, essentially, the DevOps approach.\n\nAnd actually, we have this experience fairly regularly, where folks from that company then come to Google.\n\nAnd when they join Google, they start out with SRE is the devil, right?\n\nThis is the worst thing that you can possibly do.\n\nIt's a terrible way to run services.\n\nAnd it decouples the engineers and the services.\n\nAnd we shouldn't do this.\n\nWe shouldn't have SRE teams.\n\nAnd somewhere in the first 18 months, they all change their mind.\n\nAnd I think it is mostly because they actually see that, yes, done poorly, separating the development team from their service actually does yield a very bad outcome.\n\nBut done skillfully, with the right incentives and with, very much, the SRE team being cooperative with, and in many ways, sort of behaving like a part of the development team, actually, it produces a better outcome.\n\nYou end up spending less time to produce a similar level of availability, in part because you learn the lessons from each service and apply them to every other service.\n\nIf you look at any of these organizations, they tend to be organized around the service or product that they're building, and they tend to be somewhat siloed.\n\nAnd really, we see the same kinds of problems and the same kinds of needs cropping up over and over across many different services.\n\nAnd so the ability to say, ah, we had a progressive rollout failure in this area, and we learned three new things about what we need to do around failure monitoring, we can now put that into a software platform, and all of Google services can benefit from, that's actually quite powerful.\n\nAnd you know, the data, even from folks that come from other companies, is, hmm, now that I understand how this works, I'm spending a half to a third as much total development time to get a similar outcome here at Google.\n\nNow I get it.\n\nAnd they become our strongest proponents.\n\n**JENN:** Yeah, so it sounds like people are won over once they kind of see it in practice when they join Google.\n\nThat said, I think no model is perfect.\n\nSo with the benefit of hindsight, which is 20/20, of course, what, if anything, would you have done differently?\n\nAre there any tweaks you would have made now that-- knowing what you know after 20 years of SRE at Google?\n\n**BEN:** Oh sure, I mean, every single outage brings with it a degree of regret.\n\nI think the biggest single change is that we were slower than optimal to notice that we were building the same software systems in many different groups simultaneously.\n\nAnd although it took, and still takes, a great deal of coordination and exhortation to get these different groups to cooperate on their software platform, it has yielded enormous results.\n\nLike, the reliability has gotten better.\n\nThe toil levels have gone down.\n\nAnd it paves the way for even more services to need much less operational engagement.\n\nBecause now, every new thing that we build can benefit from the platforms that we've already got to do monitoring, or change management, or capacity planning, or et cetera, et cetera.\n\nAnd so I think, in retrospect, sort of realizing that you were going to end up with several different miniature production software stacks, each of which was independently owned and operated, if you will, but was not the same, and moving everyone to a common platform where they all could benefit from everything learned by the other groups, that we could have done that maybe five years earlier than we did.\n\n**STEVE:** Cool.\n\nShifting into the present day a little bit, AI is cool.\n\nI've heard it's kind of a thing.\n\nThere's two terms that I think get a little confused out in the world.\n\nAnd maybe I can give my example, or my definition, and see if you agree.\n\nBut the question will soon follow.\n\nOne is MLOps, which, I say, is like building the ML itself, running the machinery, and like managing the data sets and the pipelines.\n\nSo out pops a ML model that you can then ask questions, or whatever you do with it.\n\nAnd there's AIOps, which is, given one of these AI systems that's already been trained, how can you use that AI thing to do any other sort of operations?\n\nYou could even run it on like a traditional PHP LAMP stack or something.\n\nI don't know-- but using AI to do ops.\n\nSo I think those definitions ring true.\n\nBut my question is, how has any of these-- how has ML, AI, more recently, Gen AI affected Google SRE?\n\n**BEN:** Well, one thing to realize is that the two types of operations that you described, one of them being-- let's call it training, broadly speaking, a creation of a model of weights.\n\nAnd the other is serving, the use of a model with populated weights-- have pretty direct analogies to things that Google has already done.\n\nBuilding a model is a lot like indexing the web.\n\nYou pull in a bunch of information.\n\nYou do a bunch of processing on it that has to occur once, in a central place.\n\nAnd you generate this base model, right?\n\nAnd serving, for machine learning, is, in many ways, similar to serving a web search index, where you take it, and you need to tweak it.\n\nYou need to pull in current information.\n\nYou need to worry about language settings.\n\nYou need the user's context and history to help get the most useful answers for them.\n\nServing somebody information about a dinner restaurant that is 6,000 miles away from them is much less useful than giving them one that's five miles away, et cetera, et cetera.\n\nThese have very direct analogies for what we see in machine learning.\n\nAnd a lot of the ideas and principles that crop up, whether it's how do you deal with a batch pipeline when it comes to training, and what about checkpointing and restarting, and how do you deal with partial failures, and so on translate directly over into the challenges that we now see building and serving from machine learning population.\n\n**JENN:** Of course, following up on that, there's like, how can we use these AI systems to improve our own craft-- so the practice of SRE, and using AI tools, and things of that sort.\n\nHave you seen opportunities in that space so far?\n\nLike, what are your-- are you feeling bullish about that?\n\n**BEN:** Oh, extremely.\n\nSo in many ways, what machine learning is particularly good at is spotting subtle correlations, right, and making predictions based on subtle correlations.\n\nOK, what is predicting failure, if not exactly that, right?\n\nI've noticed that the following six monitoring signals, when combined, indicate we're having a problem.\n\nYou use relatively coarse measures to detect a problem with traditional monitoring.\n\nA machine learning system can be much more sophisticated and subtle about it.\n\nAnd it has the advantage of it never sleeps.\n\nIt never gets distracted.\n\nIt can be vigilant in a way that you can't expect a person to be vigilant.\n\nAnd so there's this enormous opportunity, which we're already taking advantage of in a number of places, to use machine learning models to improve both our detection of problems and our differential diagnosis of problems, and in some places, not where you would expect.\n\nLike, we detect electrical system impending failures in data centers now using these systems.\n\nAnd it's very cool.\n\nBecause they have a characteristic pattern that they go through as they start to heat up, and their impedance changes, and so on.\n\nAnd you can tell the difference between that and normal diurnal cycle operations.\n\nBut all of the applications around signal processing, for example, looking at latency, and error rate, and distribution of queries, and so on are all ripe territories.\n\nAnother totally different one, but super relevant, right, is, during an incident, one of the big challenges is somebody new joins the incident management, and they need to get up to speed on what's going on.\n\nThe incident has been going on for 20 minutes.\n\nAnd you have this very long chat history, and separately, a whole bunch of monitoring signals.\n\nWell, the generic idea of summarize for me, please, and you get back, in five seconds or two seconds, a paragraph that describes the most salient points that you need to know is incredibly helpful for someone.\n\nAnd that time that they gain by not needing six minutes to read all of the background is six minutes less before they can actually be productive and effective in mitigating the problem.\n\nSo all of these are in use right now.\n\n**STEVE:** That's cool.\n\nAnd I bet the incident commander would prefer not to spend time writing up that summarization every time someone asks for one, or they need to send out a post to external comms, or something like that, too, for sure.\n\n**BEN: I look forward to the first time that some unsuspecting executive pops onto a chat to ask what's going on with their service, and they get back a Gemini-generated response.**\n\n**STEVE:** Nice.\n\n**BEN:** I think that may be an aha moment for everybody.\n\n**STEVE:** Cool.\n\nCan we call it OMG bot or something cool like that?\n\nI think that would be fun.\n\n**BEN:** There's probably other terms that we could use.\n\nThe executive dispensary bot might be a good one.\n\n**JENN:** Executroid, yeah.\n\n**BEN:** Though the snark-- setting aside the snark, the ability to bring people up to speed with information that's relevant to them-- setting aside the exec use case, right, if you're a support engineer, you need a different set of information than if you're an SRE working on a subcomponent of the service.\n\nAll that information is in the combined data we've got, but you need to summarize it in a very different way.\n\nRight now, you had two choices.\n\nOne, ask somebody who already knows all this stuff to write you the summary.\n\nNumber two, read through everything, and figure it out yourself.\n\nThis opportunity, which is-- I mean, it's a lob serve, right-- actually solves this problem really nicely.\n\nAnd again, that speed that it can do it, which is much faster than a human, if you need it, as a support engineer, to write a customer-facing summary of what's going on, having an AI system generate the first draft in seconds is five minutes less before all of your customers can be informed about what's occurring.\n\n**STEVE:** Yeah, similarly for fixes as well, write me some YAML to do the thing.\n\nAnd I wouldn't submit the YAML directly myself, personally.\n\nBut at least, it gives me a head start.\n\n**BEN:** Yeah, right, you might be three times as fast.\n\n**STEVE:** Right. Cool.\n\nSo in my job, I speak with cloud customers all the time about adopting SRE practices, and what's the difference between DevOps and SRE, and all these words, and phrases, and things.\n\nBut one of the things that comes up a lot is, we want to build an SRE function.\n\nDo we need a Ben, basically?\n\nLike, do we need a head of SRE?\n\nWe've kind of jokingly called this a CRO, Chief Reliability Officer.\n\nI think that's a little much, but you know, I don't know.\n\nBut really, do you think it helps to have a seat at the table representing reliability, regardless of title?\n\n**BEN:** I think it does, in much the same way that we see a lot of organizations gravitate toward having a chief information security officer.\n\nAnd there's a lot of reasons, but one of them is the domain is pretty deep.\n\nSo having real expertise in it turns out to be important.\n\nAnd another is that it's important, but only occasionally urgent.\n\nAnd it is very easy, in an organization, to get distracted by all of the urgent things.\n\nWe have a new customer need.\n\nThere's this feature.\n\nWe have this deal, dot, dot, dot, dot, dot, right?\n\nAnd gradually, because you don't have outages very often, you spend less and less time on the very important topic of making your service reliable until you start having a string of outages.\n\nAnd then, it's 18 months to rebuild, if you're lucky.\n\nThe segmentation of resources, time, attention, and expertise has, in practice, worked very well for us.\n\nAnd I've seen it work very well for a lot of other companies.\n\nIt's not the only way to do things.\n\nBut if you want to build an SRE team that takes advantage of, for example, the cross-service learnings, the ability to start in incorporating risk measures, I think it is very helpful to have a lead for it.\n\n**STEVE:** Cool.\n\n**JENN:** So I think now, we can maybe change gears again a little bit.\n\nAnd we talked, in the intro, a little bit about the SRE book, which, as an aside, for me-- coolest project, hands down, without a doubt, that I've worked on in my 17 years at Google.\n\nSo Ben, thank you for giving us the opportunity to write the book and giving me the opportunity to basically herd the cats, so to speak, to ensure that the book was written, bringing together the voices of 70 contributors representing over 500 years of Google production experience distilled down into the tome.\n\nSo the SRE book arguably accelerated SRE adoption at other companies that are outside of Google.\n\nAnd again, you talk to a lot of Google customers, et cetera.\n\nWhich ideas from other implementations of SRE have you seen out in the world?\n\nHave you seen ideas from those implementations that Google has adopted, or perhaps should be adopting?\n\nLike, what can we learn from others?\n\n**BEN:** Yeah, we had, maybe three years after the book's publication, gotten together a few groups of folks who were their SRE lead in their company and talked to them about how they had used what we published and what they had learned about running SRE in their organization, to good effect.\n\nAnd in more than a few cases, they had come up with interesting, novel adaptations.\n\nA lot of them fell into the category of-- you know, the specific way that we've done SRE at Google is a reflection of both the underlying engineering principles, but also how Google is organized and managed.\n\nAnd other companies have very different organizations, very different management, and very different priorities in some cases.\n\nAnd so you see the ability to adopt this idea, like, I want the development team to have a strong, personal incentive in making a service that doesn't require much human tending.\n\nOK, at Google, you do that by saying, we share headcount, right?\n\nIf we need one more headcount in SRE, then you have one less headcount in development.\n\nGreat, now we have a shared goal to need as few SREs as possible.\n\nAnd that guides us to an efficient allocation of engineering time being spent on making the service reliable by default.\n\nOther companies may budget things totally differently.\n\nAnd in there, if you get the principle, which is, but I still want the development team to have real skin in the game, as it were, then one approach would be to say, OK, well, at our company, right, what we do is we don't have enough SREs for everybody.\n\nAnd so we pick and choose which services SREs work on and which services get the DevOps treatment based on the effective yield, right?\n\nEssentially, which of these services needs us the least?\n\nBecause those are going to be the ones we're most efficient at working with.\n\nThe fewest SREs can make the most difference for the company.\n\nAnd that is just a different mechanism to guide development teams to build a service that doesn't need much human tending and doesn't need much toil.\n\nBut the idea is, there, I'm giving you a management perspective.\n\nThere are also definitely technical perspectives.\n\nBut you know, you ask a VP, you get VP answers, right?\n\nBut these management techniques of getting these different groups to do the thing that's actually important and useful for the company and apply the principles from SRE to the instantiation of what that company actually needs, those have been both useful and gratifying to see.\n\n**STEVE:** Great.\n\n**JENN:** Very cool.\n\nWell, following on from that, again, we talked about, at the beginning-- so my area of expertise is sort of education and SRE education.\n\nShould we teach SRE in college, university?\n\n**BEN:** Should?\n\nI will admit, I was surprised by how much interest there was in SRE.\n\nWhen you and the others approached me to write the book, I thought it would be fine, and it would be a way for us to talk a bit.\n\nI thought we might-- might-- see 3,000 copies out there, right?\n\nSo I was off by two orders of magnitude in my estimation of how much interest there is.\n\nI'm similarly thinking, oh, college, OK.\n\nBut you're just learning computer science principles in college.\n\nIs the idea of giant, distributed systems, and progressive rollout, and error budgets-- is that going to resonate?\n\nOr is it too early in your career to really grok why those things are interesting?\n\nI don't know.\n\nI've been overly pessimistic about the level of interest in utility for SRE before.\n\nI certainly wouldn't want to make that same mistake again.\n\n**JENN:** Maybe there's some happy medium.\n\nBecause I think, at universities today, people think about things on a very small scale, a very local scale.\n\nSo even just getting a little bit of a dose of how do you scale things up-- like, what's going to be different if you choose a career in industry?\n\nAnd the other thing that's interesting, there have been a couple forays in this space.\n\nLike, Mikey Dickerson recently tried a course at Pomona.\n\nHe talked about it at SREcon, and it was fascinating.\n\nHe basically had his students build and tend a service through the course of a semester.\n\nAnd basically, they were graded at the end of the course based on the uptime that they were able to achieve.\n\nLike, did they meet their SLO?\n\nDid they not meet their SLO?\n\nAnd I thought that was really a fascinating approach.\n\nAnd we've tried a couple of different approaches, even with Google SREs.\n\nLike, one of our colleagues, Christoph Leng, has taught a master's level course in Germany.\n\nAnd we've kind of put a toe in the water with just some online courseware.\n\nSo interest is definitely there.\n\nBut yeah, is it a nice to have elective, or is it something that's really foundational?\n\nI guess it remains to be seen.\n\n**BEN:** And it might be that the right medium is to have some of the lectures on the basics of managing a big, distributed system and how the production management practices are done, you know, best practices.\n\nBecause certainly, learning things like progressive rollout and rapid differential diagnosis, those are concepts that every software engineer should have.\n\nI mean, as we've said, our ideal is every SWE spends six months in an SRE team somewhere before they go off and work on other services because that's a bit of background for them.\n\nAnd so there may be a real opportunity to teach these concepts and a little bit of practical application for everybody going through, let's say, a computer science curriculum.\n\n**STEVE:** Cool.\n\n**JENN:** Very cool.\n\nWell, Steve, do you have-- so I think we're nearing the big finish.\n\nWe have a big question to ask you at the end, Ben.\n\nBut Steve, do you have any other pressing topics you want to tackle while we've got Ben's attention?\n\n**STEVE:** No, let's do it.\n\nLet's dive into the final one.\n\nAnd Ben, you'll never see this one coming, but what's it going to be like in the future?\n\nLike, please predict the future for us, which, we all know, is perfect.\n\nWhat's SRE going to be like in the next two years, or heck, the next 20 years?\n\nLike, how is this all going to play out, according to your prescience?\n\n**BEN:** So I can assure you, it won't be perfect.\n\n**STEVE:** Right. Darn.\n\n**BEN:** The trick is any competitive industry is going to always be pushing the boundaries.\n\nAnd so you're always going to be trading off things like reliability, risk, efficiency, feature velocity, right, scale.\n\nThe goal for SRE is that you use technology and engineering to improve the efficient horizon of what's possible so that the same size group of people can get more feature velocity, more scale, fewer outages with the same number of hours invested for their services over time.\n\nBecause they're taking things that had to be done by hand, or that introduced risk, and they're replacing them with technology that takes away that need.\n\nSo I do think one of the most interesting, and for me, exciting frontiers that we're pushing right now is the move into risk assessment.\n\nThere's this STPA framework, now, that we've been working with for several years.\n\nAnd the team, along with the group at MIT, has made quite a bit of progress in making STPA far easier to assess.\n\nAnd for those not familiar, STPA, you run a process, mostly with people.\n\nAnd it spits out a set of vulnerabilities and risks that your system has.\n\nAnd then, you can choose to fix those things.\n\nAnd it's very, very good and thorough at it, but it's also time-intensive.\n\n**STEVE:** Yeah, it's Nancy Leveson work at MIT, I think, right?\n\n**BEN:** Yeah.\n\nBut we're getting, with them, much, much better at making it easy to do-- a lot less time invested, some tools that start helping you do it.\n\nI mean, it's, in some sense, following the normal SRE path of a thing starts out being manual, and then we figure out how to make it easier, and we figure out how to introduce technology to do pieces of it, and da, da, da.\n\nAnd the idea of I can tell you all of the outages that you're going to have before they happen, and then you can decide how many of them you want to fix and how many of them you want to live with as sort of an engineering choice, that's incredibly interesting.\n\nBecause right now, we use heuristics to do this.\n\nBut we can use actual assessment to do it.\n\nThat's two years' time frame.\n\nI think 20 years, I am going to not make the mistake that several other notable industry figures have made of trying to offer a prediction, on record, for what 20 years from now looks like.\n\nIt is-- the current machine learning revolution indicates just how wrong you can be with that.\n\nI do-- I will put a stake in the ground and say I think the innovation pace that we're seeing is likely to continue.\n\nWe don't-- despite the end of Moore's law, for example, we don't really see that the pace of innovation in services, or technology, or even ideas is slowing down.\n\nAnd if you're wondering what I mean, go look at what the world looked like in 2004.\n\nSmartphones?\n\nI mean, the world, now, in technology, is unrecognizably different than it was 20 years ago.\n\nI expect it will be unrecognizably different 20 years from now as well.\n\nAnd that's part of what, for me, makes this such a fun industry to work in.\n\n**STEVE:** Great.\n\nWell, thanks a lot, Ben.\n\nThis has been a great conversation, of course.\n\nThank you, also, to Jenn for helping me out today with co-hosting duties.\n\n**JENN:** It's an honor to be here.\n\n**STEVE:** Before we go, is there anything else that you want to throw in there, Ben, like a pitch, or a landing page of some kind, or just your favorite GIF, maybe?\n\n**BEN:** My favorite GIF?\n\n**JENN:** GIF or \"JIF?\"\n\n**BEN:** Yes, yes, the eternal debate\n\nI think-- well, what I said briefly, in passing, earlier on I actually stand by.\n\n**I think if you're working in software or you're interested in working in software, it is super useful to make a point of spending a few months working directly on production problems.**\n\nAnd whether that's-- if you're lucky enough to have an SRE function at your company, working there.\n\nBut if you're not, getting your hands dirty, and working on the system, working on production problems, seeing how things work and how they don't work, I've only ever seen that background be incredibly useful for people who subsequently go on to try to build the things.\n\nAnd I liken it a bit to, you know, if you're going to work on cars, you should know how to drive.\n\nAnd a similar, if you're going to work on software systems, you should understand how they function at the ground level.\n\nBecause it lets you build systems that will work in practice and let you avoid some of the hazards and pitfalls that come with building large, successful services.\n\nAnd if you build a service, you kind of want it to be successful.\n\nIf it's successful, you'll have the problems of scale.\n\nSRE is very much about solving the problems of scale without the investment of scale, if you will.\n\nSo it's really useful background.\n\n**STEVE:** Great.\n\nThanks to you both.\n\nHope you have a nice rest of your day.\n\nAnd maybe we'll see you again in season 4.\n\n**BEN:** Great.\n\nThank you very much.\n\n**[JAVI BELTRAN, \"TELEBOT\"]** You missed a page from telebot You missed--\n\n**PERSON:** You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\n**(SINGING)** Telebot, telebot\n\n**PERSON:** Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\n**(SINGING)** You missed a page from--\n\n**PERSON:** This season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\n**(SINGING**) You missed a--\n\n**PERSON:** The Prodcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virj.\n\nThe podcast theme is Telebot by Javi Beltran.\n\n**(SINGING)** Telebot\n\n**PERSON:** Special thanks to MP English and Jenn Petoff.\n\n**(SINGING)** Telebot, telebot, telebot", "znaku_textu": 30631, "slov": 5461, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:31", "sha256": "f3287756b14cecb15504c7f13f03c9f2ee43ce2f5ce6b5659997e416007e942b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03/", "titulek": "Production Problems Are For All! with Ben Treynor Sloss.", "h1": "Production Problems Are For All! with Ben Treynor Sloss", "popis": "Ben Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03"}, "headline": "Production Problems Are For All! with Ben Treynor Sloss", "description": "Ben Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.", "image": "https://kstatic.googleusercontent.com/files/e1b46768bc5fc1e89e2db6808dc5cf98f00aaeabdb9935d736c41b3e5ec78664e5d43cfae4398743a0c7822b8b2e74e4de2f992d999aa1a1f6f431f426a51812", "author": [{"@type": "Person", "name": "Ben Treynor Sloss"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Production Problems Are For All! with Ben Treynor Sloss"}], "markdown": "# Production Problems Are For All! with Ben Treynor Sloss\n\nBen Treynor Sloss (VP of Engineering, Google) joins hosts Steve McGhee and Dr. Jennifer Petoff (Director of Technical Infrastructure Education, Google) to share the evolution of SRE and its impact on software development, how AI and ML significantly impacts SRE practices, and the future of SRE.\n\nBen coined the term \"Site Reliability Engineering\" for his team of (now) 4,000 software engineers, engaged in what were traditionally operations functions. Under Ben's leadership, Google SRE wrote two best-selling books on SRE. Since then, the rest of the SaaS industry has come to adopt the SRE name, mission, and practices.\n\n**[TELEBOT\"]** You missed a page from telebot\n\n**STEVE:** Welcome to season 3 of The Prodcast, Google's podcast about site reliability, engineering, and production software.\n\nI'm your host, Steve McGee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**(SINGING)** --from telebot You missed a page from telebot You missed--\n\n**STEVE:** Hey, everyone, Welcome to The Prodcast, Google's podcast about site reliability, engineering, and production software.\n\nI'm your host, Steve McGee, as always.\n\nThis week, we have a special guest and a special co-host.\n\nJenn, can you introduce yourself?\n\n**JENN:** Hello, I'm Jenn Petoff.\n\nAnd I'm currently director of Google Cloud platform and technical infrastructure education.\n\nSo my area of expertise is in SRE education and driving a culture of reliability across Google and beyond.\n\nAnd yeah, I've been at Google 17 years.\n\nI'm one of the co-editors of the SRE book that we wrote back in 2016 and absolutely delighted to be here today as the special co-host as we talk to Google SRE OG Ben Treynor.\n\n**STEVE:** Ben, can you introduce yourself?\n\nYou don't need an introduction, but maybe it'll help.\n\n**BEN:** Apparently, I am the SRE OG.\n\nFormally, I'm Ben Treynor Sloss.\n\nI am the VP of 24/7 here at Google, which roughly means networking, data centers, and site reliability engineering for all of Google.\n\nAnd I've been here, now, 21 years, which has seen a certain amount of growth and change.\n\nAnd it has been fun to watch the SRE team and profession evolve to meet the changing needs and growing scale that Google has brought.\n\n**STEVE:** Cool.\n\nWell, Ben, I do remember, the first time I interacted with you was actually a long time ago in a Borgmon meeting.\n\nAnd you were this guy who walked in and told people what to do.\n\nAnd I was like, who's this guy?\n\nAnd it turned out you were the boss, and I had no idea.\n\nIt was pretty funny to me at the time.\n\nAnd that just kind of, maybe, dates me a little bit.\n\nBut so, this season on The Prodcast, we're focusing on software that SREs have built, or software, specifically, that we're focusing on less on the ops, and the toil, and the sysadmin stuff, and more on the building of systems, or improving of systems directly.\n\nAnd Borgmon is one of those ones that I think of when I first think of big pieces of software that SREs contributed a lot to back in the day.\n\nBut to you, what were some of the most impactful pieces of software that you've seen come out of SRE at Google?\n\n**BEN:** Well, you know, a lot of the tools that SRE has built are, by design, created by the team to replace activities that they had to do by hand with automation that could be improved and made more vigilant and more reliable than you can expect a single human to do.\n\nBut most of our problems with production services come from changing something, right?\n\nMy standard quip is if I really wanted Google to be super reliable, I would just shut down the source control management system and go take a vacation for a couple months because almost nothing would break.\n\n**Things break because we change them.**\n\nAnd so therefore, some of the most useful software that we've built are pieces of software that allow change to be propagated into a large, distributed, running system safely, right, and quickly.\n\nSo there are systems internally, like [Sisyphus](https://sre.google/resources/practices-and-processes/community-driven-software-adoption/) or [annealing](https://sre.google/prodcast/#season1-episode6), that we use to make change to running systems without a high false negative rate-- i.e.\n\nthe system pushes a change that breaks things and doesn't notice-- but also without a high false positive rate, which is the system, you know, stops or rolls back a change because it thinks it may be breaking something when, in fact, it was totally fine.\n\nAnd both of those then allow Google to run a higher feature velocity with the same level of safety and with a very low level of toil.\n\nAnd so though there are many, many systems-- and this, in no way, diminishes many of the other things that we've built-- the ones that are focused around safe change management, for me, are very top of mind, mostly because when they don't work, then I get alerts, and phone, calls, and so on. And so that's a very--\n\n**STEVE:** You hear about it.\n\n**BEN:** --a very selfish perspective.\n\n**STEVE:** Cool.\n\n**JENN:** Sounds good.\n\nSo I think, in SRE, we tend to be very reflective.\n\nWe like to think about what we can learn from what we've done over the past number of years, et cetera.\n\nI also like to think about what-ifs.\n\nSo this is a bit of a counterfactual warning.\n\nYou know, if we enter the bizarro world, what would Google have been like if SRE didn't happen as it did?\n\nLike, was it inevitable for SRE to evolve the way it did or to be implemented the way it was?\n\nAnd yeah, what would it be like if it hadn't?\n\n**BEN:** Well, we actually have a lot of data points about how that plays out.\n\nBecause we have a number of other firms in industry who are successful, but have taken a different approach, right?\n\nFamously, another large distributed services company has said SRE is the wrong answer.\n\nThat is not a good way to go because it separates the development team from the reality of the service they're running, and dot, dot, dot, dot, da-da-- totally reasonable perspective.\n\nThey've pursued, essentially, the DevOps approach.\n\nAnd actually, we have this experience fairly regularly, where folks from that company then come to Google.\n\nAnd when they join Google, they start out with SRE is the devil, right?\n\nThis is the worst thing that you can possibly do.\n\nIt's a terrible way to run services.\n\nAnd it decouples the engineers and the services.\n\nAnd we shouldn't do this.\n\nWe shouldn't have SRE teams.\n\nAnd somewhere in the first 18 months, they all change their mind.\n\nAnd I think it is mostly because they actually see that, yes, done poorly, separating the development team from their service actually does yield a very bad outcome.\n\nBut done skillfully, with the right incentives and with, very much, the SRE team being cooperative with, and in many ways, sort of behaving like a part of the development team, actually, it produces a better outcome.\n\nYou end up spending less time to produce a similar level of availability, in part because you learn the lessons from each service and apply them to every other service.\n\nIf you look at any of these organizations, they tend to be organized around the service or product that they're building, and they tend to be somewhat siloed.\n\nAnd really, we see the same kinds of problems and the same kinds of needs cropping up over and over across many different services.\n\nAnd so the ability to say, ah, we had a progressive rollout failure in this area, and we learned three new things about what we need to do around failure monitoring, we can now put that into a software platform, and all of Google services can benefit from, that's actually quite powerful.\n\nAnd you know, the data, even from folks that come from other companies, is, hmm, now that I understand how this works, I'm spending a half to a third as much total development time to get a similar outcome here at Google.\n\nNow I get it.\n\nAnd they become our strongest proponents.\n\n**JENN:** Yeah, so it sounds like people are won over once they kind of see it in practice when they join Google.\n\nThat said, I think no model is perfect.\n\nSo with the benefit of hindsight, which is 20/20, of course, what, if anything, would you have done differently?\n\nAre there any tweaks you would have made now that-- knowing what you know after 20 years of SRE at Google?\n\n**BEN:** Oh sure, I mean, every single outage brings with it a degree of regret.\n\nI think the biggest single change is that we were slower than optimal to notice that we were building the same software systems in many different groups simultaneously.\n\nAnd although it took, and still takes, a great deal of coordination and exhortation to get these different groups to cooperate on their software platform, it has yielded enormous results.\n\nLike, the reliability has gotten better.\n\nThe toil levels have gone down.\n\nAnd it paves the way for even more services to need much less operational engagement.\n\nBecause now, every new thing that we build can benefit from the platforms that we've already got to do monitoring, or change management, or capacity planning, or et cetera, et cetera.\n\nAnd so I think, in retrospect, sort of realizing that you were going to end up with several different miniature production software stacks, each of which was independently owned and operated, if you will, but was not the same, and moving everyone to a common platform where they all could benefit from everything learned by the other groups, that we could have done that maybe five years earlier than we did.\n\n**STEVE:** Cool.\n\nShifting into the present day a little bit, AI is cool.\n\nI've heard it's kind of a thing.\n\nThere's two terms that I think get a little confused out in the world.\n\nAnd maybe I can give my example, or my definition, and see if you agree.\n\nBut the question will soon follow.\n\nOne is MLOps, which, I say, is like building the ML itself, running the machinery, and like managing the data sets and the pipelines.\n\nSo out pops a ML model that you can then ask questions, or whatever you do with it.\n\nAnd there's AIOps, which is, given one of these AI systems that's already been trained, how can you use that AI thing to do any other sort of operations?\n\nYou could even run it on like a traditional PHP LAMP stack or something.\n\nI don't know-- but using AI to do ops.\n\nSo I think those definitions ring true.\n\nBut my question is, how has any of these-- how has ML, AI, more recently, Gen AI affected Google SRE?\n\n**BEN:** Well, one thing to realize is that the two types of operations that you described, one of them being-- let's call it training, broadly speaking, a creation of a model of weights.\n\nAnd the other is serving, the use of a model with populated weights-- have pretty direct analogies to things that Google has already done.\n\nBuilding a model is a lot like indexing the web.\n\nYou pull in a bunch of information.\n\nYou do a bunch of processing on it that has to occur once, in a central place.\n\nAnd you generate this base model, right?\n\nAnd serving, for machine learning, is, in many ways, similar to serving a web search index, where you take it, and you need to tweak it.\n\nYou need to pull in current information.\n\nYou need to worry about language settings.\n\nYou need the user's context and history to help get the most useful answers for them.\n\nServing somebody information about a dinner restaurant that is 6,000 miles away from them is much less useful than giving them one that's five miles away, et cetera, et cetera.\n\nThese have very direct analogies for what we see in machine learning.\n\nAnd a lot of the ideas and principles that crop up, whether it's how do you deal with a batch pipeline when it comes to training, and what about checkpointing and restarting, and how do you deal with partial failures, and so on translate directly over into the challenges that we now see building and serving from machine learning population.\n\n**JENN:** Of course, following up on that, there's like, how can we use these AI systems to improve our own craft-- so the practice of SRE, and using AI tools, and things of that sort.\n\nHave you seen opportunities in that space so far?\n\nLike, what are your-- are you feeling bullish about that?\n\n**BEN:** Oh, extremely.\n\nSo in many ways, what machine learning is particularly good at is spotting subtle correlations, right, and making predictions based on subtle correlations.\n\nOK, what is predicting failure, if not exactly that, right?\n\nI've noticed that the following six monitoring signals, when combined, indicate we're having a problem.\n\nYou use relatively coarse measures to detect a problem with traditional monitoring.\n\nA machine learning system can be much more sophisticated and subtle about it.\n\nAnd it has the advantage of it never sleeps.\n\nIt never gets distracted.\n\nIt can be vigilant in a way that you can't expect a person to be vigilant.\n\nAnd so there's this enormous opportunity, which we're already taking advantage of in a number of places, to use machine learning models to improve both our detection of problems and our differential diagnosis of problems, and in some places, not where you would expect.\n\nLike, we detect electrical system impending failures in data centers now using these systems.\n\nAnd it's very cool.\n\nBecause they have a characteristic pattern that they go through as they start to heat up, and their impedance changes, and so on.\n\nAnd you can tell the difference between that and normal diurnal cycle operations.\n\nBut all of the applications around signal processing, for example, looking at latency, and error rate, and distribution of queries, and so on are all ripe territories.\n\nAnother totally different one, but super relevant, right, is, during an incident, one of the big challenges is somebody new joins the incident management, and they need to get up to speed on what's going on.\n\nThe incident has been going on for 20 minutes.\n\nAnd you have this very long chat history, and separately, a whole bunch of monitoring signals.\n\nWell, the generic idea of summarize for me, please, and you get back, in five seconds or two seconds, a paragraph that describes the most salient points that you need to know is incredibly helpful for someone.\n\nAnd that time that they gain by not needing six minutes to read all of the background is six minutes less before they can actually be productive and effective in mitigating the problem.\n\nSo all of these are in use right now.\n\n**STEVE:** That's cool.\n\nAnd I bet the incident commander would prefer not to spend time writing up that summarization every time someone asks for one, or they need to send out a post to external comms, or something like that, too, for sure.\n\n**BEN: I look forward to the first time that some unsuspecting executive pops onto a chat to ask what's going on with their service, and they get back a Gemini-generated response.**\n\n**STEVE:** Nice.\n\n**BEN:** I think that may be an aha moment for everybody.\n\n**STEVE:** Cool.\n\nCan we call it OMG bot or something cool like that?\n\nI think that would be fun.\n\n**BEN:** There's probably other terms that we could use.\n\nThe executive dispensary bot might be a good one.\n\n**JENN:** Executroid, yeah.\n\n**BEN:** Though the snark-- setting aside the snark, the ability to bring people up to speed with information that's relevant to them-- setting aside the exec use case, right, if you're a support engineer, you need a different set of information than if you're an SRE working on a subcomponent of the service.\n\nAll that information is in the combined data we've got, but you need to summarize it in a very different way.\n\nRight now, you had two choices.\n\nOne, ask somebody who already knows all this stuff to write you the summary.\n\nNumber two, read through everything, and figure it out yourself.\n\nThis opportunity, which is-- I mean, it's a lob serve, right-- actually solves this problem really nicely.\n\nAnd again, that speed that it can do it, which is much faster than a human, if you need it, as a support engineer, to write a customer-facing summary of what's going on, having an AI system generate the first draft in seconds is five minutes less before all of your customers can be informed about what's occurring.\n\n**STEVE:** Yeah, similarly for fixes as well, write me some YAML to do the thing.\n\nAnd I wouldn't submit the YAML directly myself, personally.\n\nBut at least, it gives me a head start.\n\n**BEN:** Yeah, right, you might be three times as fast.\n\n**STEVE:** Right. Cool.\n\nSo in my job, I speak with cloud customers all the time about adopting SRE practices, and what's the difference between DevOps and SRE, and all these words, and phrases, and things.\n\nBut one of the things that comes up a lot is, we want to build an SRE function.\n\nDo we need a Ben, basically?\n\nLike, do we need a head of SRE?\n\nWe've kind of jokingly called this a CRO, Chief Reliability Officer.\n\nI think that's a little much, but you know, I don't know.\n\nBut really, do you think it helps to have a seat at the table representing reliability, regardless of title?\n\n**BEN:** I think it does, in much the same way that we see a lot of organizations gravitate toward having a chief information security officer.\n\nAnd there's a lot of reasons, but one of them is the domain is pretty deep.\n\nSo having real expertise in it turns out to be important.\n\nAnd another is that it's important, but only occasionally urgent.\n\nAnd it is very easy, in an organization, to get distracted by all of the urgent things.\n\nWe have a new customer need.\n\nThere's this feature.\n\nWe have this deal, dot, dot, dot, dot, dot, right?\n\nAnd gradually, because you don't have outages very often, you spend less and less time on the very important topic of making your service reliable until you start having a string of outages.\n\nAnd then, it's 18 months to rebuild, if you're lucky.\n\nThe segmentation of resources, time, attention, and expertise has, in practice, worked very well for us.\n\nAnd I've seen it work very well for a lot of other companies.\n\nIt's not the only way to do things.\n\nBut if you want to build an SRE team that takes advantage of, for example, the cross-service learnings, the ability to start in incorporating risk measures, I think it is very helpful to have a lead for it.\n\n**STEVE:** Cool.\n\n**JENN:** So I think now, we can maybe change gears again a little bit.\n\nAnd we talked, in the intro, a little bit about the SRE book, which, as an aside, for me-- coolest project, hands down, without a doubt, that I've worked on in my 17 years at Google.\n\nSo Ben, thank you for giving us the opportunity to write the book and giving me the opportunity to basically herd the cats, so to speak, to ensure that the book was written, bringing together the voices of 70 contributors representing over 500 years of Google production experience distilled down into the tome.\n\nSo the SRE book arguably accelerated SRE adoption at other companies that are outside of Google.\n\nAnd again, you talk to a lot of Google customers, et cetera.\n\nWhich ideas from other implementations of SRE have you seen out in the world?\n\nHave you seen ideas from those implementations that Google has adopted, or perhaps should be adopting?\n\nLike, what can we learn from others?\n\n**BEN:** Yeah, we had, maybe three years after the book's publication, gotten together a few groups of folks who were their SRE lead in their company and talked to them about how they had used what we published and what they had learned about running SRE in their organization, to good effect.\n\nAnd in more than a few cases, they had come up with interesting, novel adaptations.\n\nA lot of them fell into the category of-- you know, the specific way that we've done SRE at Google is a reflection of both the underlying engineering principles, but also how Google is organized and managed.\n\nAnd other companies have very different organizations, very different management, and very different priorities in some cases.\n\nAnd so you see the ability to adopt this idea, like, I want the development team to have a strong, personal incentive in making a service that doesn't require much human tending.\n\nOK, at Google, you do that by saying, we share headcount, right?\n\nIf we need one more headcount in SRE, then you have one less headcount in development.\n\nGreat, now we have a shared goal to need as few SREs as possible.\n\nAnd that guides us to an efficient allocation of engineering time being spent on making the service reliable by default.\n\nOther companies may budget things totally differently.\n\nAnd in there, if you get the principle, which is, but I still want the development team to have real skin in the game, as it were, then one approach would be to say, OK, well, at our company, right, what we do is we don't have enough SREs for everybody.\n\nAnd so we pick and choose which services SREs work on and which services get the DevOps treatment based on the effective yield, right?\n\nEssentially, which of these services needs us the least?\n\nBecause those are going to be the ones we're most efficient at working with.\n\nThe fewest SREs can make the most difference for the company.\n\nAnd that is just a different mechanism to guide development teams to build a service that doesn't need much human tending and doesn't need much toil.\n\nBut the idea is, there, I'm giving you a management perspective.\n\nThere are also definitely technical perspectives.\n\nBut you know, you ask a VP, you get VP answers, right?\n\nBut these management techniques of getting these different groups to do the thing that's actually important and useful for the company and apply the principles from SRE to the instantiation of what that company actually needs, those have been both useful and gratifying to see.\n\n**STEVE:** Great.\n\n**JENN:** Very cool.\n\nWell, following on from that, again, we talked about, at the beginning-- so my area of expertise is sort of education and SRE education.\n\nShould we teach SRE in college, university?\n\n**BEN:** Should?\n\nI will admit, I was surprised by how much interest there was in SRE.\n\nWhen you and the others approached me to write the book, I thought it would be fine, and it would be a way for us to talk a bit.\n\nI thought we might-- might-- see 3,000 copies out there, right?\n\nSo I was off by two orders of magnitude in my estimation of how much interest there is.\n\nI'm similarly thinking, oh, college, OK.\n\nBut you're just learning computer science principles in college.\n\nIs the idea of giant, distributed systems, and progressive rollout, and error budgets-- is that going to resonate?\n\nOr is it too early in your career to really grok why those things are interesting?\n\nI don't know.\n\nI've been overly pessimistic about the level of interest in utility for SRE before.\n\nI certainly wouldn't want to make that same mistake again.\n\n**JENN:** Maybe there's some happy medium.\n\nBecause I think, at universities today, people think about things on a very small scale, a very local scale.\n\nSo even just getting a little bit of a dose of how do you scale things up-- like, what's going to be different if you choose a career in industry?\n\nAnd the other thing that's interesting, there have been a couple forays in this space.\n\nLike, Mikey Dickerson recently tried a course at Pomona.\n\nHe talked about it at SREcon, and it was fascinating.\n\nHe basically had his students build and tend a service through the course of a semester.\n\nAnd basically, they were graded at the end of the course based on the uptime that they were able to achieve.\n\nLike, did they meet their SLO?\n\nDid they not meet their SLO?\n\nAnd I thought that was really a fascinating approach.\n\nAnd we've tried a couple of different approaches, even with Google SREs.\n\nLike, one of our colleagues, Christoph Leng, has taught a master's level course in Germany.\n\nAnd we've kind of put a toe in the water with just some online courseware.\n\nSo interest is definitely there.\n\nBut yeah, is it a nice to have elective, or is it something that's really foundational?\n\nI guess it remains to be seen.\n\n**BEN:** And it might be that the right medium is to have some of the lectures on the basics of managing a big, distributed system and how the production management practices are done, you know, best practices.\n\nBecause certainly, learning things like progressive rollout and rapid differential diagnosis, those are concepts that every software engineer should have.\n\nI mean, as we've said, our ideal is every SWE spends six months in an SRE team somewhere before they go off and work on other services because that's a bit of background for them.\n\nAnd so there may be a real opportunity to teach these concepts and a little bit of practical application for everybody going through, let's say, a computer science curriculum.\n\n**STEVE:** Cool.\n\n**JENN:** Very cool.\n\nWell, Steve, do you have-- so I think we're nearing the big finish.\n\nWe have a big question to ask you at the end, Ben.\n\nBut Steve, do you have any other pressing topics you want to tackle while we've got Ben's attention?\n\n**STEVE:** No, let's do it.\n\nLet's dive into the final one.\n\nAnd Ben, you'll never see this one coming, but what's it going to be like in the future?\n\nLike, please predict the future for us, which, we all know, is perfect.\n\nWhat's SRE going to be like in the next two years, or heck, the next 20 years?\n\nLike, how is this all going to play out, according to your prescience?\n\n**BEN:** So I can assure you, it won't be perfect.\n\n**STEVE:** Right. Darn.\n\n**BEN:** The trick is any competitive industry is going to always be pushing the boundaries.\n\nAnd so you're always going to be trading off things like reliability, risk, efficiency, feature velocity, right, scale.\n\nThe goal for SRE is that you use technology and engineering to improve the efficient horizon of what's possible so that the same size group of people can get more feature velocity, more scale, fewer outages with the same number of hours invested for their services over time.\n\nBecause they're taking things that had to be done by hand, or that introduced risk, and they're replacing them with technology that takes away that need.\n\nSo I do think one of the most interesting, and for me, exciting frontiers that we're pushing right now is the move into risk assessment.\n\nThere's this STPA framework, now, that we've been working with for several years.\n\nAnd the team, along with the group at MIT, has made quite a bit of progress in making STPA far easier to assess.\n\nAnd for those not familiar, STPA, you run a process, mostly with people.\n\nAnd it spits out a set of vulnerabilities and risks that your system has.\n\nAnd then, you can choose to fix those things.\n\nAnd it's very, very good and thorough at it, but it's also time-intensive.\n\n**STEVE:** Yeah, it's Nancy Leveson work at MIT, I think, right?\n\n**BEN:** Yeah.\n\nBut we're getting, with them, much, much better at making it easy to do-- a lot less time invested, some tools that start helping you do it.\n\nI mean, it's, in some sense, following the normal SRE path of a thing starts out being manual, and then we figure out how to make it easier, and we figure out how to introduce technology to do pieces of it, and da, da, da.\n\nAnd the idea of I can tell you all of the outages that you're going to have before they happen, and then you can decide how many of them you want to fix and how many of them you want to live with as sort of an engineering choice, that's incredibly interesting.\n\nBecause right now, we use heuristics to do this.\n\nBut we can use actual assessment to do it.\n\nThat's two years' time frame.\n\nI think 20 years, I am going to not make the mistake that several other notable industry figures have made of trying to offer a prediction, on record, for what 20 years from now looks like.\n\nIt is-- the current machine learning revolution indicates just how wrong you can be with that.\n\nI do-- I will put a stake in the ground and say I think the innovation pace that we're seeing is likely to continue.\n\nWe don't-- despite the end of Moore's law, for example, we don't really see that the pace of innovation in services, or technology, or even ideas is slowing down.\n\nAnd if you're wondering what I mean, go look at what the world looked like in 2004.\n\nSmartphones?\n\nI mean, the world, now, in technology, is unrecognizably different than it was 20 years ago.\n\nI expect it will be unrecognizably different 20 years from now as well.\n\nAnd that's part of what, for me, makes this such a fun industry to work in.\n\n**STEVE:** Great.\n\nWell, thanks a lot, Ben.\n\nThis has been a great conversation, of course.\n\nThank you, also, to Jenn for helping me out today with co-hosting duties.\n\n**JENN:** It's an honor to be here.\n\n**STEVE:** Before we go, is there anything else that you want to throw in there, Ben, like a pitch, or a landing page of some kind, or just your favorite GIF, maybe?\n\n**BEN:** My favorite GIF?\n\n**JENN:** GIF or \"JIF?\"\n\n**BEN:** Yes, yes, the eternal debate\n\nI think-- well, what I said briefly, in passing, earlier on I actually stand by.\n\n**I think if you're working in software or you're interested in working in software, it is super useful to make a point of spending a few months working directly on production problems.**\n\nAnd whether that's-- if you're lucky enough to have an SRE function at your company, working there.\n\nBut if you're not, getting your hands dirty, and working on the system, working on production problems, seeing how things work and how they don't work, I've only ever seen that background be incredibly useful for people who subsequently go on to try to build the things.\n\nAnd I liken it a bit to, you know, if you're going to work on cars, you should know how to drive.\n\nAnd a similar, if you're going to work on software systems, you should understand how they function at the ground level.\n\nBecause it lets you build systems that will work in practice and let you avoid some of the hazards and pitfalls that come with building large, successful services.\n\nAnd if you build a service, you kind of want it to be successful.\n\nIf it's successful, you'll have the problems of scale.\n\nSRE is very much about solving the problems of scale without the investment of scale, if you will.\n\nSo it's really useful background.\n\n**STEVE:** Great.\n\nThanks to you both.\n\nHope you have a nice rest of your day.\n\nAnd maybe we'll see you again in season 4.\n\n**BEN:** Great.\n\nThank you very much.\n\n**[JAVI BELTRAN, \"TELEBOT\"]** You missed a page from telebot You missed--\n\n**PERSON:** You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\n**(SINGING)** Telebot, telebot\n\n**PERSON:** Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\n**(SINGING)** You missed a page from--\n\n**PERSON:** This season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\n**(SINGING**) You missed a--\n\n**PERSON:** The Prodcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virj.\n\nThe podcast theme is Telebot by Javi Beltran.\n\n**(SINGING)** Telebot\n\n**PERSON:** Special thanks to MP English and Jenn Petoff.\n\n**(SINGING)** Telebot, telebot, telebot", "znaku_textu": 30631, "slov": 5461, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:38", "sha256": "f3287756b14cecb15504c7f13f03c9f2ee43ce2f5ce6b5659997e416007e942b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04", "titulek": "Creating Systems that are Safe with Liz Fong-Jones", "h1": "Creating Systems that are Safe with Liz Fong-Jones", "popis": "Liz Fong-Jones (former Google SRE and current Field CTO at honeycomb.io) joins hosts Steve McGhee and Jordan Greenberg for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04"}, "headline": "Creating Systems that are Safe with Liz Fong-Jones", "description": "Liz Fong-Jones (former Google SRE and current Field CTO at honeycomb.io) joins hosts Steve McGhee and Jordan Greenberg for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.", "image": "https://kstatic.googleusercontent.com/files/ee40d19219de20092e705faae95e14d11a79f1840671e3bad4a47c78c7eb41f6d5f0c82782ef3f4ef87754c9028c37167f752af2abfe8d321557b9c689e1843f", "author": [{"@type": "Person", "name": "Liz Fong-Jones"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Creating Systems that are Safe with Liz Fong-Jones"}], "markdown": "# Creating Systems that are Safe with Liz Fong-Jones\n\n**Liz Fong-Jones** (former Google SRE and current Field CTO at honeycomb.io) joins hosts **Steve McGhee** and **Jordan Greenberg** for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.\n\n**[JAVI BELTRAN, \"TELEBOT\"] STEVE MCGHEE:** Welcome to season three of the podcast.\n\nGoogle's podcast about site reliability, engineering and production software I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**JORDAN GREENBERG:** Welcome to The Prodcast, the Google SRE production podcast.\n\nMy name is Jordan Greenberg.\n\nI'm a PGM in GCP security.\n\nAnd with me co-hosting, we have--\n\n**STEVE MCGHEE:** Steve McGhee.\n\nI'm a reliability advocate for Google Cloud.\n\nAnd our guest today--\n\n**LIZ FONG-JONES:** Hi, I'm Liz Fong-Jones.\n\nI'm a former Google SRE, and now I'm the field CTO at Honeycomb.\n\n**JORDAN GREENBERG:** How about it?\n\nI love a little bit of popcorn to start the day.\n\nBy that, I mean it's late at night, so popcorn is extremely appropriate.\n\nBut what would be popcorn without a little bit of entertainment, which is why we have here today, Liz, to tell us all about SRE stuff, which, we could argue, is some of the more entertaining stuff out there.\n\n**STEVE MCGHEE:** Liz, you work at a company, I believe, called Honeycomb, is that right?\n\n**LIZ FONG-JONES:** Yeah, that's correct.\n\n**STEVE MCGHEE:** And today, we are hoping to talk about observability.\n\nWould you say that's something that y'all are interested in and are professional speakers of?\n\n**LIZ FONG-JONES:** We're definitely more than interested in observability.\n\nWe're definitely the ones who popularized it to the point that people have just decided to rename APM to observability, which is similar, in a lot of ways, to the challenges of people just saying, oh, we're just going to rename our sysadmins to DevOps or SRE.\n\nSo that's been a fun landscape.\n\nBut yes, we popularized the word \"observability,\" at least when it comes to software development.\n\n**STEVE MCGHEE:** Cool.\n\nCan you give us a couple quick definitions?\n\nAnd do you think they're stable around APM, monitoring, and observability?\n\nBecause I know as an old person, I've been doing monitoring for a long time, but the new cool kids, they don't do monitoring, they do observability.\n\nAnd they tell me that I'm wrong and old.\n\nThat doesn't seem correct.\n\nI feel like I'm still right.\n\nWhat's going on here, Liz?\n\n**LIZ FONG-JONES:** I think everyone has a perspective that's informed by the problems that they've been solving, right?\n\nSo when you think about the reasons that monitoring came into play, they came into play because we wanted to understand when our systems were broken.\n\nIt came into play when we wanted to have charts and metrics to try to understand what's going on.\n\nBut as our systems got more complex, it no longer became possible to, let's just attach a local debugger, or let's just scroll through the logs.\n\nAnd now, we start having distributed systems where you really need a deeper degree of introspection.\n\nAnd that's kind of where we borrowed the word \"observability\" from control theory, to talk about of now these systems that are black boxes-- how do you make sure those black boxes are egressing enough telemetry for you to be able to reason about what's going on?\n\nSo, actually, it's been funny-- over the past year or so, my boss, Charity Majors, and I have basically thrown up the white flag for it-- we concede, fine, if you want to call monitoring observability, that's cool, right?\n\nIt is a degree of observability, it's just not necessarily the highest degree of observability.\n\nSo we've started thinking about observability as a spectrum, right?\n\nYou can have no observability, like you can't see anything that's going on.\n\nYou can have limited observability, or you can have more complete observability coverage.\n\nSo that's kind of where we start talking about this observability 1.0 versus 2.0 thing, right?\n\nIn the previous world, we used to have logs and metrics, and that was sufficient to debug our systems.\n\nAnd now, we're starting to use on-demand analysis of data, whether it be tracing data, whether it be structured log data, to derive real time insights and to look at end known end known problems rather than just the things we thought to monitor in advance.\n\n**STEVE MCGHEE:** Yeah, that makes sense.\n\n**JORDAN GREENBERG:** So, you're saying some things that I, as a person who am on the tertiary side of SRE, tangentially, I see into that.\n\nYou were talking about how it's sort of an observability black box.\n\n**LIZ FONG-JONES:** Yeah.\n\n**JORDAN GREENBERG:** How can we really know how the system is working in that way, what is seen as the x-ray machine, to get into whether or not something is performing as it's supposed to, whether or not it's reliable?\n\n**LIZ FONG-JONES:** Yeah, so I think that definitely there is some analogy to x-rays or to looking at the monitors on the black box.\n\nBut I think, really, the folks like John Allspaw who have been kind of thinking about things in terms of a systems perspective, they really have it right in terms of it doesn't matter what this image or this combination of white patches and dark patches-- that doesn't necessarily mean anything until a person interprets it.\n\nSo the way that we should be thinking about this is you have in your head a mental model of how do you think the system is functioning-- how do you test that against reality, right?\n\nHow do you reconcile that with what's actually happening inside the machine?\n\nThis is where the scientific method comes into play, right, where you ask a question that is falsifiable.\n\nIf you can refine your understanding about what's going on, whether it's working, whether it's not working, whether it's misbehaving slightly-- to understand why what's going on, you can't just necessarily directly look at the image of the blob of pixels and be like that's the problem, right?\n\nSometimes, you have to decide where to shine that ultrasound probe, right, or where to run that X-ray, and then to interpret the results, and then refine your model, and iterate until you understand.\n\nSo I don't think it's a one and done thing, right?\n\nI don't think it's a you go to the doctor, and they just do the X-ray, and you're done, right?\n\nIt's more of an iterative process because our systems are so complex these days that you cannot diagnose them just with that single image.\n\n**STEVE MCGHEE:** My favorite thing about that analogy is that's not even how doctors work.\n\nIf you go and get an x-ray, there's way more stuff that they talk about.\n\nIt's not just the one x-ray that they talk through with lots of stuff.\n\nSure, if one major bone is broken, maybe that's it-- if it's simple.\n\nBut when it's more complex, yeah, they got to do lots and lots and lots of tests and things like that.\n\n**LIZ FONG-JONES:** Yeah, exactly.\n\nThey have to do lots of tests to refine, and hone in, and exclude red herrings.\n\nAnd the other thing that I find really fascinating-- this is a complete tangent, by the way--\n\n**JORDAN GREENBERG:** Love it.\n\n**LIZ FONG-JONES:** I was watching a video about why it is that you can now take, at least in the UK, you can take liquids through security.\n\nAnd it turns out that there's all this complex software that goes into analyzing the results of the x-rays.\n\nAnd there's multiple beams at multiple frequencies and they're rotating around your payload, right?\n\nLike this is why they call them the CT scanners and not just x-ray scanners, because they're actually generating a 3D image, and they're kind of computing differential density.\n\nThat's why they can say, oh, this is a liquid.\n\nThis is definitely water versus something else.\n\nThis is something that looks organic.\n\nThis is something that looks metallic.\n\nIt's not just a, is it dark or is it light?\n\nThere's actually a lot of really complex math that goes into this to be able to render results that a human being, who's not necessarily the highest paid person in the world, can sit there and interpret it and understand.\n\nThat's kind of what my mission is as someone who works on observability, right?\n\nHow do we get all of these complex signals and systems to dance together so that we can make it as easy as writing a SQL statement for someone to figure out what's going on with their systems?\n\nOr, even better, what if you didn't need to write the SQL statement?\n\nWhat if we just highlighted what was interesting to you?\n\nSo that's what I think is the kind of challenge ahead of us and why I say, wrapping it back around, observability is spectrum, right?\n\nIf you have basic monitors, that's a low degree of observability.\n\nIt's better than nothing, but there are so many better things that you can do that will allow you to figure out what's going on faster in your systems if you adopt newer technology.\n\n**STEVE MCGHEE:** Yeah.\n\nAnother thing to point out with that analogy, I think that's a great way to think about it is at one point, that technology to look at liquids changed.\n\nIt got better.\n\nThey released the next version of the thing.\n\nAnd policy shifts because of that, because we actually have a better understanding of, in this case, the payload, the baggage.\n\nAnd so we can actually change the greater system because of a piece of technology improving.\n\nAnd the other half of this is the people who are in charge of the policy might not be even aware that this piece of technology changed.\n\nAnd so being able to have components of systems be, quote, \"upgraded,\" and then having an effect ripple through the rest of the system because of that, whether it's good or bad or whether it's just changing the way that you do interpretation of the system, like you said, your mental model of the thing might not match reality anymore because someone pushed a change last week where we don't use that thing anymore that you remember it used.\n\nSo I think that's a great way to think through it all.\n\nYeah.\n\n**LIZ FONG-JONES:** Yeah.\n\nThis is why Charity Majors and I have this kind of rallying cry of, you should be able to deploy on Fridays, right?\n\nWhen I was a wee SRE you would yell at someone who deployed on Fridays, right, because it was like, oh my god, what if it breaks?\n\nWhat if it has a delayed reaction?\n\nWhat if it goes wrong in production?\n\n**JORDAN GREENBERG:** Yeah.\n\n**LIZ FONG-JONES:** But I think that was born of a lack of observability, of a lack of confidence in production, that, ideally, if your systems are well instrumented, you can push something and watch it for two hours afterwards using the best available sensors and technology.\n\nAnd if it hasn't blown up after two hours, right, you can go home because it might blow up three days from now, it might blow up three months from now-- but either way, does it matter whether it was pushed on a Thursday or on a Friday if it has a delayed effect of five to seven day?\n\nSo I think this is really the advantage that having better confidence in production gives us is it gives us more confidence to ship software more quickly.\n\nWe as SREs overfocus sometimes on the reliability part, right?\n\nAnd the reality is we are a service function, right?\n\nWe are here to serve the users and to serve the developers in being able to get features out to production in a reliable manner, not to just gatekeep and say, no.\n\nThere's the apocryphal story-- it's actually real, but it's been played up a little bit-- about this at Google named Bogdan, right?\n\nAnd there is a user device added to the Google kernels that was if you cat proc Bogdan, it would say \"no.\" And I like to think that we've moved away from that kind of bastard operator from hell kind of mentality of, oh, it's the users that are wrong.\n\nWe say \"no\" to everything.\n\n**JORDAN GREENBERG:** OK, so that is a good question.\n\nIt does lead into when you are considering whether or not to deploy something on a Friday before a new video game comes out that you desperately want to play in a few hours, how do you think about deploying it?\n\nWhat do you think about deploying?\n\nAnd what do you think about when you're implementing a new fix, new piece of technology, new software, to mitigate as much of the, oh, no, we have to stay online super late to try to fix this situation?\n\nBecause we all know about the post mortem, which happens after.\n\nBut what comes before a launch comes out of an infrastructure or software change that is the thing that makes it so that nobody has to write the post mortem.\n\n**LIZ FONG-JONES:** I love the pre-mortem.\n\nI think it's great, right?\n\nYou comprehensively think about, what are all of the possible things that could go wrong, understanding that you will miss things that you couldn't have foreseen.\n\n**JORDAN GREENBERG:** Right.\n\n**LIZ FONG-JONES:** But identifying in advance what those risks are and taking measures to mitigate them, or at least to know if you're heading into dangerous territory, that's kind of the first piece, right?\n\nSo when we think about common mitigations, we think a lot about canary deployments, we think about rollbacks-- although, funnily enough, it turns out that your rollback can also further damage your system if it's something that's caused by change.\n\nBut, obviously, there are going to be unknown unknowns, but kind of making sure you're on top of your known unknowns is kind of the first thing.\n\nAnd then the other thing is making sure that you have adequate instrumentation, that you have adequate telemetry to know when to pause doing that rollout, when to pause the thing that you're working on, because, if things continue in that direction, it's going to be bad, right?\n\nSo I think that's how you can take a lot of that risk out of the equation by having the visibility, right, to see, am I steering the ship in the wrong direction?\n\nOf course the power could go off on the ship and you could steer directly into the bridge.\n\nBut you don't want to deliberately steer your ship towards the bridge or to have no idea-- if your radar is not functioning, you shouldn't be driving the ship, right?\n\nI think that's probably the best way to think about this is, how do we maximize our controllability and our observability to go back to the control theory stuff, right?\n\nHow do we make sure that we can actually figure out what's going on and make sure that we are taking small steps to go in the right direction at all times?\n\n**JORDAN GREENBERG:** OK, awesome.\n\n**STEVE MCGHEE:** So one thing that's pretty, at least well talked about, and depending on where you are, it's pretty well understood is the idea one of the main things that you want in observability is less about the guts of the system and more about, are users happy?\n\nWe talk about SLOs a lot.\n\nI think there's other ways to measure this.\n\n**LIZ FONG-JONES:** Yeah.\n\n**STEVE MCGHEE:** How do you come across this?\n\nOr do you start with that?\n\nDo you find that it's a good idea to start with, how do we define what it means to make users happy?\n\nAnd then how do we know that's actually happening?\n\nIs that a valid place to start?\n\n**LIZ FONG-JONES:** I think it's a valid place to start.\n\nAnd, actually, one of the reasons why I went to Honeycomb after Google was I saw so many people struggling with the \"we've done SLOs, now what?\" Now, we've got this additional metric that is very vague that just says, something is wrong.\n\nAnd if you don't give people tools to investigate something is wrong or users are not happy, then you're not actually adding value to people's lives, because all you're giving them is a dashboard that turns red or a quarterly report that they have to produce that says, we missed our SLO. And it's like, great, now what?\n\nSo I think the most powerful thing that we can do is to make sure that our SLOs are driven by data that is well-observed so that if you have a signal of user transactions are exceeding 3,000 milliseconds, that user transaction had better be part of a distributed trace or a structured log so that you can follow it all the way through so you can bisect the problem and figure out, where is this coming from?\n\nIs it from this or from that?\n\nWhich population of users are impacted?\n\nThat way, it becomes more of an interactive tool, right, where you can steer, where you can say, you know what?\n\nMy SLO's starting to burn, and it's coming from that component, I'm going to freeze that component, right?\n\nRather than, oops, we burned through the SLOs, and we have no idea why, right?\n\nOr our SLO is alerting, and we can't figure out what's going on.\n\nSo I think that SLOs are really the ultimate, of course, symptoms of user pain monitor.\n\nBut you have to be able to correlate that down to figure out which potential cause is implicated.\n\nAnd people have gotten the cart before the horse, right, in the past and been like, OK, like we're going to put AI ops, and we're going to use AI to sift through our potential cause based alerts.\n\nAnd it's like, no, you have the data there if you're doing tracing.\n\nWire your SLOs to that ability to drill down and investigate.\n\nSo that's why I came to Honeycomb and I was like, oh, my god, we have the perfect ability to investigate things, and we don't have a SLO product yet?\n\nOK, let's wire up SLOs to Honeycomb traces and, bam, now it's one of our top selling features.\n\nIt's great.\n\n**JORDAN GREENBERG:** So you kind of got into the next part of the question that we were going to ask you.\n\nWhat is the downside, or, maybe, is it controversial to say, some people would think that the more you can pull people out of system-style monitoring, the better it is, because then there's no human error of, oh, we didn't see this or this is so much better because the robot found it.\n\nWe trust the robots.\n\nDo you agree with that statement?\n\nDo you want to talk about that?\n\n**LIZ FONG-JONES:** Our job as a SREs is to create systems that are safe.\n\nIf we do not have exposure to those systems, we're going to start drifting away from knowledge of what those limits of those systems are.\n\nSo I think that, yes, if something is toil, and it always works in the same way, and the robots can fix it for us, great, right?\n\nOr if your neighborhood friendly cloud provider can abstract it away from you, great.\n\nI don't have to think about whether my SQL database failovers are working, right?\n\nThat's a problem that the Google Cloud SQL SRE team deals with.\n\nSo I think there are areas where you have to be like, OK, I'm going to bubble that abstraction, right?\n\nEither a robot is handling that or another team is handling that.\n\nBut for your own systems, I think the role of machine assistance is to help us as a friendly assistant and as a copilot, but not necessarily as the primary driver.\n\nSo the classic way that I think about this is, for example, two of the technologies we built into Honeycomb, right?\n\nOne technology is if you draw a box around an anomaly, we're going to tell you, these are the things that might have changed in that anomaly, right?\n\nThese are the things that are correlated with that spike in latency.\n\nAnd maybe it's causation, maybe it's correlation, the AI doesn't really know, but it does say, here are some follow up questions you might want to ask to refine your model of what's going on with the system.\n\nRemember when we were talking about that at the beginning, like, the job of observability is to help your human brain reconcile what's going on in the system?\n\nIf you're outsourcing that understanding the system to a machine, then you, number one, you're now steering the system without having any idea of what's going to go wrong with it.\n\nAnd that direction lies 737 MAX situations where people think the system is doing one thing and they don't actually understand the system, because the models have diverged.\n\nSo it's really important to guide human beings towards asking the right questions so that they refine their knowledge, right?\n\nThis is the same reason why we don't say, oh, my goodness, with Coursera, you can have a robot learn the thing for you, right? No.\n\nCoursera is a robot that teaches you things, right?\n\nWhat's the name of that company?\n\nKhan Academy.\n\nKhan Academy is not a robot.\n\nKhan Academy cannot learn things for you.\n\nKhan Academy can use AI to determine what to teach you.\n\nSo, yeah, I think refining your model of the system so that you can better and more safely operate the system.\n\nSo Honeycomb's bubble up feature, suggesting what questions you should ask-- where should you look?\n\nBut it doesn't actually say, this was caused by that, because that's the only determination you can make.\n\nI think the other thing is helping people formulate their question breezily, right?\n\nPeople don't have to learn Honeycomb’s query language anymore.\n\nThey can ask a natural language question, and it'll automatically get translated into Honeycomb's query language.\n\nAnd over time, people will learn a query language by kind of having that catalog of examples of, I typed in this natural language question, here's what it output.\n\nOK, now, next time, it would be faster and more precise for me to enter the query by hand, right?\n\nSo that's the spectrum of how I think about AI assistants in the field of SRE.\n\nOf course, I'm sure that you have had or will have Todd Underwood on the prodcast in the future, right?\n\nI know Todd has some very fascinating thoughts about this topic as well.\n\n**STEVE MCGHEE:** He has opinions on everything.\n\nI'm pretty sure of that.\n\nOne thing that came up recently on the interwebs-- you and I had a very mild disagreement that I thought it was kind of fun.\n\nIt wasn't like that.\n\nDon't worry, Jordan.\n\nSpecifically, I posted a thing that I suggest to some new teams, which is don't go looking for problems in production.\n\nDon't go trying to find problems if you don't have a reason to.\n\nAnd your response to that was really good, I thought.\n\nIt was kind of like, yeah, you should, actually.\n\nThere's good reasons to be poking around.\n\nI was hoping we could clarify that a little bit today.\n\n**LIZ FONG-JONES:** Yeah.\n\n**STEVE MCGHEE:** What did you think was going on there?\n\n**LIZ FONG-JONES:** So I think that it's really important for people to have a baseline as to what's going on in their systems day to day, because if not, you wind up having that looking for problems moment when there's an actual incident going on, and you cannot tell whether you are fixing a real problem or whether you are fixing a less important problem.\n\n**STEVE MCGHEE:** Totally.\n\n**LIZ FONG-JONES:** So I think kind of going off of what I said about refining your mental models, if you never investigate production, you're not going to have a great mental model of how production works.\n\n**JORDAN GREENBERG:** Right.\n\n**LIZ FONG-JONES:** That being said, if you're prioritizing doing a super important feature versus shaving off 20 milliseconds of latency for 1% of users just because it seemed, hey, that looked weird, prioritize doing the feature, probably.\n\nBut I think I've talked about this before in other mediums-- if you're on-call, if you're dedicated to on-call this week, and you're not meant to be doing any feature tickets, spend your time looking at production, both to get a sense of what do things look like this week.\n\nAnd also, your job is not necessarily to be working on tickets that week.\n\nYou may as well go and file down any rough edges that you find while you're poking around, right?\n\nSo I think there's that balance of dedicate time to looking around in production, but don't let it distract you, right?\n\nDon't let perfectionism detract from getting your job done.\n\n**STEVE MCGHEE:** The other side of, just to defend my position, not that that's important, is there is also the idea, though, that distributed systems can tolerate some forms of failure.\n\nSo if a component is not great in some way, but the system is fine, the system is fine.\n\nSo being aware of that is super important.\n\nIt's super great.\n\nDoesn't mean you need to go and fix that one thing or demand that that one thing never be lossy again, because as long as the system is capable of managing around that-- you may even be in a degraded state.\n\nThat's really good to be aware of because you don't want yet another thing to fail on top of that.\n\n**LIZ FONG-JONES:** Exactly.\n\n**STEVE MCGHEE:** Yeah.\n\n**LIZ FONG-JONES:** You have to know, what is your safety margin?\n\nAm I in a degraded state or not?\n\nIf you think you have extra layers of defense that you don't, that is a problem, right?\n\nYou will make bad judgments.\n\n**JORDAN GREENBERG:** So smart.\n\nSo this is actually applicable to a lot of things, not just SRE-- understanding what a baseline is in general and understanding what can give is a concept that can be applicable to everything.\n\nAnd, as you know, I'm PGM, so I'm going to be wearing that hat just a tiny bit.\n\nConsider this is the same way that we deem what priority is in terms of what feature is next.\n\nIt's the same thing as what thing needs to be fixed in triage for what's on fire.\n\nIt's kind of the same concept in general.\n\nSo knowing what your baseline of, oh, this is what prod looks like-- I know that things are mildly meh here, that helps me define in the next feature, I can make this better because I know what that looks like.\n\nBut if you don't know what that looks like and you don't take the time to get there and figure that out, you might not know that a feature is needed or a change is needed to improve that space for yourself, or users, or end users who are like, well, this is a little bit laggy for me, but I'm not going to complain because it does work.\n\n**LIZ FONG-JONES:** Yeah.\n\nYou kind of want to catch things before they catastrophically break, right?\n\n**JORDAN GREENBERG:** Exactly.\n\nExactly.\n\nThere could be symptoms of, oh, I'm feeling a little bit sick, but I'm still fine.\n\n**STEVE MCGHEE:** Yeah.\n\nSo, first off, how do you, Liz, see SRE changing in the next two years?\n\nDo you see it changing in the next two years, and so not just for your team, but the industry?\n\n**LIZ FONG-JONES:** I think the job title SRE is going to continue to exist.\n\nI think the idea of having a department of SREs is no longer necessarily fit for purpose.\n\nSo we are seeing this migration of teams towards the platform engineering model where you are uniting SREs and people who are doing build systems, people who are doing UX platforms and scaffolding for building UIs-- all of these engineering productivity functions are coming under one roof.\n\nAnd I think that's a really good thing because at the end of the day, we are all serving different facets of the developer experience and the end user experience, right-- security being another one of them, right?\n\nSo when you think about it that way, it makes sense for us to work together with other teams, like security, like build pipelines, to make sure that experience is seamless and that we're able to force multiply and help software developers do the best jobs that they can.\n\nSo I don't think we should cling on to there will be directors of SRE and VPs of SRE anymore, and instead kind of really embrace the idea of, what does it look like to have this more kind of holistic view of developer productivity with SRE as part of it?\n\n**STEVE MCGHEE:** Thank you.\n\n**JORDAN GREENBERG:** OK.\n\nBuilding off of that, there are people who are maybe in college right now who are thinking about going into some sort of software something-- maybe it is SRE, maybe it's something else.\n\nGoing even further than that, what kind of advice would you give to today’s high schoolers about, those who are interested in making the internet better, bigger, faster, stronger, for all of the use cases that we as people want to use it for?\n\n**LIZ FONG-JONES:** I think there's a lot more avenues and opportunities than there were 20 years ago.\n\nCertainly, 20 years ago, you kind of really had to work hard to find yourself in an environment where you could have access to systems of a sufficient scale to be able to really see some of these failures happening in production.\n\nSo I think there are now college programs that enable you to actually get your hands dirty working with real systems that can potentially fail.\n\nSo I know, in particular, this is a thing that Mikey Dickerson-- yeah, Mikey Dickerson has put together a college program that he is teaching at Pomona and has kind of offered to other people to teach at colleges, to have people design and run a service that serves an RPC endpoint, and then he increases the kind of criteria as the semester goes on to really have you build a reliable system from first principles.\n\nAnd I think that Mikey Dickerson's course is awesome.\n\nSo look for where that is offered and try to take advantage of that, because that is the most hands-on practical way of getting started with this stuff.\n\nBut also, summer internships are really great, especially if they are at organizations that are growing.\n\nIf you can get that internship at OpenAI, do, right, because that's going to be one of the most interesting companies of the next five, 10 years.\n\nAnd they are experiencing scaling challenges that you wouldn't necessarily see anywhere else.\n\n**STEVE MCGHEE:** Great. Thanks very much.\n\nSo just to sign off, is there anything else that you want to close with or tell our audience?\n\nAnd, of course, where can people hear more from you and learn more about what you guys do at Honeycomb?\n\n**LIZ FONG-JONES:** First of all, Honeycomb's website is honeycomb.io.\n\nAnd my website is lizthegrey.com.\n\nAnd yeah, I think, mainly, observability is something that is a spectrum, and it's something that you can aspire to get better at.\n\nIt's not a one-time event.\n\nIt's not a, I have it or don't.\n\nIt's something where just investing a little bit can yield outsized returns.\n\nAnd I think that, going back to the SRE theme, it helps you achieve that goal of having better SLOs, of meeting those SLOs.\n\n**STEVE MCGHEE:** Excellent.\n\n**JORDAN GREENBERG:** Awesome takeaway.\n\n**STEVE MCGHEE:** Thank you, Liz.\n\nThanks for hanging out with us today.\n\n**LIZ FONG-JONES:** It was super fun.\n\n**STEVE MCGHEE:** It's been great to see you, and talk with you, and learn more about observability, which is, turns out, still evolving.\n\nIt always will be, I think. That's great.\n\nAll right. Thanks very much.\n\n**JORDAN GREENBERG:** Thank you.\n\n**STEVE MCGHEE:** Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at SRE.Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao and Salim Virji. The podcast theme is Telebot by Javi Beltran.\n\nSpecial Thanks to MP English and Jenn Petoff.", "znaku_textu": 30689, "slov": 5549, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:29", "sha256": "cbbbdeb77235362906c5294a4d675f3a892db1cc4f1e14b0be232e8ccc255cb8", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04/", "titulek": "Creating Systems that are Safe with Liz Fong-Jones", "h1": "Creating Systems that are Safe with Liz Fong-Jones", "popis": "Liz Fong-Jones (former Google SRE and current Field CTO at honeycomb.io) joins hosts Steve McGhee and Jordan Greenberg for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04"}, "headline": "Creating Systems that are Safe with Liz Fong-Jones", "description": "Liz Fong-Jones (former Google SRE and current Field CTO at honeycomb.io) joins hosts Steve McGhee and Jordan Greenberg for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.", "image": "https://kstatic.googleusercontent.com/files/ee40d19219de20092e705faae95e14d11a79f1840671e3bad4a47c78c7eb41f6d5f0c82782ef3f4ef87754c9028c37167f752af2abfe8d321557b9c689e1843f", "author": [{"@type": "Person", "name": "Liz Fong-Jones"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Creating Systems that are Safe with Liz Fong-Jones"}], "markdown": "# Creating Systems that are Safe with Liz Fong-Jones\n\n**Liz Fong-Jones** (former Google SRE and current Field CTO at honeycomb.io) joins hosts **Steve McGhee** and **Jordan Greenberg** for a lively discussion centered around observability, its evolution from monitoring, and its role in modern software development. Tune in for more on: the importance of observability as a spectrum, the evolving role of SREs, and advice to aspiring software engineers.\n\n**[JAVI BELTRAN, \"TELEBOT\"] STEVE MCGHEE:** Welcome to season three of the podcast.\n\nGoogle's podcast about site reliability, engineering and production software I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening.\n\nAnd remember, hope is not a strategy.\n\n**JORDAN GREENBERG:** Welcome to The Prodcast, the Google SRE production podcast.\n\nMy name is Jordan Greenberg.\n\nI'm a PGM in GCP security.\n\nAnd with me co-hosting, we have--\n\n**STEVE MCGHEE:** Steve McGhee.\n\nI'm a reliability advocate for Google Cloud.\n\nAnd our guest today--\n\n**LIZ FONG-JONES:** Hi, I'm Liz Fong-Jones.\n\nI'm a former Google SRE, and now I'm the field CTO at Honeycomb.\n\n**JORDAN GREENBERG:** How about it?\n\nI love a little bit of popcorn to start the day.\n\nBy that, I mean it's late at night, so popcorn is extremely appropriate.\n\nBut what would be popcorn without a little bit of entertainment, which is why we have here today, Liz, to tell us all about SRE stuff, which, we could argue, is some of the more entertaining stuff out there.\n\n**STEVE MCGHEE:** Liz, you work at a company, I believe, called Honeycomb, is that right?\n\n**LIZ FONG-JONES:** Yeah, that's correct.\n\n**STEVE MCGHEE:** And today, we are hoping to talk about observability.\n\nWould you say that's something that y'all are interested in and are professional speakers of?\n\n**LIZ FONG-JONES:** We're definitely more than interested in observability.\n\nWe're definitely the ones who popularized it to the point that people have just decided to rename APM to observability, which is similar, in a lot of ways, to the challenges of people just saying, oh, we're just going to rename our sysadmins to DevOps or SRE.\n\nSo that's been a fun landscape.\n\nBut yes, we popularized the word \"observability,\" at least when it comes to software development.\n\n**STEVE MCGHEE:** Cool.\n\nCan you give us a couple quick definitions?\n\nAnd do you think they're stable around APM, monitoring, and observability?\n\nBecause I know as an old person, I've been doing monitoring for a long time, but the new cool kids, they don't do monitoring, they do observability.\n\nAnd they tell me that I'm wrong and old.\n\nThat doesn't seem correct.\n\nI feel like I'm still right.\n\nWhat's going on here, Liz?\n\n**LIZ FONG-JONES:** I think everyone has a perspective that's informed by the problems that they've been solving, right?\n\nSo when you think about the reasons that monitoring came into play, they came into play because we wanted to understand when our systems were broken.\n\nIt came into play when we wanted to have charts and metrics to try to understand what's going on.\n\nBut as our systems got more complex, it no longer became possible to, let's just attach a local debugger, or let's just scroll through the logs.\n\nAnd now, we start having distributed systems where you really need a deeper degree of introspection.\n\nAnd that's kind of where we borrowed the word \"observability\" from control theory, to talk about of now these systems that are black boxes-- how do you make sure those black boxes are egressing enough telemetry for you to be able to reason about what's going on?\n\nSo, actually, it's been funny-- over the past year or so, my boss, Charity Majors, and I have basically thrown up the white flag for it-- we concede, fine, if you want to call monitoring observability, that's cool, right?\n\nIt is a degree of observability, it's just not necessarily the highest degree of observability.\n\nSo we've started thinking about observability as a spectrum, right?\n\nYou can have no observability, like you can't see anything that's going on.\n\nYou can have limited observability, or you can have more complete observability coverage.\n\nSo that's kind of where we start talking about this observability 1.0 versus 2.0 thing, right?\n\nIn the previous world, we used to have logs and metrics, and that was sufficient to debug our systems.\n\nAnd now, we're starting to use on-demand analysis of data, whether it be tracing data, whether it be structured log data, to derive real time insights and to look at end known end known problems rather than just the things we thought to monitor in advance.\n\n**STEVE MCGHEE:** Yeah, that makes sense.\n\n**JORDAN GREENBERG:** So, you're saying some things that I, as a person who am on the tertiary side of SRE, tangentially, I see into that.\n\nYou were talking about how it's sort of an observability black box.\n\n**LIZ FONG-JONES:** Yeah.\n\n**JORDAN GREENBERG:** How can we really know how the system is working in that way, what is seen as the x-ray machine, to get into whether or not something is performing as it's supposed to, whether or not it's reliable?\n\n**LIZ FONG-JONES:** Yeah, so I think that definitely there is some analogy to x-rays or to looking at the monitors on the black box.\n\nBut I think, really, the folks like John Allspaw who have been kind of thinking about things in terms of a systems perspective, they really have it right in terms of it doesn't matter what this image or this combination of white patches and dark patches-- that doesn't necessarily mean anything until a person interprets it.\n\nSo the way that we should be thinking about this is you have in your head a mental model of how do you think the system is functioning-- how do you test that against reality, right?\n\nHow do you reconcile that with what's actually happening inside the machine?\n\nThis is where the scientific method comes into play, right, where you ask a question that is falsifiable.\n\nIf you can refine your understanding about what's going on, whether it's working, whether it's not working, whether it's misbehaving slightly-- to understand why what's going on, you can't just necessarily directly look at the image of the blob of pixels and be like that's the problem, right?\n\nSometimes, you have to decide where to shine that ultrasound probe, right, or where to run that X-ray, and then to interpret the results, and then refine your model, and iterate until you understand.\n\nSo I don't think it's a one and done thing, right?\n\nI don't think it's a you go to the doctor, and they just do the X-ray, and you're done, right?\n\nIt's more of an iterative process because our systems are so complex these days that you cannot diagnose them just with that single image.\n\n**STEVE MCGHEE:** My favorite thing about that analogy is that's not even how doctors work.\n\nIf you go and get an x-ray, there's way more stuff that they talk about.\n\nIt's not just the one x-ray that they talk through with lots of stuff.\n\nSure, if one major bone is broken, maybe that's it-- if it's simple.\n\nBut when it's more complex, yeah, they got to do lots and lots and lots of tests and things like that.\n\n**LIZ FONG-JONES:** Yeah, exactly.\n\nThey have to do lots of tests to refine, and hone in, and exclude red herrings.\n\nAnd the other thing that I find really fascinating-- this is a complete tangent, by the way--\n\n**JORDAN GREENBERG:** Love it.\n\n**LIZ FONG-JONES:** I was watching a video about why it is that you can now take, at least in the UK, you can take liquids through security.\n\nAnd it turns out that there's all this complex software that goes into analyzing the results of the x-rays.\n\nAnd there's multiple beams at multiple frequencies and they're rotating around your payload, right?\n\nLike this is why they call them the CT scanners and not just x-ray scanners, because they're actually generating a 3D image, and they're kind of computing differential density.\n\nThat's why they can say, oh, this is a liquid.\n\nThis is definitely water versus something else.\n\nThis is something that looks organic.\n\nThis is something that looks metallic.\n\nIt's not just a, is it dark or is it light?\n\nThere's actually a lot of really complex math that goes into this to be able to render results that a human being, who's not necessarily the highest paid person in the world, can sit there and interpret it and understand.\n\nThat's kind of what my mission is as someone who works on observability, right?\n\nHow do we get all of these complex signals and systems to dance together so that we can make it as easy as writing a SQL statement for someone to figure out what's going on with their systems?\n\nOr, even better, what if you didn't need to write the SQL statement?\n\nWhat if we just highlighted what was interesting to you?\n\nSo that's what I think is the kind of challenge ahead of us and why I say, wrapping it back around, observability is spectrum, right?\n\nIf you have basic monitors, that's a low degree of observability.\n\nIt's better than nothing, but there are so many better things that you can do that will allow you to figure out what's going on faster in your systems if you adopt newer technology.\n\n**STEVE MCGHEE:** Yeah.\n\nAnother thing to point out with that analogy, I think that's a great way to think about it is at one point, that technology to look at liquids changed.\n\nIt got better.\n\nThey released the next version of the thing.\n\nAnd policy shifts because of that, because we actually have a better understanding of, in this case, the payload, the baggage.\n\nAnd so we can actually change the greater system because of a piece of technology improving.\n\nAnd the other half of this is the people who are in charge of the policy might not be even aware that this piece of technology changed.\n\nAnd so being able to have components of systems be, quote, \"upgraded,\" and then having an effect ripple through the rest of the system because of that, whether it's good or bad or whether it's just changing the way that you do interpretation of the system, like you said, your mental model of the thing might not match reality anymore because someone pushed a change last week where we don't use that thing anymore that you remember it used.\n\nSo I think that's a great way to think through it all.\n\nYeah.\n\n**LIZ FONG-JONES:** Yeah.\n\nThis is why Charity Majors and I have this kind of rallying cry of, you should be able to deploy on Fridays, right?\n\nWhen I was a wee SRE you would yell at someone who deployed on Fridays, right, because it was like, oh my god, what if it breaks?\n\nWhat if it has a delayed reaction?\n\nWhat if it goes wrong in production?\n\n**JORDAN GREENBERG:** Yeah.\n\n**LIZ FONG-JONES:** But I think that was born of a lack of observability, of a lack of confidence in production, that, ideally, if your systems are well instrumented, you can push something and watch it for two hours afterwards using the best available sensors and technology.\n\nAnd if it hasn't blown up after two hours, right, you can go home because it might blow up three days from now, it might blow up three months from now-- but either way, does it matter whether it was pushed on a Thursday or on a Friday if it has a delayed effect of five to seven day?\n\nSo I think this is really the advantage that having better confidence in production gives us is it gives us more confidence to ship software more quickly.\n\nWe as SREs overfocus sometimes on the reliability part, right?\n\nAnd the reality is we are a service function, right?\n\nWe are here to serve the users and to serve the developers in being able to get features out to production in a reliable manner, not to just gatekeep and say, no.\n\nThere's the apocryphal story-- it's actually real, but it's been played up a little bit-- about this at Google named Bogdan, right?\n\nAnd there is a user device added to the Google kernels that was if you cat proc Bogdan, it would say \"no.\" And I like to think that we've moved away from that kind of bastard operator from hell kind of mentality of, oh, it's the users that are wrong.\n\nWe say \"no\" to everything.\n\n**JORDAN GREENBERG:** OK, so that is a good question.\n\nIt does lead into when you are considering whether or not to deploy something on a Friday before a new video game comes out that you desperately want to play in a few hours, how do you think about deploying it?\n\nWhat do you think about deploying?\n\nAnd what do you think about when you're implementing a new fix, new piece of technology, new software, to mitigate as much of the, oh, no, we have to stay online super late to try to fix this situation?\n\nBecause we all know about the post mortem, which happens after.\n\nBut what comes before a launch comes out of an infrastructure or software change that is the thing that makes it so that nobody has to write the post mortem.\n\n**LIZ FONG-JONES:** I love the pre-mortem.\n\nI think it's great, right?\n\nYou comprehensively think about, what are all of the possible things that could go wrong, understanding that you will miss things that you couldn't have foreseen.\n\n**JORDAN GREENBERG:** Right.\n\n**LIZ FONG-JONES:** But identifying in advance what those risks are and taking measures to mitigate them, or at least to know if you're heading into dangerous territory, that's kind of the first piece, right?\n\nSo when we think about common mitigations, we think a lot about canary deployments, we think about rollbacks-- although, funnily enough, it turns out that your rollback can also further damage your system if it's something that's caused by change.\n\nBut, obviously, there are going to be unknown unknowns, but kind of making sure you're on top of your known unknowns is kind of the first thing.\n\nAnd then the other thing is making sure that you have adequate instrumentation, that you have adequate telemetry to know when to pause doing that rollout, when to pause the thing that you're working on, because, if things continue in that direction, it's going to be bad, right?\n\nSo I think that's how you can take a lot of that risk out of the equation by having the visibility, right, to see, am I steering the ship in the wrong direction?\n\nOf course the power could go off on the ship and you could steer directly into the bridge.\n\nBut you don't want to deliberately steer your ship towards the bridge or to have no idea-- if your radar is not functioning, you shouldn't be driving the ship, right?\n\nI think that's probably the best way to think about this is, how do we maximize our controllability and our observability to go back to the control theory stuff, right?\n\nHow do we make sure that we can actually figure out what's going on and make sure that we are taking small steps to go in the right direction at all times?\n\n**JORDAN GREENBERG:** OK, awesome.\n\n**STEVE MCGHEE:** So one thing that's pretty, at least well talked about, and depending on where you are, it's pretty well understood is the idea one of the main things that you want in observability is less about the guts of the system and more about, are users happy?\n\nWe talk about SLOs a lot.\n\nI think there's other ways to measure this.\n\n**LIZ FONG-JONES:** Yeah.\n\n**STEVE MCGHEE:** How do you come across this?\n\nOr do you start with that?\n\nDo you find that it's a good idea to start with, how do we define what it means to make users happy?\n\nAnd then how do we know that's actually happening?\n\nIs that a valid place to start?\n\n**LIZ FONG-JONES:** I think it's a valid place to start.\n\nAnd, actually, one of the reasons why I went to Honeycomb after Google was I saw so many people struggling with the \"we've done SLOs, now what?\" Now, we've got this additional metric that is very vague that just says, something is wrong.\n\nAnd if you don't give people tools to investigate something is wrong or users are not happy, then you're not actually adding value to people's lives, because all you're giving them is a dashboard that turns red or a quarterly report that they have to produce that says, we missed our SLO. And it's like, great, now what?\n\nSo I think the most powerful thing that we can do is to make sure that our SLOs are driven by data that is well-observed so that if you have a signal of user transactions are exceeding 3,000 milliseconds, that user transaction had better be part of a distributed trace or a structured log so that you can follow it all the way through so you can bisect the problem and figure out, where is this coming from?\n\nIs it from this or from that?\n\nWhich population of users are impacted?\n\nThat way, it becomes more of an interactive tool, right, where you can steer, where you can say, you know what?\n\nMy SLO's starting to burn, and it's coming from that component, I'm going to freeze that component, right?\n\nRather than, oops, we burned through the SLOs, and we have no idea why, right?\n\nOr our SLO is alerting, and we can't figure out what's going on.\n\nSo I think that SLOs are really the ultimate, of course, symptoms of user pain monitor.\n\nBut you have to be able to correlate that down to figure out which potential cause is implicated.\n\nAnd people have gotten the cart before the horse, right, in the past and been like, OK, like we're going to put AI ops, and we're going to use AI to sift through our potential cause based alerts.\n\nAnd it's like, no, you have the data there if you're doing tracing.\n\nWire your SLOs to that ability to drill down and investigate.\n\nSo that's why I came to Honeycomb and I was like, oh, my god, we have the perfect ability to investigate things, and we don't have a SLO product yet?\n\nOK, let's wire up SLOs to Honeycomb traces and, bam, now it's one of our top selling features.\n\nIt's great.\n\n**JORDAN GREENBERG:** So you kind of got into the next part of the question that we were going to ask you.\n\nWhat is the downside, or, maybe, is it controversial to say, some people would think that the more you can pull people out of system-style monitoring, the better it is, because then there's no human error of, oh, we didn't see this or this is so much better because the robot found it.\n\nWe trust the robots.\n\nDo you agree with that statement?\n\nDo you want to talk about that?\n\n**LIZ FONG-JONES:** Our job as a SREs is to create systems that are safe.\n\nIf we do not have exposure to those systems, we're going to start drifting away from knowledge of what those limits of those systems are.\n\nSo I think that, yes, if something is toil, and it always works in the same way, and the robots can fix it for us, great, right?\n\nOr if your neighborhood friendly cloud provider can abstract it away from you, great.\n\nI don't have to think about whether my SQL database failovers are working, right?\n\nThat's a problem that the Google Cloud SQL SRE team deals with.\n\nSo I think there are areas where you have to be like, OK, I'm going to bubble that abstraction, right?\n\nEither a robot is handling that or another team is handling that.\n\nBut for your own systems, I think the role of machine assistance is to help us as a friendly assistant and as a copilot, but not necessarily as the primary driver.\n\nSo the classic way that I think about this is, for example, two of the technologies we built into Honeycomb, right?\n\nOne technology is if you draw a box around an anomaly, we're going to tell you, these are the things that might have changed in that anomaly, right?\n\nThese are the things that are correlated with that spike in latency.\n\nAnd maybe it's causation, maybe it's correlation, the AI doesn't really know, but it does say, here are some follow up questions you might want to ask to refine your model of what's going on with the system.\n\nRemember when we were talking about that at the beginning, like, the job of observability is to help your human brain reconcile what's going on in the system?\n\nIf you're outsourcing that understanding the system to a machine, then you, number one, you're now steering the system without having any idea of what's going to go wrong with it.\n\nAnd that direction lies 737 MAX situations where people think the system is doing one thing and they don't actually understand the system, because the models have diverged.\n\nSo it's really important to guide human beings towards asking the right questions so that they refine their knowledge, right?\n\nThis is the same reason why we don't say, oh, my goodness, with Coursera, you can have a robot learn the thing for you, right? No.\n\nCoursera is a robot that teaches you things, right?\n\nWhat's the name of that company?\n\nKhan Academy.\n\nKhan Academy is not a robot.\n\nKhan Academy cannot learn things for you.\n\nKhan Academy can use AI to determine what to teach you.\n\nSo, yeah, I think refining your model of the system so that you can better and more safely operate the system.\n\nSo Honeycomb's bubble up feature, suggesting what questions you should ask-- where should you look?\n\nBut it doesn't actually say, this was caused by that, because that's the only determination you can make.\n\nI think the other thing is helping people formulate their question breezily, right?\n\nPeople don't have to learn Honeycomb’s query language anymore.\n\nThey can ask a natural language question, and it'll automatically get translated into Honeycomb's query language.\n\nAnd over time, people will learn a query language by kind of having that catalog of examples of, I typed in this natural language question, here's what it output.\n\nOK, now, next time, it would be faster and more precise for me to enter the query by hand, right?\n\nSo that's the spectrum of how I think about AI assistants in the field of SRE.\n\nOf course, I'm sure that you have had or will have Todd Underwood on the prodcast in the future, right?\n\nI know Todd has some very fascinating thoughts about this topic as well.\n\n**STEVE MCGHEE:** He has opinions on everything.\n\nI'm pretty sure of that.\n\nOne thing that came up recently on the interwebs-- you and I had a very mild disagreement that I thought it was kind of fun.\n\nIt wasn't like that.\n\nDon't worry, Jordan.\n\nSpecifically, I posted a thing that I suggest to some new teams, which is don't go looking for problems in production.\n\nDon't go trying to find problems if you don't have a reason to.\n\nAnd your response to that was really good, I thought.\n\nIt was kind of like, yeah, you should, actually.\n\nThere's good reasons to be poking around.\n\nI was hoping we could clarify that a little bit today.\n\n**LIZ FONG-JONES:** Yeah.\n\n**STEVE MCGHEE:** What did you think was going on there?\n\n**LIZ FONG-JONES:** So I think that it's really important for people to have a baseline as to what's going on in their systems day to day, because if not, you wind up having that looking for problems moment when there's an actual incident going on, and you cannot tell whether you are fixing a real problem or whether you are fixing a less important problem.\n\n**STEVE MCGHEE:** Totally.\n\n**LIZ FONG-JONES:** So I think kind of going off of what I said about refining your mental models, if you never investigate production, you're not going to have a great mental model of how production works.\n\n**JORDAN GREENBERG:** Right.\n\n**LIZ FONG-JONES:** That being said, if you're prioritizing doing a super important feature versus shaving off 20 milliseconds of latency for 1% of users just because it seemed, hey, that looked weird, prioritize doing the feature, probably.\n\nBut I think I've talked about this before in other mediums-- if you're on-call, if you're dedicated to on-call this week, and you're not meant to be doing any feature tickets, spend your time looking at production, both to get a sense of what do things look like this week.\n\nAnd also, your job is not necessarily to be working on tickets that week.\n\nYou may as well go and file down any rough edges that you find while you're poking around, right?\n\nSo I think there's that balance of dedicate time to looking around in production, but don't let it distract you, right?\n\nDon't let perfectionism detract from getting your job done.\n\n**STEVE MCGHEE:** The other side of, just to defend my position, not that that's important, is there is also the idea, though, that distributed systems can tolerate some forms of failure.\n\nSo if a component is not great in some way, but the system is fine, the system is fine.\n\nSo being aware of that is super important.\n\nIt's super great.\n\nDoesn't mean you need to go and fix that one thing or demand that that one thing never be lossy again, because as long as the system is capable of managing around that-- you may even be in a degraded state.\n\nThat's really good to be aware of because you don't want yet another thing to fail on top of that.\n\n**LIZ FONG-JONES:** Exactly.\n\n**STEVE MCGHEE:** Yeah.\n\n**LIZ FONG-JONES:** You have to know, what is your safety margin?\n\nAm I in a degraded state or not?\n\nIf you think you have extra layers of defense that you don't, that is a problem, right?\n\nYou will make bad judgments.\n\n**JORDAN GREENBERG:** So smart.\n\nSo this is actually applicable to a lot of things, not just SRE-- understanding what a baseline is in general and understanding what can give is a concept that can be applicable to everything.\n\nAnd, as you know, I'm PGM, so I'm going to be wearing that hat just a tiny bit.\n\nConsider this is the same way that we deem what priority is in terms of what feature is next.\n\nIt's the same thing as what thing needs to be fixed in triage for what's on fire.\n\nIt's kind of the same concept in general.\n\nSo knowing what your baseline of, oh, this is what prod looks like-- I know that things are mildly meh here, that helps me define in the next feature, I can make this better because I know what that looks like.\n\nBut if you don't know what that looks like and you don't take the time to get there and figure that out, you might not know that a feature is needed or a change is needed to improve that space for yourself, or users, or end users who are like, well, this is a little bit laggy for me, but I'm not going to complain because it does work.\n\n**LIZ FONG-JONES:** Yeah.\n\nYou kind of want to catch things before they catastrophically break, right?\n\n**JORDAN GREENBERG:** Exactly.\n\nExactly.\n\nThere could be symptoms of, oh, I'm feeling a little bit sick, but I'm still fine.\n\n**STEVE MCGHEE:** Yeah.\n\nSo, first off, how do you, Liz, see SRE changing in the next two years?\n\nDo you see it changing in the next two years, and so not just for your team, but the industry?\n\n**LIZ FONG-JONES:** I think the job title SRE is going to continue to exist.\n\nI think the idea of having a department of SREs is no longer necessarily fit for purpose.\n\nSo we are seeing this migration of teams towards the platform engineering model where you are uniting SREs and people who are doing build systems, people who are doing UX platforms and scaffolding for building UIs-- all of these engineering productivity functions are coming under one roof.\n\nAnd I think that's a really good thing because at the end of the day, we are all serving different facets of the developer experience and the end user experience, right-- security being another one of them, right?\n\nSo when you think about it that way, it makes sense for us to work together with other teams, like security, like build pipelines, to make sure that experience is seamless and that we're able to force multiply and help software developers do the best jobs that they can.\n\nSo I don't think we should cling on to there will be directors of SRE and VPs of SRE anymore, and instead kind of really embrace the idea of, what does it look like to have this more kind of holistic view of developer productivity with SRE as part of it?\n\n**STEVE MCGHEE:** Thank you.\n\n**JORDAN GREENBERG:** OK.\n\nBuilding off of that, there are people who are maybe in college right now who are thinking about going into some sort of software something-- maybe it is SRE, maybe it's something else.\n\nGoing even further than that, what kind of advice would you give to today’s high schoolers about, those who are interested in making the internet better, bigger, faster, stronger, for all of the use cases that we as people want to use it for?\n\n**LIZ FONG-JONES:** I think there's a lot more avenues and opportunities than there were 20 years ago.\n\nCertainly, 20 years ago, you kind of really had to work hard to find yourself in an environment where you could have access to systems of a sufficient scale to be able to really see some of these failures happening in production.\n\nSo I think there are now college programs that enable you to actually get your hands dirty working with real systems that can potentially fail.\n\nSo I know, in particular, this is a thing that Mikey Dickerson-- yeah, Mikey Dickerson has put together a college program that he is teaching at Pomona and has kind of offered to other people to teach at colleges, to have people design and run a service that serves an RPC endpoint, and then he increases the kind of criteria as the semester goes on to really have you build a reliable system from first principles.\n\nAnd I think that Mikey Dickerson's course is awesome.\n\nSo look for where that is offered and try to take advantage of that, because that is the most hands-on practical way of getting started with this stuff.\n\nBut also, summer internships are really great, especially if they are at organizations that are growing.\n\nIf you can get that internship at OpenAI, do, right, because that's going to be one of the most interesting companies of the next five, 10 years.\n\nAnd they are experiencing scaling challenges that you wouldn't necessarily see anywhere else.\n\n**STEVE MCGHEE:** Great. Thanks very much.\n\nSo just to sign off, is there anything else that you want to close with or tell our audience?\n\nAnd, of course, where can people hear more from you and learn more about what you guys do at Honeycomb?\n\n**LIZ FONG-JONES:** First of all, Honeycomb's website is honeycomb.io.\n\nAnd my website is lizthegrey.com.\n\nAnd yeah, I think, mainly, observability is something that is a spectrum, and it's something that you can aspire to get better at.\n\nIt's not a one-time event.\n\nIt's not a, I have it or don't.\n\nIt's something where just investing a little bit can yield outsized returns.\n\nAnd I think that, going back to the SRE theme, it helps you achieve that goal of having better SLOs, of meeting those SLOs.\n\n**STEVE MCGHEE:** Excellent.\n\n**JORDAN GREENBERG:** Awesome takeaway.\n\n**STEVE MCGHEE:** Thank you, Liz.\n\nThanks for hanging out with us today.\n\n**LIZ FONG-JONES:** It was super fun.\n\n**STEVE MCGHEE:** It's been great to see you, and talk with you, and learn more about observability, which is, turns out, still evolving.\n\nIt always will be, I think. That's great.\n\nAll right. Thanks very much.\n\n**JORDAN GREENBERG:** Thank you.\n\n**STEVE MCGHEE:** Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at SRE.Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe podcast is produced by Paul Guglielmino, Sunny Hsiao and Salim Virji. The podcast theme is Telebot by Javi Beltran.\n\nSpecial Thanks to MP English and Jenn Petoff.", "znaku_textu": 30689, "slov": 5549, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:39", "sha256": "cbbbdeb77235362906c5294a4d675f3a892db1cc4f1e14b0be232e8ccc255cb8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05", "titulek": "Building Reliable Systems", "h1": "Building Reliable Systems with Silvia Botros and Niall Murphy", "popis": "Silvia Bostros (SRE Architect, Twilio | Author of 'High Performance MySQL, 4th edition') and Niall Murphy (Co-founder & CEO, Stanza) join hosts Steve McGhee and Jordan Greenberg, to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05"}, "headline": "Building Reliable Systems with Silvia Botros and Niall Murphy", "description": "Silvia Botros (SRE Architect, Twilio | Author of 'High Performance MySQL, 4th edition') and Niall Murphy (Co-founder & CEO, Stanza) join hosts Steve McGhee and Jordan Greenberg, to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!", "image": "https://kstatic.googleusercontent.com/files/43fa26a68889dcc23dba1494f50235680298ee3389a472265f665777f2b6ce6f0282d93e6bd84cdff3cb8760c1e07e3cdc59f5058b56f7786851963f61c5485a", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Silvia Bostros"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Building Reliable Systems with Silvia Botros and Niall Murphy"}], "markdown": "# Building Reliable Systems with Silvia Botros and Niall Murphy\n\n**Silvia Botros** (SRE Architect, Twilio | Author of \"High Performance MySQL, 4th edition”) and **Niall Murphy** (Co-founder & CEO, Stanza) join hosts **Steve McGhee** and **Jordan Greenberg,** to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE:** Welcome to season three of the \"Prodcast,\" Google's podcast about site reliability, engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE:** Hello and welcome to the \"Prodcast.\" This is Google's podcast about SRE and reliable software. This season, season three, we're focusing on software engineering and building reliability into your systems directly. We have a couple of guests here that will introduce themselves in just a minute. But first off, I'm Steve McGhee. I'm a reliability advocate in Google Cloud, and my co-host is Jordan. Jordan, why don't you introduce yourself.\n\n**JORDAN:** Hi, I'm Jordan Greenberg. I'm a program manager in Google cloud platform security.\n\n**STEVE:** Thanks so we have today—drum roll—Silvia and Niall. Silvia and Niall, could you please introduce yourselves.\n\n**SILVIA:** My name is Silvia Botros. I am a senior architect at Twilio currently. My background is heavily rooted in relational databases, which tend to be the worst thing to make reliable. And so I've been working with teams in Twilio for a while now on expanding that trauma, that experience into reliability across the board and not just with relational databases.\n\n**STEVE:** Cool.\n\n**SILVIA:** Niall.\n\n**NIALL:** Very good. My name is Niall Murphy. I've made a long career of failure, sometimes failure downward sideways, sometimes upwards. I come to you from years in cloud providers, including Amazon, Google and Microsoft. And most recently, I am the CEO and co-founder of a teeny tiny startup in the reliability/SRE/infrastructure space. And I'm probably most well known in the outside world as the SRE book instigator.\n\n**JORDAN:** That is a lofty title to have. The SRE book instigator.\n\n**STEVE:** Well done.\n\n**JORDAN:** I'm sure that somebody that works on this specific podcast might have something to say to you. We'll make sure to carry that info over.\n\n**STEVE:** Is that a threat, Jordan? What is going on?\n\n**SILVIA:** It's like, oh, so it's you.\n\n**STEVE:** Excellent. The thing that comes to mind when I hear Niall talk about like the olden days when the book is the meme from I think it was the first \"Lord of the Rings\" movie where he says, I was there Gandalf, , years ago when the war was first blah, blah, blah. I was able to use that recently. And I think it's my new favorite meme, so it makes me feel old, and I kind of like it actually. But I'm not quite as old as an elf. But anyway, why don't we get into it.\n\nSo reliability is often described as making the thing under your application just up more. But I think there's more to it than that. So I'm hoping today we can talk about the application itself, and of course, the application is not just the front end and the middleware. It's also the database. So this is where Silvia will teach us some things, but it's not just like get VMs with more nines, please. There's probably more stuff than that, I'm guessing. So I'm wondering if we can get started with those databases because frankly, I know very little about them when it comes to reliability. I've gotten away with being at a place where someone else takes care of that.\n\n**SILVIA:** Lucky you.\n\n**STEVE:** Which I highly encourage people to do, if you can pull that off. But like, how can they be bad? Like what is unreliable about databases? Weren't they solved at least years ago or is it still imperfect? Was that what's going on?\n\n**SILVIA:** I mean, like everything in what we do, we keep hoping that it's about the technology, but it ends up being about technology and people. And the people part is always very big. One of the biggest challenges, especially with relational databases and databases in general, actually, not just relational, is for quite a while as a field, we leaned too hard towards what you describe, we're making someone else problem, but where the someone else is not a whole team, it's a one person. One of the first things-- I've done some amount of public blogging. And I'm sure some people here will be able to find it. But then also it all culminated in co-writing \"High Performance MySQL.\" And one of the very important things that I had to learn in my growth from a senior DBA with all of the context that that title always comes with, where she's running the databases, the schema changes go through her, the performance issues go through her. If we think there's a database problem, we base her on being basically a human single point of failure. I'm personally that little rock at the bottom of the XQCD comic. It was not good. There's a whole culture in the database engineering space that is thankfully now starting to change a little bit, where it was the DBA runs the database. And here the multiple risks there is it's not just the DBA, it's also the database. We no longer build products that way. We're way past the LAMP stack days except for one company that's still living that way. And even that one company is not even one database anymore. So big part of the risk there has been a culture shift before even the technology could come into picture, where you stop thinking about this as like there's this one person who has the magic incantations to figure out exactly what to do. And it's more about you predict failure, and you plan accordingly. And therefore, you don't want a single database failure to take down your whole product. One of the things that I made sure to do when I was given the big task of writing the fourth edition of \"High Performance MySQL\" after folks that I looked up to and learned from was to change that mindset where older versions of that book were about benchmarking and performance management and squeezing out the last bit of performance of your database and far more about looking at it as an SRE. It's just specific to databases. You assume failure, how to assess the return on investment on the work you're doing in the databases, how to figure out the point at which the performance is acceptable and it's not causing impact, and don't spend more cycles there. Spend them in other things instead.\n\n**STEVE:** Yeah, nice.\n\n**JORDAN:** When did you like notice that this cultural shift was happening? Like stop thinking about the witch in the forest that has all the spells, but she's been banished to the forest because magic's not actually allowed in the town. So when did you see this shift from that sort of like, hey, we have a problem with the thing that we don't know about. Can you fix it for us? To this is now within our suite of tools and this is the way we debug it. This is the way we monitor and manage it. When did you see that? How did you see it? How do you support it?\n\n**SILVIA:** So I wish I could say that it's done. It's still an unevenly distributed change. I know of a number of companies where it's still very much like a small group of humans know how to do this thing, and they're the only ones who do it. Big part of it has been more and more sophisticated managed database solutions. When you start introducing to the business, hey, you run this thing on that managed database, and you reduce your toil by this much, but the trade-off is now it's a managed service, and you can't just have one person go into the box and do a kernel patch, and now suddenly the IO is three times faster. It forces teams to think about this in a very different way because the shape of your trade-offs becomes very different. And you can't just be like, I'm going to go and do it directly. And then from the other side is, for me personally, I was very much-- like at the beginning of my career in databases-- I was Milton with the red stapler. I'm not going to lie. I spent a good amount of time-- because it feels good when you're up and coming in the field where it's like, oh, I own this. I'm doing this, and therefore, I will do everything in this. It was personally for me like a slew of incidents and a little bit of burnout to recognize that I can do this better if I don't do it the same way all the time. I need to lift boats. I need to educate a lot more rather than just constantly like being called in with my red cape to go fix it when it's already broken in production.\n\n**STEVE:** So you went from a red stapler to a red cape. I like it.\n\n**JORDAN:** I like that too.\n\n**NIALL:** Not all heroes wear staplers.\n\n**SILVIA:** Never thought of it that way. I like that.\n\n**JORDAN:** Yes. We're going to mark that timestamp. That's going to be the short.\n\n**SILVIA:** There you go.\n\n**STEVE:** Nailed it. So I presume there are websites in the world that are more than a database. And I'm curious if Niall can talk us through-- I know. It's hard to believe-- talk us through how a system that maybe talks to a database might deal with adding reliability to itself, maybe in the way that it talks to that database or other things inside its own logic bubble. What are the things that teams can do directly to their code to make their system more reliable away from the infrastructure but actually in the code itself?\n\n**NIALL:** Yeah, it's a huge question. And it's a very interesting one because of course, coming back to the thing that you led with at the start of this conversation, we often are primed to regard reliability as a question of interfaces. And so when you disappear into an interface, you're kind of like, OK, somehow the complexity of the world is being pinched into a bubble for me, and something or someone is handling that stuff. And so it's all going to be fine. Which is, of course, not true. But the way in which it is not true is different to the way it is not true within your application. Everything is a potential source of unreliability. One of the particularly interesting consequences of Spectre and Meltdown, if you remember the controversy-- if that's the right word-- the event around discovering that certain processors had the ability to leak information if they were programmed in a particular way. That brought to the fore-- for a lot of developers-- the key point that, actually I'm not really running on abstract stuff that adds things for me. I'm running on a thing that has a definite structure and it has a consequence, and its design has meaningful consequences. So that was-- coming back to one earlier question-- I think an interesting mindset shift for a bunch of people. But anyway, we're accustomed to thinking of things in terms of interfaces. Actually, it's not quite that simple. Of course, you can have unreliability in the simplest of functions. I do a lot of test-driven development, and I'm always amazed by-- I write a function that I think is pretty simple. I write a test for it, and I'm like, oh yeah, actually, there's no way that could have possibly worked. And I have a lot of reflections upon my own meager talents as a software engineer.\n\nAnyway, long story short, there's a lot of things you can do with respect to reliability within the application and looking at it as a software problem or a software discipline or an engineering questions of methodologies and viewpoints that humans might take with respect to how to write software correctly. They all start to come into the picture now. But it actually ranges from things which might be considered extremely simple. Have you considered checking the return code of your calls?\n\n**JORDAN:** Wow.\n\n**STEVE:** Wild.\n\n**NIALL:** That is a huge-- exactly. That is a huge piece out there, which is even today not necessarily being followed or paid attention to. But it goes all the way up, up the stack to various levels of abstraction. And so you can see within your application, you can bring in frameworks that are trying to use-- or that are trying to make it easier to use stuff like Paxos or really high-level abstractions around reliability. My current area of interest is a middle ground, which is frameworks to make a dressing external and internal-- things on the other end of a TCP connection, essentially, more reliable. And this is one of the things that Stanza Systems-- my current company-- does. But the basic idea is when you are executing a function, the function has some set of preconditions, some set of post conditions, like things you expect to be true after you invoke the function. But depending on the complexity of what you're working on, you probably need to wrap your functions, check return codes, have if-then-elses for strange failure cases, and so on. But you need to assemble these functions in a way that the programming leaves you with safe results. That's another way to look at it. You are trying to write software so that the output will be safe. You won't change state too much. You won't overwrite user data. You won't mistakenly assume a bunch of things are true and scribble all over storage when in fact they're not true, and so on.\n\n**STEVE:** Silvia, did you have something to add to that?\n\n**SILVIA:** I was going to say I really like that approach because when I work with teams, whether it's a database reliability problem or a larger, just like, more ambiguous reliability concern, what I've seen a lot is as engineers, we are, like Niall said, we're primed to think about the code we write as it does thing. And if you flip the script in their head more towards, I give it x. I'm expecting y, and therefore checking for like is it true? It feels like a bit of a mind shift for a lot of folks to just recognize that you may be writing this code. And it's doing these steps, but if the outcome is not what was expected-- and I feel like that is so similar in my mind to how we always tell people write tests first, but it's like at a much higher abstract level than write unit tests and then write the code, which I feel is more effective. Because unit tests are great, but they're still not going to give you the big picture.\n\n**STEVE:** There's happy path programming and then all the other stuff.\n\n**SILVIA:** Exactly.\n\n**STEVE:** But that sounds like a lot of work. But it turns out it's important.\n\n**SILVIA:** And it's funny because I grew up in my career from operations and into database things. And so I've lived all my life in like the shit is broken in production and then trying to align that mindset with engineers who are like, I write code. Is it going into production? So it's good. And it's like, oh no, but like you wrote code and went in production, and then other things happened. And like you say, the happy path it's a double edged sword, but, like, I try to always come in when I'm working with teams on like a design document or like a plan for how to build the thing. I'm usually-- like my reputation internally at Twilio and it past companies has been like, I'll come in. I'll be like, take this part out. It's more like much more paranoid planning than happy path planning. And this is the two things that are always slightly in tension, but you need them both to get better outcomes.\n\n**STEVE:** Cool.\n\n**JORDAN:** It's kind of like packing for a trip, and then you unpack, and then you repack in a different configuration, and eventually you end up with something. But next time you'll know better how to pack your stuff. Maybe next time you'll have a go bag in that way of thinking about what you're putting through the testing for going forward. For both of you, there are many reasons you might introduce these type of changes or improvements. Some could be born out of Niall's favorite failure or other reasons, motivations outside of your control, like do you have a stakeholder telling you to do these things? Is it a technical improvement to implement a change or improvement? How many times is stuff born from an outage versus out of a want to improve something? So open for both of you.\n\n**SILVIA:** It's definitely a lot more outage.\n\n**STEVE:** Or how should this work? Like how would you suggest people approach this?\n\n**JORDAN:** Great question.\n\n**SILVIA:** So what usually happens is out of outage. My attempts, what I try to make happen is to take it to the next level up where you're not just solving for the outage that happened. See how the outage that happened could happen in another way? Like you landed in this bad spot. It's not the only way to get into this bad spot. You landed in a spot where you realized your backups were not working. There's going to be very different ways, like many, many ways, to figure out that maybe apply some fire drill or backup testing. This is a very simple example. So it tends to be that way. And then there's the whole universe of things that happen from outside of outages where the first one that comes to mind is all of the compliance burdens and the data residency burdens that a lot of us have to deal with, especially as companies grow. So those tend to come far more as either a hypothetical or it's like, audit x tells us to do this thing, and therefore we should do the thing.\n\n**NIALL:** So I think my answer is it depends, which is a great kind of staff engineer response to-- principal engineer response to more or less everything.\n\n**STEVE:** Fine. He got us.\n\n**JORDAN:** We walked right into that one.\n\n**SILVIA:** We should have had a countdown for, it depends.\n\n**STEVE:** Well, that's one so far. We can count them, at least.\n\n**NIALL:** So my particular version of it depends in this case is related to all kinds of things around engineering culture. For example, you can be strongly product management-driven as an overall end product org, for want of a better word. And you can have loads of features coming down the backlog where you don't have a whole load of choice about where they're coming from. Maybe there's things to respond to. Like, Spectre and Meltdown and crap ton of software engineers around the world were doing things quickly in order to respond to security incidents, and that has not changed in the six years intervening and neither do I expect it to. So there's a load of underlying reasons why this could happen. One interesting one, which I think often isn't discussed, is responses to complexity, because one of the things we end up doing in the reliability space is we stand back from an architecture diagram and we go, actually I don't understand this, and I don't think anyone can. Is there a way to simplify this? So simplification can be a response to certain kinds of reliability problems that flow from complexity. Of course, simplification can be done in a number of ways. One extremely common way in the software industry is to go, eh, a bunch of incomprehensible stuff. Now I will put it behind an API. And now I can forget about it, which has the problems that we've discussed.\n\n**SILVIA:** The closet nobody wants to open now.\n\n**STEVE:** Perfect. What could go wrong?\n\n**NIALL:** The problems we discussed earlier. There's another way, which is traditionally speaking, not really done in the software industry, which is to turn things off or stop running things or deprecate old things, not just upgrade, but actually get rid of them. And obviously, again--\n\n**JORDAN:** What does that mean?\n\n**NIALL:** [LAUGHS] The details--\n\n**STEVE:** Not understandable.\n\n**NIALL:** The details of how this works, well, they vary a lot. But one of the things I'm noticing in the outside world is that actually cost control implications can run in alignment with simplification initiatives. And you can go-- actually this thing only reproduces % of our income, and it costs % to run goodbye or, like, equivalent.\n\n**STEVE:** So one question I have is, let's say you have a service which is worth making more reliable. It is not in the %, % category like you just described, but it actually makes us money and somewhat problematic. So, like, we should maybe make it better. What do you think? Given something like that where it's not totally broken but it's also not the best, is there a magic spell that I can use to convince my bosses that this is time worth spending? Essentially like what I'm getting at is like, is reliability feature work, is there a way to prioritize it or get it done when it comes to the prioritization mechanisms that companies out in the world tend to have? Like, I expect that it is not always obvious that this is the right thing to work on. Is that true or untrue? What do you think?\n\n**SILVIA:** Casandra comes to mind. Not the database.\n\n**JORDAN:** Have you asked the witch in the woods for the spell?\n\n**SILVIA:** I've been called that a few times in my lifetime. But Niall had his hand up first.\n\n**JORDAN:** Yes. Very good. Very good.\n\n**NIALL:** So there are two answers to this, the industry standard answer and the answer I have settled on in the past year or so, which I like talking about a lot. The industry standard answer-- actually, I shouldn't say the industry standard, but it is a common theme is OK, what was the cost of the last outages of this type divided by ? Roughly speaking, not addressing this costs us x, addressing it would cost us y when y less than x, then OK. Do it. Which in fact is a rampant simplification of a very large number of typical kind of social interactions, and sometimes they are business related, et cetera. The answer I have settled on most recently, which I think is much more interesting, even though it's not necessarily more correct, is based on a piece of research by Microsoft, which showed in summary, that for a given product-driven backlog, approximately one third of all of the features were positive when implemented, which is to say that they yielded about the amount of cash or additional users or whatever it was supposed to do, it did it. OK, fine. One third were neutral, which meant we can't really detect any change in the metrics here. And one third were net negative, which is people stopped using the product, or it cost more than it yielded and so on and so forth.And so if we were in an evidence-based policy world, we would be able to go to folks in the business and in product, and so on, and say, % of the time your thing will not do what you think it does. Over here I have a fix for your infrastructure. It will do the thing that we think it does. How about we exchange your thing for this thing, which on average will be correct?\n\n**JORDAN:** Yay.\n\n**NIALL:** Those conversations--\n\n**STEVE:** I fail to see the problem. This sounds like a perfect plan. Let's do it.\n\n**SILVIA:** If only all VPs would listen to that.\n\n**JORDAN:** I know. It'll work, right?\n\n**NIALL:** So there's some nuance here about how you would address that. But I think the underlying intuition that actually-- quotes were not very good at figuring out what's going to happen with the software after we have written it, which of course, is true. Software is a complicated thing. The world is a complicated thing, and so on. All of that being true, you would like to say, generally-- not always-- but generally reliability work has the kind of scope that allows it to be interpreted-- its consequences to be interpreted way better than overall feature work. And so you could trade a much wider scope for a narrower scope or whatever. Now of course, then you get the implementations or the reliability work, which is actually build new system x or retrofit Paxos into your data model or screaming horror style stuff like that. But in general, I feel we should be making more petitions towards complexity, simplification and all of the other things I was talking about in the context of the Microsoft research.\n\n**SILVIA:** I would say my answer to this is, well, first of all, again, I always go back to-- the research is I'll actually remember that paper, and I like it a lot, but it comes down to what are the system you're in. So assuming you have supportive leadership, which is an easy one to just say in a podcast, but it's a very real concern from one company to the other. So assuming you have leadership that truly wants to understand how to assess these trade-offs, one of the things I'd have seen in the last few years that have really improved the conversation about these things-- because ultimately we're trying to quantify squishy things like, if I change this, will it break later? It's we're trying to apply some kind of measurement to things that are basically trying to forecast the future. And one of the things I've really liked using a lot have been DORA metrics, which I suspect is the same. Shout out to Dr. Forsgren because I know that the paper from Microsoft was also her work, I think. I hope I didn't get that wrong. But DORA metrics are one of those things that I know have evolved past the annual assessment that we see every year come out. But at their heart-- and I highly recommend the book, \"Accelerate,\" because it goes much more deep into why these are the metrics that it landed on. It can help leaders quantify things like it's not just that this service makes us money, the team that's on call for it is scared to change it. Like that's a squishy feeling that if you couple with something like change failure rate-- which is one of the Dora metrics-- you start actually seeing data around every time they do a deploy to it, something small breaks, and then every deploys or so something big breaks. And therefore, the team's confidence in making changes to the service that makes us a lot of money is declining. That needs to be addressed. And it becomes-- you start applying slightly better measurements to things that are far more squishy in feeling.\n\n**STEVE:** Yeah, I think in the past, we've always had, well, every domain is its own special snowflake, so how can we possibly compare them? But I think DORA and \"Accelerate\" gave us some really good numbers, and they show, like well, yes, they're all special, but they're all stuff running on computers, so we can measure that part of it.\n\n**JORDAN:** So can you talk about in the lens of building stuff into software to support reliability, what spells has the witch of the woods already given us to help us with that? So example, exponential reach highs, jitter, rate limiting, load shedding stuff. We have some magic here. Can you talk about some of this magic, maybe some of your favorites or an example of when you've used stuff like this to accomplish a reliability goal?\n\n**SILVIA:** It will never cease to amaze me how many times and how many different ways a company can have an incident because they internally had a DoS dynamic. Like system A was doing this, and then system B just had no clue what the hell is about to happen. And boom, I mean don't let your--\n\n**STEVE:** Stop hitting yourself kind of thing.\n\n**SILVIA:** I know. It's just and it's--\n\n**JORDAN:** The call is coming from inside the house.\n\n**SILVIA:** Yeah. And the thing that I keep saying to engineers when these happen, it's like it's not that this particular way you do it is going to prevent this from happening. It's like this will happen. You just need to be far more paranoid about it. For example, don't ever let a logging call be synchronous. Writing a log line should not take down your service. Sending a metric should not take down your service. Now, there are going to be certain things that should take down your service. Like, you're about to write a line to a database and the database is not there, that's a valid reason. And then for that one, you start thinking about how fast you can fail over. Do you really need a single writer database? What happens if you switch this to a database that's more availability than consistency-oriented? Like there's other things. But like the way that the same smells keep happening, it still surprises me, to be honest.\n\n**NIALL:** So I think of this a little bit like using one of the analogies from earlier. If you think of RPC calls as externalized call stacks for one machine software or one computer software, then every time you're calling another function, you're making an RPC, I mean, obviously. But I think people kind of tend to forget that actually there's a call chain which is a software stack, which could and should be regarded as no more complicated and difficult as pulling the registers or heap or whatever for your particular application. But actually, as a matter of observed reality today, it's just really, really hard. And it's particularly really, really hard in the cases where you are DoSing yourself in the cases where traffic management should be a hugely powerful lever for you to control your call stack but actually isn't because you don't have the tools, et cetera. So we do rate limiting as a service as well as a bunch of other things. And so rate limiting in terms of being able to in real time control and cap and prioritize, in particular, various call stacks over each other is I think actually a much underused capability in software. There's actually a ton of open source things that do bits and pieces of this, but most people don't really think about the DoS cases. Of course, starting off you're like, hey, if I'm DoSed, my thing is popular. Excellent. That's fantastic. And then you get DoSed a couple times in a row, and people are like, I will go to your competitor, and I'll never see you again.\n\n**SILVIA:** They don't trust you now.\n\n**NIALL:** They don't trust you now. Also as an SRE nerd, I think we as a profession don't really understand customer trust very well, and we're not sure what causes it to be lost completely and what causes it to be sticky, et cetera. So there's a lot of nuance there. I think we don't understand. But traffic management, rate limiting prioritization, load shedding, particularly the client side load shedding where you can stop actually sending the work rather than the work just arriving at the machine no matter what, and it actually has to deserialize the protobuf and make a bunch of decisions, et cetera, to drop it, which is more work. You actually want to control the client side. All of these are hugely powerful techniques which I think are underutilized.\n\n**NIALL:** Exactly. And I think one of the crucial differences between folks who are raised in the product management or product developer tradition is that often they do think very fine grainedly about the minutia of the thing that they're trying to deliver. But the holistic picture is often not present. And in fairness, they're not rewarded for the holistic picture necessarily. Now, of course, this picture is complicated and its staff engineer tends to get a bit more horizontal and so on and so forth. But broadly speaking, those kinds of differences exist, which means that folks raised in the reliability tradition often have more understanding of cascading failures, subtleties about load balancing. I remember being delighted when I discovered that a system could return s way quicker than it could return the legitimate data that it was in fact supposed to, which meant that those systems attracted more traffic from the lowest latency load balancer configuration that pertained at the time but not the day after or any day after that. So there's a lot of subtleties in these things.\n\n**SILVIA:** One thing that just stood out for me in what you said, Niall, it's a good thing that now in this field-- I remember circa seven, eight years ago. I remember I wrote this blog post about being a principal engineer. And like the reaction I got from it was like, wow, that is cool. And I was like, really? Y'all think this is new, like this is how it should be? But one thing--\n\n**JORDAN:** Nerd.\n\n**SILVIA:** I know. But here's the thing. Like when someone gets promoted in their IT ladder from senior engineer to staff plus, it's not like the next day they suddenly can now see the whole system. I wish it worked that way. But what happens is like one of two things you're going to end up learning as an engineer, and my hope is that a lot of the folks who are interested to listen to this podcast are looking to learn these skills. One of two ways you're going to learn this, you're either going to live through some really traumatic incidents in production that teaches you how these things can happen, how those cascading effects can occur. Or you go learn from other people's experiences, drama, how they did it, and always keep an eye out on the patterns. And my hope is that more and more folks learn these skills the second way rather than the first way. Because if we all as a field only learn it the first way, then we're also going to be slogging through incidents.\n\n**STEVE:** That's a great point.\n\n**SILVIA:** And the hope is you don't.\n\n**STEVE:** Yeah. So given that, thank you for the perfect lead in to my next question. My question really is, if we have all of these tools that are possibly available to us, should only we get them and use them and be proficient at using them? And we have these systems which we don't really understand perfectly well. Do we have to wait for incidents to happen to be able to know which tools to use where? Or can we look at other people what they've done and maybe make an educated guess? Or is there maybe something else we can do? I'm curious if anyone has seen more formal tools. So I've seen things like TLA+. There's a system called STAMP, not a system, but a methodology called STAMP out of MIT. Are these more formal systems ever helpful in helping you determine how the system might better be controlled in the future? This is like proactive, getting in front of it approaches.\n\n**NIALL:** Actually, I've used TLA+ myself a bit. And the number one person to talk to about this is Hillel Wayne, who runs a consultancy and does training. And I actually have the benefit of a small amount of training with him. But he also does a newsletter on software and computer things generally, which I highly, highly recommend. Anyway, plug over, reasoning formally about your system, the set of transactions that can happen to it, the pre and post-conditions, and so on, hugely, hugely valuable in terms of the complexity of the space that you cut off by making sure that your system can't get into undefined or weird states-- or well, maybe making sure, but reducing the probability a lot. I do believe there's serious things. And in fact, it's not a matter of belief. There is serious benefit to doing this kind of stuff. And in terms of your other question, which I'll deal with only briefly, with respect to, is there anything that we could use to help determine where we would spend our reliability dollars or infrastructure or frameworks or however you would think of it? There's a huge tradition in the incident analysis post-incident response space, et cetera that tries to, I suppose, address some of these questions. I am afraid, hand on heart, I'm definitely an it depends person in this context. There's lots of frameworks to use. They're kind of bicycles for the mind style things, typically speaking, but there is a cost benefit to them. And I don't think there's an algorithm to choose these. Anyway, that's where I am.\n\n**SILVIA:** So I'll take this question back to like, it's not first about the tool. It's first about the people. This might be a shock to this audience because we're all steeped in this, but I still routinely encounter teams where they just don't think they need to spend time sort of preparing for incidents, whereas like they've just accepted that incidents happen to them. So getting folks to just get out of that mindset first is probably like job number zero. Having gotten to that, one number of the things that I recommend to teams that I've seen actually been very useful in the past is try to-- first of all, one of the things that are very up and coming in the field right now and a lot of people are sort of taking on is domain design. You start off like if you are a company that has grown so much that you have multiple products, you cannot continue with those products just like haphazardly flat network talking to each other because now the space of possible failures becomes untenable. Now I understand the risk of what Niall was explaining earlier of you can't just shove things behind an API and call it good. But there's a happy medium. You need to find the Goldilocks where you shove the parts that actually make sense together behind APIs. And so you can separate making those individually reliable and then separately figuring out the cross communication being more reliable. At minimum, there you start gaining things like blast radius mitigation when actually things break. One of my favorite things to do with teams are things like tabletops where once you know what your domain look like, you start talking about, OK, traffic is x. What's going to break first? We don't even know. OK, well, we should know. So things of that nature, like the hypotheticals that you probably will have a hard time testing in reality in production. But you should think about what are the parts that need load shedding more than others? What are the parts that are like, yeah, this is probably-- Like, you start recognizing this service that is in the middle of every single call hot path is probably x away from having way more failures. What's the ceiling of its performance? And we start talking about this is how you start recognizing things like if we don't start planning for rewriting this thing now, in a year we're going to have a lot of incidents, and by then it'll be too late. Because a lot of times-- and this harps all the way back to customer trust, because by the time the customer walked out the door, it's too late. So you don't want to find out how many incidents it will take to lose half your customers. That's not a number you want to find out. You want to just never get close to that number.\n\n**JORDAN:** We are unfortunately running out of time. So we have some time for some very quick questions for you. Where can we find you on the internet?\n\n**SILVIA:** So I used to be fairly active on the formerly known artist, Twitter, but I don't anymore. I suppose at this point my blog is on dbsmasher.com. And a lot of what I explain, if you're interested in it specifically in a database lens, go find \"High Performance MySQL\" version 4. It was a lot of fun to write with my friend, Jeremy.\n\n**STEVE:** Cool.\n\n**JORDAN:** Awesome. Niall.\n\n**NIALL:** I am still on the artist formerly known as Twitter. I am on LinkedIn. You can find my company at www.stanza.systems, and I also keep a blog on reliability issues, which is at a URL-- search for my name kind of. Like, maybe it's the 5th result or something. I'm really selling this [INAUDIBLE] this is cool.\n\n**JORDAN:** Definitely.\n\n**STEVE:** We can link it in the show notes.\n\n**SILVIA:** Go read his book.\n\n**JORDAN:** Read the book. Absolutely.\n\n**SILVIA:** I keep telling folks, the SRE handbook, go get that too.\n\n**JORDAN:** Awesome. Well, thank you to Niall and Silvia, my co-host, Steve and The Witch of The Woods for this episode of the \"Prodcast.\" Have an awesome day.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN:** You've been listening to \"Prodcast,\" Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google where you can find papers, workshops, videos and more about SRE.\n\nThis season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe \"Prodcast\" is produced by Paul Guglielmino, Sunny Hsiao and Salim Virji.\n\nThe \"Prodcast\" theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 39487, "slov": 7141, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:26", "sha256": "a18aaa1aa9e2559693c18b359cbdfc776243f94313a56544e234388eeb8cba5a", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05/", "titulek": "Building Reliable Systems", "h1": "Building Reliable Systems with Silvia Botros and Niall Murphy", "popis": "Silvia Bostros (SRE Architect, Twilio | Author of 'High Performance MySQL, 4th edition') and Niall Murphy (Co-founder & CEO, Stanza) join hosts Steve McGhee and Jordan Greenberg, to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05"}, "headline": "Building Reliable Systems with Silvia Botros and Niall Murphy", "description": "Silvia Botros (SRE Architect, Twilio | Author of 'High Performance MySQL, 4th edition') and Niall Murphy (Co-founder & CEO, Stanza) join hosts Steve McGhee and Jordan Greenberg, to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!", "image": "https://kstatic.googleusercontent.com/files/43fa26a68889dcc23dba1494f50235680298ee3389a472265f665777f2b6ce6f0282d93e6bd84cdff3cb8760c1e07e3cdc59f5058b56f7786851963f61c5485a", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Silvia Bostros"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Building Reliable Systems with Silvia Botros and Niall Murphy"}], "markdown": "# Building Reliable Systems with Silvia Botros and Niall Murphy\n\n**Silvia Botros** (SRE Architect, Twilio | Author of \"High Performance MySQL, 4th edition”) and **Niall Murphy** (Co-founder & CEO, Stanza) join hosts **Steve McGhee** and **Jordan Greenberg,** to discuss cultural shifts in database engineering, rate limiting, load shedding, holistic approaches to reliability, proactive measures to build customer trust, and much more!\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE:** Welcome to season three of the \"Prodcast,\" Google's podcast about site reliability, engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE:** Hello and welcome to the \"Prodcast.\" This is Google's podcast about SRE and reliable software. This season, season three, we're focusing on software engineering and building reliability into your systems directly. We have a couple of guests here that will introduce themselves in just a minute. But first off, I'm Steve McGhee. I'm a reliability advocate in Google Cloud, and my co-host is Jordan. Jordan, why don't you introduce yourself.\n\n**JORDAN:** Hi, I'm Jordan Greenberg. I'm a program manager in Google cloud platform security.\n\n**STEVE:** Thanks so we have today—drum roll—Silvia and Niall. Silvia and Niall, could you please introduce yourselves.\n\n**SILVIA:** My name is Silvia Botros. I am a senior architect at Twilio currently. My background is heavily rooted in relational databases, which tend to be the worst thing to make reliable. And so I've been working with teams in Twilio for a while now on expanding that trauma, that experience into reliability across the board and not just with relational databases.\n\n**STEVE:** Cool.\n\n**SILVIA:** Niall.\n\n**NIALL:** Very good. My name is Niall Murphy. I've made a long career of failure, sometimes failure downward sideways, sometimes upwards. I come to you from years in cloud providers, including Amazon, Google and Microsoft. And most recently, I am the CEO and co-founder of a teeny tiny startup in the reliability/SRE/infrastructure space. And I'm probably most well known in the outside world as the SRE book instigator.\n\n**JORDAN:** That is a lofty title to have. The SRE book instigator.\n\n**STEVE:** Well done.\n\n**JORDAN:** I'm sure that somebody that works on this specific podcast might have something to say to you. We'll make sure to carry that info over.\n\n**STEVE:** Is that a threat, Jordan? What is going on?\n\n**SILVIA:** It's like, oh, so it's you.\n\n**STEVE:** Excellent. The thing that comes to mind when I hear Niall talk about like the olden days when the book is the meme from I think it was the first \"Lord of the Rings\" movie where he says, I was there Gandalf, , years ago when the war was first blah, blah, blah. I was able to use that recently. And I think it's my new favorite meme, so it makes me feel old, and I kind of like it actually. But I'm not quite as old as an elf. But anyway, why don't we get into it.\n\nSo reliability is often described as making the thing under your application just up more. But I think there's more to it than that. So I'm hoping today we can talk about the application itself, and of course, the application is not just the front end and the middleware. It's also the database. So this is where Silvia will teach us some things, but it's not just like get VMs with more nines, please. There's probably more stuff than that, I'm guessing. So I'm wondering if we can get started with those databases because frankly, I know very little about them when it comes to reliability. I've gotten away with being at a place where someone else takes care of that.\n\n**SILVIA:** Lucky you.\n\n**STEVE:** Which I highly encourage people to do, if you can pull that off. But like, how can they be bad? Like what is unreliable about databases? Weren't they solved at least years ago or is it still imperfect? Was that what's going on?\n\n**SILVIA:** I mean, like everything in what we do, we keep hoping that it's about the technology, but it ends up being about technology and people. And the people part is always very big. One of the biggest challenges, especially with relational databases and databases in general, actually, not just relational, is for quite a while as a field, we leaned too hard towards what you describe, we're making someone else problem, but where the someone else is not a whole team, it's a one person. One of the first things-- I've done some amount of public blogging. And I'm sure some people here will be able to find it. But then also it all culminated in co-writing \"High Performance MySQL.\" And one of the very important things that I had to learn in my growth from a senior DBA with all of the context that that title always comes with, where she's running the databases, the schema changes go through her, the performance issues go through her. If we think there's a database problem, we base her on being basically a human single point of failure. I'm personally that little rock at the bottom of the XQCD comic. It was not good. There's a whole culture in the database engineering space that is thankfully now starting to change a little bit, where it was the DBA runs the database. And here the multiple risks there is it's not just the DBA, it's also the database. We no longer build products that way. We're way past the LAMP stack days except for one company that's still living that way. And even that one company is not even one database anymore. So big part of the risk there has been a culture shift before even the technology could come into picture, where you stop thinking about this as like there's this one person who has the magic incantations to figure out exactly what to do. And it's more about you predict failure, and you plan accordingly. And therefore, you don't want a single database failure to take down your whole product. One of the things that I made sure to do when I was given the big task of writing the fourth edition of \"High Performance MySQL\" after folks that I looked up to and learned from was to change that mindset where older versions of that book were about benchmarking and performance management and squeezing out the last bit of performance of your database and far more about looking at it as an SRE. It's just specific to databases. You assume failure, how to assess the return on investment on the work you're doing in the databases, how to figure out the point at which the performance is acceptable and it's not causing impact, and don't spend more cycles there. Spend them in other things instead.\n\n**STEVE:** Yeah, nice.\n\n**JORDAN:** When did you like notice that this cultural shift was happening? Like stop thinking about the witch in the forest that has all the spells, but she's been banished to the forest because magic's not actually allowed in the town. So when did you see this shift from that sort of like, hey, we have a problem with the thing that we don't know about. Can you fix it for us? To this is now within our suite of tools and this is the way we debug it. This is the way we monitor and manage it. When did you see that? How did you see it? How do you support it?\n\n**SILVIA:** So I wish I could say that it's done. It's still an unevenly distributed change. I know of a number of companies where it's still very much like a small group of humans know how to do this thing, and they're the only ones who do it. Big part of it has been more and more sophisticated managed database solutions. When you start introducing to the business, hey, you run this thing on that managed database, and you reduce your toil by this much, but the trade-off is now it's a managed service, and you can't just have one person go into the box and do a kernel patch, and now suddenly the IO is three times faster. It forces teams to think about this in a very different way because the shape of your trade-offs becomes very different. And you can't just be like, I'm going to go and do it directly. And then from the other side is, for me personally, I was very much-- like at the beginning of my career in databases-- I was Milton with the red stapler. I'm not going to lie. I spent a good amount of time-- because it feels good when you're up and coming in the field where it's like, oh, I own this. I'm doing this, and therefore, I will do everything in this. It was personally for me like a slew of incidents and a little bit of burnout to recognize that I can do this better if I don't do it the same way all the time. I need to lift boats. I need to educate a lot more rather than just constantly like being called in with my red cape to go fix it when it's already broken in production.\n\n**STEVE:** So you went from a red stapler to a red cape. I like it.\n\n**JORDAN:** I like that too.\n\n**NIALL:** Not all heroes wear staplers.\n\n**SILVIA:** Never thought of it that way. I like that.\n\n**JORDAN:** Yes. We're going to mark that timestamp. That's going to be the short.\n\n**SILVIA:** There you go.\n\n**STEVE:** Nailed it. So I presume there are websites in the world that are more than a database. And I'm curious if Niall can talk us through-- I know. It's hard to believe-- talk us through how a system that maybe talks to a database might deal with adding reliability to itself, maybe in the way that it talks to that database or other things inside its own logic bubble. What are the things that teams can do directly to their code to make their system more reliable away from the infrastructure but actually in the code itself?\n\n**NIALL:** Yeah, it's a huge question. And it's a very interesting one because of course, coming back to the thing that you led with at the start of this conversation, we often are primed to regard reliability as a question of interfaces. And so when you disappear into an interface, you're kind of like, OK, somehow the complexity of the world is being pinched into a bubble for me, and something or someone is handling that stuff. And so it's all going to be fine. Which is, of course, not true. But the way in which it is not true is different to the way it is not true within your application. Everything is a potential source of unreliability. One of the particularly interesting consequences of Spectre and Meltdown, if you remember the controversy-- if that's the right word-- the event around discovering that certain processors had the ability to leak information if they were programmed in a particular way. That brought to the fore-- for a lot of developers-- the key point that, actually I'm not really running on abstract stuff that adds things for me. I'm running on a thing that has a definite structure and it has a consequence, and its design has meaningful consequences. So that was-- coming back to one earlier question-- I think an interesting mindset shift for a bunch of people. But anyway, we're accustomed to thinking of things in terms of interfaces. Actually, it's not quite that simple. Of course, you can have unreliability in the simplest of functions. I do a lot of test-driven development, and I'm always amazed by-- I write a function that I think is pretty simple. I write a test for it, and I'm like, oh yeah, actually, there's no way that could have possibly worked. And I have a lot of reflections upon my own meager talents as a software engineer.\n\nAnyway, long story short, there's a lot of things you can do with respect to reliability within the application and looking at it as a software problem or a software discipline or an engineering questions of methodologies and viewpoints that humans might take with respect to how to write software correctly. They all start to come into the picture now. But it actually ranges from things which might be considered extremely simple. Have you considered checking the return code of your calls?\n\n**JORDAN:** Wow.\n\n**STEVE:** Wild.\n\n**NIALL:** That is a huge-- exactly. That is a huge piece out there, which is even today not necessarily being followed or paid attention to. But it goes all the way up, up the stack to various levels of abstraction. And so you can see within your application, you can bring in frameworks that are trying to use-- or that are trying to make it easier to use stuff like Paxos or really high-level abstractions around reliability. My current area of interest is a middle ground, which is frameworks to make a dressing external and internal-- things on the other end of a TCP connection, essentially, more reliable. And this is one of the things that Stanza Systems-- my current company-- does. But the basic idea is when you are executing a function, the function has some set of preconditions, some set of post conditions, like things you expect to be true after you invoke the function. But depending on the complexity of what you're working on, you probably need to wrap your functions, check return codes, have if-then-elses for strange failure cases, and so on. But you need to assemble these functions in a way that the programming leaves you with safe results. That's another way to look at it. You are trying to write software so that the output will be safe. You won't change state too much. You won't overwrite user data. You won't mistakenly assume a bunch of things are true and scribble all over storage when in fact they're not true, and so on.\n\n**STEVE:** Silvia, did you have something to add to that?\n\n**SILVIA:** I was going to say I really like that approach because when I work with teams, whether it's a database reliability problem or a larger, just like, more ambiguous reliability concern, what I've seen a lot is as engineers, we are, like Niall said, we're primed to think about the code we write as it does thing. And if you flip the script in their head more towards, I give it x. I'm expecting y, and therefore checking for like is it true? It feels like a bit of a mind shift for a lot of folks to just recognize that you may be writing this code. And it's doing these steps, but if the outcome is not what was expected-- and I feel like that is so similar in my mind to how we always tell people write tests first, but it's like at a much higher abstract level than write unit tests and then write the code, which I feel is more effective. Because unit tests are great, but they're still not going to give you the big picture.\n\n**STEVE:** There's happy path programming and then all the other stuff.\n\n**SILVIA:** Exactly.\n\n**STEVE:** But that sounds like a lot of work. But it turns out it's important.\n\n**SILVIA:** And it's funny because I grew up in my career from operations and into database things. And so I've lived all my life in like the shit is broken in production and then trying to align that mindset with engineers who are like, I write code. Is it going into production? So it's good. And it's like, oh no, but like you wrote code and went in production, and then other things happened. And like you say, the happy path it's a double edged sword, but, like, I try to always come in when I'm working with teams on like a design document or like a plan for how to build the thing. I'm usually-- like my reputation internally at Twilio and it past companies has been like, I'll come in. I'll be like, take this part out. It's more like much more paranoid planning than happy path planning. And this is the two things that are always slightly in tension, but you need them both to get better outcomes.\n\n**STEVE:** Cool.\n\n**JORDAN:** It's kind of like packing for a trip, and then you unpack, and then you repack in a different configuration, and eventually you end up with something. But next time you'll know better how to pack your stuff. Maybe next time you'll have a go bag in that way of thinking about what you're putting through the testing for going forward. For both of you, there are many reasons you might introduce these type of changes or improvements. Some could be born out of Niall's favorite failure or other reasons, motivations outside of your control, like do you have a stakeholder telling you to do these things? Is it a technical improvement to implement a change or improvement? How many times is stuff born from an outage versus out of a want to improve something? So open for both of you.\n\n**SILVIA:** It's definitely a lot more outage.\n\n**STEVE:** Or how should this work? Like how would you suggest people approach this?\n\n**JORDAN:** Great question.\n\n**SILVIA:** So what usually happens is out of outage. My attempts, what I try to make happen is to take it to the next level up where you're not just solving for the outage that happened. See how the outage that happened could happen in another way? Like you landed in this bad spot. It's not the only way to get into this bad spot. You landed in a spot where you realized your backups were not working. There's going to be very different ways, like many, many ways, to figure out that maybe apply some fire drill or backup testing. This is a very simple example. So it tends to be that way. And then there's the whole universe of things that happen from outside of outages where the first one that comes to mind is all of the compliance burdens and the data residency burdens that a lot of us have to deal with, especially as companies grow. So those tend to come far more as either a hypothetical or it's like, audit x tells us to do this thing, and therefore we should do the thing.\n\n**NIALL:** So I think my answer is it depends, which is a great kind of staff engineer response to-- principal engineer response to more or less everything.\n\n**STEVE:** Fine. He got us.\n\n**JORDAN:** We walked right into that one.\n\n**SILVIA:** We should have had a countdown for, it depends.\n\n**STEVE:** Well, that's one so far. We can count them, at least.\n\n**NIALL:** So my particular version of it depends in this case is related to all kinds of things around engineering culture. For example, you can be strongly product management-driven as an overall end product org, for want of a better word. And you can have loads of features coming down the backlog where you don't have a whole load of choice about where they're coming from. Maybe there's things to respond to. Like, Spectre and Meltdown and crap ton of software engineers around the world were doing things quickly in order to respond to security incidents, and that has not changed in the six years intervening and neither do I expect it to. So there's a load of underlying reasons why this could happen. One interesting one, which I think often isn't discussed, is responses to complexity, because one of the things we end up doing in the reliability space is we stand back from an architecture diagram and we go, actually I don't understand this, and I don't think anyone can. Is there a way to simplify this? So simplification can be a response to certain kinds of reliability problems that flow from complexity. Of course, simplification can be done in a number of ways. One extremely common way in the software industry is to go, eh, a bunch of incomprehensible stuff. Now I will put it behind an API. And now I can forget about it, which has the problems that we've discussed.\n\n**SILVIA:** The closet nobody wants to open now.\n\n**STEVE:** Perfect. What could go wrong?\n\n**NIALL:** The problems we discussed earlier. There's another way, which is traditionally speaking, not really done in the software industry, which is to turn things off or stop running things or deprecate old things, not just upgrade, but actually get rid of them. And obviously, again--\n\n**JORDAN:** What does that mean?\n\n**NIALL:** [LAUGHS] The details--\n\n**STEVE:** Not understandable.\n\n**NIALL:** The details of how this works, well, they vary a lot. But one of the things I'm noticing in the outside world is that actually cost control implications can run in alignment with simplification initiatives. And you can go-- actually this thing only reproduces % of our income, and it costs % to run goodbye or, like, equivalent.\n\n**STEVE:** So one question I have is, let's say you have a service which is worth making more reliable. It is not in the %, % category like you just described, but it actually makes us money and somewhat problematic. So, like, we should maybe make it better. What do you think? Given something like that where it's not totally broken but it's also not the best, is there a magic spell that I can use to convince my bosses that this is time worth spending? Essentially like what I'm getting at is like, is reliability feature work, is there a way to prioritize it or get it done when it comes to the prioritization mechanisms that companies out in the world tend to have? Like, I expect that it is not always obvious that this is the right thing to work on. Is that true or untrue? What do you think?\n\n**SILVIA:** Casandra comes to mind. Not the database.\n\n**JORDAN:** Have you asked the witch in the woods for the spell?\n\n**SILVIA:** I've been called that a few times in my lifetime. But Niall had his hand up first.\n\n**JORDAN:** Yes. Very good. Very good.\n\n**NIALL:** So there are two answers to this, the industry standard answer and the answer I have settled on in the past year or so, which I like talking about a lot. The industry standard answer-- actually, I shouldn't say the industry standard, but it is a common theme is OK, what was the cost of the last outages of this type divided by ? Roughly speaking, not addressing this costs us x, addressing it would cost us y when y less than x, then OK. Do it. Which in fact is a rampant simplification of a very large number of typical kind of social interactions, and sometimes they are business related, et cetera. The answer I have settled on most recently, which I think is much more interesting, even though it's not necessarily more correct, is based on a piece of research by Microsoft, which showed in summary, that for a given product-driven backlog, approximately one third of all of the features were positive when implemented, which is to say that they yielded about the amount of cash or additional users or whatever it was supposed to do, it did it. OK, fine. One third were neutral, which meant we can't really detect any change in the metrics here. And one third were net negative, which is people stopped using the product, or it cost more than it yielded and so on and so forth.And so if we were in an evidence-based policy world, we would be able to go to folks in the business and in product, and so on, and say, % of the time your thing will not do what you think it does. Over here I have a fix for your infrastructure. It will do the thing that we think it does. How about we exchange your thing for this thing, which on average will be correct?\n\n**JORDAN:** Yay.\n\n**NIALL:** Those conversations--\n\n**STEVE:** I fail to see the problem. This sounds like a perfect plan. Let's do it.\n\n**SILVIA:** If only all VPs would listen to that.\n\n**JORDAN:** I know. It'll work, right?\n\n**NIALL:** So there's some nuance here about how you would address that. But I think the underlying intuition that actually-- quotes were not very good at figuring out what's going to happen with the software after we have written it, which of course, is true. Software is a complicated thing. The world is a complicated thing, and so on. All of that being true, you would like to say, generally-- not always-- but generally reliability work has the kind of scope that allows it to be interpreted-- its consequences to be interpreted way better than overall feature work. And so you could trade a much wider scope for a narrower scope or whatever. Now of course, then you get the implementations or the reliability work, which is actually build new system x or retrofit Paxos into your data model or screaming horror style stuff like that. But in general, I feel we should be making more petitions towards complexity, simplification and all of the other things I was talking about in the context of the Microsoft research.\n\n**SILVIA:** I would say my answer to this is, well, first of all, again, I always go back to-- the research is I'll actually remember that paper, and I like it a lot, but it comes down to what are the system you're in. So assuming you have supportive leadership, which is an easy one to just say in a podcast, but it's a very real concern from one company to the other. So assuming you have leadership that truly wants to understand how to assess these trade-offs, one of the things I'd have seen in the last few years that have really improved the conversation about these things-- because ultimately we're trying to quantify squishy things like, if I change this, will it break later? It's we're trying to apply some kind of measurement to things that are basically trying to forecast the future. And one of the things I've really liked using a lot have been DORA metrics, which I suspect is the same. Shout out to Dr. Forsgren because I know that the paper from Microsoft was also her work, I think. I hope I didn't get that wrong. But DORA metrics are one of those things that I know have evolved past the annual assessment that we see every year come out. But at their heart-- and I highly recommend the book, \"Accelerate,\" because it goes much more deep into why these are the metrics that it landed on. It can help leaders quantify things like it's not just that this service makes us money, the team that's on call for it is scared to change it. Like that's a squishy feeling that if you couple with something like change failure rate-- which is one of the Dora metrics-- you start actually seeing data around every time they do a deploy to it, something small breaks, and then every deploys or so something big breaks. And therefore, the team's confidence in making changes to the service that makes us a lot of money is declining. That needs to be addressed. And it becomes-- you start applying slightly better measurements to things that are far more squishy in feeling.\n\n**STEVE:** Yeah, I think in the past, we've always had, well, every domain is its own special snowflake, so how can we possibly compare them? But I think DORA and \"Accelerate\" gave us some really good numbers, and they show, like well, yes, they're all special, but they're all stuff running on computers, so we can measure that part of it.\n\n**JORDAN:** So can you talk about in the lens of building stuff into software to support reliability, what spells has the witch of the woods already given us to help us with that? So example, exponential reach highs, jitter, rate limiting, load shedding stuff. We have some magic here. Can you talk about some of this magic, maybe some of your favorites or an example of when you've used stuff like this to accomplish a reliability goal?\n\n**SILVIA:** It will never cease to amaze me how many times and how many different ways a company can have an incident because they internally had a DoS dynamic. Like system A was doing this, and then system B just had no clue what the hell is about to happen. And boom, I mean don't let your--\n\n**STEVE:** Stop hitting yourself kind of thing.\n\n**SILVIA:** I know. It's just and it's--\n\n**JORDAN:** The call is coming from inside the house.\n\n**SILVIA:** Yeah. And the thing that I keep saying to engineers when these happen, it's like it's not that this particular way you do it is going to prevent this from happening. It's like this will happen. You just need to be far more paranoid about it. For example, don't ever let a logging call be synchronous. Writing a log line should not take down your service. Sending a metric should not take down your service. Now, there are going to be certain things that should take down your service. Like, you're about to write a line to a database and the database is not there, that's a valid reason. And then for that one, you start thinking about how fast you can fail over. Do you really need a single writer database? What happens if you switch this to a database that's more availability than consistency-oriented? Like there's other things. But like the way that the same smells keep happening, it still surprises me, to be honest.\n\n**NIALL:** So I think of this a little bit like using one of the analogies from earlier. If you think of RPC calls as externalized call stacks for one machine software or one computer software, then every time you're calling another function, you're making an RPC, I mean, obviously. But I think people kind of tend to forget that actually there's a call chain which is a software stack, which could and should be regarded as no more complicated and difficult as pulling the registers or heap or whatever for your particular application. But actually, as a matter of observed reality today, it's just really, really hard. And it's particularly really, really hard in the cases where you are DoSing yourself in the cases where traffic management should be a hugely powerful lever for you to control your call stack but actually isn't because you don't have the tools, et cetera. So we do rate limiting as a service as well as a bunch of other things. And so rate limiting in terms of being able to in real time control and cap and prioritize, in particular, various call stacks over each other is I think actually a much underused capability in software. There's actually a ton of open source things that do bits and pieces of this, but most people don't really think about the DoS cases. Of course, starting off you're like, hey, if I'm DoSed, my thing is popular. Excellent. That's fantastic. And then you get DoSed a couple times in a row, and people are like, I will go to your competitor, and I'll never see you again.\n\n**SILVIA:** They don't trust you now.\n\n**NIALL:** They don't trust you now. Also as an SRE nerd, I think we as a profession don't really understand customer trust very well, and we're not sure what causes it to be lost completely and what causes it to be sticky, et cetera. So there's a lot of nuance there. I think we don't understand. But traffic management, rate limiting prioritization, load shedding, particularly the client side load shedding where you can stop actually sending the work rather than the work just arriving at the machine no matter what, and it actually has to deserialize the protobuf and make a bunch of decisions, et cetera, to drop it, which is more work. You actually want to control the client side. All of these are hugely powerful techniques which I think are underutilized.\n\n**NIALL:** Exactly. And I think one of the crucial differences between folks who are raised in the product management or product developer tradition is that often they do think very fine grainedly about the minutia of the thing that they're trying to deliver. But the holistic picture is often not present. And in fairness, they're not rewarded for the holistic picture necessarily. Now, of course, this picture is complicated and its staff engineer tends to get a bit more horizontal and so on and so forth. But broadly speaking, those kinds of differences exist, which means that folks raised in the reliability tradition often have more understanding of cascading failures, subtleties about load balancing. I remember being delighted when I discovered that a system could return s way quicker than it could return the legitimate data that it was in fact supposed to, which meant that those systems attracted more traffic from the lowest latency load balancer configuration that pertained at the time but not the day after or any day after that. So there's a lot of subtleties in these things.\n\n**SILVIA:** One thing that just stood out for me in what you said, Niall, it's a good thing that now in this field-- I remember circa seven, eight years ago. I remember I wrote this blog post about being a principal engineer. And like the reaction I got from it was like, wow, that is cool. And I was like, really? Y'all think this is new, like this is how it should be? But one thing--\n\n**JORDAN:** Nerd.\n\n**SILVIA:** I know. But here's the thing. Like when someone gets promoted in their IT ladder from senior engineer to staff plus, it's not like the next day they suddenly can now see the whole system. I wish it worked that way. But what happens is like one of two things you're going to end up learning as an engineer, and my hope is that a lot of the folks who are interested to listen to this podcast are looking to learn these skills. One of two ways you're going to learn this, you're either going to live through some really traumatic incidents in production that teaches you how these things can happen, how those cascading effects can occur. Or you go learn from other people's experiences, drama, how they did it, and always keep an eye out on the patterns. And my hope is that more and more folks learn these skills the second way rather than the first way. Because if we all as a field only learn it the first way, then we're also going to be slogging through incidents.\n\n**STEVE:** That's a great point.\n\n**SILVIA:** And the hope is you don't.\n\n**STEVE:** Yeah. So given that, thank you for the perfect lead in to my next question. My question really is, if we have all of these tools that are possibly available to us, should only we get them and use them and be proficient at using them? And we have these systems which we don't really understand perfectly well. Do we have to wait for incidents to happen to be able to know which tools to use where? Or can we look at other people what they've done and maybe make an educated guess? Or is there maybe something else we can do? I'm curious if anyone has seen more formal tools. So I've seen things like TLA+. There's a system called STAMP, not a system, but a methodology called STAMP out of MIT. Are these more formal systems ever helpful in helping you determine how the system might better be controlled in the future? This is like proactive, getting in front of it approaches.\n\n**NIALL:** Actually, I've used TLA+ myself a bit. And the number one person to talk to about this is Hillel Wayne, who runs a consultancy and does training. And I actually have the benefit of a small amount of training with him. But he also does a newsletter on software and computer things generally, which I highly, highly recommend. Anyway, plug over, reasoning formally about your system, the set of transactions that can happen to it, the pre and post-conditions, and so on, hugely, hugely valuable in terms of the complexity of the space that you cut off by making sure that your system can't get into undefined or weird states-- or well, maybe making sure, but reducing the probability a lot. I do believe there's serious things. And in fact, it's not a matter of belief. There is serious benefit to doing this kind of stuff. And in terms of your other question, which I'll deal with only briefly, with respect to, is there anything that we could use to help determine where we would spend our reliability dollars or infrastructure or frameworks or however you would think of it? There's a huge tradition in the incident analysis post-incident response space, et cetera that tries to, I suppose, address some of these questions. I am afraid, hand on heart, I'm definitely an it depends person in this context. There's lots of frameworks to use. They're kind of bicycles for the mind style things, typically speaking, but there is a cost benefit to them. And I don't think there's an algorithm to choose these. Anyway, that's where I am.\n\n**SILVIA:** So I'll take this question back to like, it's not first about the tool. It's first about the people. This might be a shock to this audience because we're all steeped in this, but I still routinely encounter teams where they just don't think they need to spend time sort of preparing for incidents, whereas like they've just accepted that incidents happen to them. So getting folks to just get out of that mindset first is probably like job number zero. Having gotten to that, one number of the things that I recommend to teams that I've seen actually been very useful in the past is try to-- first of all, one of the things that are very up and coming in the field right now and a lot of people are sort of taking on is domain design. You start off like if you are a company that has grown so much that you have multiple products, you cannot continue with those products just like haphazardly flat network talking to each other because now the space of possible failures becomes untenable. Now I understand the risk of what Niall was explaining earlier of you can't just shove things behind an API and call it good. But there's a happy medium. You need to find the Goldilocks where you shove the parts that actually make sense together behind APIs. And so you can separate making those individually reliable and then separately figuring out the cross communication being more reliable. At minimum, there you start gaining things like blast radius mitigation when actually things break. One of my favorite things to do with teams are things like tabletops where once you know what your domain look like, you start talking about, OK, traffic is x. What's going to break first? We don't even know. OK, well, we should know. So things of that nature, like the hypotheticals that you probably will have a hard time testing in reality in production. But you should think about what are the parts that need load shedding more than others? What are the parts that are like, yeah, this is probably-- Like, you start recognizing this service that is in the middle of every single call hot path is probably x away from having way more failures. What's the ceiling of its performance? And we start talking about this is how you start recognizing things like if we don't start planning for rewriting this thing now, in a year we're going to have a lot of incidents, and by then it'll be too late. Because a lot of times-- and this harps all the way back to customer trust, because by the time the customer walked out the door, it's too late. So you don't want to find out how many incidents it will take to lose half your customers. That's not a number you want to find out. You want to just never get close to that number.\n\n**JORDAN:** We are unfortunately running out of time. So we have some time for some very quick questions for you. Where can we find you on the internet?\n\n**SILVIA:** So I used to be fairly active on the formerly known artist, Twitter, but I don't anymore. I suppose at this point my blog is on dbsmasher.com. And a lot of what I explain, if you're interested in it specifically in a database lens, go find \"High Performance MySQL\" version 4. It was a lot of fun to write with my friend, Jeremy.\n\n**STEVE:** Cool.\n\n**JORDAN:** Awesome. Niall.\n\n**NIALL:** I am still on the artist formerly known as Twitter. I am on LinkedIn. You can find my company at www.stanza.systems, and I also keep a blog on reliability issues, which is at a URL-- search for my name kind of. Like, maybe it's the 5th result or something. I'm really selling this [INAUDIBLE] this is cool.\n\n**JORDAN:** Definitely.\n\n**STEVE:** We can link it in the show notes.\n\n**SILVIA:** Go read his book.\n\n**JORDAN:** Read the book. Absolutely.\n\n**SILVIA:** I keep telling folks, the SRE handbook, go get that too.\n\n**JORDAN:** Awesome. Well, thank you to Niall and Silvia, my co-host, Steve and The Witch of The Woods for this episode of the \"Prodcast.\" Have an awesome day.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN:** You've been listening to \"Prodcast,\" Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google where you can find papers, workshops, videos and more about SRE.\n\nThis season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe \"Prodcast\" is produced by Paul Guglielmino, Sunny Hsiao and Salim Virji.\n\nThe \"Prodcast\" theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 39487, "slov": 7141, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:40", "sha256": "a18aaa1aa9e2559693c18b359cbdfc776243f94313a56544e234388eeb8cba5a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06", "titulek": "Incident Response with Sarah Butt and Vrai Stacey", "h1": "Incident Response with Sarah Butt and Vrai Stacey", "popis": "Sarah Butt (Principal Engineer, Centralized Incident Response, Salesforce) and Vrai Stacey (Staff Software Engineer, Google) join hosts Steve McGhee and Jordan Greenberg to dive into incident response-particularly tooling and software for reliability incidents. Tune in for an in-depth discussion on topics such as the importance of communication and collaboration during incidents, and the role of tooling in supporting incident response processes. Sarah and Vrai also share personal takeaways from incidents they have experienced.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06"}, "headline": "Incident Response with Sarah Butt and Vrai Stacey", "description": "Sarah Butt (Principal Engineer, Centralized Incident Response, Salesforce) and Vrai Stacey (Staff Software Engineer, Google) join hosts Steve McGhee and Jordan Greenberg to dive into incident response-particularly tooling and software for reliability incidents.", "image": "https://kstatic.googleusercontent.com/files/71d1f1480945068a04f9914b6a8f43e07efa21aa50d8821124cb0173dd177319c501413756ab22e4bdd22f69f8d1b9ee9622fe45a961ef62f5c13ba387ac5e67", "author": [{"@type": "Person", "name": "Sarah Butt"}, {"@type": "Person", "name": "Vrai Stacey"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Response with Sarah Butt and Vrai Stacey"}], "markdown": "# Incident Response with Sarah Butt and Vrai Stacey\n\n**Sarah Butt** (Principal Engineer, Centralized Incident Response, Salesforce) and **Vrai Stacey** (Staff Software Engineer, Google) join hosts **Steve McGhee** and **Jordan Greenberg** to dive into incident response—particularly tooling and software for reliability incidents. Tune in for an in-depth discussion on topics such as the importance of communication and collaboration during incidents, and the role of tooling in supporting incident response processes. Sarah and Vrai also share personal takeaways from incidents they have experienced.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE**: Welcome to season three of The Podcast. Google's podcast about site reliability, engineering, and production software. I'm your host, Steve McGee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nHey everyone. Welcome back to season three of The Prodcast from Google. This week I'm joined again by our co-host, Jordan.\n\n**JORDAN**: Hey.\n\n**STEVE**: I'm Steve McGee, and we have two guests this week. We have Sarah and Vrai. Why don't you guys introduce yourselves?\n\n**SARAH**: Yeah, absolutely. My name is Sarah Butt. I work with Salesforce with a team called Centralized Incident Response, which is part of Salesforce's reliability engineering organization.\n\n**VRAI**: And I'm Vrai Stacey. I work in Google's SRE on our internal incident response tooling.\n\n**STEVE**: Awesome.\n\n**JORDAN**: Awesome.\n\n**STEVE**: So in this episode, we're going to focus on incident response and specifically about the tooling and the software that teams might want to use or might realize they don't have and they need to build themselves. But first off, what do we mean by an incident? There can be lots of things. Basically the stuff that goes wrong and everyone has to go, whoa, wait, what was that? Sometimes there's security incidents, and they can be a little bit different from reliability incidents. We're going to focus today on reliability. But Jordan had an interesting one that I think he kind of helped set the stage. Let's hear your favorite one, Jordan.\n\n**JORDAN**: Yeah. So many years ago at Google before I joined the SRE TPM team, I worked on the support team. And we got a funny ticket from an SRE that said we needed to get additional Wi-Fi access points installed in the bathrooms, because the old building was not allowing the data to flow through the walls and you maybe missed a page here or there just to meet the SLA. We have to get better Wi-Fi.\n\n**STEVE**: That counts too.\n\n**VRAI**: Which may have been me if it was London because we had that exact same problem when we moved into our new building. And you had to find a secondary before you went to use the facilities, which was suboptimal.\n\n**JORDAN**: Wow.\n\n**STEVE**: Was that PS, Vrai?\n\n**VRAI**: PS, yes. So our Kings cross campus.\n\n**STEVE**: I was there too. I remember that actually. I remember moving into that office and there were some issues. And so this is actually a really great funny example because who saw that one coming? Was there a playbook for this? Probably not. Some complexity has arisen through outside mechanisms that we didn't see happening. So that's awesome.\n\n**JORDAN**: It goes to show how important the process is when it comes to communicating and talking with your team when having an incident. So why do you need to get paged in the bathroom? What is incident response, and why did you need Wi-Fi to be the person who fixed whatever was going on that day?\n\n**VRAI**: So at the time, I was on call for some of Google's network infrastructure, predominantly the part that connects our Google's internal systems to the internet. So it's kind of critical for what we would do, how we do business. And, as you mentioned, the building, we just moved into it, had terrible cell phone coverage, terrible Wi-Fi. And we had a three-minute SLO. So we were expected from having been paged to be in front of a computer fixing a problem within three minutes. That meant if you needed to go and spend a penny, you basically needed cover if you couldn't get your coverage. Otherwise, you could be incurring ad serving could be down. YouTube could be down, and you would have no idea until you got back into somewhere where your phone could shout at you again.\n\n**STEVE**: Yeah, an important point is this implies that you were the one on call. It wasn't like drop a message into a common thing. It was like a single person gets a single message. Is this common do you think, or do people start out this way or is this something that evolves over time? Maybe you guys can tell us about your picture of how these systems tend to work out in the world and what systems are required to make this work right.\n\n**SARAH**: I think the single team, single person rotation, that's something that I've definitely encountered, especially I think depending on size of company, or resourcing, or how critical it was. And one of the things that I've tried to encourage as I've led teams or set up rotations is not having a single point of failure in terms of just one person getting paged. Now that might be we have a person that gets paged and something happens and that rolls through them for some reason, and then two minutes later the next person is getting paged, or it might be two people get paged in parallel. And that's expensive to staff. I'll be the first person to say that's expensive to staff. And some of the things that I've had to talk through with people is like, can you partner? If you are an SRE team that partners with service learning teams as well, can you all partner together to share the page? Can you partner with similar teams where even if you don't have the deep expertise, both teams can do troubleshooting on each other's service just to get more people in rotation? Because I think there's a very human cost of rotation that comes into the need to also provide robust coverage. I'm very lucky, I would say, on the team that I'm on right now that we do-- we always have a primary and a deputy, and they're both getting paged for every incident that we're taking, and they're always on and supporting. To tie that back to the tooling, though, you also need tooling that allows you to do that. Whether that's a quick override or you need the ability to have paging in parallel. So I think figuring out the way to do that is equally important because missing a page feels really terrible. I've always when I've been on a call, I've felt very responsible for the systems I was on call for. And there was nothing worse than feeling like I missed a page and let my team down.\n\n**STEVE**: Totally.\n\n**VRAI**: I mean, absolutely on that front. I did have a secondary, just to be clear, and that was the person I would have handed off to. But, again, it's not so much the I will have to pull through, and it'll be fine. It is there's a kind of personal pride if you are on call about making sure that you are on call, and you're ready to go, ready to leap into action if and when required. But, yeah, absolutely I agree also on the tooling. You really need tooling that will fit your needs and your rotation not having to build your rotation around suboptimal tooling, which they may not allow parallel paging or proper portals and whatnot.\n\n**STEVE**: So you get the page. You have this tool that lets you someone take over or make sure that you don't get paged while you're on vacation. So I can see how tooling works there. And that arises through figuring it out. We have a team of people that have certain demands because they're actual humans and they're not just response robots. What comes after that? So once you get the page, you got to do some stuff. And same thing. maybe it's not just maybe you're working with other-- maybe you're actually collaborating. Can you imagine it? Can you tell us a few more things that come up in terms of, what have teams or companies developed in order to assist that process of right after you get paged, then what? Do you just do it in the dark in your terminal and that's it? All you really need is like a Unix system, or is there more to it than that?\n\n**SARAH**: I think the way that people define incident response tooling is always really interesting to me, because there's several lanes of it, and there is the traditional lane, which is we use whatever chat platform or voice platform paging platform. There's a foundational level there. I think we're seeing in industry a new level of tooling as well that is specific incident response, whether that's thoughts and automation or tools that help in the post-incident review. But we're seeing that as an actual market segment now where vendors are coming into that, and I think internally teams are building that as well, depending on the size of company and the resources they have. But I always encourage people that like your incident response tooling is much broader than you think it is. So it's also your monitoring and your observability and the dashboards that you have access to and how do you interface with your customer support folks. So some of the tooling that I've seen built is things that really surfaces, information that responders need to make those quick triage decisions. So it's like if you have a failover and you need to know if your standby site is ready or your standby is here or whatever it is ready, surfacing that quickly to responders.\n\nIf you need to know if you're getting customer cases in certain regions or not surfacing that to responders, being able to look at something, a CUJ or a Critical User Journey, I think all of those are also tools in your system. And as we learned earlier, Wi-Fi is a tool in your system. These system boundaries are much fuzzier than we think they are.\n\n**VRAI**: There's a particular issue certainly for companies like Google where we have quite high levels of vertical integration. So being on call for say, the network means that in theory, something you could be on call for could fail, and that would remove your ability to use a bunch of your tooling depending on how deep the stack was. So to go back to collaboration, nowadays, working on the tooling I do, we tend to collaborate using Google Chat, Google's version of Slack effectively, ChatOps being the big thing. Back in the day, you couldn't rely on chats being around because we were on call for something that sat below it. So we would actually use IRC. Do you remember that very basic minimal stack? But the first thing you do is you look at the problem, triage it, and just start pulling in people. You're part of a team. And we always adopted a view that if the on-caller needs your help, you drop what you're doing and help the on-caller. In the days when everyone was in the office, we could generally see by looking at a team how difficult their problems were by the number of SREs crowded around a single monitor. Whether they be a four or eight SRE issue.\n\n**JORDAN**: Oh wow. It's like a different measure. You have the five nines, but you also have the eight SREs.\n\n**SARAH**: Then you start setting severity based on the number of SREs. It's a different in the matrix. You've got like your intensity that you need your urgency and your priority and then the number of SREs around the monitor.\n\n**JORDAN**: Exactly. How many does it take to change that light bulb?\n\n**STEVE**: I think it might be a log scale.\n\n**JORDAN**: Yeah, exactly. So I was thinking about incident communication, how you communicate to your teammates. Like, hey, I'm working on this. This is the current update. Has anyone had experience also having to do the final layer of that which is like end-user communication? What do you tell the communications person at your company? For Vrai, it's probably Googlers who need to know, but I'm wondering if either of you have experienced saying like, hey, our service is down. How do these messages get made? And what do you have to consider? And what information is oversharing, under-sharing? Go for it.\n\n**VRAI**: So in both of my major roles at Google, both being in the traffic on call and working on the tooling, most of my customers have been other Googlers, at least directly. Obviously, there is a transitive dependency, especially in the network side of things, where an outage could affect large chunks of the world if you broke something really, really badly. Though, these days with obviously cloud being a huge part of our business, we do have to be aware that what may appear to be a small internal outage may have knock-on effects that are knocking out something customers have paid for and therefore are going to be legitimately angry if it's not available, and making sure that the data flows to them in a timely manner at a level that's useful for our customer care support people is becoming more and more important. And the tooling we're having to build more and more of it to keep this streamlined. So trying to move so that people can focus on what they need to be focusing on without having to do the busy work of data transfer and having that handled for them automatically I think is going to be increasingly important as we go forward.\n\n**SARAH**: It's interesting to hear you say that because that echoes a lot of what I've seen at other companies as well. So when I started doing incident management, I was working on a large e-commerce platform. So that obviously had external users and a lot of whether that was support agents or success managers, account execs who were very interested in what was happening with the incident. As I've come to Salesforce and other companies, I've had similar where there were definitely layers of external communication. And one of the things that I've worked on recently is like, how do we provide sufficient communication and transparency to-- in the case of Salesforce, it's to our teams that equip our customer-facing staff while at the same time keeping what we call the bridge airtime clear for engineering and mitigation efforts. And so, there's a lot that we've tried to do as far as the tooling goes to both reduce that overhead but also create parallel channels and paths of communication. So can we have the voice bridge focused on the engineering mitigation, because that's where we need the most high bandwidth communication to happen at that time? And then, can we have a separate Slack channel that's talking to our customer support folks-- or in our case, we call it the CIC-- to get them that information? And then, in some cases, if we need to have that, how do we flip them? But basically, how do we create this adaptive system with multiple channels of communication that allows people to focus?\n\n**STEVE**: That's really interesting. It's something that I've seen that I feel like I'm hearing as subtext in what you're describing is like there's the incident itself. Like fix the broken blah, and then you've got a bunch of them over time. But then you have to go back and be like, every time we try to fix the blah, we struggle because we have this meta-problem. And either it's the tooling or the lack of tooling or the we didn't even realize we needed tooling. But basically, it's some systematic thing that is imperfect in some way or maybe the way we're adapting because our team got bigger or we supported more services in the last six months or whatever. So this I've seen come up when doing like retrospectives and especially if you're doing more than just one incident but like doing a retrospective across many incidents at once. Have you guys seen teams do this analysis a lot? Does it just happen? Is it just kind of like people just make a guess as to what we should build or buy next when it comes to tooling? Or is it more explicit like let's do a meta-analysis of the last months, months, months of incidents across different teams and figure out what's missing? Like how deep do teams go when they're trying to figure out how to make this system of response better?\n\n**VRAI**: It becomes tricky when you ask people to try and fix both the process and the systems because they will tend to over-index on their own particular use cases, which is fine if you're the only team in the company running on an entirely custom stack. But it becomes much trickier when you're trying to build something that works for a team dealing with the lowest level of a network stack up to someone dealing with this very broad customer-facing product. And I absolutely agree, your retrospectives or postmortems, as we call them at Google, are a critical factor for this, as is the kind of meta-retrospective where you take the outcome of many postmortems and try and find those common factors that you can identify and then streamline. And that's really how we do a bunch of our roadmap planning for our internal tooling. What can we fix or improve that will have the biggest impact, either in terms of the most people or just, are there areas that are causing customers, the company in general, just huge amounts of pain that we need to get on top of?\n\n**JORDAN**: I'm curious, do you ever end up in situations where groups have opposing needs based on their incident response styles? And how do you deal with the trade-offs in that discussion?\n\n**VRAI**: Yes, all the time, both from legitimate needs and perceived needs. Firstly, I think you have to accept you cannot solve everyone's problems optimally, even if you had infinite time and infinite resourcing. It's short of building completely discrete products for people. You would just end up with a spaghetti mess that no one could understand and no one could use optimally. So for us, we're focusing on the majority issue. We're focusing on the 80%. If we can get 80% of on-callers and people doing reliability reviews and people doing customer care in a happy place with the core product, that's fantastic. But the remaining 20% it's extensibility and customization and making sure that people with legitimate business cases that are different from the norm, that we're able to support them. But at that point, we're kind of saying, we're delegating this functionality or this part of the system to an extension that you're going to run. You're going to look after, and that should be perfect for you, hopefully. I really don't see another way around it because in any large company, you're going to have such opposing viewpoints and opposing needs that one monolithic product isn't going to do the job.\n\n**SARAH**: That echoes an experience that I've had at a previous employer where I was dealing with a vendor, and we had a very specific use case. And I knew that they weren't going to be able to build exactly for us because it didn't make sense for the rest of their customers. And I remember talking to them and just saying like, all I care about is giving me the best APIs possible. If you will give me an API, I will have my engineers build the other piece of it. And I called it a bridge at the time. I was like, I just need a bridge. Like just give me the pieces so that we can make the bridge halfway, and we'll take it. And I do think that when you get into some of the build versus buy considerations, people kind of assume it's this binary. We're either going to build or we're going to buy. And there are often cases where you're going to do both, particularly in these larger and more complex implementations. And so, getting people to the point where they're willing to wrap their mind around that we're going to buy a foundation and we're going to build our needs on top of that versus just assuming it's going to come for us perfectly out of the box.\n\n**STEVE**: Yeah, I often hear companies ask like, what systems should we use for incident response? And my response to that is like, I don't know. There's a lot. There's so many.\n\n**JORDAN**: Whatever works, really. Whatever you have.\n\n**STEVE**: Yeah, but it reminds me a bit of the Unix utility model of just like I need sed and cat and grep. They all work together. There's not just one-- I don't just type \"Unix\" and hit enter. There's a bunch of things that I need at different times. And so, it's not clear that you're going to have one tool to rule them all. And also, the tool that you need, you might not even know that you need it yet until the hard day.\n\n**SARAH**: There's one flip side of that I wanted to add because I think it's easy when you're in a smaller company and maybe you don't have a budget, or you're in a company that's very conscious about security things and incidents, and they don't want to touch tooling. I've talked to people who get very discouraged who are like, I hear about all these great tools, or other people have the resources to build these tools, and we just don't have that. And one of the things I would actually say to those people is like, you have tools. You're just not calling them tools. I have been amazed at big companies with amazing incident response who have done it with Google Docs or with a Google Sheet or with a Slack workflow. And so I just think just in case there's anyone listening who's like, this doesn't apply to me because I can't get budget approval or I don't have a team that can build it, you will be amazed at what you can do with a Google Doc because it's about how the tool fits into your process. It's not just if you can't buy the tool, you can't have good incident response. So maybe that's a little bit of a hot take, but just in case anyone's in that position, because I've been there before and been bummed out, and it really helped me to recognize non-traditional tools or foundational tools that like a spreadsheet is a wonderful thing.\n\n**JORDAN**: If nothing else, SREs are very scrappy. So while we have the flashy tools that are like, here's the incident response management tool that we use to show the severity, how many SREs it is, what the impact is, et cetera, where is the actual work getting done? Probably in the group chat, probably in IRC, probably in that Google Doc and then cut and pasted into the flashy thing. So I completely agree with you about using what you have and building the right process to synthesize all that information properly.\n\n**SARAH**: I am never going to tell people that as someone who has held various roles in terms of owning budget for buying tools or having resources that could develop tools, like I'm never going to tell you that some of those things didn't make my life easier. They absolutely did, particularly in these larger, complex environments with more incidents. But I just fundamentally also push back on anyone who says like, well, we can't improve things because we can't buy a tool. That's the piece of it. Did they help? Absolutely. They're lovely to have. But you don't have to have them to have a great incident management process.\n\n**VRAI**: Well, process is the keyword. Tools can assist you in having a good process, and they can make it easier. They can remove a lot of the manual work, but tools can't give you a working process. You can have the best tooling in the world, if you're not using them properly, your incident response is not going to be good.\n\n**SARAH**: Exactly.\n\n**VRAI**: So just to back up a bit when Steve mentioned the Unix approach, I would put some caution towards that, though, because that's effectively what Google used for many, many years, which was a series of components that have been bolted together over time. If you understood them, they were great. The problem was, it was taking months to train people to be able to use our on-call response tooling. And I think the trick is when whether you're buying or building tooling or as Sarah pointed out, using a combination of both by extensibility, you need something that is powerful enough to support your process but not so obtuse that only half your people can actually use the thing properly because then you get frustration. You get accidental misuse of it. And then, the tool becomes a detriment to the incident response process.\n\n**STEVE**: Speaking of amazing tools, it wouldn't be a podcast if we didn't mention AI, but we're only going to mention it briefly. Have we solved incident response with AI yet? Vrai, go. Like, easy answer. Nailed it.\n\n**VRAI**: Obviously, no. Otherwise, I wouldn't be working in incident response tooling. AI is a tool like anything else, and it's a tool that's making radical and great progress. And I think it can help remove a bunch of the toil from being on call, capturing, summarizing, categorization. It's great at that. Can it also help with very simple automatic rollbacks? Sure. But it's not creative, at least not at the moment. And until we get to that point, are you going to trust your company's crown jewels, the thing that makes all your money, to a system that could just make things far worse without human oversight? I believe we're on a road where sure, we'll get to a point where AI may become the predominant mechanism by which you deal with this, but I think we're some distance away from that without a radical leap forward.\n\n**STEVE**: One thing for the humans in the room and not the AIs is for a hot take moment. I'm wondering if each of you could define the term SEV for me very clearly and with no ambiguity. And the best part about this is [INAUDIBLE] is looking at me funny because Google doesn't use the phrase SEV even though the entire rest of the industry does. So like, what does it mean for an incident to be high priority? Like, what's the difference between P1 and P4, SEV1, SEV2? This is obviously a trolling question. But why is this a hard question? That's my real question.\n\n**SARAH**: Can I first refer out to there was a really fantastic presentation at Esri Americas this past year on what is incident severity but a lie agreed upon. It's freely available on YouTube, so I would highly suggest everyone go watch that. But the way that I tend to define severity is they serve your company as an indicator of an idea of the impact and the complexity involved in an incident. And so every company has different-- I've been at companies where we ran SEV1s every week. I've been with companies where we saw SEV1 once a quarter, and I never saw SEV2 or I saw one during multiple years of the company. Companies get to set them. They mean certain things within the company. But I do think it's interesting how I think there's a comfort that we try to get from severity level in that humans have this need to categorize things very neatly. And if I can put this neatly in this box, I'm dealing with this novel situation, and it's overwhelming, or I'm concerned about it, but I can put it neatly in this box. There are often a lot more fuzzy. And so, what I tend to tell people is like you call it the pink pony incident severity for all I care. All I need to know is, do you need-- in this case, CRR and my team, do you need our support for the incident? Then great. We will be there to support the incident. And we will be there to provide an incident commander and whatever piece we need to do. But I think severity is very much an organizational construct, and it's a model. All models are flawed, but some models are useful. That's like a bad appropriation of that quote. But I think that's what I would point to as severity, is like they are useful models in some cases. But there's a lot more there. It's a great SRE talk though. I would encourage. Em did a fantastic job with it.\n\n**VRAI**: I would agree that severity, it depends. Because it depends on what you're measuring. But ultimately, it is a communications tool. It's a way of saying like if it's a huge outage, to use our internal terminology, then that means all hands are going to be on deck. We know it's having an impact across a wide area, whereas if it's a negligible outage, it probably means only on-call is going to care. And if anyone is glancing, they won't worry about it. But there's no one size fits all, because there's no one size for any organization, any PA, any team.\n\n**STEVE**: Yeah, I've heard a good definition of it as Sarah said, you can call it pink pony, whatever you want. But as long as people understand what the outcome of each of these levels means, in some companies being at P1 or SEV1 means you have purchase authority or means you're allowed to bring in other teams, whereas if it's an SEV3, you're not allowed to page anybody else or something like that, like whether that's a good rule or not, whatever. But the point is, what is the meaning of assigning these letters and numbers like to the rest of the org or to your own teams or what you're able to do or not do or whatever? As long as that's well understood within a team, I think that's important. And then the next phase of that is to make sure you know that you're allowed to change it. Like once something is a SEV2, you can change your mind. You can be like, actually, no. It was a two. We're good. I joke with teams that I consult with, like when was the last time you demoted an incident? And generally, it doesn't happen. Like if it gets to SEV1, it's that for life, which is a bummer because it can change. You can understand it better.\n\n**SARAH**: I also try when I'm coaching people on incident response to encourage them not to get overly caught up on that during the incident. Like if you're spending more than a few minutes doing that when you should be mitigating-- I shouldn't say should. That's probably too strong a word-- but it's not worth the conversation when you're dealing with the impact. So I tend to say severity serves the incident. If the severity is serving the needs, we have the people. Even if we have to retroactively say actually we're going to upgrade that or we're going to change that, I'm fine with that if it means that it kept our airtime open to work towards the path to green. So it's just one of those things I tell people like it serves it. There's cases where I've said, OK, we're going to go SEV1 with this, and it's not going to be a discussion right now. And if it needs to be a discussion in the retro, that's fine. But what I need right now is the mechanisms that SEV1 opens to me, whether that's a path to additional teams, a path to legal, expedited, whatever it needs. And we can talk about later, do we need paths for those at lower severity so that I don't have to push the big red button to get that? That's fine, but we're not going to do it during the incident.\n\n**JORDAN**: Yeah, definitely.\n\n**SARAH**: There's another SRE talk that's fantastic, and I think I would be remiss to talk about this and not mention this talk to people as a resource. It's on the future of above the line tooling. It was given a few years ago. It's available on YouTube by John Alspaugh and Richard Cook. And they have incredible insight into some of this. One of the big takeaways that I've continued to use is this concept of clumsy automation, which is automation that increases workloads at a high workload moment for the responder and decreases it at a low workload time. So the academic paper that this came from talked about people using this in aviation. And if you had to do a bunch of stuff during takeoff and landing that made cruising easier, it actually wasn't useful automation because takeoff and landing are these high cognitive workload times. And so I would just say that talk is very worth listening to, particularly if you're going to be designing tooling or even having influence in your company's tooling because it gives a lot of insight from not just the tech industry, but also other industries that have dealt with tooling in these high acuity, high cognitive workload situations.\n\n**JORDAN**: OK.\n\n**VRAI**: I think there is a lot aviation can teach incident response in general just because it's an area of industry that's had so much time and money invested in making it safe as physically possible. There's a huge amount the tech industry can learn from how they deal and how they respond and their human factors training by how you can make sure that everyone involved in an incident feels that they're allowed to speak up and that their input will be taken on board, so you don't end up with just one person's tunnel vision leading you down the wrong path. I do have a bugbear about learnings and whatnot, but I could go on for far more than this podcast runtime about it.\n\n**STEVE**: Do you want to do a quick dive into that? So specifically, you're talking about retrospectives and getting learnings out of a system.\n\n**VRAI**: I mean, predominantly I find that a lot of the incident response tools and a lot of the response process discussion concentrates just on the triage and mitigation stage. It's about how serious is it, get it fixed. Stop the bleeding, to use the SRE terminology that we have. But if you're constantly solving the same problem and the same outage, yes, you may have a very slick process. By the end of it, you may have automation to help you. But fundamentally, an outage that you don't learn from is a failure. An outage that you learn from and that you take steps and you're able to prevent an identical and similar outages occurring in the future, it may have been costly, but there is a positive side to it. And I think we need to re-balance somewhat the investments in general in incident response into let's not have the same incident happen twice. There will always be new and interesting ways to break systems as long as people are using them and people are writing them. The black swan event, so to speak, would always be there to destroy the best-laid plans. But an investment in making sure that you're constantly improving your process, constantly improving your systems and just never falling down the same hole twice is worth vastly more, in my opinion, than just piling it all into having the slickest possible mitigation system you can possibly get.\n\n**SARAH**: I think one thing-- because I have definitely consulted with companies where they said, we don't have time for that. Everything is on fire, so we don't have time to do that. And the rebuttal that I've made-- and I need to credit John also with this, but he would always tell me, an incident is like the unplanned investment that you've already made. Like you've already made the investment. So I would tell you, what does it cost for an engineering hour? How many engineers did you have involved? Like you have already invested that. It has already impacted your customers. If you've already made the investment, it's worth it to actually get insight from that. And that's a skill set that takes some learning to do that and do that in a way that's psychologically safe and do that in a way that's valuable and generalizable. But I really would encourage companies that it's a worthwhile investment. One of the most encouraging things that I've seen is how I feel like as an industry, we're moving away from MTTR right now as the single be-all and end-all metric, and there's a lot more we could talk about that. And I will, again, just say like Courtney Nash did amazing work in the void report, and it's worth reviewing that. But seeing how processes and tools can get us insights beyond that in a way that is still low overhead is really an exciting next chapter in incident processes and tooling for me.\n\n**JORDAN**: So, wow. It sounds like it's a little bit fun but also terrifying to be in the pink pony club of critical issues affecting a service. So let's spend just a few minutes-- if you don't mind-- telling us about some of the most really intense incidents of your career and any sort of takeaways that you might want to share.\n\n**VRAI**: So in terms of probably the incident that took the most time to put everything back together, again, and I'm going to have to fuss over some details here because I can't remember off the top of my head how much we've announced about it. But this happened back when I was on call for the networking side of things. I came into the office one day, not on call, to see our on-caller there. And it turns out a large portion of our serving stack had disappeared overnight. And by disappeared, it seems that the automation that was there to securely remove data when we turned systems down had gotten a bit overenthusiastic and just gone through and very, very fast, purged them. All the machines were still there. They were still connected to the network, but nothing was running on them. And it's one of those areas where, as mentioned earlier, automation sometimes does more harm than good. In this case, there was a tiny one-line bug in the automation. That meant if you told it, gave it a list of machines to clean up, it would do it. If you gave it an empty list, it would be like, \"An empty list you say? Well, that means I'll just destroy everything.\" And it had been through and just removed this huge chunk of the fleet, which is kind of a testament to how, back in those days, overcapacity we were, that really I think only those people who go around constantly pinging us to check latency actually noticed there was an issue. But it so comprehensively broke a bunch of stuff that we had to manually reinstall huge chunks of the fleet to get it up and running, which took, I think, an entire team. Sorry, I forget how many SREs there were to count the problem. But it just struck me as one of those things that we built this tooling to save time, and now, due to one tiny error and the lack of having a human provide oversight, it had caused far more trouble than it had ever prevented. But this is why you have learnings. This is why you have postmortems and retrospectives. Don't have a system whose default behavior when you pass it an empty list is to just go on the rampage through your infrastructure. Seems obvious now, but apparently, it wasn't when the tooling was being written.\n\n**JORDAN**: Yes.\n\n**STEVE**: Gradual change is important. That story is actually in the SRE workbook. It's in a chapter. It's a case study in a chapter.\n\n**VRAI**: OK, so it has been mentioned.\n\n**STEVE**: You are certainly allowed to talk about it. It's in the book, or it's in one of the books. How about you, Sarah?\n\n**SARAH**: I don't know that I can give you a specific example, probably because my employer prefers me to adhere to my NDA and past employers as well. What I will say is, I've been doing this. This has been the predominant focus of my career for over a decade. It has been incident management, incident response. So I've seen a lot of incidents. I've also trained a lot of people on this. And when I talk to them, I guess my takeaway from these really bad incidents, the ones where you're like, we might end up on the news for that incident, like that was real, is always to tell them three things. And I normally tell them proactively as I'm training incident commanders or as I'm mentoring people, like you need to have these three things in place when you prepare to be on a major ICO rotation or whatever your company calls it. You need to know the people or the person in your company-- and they might be in your team, they might be a mentor outside your team-- that you feel like you can talk to to unwind from an incident. They are under an NDA. You can say anything about the incident. That person or people is so important. I really encourage people to build connections in the industry, whether that's on Slack or your social network of choice or at conferences, but developing friendships with people who work in this space but are not with your company is so key for that outside perspective. And I think I have finished up some just really adrenaline-flowing-- because the thing that I tell people is like, you can seem really calm as an incident commander. When you're in these really bad incidents and they're incredibly novel, everybody's a little bit terrified. If you're not terrified, I would like to know more about the ice that runs through your blood, but it does not run through mine. Having that person that's outside your company and outside perspective that you can go to and say like, I can't give you the details, but I just ran a heck of an incident, and I'm trying to unwind, and that kind of bouncing off of the person that's in the industry and gets it is so critical. And my spouse would probably say that he deeply appreciates them because otherwise, he would hear a lot about incidents over the dinner table. The last thing I tell people is to find something separate that gives you perspective because you deal with these things, and they're very real, and they impact a lot of people, but it's easy to make them your whole world. And so for me, I go volunteer at a children's hospital. My dog is a therapy dog. It gives me so much perspective every week. And that's not to say that that's the reason I do it, but it's one of the things like the secondary effects that I'm very thankful for. It's like finding a way to say everything about this is serious and it can be all-encompassing, and I want to put my whole heart and self into it, but I also want to have that perspective that, yes, the sky is falling, but probably only for one particular cloud.\n\n**STEVE**: Let me throw one last curveball in there for my story. Instead of an incident, I want to talk about how I've used incident response in my life, which is I use it to help plan family vacations because they are like an incident in the making, not necessarily in a bad way, but like there's a lot of stuff going on. There's a lot of people collaborating. There's outside events. And just having a way to think through it and collaborate effectively with your peers. We have each other. My wife and I are like secondary and primary on call, and we switch right throughout the week's vacation who's making sure we have train tickets and things like that. We have the collaborative way to find those assets when we need them, like who has the app with the right check-in code on it and things like that. And it sounds silly, but I honestly think that being able to handle this type of slightly pressured situation with a group of people transfers really well into the world.\n\n**JORDAN**: Deeply. Yes.\n\n**STEVE**: We don't have an incident management system in terms of tooling, but the process is there and the way of thinking. And the not panicking and the not blaming each other and the not running away screaming, because you know it's got to get done. We got to get on the train. We got to get the service back up. It's the attitude.\n\n**VRAI**: Do you publish postmortems at the end of your holidays?\n\n**SARAH**: Steve, I have to ask, because you asked us earlier. So what's the difference between a SEV1 and a SEV4 on a family vacation? Do your vacations have severity levels?\n\n**STEVE**: So there was one SEV1, which was when the train tickets did not exist. And actually, I was a solitary responder in this event. It was not a family vacation. I was just like on my own somewhere. The train ticket did not exist in my backpack where it was supposed to be, and the mitigation was to go buy another ticket immediately. And it turned out the train ticket was there. I just didn't find it. So then I had two train tickets. It was an over-and-above response.\n\n**SARAH**: Redundancy.\n\n**STEVE**: Yeah, it was great.\n\n**JORDAN**: Did you run your postmortem because you used resources?\n\n**STEVE**: The thing where I got lucky on that incident, yeah, I did actually write a postmortem for this just because it was funny. The place where I got lucky is while I was standing in line to buy that redundant ticket, I stood in line behind the only French astronaut that I know of. And we talked for a while about how he fixed the Hubble telescope. It was pretty rad. He was carrying a bag that had like [INAUDIBLE] on it and things. So that was fun.\n\n**VRAI**: That's got to be worth losing a ticket over.\n\n**STEVE**: I think so.\n\n**JORDAN**: I think it was on purpose, actually.\n\n**STEVE**: That's right. So you never know. Well, thank you both so much. I think incident response is one of the things that people think about maybe first when they think about SRE. But the depth at which you can go into it and the amount of detail is not always obvious. So I'm glad we got a chance to go through that today. Anything that you want to add, like places to find you on the internet where people can follow you or learn your favorite joke or whatever?\n\n**SARAH**: I am not cool enough for most social media, is what I tend to tell people. But I am on LinkedIn. And I'm always happy to chat. Like I said, I've spent most of my career doing this. I deeply love the incident space, so I always tell people, feel free to send me a message on LinkedIn. It might take me a bit to reply depending on how life is going, but I do try and reply. I always love chatting and getting to know people in the incident space. Similarly, if you see me at a conference, I'm always happy to grab lunch together and chat. So that's how you find me. I'm not cool enough for most of the social stuff anymore.\n\n**VRAI**: I am also not on most social media stuff, but I am on LinkedIn, to the best of my knowledge, the only Vrai on there. So I'm not too hard to track down.\n\n**STEVE**: Nice.\n\n**JORDAN**: Nice.\n\n**STEVE**: Cool. Well, thank you both. This was a blast.\n\n**SARAH**: Thank you. This was great.\n\n**VRAI**: Thank you.\n\n**JORDAN**: Thank you.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 45699, "slov": 8429, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:24", "sha256": "4dac1235bb516c96f2f7f0881dc4a2d128a3943ddeb6cbc4d9a499f5bb16d24d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06/", "titulek": "Incident Response with Sarah Butt and Vrai Stacey", "h1": "Incident Response with Sarah Butt and Vrai Stacey", "popis": "Sarah Butt (Principal Engineer, Centralized Incident Response, Salesforce) and Vrai Stacey (Staff Software Engineer, Google) join hosts Steve McGhee and Jordan Greenberg to dive into incident response-particularly tooling and software for reliability incidents. Tune in for an in-depth discussion on topics such as the importance of communication and collaboration during incidents, and the role of tooling in supporting incident response processes. Sarah and Vrai also share personal takeaways from incidents they have experienced.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06"}, "headline": "Incident Response with Sarah Butt and Vrai Stacey", "description": "Sarah Butt (Principal Engineer, Centralized Incident Response, Salesforce) and Vrai Stacey (Staff Software Engineer, Google) join hosts Steve McGhee and Jordan Greenberg to dive into incident response-particularly tooling and software for reliability incidents.", "image": "https://kstatic.googleusercontent.com/files/71d1f1480945068a04f9914b6a8f43e07efa21aa50d8821124cb0173dd177319c501413756ab22e4bdd22f69f8d1b9ee9622fe45a961ef62f5c13ba387ac5e67", "author": [{"@type": "Person", "name": "Sarah Butt"}, {"@type": "Person", "name": "Vrai Stacey"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Response with Sarah Butt and Vrai Stacey"}], "markdown": "# Incident Response with Sarah Butt and Vrai Stacey\n\n**Sarah Butt** (Principal Engineer, Centralized Incident Response, Salesforce) and **Vrai Stacey** (Staff Software Engineer, Google) join hosts **Steve McGhee** and **Jordan Greenberg** to dive into incident response—particularly tooling and software for reliability incidents. Tune in for an in-depth discussion on topics such as the importance of communication and collaboration during incidents, and the role of tooling in supporting incident response processes. Sarah and Vrai also share personal takeaways from incidents they have experienced.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE**: Welcome to season three of The Podcast. Google's podcast about site reliability, engineering, and production software. I'm your host, Steve McGee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nHey everyone. Welcome back to season three of The Prodcast from Google. This week I'm joined again by our co-host, Jordan.\n\n**JORDAN**: Hey.\n\n**STEVE**: I'm Steve McGee, and we have two guests this week. We have Sarah and Vrai. Why don't you guys introduce yourselves?\n\n**SARAH**: Yeah, absolutely. My name is Sarah Butt. I work with Salesforce with a team called Centralized Incident Response, which is part of Salesforce's reliability engineering organization.\n\n**VRAI**: And I'm Vrai Stacey. I work in Google's SRE on our internal incident response tooling.\n\n**STEVE**: Awesome.\n\n**JORDAN**: Awesome.\n\n**STEVE**: So in this episode, we're going to focus on incident response and specifically about the tooling and the software that teams might want to use or might realize they don't have and they need to build themselves. But first off, what do we mean by an incident? There can be lots of things. Basically the stuff that goes wrong and everyone has to go, whoa, wait, what was that? Sometimes there's security incidents, and they can be a little bit different from reliability incidents. We're going to focus today on reliability. But Jordan had an interesting one that I think he kind of helped set the stage. Let's hear your favorite one, Jordan.\n\n**JORDAN**: Yeah. So many years ago at Google before I joined the SRE TPM team, I worked on the support team. And we got a funny ticket from an SRE that said we needed to get additional Wi-Fi access points installed in the bathrooms, because the old building was not allowing the data to flow through the walls and you maybe missed a page here or there just to meet the SLA. We have to get better Wi-Fi.\n\n**STEVE**: That counts too.\n\n**VRAI**: Which may have been me if it was London because we had that exact same problem when we moved into our new building. And you had to find a secondary before you went to use the facilities, which was suboptimal.\n\n**JORDAN**: Wow.\n\n**STEVE**: Was that PS, Vrai?\n\n**VRAI**: PS, yes. So our Kings cross campus.\n\n**STEVE**: I was there too. I remember that actually. I remember moving into that office and there were some issues. And so this is actually a really great funny example because who saw that one coming? Was there a playbook for this? Probably not. Some complexity has arisen through outside mechanisms that we didn't see happening. So that's awesome.\n\n**JORDAN**: It goes to show how important the process is when it comes to communicating and talking with your team when having an incident. So why do you need to get paged in the bathroom? What is incident response, and why did you need Wi-Fi to be the person who fixed whatever was going on that day?\n\n**VRAI**: So at the time, I was on call for some of Google's network infrastructure, predominantly the part that connects our Google's internal systems to the internet. So it's kind of critical for what we would do, how we do business. And, as you mentioned, the building, we just moved into it, had terrible cell phone coverage, terrible Wi-Fi. And we had a three-minute SLO. So we were expected from having been paged to be in front of a computer fixing a problem within three minutes. That meant if you needed to go and spend a penny, you basically needed cover if you couldn't get your coverage. Otherwise, you could be incurring ad serving could be down. YouTube could be down, and you would have no idea until you got back into somewhere where your phone could shout at you again.\n\n**STEVE**: Yeah, an important point is this implies that you were the one on call. It wasn't like drop a message into a common thing. It was like a single person gets a single message. Is this common do you think, or do people start out this way or is this something that evolves over time? Maybe you guys can tell us about your picture of how these systems tend to work out in the world and what systems are required to make this work right.\n\n**SARAH**: I think the single team, single person rotation, that's something that I've definitely encountered, especially I think depending on size of company, or resourcing, or how critical it was. And one of the things that I've tried to encourage as I've led teams or set up rotations is not having a single point of failure in terms of just one person getting paged. Now that might be we have a person that gets paged and something happens and that rolls through them for some reason, and then two minutes later the next person is getting paged, or it might be two people get paged in parallel. And that's expensive to staff. I'll be the first person to say that's expensive to staff. And some of the things that I've had to talk through with people is like, can you partner? If you are an SRE team that partners with service learning teams as well, can you all partner together to share the page? Can you partner with similar teams where even if you don't have the deep expertise, both teams can do troubleshooting on each other's service just to get more people in rotation? Because I think there's a very human cost of rotation that comes into the need to also provide robust coverage. I'm very lucky, I would say, on the team that I'm on right now that we do-- we always have a primary and a deputy, and they're both getting paged for every incident that we're taking, and they're always on and supporting. To tie that back to the tooling, though, you also need tooling that allows you to do that. Whether that's a quick override or you need the ability to have paging in parallel. So I think figuring out the way to do that is equally important because missing a page feels really terrible. I've always when I've been on a call, I've felt very responsible for the systems I was on call for. And there was nothing worse than feeling like I missed a page and let my team down.\n\n**STEVE**: Totally.\n\n**VRAI**: I mean, absolutely on that front. I did have a secondary, just to be clear, and that was the person I would have handed off to. But, again, it's not so much the I will have to pull through, and it'll be fine. It is there's a kind of personal pride if you are on call about making sure that you are on call, and you're ready to go, ready to leap into action if and when required. But, yeah, absolutely I agree also on the tooling. You really need tooling that will fit your needs and your rotation not having to build your rotation around suboptimal tooling, which they may not allow parallel paging or proper portals and whatnot.\n\n**STEVE**: So you get the page. You have this tool that lets you someone take over or make sure that you don't get paged while you're on vacation. So I can see how tooling works there. And that arises through figuring it out. We have a team of people that have certain demands because they're actual humans and they're not just response robots. What comes after that? So once you get the page, you got to do some stuff. And same thing. maybe it's not just maybe you're working with other-- maybe you're actually collaborating. Can you imagine it? Can you tell us a few more things that come up in terms of, what have teams or companies developed in order to assist that process of right after you get paged, then what? Do you just do it in the dark in your terminal and that's it? All you really need is like a Unix system, or is there more to it than that?\n\n**SARAH**: I think the way that people define incident response tooling is always really interesting to me, because there's several lanes of it, and there is the traditional lane, which is we use whatever chat platform or voice platform paging platform. There's a foundational level there. I think we're seeing in industry a new level of tooling as well that is specific incident response, whether that's thoughts and automation or tools that help in the post-incident review. But we're seeing that as an actual market segment now where vendors are coming into that, and I think internally teams are building that as well, depending on the size of company and the resources they have. But I always encourage people that like your incident response tooling is much broader than you think it is. So it's also your monitoring and your observability and the dashboards that you have access to and how do you interface with your customer support folks. So some of the tooling that I've seen built is things that really surfaces, information that responders need to make those quick triage decisions. So it's like if you have a failover and you need to know if your standby site is ready or your standby is here or whatever it is ready, surfacing that quickly to responders.\n\nIf you need to know if you're getting customer cases in certain regions or not surfacing that to responders, being able to look at something, a CUJ or a Critical User Journey, I think all of those are also tools in your system. And as we learned earlier, Wi-Fi is a tool in your system. These system boundaries are much fuzzier than we think they are.\n\n**VRAI**: There's a particular issue certainly for companies like Google where we have quite high levels of vertical integration. So being on call for say, the network means that in theory, something you could be on call for could fail, and that would remove your ability to use a bunch of your tooling depending on how deep the stack was. So to go back to collaboration, nowadays, working on the tooling I do, we tend to collaborate using Google Chat, Google's version of Slack effectively, ChatOps being the big thing. Back in the day, you couldn't rely on chats being around because we were on call for something that sat below it. So we would actually use IRC. Do you remember that very basic minimal stack? But the first thing you do is you look at the problem, triage it, and just start pulling in people. You're part of a team. And we always adopted a view that if the on-caller needs your help, you drop what you're doing and help the on-caller. In the days when everyone was in the office, we could generally see by looking at a team how difficult their problems were by the number of SREs crowded around a single monitor. Whether they be a four or eight SRE issue.\n\n**JORDAN**: Oh wow. It's like a different measure. You have the five nines, but you also have the eight SREs.\n\n**SARAH**: Then you start setting severity based on the number of SREs. It's a different in the matrix. You've got like your intensity that you need your urgency and your priority and then the number of SREs around the monitor.\n\n**JORDAN**: Exactly. How many does it take to change that light bulb?\n\n**STEVE**: I think it might be a log scale.\n\n**JORDAN**: Yeah, exactly. So I was thinking about incident communication, how you communicate to your teammates. Like, hey, I'm working on this. This is the current update. Has anyone had experience also having to do the final layer of that which is like end-user communication? What do you tell the communications person at your company? For Vrai, it's probably Googlers who need to know, but I'm wondering if either of you have experienced saying like, hey, our service is down. How do these messages get made? And what do you have to consider? And what information is oversharing, under-sharing? Go for it.\n\n**VRAI**: So in both of my major roles at Google, both being in the traffic on call and working on the tooling, most of my customers have been other Googlers, at least directly. Obviously, there is a transitive dependency, especially in the network side of things, where an outage could affect large chunks of the world if you broke something really, really badly. Though, these days with obviously cloud being a huge part of our business, we do have to be aware that what may appear to be a small internal outage may have knock-on effects that are knocking out something customers have paid for and therefore are going to be legitimately angry if it's not available, and making sure that the data flows to them in a timely manner at a level that's useful for our customer care support people is becoming more and more important. And the tooling we're having to build more and more of it to keep this streamlined. So trying to move so that people can focus on what they need to be focusing on without having to do the busy work of data transfer and having that handled for them automatically I think is going to be increasingly important as we go forward.\n\n**SARAH**: It's interesting to hear you say that because that echoes a lot of what I've seen at other companies as well. So when I started doing incident management, I was working on a large e-commerce platform. So that obviously had external users and a lot of whether that was support agents or success managers, account execs who were very interested in what was happening with the incident. As I've come to Salesforce and other companies, I've had similar where there were definitely layers of external communication. And one of the things that I've worked on recently is like, how do we provide sufficient communication and transparency to-- in the case of Salesforce, it's to our teams that equip our customer-facing staff while at the same time keeping what we call the bridge airtime clear for engineering and mitigation efforts. And so, there's a lot that we've tried to do as far as the tooling goes to both reduce that overhead but also create parallel channels and paths of communication. So can we have the voice bridge focused on the engineering mitigation, because that's where we need the most high bandwidth communication to happen at that time? And then, can we have a separate Slack channel that's talking to our customer support folks-- or in our case, we call it the CIC-- to get them that information? And then, in some cases, if we need to have that, how do we flip them? But basically, how do we create this adaptive system with multiple channels of communication that allows people to focus?\n\n**STEVE**: That's really interesting. It's something that I've seen that I feel like I'm hearing as subtext in what you're describing is like there's the incident itself. Like fix the broken blah, and then you've got a bunch of them over time. But then you have to go back and be like, every time we try to fix the blah, we struggle because we have this meta-problem. And either it's the tooling or the lack of tooling or the we didn't even realize we needed tooling. But basically, it's some systematic thing that is imperfect in some way or maybe the way we're adapting because our team got bigger or we supported more services in the last six months or whatever. So this I've seen come up when doing like retrospectives and especially if you're doing more than just one incident but like doing a retrospective across many incidents at once. Have you guys seen teams do this analysis a lot? Does it just happen? Is it just kind of like people just make a guess as to what we should build or buy next when it comes to tooling? Or is it more explicit like let's do a meta-analysis of the last months, months, months of incidents across different teams and figure out what's missing? Like how deep do teams go when they're trying to figure out how to make this system of response better?\n\n**VRAI**: It becomes tricky when you ask people to try and fix both the process and the systems because they will tend to over-index on their own particular use cases, which is fine if you're the only team in the company running on an entirely custom stack. But it becomes much trickier when you're trying to build something that works for a team dealing with the lowest level of a network stack up to someone dealing with this very broad customer-facing product. And I absolutely agree, your retrospectives or postmortems, as we call them at Google, are a critical factor for this, as is the kind of meta-retrospective where you take the outcome of many postmortems and try and find those common factors that you can identify and then streamline. And that's really how we do a bunch of our roadmap planning for our internal tooling. What can we fix or improve that will have the biggest impact, either in terms of the most people or just, are there areas that are causing customers, the company in general, just huge amounts of pain that we need to get on top of?\n\n**JORDAN**: I'm curious, do you ever end up in situations where groups have opposing needs based on their incident response styles? And how do you deal with the trade-offs in that discussion?\n\n**VRAI**: Yes, all the time, both from legitimate needs and perceived needs. Firstly, I think you have to accept you cannot solve everyone's problems optimally, even if you had infinite time and infinite resourcing. It's short of building completely discrete products for people. You would just end up with a spaghetti mess that no one could understand and no one could use optimally. So for us, we're focusing on the majority issue. We're focusing on the 80%. If we can get 80% of on-callers and people doing reliability reviews and people doing customer care in a happy place with the core product, that's fantastic. But the remaining 20% it's extensibility and customization and making sure that people with legitimate business cases that are different from the norm, that we're able to support them. But at that point, we're kind of saying, we're delegating this functionality or this part of the system to an extension that you're going to run. You're going to look after, and that should be perfect for you, hopefully. I really don't see another way around it because in any large company, you're going to have such opposing viewpoints and opposing needs that one monolithic product isn't going to do the job.\n\n**SARAH**: That echoes an experience that I've had at a previous employer where I was dealing with a vendor, and we had a very specific use case. And I knew that they weren't going to be able to build exactly for us because it didn't make sense for the rest of their customers. And I remember talking to them and just saying like, all I care about is giving me the best APIs possible. If you will give me an API, I will have my engineers build the other piece of it. And I called it a bridge at the time. I was like, I just need a bridge. Like just give me the pieces so that we can make the bridge halfway, and we'll take it. And I do think that when you get into some of the build versus buy considerations, people kind of assume it's this binary. We're either going to build or we're going to buy. And there are often cases where you're going to do both, particularly in these larger and more complex implementations. And so, getting people to the point where they're willing to wrap their mind around that we're going to buy a foundation and we're going to build our needs on top of that versus just assuming it's going to come for us perfectly out of the box.\n\n**STEVE**: Yeah, I often hear companies ask like, what systems should we use for incident response? And my response to that is like, I don't know. There's a lot. There's so many.\n\n**JORDAN**: Whatever works, really. Whatever you have.\n\n**STEVE**: Yeah, but it reminds me a bit of the Unix utility model of just like I need sed and cat and grep. They all work together. There's not just one-- I don't just type \"Unix\" and hit enter. There's a bunch of things that I need at different times. And so, it's not clear that you're going to have one tool to rule them all. And also, the tool that you need, you might not even know that you need it yet until the hard day.\n\n**SARAH**: There's one flip side of that I wanted to add because I think it's easy when you're in a smaller company and maybe you don't have a budget, or you're in a company that's very conscious about security things and incidents, and they don't want to touch tooling. I've talked to people who get very discouraged who are like, I hear about all these great tools, or other people have the resources to build these tools, and we just don't have that. And one of the things I would actually say to those people is like, you have tools. You're just not calling them tools. I have been amazed at big companies with amazing incident response who have done it with Google Docs or with a Google Sheet or with a Slack workflow. And so I just think just in case there's anyone listening who's like, this doesn't apply to me because I can't get budget approval or I don't have a team that can build it, you will be amazed at what you can do with a Google Doc because it's about how the tool fits into your process. It's not just if you can't buy the tool, you can't have good incident response. So maybe that's a little bit of a hot take, but just in case anyone's in that position, because I've been there before and been bummed out, and it really helped me to recognize non-traditional tools or foundational tools that like a spreadsheet is a wonderful thing.\n\n**JORDAN**: If nothing else, SREs are very scrappy. So while we have the flashy tools that are like, here's the incident response management tool that we use to show the severity, how many SREs it is, what the impact is, et cetera, where is the actual work getting done? Probably in the group chat, probably in IRC, probably in that Google Doc and then cut and pasted into the flashy thing. So I completely agree with you about using what you have and building the right process to synthesize all that information properly.\n\n**SARAH**: I am never going to tell people that as someone who has held various roles in terms of owning budget for buying tools or having resources that could develop tools, like I'm never going to tell you that some of those things didn't make my life easier. They absolutely did, particularly in these larger, complex environments with more incidents. But I just fundamentally also push back on anyone who says like, well, we can't improve things because we can't buy a tool. That's the piece of it. Did they help? Absolutely. They're lovely to have. But you don't have to have them to have a great incident management process.\n\n**VRAI**: Well, process is the keyword. Tools can assist you in having a good process, and they can make it easier. They can remove a lot of the manual work, but tools can't give you a working process. You can have the best tooling in the world, if you're not using them properly, your incident response is not going to be good.\n\n**SARAH**: Exactly.\n\n**VRAI**: So just to back up a bit when Steve mentioned the Unix approach, I would put some caution towards that, though, because that's effectively what Google used for many, many years, which was a series of components that have been bolted together over time. If you understood them, they were great. The problem was, it was taking months to train people to be able to use our on-call response tooling. And I think the trick is when whether you're buying or building tooling or as Sarah pointed out, using a combination of both by extensibility, you need something that is powerful enough to support your process but not so obtuse that only half your people can actually use the thing properly because then you get frustration. You get accidental misuse of it. And then, the tool becomes a detriment to the incident response process.\n\n**STEVE**: Speaking of amazing tools, it wouldn't be a podcast if we didn't mention AI, but we're only going to mention it briefly. Have we solved incident response with AI yet? Vrai, go. Like, easy answer. Nailed it.\n\n**VRAI**: Obviously, no. Otherwise, I wouldn't be working in incident response tooling. AI is a tool like anything else, and it's a tool that's making radical and great progress. And I think it can help remove a bunch of the toil from being on call, capturing, summarizing, categorization. It's great at that. Can it also help with very simple automatic rollbacks? Sure. But it's not creative, at least not at the moment. And until we get to that point, are you going to trust your company's crown jewels, the thing that makes all your money, to a system that could just make things far worse without human oversight? I believe we're on a road where sure, we'll get to a point where AI may become the predominant mechanism by which you deal with this, but I think we're some distance away from that without a radical leap forward.\n\n**STEVE**: One thing for the humans in the room and not the AIs is for a hot take moment. I'm wondering if each of you could define the term SEV for me very clearly and with no ambiguity. And the best part about this is [INAUDIBLE] is looking at me funny because Google doesn't use the phrase SEV even though the entire rest of the industry does. So like, what does it mean for an incident to be high priority? Like, what's the difference between P1 and P4, SEV1, SEV2? This is obviously a trolling question. But why is this a hard question? That's my real question.\n\n**SARAH**: Can I first refer out to there was a really fantastic presentation at Esri Americas this past year on what is incident severity but a lie agreed upon. It's freely available on YouTube, so I would highly suggest everyone go watch that. But the way that I tend to define severity is they serve your company as an indicator of an idea of the impact and the complexity involved in an incident. And so every company has different-- I've been at companies where we ran SEV1s every week. I've been with companies where we saw SEV1 once a quarter, and I never saw SEV2 or I saw one during multiple years of the company. Companies get to set them. They mean certain things within the company. But I do think it's interesting how I think there's a comfort that we try to get from severity level in that humans have this need to categorize things very neatly. And if I can put this neatly in this box, I'm dealing with this novel situation, and it's overwhelming, or I'm concerned about it, but I can put it neatly in this box. There are often a lot more fuzzy. And so, what I tend to tell people is like you call it the pink pony incident severity for all I care. All I need to know is, do you need-- in this case, CRR and my team, do you need our support for the incident? Then great. We will be there to support the incident. And we will be there to provide an incident commander and whatever piece we need to do. But I think severity is very much an organizational construct, and it's a model. All models are flawed, but some models are useful. That's like a bad appropriation of that quote. But I think that's what I would point to as severity, is like they are useful models in some cases. But there's a lot more there. It's a great SRE talk though. I would encourage. Em did a fantastic job with it.\n\n**VRAI**: I would agree that severity, it depends. Because it depends on what you're measuring. But ultimately, it is a communications tool. It's a way of saying like if it's a huge outage, to use our internal terminology, then that means all hands are going to be on deck. We know it's having an impact across a wide area, whereas if it's a negligible outage, it probably means only on-call is going to care. And if anyone is glancing, they won't worry about it. But there's no one size fits all, because there's no one size for any organization, any PA, any team.\n\n**STEVE**: Yeah, I've heard a good definition of it as Sarah said, you can call it pink pony, whatever you want. But as long as people understand what the outcome of each of these levels means, in some companies being at P1 or SEV1 means you have purchase authority or means you're allowed to bring in other teams, whereas if it's an SEV3, you're not allowed to page anybody else or something like that, like whether that's a good rule or not, whatever. But the point is, what is the meaning of assigning these letters and numbers like to the rest of the org or to your own teams or what you're able to do or not do or whatever? As long as that's well understood within a team, I think that's important. And then the next phase of that is to make sure you know that you're allowed to change it. Like once something is a SEV2, you can change your mind. You can be like, actually, no. It was a two. We're good. I joke with teams that I consult with, like when was the last time you demoted an incident? And generally, it doesn't happen. Like if it gets to SEV1, it's that for life, which is a bummer because it can change. You can understand it better.\n\n**SARAH**: I also try when I'm coaching people on incident response to encourage them not to get overly caught up on that during the incident. Like if you're spending more than a few minutes doing that when you should be mitigating-- I shouldn't say should. That's probably too strong a word-- but it's not worth the conversation when you're dealing with the impact. So I tend to say severity serves the incident. If the severity is serving the needs, we have the people. Even if we have to retroactively say actually we're going to upgrade that or we're going to change that, I'm fine with that if it means that it kept our airtime open to work towards the path to green. So it's just one of those things I tell people like it serves it. There's cases where I've said, OK, we're going to go SEV1 with this, and it's not going to be a discussion right now. And if it needs to be a discussion in the retro, that's fine. But what I need right now is the mechanisms that SEV1 opens to me, whether that's a path to additional teams, a path to legal, expedited, whatever it needs. And we can talk about later, do we need paths for those at lower severity so that I don't have to push the big red button to get that? That's fine, but we're not going to do it during the incident.\n\n**JORDAN**: Yeah, definitely.\n\n**SARAH**: There's another SRE talk that's fantastic, and I think I would be remiss to talk about this and not mention this talk to people as a resource. It's on the future of above the line tooling. It was given a few years ago. It's available on YouTube by John Alspaugh and Richard Cook. And they have incredible insight into some of this. One of the big takeaways that I've continued to use is this concept of clumsy automation, which is automation that increases workloads at a high workload moment for the responder and decreases it at a low workload time. So the academic paper that this came from talked about people using this in aviation. And if you had to do a bunch of stuff during takeoff and landing that made cruising easier, it actually wasn't useful automation because takeoff and landing are these high cognitive workload times. And so I would just say that talk is very worth listening to, particularly if you're going to be designing tooling or even having influence in your company's tooling because it gives a lot of insight from not just the tech industry, but also other industries that have dealt with tooling in these high acuity, high cognitive workload situations.\n\n**JORDAN**: OK.\n\n**VRAI**: I think there is a lot aviation can teach incident response in general just because it's an area of industry that's had so much time and money invested in making it safe as physically possible. There's a huge amount the tech industry can learn from how they deal and how they respond and their human factors training by how you can make sure that everyone involved in an incident feels that they're allowed to speak up and that their input will be taken on board, so you don't end up with just one person's tunnel vision leading you down the wrong path. I do have a bugbear about learnings and whatnot, but I could go on for far more than this podcast runtime about it.\n\n**STEVE**: Do you want to do a quick dive into that? So specifically, you're talking about retrospectives and getting learnings out of a system.\n\n**VRAI**: I mean, predominantly I find that a lot of the incident response tools and a lot of the response process discussion concentrates just on the triage and mitigation stage. It's about how serious is it, get it fixed. Stop the bleeding, to use the SRE terminology that we have. But if you're constantly solving the same problem and the same outage, yes, you may have a very slick process. By the end of it, you may have automation to help you. But fundamentally, an outage that you don't learn from is a failure. An outage that you learn from and that you take steps and you're able to prevent an identical and similar outages occurring in the future, it may have been costly, but there is a positive side to it. And I think we need to re-balance somewhat the investments in general in incident response into let's not have the same incident happen twice. There will always be new and interesting ways to break systems as long as people are using them and people are writing them. The black swan event, so to speak, would always be there to destroy the best-laid plans. But an investment in making sure that you're constantly improving your process, constantly improving your systems and just never falling down the same hole twice is worth vastly more, in my opinion, than just piling it all into having the slickest possible mitigation system you can possibly get.\n\n**SARAH**: I think one thing-- because I have definitely consulted with companies where they said, we don't have time for that. Everything is on fire, so we don't have time to do that. And the rebuttal that I've made-- and I need to credit John also with this, but he would always tell me, an incident is like the unplanned investment that you've already made. Like you've already made the investment. So I would tell you, what does it cost for an engineering hour? How many engineers did you have involved? Like you have already invested that. It has already impacted your customers. If you've already made the investment, it's worth it to actually get insight from that. And that's a skill set that takes some learning to do that and do that in a way that's psychologically safe and do that in a way that's valuable and generalizable. But I really would encourage companies that it's a worthwhile investment. One of the most encouraging things that I've seen is how I feel like as an industry, we're moving away from MTTR right now as the single be-all and end-all metric, and there's a lot more we could talk about that. And I will, again, just say like Courtney Nash did amazing work in the void report, and it's worth reviewing that. But seeing how processes and tools can get us insights beyond that in a way that is still low overhead is really an exciting next chapter in incident processes and tooling for me.\n\n**JORDAN**: So, wow. It sounds like it's a little bit fun but also terrifying to be in the pink pony club of critical issues affecting a service. So let's spend just a few minutes-- if you don't mind-- telling us about some of the most really intense incidents of your career and any sort of takeaways that you might want to share.\n\n**VRAI**: So in terms of probably the incident that took the most time to put everything back together, again, and I'm going to have to fuss over some details here because I can't remember off the top of my head how much we've announced about it. But this happened back when I was on call for the networking side of things. I came into the office one day, not on call, to see our on-caller there. And it turns out a large portion of our serving stack had disappeared overnight. And by disappeared, it seems that the automation that was there to securely remove data when we turned systems down had gotten a bit overenthusiastic and just gone through and very, very fast, purged them. All the machines were still there. They were still connected to the network, but nothing was running on them. And it's one of those areas where, as mentioned earlier, automation sometimes does more harm than good. In this case, there was a tiny one-line bug in the automation. That meant if you told it, gave it a list of machines to clean up, it would do it. If you gave it an empty list, it would be like, \"An empty list you say? Well, that means I'll just destroy everything.\" And it had been through and just removed this huge chunk of the fleet, which is kind of a testament to how, back in those days, overcapacity we were, that really I think only those people who go around constantly pinging us to check latency actually noticed there was an issue. But it so comprehensively broke a bunch of stuff that we had to manually reinstall huge chunks of the fleet to get it up and running, which took, I think, an entire team. Sorry, I forget how many SREs there were to count the problem. But it just struck me as one of those things that we built this tooling to save time, and now, due to one tiny error and the lack of having a human provide oversight, it had caused far more trouble than it had ever prevented. But this is why you have learnings. This is why you have postmortems and retrospectives. Don't have a system whose default behavior when you pass it an empty list is to just go on the rampage through your infrastructure. Seems obvious now, but apparently, it wasn't when the tooling was being written.\n\n**JORDAN**: Yes.\n\n**STEVE**: Gradual change is important. That story is actually in the SRE workbook. It's in a chapter. It's a case study in a chapter.\n\n**VRAI**: OK, so it has been mentioned.\n\n**STEVE**: You are certainly allowed to talk about it. It's in the book, or it's in one of the books. How about you, Sarah?\n\n**SARAH**: I don't know that I can give you a specific example, probably because my employer prefers me to adhere to my NDA and past employers as well. What I will say is, I've been doing this. This has been the predominant focus of my career for over a decade. It has been incident management, incident response. So I've seen a lot of incidents. I've also trained a lot of people on this. And when I talk to them, I guess my takeaway from these really bad incidents, the ones where you're like, we might end up on the news for that incident, like that was real, is always to tell them three things. And I normally tell them proactively as I'm training incident commanders or as I'm mentoring people, like you need to have these three things in place when you prepare to be on a major ICO rotation or whatever your company calls it. You need to know the people or the person in your company-- and they might be in your team, they might be a mentor outside your team-- that you feel like you can talk to to unwind from an incident. They are under an NDA. You can say anything about the incident. That person or people is so important. I really encourage people to build connections in the industry, whether that's on Slack or your social network of choice or at conferences, but developing friendships with people who work in this space but are not with your company is so key for that outside perspective. And I think I have finished up some just really adrenaline-flowing-- because the thing that I tell people is like, you can seem really calm as an incident commander. When you're in these really bad incidents and they're incredibly novel, everybody's a little bit terrified. If you're not terrified, I would like to know more about the ice that runs through your blood, but it does not run through mine. Having that person that's outside your company and outside perspective that you can go to and say like, I can't give you the details, but I just ran a heck of an incident, and I'm trying to unwind, and that kind of bouncing off of the person that's in the industry and gets it is so critical. And my spouse would probably say that he deeply appreciates them because otherwise, he would hear a lot about incidents over the dinner table. The last thing I tell people is to find something separate that gives you perspective because you deal with these things, and they're very real, and they impact a lot of people, but it's easy to make them your whole world. And so for me, I go volunteer at a children's hospital. My dog is a therapy dog. It gives me so much perspective every week. And that's not to say that that's the reason I do it, but it's one of the things like the secondary effects that I'm very thankful for. It's like finding a way to say everything about this is serious and it can be all-encompassing, and I want to put my whole heart and self into it, but I also want to have that perspective that, yes, the sky is falling, but probably only for one particular cloud.\n\n**STEVE**: Let me throw one last curveball in there for my story. Instead of an incident, I want to talk about how I've used incident response in my life, which is I use it to help plan family vacations because they are like an incident in the making, not necessarily in a bad way, but like there's a lot of stuff going on. There's a lot of people collaborating. There's outside events. And just having a way to think through it and collaborate effectively with your peers. We have each other. My wife and I are like secondary and primary on call, and we switch right throughout the week's vacation who's making sure we have train tickets and things like that. We have the collaborative way to find those assets when we need them, like who has the app with the right check-in code on it and things like that. And it sounds silly, but I honestly think that being able to handle this type of slightly pressured situation with a group of people transfers really well into the world.\n\n**JORDAN**: Deeply. Yes.\n\n**STEVE**: We don't have an incident management system in terms of tooling, but the process is there and the way of thinking. And the not panicking and the not blaming each other and the not running away screaming, because you know it's got to get done. We got to get on the train. We got to get the service back up. It's the attitude.\n\n**VRAI**: Do you publish postmortems at the end of your holidays?\n\n**SARAH**: Steve, I have to ask, because you asked us earlier. So what's the difference between a SEV1 and a SEV4 on a family vacation? Do your vacations have severity levels?\n\n**STEVE**: So there was one SEV1, which was when the train tickets did not exist. And actually, I was a solitary responder in this event. It was not a family vacation. I was just like on my own somewhere. The train ticket did not exist in my backpack where it was supposed to be, and the mitigation was to go buy another ticket immediately. And it turned out the train ticket was there. I just didn't find it. So then I had two train tickets. It was an over-and-above response.\n\n**SARAH**: Redundancy.\n\n**STEVE**: Yeah, it was great.\n\n**JORDAN**: Did you run your postmortem because you used resources?\n\n**STEVE**: The thing where I got lucky on that incident, yeah, I did actually write a postmortem for this just because it was funny. The place where I got lucky is while I was standing in line to buy that redundant ticket, I stood in line behind the only French astronaut that I know of. And we talked for a while about how he fixed the Hubble telescope. It was pretty rad. He was carrying a bag that had like [INAUDIBLE] on it and things. So that was fun.\n\n**VRAI**: That's got to be worth losing a ticket over.\n\n**STEVE**: I think so.\n\n**JORDAN**: I think it was on purpose, actually.\n\n**STEVE**: That's right. So you never know. Well, thank you both so much. I think incident response is one of the things that people think about maybe first when they think about SRE. But the depth at which you can go into it and the amount of detail is not always obvious. So I'm glad we got a chance to go through that today. Anything that you want to add, like places to find you on the internet where people can follow you or learn your favorite joke or whatever?\n\n**SARAH**: I am not cool enough for most social media, is what I tend to tell people. But I am on LinkedIn. And I'm always happy to chat. Like I said, I've spent most of my career doing this. I deeply love the incident space, so I always tell people, feel free to send me a message on LinkedIn. It might take me a bit to reply depending on how life is going, but I do try and reply. I always love chatting and getting to know people in the incident space. Similarly, if you see me at a conference, I'm always happy to grab lunch together and chat. So that's how you find me. I'm not cool enough for most of the social stuff anymore.\n\n**VRAI**: I am also not on most social media stuff, but I am on LinkedIn, to the best of my knowledge, the only Vrai on there. So I'm not too hard to track down.\n\n**STEVE**: Nice.\n\n**JORDAN**: Nice.\n\n**STEVE**: Cool. Well, thank you both. This was a blast.\n\n**SARAH**: Thank you. This was great.\n\n**VRAI**: Thank you.\n\n**JORDAN**: Thank you.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 45699, "slov": 8429, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:41", "sha256": "4dac1235bb516c96f2f7f0881dc4a2d128a3943ddeb6cbc4d9a499f5bb16d24d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07", "titulek": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "h1": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "popis": "Guests Jordan Chernev (Senior Technology Executive) and Scott Bowers (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries. They share the importance of aligning SLOs with user experience, strategies for handling spikes in traffic, communicating with users during outages, and investing in reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07"}, "headline": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "description": "Guests Jordan Chernev (Senior Technology Executive) and Scott Bowers (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries.", "image": "https://kstatic.googleusercontent.com/files/991e44e6b48bf88e8b8fbcd00d690b58ceb5d71becfcaa0ba6181985df4ab3c2b7ba8f7099f9c28f5358dfc0e62c793e98c59442cb4ffb1793d5821a6a0035db", "author": [{"@type": "Person", "name": "Jordan Chernev"}, {"@type": "Person", "name": "Scott Bowers"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers"}], "markdown": "# SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers\n\nGuests **Jordan Chernev** (Senior Technology Executive) and **Scott Bowers** (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries. They share the importance of aligning SLOs with user experience, strategies for handling spikes in traffic, communicating with users during outages, and investing in reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nINTRO\n\n**STEVE MCGHEE**: Welcome to season three of the Prodcast, Google's podcast about site reliability engineering and production software.\n\nI'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening, and remember, hope is not a strategy.\n\n**STEVE MCGHEE**: Hi, everyone, and welcome to another episode of the Prodcast, Google's podcast about SRE and production software.\n\nI'm your host, Steve McGhee.\n\nAnd as always, we have our co-host, Jordan Greenberg.\n\n**JORDAN GREENBERG**: Hey.\n\n**STEVE**: Hey, Jordan. How's it going?\n\n**JORDAN GREENBERG**: Good. I'm excited.\n\n**STEVE**: All right.\n\nSo this season, we're focusing on software engineering in SRE.\n\nAnd today, we have two guests to talk about how that's done in their industry.\n\nSpecifically, these two come from retail and from gaming.\n\nThese two both share two traits that we're interested in.\n\nOne is what I'm calling real-timeyness, and maybe less obvious, the need to move or migrate between platforms, like onto cloud or between clouds or even between internal software delivery systems.\n\nSo let's have our guests, Jordan Chernev and Scott Bowers, introduce themselves.\n\n**JORDAN CHERNEV**: Hey, everyone.\n\nMy name is Jordan Chernev.\n\nThank you for having me on the podcast.\n\nA little bit about myself-- about 20 years of industry experience across both enterprise and startup cultures.\n\nI'm a former practitioner.\n\nMost of the organizations that I've been a member of have been either anywhere from 50 to 200 in size, all the way up to 20,000 multinationals.\n\nI think of myself these days as a business executive with a focus on technology.\n\nPrimarily, I'm more of a senior engineering and product leader with a specialization in data, SRE developer experience, tech transformation, hypergrowth.\n\n**JORDAN GREENBERG**: Thank you very much, Jordan.\n\nHow about you, Scott?\n\n**SCOTT**: Hi.\n\nYeah, I'm Scott Bowers.\n\nI work at Gearbox Software, who are most well-known for the Borderlands game franchise.\n\nAnd I started there just out of college, so I've been there for about 10 years now and worked my way up through classic IT into our SHiFT platform, which is what we call our online game engine.\n\n**STEVE**: Awesome.\n\n**JORDAN GREENBERG**: Hmm.\n\nAnd that's where I get my loot codes, right?\n\n**SCOTT**: Yeah.\n\nYeah, I think for us, they're golden keys for the most part.\n\n**JORDAN GREENBERG**: OK, OK.\n\nAll right.\n\nThank you very much, guests, for introducing yourselves.\n\nReally appreciate it.\n\nWhat is it like to be an SRE on stuff that people are using to unwind, whether it's in shopping or games?\n\n**SCOTT**: [LAUGHS] For me, in games, it has been the right mix of responsibility and excitement.\n\nWe get to have a lot of people using our platform each day, but that also means that I stand to ruin their leisure time if I do things wrong.\n\n**STEVE**: No pressure.\n\n**JORDAN GREENBERG**: True.\n\n**SCOTT**: Yeah, yeah.\n\nIt's exciting when we get things right, and a different kind of exciting when we get them wrong.\n\n**JORDAN CHERNEV**: Yeah, I'll plus one that sentiment and comment.\n\nObviously, shopping, most people want to have a seamless shopping experience.\n\nThe way that we did this at Wayfair was supporting thousands of services, especially for big gameday-like events like Way Day, Cyber 5.\n\nThose were across hundreds of services, hundreds of teams.\n\nThey all had the one ultimate goal-- consistent and delightful experience for everyone who is trying to shop online.\n\nExcitement is an understatement.\n\nThere is a lot of preparation.\n\nThere is a lot of planning, testing, making sure that everything is going to scale.\n\nAnd there is always a little bit of luck in all of this.\n\nI don't think we can understate that.\n\nYou can prepare as much as you want.\n\nBut I don't know, maybe some small service could potentially introduce too much excitement that you didn't account for.\n\n**STEVE**: (SARCASTICALLY) And I don't suppose that either of you, in retail and gaming, ever deal with spikes of traffic during certain times of the year, or around events or anything like that?\n\nI'm guessing that never really comes up?\n\n**SCOTT**: (SARCASTICALLY) No.\n\nWe haven't ever had any trouble with a game launch.\n\n**STEVE**: Oh, no? OK, that's good.\n\n**JORDAN GREENBERG**: Certainly not.\n\n**STEVE**: It seems easy.\n\n**SCOTT**: We definitely have spikes, and we have definitely struggled at times with designing for those, and then also running an efficient infrastructure outside of those.\n\n**JORDAN CHERNEV**: Yeah.\n\nFrom our perspective, you do get the spikes, sometimes are anticipated or unanticipated.\n\nOne of the more interesting examples that comes to mind is sometimes you may introduce an innocent-looking header to a web page, which increases the load on a somewhat critical path that you didn't notice it was critical at that point in time.\n\nBy 100x it goes up, somewhat triggered internally.\n\nBut yes, a lot of experience with marketing, email campaigns, blasts that are somewhat scheduled.\n\nThose are ones that you can prepare for, but it's a combination of the two.\n\n**STEVE**: Yeah, marketing is real, man.\n\nTurns out it has real effects.\n\nNot a joke.\n\n**JORDAN GREENBERG**: You mean it works?\n\n**STEVE**: I'm afraid it does, yeah.\n\n**JORDAN GREENBERG**: Oh, no.\n\n**STEVE**: Turns out.\n\n**JORDAN GREENBERG**: OK.\n\n**STEVE**: So in my experience as an SRE, one thing that we talk about a lot is SLOs, and SLOs tend to be a thing that we focus on on is the thing working or not?\n\nI'm curious if you guys-- do you use them at all?\n\nAnd how does it relate to a service that you can see it's exact \"is it working or not,\" in terms of money and customer satisfaction?\n\nDo these SLOs align with how the business is doing?\n\nAnd if not, can that be fixed, or is it a fool's errand?\n\nIs this a good idea, or what do you think?\n\n**SCOTT**: Man, that question kind of hits me right in the gut, because our first broad pass at trying to apply SLOs to our most important services, we were kind of engineers about it.\n\nAnd we were thinking more about, what's the service doing, and not as much about, what's the user experience?\n\nAnd that's always the actual important thing.\n\nLike Jordan said, the goal of all of that stuff at the end is the consistent experience for the customer.\n\nAnd yeah, having our SLOs currently a little bit misaligned from that, we can feel it.\n\nSo we're in the middle of an effort to redefine and realign some of those, so that what the player is seeing and experiencing in-game is the thing that our objectives are designed around.\n\n**JORDAN CHERNEV**: Yeah, we've thought about those a little bit differently.\n\nIt's perfectly OK for teams to have their engineering or private SLOs that basically tell them the health of the components of the services.\n\nBut the ones that are considered more public, or basically end-user-oriented or business-outcomes-specific, you do want to have the healthy combination of the two.\n\nBecause when you go to an operational readiness overview for your systems, yes, let's take a look at the engineering-specific ones to see if we can drive consistency from the technology standpoint.\n\nBut obviously, for the ones that the business cares about, you want to make sure that you have nice mental connections between this is what exists for the service; this is how it ties to a specific metric or a KPI that we have defined.\n\nThis sounds easier set out as opposed to done in practice.\n\nNot all services will be able to have that direct link to a specific business-level KPI.\n\nMaybe your top or most critical services would.\n\nBut the deeper you go into the back end, the harder that gets to be defined, especially if you have shared services that you're providing all for the entire organization.\n\nHow would you be able to quantify that or tie it to a specific business metric?\n\nSo there are some interesting twists and turns in terms of defining those.\n\nBut yes, it's a very useful method for you to try to communicate and portray the value add or the potential impact to a non-technical audience within your organization.\n\n**STEVE**: OK.\n\nSo given all that, specifically in both your industries, like we said, you're kind of real-timey, as well as you're direct-facing to customers.\n\nSo millions of people can see when stuff goes down.\n\nSo I'm curious if you deal with SLOs on a per-minute basis, or more so per-second?\n\nI don't know.\n\nHow fine-grained can you get with this stuff?\n\nDo you know when your system is down for 30 seconds or is it more like-- does it matter, I guess is what I'm getting at.\n\nIs it worth the investment of going to that level of granularity?\n\n**SCOTT**: I think in our case, especially for our biggest couple of titles, we have designed ourselves into a spot where it does matter.\n\nSecond-level impact is noticed by every player online for a given title or, sometimes, depending on the nature of the impact, all titles using our platform.\n\nSo yeah, whether we know proactively or after the fact, we can absolutely see a second-level impact to our most real-timey service being our multiplayer lobby and messaging system.\n\nPeople are in a lobby together.\n\nThey feel if the thing keeping them together breaks.\n\nSo that is definitely a thing that--\n\n**JORDAN GREENBERG**: That's true.\n\n**STEVE**: Lag is real.\n\n**SCOTT**: --we pay a lot of attention to.\n\nAnd we actually redesigned most of that multiplayer lobby system in the last year, just for better observability, with the goal of hopefully a truly defined objective as opposed to just a fuzzy keep-the-players-online.\n\n**JORDAN GREENBERG**: The gamers are thanking you.\n\nI'm \"gamers,\" but the players are thanking you because a lot of games have evolved to be very social.\n\nAnd for services where you have to be available when multiple people are available, people don't want to think, oh, the thing that I want to do with my friend isn't working right now.\n\nThey don't want to see that.\n\nIt makes them very sad.\n\n**SCOTT**: Yeah.\n\n**JORDAN GREENBERG**: So I'm sure everybody's excited about that.\n\n**SCOTT**: Yeah.\n\nI've joked with my wife that video games, for me, at my age now, are kind of just an excuse to hang out in a phone call with my buds.\n\nSo if we don't have that excuse, we don't catch up.\n\n**JORDAN GREENBERG**: Mm.\n\n**STEVE**: That's right.\n\nAnd how about in retail, Jordan?\n\nDo you guys have a similar kind of situation?\n\n**JORDAN CHERNEV**: I think it's a little bit different.\n\nMaybe it's slightly more relaxed from the perspective of end user experiences.\n\nFor better or for worse, I think most shoppers online tend to be a little bit more sticky, especially if they experience a transient or a temporary hiccup in terms of availability or performance.\n\nMany people are used to, hey, I have to go and buy tickets for a concert, and I have to keep pressing the button just so I can get it.\n\nSo the mental model there somewhat relaxes the expectations for the end user.\n\nWe were capable of detecting and seeing issues as they were happening.\n\nI don't think it was as pragmatic or practical for us to try to detect them at the second level.\n\nBut maybe at a minute, we will definitely start seeing more real business impacts.\n\nAnd again, it's not like, hey, I had a brief minute of an outage; you're going to see a massive shift.\n\nBut obviously, the more that the minutes start stacking up, that's when you start seeing a little bit more of a profound softness in experiences.\n\n**STEVE**: Yeah, for sure.\n\n**JORDAN GREENBERG**: Mm.\n\nSo if that's happening, how do you communicate with the users of the product?\n\nWhen things are going sideways or pages won't load, how do you say that to them?\n\n**JORDAN CHERNEV**: It depends on the outage, I would say.\n\nI think there are many different methods.\n\nEach business tends to maybe choose its personality or persona that it displays.\n\nYou basically create, I don't know, a maintenance or a page.\n\nYou obviously want to communicate back with your customers via email after the incident has wrapped up, and basically communicate to them what happened.\n\nHere's the story.\n\nMaybe that makes even for a good blog post after the fact, around providing specific visibility.\n\nMaybe you send them a marketing coupon or a code, basically trying to attract them back, making sure that they have a pleasant, good experience, if you will.\n\nI think those are the main approaches that we have considered over the years.\n\nThat's how we describe it.\n\nThere is, as I mentioned earlier, there is a certain level of halo or stickiness.\n\nSo even if someone is experiencing something that happens for a brief period of time, they usually come within the same hour, because they're still actively online and shopping.\n\nAnd you could actually see, hey, the revenue is somewhat-- it was a little bit soft.\n\nNow it's coming back and then some more, which basically reattracts the people who are actively looking to shop.\n\nSo the more sophisticated that you get with your business, the more visibility and methods you do.\n\nBut in terms of communication, it's primarily follow up around either the different channels around text-based notification, push-based notifications, emails.\n\nYeah.\n\n**SCOTT**: We actually, at least for a planned outage, we have a handful of ways that we can try to get that information to our players.\n\nBut for the more interesting case of an unplanned outage, we don't have a great way, aside from our SHiFT status Twitter page.\n\nAnd even then, getting from, hey, we have the technical signals that there's a problem, to there's an engineer who's validated, yes, players are impacted, to getting a post onto the Twitter, there's a lot of time there for a gamer to think, hey, this should work and it doesn't, and the status Twitter says everything's fine or hasn't had a post in a day.\n\nSo that's something where we want to get better.\n\nAnd we're hoping to use something like status page, which is something I'm a fan of just from various sites or tools that I use have that, so it's in my brain as something to type in.\n\nBut yeah, that is a challenge for us, if we have an unplanned outage, to communicate that proactively and then also to send the all-clear.\n\nWe can use the Twitter for that, but we're hoping for a better and slightly more technically-involved solution.\n\n**STEVE**: Cool.\n\nSo given all these things that you guys have built, and your teams have been able to develop in terms of communication and investigating things, I have a broad question which is, how did you get this all to be invested in instead of the next game or the next feature?\n\nSo sometimes we call this shifting left, shifting reliability left.\n\nHow do we get this type of engineering done in an organization?\n\nIs it, the ops team files a bunch of bugs and complains a bunch?\n\nIs it writing postmortems?\n\nIs it just stepping in and rolling up your sleeves and writing code?\n\nHow has it worked in your experience, in terms of getting this stuff more suitable for this large-scale, real-time, customer-facing stuff?\n\n**JORDAN CHERNEV**: I think reliability is actually a team culture component, first and foremost.\n\nIn order for it to work, everybody has to be invested in that to be successful-- what I mean by everyone, the target personas are not just the engineering teams.\n\nThere has to be also investment from the business, investment from the product teams.\n\nBasically having those shared incentives around, this is what the end user experience looks like in aggregate to the people who are using our product.\n\nSo I think by starting to evolve and shift the culture to be a lot more focused, or at least mindful about reliability and how that may impact the actual product that the organization is delivering, I think that's probably the first and most important starting point.\n\n**STEVE**: Cool.\n\nScott, what do you think?\n\n**SCOTT**: I'm lucky that I joined the team at a time when they were redesigning the entire platform from what we have internally called platform V1.\n\nThey were designing platform V2 with reliability and observability as the goals.\n\nAnd I think that is due to the technical leads on the team, before I joined them, seeing the scale that the business wanted to achieve, and seeing that what they had built at that time was not on the same track.\n\nAnd I think that along with some of our team culture of make-on-call-not-suck, those two things came together so that the right people were invested enough in the idea of reliability that, man, multiyear effort to design and then migrate to our new platform was authorized.\n\n**STEVE**: Nice.\n\nYeah, it always comes down to scale, I think.\n\nIt feels like that's the thing that pushes you over the edge.\n\nIt's like, would you like to make more money today?\n\nOK, this is what we got to do, turns out.\n\nOK, cool.\n\nLet's shift gears into migrations.\n\nSo Jordan, take us away.\n\n**JORDAN GREENBERG**: Yeah, what is a migration?\n\nWhy do you have to do it?\n\n**SCOTT**: That is a fun semantic rabbit hole, and I think that my personal definition of migration, so that I can get my dang job done, is something where we're changing a foundational or fundamental piece of a feature that we serve.\n\nAnd it's a one-way change, and there is a point of no return that we have decided on together as a team.\n\nAnd then there are so many soupy details in between, and so much of that plan always ends up changing.\n\nBut yeah, for me, it's a foundational change that is ultimately one-way.\n\n**JORDAN GREENBERG**: What do you think about migrations, Jordan?\n\nDo you like them?\n\nDo you hate them?\n\nAre they necessary?\n\n**JORDAN CHERNEV**: I mean, the running joke in the community is that once you're in the platform or the SRE or a dev ops space, the migrations don't ever stop.\n\nThey're just a fact of life.\n\nThey are a necessary way for you to either drive innovation, positive outcomes, or even pay down technical debt.\n\nSo they are good ways for you to provide a good healthy balance to where the organization wants to go next.\n\nThey are always running, never-ending.\n\nOnce you complete a migration, another one starts.\n\nOr maybe there are multiple migrations happening at the same time, which sometimes can have potentially conflicting schedules and agendas.\n\nSo it's really about constructing the right sequence of timelines across different teams.\n\nSo it's a fun place to be, especially if you like to be somebody who is really organized.\n\nBut as mentioned earlier, it's generally a positive thing that just never ends.\n\n**JORDAN GREENBERG**: Oh, yeah.\n\nOK. So this just in-- SREs are migratory birds.\n\nNo better.\n\n**STEVE**: [LAUGHS] Nice.\n\nSpecifically, how does this affect you with this real-time stuff?\n\nBecause it seems like a migration can be a real bummer.\n\nAnd if it goes the wrong way and people notice when things are down for a couple of seconds, that seems like a bad combination.\n\nSo any top tips on this?\n\nHow do we allow ourselves to get over this hump, and not completely have our users suffer along the way?\n\n**SCOTT**: Oh, man.\n\nFor my team, doing our platform V1 to platform V2, going from one big cloud account to a spread of them and trying to follow a bunch of best practices along the way, we had to accept that we were going to just cause impact.\n\nSometimes there were some services where engineering for zero downtime was not realistic or cost-effective.\n\nAnd in those cases we got lucky, to some extent, that in the gaming industry, regular downtimes are accepted.\n\nGamers know from big companies like Blizzard and Steam for years and years that have had weekly maintenance windows that it's part of the gaming space.\n\nSo we don't have a regularly scheduled maintenance.\n\nBut we, when we know we're going to cause an impact, try to give a lot of notice ahead of time both in-game and on the social channels.\n\nBut for a lot of our services during that migration, we made use of a pretty neat and relatively simple trick to work around the fact that we don't have an A/B or a blue/green deploy infrastructure setup.\n\nWe just had old platform, new platform.\n\nAnd so we used weighted DNS records with CNAMEs pointing either way so that we could have just a percentage weight there.\n\nAnd it was zero pointing at the new stuff to start with.\n\nAnd for things where we didn't think we needed downtime, we could set that to send 1% of our production traffic to the new platform and see what happened.\n\nAnd we knew we were risking 1% of our players' experience, but it gave us the scale to feel confident in going up to 5% and beyond.\n\n**STEVE**: Yeah, gradual change, right?\n\n**SCOTT**: We tried and did not always succeed.\n\n**JORDAN CHERNEV**: Yeah.\n\nYeah, I think Scott did a pretty good job of enumerating most of the strategies.\n\nObviously you have options like double writing or dual writing if you're trying to set up or stand up different data platforms.\n\nThis is where a message buses can become really your friend, especially if you're in a situation where you have to migrate and validate the data before you do the actual cutovers.\n\nThose are the trickier and the longer-running ones, if you will.\n\nBut yeah, blue/green, draining, rolling strategies, hard cutovers.\n\nFor some services, maybe it's not even worth the time of coming up with a zero downtime strategy.\n\nFor instance, I have an internal tool that is being used by two teams on the business side.\n\nThey only use that service during the hours of 8:00 to 5:00 every day.\n\nAnd maybe I can just do a clean or easy cutover, from a technology investment standpoint, during the hours of 6:00 to 8:00 PM when they're not around.\n\nSo it really depends on the actual service, the context, and how much impact, from business perspective, you're willing to tolerate.\n\nIt's basically a trade-off.\n\n**JORDAN GREENBERG**: Nice.\n\nSo just thinking about this, when do you engage SREs to help with migration?\n\n**JORDAN CHERNEV**: I think you have to start during the early socialization stages of any kind of product, because these activities are usually as a part of the actual product life cycle.\n\nIn practice, it is rather unfortunate.\n\nMany people miss this, and usually SRE get invited towards the middle or the end phases of the migration.\n\nPeople are somewhat used to that, which is not necessarily a healthy pattern.\n\nBut ideally, the sooner you can get involved as a group, the better.\n\nThis is where good relationships with folks on the business side or the product team could actually help you hear about some of these developments a little early as a group.\n\nI don't think it's going to be like a-- I don't know.\n\nI think the way that I've seen it, in my experience, it's about maybe 10% or less of our engagements usually have SRE as an active party from the get-go.\n\n**JORDAN GREENBERG**: I think that they did that on purpose across all companies, because they're worried that they'll scare the engineers if you ask them questions.\n\nI think that might be it.\n\nMaybe turning on the lights scares them as well.\n\n**SCOTT**: That matches my experience so far, that SREs have been a critical component of design later in the process than we would have preferred.\n\n**JORDAN GREENBERG**: Right.\n\n**SCOTT**: And I think my team of SREs is lucky that we've got a bunch of software engineers that want to implement observability and metrics and be cutting-edge in all of these ways.\n\nBut then, yeah, the tensions between moving fast and doing it really well have not always worked out in our favor.\n\n**STEVE**: So, Scott, I think you mentioned the point of no return.\n\nSo in the migration, whether it's changing a platform, changing the implementation of an entire codebase, changing an infrastructure, what do you mean by a point of no return?\n\nAnd is there always one?\n\nCan't we just roll the thing back infinitely, or do we have to bite the bullet at some point?\n\nHow do you plan for this stuff?\n\n**SCOTT**: I think my personal philosophy that I try to convince my colleagues of-- and so far, it's worked-- is that mainly for a cognitive burden and team sanity standpoint, it is just useful to have a point of no return where we can say, if we achieve feature parity up to this level in the new deployment of the service, then that's where we're done.\n\nAnd I mean, I think technically, yes, we could always roll back or engineer our way out of the new thing, back into something very close to or exactly like the old thing.\n\nSo it's always going to come down to, what does the business demand?\n\nBut if there's room for engineering input, then yeah, my choice is always going to have a point of no return so that all of the people working on the thing can checkpoint and cache dump and move forward from here, and not have to retain too much historical or tribal knowledge.\n\n**JORDAN CHERNEV**: Yeah, that also matches my experience.\n\nWhenever teams are creating game plans, we make it a point of specifying of-- and from here on, this particular step, this is the point of no return.\n\nSo once you cross the Rubicon there is no turning back.\n\nYou have to fight your way through the remaining issues that you might be observing in the environment.\n\nAnd we feel pretty comfortable communicating that to the rest of the business, around the expectations that once we're kind of like, from this point, there is no turning back.\n\nWe just have to keep going.\n\nSo I think providing that level of transparency ahead of the actual migration, I think, is very helpful, because the business knows what to expect.\n\nIt's not perceived as a seamless or nonturbulent migration.\n\n**STEVE**: Cool. OK.\n\nWe're running out of time here.\n\nThis has been going great so far.\n\nI have one more question, and it kind of comes off of what you just said, Jordan.\n\nSpecifically, when people start using the cloud, often, one of the things that we talk about, and some of the things that the business has to think about, is that we're actually giving away a lot of control.\n\nOr maybe we're giving away a lot of responsibility.\n\nYou can think of it either way.\n\nHow does this come up when it comes to talking to the business about this?\n\nIs there a risk versus control versus time and cost and flexibility trade-off that you've seen be successful when it comes to, yo, we're going to use this crazy thing that lives in the sky now, not those machines that keep our buildings warm at night?\n\nHow does that go, in your experience?\n\n**JORDAN GREENBERG**: The free heaters.\n\n**STEVE**: They do heat well, that is true, for sure.\n\nYou can keep your sandwiches in there, and it's great.\n\n**JORDAN CHERNEV**: It's a great question.\n\nI think at this point in the game, the public cloud concept is more or less somewhat fairly well-understood from a business standpoint.\n\nThey know what to invest.\n\nThey know what kind of experiences that they're going to get.\n\nThere is a maybe correct or potentially correct perception that the public cloud is potentially a lot more secure than a private implementation.\n\nThere are some nuances and shades of gray to the statement, so please don't feel like it's as black and white as I just said it just now.\n\nBut a business sees that as a potential value add, because it helps them increase their overall security posture.\n\nThey see that there is a benefit towards mean time to market for new initiatives, or anything that is brand-new and born with cloud-native paradigms and shifts.\n\nThey see it as an opportunity for you to accelerate velocity for developer experiences, because most of the interactions that you have with the cloud are more or less API-based or API-driven.\n\nHowever, the cloud comes with its own set of challenges and complexity around skill sets, so you obviously need to be able to navigate that.\n\nCost is a topic that the business is not necessarily fully aware of, the transition from CapEx to OpEx or how to actually attribute costs with the OpEx model to specific teams within your organization, as opposed to one big bucket who is responsible for it.\n\nThose are topics around governance that usually businesses are not necessarily ready for.\n\nUsually the business has a fairly decent understanding, given the level of maturity.\n\nRight now, it's a little bit more mainstream for you to try to think about, hey, is the cloud too expensive in terms of margins?\n\nCan I potentially save by going back to a colo, using a private cloud for specific workloads which are not as bursty?\n\nObviously that's a specific business decision first, less so technology.\n\n**JORDAN GREENBERG**: Well, thank you for talking about the cloud magic stuff.\n\nI'm sure it's fine.\n\nI'm sure whoever does cloud stuff is fine.\n\nThe last question we have for you today is, thinking about some of the people that you've worked with in the past who may have been on that IT team that you were on before, Scott, or other people that weren't SREs, could we train them to become SREs?\n\nWhat are the challenges of that?\n\n**SCOTT**: I think we definitely can.\n\nThat's actually been one of the more rewarding slices of my personal responsibilities lately.\n\nOur classic IT team, whenever I left them to join the Spark online platform, I got to carry with me a lot of their roadmap and goals and then learn a whole bunch of new skills.\n\nAnd the original idea was to back channel and teach them along the way, and I was too focused on how much awesome new stuff I was learning.\n\nBut now, both of our teams have realigned and a lot of their work is catching up to the style that we've landed at for the way we build our infrastructure, and then taken the reins from us in some ways.\n\nSo yeah, I definitely think that it's a skill set that can be taught to the classic ops folks and can be used to make their lives easier, I think has been the thing I've seen the most of.\n\n**JORDAN CHERNEV**: Yes, it is certainly possible.\n\nIn my experience, it really comes down to the individual or the teams who are undergoing through that transformation.\n\nObviously, it's a bit of a personal journey of growth, reskilling, upskilling.\n\nYou should be trying to create a positive environment that encourages that type of transformation.\n\nIt doesn't happen overnight.\n\nIt's usually at least 6 to 12 months for somebody to go through that journey and be somewhat comfortable with the newer skill set and the responsibilities.\n\nThe good news is that some of the required fundamentals are still the same, meaning if you know how computers work at a fundamental level, at CPUs, memory, network, storage, those will translate very, very seamlessly.\n\nI think, usually the biggest hurdle is how do we actually translate that to how public cloud providers have decided to put an API on top of those fundamentals, so we can actually learn how they actually work?\n\nKnowing and understanding that, and having the actual skill set around specific frameworks, for instance, Terraform and maybe Golang, I think those are usually the areas that basically provide a step function in terms of ability or confidence level, in my experience.\n\n**STEVE**: Cool.\n\nWell, thanks to you both.\n\nBefore we finish off, do either of you have a final take, or maybe where people can learn more about you online, like if you have a blog?\n\nDo people still blog? I think they do.\n\n**JORDAN GREENBERG**: The socials.\n\n**STEVE**: Or anything like that.\n\nA social, as the kids say.\n\nAnything like that you want to shout out?\n\n**SCOTT**: Not for me.\n\nI avoid all that.\n\n**STEVE**: Good answer, good answer.\n\n**JORDAN GREENBERG**: Probably for the best, honestly.\n\n**JORDAN CHERNEV**: Yeah.\n\nFor me, you can find me fairly active in the platform engineering Slack community.\n\nObviously, feel free to hit me up on LinkedIn.\n\nI try to do a weekly post on the topics of platform engineering every Friday.\n\nSo if you follow me on LinkedIn, you're likely going to see a subscription of my feed.\n\nSo happy to see you there.\n\n**STEVE**: Thank you.\n\n**JORDAN GREENBERG**: Thank you very much.\n\nAll right. Thank you, everybody.\n\nThank you to our guests, Scott and Jordan, for helping us shop and game.\n\nWe need to be able to have fun, especially if everybody is fighting fires during the day, keeping our other services alive.\n\nHave a great day, everybody.\n\n**STEVE**: Bye.\n\n**JORDAN GREENBERG**: Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe Prodcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe Prodcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 32747, "slov": 5881, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:22", "sha256": "491c0b36bca5f8bb755dce375f56b7f0faa27f53e04a7c1bff4a67d67390e5a0", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07/", "titulek": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "h1": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "popis": "Guests Jordan Chernev (Senior Technology Executive) and Scott Bowers (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries. They share the importance of aligning SLOs with user experience, strategies for handling spikes in traffic, communicating with users during outages, and investing in reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07"}, "headline": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers", "description": "Guests Jordan Chernev (Senior Technology Executive) and Scott Bowers (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries.", "image": "https://kstatic.googleusercontent.com/files/991e44e6b48bf88e8b8fbcd00d690b58ceb5d71becfcaa0ba6181985df4ab3c2b7ba8f7099f9c28f5358dfc0e62c793e98c59442cb4ffb1793d5821a6a0035db", "author": [{"@type": "Person", "name": "Jordan Chernev"}, {"@type": "Person", "name": "Scott Bowers"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers"}], "markdown": "# SRE in the Retail and Gaming Worlds with Jordan Chernev & Scott Bowers\n\nGuests **Jordan Chernev** (Senior Technology Executive) and **Scott Bowers** (SRE, Gearbox Software) who hail from the retail and gaming industries, respectively, join hosts Steve McGhee and Jordan Greenberg to discuss the unique challenges of Site Reliability Engineering in their industries. They share the importance of aligning SLOs with user experience, strategies for handling spikes in traffic, communicating with users during outages, and investing in reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\nINTRO\n\n**STEVE MCGHEE**: Welcome to season three of the Prodcast, Google's podcast about site reliability engineering and production software.\n\nI'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE.\n\nOur guests come from a variety of roles, both inside and outside of Google.\n\nHappy listening, and remember, hope is not a strategy.\n\n**STEVE MCGHEE**: Hi, everyone, and welcome to another episode of the Prodcast, Google's podcast about SRE and production software.\n\nI'm your host, Steve McGhee.\n\nAnd as always, we have our co-host, Jordan Greenberg.\n\n**JORDAN GREENBERG**: Hey.\n\n**STEVE**: Hey, Jordan. How's it going?\n\n**JORDAN GREENBERG**: Good. I'm excited.\n\n**STEVE**: All right.\n\nSo this season, we're focusing on software engineering in SRE.\n\nAnd today, we have two guests to talk about how that's done in their industry.\n\nSpecifically, these two come from retail and from gaming.\n\nThese two both share two traits that we're interested in.\n\nOne is what I'm calling real-timeyness, and maybe less obvious, the need to move or migrate between platforms, like onto cloud or between clouds or even between internal software delivery systems.\n\nSo let's have our guests, Jordan Chernev and Scott Bowers, introduce themselves.\n\n**JORDAN CHERNEV**: Hey, everyone.\n\nMy name is Jordan Chernev.\n\nThank you for having me on the podcast.\n\nA little bit about myself-- about 20 years of industry experience across both enterprise and startup cultures.\n\nI'm a former practitioner.\n\nMost of the organizations that I've been a member of have been either anywhere from 50 to 200 in size, all the way up to 20,000 multinationals.\n\nI think of myself these days as a business executive with a focus on technology.\n\nPrimarily, I'm more of a senior engineering and product leader with a specialization in data, SRE developer experience, tech transformation, hypergrowth.\n\n**JORDAN GREENBERG**: Thank you very much, Jordan.\n\nHow about you, Scott?\n\n**SCOTT**: Hi.\n\nYeah, I'm Scott Bowers.\n\nI work at Gearbox Software, who are most well-known for the Borderlands game franchise.\n\nAnd I started there just out of college, so I've been there for about 10 years now and worked my way up through classic IT into our SHiFT platform, which is what we call our online game engine.\n\n**STEVE**: Awesome.\n\n**JORDAN GREENBERG**: Hmm.\n\nAnd that's where I get my loot codes, right?\n\n**SCOTT**: Yeah.\n\nYeah, I think for us, they're golden keys for the most part.\n\n**JORDAN GREENBERG**: OK, OK.\n\nAll right.\n\nThank you very much, guests, for introducing yourselves.\n\nReally appreciate it.\n\nWhat is it like to be an SRE on stuff that people are using to unwind, whether it's in shopping or games?\n\n**SCOTT**: [LAUGHS] For me, in games, it has been the right mix of responsibility and excitement.\n\nWe get to have a lot of people using our platform each day, but that also means that I stand to ruin their leisure time if I do things wrong.\n\n**STEVE**: No pressure.\n\n**JORDAN GREENBERG**: True.\n\n**SCOTT**: Yeah, yeah.\n\nIt's exciting when we get things right, and a different kind of exciting when we get them wrong.\n\n**JORDAN CHERNEV**: Yeah, I'll plus one that sentiment and comment.\n\nObviously, shopping, most people want to have a seamless shopping experience.\n\nThe way that we did this at Wayfair was supporting thousands of services, especially for big gameday-like events like Way Day, Cyber 5.\n\nThose were across hundreds of services, hundreds of teams.\n\nThey all had the one ultimate goal-- consistent and delightful experience for everyone who is trying to shop online.\n\nExcitement is an understatement.\n\nThere is a lot of preparation.\n\nThere is a lot of planning, testing, making sure that everything is going to scale.\n\nAnd there is always a little bit of luck in all of this.\n\nI don't think we can understate that.\n\nYou can prepare as much as you want.\n\nBut I don't know, maybe some small service could potentially introduce too much excitement that you didn't account for.\n\n**STEVE**: (SARCASTICALLY) And I don't suppose that either of you, in retail and gaming, ever deal with spikes of traffic during certain times of the year, or around events or anything like that?\n\nI'm guessing that never really comes up?\n\n**SCOTT**: (SARCASTICALLY) No.\n\nWe haven't ever had any trouble with a game launch.\n\n**STEVE**: Oh, no? OK, that's good.\n\n**JORDAN GREENBERG**: Certainly not.\n\n**STEVE**: It seems easy.\n\n**SCOTT**: We definitely have spikes, and we have definitely struggled at times with designing for those, and then also running an efficient infrastructure outside of those.\n\n**JORDAN CHERNEV**: Yeah.\n\nFrom our perspective, you do get the spikes, sometimes are anticipated or unanticipated.\n\nOne of the more interesting examples that comes to mind is sometimes you may introduce an innocent-looking header to a web page, which increases the load on a somewhat critical path that you didn't notice it was critical at that point in time.\n\nBy 100x it goes up, somewhat triggered internally.\n\nBut yes, a lot of experience with marketing, email campaigns, blasts that are somewhat scheduled.\n\nThose are ones that you can prepare for, but it's a combination of the two.\n\n**STEVE**: Yeah, marketing is real, man.\n\nTurns out it has real effects.\n\nNot a joke.\n\n**JORDAN GREENBERG**: You mean it works?\n\n**STEVE**: I'm afraid it does, yeah.\n\n**JORDAN GREENBERG**: Oh, no.\n\n**STEVE**: Turns out.\n\n**JORDAN GREENBERG**: OK.\n\n**STEVE**: So in my experience as an SRE, one thing that we talk about a lot is SLOs, and SLOs tend to be a thing that we focus on on is the thing working or not?\n\nI'm curious if you guys-- do you use them at all?\n\nAnd how does it relate to a service that you can see it's exact \"is it working or not,\" in terms of money and customer satisfaction?\n\nDo these SLOs align with how the business is doing?\n\nAnd if not, can that be fixed, or is it a fool's errand?\n\nIs this a good idea, or what do you think?\n\n**SCOTT**: Man, that question kind of hits me right in the gut, because our first broad pass at trying to apply SLOs to our most important services, we were kind of engineers about it.\n\nAnd we were thinking more about, what's the service doing, and not as much about, what's the user experience?\n\nAnd that's always the actual important thing.\n\nLike Jordan said, the goal of all of that stuff at the end is the consistent experience for the customer.\n\nAnd yeah, having our SLOs currently a little bit misaligned from that, we can feel it.\n\nSo we're in the middle of an effort to redefine and realign some of those, so that what the player is seeing and experiencing in-game is the thing that our objectives are designed around.\n\n**JORDAN CHERNEV**: Yeah, we've thought about those a little bit differently.\n\nIt's perfectly OK for teams to have their engineering or private SLOs that basically tell them the health of the components of the services.\n\nBut the ones that are considered more public, or basically end-user-oriented or business-outcomes-specific, you do want to have the healthy combination of the two.\n\nBecause when you go to an operational readiness overview for your systems, yes, let's take a look at the engineering-specific ones to see if we can drive consistency from the technology standpoint.\n\nBut obviously, for the ones that the business cares about, you want to make sure that you have nice mental connections between this is what exists for the service; this is how it ties to a specific metric or a KPI that we have defined.\n\nThis sounds easier set out as opposed to done in practice.\n\nNot all services will be able to have that direct link to a specific business-level KPI.\n\nMaybe your top or most critical services would.\n\nBut the deeper you go into the back end, the harder that gets to be defined, especially if you have shared services that you're providing all for the entire organization.\n\nHow would you be able to quantify that or tie it to a specific business metric?\n\nSo there are some interesting twists and turns in terms of defining those.\n\nBut yes, it's a very useful method for you to try to communicate and portray the value add or the potential impact to a non-technical audience within your organization.\n\n**STEVE**: OK.\n\nSo given all that, specifically in both your industries, like we said, you're kind of real-timey, as well as you're direct-facing to customers.\n\nSo millions of people can see when stuff goes down.\n\nSo I'm curious if you deal with SLOs on a per-minute basis, or more so per-second?\n\nI don't know.\n\nHow fine-grained can you get with this stuff?\n\nDo you know when your system is down for 30 seconds or is it more like-- does it matter, I guess is what I'm getting at.\n\nIs it worth the investment of going to that level of granularity?\n\n**SCOTT**: I think in our case, especially for our biggest couple of titles, we have designed ourselves into a spot where it does matter.\n\nSecond-level impact is noticed by every player online for a given title or, sometimes, depending on the nature of the impact, all titles using our platform.\n\nSo yeah, whether we know proactively or after the fact, we can absolutely see a second-level impact to our most real-timey service being our multiplayer lobby and messaging system.\n\nPeople are in a lobby together.\n\nThey feel if the thing keeping them together breaks.\n\nSo that is definitely a thing that--\n\n**JORDAN GREENBERG**: That's true.\n\n**STEVE**: Lag is real.\n\n**SCOTT**: --we pay a lot of attention to.\n\nAnd we actually redesigned most of that multiplayer lobby system in the last year, just for better observability, with the goal of hopefully a truly defined objective as opposed to just a fuzzy keep-the-players-online.\n\n**JORDAN GREENBERG**: The gamers are thanking you.\n\nI'm \"gamers,\" but the players are thanking you because a lot of games have evolved to be very social.\n\nAnd for services where you have to be available when multiple people are available, people don't want to think, oh, the thing that I want to do with my friend isn't working right now.\n\nThey don't want to see that.\n\nIt makes them very sad.\n\n**SCOTT**: Yeah.\n\n**JORDAN GREENBERG**: So I'm sure everybody's excited about that.\n\n**SCOTT**: Yeah.\n\nI've joked with my wife that video games, for me, at my age now, are kind of just an excuse to hang out in a phone call with my buds.\n\nSo if we don't have that excuse, we don't catch up.\n\n**JORDAN GREENBERG**: Mm.\n\n**STEVE**: That's right.\n\nAnd how about in retail, Jordan?\n\nDo you guys have a similar kind of situation?\n\n**JORDAN CHERNEV**: I think it's a little bit different.\n\nMaybe it's slightly more relaxed from the perspective of end user experiences.\n\nFor better or for worse, I think most shoppers online tend to be a little bit more sticky, especially if they experience a transient or a temporary hiccup in terms of availability or performance.\n\nMany people are used to, hey, I have to go and buy tickets for a concert, and I have to keep pressing the button just so I can get it.\n\nSo the mental model there somewhat relaxes the expectations for the end user.\n\nWe were capable of detecting and seeing issues as they were happening.\n\nI don't think it was as pragmatic or practical for us to try to detect them at the second level.\n\nBut maybe at a minute, we will definitely start seeing more real business impacts.\n\nAnd again, it's not like, hey, I had a brief minute of an outage; you're going to see a massive shift.\n\nBut obviously, the more that the minutes start stacking up, that's when you start seeing a little bit more of a profound softness in experiences.\n\n**STEVE**: Yeah, for sure.\n\n**JORDAN GREENBERG**: Mm.\n\nSo if that's happening, how do you communicate with the users of the product?\n\nWhen things are going sideways or pages won't load, how do you say that to them?\n\n**JORDAN CHERNEV**: It depends on the outage, I would say.\n\nI think there are many different methods.\n\nEach business tends to maybe choose its personality or persona that it displays.\n\nYou basically create, I don't know, a maintenance or a page.\n\nYou obviously want to communicate back with your customers via email after the incident has wrapped up, and basically communicate to them what happened.\n\nHere's the story.\n\nMaybe that makes even for a good blog post after the fact, around providing specific visibility.\n\nMaybe you send them a marketing coupon or a code, basically trying to attract them back, making sure that they have a pleasant, good experience, if you will.\n\nI think those are the main approaches that we have considered over the years.\n\nThat's how we describe it.\n\nThere is, as I mentioned earlier, there is a certain level of halo or stickiness.\n\nSo even if someone is experiencing something that happens for a brief period of time, they usually come within the same hour, because they're still actively online and shopping.\n\nAnd you could actually see, hey, the revenue is somewhat-- it was a little bit soft.\n\nNow it's coming back and then some more, which basically reattracts the people who are actively looking to shop.\n\nSo the more sophisticated that you get with your business, the more visibility and methods you do.\n\nBut in terms of communication, it's primarily follow up around either the different channels around text-based notification, push-based notifications, emails.\n\nYeah.\n\n**SCOTT**: We actually, at least for a planned outage, we have a handful of ways that we can try to get that information to our players.\n\nBut for the more interesting case of an unplanned outage, we don't have a great way, aside from our SHiFT status Twitter page.\n\nAnd even then, getting from, hey, we have the technical signals that there's a problem, to there's an engineer who's validated, yes, players are impacted, to getting a post onto the Twitter, there's a lot of time there for a gamer to think, hey, this should work and it doesn't, and the status Twitter says everything's fine or hasn't had a post in a day.\n\nSo that's something where we want to get better.\n\nAnd we're hoping to use something like status page, which is something I'm a fan of just from various sites or tools that I use have that, so it's in my brain as something to type in.\n\nBut yeah, that is a challenge for us, if we have an unplanned outage, to communicate that proactively and then also to send the all-clear.\n\nWe can use the Twitter for that, but we're hoping for a better and slightly more technically-involved solution.\n\n**STEVE**: Cool.\n\nSo given all these things that you guys have built, and your teams have been able to develop in terms of communication and investigating things, I have a broad question which is, how did you get this all to be invested in instead of the next game or the next feature?\n\nSo sometimes we call this shifting left, shifting reliability left.\n\nHow do we get this type of engineering done in an organization?\n\nIs it, the ops team files a bunch of bugs and complains a bunch?\n\nIs it writing postmortems?\n\nIs it just stepping in and rolling up your sleeves and writing code?\n\nHow has it worked in your experience, in terms of getting this stuff more suitable for this large-scale, real-time, customer-facing stuff?\n\n**JORDAN CHERNEV**: I think reliability is actually a team culture component, first and foremost.\n\nIn order for it to work, everybody has to be invested in that to be successful-- what I mean by everyone, the target personas are not just the engineering teams.\n\nThere has to be also investment from the business, investment from the product teams.\n\nBasically having those shared incentives around, this is what the end user experience looks like in aggregate to the people who are using our product.\n\nSo I think by starting to evolve and shift the culture to be a lot more focused, or at least mindful about reliability and how that may impact the actual product that the organization is delivering, I think that's probably the first and most important starting point.\n\n**STEVE**: Cool.\n\nScott, what do you think?\n\n**SCOTT**: I'm lucky that I joined the team at a time when they were redesigning the entire platform from what we have internally called platform V1.\n\nThey were designing platform V2 with reliability and observability as the goals.\n\nAnd I think that is due to the technical leads on the team, before I joined them, seeing the scale that the business wanted to achieve, and seeing that what they had built at that time was not on the same track.\n\nAnd I think that along with some of our team culture of make-on-call-not-suck, those two things came together so that the right people were invested enough in the idea of reliability that, man, multiyear effort to design and then migrate to our new platform was authorized.\n\n**STEVE**: Nice.\n\nYeah, it always comes down to scale, I think.\n\nIt feels like that's the thing that pushes you over the edge.\n\nIt's like, would you like to make more money today?\n\nOK, this is what we got to do, turns out.\n\nOK, cool.\n\nLet's shift gears into migrations.\n\nSo Jordan, take us away.\n\n**JORDAN GREENBERG**: Yeah, what is a migration?\n\nWhy do you have to do it?\n\n**SCOTT**: That is a fun semantic rabbit hole, and I think that my personal definition of migration, so that I can get my dang job done, is something where we're changing a foundational or fundamental piece of a feature that we serve.\n\nAnd it's a one-way change, and there is a point of no return that we have decided on together as a team.\n\nAnd then there are so many soupy details in between, and so much of that plan always ends up changing.\n\nBut yeah, for me, it's a foundational change that is ultimately one-way.\n\n**JORDAN GREENBERG**: What do you think about migrations, Jordan?\n\nDo you like them?\n\nDo you hate them?\n\nAre they necessary?\n\n**JORDAN CHERNEV**: I mean, the running joke in the community is that once you're in the platform or the SRE or a dev ops space, the migrations don't ever stop.\n\nThey're just a fact of life.\n\nThey are a necessary way for you to either drive innovation, positive outcomes, or even pay down technical debt.\n\nSo they are good ways for you to provide a good healthy balance to where the organization wants to go next.\n\nThey are always running, never-ending.\n\nOnce you complete a migration, another one starts.\n\nOr maybe there are multiple migrations happening at the same time, which sometimes can have potentially conflicting schedules and agendas.\n\nSo it's really about constructing the right sequence of timelines across different teams.\n\nSo it's a fun place to be, especially if you like to be somebody who is really organized.\n\nBut as mentioned earlier, it's generally a positive thing that just never ends.\n\n**JORDAN GREENBERG**: Oh, yeah.\n\nOK. So this just in-- SREs are migratory birds.\n\nNo better.\n\n**STEVE**: [LAUGHS] Nice.\n\nSpecifically, how does this affect you with this real-time stuff?\n\nBecause it seems like a migration can be a real bummer.\n\nAnd if it goes the wrong way and people notice when things are down for a couple of seconds, that seems like a bad combination.\n\nSo any top tips on this?\n\nHow do we allow ourselves to get over this hump, and not completely have our users suffer along the way?\n\n**SCOTT**: Oh, man.\n\nFor my team, doing our platform V1 to platform V2, going from one big cloud account to a spread of them and trying to follow a bunch of best practices along the way, we had to accept that we were going to just cause impact.\n\nSometimes there were some services where engineering for zero downtime was not realistic or cost-effective.\n\nAnd in those cases we got lucky, to some extent, that in the gaming industry, regular downtimes are accepted.\n\nGamers know from big companies like Blizzard and Steam for years and years that have had weekly maintenance windows that it's part of the gaming space.\n\nSo we don't have a regularly scheduled maintenance.\n\nBut we, when we know we're going to cause an impact, try to give a lot of notice ahead of time both in-game and on the social channels.\n\nBut for a lot of our services during that migration, we made use of a pretty neat and relatively simple trick to work around the fact that we don't have an A/B or a blue/green deploy infrastructure setup.\n\nWe just had old platform, new platform.\n\nAnd so we used weighted DNS records with CNAMEs pointing either way so that we could have just a percentage weight there.\n\nAnd it was zero pointing at the new stuff to start with.\n\nAnd for things where we didn't think we needed downtime, we could set that to send 1% of our production traffic to the new platform and see what happened.\n\nAnd we knew we were risking 1% of our players' experience, but it gave us the scale to feel confident in going up to 5% and beyond.\n\n**STEVE**: Yeah, gradual change, right?\n\n**SCOTT**: We tried and did not always succeed.\n\n**JORDAN CHERNEV**: Yeah.\n\nYeah, I think Scott did a pretty good job of enumerating most of the strategies.\n\nObviously you have options like double writing or dual writing if you're trying to set up or stand up different data platforms.\n\nThis is where a message buses can become really your friend, especially if you're in a situation where you have to migrate and validate the data before you do the actual cutovers.\n\nThose are the trickier and the longer-running ones, if you will.\n\nBut yeah, blue/green, draining, rolling strategies, hard cutovers.\n\nFor some services, maybe it's not even worth the time of coming up with a zero downtime strategy.\n\nFor instance, I have an internal tool that is being used by two teams on the business side.\n\nThey only use that service during the hours of 8:00 to 5:00 every day.\n\nAnd maybe I can just do a clean or easy cutover, from a technology investment standpoint, during the hours of 6:00 to 8:00 PM when they're not around.\n\nSo it really depends on the actual service, the context, and how much impact, from business perspective, you're willing to tolerate.\n\nIt's basically a trade-off.\n\n**JORDAN GREENBERG**: Nice.\n\nSo just thinking about this, when do you engage SREs to help with migration?\n\n**JORDAN CHERNEV**: I think you have to start during the early socialization stages of any kind of product, because these activities are usually as a part of the actual product life cycle.\n\nIn practice, it is rather unfortunate.\n\nMany people miss this, and usually SRE get invited towards the middle or the end phases of the migration.\n\nPeople are somewhat used to that, which is not necessarily a healthy pattern.\n\nBut ideally, the sooner you can get involved as a group, the better.\n\nThis is where good relationships with folks on the business side or the product team could actually help you hear about some of these developments a little early as a group.\n\nI don't think it's going to be like a-- I don't know.\n\nI think the way that I've seen it, in my experience, it's about maybe 10% or less of our engagements usually have SRE as an active party from the get-go.\n\n**JORDAN GREENBERG**: I think that they did that on purpose across all companies, because they're worried that they'll scare the engineers if you ask them questions.\n\nI think that might be it.\n\nMaybe turning on the lights scares them as well.\n\n**SCOTT**: That matches my experience so far, that SREs have been a critical component of design later in the process than we would have preferred.\n\n**JORDAN GREENBERG**: Right.\n\n**SCOTT**: And I think my team of SREs is lucky that we've got a bunch of software engineers that want to implement observability and metrics and be cutting-edge in all of these ways.\n\nBut then, yeah, the tensions between moving fast and doing it really well have not always worked out in our favor.\n\n**STEVE**: So, Scott, I think you mentioned the point of no return.\n\nSo in the migration, whether it's changing a platform, changing the implementation of an entire codebase, changing an infrastructure, what do you mean by a point of no return?\n\nAnd is there always one?\n\nCan't we just roll the thing back infinitely, or do we have to bite the bullet at some point?\n\nHow do you plan for this stuff?\n\n**SCOTT**: I think my personal philosophy that I try to convince my colleagues of-- and so far, it's worked-- is that mainly for a cognitive burden and team sanity standpoint, it is just useful to have a point of no return where we can say, if we achieve feature parity up to this level in the new deployment of the service, then that's where we're done.\n\nAnd I mean, I think technically, yes, we could always roll back or engineer our way out of the new thing, back into something very close to or exactly like the old thing.\n\nSo it's always going to come down to, what does the business demand?\n\nBut if there's room for engineering input, then yeah, my choice is always going to have a point of no return so that all of the people working on the thing can checkpoint and cache dump and move forward from here, and not have to retain too much historical or tribal knowledge.\n\n**JORDAN CHERNEV**: Yeah, that also matches my experience.\n\nWhenever teams are creating game plans, we make it a point of specifying of-- and from here on, this particular step, this is the point of no return.\n\nSo once you cross the Rubicon there is no turning back.\n\nYou have to fight your way through the remaining issues that you might be observing in the environment.\n\nAnd we feel pretty comfortable communicating that to the rest of the business, around the expectations that once we're kind of like, from this point, there is no turning back.\n\nWe just have to keep going.\n\nSo I think providing that level of transparency ahead of the actual migration, I think, is very helpful, because the business knows what to expect.\n\nIt's not perceived as a seamless or nonturbulent migration.\n\n**STEVE**: Cool. OK.\n\nWe're running out of time here.\n\nThis has been going great so far.\n\nI have one more question, and it kind of comes off of what you just said, Jordan.\n\nSpecifically, when people start using the cloud, often, one of the things that we talk about, and some of the things that the business has to think about, is that we're actually giving away a lot of control.\n\nOr maybe we're giving away a lot of responsibility.\n\nYou can think of it either way.\n\nHow does this come up when it comes to talking to the business about this?\n\nIs there a risk versus control versus time and cost and flexibility trade-off that you've seen be successful when it comes to, yo, we're going to use this crazy thing that lives in the sky now, not those machines that keep our buildings warm at night?\n\nHow does that go, in your experience?\n\n**JORDAN GREENBERG**: The free heaters.\n\n**STEVE**: They do heat well, that is true, for sure.\n\nYou can keep your sandwiches in there, and it's great.\n\n**JORDAN CHERNEV**: It's a great question.\n\nI think at this point in the game, the public cloud concept is more or less somewhat fairly well-understood from a business standpoint.\n\nThey know what to invest.\n\nThey know what kind of experiences that they're going to get.\n\nThere is a maybe correct or potentially correct perception that the public cloud is potentially a lot more secure than a private implementation.\n\nThere are some nuances and shades of gray to the statement, so please don't feel like it's as black and white as I just said it just now.\n\nBut a business sees that as a potential value add, because it helps them increase their overall security posture.\n\nThey see that there is a benefit towards mean time to market for new initiatives, or anything that is brand-new and born with cloud-native paradigms and shifts.\n\nThey see it as an opportunity for you to accelerate velocity for developer experiences, because most of the interactions that you have with the cloud are more or less API-based or API-driven.\n\nHowever, the cloud comes with its own set of challenges and complexity around skill sets, so you obviously need to be able to navigate that.\n\nCost is a topic that the business is not necessarily fully aware of, the transition from CapEx to OpEx or how to actually attribute costs with the OpEx model to specific teams within your organization, as opposed to one big bucket who is responsible for it.\n\nThose are topics around governance that usually businesses are not necessarily ready for.\n\nUsually the business has a fairly decent understanding, given the level of maturity.\n\nRight now, it's a little bit more mainstream for you to try to think about, hey, is the cloud too expensive in terms of margins?\n\nCan I potentially save by going back to a colo, using a private cloud for specific workloads which are not as bursty?\n\nObviously that's a specific business decision first, less so technology.\n\n**JORDAN GREENBERG**: Well, thank you for talking about the cloud magic stuff.\n\nI'm sure it's fine.\n\nI'm sure whoever does cloud stuff is fine.\n\nThe last question we have for you today is, thinking about some of the people that you've worked with in the past who may have been on that IT team that you were on before, Scott, or other people that weren't SREs, could we train them to become SREs?\n\nWhat are the challenges of that?\n\n**SCOTT**: I think we definitely can.\n\nThat's actually been one of the more rewarding slices of my personal responsibilities lately.\n\nOur classic IT team, whenever I left them to join the Spark online platform, I got to carry with me a lot of their roadmap and goals and then learn a whole bunch of new skills.\n\nAnd the original idea was to back channel and teach them along the way, and I was too focused on how much awesome new stuff I was learning.\n\nBut now, both of our teams have realigned and a lot of their work is catching up to the style that we've landed at for the way we build our infrastructure, and then taken the reins from us in some ways.\n\nSo yeah, I definitely think that it's a skill set that can be taught to the classic ops folks and can be used to make their lives easier, I think has been the thing I've seen the most of.\n\n**JORDAN CHERNEV**: Yes, it is certainly possible.\n\nIn my experience, it really comes down to the individual or the teams who are undergoing through that transformation.\n\nObviously, it's a bit of a personal journey of growth, reskilling, upskilling.\n\nYou should be trying to create a positive environment that encourages that type of transformation.\n\nIt doesn't happen overnight.\n\nIt's usually at least 6 to 12 months for somebody to go through that journey and be somewhat comfortable with the newer skill set and the responsibilities.\n\nThe good news is that some of the required fundamentals are still the same, meaning if you know how computers work at a fundamental level, at CPUs, memory, network, storage, those will translate very, very seamlessly.\n\nI think, usually the biggest hurdle is how do we actually translate that to how public cloud providers have decided to put an API on top of those fundamentals, so we can actually learn how they actually work?\n\nKnowing and understanding that, and having the actual skill set around specific frameworks, for instance, Terraform and maybe Golang, I think those are usually the areas that basically provide a step function in terms of ability or confidence level, in my experience.\n\n**STEVE**: Cool.\n\nWell, thanks to you both.\n\nBefore we finish off, do either of you have a final take, or maybe where people can learn more about you online, like if you have a blog?\n\nDo people still blog? I think they do.\n\n**JORDAN GREENBERG**: The socials.\n\n**STEVE**: Or anything like that.\n\nA social, as the kids say.\n\nAnything like that you want to shout out?\n\n**SCOTT**: Not for me.\n\nI avoid all that.\n\n**STEVE**: Good answer, good answer.\n\n**JORDAN GREENBERG**: Probably for the best, honestly.\n\n**JORDAN CHERNEV**: Yeah.\n\nFor me, you can find me fairly active in the platform engineering Slack community.\n\nObviously, feel free to hit me up on LinkedIn.\n\nI try to do a weekly post on the topics of platform engineering every Friday.\n\nSo if you follow me on LinkedIn, you're likely going to see a subscription of my feed.\n\nSo happy to see you there.\n\n**STEVE**: Thank you.\n\n**JORDAN GREENBERG**: Thank you very much.\n\nAll right. Thank you, everybody.\n\nThank you to our guests, Scott and Jordan, for helping us shop and game.\n\nWe need to be able to have fun, especially if everybody is fighting fires during the day, keeping our other services alive.\n\nHave a great day, everybody.\n\n**STEVE**: Bye.\n\n**JORDAN GREENBERG**: Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG**: You've been listening to Prodcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber.\n\nThe Prodcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe Prodcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 32747, "slov": 5881, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:42", "sha256": "491c0b36bca5f8bb755dce375f56b7f0faa27f53e04a7c1bff4a67d67390e5a0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08", "titulek": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "h1": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "popis": "This episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08"}, "headline": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "description": "This episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.", "image": "https://kstatic.googleusercontent.com/files/013af4088b7884ebed25e0fa4d38b55c4f0ad3caece5d2f65c2e6f41d19e9873f150fcd2104f13dc64e9db1e7260140096ebece6495ef71eecc9721c8c1bc8cd", "author": [{"@type": "Person", "name": "Wilmer van der Gaast (Production on-tall, Google) "}, {"@type": "Person", "name": "Andy Sykes (Senior Staff Systems Engineer, SRE, Google)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes"}], "markdown": "# Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes\n\nThis episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee.This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\nHey, everyone. Welcome back to The Prodcast. This is Google's podcast about SRE and production software. This week, we have two guests, Andy and Wilmer, and we're going to be talking about a software system that was developed by a bunch of people, including these SREs here today. And this system is something you've used before almost assuredly. It's a little thing called public DNS or, as I like to call it, 8.8.8.8. If you know, you know. As always, I'm accompanied by Jordan. Welcome back, Jordan.\n\n**JORDAN GREENBERG:** Hey, everybody. Thank you.\n\n**STEVE MCGHEE:** And this week, we're going to talk with Wilmer and Andy. Why don't you guys introduce yourselves?\n\n**ANDY:** Hi, I'm Andy. I'm an SRE at Google. I've been here for nearly nine years, working on networking systems, and I was once the TL for Google Public DNS.\n\n**STEVE MCGHEE:** Cool. Welcome.\n\n**WILMER:** And I'm Wilmer. I've been here for 17 years in a bit. And, yeah, like Andy, I like networks.\n\n**STEVE MCGHEE:[CHUCKLES]** Don't we all?\n\n**JORDAN GREENBERG:** That's a good way to say it.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** I like when my network works.\n\n**STEVE MCGHEE [LAUGHS]:** We also happen to work together. I'm wearing my Eng London sweatshirt today just to point that out. We're all in the same office at the same time. I think you guys probably have the same sweatshirt. Mine's too small. I don't know about you guys, but they're a little bit dodgy, as we would say back then.\n\nOK, so this week we're going to talk about, like I said-- the official title is public DNS. We call it a couple other things. Most people will just know it as these numbers, 8.8.8.8. So why don't we first mention, like, what is it? **[LAUGHS]** Like, what's the deal? Why would someone even use this thing?\n\n**ANDY:** I think there was a perception that, generally speaking, you use the DNS service provided to you by your ISP. And, at least back when we built this thing, they were generally not that reliable and generally not that fast. People had a bad experience of the internet because of that, because if your DNS server is slow, then everything else is slow. I'm sure you've experienced that. And we were kind of uniquely positioned to do something about that, right?\n\nWe could build something at scale. We had places to deploy it all over the world. We believed we could make the internet better for many of these people who had ISPs with maybe not great DNS servers through no fault of the ISPs themselves. And I think you can see that because, for a long time, the recommendation for, my internet was bad, was a description of how to open your network settings and put 8.8.8.8 in one of the fields. Never at 8.8.4.4.\n\n**STEVE MCGHEE:[CHUCKLES]**\n\n**ANDY:[CHUCKLES]** Everyone forgets about that one.\n\n**JORDAN GREENBERG:** Mm, yes.\n\n**ANDY:** Including you, Steve. **[CHUCKLES]**\n\n**STEVE MCGHEE:** That's right.\n\n**JORDAN GREENBERG:** Oh, no. **[CHUCKLES]**\n\n**STEVE MCGHEE:** Sorry.\n\n**ANDY: [LAUGHS SOFTLY]**\n\n**JORDAN GREENBERG:** So for me, I know that I play a lot of video games, especially online video games. So I'm always switching my DNS on my router to make sure I'm using it because it's faster for me to get that resolution to wherever I need to go. Why do customers use this today?\n\n**WILMER:** Like Andy said, and above all, I think one cool thing about it is it's just a very, very, very memorable IP address, of course, which we'll talk about later. But yeah, it's fast. And in fact, the reason we built it originally was because even the founders had a pretty firm belief that bad DNS provided by ISPs was actually why the internet was slow and why Google was slow. So one major reason to even build this product to begin with was to actually make Google faster for everyone.\n\n**JORDAN GREENBERG:** Wow, that's interesting.\n\n**ANDY:** With the nice side effect that it affects everybody.\n\n**STEVE MCGHEE:** That's right. Wilmer, you were there at the beginning of this project, right? Can you tell us a little bit about how it came about? Did you get an email from Eric Schmidt saying, Wilmer, please make a new DNS for the internet. Signed, Eric, or how did how work?\n\n**WILMER:** How unnatural would it be? So the idea was coined by David Presotto, I believe, to actually-- let's build a resolver ourselves. And he took it to our team at the time-- traffic team, traffic SRE-- because we were already responsible for running various DNS servers at Google at the time, like, well, the authoritative servers and all of that. So it seemed like a good fit.\n\nAnd it happened at the right time because I was just doing my second visit to the Bay Area and doing the rounds, just checking how everyone's doing, what are you working on? And someone said, hey, I kind of would like to work on this HonestDNS thing and I don't really have time, so would you like to help me? And I grabbed that because I felt like if we do this, I can talk to my friends about it instead of just saying, yeah, I work on internal infrastructure, which hey, that seemed cool. And in general, I just like doing something that wasn't just web stuff, but actually some infrastructure. So it was actually an SRE product from the beginning, which was really cool.\n\n**STEVE MCGHEE:** That's awesome. So you were on this traffic team that managed DNS already, and I guess the idea was, like, what can we do to make the customer experience better? And one interesting thing about this problem is it's hard to give DNS to a couple customers. You have to kind of make it big to begin with. **[CHUCKLES]** It's hard to launch this in a small beta or something like that. And so this is kind of one of those problems that I think you guys were set up to do at scale, and it would be hard to do otherwise. Is there anything that you had to think about at the time around that dimension of the problem?\n\n**WILMER:** We didn't know what to expect yet because, as you say, you cannot launch it, you cannot beta it, you cannot do an invite scheme, which we used to do a lot at the time. So we really just had to make a random wild guess on how much is going to draw. And, well, we just did it from memory because it's been a while, of course, but we just followed our usual DNS, yeah, provisioning philosophy of just overprovision because DNS tends to be cheap. Well, mostly. So just make sure we can serve crazy amounts of traffic and just have a footprint in every cluster, in every data center that we had in the world at the time, which I think at the time was like 12.\n\nSo we did that and we actually got by for a long time. So we launched, and within the next year we would add machines here and there as we saw demand actually coming up. But I don't remember in the early days scramble, at least, thankfully.\n\n**JORDAN GREENBERG:** What sort of challenges did you face when starting this up?\n\n**WILMER:** So there are two things that come to mind. So the first one is a writer at the time. The Dan Kaminsky story came out where he said, I think I found a way to poison your DNS cache much faster than you think you can.\n\n**STEVE MCGHEE:** Mm-hmm. Yeah.\n\n**WILMER:** As in, I can do it within hours instead of within weeks. And the idea was, well, actually 16 bits is not that much entropy. And really, if you don't randomize your port numbers, then, really, shouldn't be running a DNS service. And the initial prototypes of Google Public DNS were actually based on bind, which at the time, from memory, wasn't randomizing its port numbers for external resolution yet. So actually, if we were to launch it the way it was, it would be a service that is highly susceptible to cache poisoning.\n\nSo that was the first thing, where we had to fix that and make sure that the port number randomization doesn't get ruined or much less entropic for our load balancers, for example. So that was a major thing, and really just because the timing was unfortunate.\n\nAnd the other thing was around load balancing, where one benefit of people using their ISP's resolver is around how load balancing on the internet works when you rely on DNS for it, where--\n\nI don't know if all listeners understand enough about DNS to know what the resolver and what an authority is, but the problem is when the Google name server-- so we say, ns1.google.com, gets a query that Steve wants to go to Google. ns1.google.com doesn't get Steve's IP address. It gets the IP address of Steve's name server. Now, if that's a name server of a resolver at Steve's ISP, then cool. Then, probably, we know exactly where he is. But if the IP address is actually of a name server, a resolver that Steve uses anywhere else, including ours, that obscures a little bit where Steve, the end user, actually is. So the ns1.google.com isn't actually able to provide a perfectly suitable answer to send Steve to the nearest Google location sometimes.\n\nSo this was a problem that plagued all these public resolvers, including Public DNS. And while we had a way to-- we had an internal protocol within Google to deal with this already. We could encode Steve's IP address-- sorry using you all the time Steve--\n\n**STEVE MCGHEE:** That's OK.\n\n**WILMER:** --in the query too, as one, and get a good answer back. But of course, that was internal and wouldn't work if we were talking to say, Akamai for example, or to any other CDN. So one thing we try to do as soon as possible after launch is write an RFC on adding a little header to DNS, using EDNS0 option protocol, where we encode a little bit of, well, of your IP address in the query from public DNS to the authority, to ns1.google.com, so that we can actually give you a response back that we know is proper for you instead of only roughly proper.\n\nAnd this was hard because the idea of using DNS for load balancing like this is-- not everyone likes it and it's absolutely a hack. But in the end, we thankfully agreed that it is so far-- and we're speaking about 2010-- the best hack available to us, and this RFC, we needed that to actually, yeah, make it work, even for people who use public resolvers or people who are with big ISPs that don't have resolvers at every place where they have peering\n\n**STEVE MCGHEE:** Cool. And so this is RFC 7871, I think.\n\n**WILMER:** Correct. Yes. Some people know it as EDNS Client Subnet.\n\n**STEVE MCGHEE: [CHUCKLES]** If you want to look it up, you can look it up. And so, Andy, you said you have read this many times. How would you describe reading such an article? Do you recommend it for bedtime reading or is it--\n\n**ANDY:[LAUGHS SOFTLY]**\n\n**STEVE MCGHEE:** --more of a keep-you-up thriller?\n\n**ANDY:** Like--\n\n**STEVE MCGHEE:** What do you think?\n\n**JORDAN GREENBERG:** Is it a toilet read?\n\n**STEVE MCGHEE:[LAUGHS]**\n\n**ANDY: [LAUGHS]**\n\n**JORDAN GREENBERG:** What makes the most sense?\n\n**ANDY: [LAUGHS]** Most DNS specifications follow Postel's law-- be strict in what you emit and loose in what you receive. It contains some edges, Wilmer, which we have had to cross from time to time. You must not apologize to me.\n\n**WILMER:** You know how hard it is to be internally consistent.\n\n**ANDY:** It's extremely difficult, yes. So yeah, I mean, the problem that Wilmer was talking about was a major problem for public resolvers, and I think it's still largely an unsolved problem on the internet. But we were keen to be-- per the founders' sort of definition-- we were keen to be good citizens on the internet. We wanted to be able to make sure that, if people use public DNS, that services that needed to do this kind of location-based load balancing, were still able to do that. We didn't hurt Akamai or break Akamai in any way because, if we'd become very successful as the resolver has, we could be very impolite to people, which is something we really try to avoid.\n\n**STEVE MCGHEE:** Cool. Backing up just a second. We've described the problem. We've described some of the solutions, some of the documents that have been written. Can you tell us how was or how still is SRE specifically involved in the building of this, the design of it? Is it like, oh, SRE just holds the pager, and it's cool because it's big. Or was it part of the original plan? Wilmer mentioned that. Like, he was very early on in this. Just how involved were SREs throughout this entire process. And how does it work today?\n\n**JORDAN GREENBERG:** Mm.\n\n**WILMER:** So, yeah, at the time, yeah, it started in SRE and it started with bind deployments. And the funny thing that happened is, so proper SRE, one of the first things I did for having a test setup is I load test it.\n\n**STEVE MCGHEE:** Mm. Nice,\n\n**WILMER:** And when you load test the servers, you need logs to send to it because you cannot just send random strings to the DNS server, of course. So I fetch some logs from our own name servers, mostly internal traffic, and I ask around. I asked Corp for some DNS logs from there. But one thing I did as well is I reached out to the crawl team because I knew that the crawl team downloads the internet roughly every day, and therefore, need to also resolve all the names of the internet every day. So I knew they would have interesting logs and, wow, they did, yeah, because the cache hit rate there is very low because there's a lot of typos in HTML files all over the internet.\n\nSo anyway, I asked them for their log files, and they sent those. But also, we then had-- a sign of the time-- we had an actual phone call where they told me, Wilmer, we're working on a new resolver because we have this stack that is built on something else and it's not working great, and we're building something ourselves instead. And we heard about the HonestDNS thing you're working on, and we would like to work together. So we have this. Now, we have a backend that can resolve. But how about we put a DNS front end on it as well so we can use that instead of bind? And of course I was interested because it would be nice to have a Google-scalestack with features we can add ourselves and, as I say, cluster, right, cache various things.\n\nSo that's how it started off as an SRE project. And eventually, the SWEs found us. And it's been a very, very good cooperation during my time. And I haven't worked on it for the last 10 years, so Andy knows better how it's going now, I think.\n\n**STEVE MCGHEE:** Yeah, Andy, how did you get involved? What is your current involvement, I guess, as well?\n\n**ANDY:** I got involved, I think, around 2016, 2017. The service had gone through absolutely massive growth. And SRE was still quite involved, but there was a feeling that maybe we had grown, maybe a little complacent with the management of it, and I saw a bit of a gap. I mean, I'd used it from the outside for years and was really curious about it.\n\nAnd one of the first things I sort of did was sort of try to look at the system holistically. It had grown very organically over the time, right? It now consists of three separate components that talk to each other. We had some deployments on the edge of our networks, some deployments in the central part. We didn't really have a great capacity planning story, and it had definitely hit that size where losing a bit of capacity can cause a kind of a stampeding herd problem, right? Lost a bit of capacity here. Oh, no. OK. Well, this bit's overloaded now. Oh, no. Someone drained that. And now, you're having a really bad day.\n\nAnd one of my really early realizations here was like, DNS on the internet is very, very, very sensitive to dropped queries. It's extremely sensitive. People think that clients retry et cetera, but they don't retry for three, four, five seconds. And so you really are hurting pretty much the entire user experience of thousands of people when you do this.\n\nSo I sort of started poking around. And then, we had a number of very large DoS attacks. The botnet's called Mirai, which has been written about publicly. You can go read Krebs On Security about Mirai. They turned up with an absolutely huge attack. I think they attacked us, they attacked Dyn, a bunch of different people. And we suddenly had to sort of bring the whole SWE and SRE team together to be, OK, all right. This was really bad. We were down for, I think, seven minutes or something during the Mirai attack.\n\n**STEVE MCGHEE: [CHUCKLES]** Yeah, wow.\n\n**ANDY:** How are we going to prevent this from happening again? And there was a lot of back and forth across that boundary, right? I think you could have said, oh, well, SRE would take the capacity planning and the SWEs would go and look at the code and see if they could make it faster. But that's because, I think, of the legacy of the development of the system to which I owe to Wilmer. That was not how it played out, right?\n\nI started poking around in the code along with a few of my colleagues. I think we have a few bottlenecks here. I think we can do something about it. And we spent quite a lot of time with the dev saying, look, this isn't a capacity planning problem, right?\n\n**STEVE MCGHEE:** Right.\n\n**ANDY:** There are traffic patterns that are innately harmful to the service that we are now seeing being exploited. We need to adjust for that. Initially-- and I don't mean to drop my SWE colleagues in it-- one of the responses was, can't we just have more capacity?\n\n**STEVE MCGHEE: [CHUCKLES]**\n\n**ANDY:** No, I'm afraid we're at a size where that is becoming-- **[LAUGHS]** challenging. And so what the way that's continued through the development of the service is we've launched many new features for Google Public DNS, I think DNS64, DNS over HTTPS, DNS over TLS, DNS of QUIC, a whole bunch of things. And it has always been this back and forth between dev and SRE. Dev have largely wanted to drive most of the feature development. Although, I think DNS over HTTPS mostly came from SRE saying, it would be really good if we did this. And then, I think the Chrome people and the Firefox people talking to us and saying, it'd be really good if you supported that.\n\nAnd then, we had to go and think about, OK, if we are going to do this and Chrome users-- 1% of Chrome users-- can opt in to this, what does that mean for the system? What does it mean for how we qualify releases? What does it mean for capacity planning? How do we link all these things together? And so we've always had this back and forth across it. And Wilmer has contributed code to Public DNS in its early era. And here are my-- well, I guess it would have been nearly 10 years later? Nine years later-- my code is in Google Public DNS as well because I needed to fix a few bugs. And I talked to the dev team. I'm like, hey, do you if I-- and then, I fix it.\n\nAnd I've always kind of held this philosophy as well. Maybe it's an incorrect philosophy. It is difficult to support a system as an SRE when you don't at least have some understanding of the structure of the code.\n\n**STEVE MCGHEE:** For sure.\n\n**ANDY:** I mean, that you know this piece connects to this piece, and that is how it's conceptually modeled, OK? For a long time, I didn't know there were three caches inside of it, right?\n\n**STEVE MCGHEE: [CHUCKLES]** Yeah.\n\n**ANDY:** And that meant we made odd decisions. I would think, oh, we have enough memory. Why is it saying that it's-- why am I cache missing? And so I've always wanted to encourage that. And a really fine way to do that is to contribute, to fix a bug, to go performance hunting, things like that.\n\n**JORDAN GREENBERG:** So that's really cool. So--\n\n**STEVE MCGHEE:** That's awesome\n\n**JORDAN GREENBERG:** --you have it, this claim to fame, saying, you edited Google Public DNS. And that is now written into your life story of how you made this early on, how it changed, how you support it. But now, we want to know, if you had to build it again, less ugly, what would you do differently?\n\n**STEVE MCGHEE: [CHUCKLES]** And you can't just say whatever it is right now. Like, you can't just assume precious--\n\n**JORDAN GREENBERG:** Yeah. yeah,\n\n**STEVE MCGHEE:** --completely.\n\n**ANDY:** I would have thought about denial of service attacks earlier, I think. It's quite difficult to pull that in. I mean, Wilmer definitely wants to tell me I'm wrong and tell me that he thought about it a lot at the time.\n\n**STEVE MCGHEE:** Wilmer's got ideas.\n\n**ANDY: [CHUCKLES]**\n\n**WILMER:** We did, but you need to experience them before you really learn how to deal with them. We absolutely thought of it, and also, amplification attacks and other things. So we did what we could predict with the 2009 knowledge we had, but we learned a lot, obviously, by actually running the service, and you cannot beat that.\n\n**JORDAN GREENBERG:** Mm-hmm.\n\n**STEVE MCGHEE:** So it turns out that it was a trick question just to get you to say exactly that, Wilmer. This is the answer. It is like, yeah, we don't want to go back and say like, well, if we were to actually waterfall it properly, we would have done the following. But no, we learned from how we built it and how it worked, and we didn't predict the DoS two attacks and the emergence of QUIC and all these things.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** And they happened, and we evolved over time.\n\n**JORDAN GREENBERG:** It sounded like it needed to be ugly.\n\n**STEVE MCGHEE:** That's what I would imagine is probably the case for lots of services.\n\n**JORDAN GREENBERG:** Yeah.\n\n**ANDY:** Yeah. I think I'm fundamentally an incrementalist when it comes to this kind of thing. I think there are many paper designs you could make that would, on paper, be better. But I go and look at the code, and yeah, it's a system from 2009. Is that 15 years? It's a long time now — of stuff in it.\n\n**WILMER:** 2008, even.\n\n**ANDY:** Yeah, I mean the thing I always remember is, almost all of those lines are there for a really good reason. I definitely experienced a bunch of-- I'll call it growing up, working on that, and working on a different system. Google's authoritative DNS server, which I was also a TL of for a while.\n\nI definitely felt that urge to be like, no, sweep away all this historical detritus. And in each case, hubris came, and it taught me a terrible lesson. No, I can't remove these simple rate limit things here. They're there for a reason. Those are important. I removed them, and the performance got substantially worse.\n\nOK, well, that's an important lesson in being an SRE is learning when to admit that you are wrong. And I was wrong a lot early on.\n\n**STEVE MCGHEE:** You mean you can't just understand things perfectly and burn it all down because you don't like it?\n\n**ANDY:** I mean--\n\n**WILMER:** Come on.\n\n**ANDY:** We can barely describe to each other how we feel about very simple things, like food. I don't know how we would describe how code works. This language is used, I think, as Terry Pratchett said, to tell the other monkeys where the fruit is. It is very difficult to communicate about complicated topics using that language. The good fruit is here.\n\n**STEVE MCGHEE:** So one of the important things about setting up DNS when you're like an end customer is, it's not dns.google.com. You literally can't do that. You have to use this crazy thing called an IP address.\n\nAnd one of the hard things about this is, normally, when you get an IP address from your DNS provider, it's some random set of numbers, and it's hard to remember. But Google is this magical beast that got this awesome thing. 8.8.8.8, 8.8.8.8. Also, 8.8.4.4, I forget this time. But what was the story behind that? Did we just have this sitting around? How lucky did we get?\n\n**WILMER:** So fun thing is, initially, it wasn't. So initially, the IP address was 74.125.125.125, which is very repetitive but also very long.\n\n**STEVE MCGHEE:** Yeah. What did it start with?\n\n**WILMER:** Yeah, exactly. And I thought like you, these IP addresses need to be memorable. But also, I was constrained by no one caring what I'm doing. So I just went shopping. And I searched for all the IP space we owned at the time. And I tried to find a /16, where I just knew that if I just repeat the second exit twice more, then I have a pretty nice IP address.\n\nSo that's how I found that IP address. And unfortunately, it was reserved for a new cluster somewhere. And there was some back and forth. And can we please get it? It's nice. Believe me, we need it.\n\nAnd eventually, we got it. And then we had an eng review with Larry, one of the founders. And his verdict at the end was basically-- and this was when we were about ready to launch, his verdict was, really cool, but our IP addresses are terrible, so please fix that.\n\nSo there went our launch plan. And we had to go to other friends. And they got us some IP addresses. So that was 8.8.8.8. And they are just the most memorable IP addresses I could imagine.\n\n**JORDAN GREENBERG:** Yes, I would definitely agree to that.\n\n**STEVE MCGHEE:** Iconic even. Yeah.\n\n**WILMER:** Graffitied on walls here and there every now and then. It's very interesting to see.\n\n**STEVE MCGHEE:** Yeah, that is pretty awesome when you can see that just out in the world. It was not a marketing stunt, people just did that. That's pretty awesome. I hope you guys are proud to have been a part of that.\n\n**WILMER:** It was a highlight of my career.\n\n**STEVE MCGHEE:** Yeah, that's pretty darn cool.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** I have one final question, which is, of course, silly. And you can choose to ignore it. But is it always DNS? Andy's nodding.\n\n**ANDY:** Disappointingly, surprisingly, alarmingly large amount of times it is. And it's not that the record doesn't exist. It's always that the DNS server was slow or the stuff gets slow as a result every single time. GetAddrInfo should not be slow. Every system assumes it's fast. And if it's slow, weird stuff starts to happen.\n\n**WILMER:** Yeah.\n\n**JORDAN GREENBERG:** I have a follow up question. If I am using a service that interacts with DNS, it's a network service, and I get a Retry button, do I press the Retry button or do I wait for it to retry? And are these things built with retries? Does the button actually work? Or am I making everybody's--\n\n**ANDY:** It actually works.\n\n**JORDAN GREENBERG:** OK.\n\n**ANDY:** But I would recommend pressing the button, to be honest with you, because otherwise, you have to wait for whatever the OS-level timeout, which is generally, many seconds more than you're willing to wait, 5 or 10. I would press the button.\n\nIt's very interesting to note that sometimes, when we have a problem with Google Public DNS, sometimes, the queries per second we receive goes up, because there are lots of queries that are just abandoned because someone has hit Repeat.\n\nSo we get a query, we don't answer it in a timely fashion, and we get another one from you because you hit the Refresh button. So sometimes, going up is an indication that something bad is actually happening, because we're seeing all the retries come from people who didn't get their first question answered. They ask a second one.\n\n**WILMER:** This reminds me of the fun observation we made a long time ago, which is that the cache hit rate to 8.8.4.4 is noticeably lower than to 8.8.8.8, because you sent a query to 8.8.8.8, and you don't get a response because the query you sent is actually a thing that doesn't exist. And therefore, you try again. And you send all your retries to 8.8.4.4.\n\nSo if your query was easy and was answering cache, it comes from 8.8.8.8. And if your query was so weird, you just send it twice, once to 8.8.8.8 and once to 8.8.4.4. So the cache hit rate is half of the one of 8.8.8.8, I believe. It's crazy.\n\n**ANDY:** Yeah. Noticeably different. And the amount of traffic is noticeably different as well.\n\n**STEVE MCGHEE:** Yeah, I think that's a great example of an emergent behavior that is unpredictable. Well, I mean, maybe someone very clever could have predicted it, but I certainly wouldn't have. And it's only really observable after the fact and with a bit of head scratching. That's a good one. That's pretty cool.\n\n**WILMER:** Yeah. You learn it when 15% of the internet uses you.\n\n**ANDY:** Yes. **[LAUGHS]** You learn a lot.\n\n**JORDAN GREENBERG:** OK. So hit the Retry button maybe 600 times. Refresh my queries whenever they don't go through. And do that at a scale of eight billion people. And I swear, everything will be just fine.\n\n**ANDY:** I mean, if we didn't answer your query the first time, you should ask us again. I mean, we're rapidly working to fix whatever the problem is. Certainly, I've been paged.\n\n**JORDAN GREENBERG:** [LAUGHS]\n\n**ANDY:** But yeah.\n\n**JORDAN GREENBERG:** So last question for you both, how do you see SRE changing in the next two years?\n\n**ANDY:** I think more and more in the outside world, I am seeing SRE evolve from a DevOps plus plus, which I think would be the worst way that the SRE could be implemented in the outside, and more towards the ethos that I observe on a day-to-day basis, which are SREs are basically, frankly, miserable generalists. We'll specialize when required, when the time needs it. We are generally fairly cynical about systems, and skeptics, and looking for places for things to go wrong, which is a very difficult thing to carry around in your personal life.\n\nAnd I observe more and more of that happening in the outside world. I think, probably, until fairly recently, I have friends who've gone to SRE roles outside. I've seen a lot of them do the Terraform. I mean, I don't mean to denigrate Terraform at all. It's a wonderful tool. And there was as well, in Google, a period of time where SRE was used to do SRE work. And it was almost sort of a division between the two.\n\nI'm seeing those walls come down. I think, because once you get systems over a certain size, it is not possible to consider these two things in isolation. Reliability is not a product shipped by SRE. It is a product shipped by SRE and the SWE teams they work with.\n\nAnd I'm seeing that attitude become increasingly more prevalent. And I think, to be honest with you, people like Wilmer and I have always walked around with that in our heads. Certainly, I look to Wilmer as an example when I joined for how to be an SRE. Wilmer did not see boundaries. Wilmer just saw problems. And occasionally, solutions.\n\nAnd I'd love to see that be more prevalent in the outside world. The SRE book is great, but I think it's a little light in this particular section, this miserable generalist. Go off and find where the problem is, and start digging, and take people with you. kind of ignore the role aspect. That's just my specialty. I'm here to solve problems.\n\n**STEVE MCGHEE:** Yeah. Right. How about you, Wilmer?\n\n**WILMER:** Yeah, hard to beat that answer, really. What I've just been seeing over the years is it just makes everything more complicated. And people specialize, and the thing gets more complicated. And we shard the team into two, so that everyone can reduce the number of things they need to understand.\n\nI would like there to continue to be many horizontal people who actually do understand how the whole thing works, roughly, because it's so much more fun. It's hard, but it's also so much more fun.\n\n**ANDY:** Well, I mean, just for being more fun, I think with the horizontal people, you can narrow in on solutions faster to problems. If you have a bunch of people who have approximate knowledge of how many things work, they can help stop you chasing blind alleys early, so you can keep the SRE team from wasting their time and energy in a place where you know this is not going to work out.\n\nAnd to be honest with you, I've been an SRE for nine years. I'm relatively senior at this point, although that is a very weird thing to say. That is about 70% of my job is to keep the blind alleys from being explored again.\n\nWe don't want to do this one. We have done this one before, and it has never worked. Well, you can only really get that through experience. And you can only get that experience by being given the opportunities to go down the blind alleys, which means you need to have an approximate knowledge of everything. If you end up very specialized, it can be very difficult to create these new people.\n\n**STEVE MCGHEE:** Awesome. Well, thanks to you both. Before we sign off, is there anything that you'd like to add to our listeners that are, again, their SREs, or pro to SREs, or SRE-adjacent folks way out on the internet. There's several gazillions of them. Any advice? Or just places to find you on the internet and your rantings or insights.\n\n**ANDY:** My advice would be, be curious. Be curious about why things break. Be curious about that weird thing you saw happen. By being curious, you would normally learn something you didn't know before. And then later, when you don't expect it, that piece of knowledge will be interesting to you. It will help you out in some other place.\n\nI always think about the example of the physicists studying string theory, and they suddenly discovered that Calabi-Yau theory, which is some theory of how space topologies interact. Actually, it was exactly what they needed. And the mathematicians just picked it up and dropped it along the way. SREs are a bit like that. I remember something about that. I can help you with it.\n\nYou can't find me on the internet. My rantings are all private, I'm afraid. You'll have to come to the Google London office and buy me lunch. And I will happily explain things to you.\n\n**STEVE MCGHEE:** Excellent.\n\n**JORDAN GREENBERG:** Hopefully, the listeners aren't cats.\n\n**ANDY: [LAUGHS]**\n\n**WILMER:** I have no idea, honestly. Indeed, learning, and being curious, and look at TCP dumps every now and then, because actually, it's a lot of fun, stuff like that. I have no rantings or ramblings online. The only social network that matters to me is Strava. So that's all.\n\n**STEVE MCGHEE:** Excellent.\n\n**ANDY:** I need to add you on Strava, Wilmer, clearly. **[LAUGHS]**\n\n**WILMER:** Yes, let's do that.\n\n**STEVE MCGHEE:** All right. Thanks very much. That was great. Thank you again, Jordan, as always, Thank you both for coming today. And have a great day.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is **Steve McGhee**with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is “Telebot” by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 34972, "slov": 6381, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:20", "sha256": "4cd4c08cb400bb32afc29c0de335758acaec55350b12aa906d08eb72071e3ef3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08/", "titulek": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "h1": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "popis": "This episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08"}, "headline": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes", "description": "This episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.", "image": "https://kstatic.googleusercontent.com/files/013af4088b7884ebed25e0fa4d38b55c4f0ad3caece5d2f65c2e6f41d19e9873f150fcd2104f13dc64e9db1e7260140096ebece6495ef71eecc9721c8c1bc8cd", "author": [{"@type": "Person", "name": "Wilmer van der Gaast (Production on-tall, Google) "}, {"@type": "Person", "name": "Andy Sykes (Senior Staff Systems Engineer, SRE, Google)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes"}], "markdown": "# Google Public DNS (8.8.8.8) with Wilmer van der Gaast and Andy Sykes\n\nThis episode features Google engineers Wilmer van der Gaast (Production on-tall) and Andy Sykes (Senior Staff Systems Engineer, SRE), joining hosts Steve McGhee and Jordan Greenberg, to discuss the development and maintenance of Google Public DNS (8.8.8.8). They highlight the initial motivations for creating the service, technical challenges like cache poisoning and load balancing, as well as the collaborative effort between SRE and SWE teams to address these issues. They also reflect on the evolving nature of SRE and advice for aspiring SREs.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee.This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\nHey, everyone. Welcome back to The Prodcast. This is Google's podcast about SRE and production software. This week, we have two guests, Andy and Wilmer, and we're going to be talking about a software system that was developed by a bunch of people, including these SREs here today. And this system is something you've used before almost assuredly. It's a little thing called public DNS or, as I like to call it, 8.8.8.8. If you know, you know. As always, I'm accompanied by Jordan. Welcome back, Jordan.\n\n**JORDAN GREENBERG:** Hey, everybody. Thank you.\n\n**STEVE MCGHEE:** And this week, we're going to talk with Wilmer and Andy. Why don't you guys introduce yourselves?\n\n**ANDY:** Hi, I'm Andy. I'm an SRE at Google. I've been here for nearly nine years, working on networking systems, and I was once the TL for Google Public DNS.\n\n**STEVE MCGHEE:** Cool. Welcome.\n\n**WILMER:** And I'm Wilmer. I've been here for 17 years in a bit. And, yeah, like Andy, I like networks.\n\n**STEVE MCGHEE:[CHUCKLES]** Don't we all?\n\n**JORDAN GREENBERG:** That's a good way to say it.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** I like when my network works.\n\n**STEVE MCGHEE [LAUGHS]:** We also happen to work together. I'm wearing my Eng London sweatshirt today just to point that out. We're all in the same office at the same time. I think you guys probably have the same sweatshirt. Mine's too small. I don't know about you guys, but they're a little bit dodgy, as we would say back then.\n\nOK, so this week we're going to talk about, like I said-- the official title is public DNS. We call it a couple other things. Most people will just know it as these numbers, 8.8.8.8. So why don't we first mention, like, what is it? **[LAUGHS]** Like, what's the deal? Why would someone even use this thing?\n\n**ANDY:** I think there was a perception that, generally speaking, you use the DNS service provided to you by your ISP. And, at least back when we built this thing, they were generally not that reliable and generally not that fast. People had a bad experience of the internet because of that, because if your DNS server is slow, then everything else is slow. I'm sure you've experienced that. And we were kind of uniquely positioned to do something about that, right?\n\nWe could build something at scale. We had places to deploy it all over the world. We believed we could make the internet better for many of these people who had ISPs with maybe not great DNS servers through no fault of the ISPs themselves. And I think you can see that because, for a long time, the recommendation for, my internet was bad, was a description of how to open your network settings and put 8.8.8.8 in one of the fields. Never at 8.8.4.4.\n\n**STEVE MCGHEE:[CHUCKLES]**\n\n**ANDY:[CHUCKLES]** Everyone forgets about that one.\n\n**JORDAN GREENBERG:** Mm, yes.\n\n**ANDY:** Including you, Steve. **[CHUCKLES]**\n\n**STEVE MCGHEE:** That's right.\n\n**JORDAN GREENBERG:** Oh, no. **[CHUCKLES]**\n\n**STEVE MCGHEE:** Sorry.\n\n**ANDY: [LAUGHS SOFTLY]**\n\n**JORDAN GREENBERG:** So for me, I know that I play a lot of video games, especially online video games. So I'm always switching my DNS on my router to make sure I'm using it because it's faster for me to get that resolution to wherever I need to go. Why do customers use this today?\n\n**WILMER:** Like Andy said, and above all, I think one cool thing about it is it's just a very, very, very memorable IP address, of course, which we'll talk about later. But yeah, it's fast. And in fact, the reason we built it originally was because even the founders had a pretty firm belief that bad DNS provided by ISPs was actually why the internet was slow and why Google was slow. So one major reason to even build this product to begin with was to actually make Google faster for everyone.\n\n**JORDAN GREENBERG:** Wow, that's interesting.\n\n**ANDY:** With the nice side effect that it affects everybody.\n\n**STEVE MCGHEE:** That's right. Wilmer, you were there at the beginning of this project, right? Can you tell us a little bit about how it came about? Did you get an email from Eric Schmidt saying, Wilmer, please make a new DNS for the internet. Signed, Eric, or how did how work?\n\n**WILMER:** How unnatural would it be? So the idea was coined by David Presotto, I believe, to actually-- let's build a resolver ourselves. And he took it to our team at the time-- traffic team, traffic SRE-- because we were already responsible for running various DNS servers at Google at the time, like, well, the authoritative servers and all of that. So it seemed like a good fit.\n\nAnd it happened at the right time because I was just doing my second visit to the Bay Area and doing the rounds, just checking how everyone's doing, what are you working on? And someone said, hey, I kind of would like to work on this HonestDNS thing and I don't really have time, so would you like to help me? And I grabbed that because I felt like if we do this, I can talk to my friends about it instead of just saying, yeah, I work on internal infrastructure, which hey, that seemed cool. And in general, I just like doing something that wasn't just web stuff, but actually some infrastructure. So it was actually an SRE product from the beginning, which was really cool.\n\n**STEVE MCGHEE:** That's awesome. So you were on this traffic team that managed DNS already, and I guess the idea was, like, what can we do to make the customer experience better? And one interesting thing about this problem is it's hard to give DNS to a couple customers. You have to kind of make it big to begin with. **[CHUCKLES]** It's hard to launch this in a small beta or something like that. And so this is kind of one of those problems that I think you guys were set up to do at scale, and it would be hard to do otherwise. Is there anything that you had to think about at the time around that dimension of the problem?\n\n**WILMER:** We didn't know what to expect yet because, as you say, you cannot launch it, you cannot beta it, you cannot do an invite scheme, which we used to do a lot at the time. So we really just had to make a random wild guess on how much is going to draw. And, well, we just did it from memory because it's been a while, of course, but we just followed our usual DNS, yeah, provisioning philosophy of just overprovision because DNS tends to be cheap. Well, mostly. So just make sure we can serve crazy amounts of traffic and just have a footprint in every cluster, in every data center that we had in the world at the time, which I think at the time was like 12.\n\nSo we did that and we actually got by for a long time. So we launched, and within the next year we would add machines here and there as we saw demand actually coming up. But I don't remember in the early days scramble, at least, thankfully.\n\n**JORDAN GREENBERG:** What sort of challenges did you face when starting this up?\n\n**WILMER:** So there are two things that come to mind. So the first one is a writer at the time. The Dan Kaminsky story came out where he said, I think I found a way to poison your DNS cache much faster than you think you can.\n\n**STEVE MCGHEE:** Mm-hmm. Yeah.\n\n**WILMER:** As in, I can do it within hours instead of within weeks. And the idea was, well, actually 16 bits is not that much entropy. And really, if you don't randomize your port numbers, then, really, shouldn't be running a DNS service. And the initial prototypes of Google Public DNS were actually based on bind, which at the time, from memory, wasn't randomizing its port numbers for external resolution yet. So actually, if we were to launch it the way it was, it would be a service that is highly susceptible to cache poisoning.\n\nSo that was the first thing, where we had to fix that and make sure that the port number randomization doesn't get ruined or much less entropic for our load balancers, for example. So that was a major thing, and really just because the timing was unfortunate.\n\nAnd the other thing was around load balancing, where one benefit of people using their ISP's resolver is around how load balancing on the internet works when you rely on DNS for it, where--\n\nI don't know if all listeners understand enough about DNS to know what the resolver and what an authority is, but the problem is when the Google name server-- so we say, ns1.google.com, gets a query that Steve wants to go to Google. ns1.google.com doesn't get Steve's IP address. It gets the IP address of Steve's name server. Now, if that's a name server of a resolver at Steve's ISP, then cool. Then, probably, we know exactly where he is. But if the IP address is actually of a name server, a resolver that Steve uses anywhere else, including ours, that obscures a little bit where Steve, the end user, actually is. So the ns1.google.com isn't actually able to provide a perfectly suitable answer to send Steve to the nearest Google location sometimes.\n\nSo this was a problem that plagued all these public resolvers, including Public DNS. And while we had a way to-- we had an internal protocol within Google to deal with this already. We could encode Steve's IP address-- sorry using you all the time Steve--\n\n**STEVE MCGHEE:** That's OK.\n\n**WILMER:** --in the query too, as one, and get a good answer back. But of course, that was internal and wouldn't work if we were talking to say, Akamai for example, or to any other CDN. So one thing we try to do as soon as possible after launch is write an RFC on adding a little header to DNS, using EDNS0 option protocol, where we encode a little bit of, well, of your IP address in the query from public DNS to the authority, to ns1.google.com, so that we can actually give you a response back that we know is proper for you instead of only roughly proper.\n\nAnd this was hard because the idea of using DNS for load balancing like this is-- not everyone likes it and it's absolutely a hack. But in the end, we thankfully agreed that it is so far-- and we're speaking about 2010-- the best hack available to us, and this RFC, we needed that to actually, yeah, make it work, even for people who use public resolvers or people who are with big ISPs that don't have resolvers at every place where they have peering\n\n**STEVE MCGHEE:** Cool. And so this is RFC 7871, I think.\n\n**WILMER:** Correct. Yes. Some people know it as EDNS Client Subnet.\n\n**STEVE MCGHEE: [CHUCKLES]** If you want to look it up, you can look it up. And so, Andy, you said you have read this many times. How would you describe reading such an article? Do you recommend it for bedtime reading or is it--\n\n**ANDY:[LAUGHS SOFTLY]**\n\n**STEVE MCGHEE:** --more of a keep-you-up thriller?\n\n**ANDY:** Like--\n\n**STEVE MCGHEE:** What do you think?\n\n**JORDAN GREENBERG:** Is it a toilet read?\n\n**STEVE MCGHEE:[LAUGHS]**\n\n**ANDY: [LAUGHS]**\n\n**JORDAN GREENBERG:** What makes the most sense?\n\n**ANDY: [LAUGHS]** Most DNS specifications follow Postel's law-- be strict in what you emit and loose in what you receive. It contains some edges, Wilmer, which we have had to cross from time to time. You must not apologize to me.\n\n**WILMER:** You know how hard it is to be internally consistent.\n\n**ANDY:** It's extremely difficult, yes. So yeah, I mean, the problem that Wilmer was talking about was a major problem for public resolvers, and I think it's still largely an unsolved problem on the internet. But we were keen to be-- per the founders' sort of definition-- we were keen to be good citizens on the internet. We wanted to be able to make sure that, if people use public DNS, that services that needed to do this kind of location-based load balancing, were still able to do that. We didn't hurt Akamai or break Akamai in any way because, if we'd become very successful as the resolver has, we could be very impolite to people, which is something we really try to avoid.\n\n**STEVE MCGHEE:** Cool. Backing up just a second. We've described the problem. We've described some of the solutions, some of the documents that have been written. Can you tell us how was or how still is SRE specifically involved in the building of this, the design of it? Is it like, oh, SRE just holds the pager, and it's cool because it's big. Or was it part of the original plan? Wilmer mentioned that. Like, he was very early on in this. Just how involved were SREs throughout this entire process. And how does it work today?\n\n**JORDAN GREENBERG:** Mm.\n\n**WILMER:** So, yeah, at the time, yeah, it started in SRE and it started with bind deployments. And the funny thing that happened is, so proper SRE, one of the first things I did for having a test setup is I load test it.\n\n**STEVE MCGHEE:** Mm. Nice,\n\n**WILMER:** And when you load test the servers, you need logs to send to it because you cannot just send random strings to the DNS server, of course. So I fetch some logs from our own name servers, mostly internal traffic, and I ask around. I asked Corp for some DNS logs from there. But one thing I did as well is I reached out to the crawl team because I knew that the crawl team downloads the internet roughly every day, and therefore, need to also resolve all the names of the internet every day. So I knew they would have interesting logs and, wow, they did, yeah, because the cache hit rate there is very low because there's a lot of typos in HTML files all over the internet.\n\nSo anyway, I asked them for their log files, and they sent those. But also, we then had-- a sign of the time-- we had an actual phone call where they told me, Wilmer, we're working on a new resolver because we have this stack that is built on something else and it's not working great, and we're building something ourselves instead. And we heard about the HonestDNS thing you're working on, and we would like to work together. So we have this. Now, we have a backend that can resolve. But how about we put a DNS front end on it as well so we can use that instead of bind? And of course I was interested because it would be nice to have a Google-scalestack with features we can add ourselves and, as I say, cluster, right, cache various things.\n\nSo that's how it started off as an SRE project. And eventually, the SWEs found us. And it's been a very, very good cooperation during my time. And I haven't worked on it for the last 10 years, so Andy knows better how it's going now, I think.\n\n**STEVE MCGHEE:** Yeah, Andy, how did you get involved? What is your current involvement, I guess, as well?\n\n**ANDY:** I got involved, I think, around 2016, 2017. The service had gone through absolutely massive growth. And SRE was still quite involved, but there was a feeling that maybe we had grown, maybe a little complacent with the management of it, and I saw a bit of a gap. I mean, I'd used it from the outside for years and was really curious about it.\n\nAnd one of the first things I sort of did was sort of try to look at the system holistically. It had grown very organically over the time, right? It now consists of three separate components that talk to each other. We had some deployments on the edge of our networks, some deployments in the central part. We didn't really have a great capacity planning story, and it had definitely hit that size where losing a bit of capacity can cause a kind of a stampeding herd problem, right? Lost a bit of capacity here. Oh, no. OK. Well, this bit's overloaded now. Oh, no. Someone drained that. And now, you're having a really bad day.\n\nAnd one of my really early realizations here was like, DNS on the internet is very, very, very sensitive to dropped queries. It's extremely sensitive. People think that clients retry et cetera, but they don't retry for three, four, five seconds. And so you really are hurting pretty much the entire user experience of thousands of people when you do this.\n\nSo I sort of started poking around. And then, we had a number of very large DoS attacks. The botnet's called Mirai, which has been written about publicly. You can go read Krebs On Security about Mirai. They turned up with an absolutely huge attack. I think they attacked us, they attacked Dyn, a bunch of different people. And we suddenly had to sort of bring the whole SWE and SRE team together to be, OK, all right. This was really bad. We were down for, I think, seven minutes or something during the Mirai attack.\n\n**STEVE MCGHEE: [CHUCKLES]** Yeah, wow.\n\n**ANDY:** How are we going to prevent this from happening again? And there was a lot of back and forth across that boundary, right? I think you could have said, oh, well, SRE would take the capacity planning and the SWEs would go and look at the code and see if they could make it faster. But that's because, I think, of the legacy of the development of the system to which I owe to Wilmer. That was not how it played out, right?\n\nI started poking around in the code along with a few of my colleagues. I think we have a few bottlenecks here. I think we can do something about it. And we spent quite a lot of time with the dev saying, look, this isn't a capacity planning problem, right?\n\n**STEVE MCGHEE:** Right.\n\n**ANDY:** There are traffic patterns that are innately harmful to the service that we are now seeing being exploited. We need to adjust for that. Initially-- and I don't mean to drop my SWE colleagues in it-- one of the responses was, can't we just have more capacity?\n\n**STEVE MCGHEE: [CHUCKLES]**\n\n**ANDY:** No, I'm afraid we're at a size where that is becoming-- **[LAUGHS]** challenging. And so what the way that's continued through the development of the service is we've launched many new features for Google Public DNS, I think DNS64, DNS over HTTPS, DNS over TLS, DNS of QUIC, a whole bunch of things. And it has always been this back and forth between dev and SRE. Dev have largely wanted to drive most of the feature development. Although, I think DNS over HTTPS mostly came from SRE saying, it would be really good if we did this. And then, I think the Chrome people and the Firefox people talking to us and saying, it'd be really good if you supported that.\n\nAnd then, we had to go and think about, OK, if we are going to do this and Chrome users-- 1% of Chrome users-- can opt in to this, what does that mean for the system? What does it mean for how we qualify releases? What does it mean for capacity planning? How do we link all these things together? And so we've always had this back and forth across it. And Wilmer has contributed code to Public DNS in its early era. And here are my-- well, I guess it would have been nearly 10 years later? Nine years later-- my code is in Google Public DNS as well because I needed to fix a few bugs. And I talked to the dev team. I'm like, hey, do you if I-- and then, I fix it.\n\nAnd I've always kind of held this philosophy as well. Maybe it's an incorrect philosophy. It is difficult to support a system as an SRE when you don't at least have some understanding of the structure of the code.\n\n**STEVE MCGHEE:** For sure.\n\n**ANDY:** I mean, that you know this piece connects to this piece, and that is how it's conceptually modeled, OK? For a long time, I didn't know there were three caches inside of it, right?\n\n**STEVE MCGHEE: [CHUCKLES]** Yeah.\n\n**ANDY:** And that meant we made odd decisions. I would think, oh, we have enough memory. Why is it saying that it's-- why am I cache missing? And so I've always wanted to encourage that. And a really fine way to do that is to contribute, to fix a bug, to go performance hunting, things like that.\n\n**JORDAN GREENBERG:** So that's really cool. So--\n\n**STEVE MCGHEE:** That's awesome\n\n**JORDAN GREENBERG:** --you have it, this claim to fame, saying, you edited Google Public DNS. And that is now written into your life story of how you made this early on, how it changed, how you support it. But now, we want to know, if you had to build it again, less ugly, what would you do differently?\n\n**STEVE MCGHEE: [CHUCKLES]** And you can't just say whatever it is right now. Like, you can't just assume precious--\n\n**JORDAN GREENBERG:** Yeah. yeah,\n\n**STEVE MCGHEE:** --completely.\n\n**ANDY:** I would have thought about denial of service attacks earlier, I think. It's quite difficult to pull that in. I mean, Wilmer definitely wants to tell me I'm wrong and tell me that he thought about it a lot at the time.\n\n**STEVE MCGHEE:** Wilmer's got ideas.\n\n**ANDY: [CHUCKLES]**\n\n**WILMER:** We did, but you need to experience them before you really learn how to deal with them. We absolutely thought of it, and also, amplification attacks and other things. So we did what we could predict with the 2009 knowledge we had, but we learned a lot, obviously, by actually running the service, and you cannot beat that.\n\n**JORDAN GREENBERG:** Mm-hmm.\n\n**STEVE MCGHEE:** So it turns out that it was a trick question just to get you to say exactly that, Wilmer. This is the answer. It is like, yeah, we don't want to go back and say like, well, if we were to actually waterfall it properly, we would have done the following. But no, we learned from how we built it and how it worked, and we didn't predict the DoS two attacks and the emergence of QUIC and all these things.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** And they happened, and we evolved over time.\n\n**JORDAN GREENBERG:** It sounded like it needed to be ugly.\n\n**STEVE MCGHEE:** That's what I would imagine is probably the case for lots of services.\n\n**JORDAN GREENBERG:** Yeah.\n\n**ANDY:** Yeah. I think I'm fundamentally an incrementalist when it comes to this kind of thing. I think there are many paper designs you could make that would, on paper, be better. But I go and look at the code, and yeah, it's a system from 2009. Is that 15 years? It's a long time now — of stuff in it.\n\n**WILMER:** 2008, even.\n\n**ANDY:** Yeah, I mean the thing I always remember is, almost all of those lines are there for a really good reason. I definitely experienced a bunch of-- I'll call it growing up, working on that, and working on a different system. Google's authoritative DNS server, which I was also a TL of for a while.\n\nI definitely felt that urge to be like, no, sweep away all this historical detritus. And in each case, hubris came, and it taught me a terrible lesson. No, I can't remove these simple rate limit things here. They're there for a reason. Those are important. I removed them, and the performance got substantially worse.\n\nOK, well, that's an important lesson in being an SRE is learning when to admit that you are wrong. And I was wrong a lot early on.\n\n**STEVE MCGHEE:** You mean you can't just understand things perfectly and burn it all down because you don't like it?\n\n**ANDY:** I mean--\n\n**WILMER:** Come on.\n\n**ANDY:** We can barely describe to each other how we feel about very simple things, like food. I don't know how we would describe how code works. This language is used, I think, as Terry Pratchett said, to tell the other monkeys where the fruit is. It is very difficult to communicate about complicated topics using that language. The good fruit is here.\n\n**STEVE MCGHEE:** So one of the important things about setting up DNS when you're like an end customer is, it's not dns.google.com. You literally can't do that. You have to use this crazy thing called an IP address.\n\nAnd one of the hard things about this is, normally, when you get an IP address from your DNS provider, it's some random set of numbers, and it's hard to remember. But Google is this magical beast that got this awesome thing. 8.8.8.8, 8.8.8.8. Also, 8.8.4.4, I forget this time. But what was the story behind that? Did we just have this sitting around? How lucky did we get?\n\n**WILMER:** So fun thing is, initially, it wasn't. So initially, the IP address was 74.125.125.125, which is very repetitive but also very long.\n\n**STEVE MCGHEE:** Yeah. What did it start with?\n\n**WILMER:** Yeah, exactly. And I thought like you, these IP addresses need to be memorable. But also, I was constrained by no one caring what I'm doing. So I just went shopping. And I searched for all the IP space we owned at the time. And I tried to find a /16, where I just knew that if I just repeat the second exit twice more, then I have a pretty nice IP address.\n\nSo that's how I found that IP address. And unfortunately, it was reserved for a new cluster somewhere. And there was some back and forth. And can we please get it? It's nice. Believe me, we need it.\n\nAnd eventually, we got it. And then we had an eng review with Larry, one of the founders. And his verdict at the end was basically-- and this was when we were about ready to launch, his verdict was, really cool, but our IP addresses are terrible, so please fix that.\n\nSo there went our launch plan. And we had to go to other friends. And they got us some IP addresses. So that was 8.8.8.8. And they are just the most memorable IP addresses I could imagine.\n\n**JORDAN GREENBERG:** Yes, I would definitely agree to that.\n\n**STEVE MCGHEE:** Iconic even. Yeah.\n\n**WILMER:** Graffitied on walls here and there every now and then. It's very interesting to see.\n\n**STEVE MCGHEE:** Yeah, that is pretty awesome when you can see that just out in the world. It was not a marketing stunt, people just did that. That's pretty awesome. I hope you guys are proud to have been a part of that.\n\n**WILMER:** It was a highlight of my career.\n\n**STEVE MCGHEE:** Yeah, that's pretty darn cool.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** I have one final question, which is, of course, silly. And you can choose to ignore it. But is it always DNS? Andy's nodding.\n\n**ANDY:** Disappointingly, surprisingly, alarmingly large amount of times it is. And it's not that the record doesn't exist. It's always that the DNS server was slow or the stuff gets slow as a result every single time. GetAddrInfo should not be slow. Every system assumes it's fast. And if it's slow, weird stuff starts to happen.\n\n**WILMER:** Yeah.\n\n**JORDAN GREENBERG:** I have a follow up question. If I am using a service that interacts with DNS, it's a network service, and I get a Retry button, do I press the Retry button or do I wait for it to retry? And are these things built with retries? Does the button actually work? Or am I making everybody's--\n\n**ANDY:** It actually works.\n\n**JORDAN GREENBERG:** OK.\n\n**ANDY:** But I would recommend pressing the button, to be honest with you, because otherwise, you have to wait for whatever the OS-level timeout, which is generally, many seconds more than you're willing to wait, 5 or 10. I would press the button.\n\nIt's very interesting to note that sometimes, when we have a problem with Google Public DNS, sometimes, the queries per second we receive goes up, because there are lots of queries that are just abandoned because someone has hit Repeat.\n\nSo we get a query, we don't answer it in a timely fashion, and we get another one from you because you hit the Refresh button. So sometimes, going up is an indication that something bad is actually happening, because we're seeing all the retries come from people who didn't get their first question answered. They ask a second one.\n\n**WILMER:** This reminds me of the fun observation we made a long time ago, which is that the cache hit rate to 8.8.4.4 is noticeably lower than to 8.8.8.8, because you sent a query to 8.8.8.8, and you don't get a response because the query you sent is actually a thing that doesn't exist. And therefore, you try again. And you send all your retries to 8.8.4.4.\n\nSo if your query was easy and was answering cache, it comes from 8.8.8.8. And if your query was so weird, you just send it twice, once to 8.8.8.8 and once to 8.8.4.4. So the cache hit rate is half of the one of 8.8.8.8, I believe. It's crazy.\n\n**ANDY:** Yeah. Noticeably different. And the amount of traffic is noticeably different as well.\n\n**STEVE MCGHEE:** Yeah, I think that's a great example of an emergent behavior that is unpredictable. Well, I mean, maybe someone very clever could have predicted it, but I certainly wouldn't have. And it's only really observable after the fact and with a bit of head scratching. That's a good one. That's pretty cool.\n\n**WILMER:** Yeah. You learn it when 15% of the internet uses you.\n\n**ANDY:** Yes. **[LAUGHS]** You learn a lot.\n\n**JORDAN GREENBERG:** OK. So hit the Retry button maybe 600 times. Refresh my queries whenever they don't go through. And do that at a scale of eight billion people. And I swear, everything will be just fine.\n\n**ANDY:** I mean, if we didn't answer your query the first time, you should ask us again. I mean, we're rapidly working to fix whatever the problem is. Certainly, I've been paged.\n\n**JORDAN GREENBERG:** [LAUGHS]\n\n**ANDY:** But yeah.\n\n**JORDAN GREENBERG:** So last question for you both, how do you see SRE changing in the next two years?\n\n**ANDY:** I think more and more in the outside world, I am seeing SRE evolve from a DevOps plus plus, which I think would be the worst way that the SRE could be implemented in the outside, and more towards the ethos that I observe on a day-to-day basis, which are SREs are basically, frankly, miserable generalists. We'll specialize when required, when the time needs it. We are generally fairly cynical about systems, and skeptics, and looking for places for things to go wrong, which is a very difficult thing to carry around in your personal life.\n\nAnd I observe more and more of that happening in the outside world. I think, probably, until fairly recently, I have friends who've gone to SRE roles outside. I've seen a lot of them do the Terraform. I mean, I don't mean to denigrate Terraform at all. It's a wonderful tool. And there was as well, in Google, a period of time where SRE was used to do SRE work. And it was almost sort of a division between the two.\n\nI'm seeing those walls come down. I think, because once you get systems over a certain size, it is not possible to consider these two things in isolation. Reliability is not a product shipped by SRE. It is a product shipped by SRE and the SWE teams they work with.\n\nAnd I'm seeing that attitude become increasingly more prevalent. And I think, to be honest with you, people like Wilmer and I have always walked around with that in our heads. Certainly, I look to Wilmer as an example when I joined for how to be an SRE. Wilmer did not see boundaries. Wilmer just saw problems. And occasionally, solutions.\n\nAnd I'd love to see that be more prevalent in the outside world. The SRE book is great, but I think it's a little light in this particular section, this miserable generalist. Go off and find where the problem is, and start digging, and take people with you. kind of ignore the role aspect. That's just my specialty. I'm here to solve problems.\n\n**STEVE MCGHEE:** Yeah. Right. How about you, Wilmer?\n\n**WILMER:** Yeah, hard to beat that answer, really. What I've just been seeing over the years is it just makes everything more complicated. And people specialize, and the thing gets more complicated. And we shard the team into two, so that everyone can reduce the number of things they need to understand.\n\nI would like there to continue to be many horizontal people who actually do understand how the whole thing works, roughly, because it's so much more fun. It's hard, but it's also so much more fun.\n\n**ANDY:** Well, I mean, just for being more fun, I think with the horizontal people, you can narrow in on solutions faster to problems. If you have a bunch of people who have approximate knowledge of how many things work, they can help stop you chasing blind alleys early, so you can keep the SRE team from wasting their time and energy in a place where you know this is not going to work out.\n\nAnd to be honest with you, I've been an SRE for nine years. I'm relatively senior at this point, although that is a very weird thing to say. That is about 70% of my job is to keep the blind alleys from being explored again.\n\nWe don't want to do this one. We have done this one before, and it has never worked. Well, you can only really get that through experience. And you can only get that experience by being given the opportunities to go down the blind alleys, which means you need to have an approximate knowledge of everything. If you end up very specialized, it can be very difficult to create these new people.\n\n**STEVE MCGHEE:** Awesome. Well, thanks to you both. Before we sign off, is there anything that you'd like to add to our listeners that are, again, their SREs, or pro to SREs, or SRE-adjacent folks way out on the internet. There's several gazillions of them. Any advice? Or just places to find you on the internet and your rantings or insights.\n\n**ANDY:** My advice would be, be curious. Be curious about why things break. Be curious about that weird thing you saw happen. By being curious, you would normally learn something you didn't know before. And then later, when you don't expect it, that piece of knowledge will be interesting to you. It will help you out in some other place.\n\nI always think about the example of the physicists studying string theory, and they suddenly discovered that Calabi-Yau theory, which is some theory of how space topologies interact. Actually, it was exactly what they needed. And the mathematicians just picked it up and dropped it along the way. SREs are a bit like that. I remember something about that. I can help you with it.\n\nYou can't find me on the internet. My rantings are all private, I'm afraid. You'll have to come to the Google London office and buy me lunch. And I will happily explain things to you.\n\n**STEVE MCGHEE:** Excellent.\n\n**JORDAN GREENBERG:** Hopefully, the listeners aren't cats.\n\n**ANDY: [LAUGHS]**\n\n**WILMER:** I have no idea, honestly. Indeed, learning, and being curious, and look at TCP dumps every now and then, because actually, it's a lot of fun, stuff like that. I have no rantings or ramblings online. The only social network that matters to me is Strava. So that's all.\n\n**STEVE MCGHEE:** Excellent.\n\n**ANDY:** I need to add you on Strava, Wilmer, clearly. **[LAUGHS]**\n\n**WILMER:** Yes, let's do that.\n\n**STEVE MCGHEE:** All right. Thanks very much. That was great. Thank you again, Jordan, as always, Thank you both for coming today. And have a great day.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is **Steve McGhee**with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is “Telebot” by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 34972, "slov": 6381, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:43", "sha256": "4cd4c08cb400bb32afc29c0de335758acaec55350b12aa906d08eb72071e3ef3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09", "titulek": "Profiling data with Pat Somaru and Narayan Desai", "h1": "Profiling data with Pat Somaru and Narayan Desai", "popis": "In this episode, guests Narayan Desai (Principal SRE, Google) and Pat Somaru (Senior Production Engineer, Meta) join hosts Steve McGhee and Florian Rathgeber to discuss the challenges of observability and working with profiling data. The discussion covers intriguing topics like noise reduction, workload modeling, and the need for better tools and techniques to handle high-cardinality data.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09"}, "headline": "Profiling data with Pat Somaru and Narayan Desai", "description": "In this episode, guests Narayan Desai (Principal SRE, Google) and Pat Somaru (Senior Production Engineer, Meta) join hosts Steve McGhee and Florian Rathgeber to discuss the challenges of observability and working with profiling data.", "image": "https://kstatic.googleusercontent.com/files/f0b44340a704fa5b5d9ddabad8985fa6ac60c1d084007eed3bfb05dc680ea28431a092d0aab905e1389c869399d7019668760a3301fb94e2e279c8a0682e3568", "author": [{"@type": "Person", "name": "Narayan Desai"}, {"@type": "Person", "name": "Pat Somaru"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Profiling data with Pat Somaru and Narayan Desai"}], "markdown": "# Profiling data with Pat Somaru and Narayan Desai\n\nIn this episode, guests **Narayan Desai** (Principal SRE, Google) and **Pat Somaru** (Senior Production Engineer, Meta) join hosts **Steve McGhee** and **Florian Rathgeber** to discuss the challenges of observability and working with profiling data. The discussion covers intriguing topics like noise reduction, workload modeling, and the need for better tools and techniques to handle high-cardinality data.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\nHey, everyone, and welcome to another episode of the Prodcast, Google's podcast about SRE and production software. I'm your host, Steve McGhee.\n\n**FLORIAN RATHGEBER:** And I'm Florian.\n\n**STEVE MCGHEE:** This season, we're focusing on software engineering and SRE. And today, we have two guests to tell us a little bit more about observability, this time beyond just metrics. There's plenty of other things out there. We have Narayan and Pat. Can you both introduce yourselves?\n\n**NARAYAN DESAI:** Sure. So I'm Narayan Desai. I'm an SRE at Google. I work on Google Cloud, and I particularly focus on observability and efficiency stuff.\n\n**PAT SOMARU:** Hi, I'm Pat Somaru. I'm a production engineer at Meta, working on a lot of things, but at the moment, I'm working on a sched_ext, which is a cool scheduler thing for Linux.\n\n**STEVE MCGHEE:** Great. So as I mentioned, this season is about software engineering inside of SRE. And so, in the past, we've talked about operations and culture and different jobs and things like that. But really at the core of it, we're dealing with software. And it turns out the best way to make software better is to write more software, or change the software, and that comes down to software engineering. So it's not just fiddling the things that are already there, but writing new stuff.\n\nAnd one of the kind of base problems in operating in SRE in general is knowing what to mess with. And this is where observability comes in. So we have to understand the problem before we can fix the problem, as we say. So out in the world, if you look up observability or even monitoring, you'll see the three pillars, as they say.\n\nSo we'll see metrics, logs, and spans or traces. Is there more to it than that? Or is that it? Is that the extent of what we've got?\n\n**PAT SOMARU:** Well, there's also performance data which, like, think about traces. So I guess, when you say traces, I think about elastic APM, that thing where you're doing distributed observability across containers.\n\nBut that also kind of applies to the binary level, to, like inside of your application. If you pull out your kit or perf to see where the time is going. And it covers, it traces, but not necessarily, but yeah.\n\n**NARAYAN DESAI:** So I tend to think about this more from the perspective of use cases as opposed to the data. I'm an analytics guy, so I think about the way that you can analyze the data and the kinds of insights that you can get out of it. And so from that perspective, those are the data products that you have, but there's a lot of different things that you want to do with them. And I think that the interesting aspect of this, from the perspective of those data products, is the semantics that they have.\n\nSo you fundamentally have [time series data](https://sre.google/sre-book/practical-alerting/), and time series data has particular properties, in particular, scalability issues. You have logs, which are fundamentally events, and then you've got traces, which are fundamentally graph structures.\n\nAnd if you think about observability data through that lens, then what that really tells you is that you need three different classes of approaches for analyzing the data. Because if anybody has ever tried to wedge graph data into a relational database,\n\n**STEVE MCGHEE:** No one's ever tried that.\n\n**NARAYAN DESAI:** Not so great. Same thing for time series data. Right?\n\n**STEVE MCGHEE:** Yeah.\n\n**PAT SOMARU:** So to build on that, actually an interesting observation I had a little while back: you said there's different classes, and you have graph data, yes. And you also have time series. But in a way, it's a time series of graphs, which is, I don't know, that's a bit of an interesting thing. Like, how is it performing that's a graph? Or what's happening that's a graph? But that changes over time series.\n\n**STEVE MCGHEE:** Like the graph changes over time. Is that what you mean?\n\n**PAT SOMARU:** Yes. And that's what actually folks care-- at least, I've found that folks care the most about. Like, why did this get slower? Why does this cost more? Well, that graph changed. You're serializing a timestamp versus storing an integer.\n\n**STEVE MCGHEE:** Mm-hmm. Yeah.\n\n**NARAYAN DESAI:** Yeah. I think those connections are really important. And that really makes us, from an analytical perspective, a multi-modal kind of problem. Because you have things that happen at particular points in time, then you have things that are happening in metric space, and that's going to change the structure of the graphs that you have or the content of the graphs that you have.\n\nAnd being able to connect those things actually produces a whole different set of insights, which are fundamentally actually much more, I think, interesting and compact than all of the other data products that we tend to deal with.\n\n**STEVE MCGHEE:** That's cool. So if you're stuck in a world where all you can do is make a table and an XY graph, maybe you're missing out on some fundamental insights into what your data is trying to tell you.\n\n**PAT SOMARU:** Well, I think that the hard part is getting to the table with the XY graph with all the data. Ultimately, that's what you want. It's how many servers do we need, how much is this going to cost. But a time series of a graph needs to somehow eventually be translated into something actionable, whether it's a code change, or a number of servers, or something.\n\n**NARAYAN DESAI:** Yeah. And fundamentally, many of these techniques are really about taking complex data and building it down into an insight that's simple enough to understand. One story from a while back. We were doing some analysis work, and we were using this overly complicated machine-learning approach for clustering to try to make sense of performance data for a service.\n\nWe spent a bunch of time tweaking this approach, and building up the infrastructure, and all this. And it was this really fiddly thing. And once we found something in it, we started looking at it different ways. And we found that it was actually visible with the two component PCA, which is pretty much basic stats 101 stuff. It's effectively an XY plot.\n\nAnd then what we realized is actually also the simple methods are the best sometimes. So when you can use the simple methods, you should use them. But there's this siren song of new and complicated things. But at the end of the day, what we need to do is we need to take this very complicated structured data that's high dimensional, and we need to turn it into a thing that the human brain can understand. And that's, frankly, simple insights.\n\n**PAT SOMARU:** You mentioned that. And actually, I found a similar one. I guess, trying to query the data, which is hard. It's like there's a lot of data, just asking a query can be tricky. If you want to make it easily and readily usable, that's another problem on top of itself. But those simple insights, it's like, if you simply have a way of representing the data where you can discard most of it, that actually, sort of intuitively, it kind of makes sense when you think about it.\n\nSo, like, you write some library, this is your hash function. You're going to use that everywhere. And when you actually look at the graph, it turns out that if you discard like 90% of the data, you're still covering something like 90% of your cost. And then that enables you to do wild integrations with it.\n\n**FLORIAN RATHGEBER:** So Pat, you just outlined one of the basic truths, I guess, of profiling and figuring out what's the performance of a particular piece of code. So for someone that knows how to profile the inner loop on their workstation, so to speak, as it were, how does that then relate to the distributed systems, the bigger piece that we care about, series, and production engineers.\n\n**PAT SOMARU:** It kind of does. So I had a talk at SREcon a little while back about some tricks that I came up with and we played with at work and whatnot, to address that. So most folks don't know how to take perf and get a flame graph from it, or to optimize it. It's not the concern at the forefront of everyone's mind, but you kind of need everybody to be a bit concerned about it, sort of like with security. Otherwise, problems happen, and they can be expensive.\n\nThe way I found, I think I was saying, with make the data accessible, is that if you can reduce the data by removing the parts of it that you know are so small, you don't care about it so much necessarily, and you can find a good way to represent distinct things-- so like, you might think it's your binary. You run perf on your binary, and that's how your binary performs.\n\nExcept for your environmental variables. That can change. So you have to consider the configuration of the system and the hash of the source code, and sometimes, even build information. But once you find the correct representation of that, then you can do things like squiggly lines in an IDE, or something like that, once it's an immediate lookup.\n\nIt's like, oh, for this line, well, just put a little red here. This line of code you're editing costs a lot of money. Be very careful not to make this slower or not. It costs a lot of money, but it is ran many times per day. So like hotness of the code, kind of.\n\n**FLORIAN RATHGEBER:** So it's both a data processing, as well as a visualization challenge in a way?\n\n**PAT SOMARU:** Accessibility. Developer accessibility, I think. Because you can't expect everybody to be able to pull out perf and run it on some JVM code. I mean, if you can even do that. Never try to, just use YourKit. But you want to make it accessible to all developers and kind of put it in front of their face.\n\nUnless it is their job, in which case, they're going to use perf because they're not interested in your high-level removing the details they care about. But you want to make it easy so everybody can-- you move the ship in the right direction. I feel. Yeah.\n\n**NARAYAN DESAI:** So I think one thing that's kind of related to this that's pretty important is-- fundamentally, engineering is all about building up mental models of what it is you're doing. I think gone are the days where someone could expect to understand all levels of the stack deeply. And so you have more specialization, you just have more things to know.\n\nAnd so one of the key things that I think is very important when you're designing observability is to really think about the mental model that people are using. I think that there's another angle of this that ends up being kind of interesting as well, which is that, we don't have enough meaningful models of how we think about distributed systems.\n\nAnd so, to the extent that we can build more useful models there, we can then give people a way to think about their systems that are more useful than-- I mean, I feel like a lot of SREs-- the old adage is, just bad things happen all the time? And that's true. It's one perspective, but there are more patterns in the chaos that we can tease out if we start to model systems better.\n\nAnd that, often actually, ends up resulting in, if not less data, a lot less noise in the data because you're measuring parts of the system that are actually meaningful interacting components in it.\n\n**FLORIAN RATHGEBER:** Getting better signal is definitely always a win.\n\n**NARAYAN DESAI:** So one thing that I spend a lot of time thinking about lately, having worked on observability for the last several years, is, one of the key problems that I don't think that we've really tackled well enough is understanding noise and reducing it.\n\nSo we have all these measurements. And anyone who's actually tried to ever use an SLO for something, for a complicated system, knows that you have to deal with noise, and it's a huge problem. And there is some level of concession that people have to noise, which is to say, well, we need to deal with the noise somehow. And so, if we set too stringent an SLO, we're just going to get paged to death for things that aren't real. And what that costs us is that there are going to be some things that are real that we don't see if we set the SLO to some less stringent value.\n\nAnd I actually think that that's kind of wrong. I think that we should really be looking at observability from the perspective of how do we reduce noise in the system? Because if you can reduce noise in the system from a fundamental perspective, that allows you to see more things and see things more accurately.\n\nSo to give a really concrete example, we've done a lot of work in the last few years, and a colleague of mine, Brent Bryan, and I gave a talk on this at a SREcon, I think, two years ago in doing workload modeling. So the work that we talk about there is basically doing quantile estimation for performance of discrete RPCs, basically.\n\nAny service has some amount of workload dependency when you send it a request. There are some big ones, there are some small ones. Some of them are fast, some of them are slow. Some of them are complicated. And what this means roughly is, some of your requests should take 50 milliseconds. And if they run in 55 milliseconds, that's not a big deal because that's sort of within your standard deviation. And there's some requests that should take 10 milliseconds. And if they run for 55 milliseconds, then something is horribly, horribly wrong.\n\nAnd so the experience that we've had with trying to model our performance events that way is that-- I love insights like this-- fundamentally, workloads matter. This is not surprising to anyone when you say it out loud. But when you consider workloads in the context of your performance events, that allows you to normalize statistical scores for different kinds of workloads, and then combine them back together to understand how your service is doing as a whole. And this effectively allows you to control for the effects of workload mix shifts in your service.\n\n**STEVE MCGHEE:** So just to drill into that, the terminology around it, the workload you're referring to, like, kind of the inputs to the system matter, not just the system itself. So you can have one system that gets used in three different ways based on its input pattern, and its measurable performance will be dramatically different between those three different ways.\n\nBut if you just average them all together and be like, this one thing has this one number, then how does that help you? You want to be able to discriminate between the different modes that this one binary or system, or whatever it is is running under. Am I getting that right?\n\n**NARAYAN DESAI:** Yeah, that's absolutely right. And it's not even necessarily one system. It might even be one RPC call. So think about an RPC call that has a cache path and a go-to-the-database path.\n\n**STEVE MCGHEE:** Yeah. Totally.\n\n**NARAYAN DESAI:** So any system will change over time, and the proportion of cache hits will change. And as that occurs, your average latency will change. This may be meaningful. It may not be, right? It's certainly something that you want to know about, but you should measure that explicitly and then try to understand the extent to which, if your cache hit performance drops by 30 milliseconds, that's a thing that you would want to recognize discretely from your workload mix shifting.\n\n**PAT SOMARU:** Are you saying that you pull out these different, I guess, categories as dimensions? Like, after the fact?\n\n**NARAYAN DESAI:** Yeah. So basically, what we do is we extract a bunch of parameters that characterize effectively a cohort in the workload. And whether you hit the cache might be a parameter that goes into that cohort, as well as, maybe the customer or some other aspects that capture the differences between the discrete workloads. And then we're able to use that to build historical models that we can calculate quantiles on, for example.\n\n**PAT SOMARU:** That is very cool. Yeah. I can say I've only ever tried to do it the other way, which is, know the inputs. I think the highest level of granularity I went to is like, a request is cached or not. But that's pretty cool. I have different types of requests. Yeah, that's cool.\n\n**STEVE MCGHEE:** Yeah. The example that you gave, Narayan, was fascinating to me because you don't know if a request is going to be cached when it enters the door. It depends on the time of day, and the last thousand people, did they make a similar request or not? But ideally, like, hopefully, you can know it after the fact, like, in some sort of log entry or performance like this request was this speed. And also, by the way, like cache equals true.\n\nSo having that data point, at least on the other side, is something that you can then take advantage of later. It doesn't help you predict things, I guess, but it does help you classify that there's this one type of request, and this other type of request. That's awesome. That's a good way to think about it.\n\n**NARAYAN DESAI:** Yeah. And it turns out that this kind of a calculation is really cheap to do. So basically, what we do is-- quantile estimation is sort of calculating a Z-score. And so if on know on a per granular cohort basis what the mean and standard deviation of historical performances, you can get a pretty good sense of what just happened to you, and then you can aggregate that using low cardinality metric systems relatively readily.\n\nAnd so this gives you a good sense of what's going on. It's not a panacea by any means, but it allows you to answer a particular class of questions. And so, anyway, this technique is sort of interesting. But what we realized after the fact is that, another way of saying what I just said is that mixture effects, in most services, introduce substantial amounts of noise to basically all of the measurements that you do of that service.\n\nThe consequence of this is that if you are able to control for those mixture shifts, then you're able to substantially reduce noise. And in fact, that's what we ended up seeing as we used these techniques more and more. So, basically, there's a lot of native volatility that you see in pretty much any metric.\n\nAnd this smooths a lot of that out. And it gives you a much better ability to understand when things are changing with much more sensitivity. And the increases that we-- so my opinion here is that by controlling for this, you actually greatly reduce the amount of noise in the system, which means that you need to make less of these noise versus precision tradeoffs.\n\nYou'll always need to make them to some extent. You need to decide how much work you're going to put into working on problems in a particular domain, or with a particular metric, or whatever. However, if you're able to reduce noise, that means that you have much less of kind of casino effect as you're getting alerted. And that, actually, is incredibly valuable.\n\nAnd I think that that really fundamentally comes down to treating this as sort of a post hoc description of what we realized after doing this work, this, unfortunately, wasn't going in with a master plan. But think that we actually need to start thinking about noise reduction in a really explicit way in observability, because then, nobody wants to be paged by a thing that's not actually there.\n\n**STEVE MCGHEE:** It doesn't help to measure the noise. Yeah.\n\n**NARAYAN DESAI:** Yeah.\n\n**FLORIAN RATHGEBER:** And I suppose one of the cool aspects of your method is also that you don't actually need to know, if I understood you correctly, you don't need to know the expected performance of your workload cohort, but you actually infer it by observation, and then regress against past performance in some way.\n\n**NARAYAN DESAI:** Yeah, that's exactly right. And I think, this actually addresses one of the big issues that, practically, we see with SLO type of approaches, which is the calibration is super hard. So what this gives you is the ability to understand variance on a granular basis. And that variance is calibrated against the historical behavior of all of your individual workloads.\n\nSo you still have these questions of mixture effects and what do you want to promise, and the broader SLO decision-making framework. But this gives you a very different kind of data that allows you to know much more confidently that things are changing from the way that they have historically been.\n\n**STEVE MCGHEE:** Cool.\n\n**NARAYAN DESAI:** And I guess, at the risk of going a little bit down the rabbit hole of trying to address problems in the SLO framework. The need to choose a threshold ends up being a really substantial difficulty. Choosing a single threshold for a service is really hard because you have many workloads and a mixture, and the mixture is constantly shifting.\n\nAnd then you have different customer requirements. And so, when you force yourself into a position that you need to pick a threshold, well, one, you will always pick wrong. And then the implications of choosing wrong are sort of random, depending on which customer you're talking about.\n\nYou may have customers that you've chosen pretty much correctly for. You may have customers that actually need a better level of performance and generally get it, but you can't see when you regress because your threshold is past the regression that's experienced by the customer, and so forth. So moving to a variance model that's historically calibrated actually addresses a lot of those issues.\n\n**FLORIAN RATHGEBER:** And in particular because, I suppose, the really tricky thresholds to pick are performance and latency thresholds. Because if you have an availability SLO, then, I guess, you can make a more educated guess of, what do your users expect in terms of the reliability of the service, but the performance expectations and requirements of different customers, they have a much higher variance, making that tuning more tricky.\n\n**NARAYAN DESAI:** So yes and no. So I would say, we started by doing this with performance because performance is clearly-- there are so many orders of magnitude, particularly when you look at analytical services that have everything from very, very short questions or queries, to extremely long-running queries that take minutes or hours to run.\n\nYou have so many orders of magnitude of difference in latency that you can't even pretend that you're getting reasonable results when you average these things together. But I think that it turns out that actually you see the exact same behavior in availability metrics. And I think that the fact that the variance is smaller has confused us into thinking that, actually, we don't have the problem there when we actually do.\n\nSo let's go back to that case that I was talking about a minute ago with cache hits. So imagine that you've got one RPC, there's a cache codepath, and there's a more complicated codepath that goes out to a database across the network. Which one of those codepaths do you think is going to be more reliable? Almost certainly, it's going to be the cache path. Because if you've got an entry in a cache, that means that you can pull it out of RAM and serve it right back, or roughly.\n\n**STEVE MCGHEE:** Short hop.\n\n**NARAYAN DESAI:** At least for that part of the code, you can do a very simple thing as opposed to doing a very complicated thing. It's a shortest number of steps. There's no network involved. There's no other service involved. That's just the thing that's going to naturally be more reliable.\n\nSo what this means is that what we have always done is we've always averaged together these different cohorts that exist within a larger service. And what will change over time is, your cache hit rate will change, and so your transient failure rate from just bad things happening in the network or in the database layer will become a little bit more prominent.\n\nNow, generally, they won't be super prominent, and they will probably be below the noise floor because of all of these mixture effects. So we've kind of been able to ignore them. However, let me tell you a fun story about a customer. So several years ago, I was working on a service, and one of the engineers on the service recognized that there was one customer who had amazing, amazing release hygiene and reliability in their services.\n\nSo this was the Cloud Pub/Sub service. And if there was ever a backlog on this topic, we were broken. It wasn't the customer. So we did what any self-respecting SRE would do, and we started alerting on backlogs in that topic because it was a good indication that the service was broken.\n\nNow let's go back to this thing that I was just saying about, different granular cohorts having different properties. So if you get past the codepath part of this, and you talk about which customer it is, you may have some customers where their expected success rate is pretty much 100%. And if you could calibrate from an availability perspective to that, you would know that when one erroneous event shows up for that customer, there's a problem.\n\nWhereas if there's a customer workload that is experiencing normal levels of reliability, maybe you need a couple of events to recognize that there's a problem. Or if you have a customer workload and someone sets up a dev workload, and it's just constantly flapping and producing errors--\n\n**STEVE MCGHEE:** Not helpful.\n\n**NARAYAN DESAI:** --the likelihood that this thing is more broken does not increase with 1 or 10 or 100 errors, because it's always producing errors. And so you can think about ways that you would fit all of this together, but really, I think that the fundamental idea here is that, these systems are mixtures of workloads with mixtures of outcomes, and you need to model those explicitly.\n\nAnd so I actually think that this is a major factor in availability, as well as performance. Though it's not quite as profound as it is in performance, but I think it's just as useful and available.\n\n**PAT SOMARU:** That does kind of feed into something I've seen with SLOs before. So I was dealing with a service once, and it had great stats, very, very high uptime, but also a lot of complaints. And it was just a matter of breakdown.\n\nLike you just break down the endpoints, and then after that, you eventually have to break down what the incoming objects deserialize into, and you have to find the different codepaths, and, yeah, you have to get that dimensionality bubbled up into your SLOs and surface to be able to actually see if there is a path that is a failing 100% of the time, but it's called very infrequently.\n\n**NARAYAN DESAI:** You know, we call these needle-in-a-haystack kinds of problems. And one of the things that we see, particularly, with infrastructure products is there are so many interacting features that you may have a very, very small number of requests that represent any particular combination of them. But if the combination is broken, that's a thing we need to know about, and find and fix quickly. And so that's exactly on point.\n\n**STEVE MCGHEE:** I mean, we all heard of microservices, and, sometimes, there's tiny little nano services in there that we don't even know about. They're just absolutely their own thing, and they're tiny, and you do need to care about them when they interact with the rest of the system. And that's hard to see.\n\n**PAT SOMARU:** Thinking about that more, I was going to say, I think about caching. And if you want to talk about making things fun, what about services with an extremely high cache hit rate? How do you pinpoint when a problem was actually deployed? Yeah, but having that dimensionality present helps a ton there, totally.\n\n**NARAYAN DESAI:** Yeah, and I think this is actually one of the places where we need a better set of tools. Historically, a lot of the systems that handle time series don't allow high cardinality breakdowns, and that's an issue for sure. I don't know if that means that you necessarily need a time series system that can handle high cardinality, but you definitely need a way to get high cardinality insights.\n\n**PAT SOMARU:** So the thing I have always done is to ensure at least enough dimensionality is being emitted in the first place. It's never enough, but close enough. We know if it's cache hit, or miss, or just get the exceptions out and just to get enough observability that when you get robodialed, you have an idea of what might be going on.\n\n**NARAYAN DESAI:** Yeah, and I think to the extent that's possible, that's the right thing to do. I worry that that often will blow right past the scalability limits from a cardinality perspective of a lot of these systems. To do a lot of the modeling that I've been talking about, what you end up with is these vectors that are relatively long.\n\nAnd if you think about all the combinations that you see of them, you have millions to hundreds of millions of discrete cohorts that you're modeling. And that's what's required to really get the noise down for some kinds of services, at least.\n\n**FLORIAN RATHGEBER:** So some of the challenges that you were describing, they seem to require a certain amount of scale, and also the methods require a certain amount of data. So for SREs that don't exactly work for one of the FAANGs, do these methods still apply? Should they still use them? Should they adapt them somehow? What's your recommendation for someone that doesn't deal with Google and Facebook scale questions, observability issues?\n\n**PAT SOMARU:** I do have a little bit of insight there. At smaller places, the problems you're dealing with are similar, but different, kind of. So it's a bit more like, do we have any observability at all? Do we know why this is slow? Do we need to fish around in the code and throw in debug statements and get it to run or not?\n\nI've seen some of the tooling be used, like some of the distributed observability tooling. My knowledge is probably a bit outdated, but I remember elastic APM was pretty nice forever ago. But it was a form of APM that I can hook into services and be like, oh, we have a call in the Rust microservice, we have a call in a Java microservice.\n\nSo just being able to see how different things are, like being able to see it at all, the interaction between all these containers and different systems, I would say that's a good first step for a smaller place. That's presuming really small, but I have something. Something is infinitely better than nothing. So I'd say that might be useful to some folks.\n\n**NARAYAN DESAI:** I think, also, there's some core philosophical things that are pretty important here. So one, whatever organization you're in, the services that you're running have some sort of a business purpose. And, one, don't shy away from the important questions. If a thing doesn't look amenable to analysis, do your best to analyze it anyway. Right?\n\nI think another aspect of this that's really important is it turns out that many of these systems are built because they have some sort of recurring business purpose to serve, and that means that the behavior will be more stable day over day and week over week than you would anticipate it being. Right?\n\nSo one of the big mistakes that we made at Google early on was we assumed, well, we're building a system-- this was an analytics system, that takes user code. So we have no idea what it's going to do. Customers can upload whatever code they want and produce very, very different kinds of systems or different kinds of workloads.\n\nFundamentally, it turns out that there aren't very many businesses that want to do something new and different every day. Many of them want to do the same thing reliably day over day. And this is a standard property that it turns out that a lot of workloads have, period. And so, it turns out that you will have consistent patterns. You will have workloads that should behave consistently over time.\n\nYou may or may not be able to get to the level of fidelity that I was talking about, but starting simple and starting to do even offline analysis of your critical workloads, even if they only run a couple of times a day, that will get you very, very far. And so I think that even if the implementation wouldn't necessarily work everywhere, I think that the general concepts would.\n\n**PAT SOMARU:** Yeah, actually, I would say that a step further, but also that if you're smaller, you just have to dive deeper. You have less data. And not only that, but not that customers aren't important everywhere, but the chance that that one customer, that's the one. Your big deal is on the line right now. It kind of goes up. So you need to dive deep and just make sure that those paths are good. And by dive deep, I mean like perf, YourKit, whatever profiler tool it is, you need to use it.\n\nAnd you need to have an understanding of your code, what it can do, and how it works, both the correctness, of course, but also performance. And I don't want to say cache as much as you can everywhere, but also that. So, yeah.\n\n**STEVE MCGHEE:** So a theme that I'm gathering from the two big systems that each of you are responsible individually for or as a group, what you've described here, I feel like something that a lot of customers that I talk to get in trouble with is they'll install an observability tool of some kind, and it will come with dashboards.\n\nAnd they'll be like, well, these are the metrics that are on the dashboard, so this is what we're going to interpret. And so this is like a common fallacy of just measuring what's available to you. Basically, measuring what's easy. Like the numbers are already here. They're already on a graph, so they must be important.\n\nBut what I hear you guys saying is, essentially, like, don't fall for it. Like, think about your business, think about your trends, think about your customers, think about what you actually wrote in the code. Like, maybe the things that you enumerated in the code aren't even being shown in the dashboard because it's just showing you CPU heat or whatever that doesn't matter.\n\nAnd I see a lot of customers every day. They're like, but how do we build an SLO out of CPU heat? And I'm like, no, what are we doing? So it's a really slippery slope to just be attracted to the metric that's already in front of you. Or that it doesn't even have to be a metric, like, the indicator, whatever it is. So does that ring a bell? Like, does that sound like a theme that you guys are coming across?\n\n**PAT SOMARU:** Absolutely. I actually have two pretty good examples of just that.\n\n**STEVE MCGHEE:** Great.\n\n**PAT SOMARU:** One is a service, a service for a while back where it was misusing the verbs, the HTTP verbs.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**PAT SOMARU:** And yeah, the built-in dashboards, a request would go out, some computation would be done, and it would just poll until the result came back. So you could get the most misleading data in the world. I mean, that's one presumption already. Are the verbs being used how they ought to be?\n\n**STEVE MCGHEE:** Yeah. Code 200 failure, right? That kind of stuff. You see it all the time.\n\n**PAT SOMARU:** Exactly, yeah. Code 200 failure, or code 200, but no data, and we're just going to poll forever until we have data. And then it works. It's great. It's incredibly low-response times. Yeah.\n\n**STEVE MCGHEE:** The average is looking wonderful. Yeah.\n\n**FLORIAN RATHGEBER:** Yeah, surely when you get a 200, surely you want to inspect your response payload to figure out whether it's actually a success or a failure.\n\n**STEVE MCGHEE:** You think?\n\n**PAT SOMARU:** And even on top of that, that can compound in systems to the point where it's like, you have interfaces that are actually built upon using things the wrong way. And then you try and introduce observability.\n\nAnd then you have to start looking at a system that's observing a system and translating incorrect-- your unique usage of things into more standard usages of things, and then, wire that up. So, yeah, you have to just understand it in depth, and look at all components as directly as you can, as possible.\n\n**NARAYAN DESAI:** So one thing that I've seen from the perspective of trying to use more sophisticated analytics is that, everybody loves really robust insights that can be used in lots of different situations. The problem is, those don't actually exist. And whenever you do that, you're going to get surprised, and you're going to get surprised in weird ways.\n\nAnd so one of the things that I think that we need to do as a profession is really teach our engineers how to ask more nuanced questions because it turns out that, going back to the example that I was talking about earlier with cache hit rate, for a lot of systems, changes in cache hit rate are really meaningful.\n\nSo the fact that the cache hit rate is changing you care about, but you also care about if the underlying performance of the codepaths or reliability of the codepaths is changing. And so I think that what this is going to cause us to do over time is to be asking and answering more and more questions that are very specific, narrow questions, because you care about this thing, and you care about that thing, and you care about the other thing.\n\nAnd at the end of the day, one of the things that's kind of fascinating about the reliability of systems is, there is this neverending list of things that customers care about, and we haven't articulated them, and we never will articulate all of the properties of a system that our customers care about. We'll get the big ones.\n\nAnd, you know, we've gotten the big ones in many cases. But there's always more work to do. And as you talk about subtle feature breakage, or you talk about these more complicated properties of the system, we actually need to articulate, this data will answer the following questions for you, and it won't answer these other questions for you. Because I think there is a tendency to go reaching for the dashboard that you have.\n\n**PAT SOMARU:** Oh. So that one sentence right there, this data will only answer this question. That is a guarantee that that data is going to be used to answer other questions.\n\n**STEVE MCGHEE:** Yeah.\n\n**NARAYAN DESAI:** Yeah, absolutely.\n\n**STEVE MCGHEE:** You can definitely hold a graph wrong, that's for sure.\n\n**PAT SOMARU:** I feel like that might be one of the biggest open questions. You have this data, and how do you keep it that way? I don't know. But I do know more is better. More data is better because if you understand what it is you have and how to use it, you can gain some insights.\n\n**STEVE MCGHEE:** OK, so we've talked about reliability and general system speed. But another thing that actually matters is, like, are we getting as much out of the system as we expect, and maybe, that we're paying for. Especially in the post ZIRP era, performance really matters, right? Are we actually spending money on just generating heat, or are we actually generating revenue or something like that? Is that something that SREs focus on, as well? Is that a thing that you guys look into?\n\n**PAT SOMARU:** Yeah, so I've done that a bit, good bit. And the context of smaller companies, I would say, that's just pull out your profiler and try and understand what's going on. Because, often, the simplest, and smallest, most innocent of changes can cause something huge. Like, a cache starts storing serialized strings, storing data serialized strings instead of storing data's integers.\n\nAnd then all of a sudden, you have, let's say 40 minute refresh times versus about a minute or 40 minute load times, versus a minute to initially load a program through there. And then there's also at scale, where it's like, there's large numbers attached to minor changes in performance, and even changes across hardware.\n\nIf you look at the performance of chips, you can find sometimes across generations of generation how a hash function performs or regress. And that's a wild thing when you see it. It's like, whoa, this test must be broken. This is a very big difference. Then all of a sudden, you look back and, oh, the chips are different, and it performs--\n\n**STEVE MCGHEE:** Differently.\n\n**PAT SOMARU:** Yeah, that definitely that. Also, that the-- I guess the hardware is being used the right way. So like a project I've been working on a bit recently. I'm working on this sched_ext, and that's a pretty cool thing. But it's, like, be able to get the Linux scheduler to do-- or have a scheduler on Linux that can do what best suits your workload. Yeah, because there are different characteristics. Based on the characteristics of the workload, some things matter more for some workloads and others.\n\nIf you have GPUs and multiple sockets, you want to make sure that the CPU most local to your GPU is handling the processing for that GPU. Just keeping things the right place.\n\n**STEVE MCGHEE:** Yeah, a refrain I've heard many times inside of Google-- and I'm sure it's the same in other giant companies-- is that a small percentage of a very large number is still a very large number.\n\n**PAT SOMARU:** Yes.\n\n**STEVE MCGHEE:** And so like taking advantage of the scale and just being, like, as long as we multiply this tiny little gain by like a bazillion, it'll be great. So finding those is always gold, I think. Narayan, how about you? Any good performance suggestions or tales?\n\n**NARAYAN DESAI:** Well, so we've tried doing some interesting stuff with performance analytics. So one of the things that we think about a lot is that experts are great, but it's really hard to train an expert. And so we really need analytics that will tell you about the things that you should go and send your experts to look at.\n\nAnd so we tried to build an interesting prototype where we tried to build a profile over time of the busyness of tasks and the amount of time they were able to do real work as opposed to being blocked on something else. And so what that basically meant was that for a service, you could basically build a histogram or a CDF of the amount of time that the CPU spent waiting.\n\nAnd for a properly provisioned task, this would start low when everything was really uncontended, and then level out at some level, and stay level all the way to be 100, presuming you never got saturated. And if you were under-provisioned, this would basically take off at some earlier point in the CDF. Well, if you were properly provisioned or overprovisioned, you would never tail off at any point, even up to 100, right?\n\nAnd so the thing that we were looking at there was, could we try to manage this? Manage the band so that you could get some confidence that a service was properly provisioned? So this isn't so much in terms of code performance. It's more a question of how many resources do you throw at a particular workload.\n\n**STEVE MCGHEE:** Autoscaling problem.\n\n**NARAYAN DESAI:** It's kind of like an autoscaling problem, but a lot of times, this could potentially be a different metric for autoscaling. And so this ended up being an interesting sort of thing from the perspective of trying to understand when an application's performance had changed for some reason, and you should look at it, right?\n\nSo that case that you were talking about, Pat, where you started storing data in a different way and things got a whole lot more idle because you're waiting for more, or that's a time you want to be able to detect.\n\n**PAT SOMARU:** Yeah. Yeah, I mean, what's wild is what is it? I think in that case, it actually looked like things a lot more was happening. I think it coincided with some other logic rollout, and it's like, whoa, the computer's doing so much work now. That work was a no op. That's how it gets interesting. It's idle, idle can mean very busy.\n\n**STEVE MCGHEE:** Yeah. We had a system one time that spent most of its time just context switching because all it was doing was managing connections between way too many backends. During the normal time, the thing seemed fine. But as soon as we hit any kind of load, it just fell apart.\n\nWe just went, wait, what? And it turned out, it was one parameter in one config file that was just set to too many backend connections. And change that one thing, and everything starts working again. So systems under load can be drastically different from systems that semi-idle.\n\nBut having insight into your spending 80% of your time switching between threads, even at low levels, that would have unlocked that. But no one thought to look at that until it was too late and until it was breaking under pressure. So I get it.\n\nThank you both for your time. This has been awesome. Before we go, if you would like, you can tell our audience, your fans, where they can hear more from you on the internet. If you have some sort of blog or other kind of presence in the world, maybe you go to conferences, maybe you, I don't know, have a WordPress, or I don't know if people still have those things anymore, but how can people find you on the internet?\n\n**STEVE MCGHEE:** Social media is, what's that? Yeah, I've heard of it.\n\n**NARAYAN DESAI:** I am, actually, largely, a social media hermit these days. I have a bunch of inactive accounts.\n\n**STEVE MCGHEE:** Fair. Yeah, I get it. Pat, how about you?\n\n**PAT SOMARU:** I like listening more than I like talking, so I tend to just be quiet.\n\n**STEVE MCGHEE:** All right. More podcasts for Pat. We get it. Cool, man. All right. Well, thank you both for hanging out with us today. Thanks to Florian for jumping in as a special guest host, as well. And as always, may the pager be silent and the queries flow. Thank you all. See you next time.\n\n**NARAYAN DESAI:** Thanks\n\n**PAT SOMARU:** Thanks. Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 46495, "slov": 8311, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:18", "sha256": "8e8c54cd5bc6c06f26085b2f1dc511bbd5d35fba12b0c8cbafaa1e31240df916", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09/", "titulek": "Profiling data with Pat Somaru and Narayan Desai", "h1": "Profiling data with Pat Somaru and Narayan Desai", "popis": "In this episode, guests Narayan Desai (Principal SRE, Google) and Pat Somaru (Senior Production Engineer, Meta) join hosts Steve McGhee and Florian Rathgeber to discuss the challenges of observability and working with profiling data. The discussion covers intriguing topics like noise reduction, workload modeling, and the need for better tools and techniques to handle high-cardinality data.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09"}, "headline": "Profiling data with Pat Somaru and Narayan Desai", "description": "In this episode, guests Narayan Desai (Principal SRE, Google) and Pat Somaru (Senior Production Engineer, Meta) join hosts Steve McGhee and Florian Rathgeber to discuss the challenges of observability and working with profiling data.", "image": "https://kstatic.googleusercontent.com/files/f0b44340a704fa5b5d9ddabad8985fa6ac60c1d084007eed3bfb05dc680ea28431a092d0aab905e1389c869399d7019668760a3301fb94e2e279c8a0682e3568", "author": [{"@type": "Person", "name": "Narayan Desai"}, {"@type": "Person", "name": "Pat Somaru"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Profiling data with Pat Somaru and Narayan Desai"}], "markdown": "# Profiling data with Pat Somaru and Narayan Desai\n\nIn this episode, guests **Narayan Desai** (Principal SRE, Google) and **Pat Somaru** (Senior Production Engineer, Meta) join hosts **Steve McGhee** and **Florian Rathgeber** to discuss the challenges of observability and working with profiling data. The discussion covers intriguing topics like noise reduction, workload modeling, and the need for better tools and techniques to handle high-cardinality data.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\nHey, everyone, and welcome to another episode of the Prodcast, Google's podcast about SRE and production software. I'm your host, Steve McGhee.\n\n**FLORIAN RATHGEBER:** And I'm Florian.\n\n**STEVE MCGHEE:** This season, we're focusing on software engineering and SRE. And today, we have two guests to tell us a little bit more about observability, this time beyond just metrics. There's plenty of other things out there. We have Narayan and Pat. Can you both introduce yourselves?\n\n**NARAYAN DESAI:** Sure. So I'm Narayan Desai. I'm an SRE at Google. I work on Google Cloud, and I particularly focus on observability and efficiency stuff.\n\n**PAT SOMARU:** Hi, I'm Pat Somaru. I'm a production engineer at Meta, working on a lot of things, but at the moment, I'm working on a sched_ext, which is a cool scheduler thing for Linux.\n\n**STEVE MCGHEE:** Great. So as I mentioned, this season is about software engineering inside of SRE. And so, in the past, we've talked about operations and culture and different jobs and things like that. But really at the core of it, we're dealing with software. And it turns out the best way to make software better is to write more software, or change the software, and that comes down to software engineering. So it's not just fiddling the things that are already there, but writing new stuff.\n\nAnd one of the kind of base problems in operating in SRE in general is knowing what to mess with. And this is where observability comes in. So we have to understand the problem before we can fix the problem, as we say. So out in the world, if you look up observability or even monitoring, you'll see the three pillars, as they say.\n\nSo we'll see metrics, logs, and spans or traces. Is there more to it than that? Or is that it? Is that the extent of what we've got?\n\n**PAT SOMARU:** Well, there's also performance data which, like, think about traces. So I guess, when you say traces, I think about elastic APM, that thing where you're doing distributed observability across containers.\n\nBut that also kind of applies to the binary level, to, like inside of your application. If you pull out your kit or perf to see where the time is going. And it covers, it traces, but not necessarily, but yeah.\n\n**NARAYAN DESAI:** So I tend to think about this more from the perspective of use cases as opposed to the data. I'm an analytics guy, so I think about the way that you can analyze the data and the kinds of insights that you can get out of it. And so from that perspective, those are the data products that you have, but there's a lot of different things that you want to do with them. And I think that the interesting aspect of this, from the perspective of those data products, is the semantics that they have.\n\nSo you fundamentally have [time series data](https://sre.google/sre-book/practical-alerting/), and time series data has particular properties, in particular, scalability issues. You have logs, which are fundamentally events, and then you've got traces, which are fundamentally graph structures.\n\nAnd if you think about observability data through that lens, then what that really tells you is that you need three different classes of approaches for analyzing the data. Because if anybody has ever tried to wedge graph data into a relational database,\n\n**STEVE MCGHEE:** No one's ever tried that.\n\n**NARAYAN DESAI:** Not so great. Same thing for time series data. Right?\n\n**STEVE MCGHEE:** Yeah.\n\n**PAT SOMARU:** So to build on that, actually an interesting observation I had a little while back: you said there's different classes, and you have graph data, yes. And you also have time series. But in a way, it's a time series of graphs, which is, I don't know, that's a bit of an interesting thing. Like, how is it performing that's a graph? Or what's happening that's a graph? But that changes over time series.\n\n**STEVE MCGHEE:** Like the graph changes over time. Is that what you mean?\n\n**PAT SOMARU:** Yes. And that's what actually folks care-- at least, I've found that folks care the most about. Like, why did this get slower? Why does this cost more? Well, that graph changed. You're serializing a timestamp versus storing an integer.\n\n**STEVE MCGHEE:** Mm-hmm. Yeah.\n\n**NARAYAN DESAI:** Yeah. I think those connections are really important. And that really makes us, from an analytical perspective, a multi-modal kind of problem. Because you have things that happen at particular points in time, then you have things that are happening in metric space, and that's going to change the structure of the graphs that you have or the content of the graphs that you have.\n\nAnd being able to connect those things actually produces a whole different set of insights, which are fundamentally actually much more, I think, interesting and compact than all of the other data products that we tend to deal with.\n\n**STEVE MCGHEE:** That's cool. So if you're stuck in a world where all you can do is make a table and an XY graph, maybe you're missing out on some fundamental insights into what your data is trying to tell you.\n\n**PAT SOMARU:** Well, I think that the hard part is getting to the table with the XY graph with all the data. Ultimately, that's what you want. It's how many servers do we need, how much is this going to cost. But a time series of a graph needs to somehow eventually be translated into something actionable, whether it's a code change, or a number of servers, or something.\n\n**NARAYAN DESAI:** Yeah. And fundamentally, many of these techniques are really about taking complex data and building it down into an insight that's simple enough to understand. One story from a while back. We were doing some analysis work, and we were using this overly complicated machine-learning approach for clustering to try to make sense of performance data for a service.\n\nWe spent a bunch of time tweaking this approach, and building up the infrastructure, and all this. And it was this really fiddly thing. And once we found something in it, we started looking at it different ways. And we found that it was actually visible with the two component PCA, which is pretty much basic stats 101 stuff. It's effectively an XY plot.\n\nAnd then what we realized is actually also the simple methods are the best sometimes. So when you can use the simple methods, you should use them. But there's this siren song of new and complicated things. But at the end of the day, what we need to do is we need to take this very complicated structured data that's high dimensional, and we need to turn it into a thing that the human brain can understand. And that's, frankly, simple insights.\n\n**PAT SOMARU:** You mentioned that. And actually, I found a similar one. I guess, trying to query the data, which is hard. It's like there's a lot of data, just asking a query can be tricky. If you want to make it easily and readily usable, that's another problem on top of itself. But those simple insights, it's like, if you simply have a way of representing the data where you can discard most of it, that actually, sort of intuitively, it kind of makes sense when you think about it.\n\nSo, like, you write some library, this is your hash function. You're going to use that everywhere. And when you actually look at the graph, it turns out that if you discard like 90% of the data, you're still covering something like 90% of your cost. And then that enables you to do wild integrations with it.\n\n**FLORIAN RATHGEBER:** So Pat, you just outlined one of the basic truths, I guess, of profiling and figuring out what's the performance of a particular piece of code. So for someone that knows how to profile the inner loop on their workstation, so to speak, as it were, how does that then relate to the distributed systems, the bigger piece that we care about, series, and production engineers.\n\n**PAT SOMARU:** It kind of does. So I had a talk at SREcon a little while back about some tricks that I came up with and we played with at work and whatnot, to address that. So most folks don't know how to take perf and get a flame graph from it, or to optimize it. It's not the concern at the forefront of everyone's mind, but you kind of need everybody to be a bit concerned about it, sort of like with security. Otherwise, problems happen, and they can be expensive.\n\nThe way I found, I think I was saying, with make the data accessible, is that if you can reduce the data by removing the parts of it that you know are so small, you don't care about it so much necessarily, and you can find a good way to represent distinct things-- so like, you might think it's your binary. You run perf on your binary, and that's how your binary performs.\n\nExcept for your environmental variables. That can change. So you have to consider the configuration of the system and the hash of the source code, and sometimes, even build information. But once you find the correct representation of that, then you can do things like squiggly lines in an IDE, or something like that, once it's an immediate lookup.\n\nIt's like, oh, for this line, well, just put a little red here. This line of code you're editing costs a lot of money. Be very careful not to make this slower or not. It costs a lot of money, but it is ran many times per day. So like hotness of the code, kind of.\n\n**FLORIAN RATHGEBER:** So it's both a data processing, as well as a visualization challenge in a way?\n\n**PAT SOMARU:** Accessibility. Developer accessibility, I think. Because you can't expect everybody to be able to pull out perf and run it on some JVM code. I mean, if you can even do that. Never try to, just use YourKit. But you want to make it accessible to all developers and kind of put it in front of their face.\n\nUnless it is their job, in which case, they're going to use perf because they're not interested in your high-level removing the details they care about. But you want to make it easy so everybody can-- you move the ship in the right direction. I feel. Yeah.\n\n**NARAYAN DESAI:** So I think one thing that's kind of related to this that's pretty important is-- fundamentally, engineering is all about building up mental models of what it is you're doing. I think gone are the days where someone could expect to understand all levels of the stack deeply. And so you have more specialization, you just have more things to know.\n\nAnd so one of the key things that I think is very important when you're designing observability is to really think about the mental model that people are using. I think that there's another angle of this that ends up being kind of interesting as well, which is that, we don't have enough meaningful models of how we think about distributed systems.\n\nAnd so, to the extent that we can build more useful models there, we can then give people a way to think about their systems that are more useful than-- I mean, I feel like a lot of SREs-- the old adage is, just bad things happen all the time? And that's true. It's one perspective, but there are more patterns in the chaos that we can tease out if we start to model systems better.\n\nAnd that, often actually, ends up resulting in, if not less data, a lot less noise in the data because you're measuring parts of the system that are actually meaningful interacting components in it.\n\n**FLORIAN RATHGEBER:** Getting better signal is definitely always a win.\n\n**NARAYAN DESAI:** So one thing that I spend a lot of time thinking about lately, having worked on observability for the last several years, is, one of the key problems that I don't think that we've really tackled well enough is understanding noise and reducing it.\n\nSo we have all these measurements. And anyone who's actually tried to ever use an SLO for something, for a complicated system, knows that you have to deal with noise, and it's a huge problem. And there is some level of concession that people have to noise, which is to say, well, we need to deal with the noise somehow. And so, if we set too stringent an SLO, we're just going to get paged to death for things that aren't real. And what that costs us is that there are going to be some things that are real that we don't see if we set the SLO to some less stringent value.\n\nAnd I actually think that that's kind of wrong. I think that we should really be looking at observability from the perspective of how do we reduce noise in the system? Because if you can reduce noise in the system from a fundamental perspective, that allows you to see more things and see things more accurately.\n\nSo to give a really concrete example, we've done a lot of work in the last few years, and a colleague of mine, Brent Bryan, and I gave a talk on this at a SREcon, I think, two years ago in doing workload modeling. So the work that we talk about there is basically doing quantile estimation for performance of discrete RPCs, basically.\n\nAny service has some amount of workload dependency when you send it a request. There are some big ones, there are some small ones. Some of them are fast, some of them are slow. Some of them are complicated. And what this means roughly is, some of your requests should take 50 milliseconds. And if they run in 55 milliseconds, that's not a big deal because that's sort of within your standard deviation. And there's some requests that should take 10 milliseconds. And if they run for 55 milliseconds, then something is horribly, horribly wrong.\n\nAnd so the experience that we've had with trying to model our performance events that way is that-- I love insights like this-- fundamentally, workloads matter. This is not surprising to anyone when you say it out loud. But when you consider workloads in the context of your performance events, that allows you to normalize statistical scores for different kinds of workloads, and then combine them back together to understand how your service is doing as a whole. And this effectively allows you to control for the effects of workload mix shifts in your service.\n\n**STEVE MCGHEE:** So just to drill into that, the terminology around it, the workload you're referring to, like, kind of the inputs to the system matter, not just the system itself. So you can have one system that gets used in three different ways based on its input pattern, and its measurable performance will be dramatically different between those three different ways.\n\nBut if you just average them all together and be like, this one thing has this one number, then how does that help you? You want to be able to discriminate between the different modes that this one binary or system, or whatever it is is running under. Am I getting that right?\n\n**NARAYAN DESAI:** Yeah, that's absolutely right. And it's not even necessarily one system. It might even be one RPC call. So think about an RPC call that has a cache path and a go-to-the-database path.\n\n**STEVE MCGHEE:** Yeah. Totally.\n\n**NARAYAN DESAI:** So any system will change over time, and the proportion of cache hits will change. And as that occurs, your average latency will change. This may be meaningful. It may not be, right? It's certainly something that you want to know about, but you should measure that explicitly and then try to understand the extent to which, if your cache hit performance drops by 30 milliseconds, that's a thing that you would want to recognize discretely from your workload mix shifting.\n\n**PAT SOMARU:** Are you saying that you pull out these different, I guess, categories as dimensions? Like, after the fact?\n\n**NARAYAN DESAI:** Yeah. So basically, what we do is we extract a bunch of parameters that characterize effectively a cohort in the workload. And whether you hit the cache might be a parameter that goes into that cohort, as well as, maybe the customer or some other aspects that capture the differences between the discrete workloads. And then we're able to use that to build historical models that we can calculate quantiles on, for example.\n\n**PAT SOMARU:** That is very cool. Yeah. I can say I've only ever tried to do it the other way, which is, know the inputs. I think the highest level of granularity I went to is like, a request is cached or not. But that's pretty cool. I have different types of requests. Yeah, that's cool.\n\n**STEVE MCGHEE:** Yeah. The example that you gave, Narayan, was fascinating to me because you don't know if a request is going to be cached when it enters the door. It depends on the time of day, and the last thousand people, did they make a similar request or not? But ideally, like, hopefully, you can know it after the fact, like, in some sort of log entry or performance like this request was this speed. And also, by the way, like cache equals true.\n\nSo having that data point, at least on the other side, is something that you can then take advantage of later. It doesn't help you predict things, I guess, but it does help you classify that there's this one type of request, and this other type of request. That's awesome. That's a good way to think about it.\n\n**NARAYAN DESAI:** Yeah. And it turns out that this kind of a calculation is really cheap to do. So basically, what we do is-- quantile estimation is sort of calculating a Z-score. And so if on know on a per granular cohort basis what the mean and standard deviation of historical performances, you can get a pretty good sense of what just happened to you, and then you can aggregate that using low cardinality metric systems relatively readily.\n\nAnd so this gives you a good sense of what's going on. It's not a panacea by any means, but it allows you to answer a particular class of questions. And so, anyway, this technique is sort of interesting. But what we realized after the fact is that, another way of saying what I just said is that mixture effects, in most services, introduce substantial amounts of noise to basically all of the measurements that you do of that service.\n\nThe consequence of this is that if you are able to control for those mixture shifts, then you're able to substantially reduce noise. And in fact, that's what we ended up seeing as we used these techniques more and more. So, basically, there's a lot of native volatility that you see in pretty much any metric.\n\nAnd this smooths a lot of that out. And it gives you a much better ability to understand when things are changing with much more sensitivity. And the increases that we-- so my opinion here is that by controlling for this, you actually greatly reduce the amount of noise in the system, which means that you need to make less of these noise versus precision tradeoffs.\n\nYou'll always need to make them to some extent. You need to decide how much work you're going to put into working on problems in a particular domain, or with a particular metric, or whatever. However, if you're able to reduce noise, that means that you have much less of kind of casino effect as you're getting alerted. And that, actually, is incredibly valuable.\n\nAnd I think that that really fundamentally comes down to treating this as sort of a post hoc description of what we realized after doing this work, this, unfortunately, wasn't going in with a master plan. But think that we actually need to start thinking about noise reduction in a really explicit way in observability, because then, nobody wants to be paged by a thing that's not actually there.\n\n**STEVE MCGHEE:** It doesn't help to measure the noise. Yeah.\n\n**NARAYAN DESAI:** Yeah.\n\n**FLORIAN RATHGEBER:** And I suppose one of the cool aspects of your method is also that you don't actually need to know, if I understood you correctly, you don't need to know the expected performance of your workload cohort, but you actually infer it by observation, and then regress against past performance in some way.\n\n**NARAYAN DESAI:** Yeah, that's exactly right. And I think, this actually addresses one of the big issues that, practically, we see with SLO type of approaches, which is the calibration is super hard. So what this gives you is the ability to understand variance on a granular basis. And that variance is calibrated against the historical behavior of all of your individual workloads.\n\nSo you still have these questions of mixture effects and what do you want to promise, and the broader SLO decision-making framework. But this gives you a very different kind of data that allows you to know much more confidently that things are changing from the way that they have historically been.\n\n**STEVE MCGHEE:** Cool.\n\n**NARAYAN DESAI:** And I guess, at the risk of going a little bit down the rabbit hole of trying to address problems in the SLO framework. The need to choose a threshold ends up being a really substantial difficulty. Choosing a single threshold for a service is really hard because you have many workloads and a mixture, and the mixture is constantly shifting.\n\nAnd then you have different customer requirements. And so, when you force yourself into a position that you need to pick a threshold, well, one, you will always pick wrong. And then the implications of choosing wrong are sort of random, depending on which customer you're talking about.\n\nYou may have customers that you've chosen pretty much correctly for. You may have customers that actually need a better level of performance and generally get it, but you can't see when you regress because your threshold is past the regression that's experienced by the customer, and so forth. So moving to a variance model that's historically calibrated actually addresses a lot of those issues.\n\n**FLORIAN RATHGEBER:** And in particular because, I suppose, the really tricky thresholds to pick are performance and latency thresholds. Because if you have an availability SLO, then, I guess, you can make a more educated guess of, what do your users expect in terms of the reliability of the service, but the performance expectations and requirements of different customers, they have a much higher variance, making that tuning more tricky.\n\n**NARAYAN DESAI:** So yes and no. So I would say, we started by doing this with performance because performance is clearly-- there are so many orders of magnitude, particularly when you look at analytical services that have everything from very, very short questions or queries, to extremely long-running queries that take minutes or hours to run.\n\nYou have so many orders of magnitude of difference in latency that you can't even pretend that you're getting reasonable results when you average these things together. But I think that it turns out that actually you see the exact same behavior in availability metrics. And I think that the fact that the variance is smaller has confused us into thinking that, actually, we don't have the problem there when we actually do.\n\nSo let's go back to that case that I was talking about a minute ago with cache hits. So imagine that you've got one RPC, there's a cache codepath, and there's a more complicated codepath that goes out to a database across the network. Which one of those codepaths do you think is going to be more reliable? Almost certainly, it's going to be the cache path. Because if you've got an entry in a cache, that means that you can pull it out of RAM and serve it right back, or roughly.\n\n**STEVE MCGHEE:** Short hop.\n\n**NARAYAN DESAI:** At least for that part of the code, you can do a very simple thing as opposed to doing a very complicated thing. It's a shortest number of steps. There's no network involved. There's no other service involved. That's just the thing that's going to naturally be more reliable.\n\nSo what this means is that what we have always done is we've always averaged together these different cohorts that exist within a larger service. And what will change over time is, your cache hit rate will change, and so your transient failure rate from just bad things happening in the network or in the database layer will become a little bit more prominent.\n\nNow, generally, they won't be super prominent, and they will probably be below the noise floor because of all of these mixture effects. So we've kind of been able to ignore them. However, let me tell you a fun story about a customer. So several years ago, I was working on a service, and one of the engineers on the service recognized that there was one customer who had amazing, amazing release hygiene and reliability in their services.\n\nSo this was the Cloud Pub/Sub service. And if there was ever a backlog on this topic, we were broken. It wasn't the customer. So we did what any self-respecting SRE would do, and we started alerting on backlogs in that topic because it was a good indication that the service was broken.\n\nNow let's go back to this thing that I was just saying about, different granular cohorts having different properties. So if you get past the codepath part of this, and you talk about which customer it is, you may have some customers where their expected success rate is pretty much 100%. And if you could calibrate from an availability perspective to that, you would know that when one erroneous event shows up for that customer, there's a problem.\n\nWhereas if there's a customer workload that is experiencing normal levels of reliability, maybe you need a couple of events to recognize that there's a problem. Or if you have a customer workload and someone sets up a dev workload, and it's just constantly flapping and producing errors--\n\n**STEVE MCGHEE:** Not helpful.\n\n**NARAYAN DESAI:** --the likelihood that this thing is more broken does not increase with 1 or 10 or 100 errors, because it's always producing errors. And so you can think about ways that you would fit all of this together, but really, I think that the fundamental idea here is that, these systems are mixtures of workloads with mixtures of outcomes, and you need to model those explicitly.\n\nAnd so I actually think that this is a major factor in availability, as well as performance. Though it's not quite as profound as it is in performance, but I think it's just as useful and available.\n\n**PAT SOMARU:** That does kind of feed into something I've seen with SLOs before. So I was dealing with a service once, and it had great stats, very, very high uptime, but also a lot of complaints. And it was just a matter of breakdown.\n\nLike you just break down the endpoints, and then after that, you eventually have to break down what the incoming objects deserialize into, and you have to find the different codepaths, and, yeah, you have to get that dimensionality bubbled up into your SLOs and surface to be able to actually see if there is a path that is a failing 100% of the time, but it's called very infrequently.\n\n**NARAYAN DESAI:** You know, we call these needle-in-a-haystack kinds of problems. And one of the things that we see, particularly, with infrastructure products is there are so many interacting features that you may have a very, very small number of requests that represent any particular combination of them. But if the combination is broken, that's a thing we need to know about, and find and fix quickly. And so that's exactly on point.\n\n**STEVE MCGHEE:** I mean, we all heard of microservices, and, sometimes, there's tiny little nano services in there that we don't even know about. They're just absolutely their own thing, and they're tiny, and you do need to care about them when they interact with the rest of the system. And that's hard to see.\n\n**PAT SOMARU:** Thinking about that more, I was going to say, I think about caching. And if you want to talk about making things fun, what about services with an extremely high cache hit rate? How do you pinpoint when a problem was actually deployed? Yeah, but having that dimensionality present helps a ton there, totally.\n\n**NARAYAN DESAI:** Yeah, and I think this is actually one of the places where we need a better set of tools. Historically, a lot of the systems that handle time series don't allow high cardinality breakdowns, and that's an issue for sure. I don't know if that means that you necessarily need a time series system that can handle high cardinality, but you definitely need a way to get high cardinality insights.\n\n**PAT SOMARU:** So the thing I have always done is to ensure at least enough dimensionality is being emitted in the first place. It's never enough, but close enough. We know if it's cache hit, or miss, or just get the exceptions out and just to get enough observability that when you get robodialed, you have an idea of what might be going on.\n\n**NARAYAN DESAI:** Yeah, and I think to the extent that's possible, that's the right thing to do. I worry that that often will blow right past the scalability limits from a cardinality perspective of a lot of these systems. To do a lot of the modeling that I've been talking about, what you end up with is these vectors that are relatively long.\n\nAnd if you think about all the combinations that you see of them, you have millions to hundreds of millions of discrete cohorts that you're modeling. And that's what's required to really get the noise down for some kinds of services, at least.\n\n**FLORIAN RATHGEBER:** So some of the challenges that you were describing, they seem to require a certain amount of scale, and also the methods require a certain amount of data. So for SREs that don't exactly work for one of the FAANGs, do these methods still apply? Should they still use them? Should they adapt them somehow? What's your recommendation for someone that doesn't deal with Google and Facebook scale questions, observability issues?\n\n**PAT SOMARU:** I do have a little bit of insight there. At smaller places, the problems you're dealing with are similar, but different, kind of. So it's a bit more like, do we have any observability at all? Do we know why this is slow? Do we need to fish around in the code and throw in debug statements and get it to run or not?\n\nI've seen some of the tooling be used, like some of the distributed observability tooling. My knowledge is probably a bit outdated, but I remember elastic APM was pretty nice forever ago. But it was a form of APM that I can hook into services and be like, oh, we have a call in the Rust microservice, we have a call in a Java microservice.\n\nSo just being able to see how different things are, like being able to see it at all, the interaction between all these containers and different systems, I would say that's a good first step for a smaller place. That's presuming really small, but I have something. Something is infinitely better than nothing. So I'd say that might be useful to some folks.\n\n**NARAYAN DESAI:** I think, also, there's some core philosophical things that are pretty important here. So one, whatever organization you're in, the services that you're running have some sort of a business purpose. And, one, don't shy away from the important questions. If a thing doesn't look amenable to analysis, do your best to analyze it anyway. Right?\n\nI think another aspect of this that's really important is it turns out that many of these systems are built because they have some sort of recurring business purpose to serve, and that means that the behavior will be more stable day over day and week over week than you would anticipate it being. Right?\n\nSo one of the big mistakes that we made at Google early on was we assumed, well, we're building a system-- this was an analytics system, that takes user code. So we have no idea what it's going to do. Customers can upload whatever code they want and produce very, very different kinds of systems or different kinds of workloads.\n\nFundamentally, it turns out that there aren't very many businesses that want to do something new and different every day. Many of them want to do the same thing reliably day over day. And this is a standard property that it turns out that a lot of workloads have, period. And so, it turns out that you will have consistent patterns. You will have workloads that should behave consistently over time.\n\nYou may or may not be able to get to the level of fidelity that I was talking about, but starting simple and starting to do even offline analysis of your critical workloads, even if they only run a couple of times a day, that will get you very, very far. And so I think that even if the implementation wouldn't necessarily work everywhere, I think that the general concepts would.\n\n**PAT SOMARU:** Yeah, actually, I would say that a step further, but also that if you're smaller, you just have to dive deeper. You have less data. And not only that, but not that customers aren't important everywhere, but the chance that that one customer, that's the one. Your big deal is on the line right now. It kind of goes up. So you need to dive deep and just make sure that those paths are good. And by dive deep, I mean like perf, YourKit, whatever profiler tool it is, you need to use it.\n\nAnd you need to have an understanding of your code, what it can do, and how it works, both the correctness, of course, but also performance. And I don't want to say cache as much as you can everywhere, but also that. So, yeah.\n\n**STEVE MCGHEE:** So a theme that I'm gathering from the two big systems that each of you are responsible individually for or as a group, what you've described here, I feel like something that a lot of customers that I talk to get in trouble with is they'll install an observability tool of some kind, and it will come with dashboards.\n\nAnd they'll be like, well, these are the metrics that are on the dashboard, so this is what we're going to interpret. And so this is like a common fallacy of just measuring what's available to you. Basically, measuring what's easy. Like the numbers are already here. They're already on a graph, so they must be important.\n\nBut what I hear you guys saying is, essentially, like, don't fall for it. Like, think about your business, think about your trends, think about your customers, think about what you actually wrote in the code. Like, maybe the things that you enumerated in the code aren't even being shown in the dashboard because it's just showing you CPU heat or whatever that doesn't matter.\n\nAnd I see a lot of customers every day. They're like, but how do we build an SLO out of CPU heat? And I'm like, no, what are we doing? So it's a really slippery slope to just be attracted to the metric that's already in front of you. Or that it doesn't even have to be a metric, like, the indicator, whatever it is. So does that ring a bell? Like, does that sound like a theme that you guys are coming across?\n\n**PAT SOMARU:** Absolutely. I actually have two pretty good examples of just that.\n\n**STEVE MCGHEE:** Great.\n\n**PAT SOMARU:** One is a service, a service for a while back where it was misusing the verbs, the HTTP verbs.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**PAT SOMARU:** And yeah, the built-in dashboards, a request would go out, some computation would be done, and it would just poll until the result came back. So you could get the most misleading data in the world. I mean, that's one presumption already. Are the verbs being used how they ought to be?\n\n**STEVE MCGHEE:** Yeah. Code 200 failure, right? That kind of stuff. You see it all the time.\n\n**PAT SOMARU:** Exactly, yeah. Code 200 failure, or code 200, but no data, and we're just going to poll forever until we have data. And then it works. It's great. It's incredibly low-response times. Yeah.\n\n**STEVE MCGHEE:** The average is looking wonderful. Yeah.\n\n**FLORIAN RATHGEBER:** Yeah, surely when you get a 200, surely you want to inspect your response payload to figure out whether it's actually a success or a failure.\n\n**STEVE MCGHEE:** You think?\n\n**PAT SOMARU:** And even on top of that, that can compound in systems to the point where it's like, you have interfaces that are actually built upon using things the wrong way. And then you try and introduce observability.\n\nAnd then you have to start looking at a system that's observing a system and translating incorrect-- your unique usage of things into more standard usages of things, and then, wire that up. So, yeah, you have to just understand it in depth, and look at all components as directly as you can, as possible.\n\n**NARAYAN DESAI:** So one thing that I've seen from the perspective of trying to use more sophisticated analytics is that, everybody loves really robust insights that can be used in lots of different situations. The problem is, those don't actually exist. And whenever you do that, you're going to get surprised, and you're going to get surprised in weird ways.\n\nAnd so one of the things that I think that we need to do as a profession is really teach our engineers how to ask more nuanced questions because it turns out that, going back to the example that I was talking about earlier with cache hit rate, for a lot of systems, changes in cache hit rate are really meaningful.\n\nSo the fact that the cache hit rate is changing you care about, but you also care about if the underlying performance of the codepaths or reliability of the codepaths is changing. And so I think that what this is going to cause us to do over time is to be asking and answering more and more questions that are very specific, narrow questions, because you care about this thing, and you care about that thing, and you care about the other thing.\n\nAnd at the end of the day, one of the things that's kind of fascinating about the reliability of systems is, there is this neverending list of things that customers care about, and we haven't articulated them, and we never will articulate all of the properties of a system that our customers care about. We'll get the big ones.\n\nAnd, you know, we've gotten the big ones in many cases. But there's always more work to do. And as you talk about subtle feature breakage, or you talk about these more complicated properties of the system, we actually need to articulate, this data will answer the following questions for you, and it won't answer these other questions for you. Because I think there is a tendency to go reaching for the dashboard that you have.\n\n**PAT SOMARU:** Oh. So that one sentence right there, this data will only answer this question. That is a guarantee that that data is going to be used to answer other questions.\n\n**STEVE MCGHEE:** Yeah.\n\n**NARAYAN DESAI:** Yeah, absolutely.\n\n**STEVE MCGHEE:** You can definitely hold a graph wrong, that's for sure.\n\n**PAT SOMARU:** I feel like that might be one of the biggest open questions. You have this data, and how do you keep it that way? I don't know. But I do know more is better. More data is better because if you understand what it is you have and how to use it, you can gain some insights.\n\n**STEVE MCGHEE:** OK, so we've talked about reliability and general system speed. But another thing that actually matters is, like, are we getting as much out of the system as we expect, and maybe, that we're paying for. Especially in the post ZIRP era, performance really matters, right? Are we actually spending money on just generating heat, or are we actually generating revenue or something like that? Is that something that SREs focus on, as well? Is that a thing that you guys look into?\n\n**PAT SOMARU:** Yeah, so I've done that a bit, good bit. And the context of smaller companies, I would say, that's just pull out your profiler and try and understand what's going on. Because, often, the simplest, and smallest, most innocent of changes can cause something huge. Like, a cache starts storing serialized strings, storing data serialized strings instead of storing data's integers.\n\nAnd then all of a sudden, you have, let's say 40 minute refresh times versus about a minute or 40 minute load times, versus a minute to initially load a program through there. And then there's also at scale, where it's like, there's large numbers attached to minor changes in performance, and even changes across hardware.\n\nIf you look at the performance of chips, you can find sometimes across generations of generation how a hash function performs or regress. And that's a wild thing when you see it. It's like, whoa, this test must be broken. This is a very big difference. Then all of a sudden, you look back and, oh, the chips are different, and it performs--\n\n**STEVE MCGHEE:** Differently.\n\n**PAT SOMARU:** Yeah, that definitely that. Also, that the-- I guess the hardware is being used the right way. So like a project I've been working on a bit recently. I'm working on this sched_ext, and that's a pretty cool thing. But it's, like, be able to get the Linux scheduler to do-- or have a scheduler on Linux that can do what best suits your workload. Yeah, because there are different characteristics. Based on the characteristics of the workload, some things matter more for some workloads and others.\n\nIf you have GPUs and multiple sockets, you want to make sure that the CPU most local to your GPU is handling the processing for that GPU. Just keeping things the right place.\n\n**STEVE MCGHEE:** Yeah, a refrain I've heard many times inside of Google-- and I'm sure it's the same in other giant companies-- is that a small percentage of a very large number is still a very large number.\n\n**PAT SOMARU:** Yes.\n\n**STEVE MCGHEE:** And so like taking advantage of the scale and just being, like, as long as we multiply this tiny little gain by like a bazillion, it'll be great. So finding those is always gold, I think. Narayan, how about you? Any good performance suggestions or tales?\n\n**NARAYAN DESAI:** Well, so we've tried doing some interesting stuff with performance analytics. So one of the things that we think about a lot is that experts are great, but it's really hard to train an expert. And so we really need analytics that will tell you about the things that you should go and send your experts to look at.\n\nAnd so we tried to build an interesting prototype where we tried to build a profile over time of the busyness of tasks and the amount of time they were able to do real work as opposed to being blocked on something else. And so what that basically meant was that for a service, you could basically build a histogram or a CDF of the amount of time that the CPU spent waiting.\n\nAnd for a properly provisioned task, this would start low when everything was really uncontended, and then level out at some level, and stay level all the way to be 100, presuming you never got saturated. And if you were under-provisioned, this would basically take off at some earlier point in the CDF. Well, if you were properly provisioned or overprovisioned, you would never tail off at any point, even up to 100, right?\n\nAnd so the thing that we were looking at there was, could we try to manage this? Manage the band so that you could get some confidence that a service was properly provisioned? So this isn't so much in terms of code performance. It's more a question of how many resources do you throw at a particular workload.\n\n**STEVE MCGHEE:** Autoscaling problem.\n\n**NARAYAN DESAI:** It's kind of like an autoscaling problem, but a lot of times, this could potentially be a different metric for autoscaling. And so this ended up being an interesting sort of thing from the perspective of trying to understand when an application's performance had changed for some reason, and you should look at it, right?\n\nSo that case that you were talking about, Pat, where you started storing data in a different way and things got a whole lot more idle because you're waiting for more, or that's a time you want to be able to detect.\n\n**PAT SOMARU:** Yeah. Yeah, I mean, what's wild is what is it? I think in that case, it actually looked like things a lot more was happening. I think it coincided with some other logic rollout, and it's like, whoa, the computer's doing so much work now. That work was a no op. That's how it gets interesting. It's idle, idle can mean very busy.\n\n**STEVE MCGHEE:** Yeah. We had a system one time that spent most of its time just context switching because all it was doing was managing connections between way too many backends. During the normal time, the thing seemed fine. But as soon as we hit any kind of load, it just fell apart.\n\nWe just went, wait, what? And it turned out, it was one parameter in one config file that was just set to too many backend connections. And change that one thing, and everything starts working again. So systems under load can be drastically different from systems that semi-idle.\n\nBut having insight into your spending 80% of your time switching between threads, even at low levels, that would have unlocked that. But no one thought to look at that until it was too late and until it was breaking under pressure. So I get it.\n\nThank you both for your time. This has been awesome. Before we go, if you would like, you can tell our audience, your fans, where they can hear more from you on the internet. If you have some sort of blog or other kind of presence in the world, maybe you go to conferences, maybe you, I don't know, have a WordPress, or I don't know if people still have those things anymore, but how can people find you on the internet?\n\n**STEVE MCGHEE:** Social media is, what's that? Yeah, I've heard of it.\n\n**NARAYAN DESAI:** I am, actually, largely, a social media hermit these days. I have a bunch of inactive accounts.\n\n**STEVE MCGHEE:** Fair. Yeah, I get it. Pat, how about you?\n\n**PAT SOMARU:** I like listening more than I like talking, so I tend to just be quiet.\n\n**STEVE MCGHEE:** All right. More podcasts for Pat. We get it. Cool, man. All right. Well, thank you both for hanging out with us today. Thanks to Florian for jumping in as a special guest host, as well. And as always, may the pager be silent and the queries flow. Thank you all. See you next time.\n\n**NARAYAN DESAI:** Thanks\n\n**PAT SOMARU:** Thanks. Bye.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 46495, "slov": 8311, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-09", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:44", "sha256": "8e8c54cd5bc6c06f26085b2f1dc511bbd5d35fba12b0c8cbafaa1e31240df916", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10", "titulek": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "h1": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "popis": "In this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Manager, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10"}, "headline": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "description": "In this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Manager, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.", "image": "https://kstatic.googleusercontent.com/files/3ab63ca070d6305b6f35d9e04f7c1c006424a491e466c360be2792c4d9d15a0eb6c449ef011e6904857787089bdf494e4152ae4e8db8641b53e00f4446036be6", "author": [{"@type": "Person", "name": "Cody Smith (CTO and Co-founder, Camus Energy)"}, {"@type": "Person", "name": "Trisha Weir (SRE Department Lead, Google)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Maglev: load balancing at Google with Cody Smith and Trisha Weir"}], "markdown": "# Maglev: load balancing at Google with Cody Smith and Trisha Weir\n\nIn this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Department Lead, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**̦\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\nHey, everyone, welcome back to another episode of The Prodcast, Google's podcast about SRE and production software. I'm your host, Steve McGhee.\n\n**JORDAN GREENBERG:** And I'm Jordan Greenberg.\n\n**STEVE MCGHEE:** This season, we're focusing on software engineering in SRE. And today, we have two guests to tell us a little bit about the development of a piece of software inside of Google. It's a system called Maglev. But we'll get to that.\n\nOur guests today are Cody Smith and Trisha Weir. Can you both introduce yourselves?\n\n**CODY SMITH:** Yeah, I am currently the CTO and co-founder of a startup called Camus Energy. But before that, I was at Google for more than 14 years from 2004.\n\n**STEVE MCGHEE:** Cool.\n\n**TRISHA WEIR:** And my name is Trisha Weir. I am currently the manager of the Traffic Services Dataplane infrastructure, SRE department. What that boils down to is ProdGFE, DDoS, and a number of other services all around the front end.\n\nI've been at Google for 21 years. I started as an infant. No, straight out of undergrad, much like Cody, I started in hardware ops and worked my way into SRE and really found my calling there. And I've been in various forms of production-adjacent since then.\n\n**CODY SMITH:** Fun fact, by the way. Trisha referred me to Google. I would not have worked at Google if it weren't for her.\n\n**JORDAN GREENBERG:** Wow, this is so fun.\n\n**TRISHA WEIR:** Cody and I have known each other since we were teenagers because we actually worked together at the student-run ISP at UC Berkeley. It turns out that if your idea of a fun student job is running an internet service provider, you might be an SRE.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** That's awesome.\n\n**JORDAN GREENBERG:** That is amazing.\n\n**CODY SMITH:** Yeah, that was a great gig.\n\n**STEVE MCGHEE:** When I was in high school, I had a friend who ran a teenager ISP as well. And I thought it was the coolest thing ever. And I did not get a job, but I totally wanted a job there. I thought it was the coolest. And, yeah, so began my descent into SRE as well.\n\n**JORDAN GREENBERG:** There was a lot of physical work, too.\n\n**STEVE MCGHEE:** Yeah. So today, we're going to talk about rebuilding core systems with reliability in mind, namely this thing called Maglev, which is a piece of front-end infrastructure. And we'll talk about it more in a bit.\n\nBut first, let's hear a little bit more about our guests. And we talked about it for a second just then, but what prepared you to become an SRE for either or both of you? You mentioned the ISP. Do you think that really did it? Was that the only thing that prepared you, or was there more?\n\n**TRISHA WEIR:** I think the first part of the SRE, the ISP work, at least for me when I was really getting into it, was physical work. Cody and I, we showed up for the job and they would hand us these bales of network cable, and we would crawl under the buildings wiring them for Cat 5.\n\nSome of it, I think, is this idea of the importance of getting the internet to the users, really did sink in. Working at that ISP, you cared about the users. You cared when their internet connections were down. They had a really bad day. And I think that prepped me for the focus of reliability as an importance. What about you, Cody?\n\n**CODY SMITH:** Yeah, I mean, I think I was a computer kid. I really did not go outside much. I was just always on the computer playing video games growing up, and was very entranced by the web when it first came out, and was building websites in '95.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**CODY SMITH:** Working at ResComp was a really nice complement to my education in Berkeley. It was, in theory, a part-time job, but often, well over part time, especially in the summer. We were working 60-, 80-hour weeks, and just a whole huge variety of different things.\n\nAnd that's kind of the life of an SRE. You don't necessarily work on the same problem for a long time in SRE. If you're making progress on the problem, if you eventually solve it, you move on to the next biggest problem.\n\n**JORDAN GREENBERG:** I think they call that automating yourself out of a job. And it's every SRE's wish to be able to do that for themselves.\n\n**TRISHA WEIR:** But it's also being a generalist. And my favorite way to talk about generalists is to describe them as stem cells, because they're the type of person you can drop in, and they become whatever is needed, but they have the potential to be any number of different roles.\n\nI think, for me, really, what got me interested in SRE particularly was working at Google and being in hardware ops, because when you're out in a data center and something goes wrong, who's fixing it? Who are you talking to on the phone? It's the SREs. They were calm. They were competent.\n\nEven around campus, I kinda describe them: when they walked, they walked in formation. The wind blew in their hair and it bounced. Their mailing list was literally called, The Cool Kid's Table.\n\nAnd you saw this group of people, and you're like, I want to be one of them someday. They know. They can just figure anything out. They drop into a situation they've never seen, they figure out what's going on. They are the cavalry. That's an appealing mission.\n\n**JORDAN GREENBERG:** What a lovely image to have of the SRE with the flowing hair. I mean, at Google, our SREs are like unicorns. So that's what I'm imagining now.\n\n**TRISHA WEIR:** Walking in formation. Coming in.\n\n**JORDAN GREENBERG:** Yes.\n\n**TRISHA WEIR:** Explosions behind them, just like a movie.\n\n**JORDAN GREENBERG:** Yes, exactly. So since it took a while, you got here, you saw these inspirational people who were at the cool kids table. They were SREs. Alias that now to what it was like when you were in search and traffic. How did these teams interact with each other? Who did what? Did they have as nice hair? All these good questions.\n\n**CODY SMITH:** Yeah, I started when the teams were just starting to differentiate. So it was like production team back in the day, which then underwent a cell division and turned into search SRE and traffic SRE.\n\nI had been working in a group, called cluster ops, and worked together in the Mustang War Room with a bunch of who soon be called SREs, who, after the experience working together in the war room, just picked up my desk and relocated it to their part of the office.\n\n**STEVE MCGHEE:** You've been selected.\n\n**CODY SMITH:** And I had a hard talk with my old manager.\n\nSo in the early stages, there was a lot of work that was moving back and forth and a lot of folks that were straddling the two teams. Some people were specializing pretty quickly and others were going back and forth, like me. And I had a lot of interest in the traffic stack personally, and so I took on projects like Maglev over on that side just, probably, because of my short attention span.\n\n**STEVE MCGHEE:** And to clarify for our listeners, Cody, you were on the web search SRE team, and then, Trisha, you were on traffic team, which was about front-end infrastructure, load-balancing, and things like that. Is that correct?\n\n**TRISHA WEIR:** Right. And we were the first, really, infrastructure SRE team and search was the first product SRE team. And I think GWS followed pretty shortly thereafter.\n\nI think the teams were really close. We sat together, we ate lunch together, we hung out after work together. And a lot of that was really helpful because we saw each other as one team. It wasn't like, oh, that's that team's problem. If it was their problem, it was our problem. It made for a really high-trust situation, which I think we'll get into later. But it was really helpful.\n\nAnd there was a real cohesion. We all took our annual ski trip off-site together. We called it \"the single point of failure day,\" because if there was a big food poisoning incident, it would really hurt Google if everybody got sick at once. I think the interactions were really positive and really, really close ties.\n\n**STEVE MCGHEE:** That's awesome. So getting into the technical meat, the subject at hand, can you tell us what do we mean by front-end infrastructure? Don't you just throw a bunch of nginxes out there and call it a day, or is it a little bit more than that?\n\nAnd then what is it that happened? What was the story like? We didn't want the thing anymore, so we're going to do something else. What was the story of Maglev's beginning?\n\n**TRISHA WEIR:** So when we say front-end infrastructure, the joke is it's load-balancers all the way down. But it really is. Everything that has to happen, if you type in news.google.com, everything that happens, from you hitting Enter on the keyboard to your query getting to a news backend, or an ads backend, or a Gmail backend, that's all really front-end infrastructure and front-end networking. It's massively complex.\n\nAll of the things that allow us to have high reliability come with high risk of outage as well. We need to be able to load balance traffic across the globe. We do DNS-based load balancing. We need to be able to do failover between regions. We need to be able to absorb DDoS attacks. There's a whole lot of things that are all happening behind the scenes.\n\n**STEVE MCGHEE:** And one thing about front-end infrastructure is that it's shared. It's not like everyone has their own stack. It's not like Maps has their own front-end infrastructure and then Gmail has their own.\n\n**TRISHA WEIR:** Absolutely.\n\n**STEVE MCGHEE:** Cool. So then, yeah, what was the problem? What did you guys face?\n\n**CODY SMITH:** Yeah, right at the front of the stack, there's a thing called a network load balancer that's doing IP- TCP-level balancing of packets as they come in. And so it's keeping track of TCP connections and making sure that packets on that same connection always go to the same backend.\n\nFrom the network load balancer standpoint, the backend is the Google front-end GFE. And we were using a device provided by a vendor in the realm of network hardware. The vendor's focus is on network hardware.\n\nAnd they were pretty expensive. I think they were something like $20,000 a box.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**TRISHA WEIR:** And then the support contracts went into the millions for all of the devices, yeah.\n\n**STEVE MCGHEE:** That's where the real money is.\n\n**CODY SMITH:** Yeah, and that 20k would get you a gigabit of throughput. When we started the project, it was bi-directional, so it had to carry packets both inbound and outbound.\n\n**TRISHA WEIR:** Getting on the DSR was my first project.\n\n**CODY SMITH:** Yeah.\n\n**TRISHA WEIR:** I remember going to the team picnic. There was a henna artist doing henna art. And we wrote \"DSR or die\" on my knuckles, like a knuckle tattoo.\n\n**JORDAN GREENBERG:** Wow, I love that.\n\n**CODY SMITH:** Yeah, \"DSR\" means Direct Server Return. And so you can imagine a packet coming in through the network load balancer and going through a GFE. And then when it goes back out to the user, it just goes straight to them and not back through the load balancer. And so this saves you on egress bandwidth and removes a big constraint in your load balancer capacity.\n\n**JORDAN GREENBERG:** So there must be a reason why there are so many comments about these load balancers. Did something happen?\n\n**TRISHA WEIR:** A lot of things happened, and they kept happening. There were some basic things, like we needed features that the vendor would just say, that's not a priority for us. We wanted to do GRE encapsulation to be able to allow us to do more advanced routing of the traffic. And the vendor would just say, we can't implement that on our devices any time soon.\n\nThe bigger issues were that-- well, actually, another growth issue is that they couldn't push very large configurations. And as we grew, our configurations got larger, and larger, and larger.\n\nBut the biggest issue is they were deployed in an active/passive pairing. And this was our redundancy. If one of them had a problem, you failed over to the other one.\n\nBut it wasn't a clean failure. The failover process caused these massive ARP storms. So you already have a failover happening, and then you have an ARP storm on the network because of that. And we brought all of these concerns to the vendor, and they really said, it's just not a priority.\n\n**CODY SMITH:** Yeah, they were very focused on features. Their other customers just really wanted lots and lots of Layer 7 features that we didn't really care about. We were just bulk trying to move traffic in and out. And so we were weird compared to the rest of their users.\n\n**STEVE MCGHEE:** And so the next thing was you just tried it.\n\n**CODY SMITH:** Yeah, Eisenbud and I. I should explain, actually, a little bit of context.\n\nWe had this mission-control program where engineers would come over from pure dev teams to join SRE for a rotation of six months. And then if that had worked out well, they might stay.\n\nSo Eisenbud was one of the few folks in the team that had that product-development experience from before coming over. And she had reasonable confidence that we could do this, and the intuition about how to do things that I did not have because I had come straight from undergrad into SRE, basically.\n\nSo with air cover from our manager, Jinnah, who was also consternated about challenges with this vendor, we started breaking down the problem into components and splitting them up. We made a list of-- the load balancer is going to have to have these seven subcomponents or something. And then she and I just took turns grabbing the next-highest priority component from the list.\n\n**STEVE MCGHEE:** Yeah.\n\n**CODY SMITH:** And that went, actually, much more quickly than we would have expected. I think of a network load balancer as a scarily complex thing. But I think it took three to six months between starting coding and getting the first live traffic onto the software stack.\n\n**JORDAN GREENBERG:** That seems pretty fast.\n\n**STEVE MCGHEE:** That seems fast.\n\n**TRISHA WEIR:** It was ludicrously fast. There was, maybe, two months between-- I think you had a prototype within two or three months, if I remember right.\n\n**JORDAN GREENBERG:** Wow.\n\n**TRISHA WEIR:** We were running a little bit skunkworks. So that was important because you needed to-- I think important context for this is, we had just had another project on the team that had gone for a very long time and never successfully launched. It was an internal tool. And due to a number of scope-creep issues, it never launched and was scrapped after a year.\n\nAnd so that was a challenge to credibility of software development and SRE. And so rather than starting this one with bold announcements, that we were going to do another big project, that we were going to try this again, it was underground skunkworks.\n\nAnd I think that really owes a lot to two things-- one, to our manager, Jinnah Hussein. He saw these people and said, I believe that these people can get this thing done. And if they don't, it's on me.\n\nAnd then, to the engineers, trusting the manager. Because if you're an engineer and you work on a skunkworks project or you work on something that's pretty ambitious, and it goes wrong, that's not great for your perf. It's not good for your promo route. It's a risk in your career. And so they needed to be able to trust that the manager would have their back if something did happen, and would make it OK for them. So I think that was a big key.\n\n**STEVE MCGHEE:** I work with a lot of customers and advise them on what SRE even is, and how to, and stuff like this. The idea of just building a thing in skunkworks, I think, just doesn't come up in many enterprise environments. And I think the high trust you're talking about, and just the skunkworks, and the ability to come up with something reasonably quickly is pretty awesome.\n\nSo I have a question here, which maybe is not relevant, but it was basically like, how was SRE involved in the design and implementation of it? But I think what you're saying is, I mean, you and Eisenbud just did it. You just did the design and implementation straight up. There wasn't a round of reviews, and an architect sign off, and a cost-analysis spreadsheet or anything like that. Is that accurate?\n\n**CODY SMITH:** No, we did write a design doc. And it had diagrams of how we were going to handle these esoteric things like packet fragmentation. And we had some novel stuff in the design, like consistent hashing function for backend selection so that even under SYN flood attack, we could do reasonably accurate matching of incoming connections to backends.\n\nAnd I remember Urs actually commented on the design doc. He replied to the email thread and said, I see you are not planning to respond to ICMP requests over a certain rate limit. But people ping Google a lot, and they really want to get those ICMP responses back. So please just answer as many of them as you can. It's important. Yeah.\n\n**STEVE MCGHEE:** Yeah, everyone is always pinging Google just to make sure the thing works.\n\n**CODY SMITH:** Yep. I do it too, I mean.\n\n**STEVE MCGHEE:** That's awesome.\n\n**TRISHA WEIR:** There were some big shifts as it was going. You were talking about SRE involvement. Some of it was, I mean, it was input from the broader SRE team on how this was going to go.\n\nAt the time, we had a really strong distinction between control racks and production racks. Control racks in a data center, they're fixed in place. They usually have rack-mounted machines. Things don't change in them very frequently. They're often specialized hardware devices and--\n\n**STEVE MCGHEE:** They're very special.\n\n**TRISHA WEIR:** Yeah, our previous third-party hardware network load balancers were all racked into control racks.\n\nAnd when we first started looking into this, we knew we wanted it to run on commodity hardware, but we were thinking of having that regular commodity hardware machine in the control rack. And there was a long tangent into, how would this work?\n\nBut we had a long tangent into how this is going to work. And I will say, one of my own concern is coming from hardware ops. I'd been in hardware ops. I'd repaired machines in the data center.\n\nAnything in the control rack, that didn't come in through the system where you just got a queue of machines to fix, that was a special case. They didn't always have the parts. It was a one-off.\n\nWe started exploring what it would take to get these to just be production machines in prod, in the cluster. So if you've got a Maglev running on a production machine and it fails, turn it up on the one next door, turn it up on the next free production machine. It's not as much of an issue of, file a ticket, get someone to repair the hard drive on that machine, and reinstall it.\n\nAnd so I would say that was wisdom of broader SRE. And I do think that was broader SRE input into Maglev in particular.\n\n**STEVE MCGHEE:** In terms of timeline, this is also post-Borg, I believe. So it wasn't like, find a space in a spreadsheet for a machine. It was like type button, hit enter, get machine. It was totally automated in that.\n\n**CODY SMITH:** Yeah, I remember stealing a fair number of machines from Borg for Maglev provisioning when we were doing the cut over.\n\nSo if you don't mind me switching gears just a little bit, can you tell me about turnup-- not the root vegetable. What that is and how it rolled out?\n\n**CODY SMITH:** Yeah, the thing we were the most nervous about in the early days, we tried doing this thing. We took a piece of open-source software, I think called Quagga which was a BGP client, and wrapped it in our own control layer so it would interface with protocol buffers, and Stubby, and so forth.\n\nSo it would connect to the cluster router and establish a BGP session and say, for this VIP, I am the next hop. And the routers were then configured to allow that. And so we could start migrating VIP by VIP traffic over from the existing vendor device onto these Maglev servers.\n\nAnd we knew from doing load testing of them that the throughput was actually fairly limited. The Linux kernel was not great at that time at distributing heavy network workload over multiple cores. And so these machines were pretty beefy, but they were trying to do all the work on one core. And so we had a limit in the hundreds of thousands of packets per second per machine, like 200,000 or 300,000, whereas line rate for 64-byte packets would be 1.5 million.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** So just to clarify, when you're saying you went from VIP to VIP, so this is just a way to partition traffic. We don't have to get into all the details of what it is. So instead of taking all of google.com all at once, we take a logical subset of it that represents map tiles, or something like that, or SSL traffic for email or something like that, and just say like, just this slice, we're going to mess with today, and see if it works. Is that about right?\n\n**TRISHA WEIR:** Google Toolbar, if anybody remembers that, toolbar queries were often one of our first things because it was an older product. It didn't get used as much. It was lower priority. And so we did have some VIPs that were designed for traffic that was more tolerant to risk, I guess is how I would put it.\n\n**STEVE MCGHEE:** That's important. Yeah, being able to have something like that established up front helps a lot when you want to do an experiment like this. Because if your plan is like, we're just going to turn it off and turn it back on again and hope, not a great plan.\n\nOK, so you rolled it VIP by VIP. What next?\n\n**CODY SMITH:** We started with risky VIPs and got good results from that. Everything seemed like it was working fine. And we were doing some amount of redistribution because these machines weren't as fast as the vendor device. And so we couldn't just do a one for one cutover.\n\nBut we just gradually worked our way up to the more crown jewels VIPs that web search and other super important products used in different clusters on different types of hardware, because each hardware had, potentially, different weird constraints, and special kernel configurations, and things like this. And just have all the monitoring active. During this cutover, the monitoring just hits the VIP. It doesn't actually know what's [implementing the VIP](https://sre.google/sre-book/load-balancing-frontend/). And so those probes to the front-end infrastructure would tell us if something had really gone off the rails.\n\n**STEVE MCGHEE:** That's awesome.\n\n**TRISHA WEIR:** We had a lot of air miles to get. We would have schedules like, OK, we'll do this much and then we'll get air miles on it. We'll bake it for this many weeks. Then we'll do this much more.\n\nOne of the things we always try to do is to get every type of diversity of traffic, of type of machine. It's less true now, but back then, certain regions of the world were much heavier on video traffic versus ads or search traffic. And so the traffic dynamics were different in different regions. You would have places with high packets per second, places with high queries per second. And we really tried to get a broad distribution of having air-miles clusters or test clusters all across the world.\n\n**STEVE MCGHEE:** Yeah, awesome. Heterogeneity or diversity in your workloads is really important when you're trying to satisfy something like this.\n\n**JORDAN GREENBERG:** Yeah. And so I'm imagining that, as you created these environments to be able to try these things in, did you find any good bugs while you were testing this stuff out?\n\n**CODY SMITH:** Yeah, there was one bug that I still think about, probably, far too often. It was in my code.\n\n**JORDAN GREENBERG:** It haunts you?\n\n**CODY SMITH:** Yeah. I wrote the kernel interface. So we used the same interface that tcpdump uses to get packets from the kernel, and the packet parser code that goes together with it. And I was paranoid that there would be a bug in here somewhere.\n\nAnd so I wrote a fuzz tester that clamped on to the packet parser and literally ran a giant MapReduce with this code to process a trillion packets. Huge job. And it said no bugs. And I was ecstatic.\n\nBut then the first time we got a packet that was larger than the snap length on the buffer that we had given to the kernel, the snap length and the packet length were different and we were reading the wrong one in our code.\n\nAnd that's OK. For most of the ring buffer, you read into the subsequent packet. But if you're right at the end of the ring buffer, you read out into unallocated memory and then use segmentation fault.\n\nAnd so we had done a turn up where some local loopback traffic was 64-kilobyte MTU, and it was getting truncated in the buffer and crashed. And we figured out the problem right away. It was a very easy fix, but very embarrassing because it was like five lines of code before the fuzz tester plugged in.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** So I get the sense that this wasn't Rust, or Java, or some fancy memory-managing code language of modern times.\n\n**CODY SMITH:** Yeah, it was C++.\n\n**STEVE MCGHEE:** Nice. Respect.\n\n**CODY SMITH:** Yeah.\n\n**TRISHA WEIR:** I think the other issue we started to run into as we were doing rollout was, we started saturating the rack-top switches. We'd considered the availability of bandwidth there as a concern. But it wasn't something that was built in as a concern to any of the systems that did auto replacement.\n\nAnd when we began being placed on racks that had other neighbors that were also high-bandwidth users, we started having saturation problems. And so I remember having to work with-- I think, Isidore was the tool at the time. Cody might remember.\n\n**STEVE MCGHEE:** Yeah.\n\n**TRISHA WEIR:** Isidore-team to write and implement a new constraint so that when it was allocating machines, it would check for that kind of diversity as well.\n\n**STEVE MCGHEE:** So would you say that maybe it wasn't perfectly plannable, and instead, your teams had to adapt to emergent behavior that was resulting in this change that you made on a very complex system?\n\n**TRISHA WEIR:** I think that that's fair. I do think that it's the sort of thing we think about now. It was a brave new world. And we had, given the sort of ambient knowledge of the industry at the time, we planned it decently well, but it always could have gone better.\n\n**STEVE MCGHEE:** I mean, we're here today. I'm pretty sure Maglev is handling several hundreds of packets per nanosecond. I don't know. Some sort of number. OK, so--\n\n**JORDAN GREENBERG:** There's math involved.\n\n**STEVE MCGHEE:** --with regards to SREs who aren't at Google, that's what most of our listeners are on this podcast, is this story too ambitious? Do you need to be the size of Google to do something like this? Not necessarily this exact task, but this process of replacing a thing with software, and iterating, and building it out, and seeing if it works. How would you advise folks out in the world to take this story? What should they learn from it?\n\n**TRISHA WEIR:** I think there's always a balance to be struck with knowing, is this something I should build myself or can I make my use case fit existing tooling? Because you can move faster if you stand on the shoulders of giants. And so I think one thing to develop would be that sense of intuition about, is this something that no existing tooling is going to do, and do I need all these features?\n\nOne thing Cody and I were talking about before we were on air today was the idea that there was a list of features that our previous hardware device could do. And Cody and Eisenbud, they just dropped a lot of them. They're like, we don't actually need that special feature. We don't need that special feature. What we do need is these particular set of features that nothing else on the market is giving.\n\nAnd so before starting a project like this, to decide if it's a good use of your time, I would say build that intuition and that awareness. Everybody wants to build something new, and no one wants to do maintenance is a Kurt Vonnegut quote that I really like. People often want to build new things. Building new isn't always the answer, but having the judgment about when it is the right answer versus not is something that will really help you.\n\n**STEVE MCGHEE:** Nice.\n\n**CODY SMITH:** Yeah, I would say, I think, the time pressure was really useful in the context of the thing we needed to build. It didn't actually prove to be that complex, and a big part of that is the brutality with which we kept things simple. The whole thing, not counting the BGP client, the code base was, I think, 2,000 lines when we launched.\n\n**STEVE MCGHEE:** Wow.\n\n**CODY SMITH:** So it's just not that much code. And the time pressure of like, this is a skunkworks thing, we have to demonstrate a result before we get canceled, was really useful because it made a lot of the decisions about, do we need to support this feature on launch day or not very simple. If the answer can, by any means, be no, it should be no.\n\n**JORDAN GREENBERG:** So what advice would you give today's kids who are working at the ISPs, figuring out who they are, figuring out who they're going to be working with for a long time for the next 20 years at some really huge company that may or may not even exist yet? What advice would you say to them about how they can improve the world's internet and make it bigger, better, faster, or stronger?\n\n**CODY SMITH:** I think early in your career, trying to find roles that have a big container around them-- there's a lot of different places you can go inside the role, and you're not going to be doing just one thing over and over again, but lots of different things that all have to work together-- is really great for making yourself into a stem cell that could go out and get a tech job in a bunch of different ladders at a big company or become an entrepreneur and go do something you've never done before at a startup. It sets you up. It gives you that breadth of skills so that you have more choices later in your career.\n\n**STEVE MCGHEE:** Nice.\n\n**TRISHA WEIR:** So I am a big believer in the idea that SRE has an above-average need for psychological safety. We are in the middle of an outage. We need to feel safe, suggesting a very wild solution, and knowing that your coworkers will not say, that's ridiculous. It would never work that way. I can't believe you didn't know that. Because sometimes, the wild idea is the thing that fixes it.\n\nThat's true of SRE, but it's also true of anybody who's innovating. You need to be able to innovate, to have a wild idea, to take a chance and know that if you fall, your boss will catch you, to know and like the people around you.\n\nSo much of, at least, my education was focused on, you need to write code, and you're going to write it all by yourself, and you need to be heads down and get really good at this. But everything I have seen happen huge at Google has resulted from massive collaboration. And a lot of that comes down to being able to work with other people, being able to integrate their ideas, to respect them even when you disagree.\n\nSo I would advise, find people you enjoy working with, because if you're not enjoying your time, if you're not feeling safe, if you're not able to be your whole self around them, you're not going to bring your best ideas, you're not going to be able to get other people to work on your ideas, and you're not going to go as far. And it's just not as much fun.\n\nYou don't have to be best buddies with everybody. You don't have to hang out on the weekend. There are plenty of people on that team who I adore, and we see each other once a year now. We're not besties, but there is someone I think of as someone I trust, and like, and respect. And I think that that aspect is really important.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**STEVE MCGHEE:** I have to say, it wasn't until I left SRE and Google that I learned the phrase, \"stay in your lane.\" And I thought it was pretty prescient that that wasn't a thing inside of Google, or inside of SRE, at least. No one was told to stay in your lane. Because it's like, these lanes, there's so much stuff. Go ahead. And it just works better that way. Totally.\n\n**JORDAN GREENBERG:** Yeah, I would agree.\n\nAll right, well, thank you to both of our guests, Cody and Trisha. Cody, where can we find you on the internet?\n\n**CODY SMITH:** Yeah, the company I co-founded and work at now is called Camus Energy. We are camus.energy. And if you want to email me, I'm just Cody@camus.energy.\n\n**JORDAN GREENBERG:** Perfect. How about you, Trisha?\n\n**TRISHA WEIR:** I am at Google, so you can email me at Trisha@google.com. T-R-I-S-H-A.\n\n**JORDAN GREENBERG:** Perfect. Well, thank you, everybody, for making this episode of The Podcast possible, and have an awesome day.\n\n**STEVE MCGHEE:** Thank you.\n\n**CODY SMITH:** Cool. Thank you so much.\n\n**TRISHA WEIR:** Bye.\n\n**STEVE MCGHEE:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is “Telebot” by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 34096, "slov": 6202, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:16", "sha256": "c6d0accc47cf7213cf7250e7f7ea65939fe57ad59db5f474917c09ed7c2fa8b2", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10/", "titulek": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "h1": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "popis": "In this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Manager, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10"}, "headline": "Maglev: load balancing at Google with Cody Smith and Trisha Weir", "description": "In this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Manager, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.", "image": "https://kstatic.googleusercontent.com/files/3ab63ca070d6305b6f35d9e04f7c1c006424a491e466c360be2792c4d9d15a0eb6c449ef011e6904857787089bdf494e4152ae4e8db8641b53e00f4446036be6", "author": [{"@type": "Person", "name": "Cody Smith (CTO and Co-founder, Camus Energy)"}, {"@type": "Person", "name": "Trisha Weir (SRE Department Lead, Google)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Maglev: load balancing at Google with Cody Smith and Trisha Weir"}], "markdown": "# Maglev: load balancing at Google with Cody Smith and Trisha Weir\n\nIn this episode, Cody Smith (CTO and Co-founder, Camus Energy) & Trisha Weir (SRE Department Lead, Google) join hosts Steve McGhee and Jordan Greenberg, to discuss their experience developing Maglev, a highly available and distributed network load balancer (NLB) that is an integral part of the cloud architecture that manages traffic that comes in to a datacenter. Starting with Maglev’s humble beginnings as a skunkworks effort, Cody and Trisha recount the challenges they faced, and emphasize the importance of psychological safety, collaboration, and adaptability in SRE innovation.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**̦\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\nHey, everyone, welcome back to another episode of The Prodcast, Google's podcast about SRE and production software. I'm your host, Steve McGhee.\n\n**JORDAN GREENBERG:** And I'm Jordan Greenberg.\n\n**STEVE MCGHEE:** This season, we're focusing on software engineering in SRE. And today, we have two guests to tell us a little bit about the development of a piece of software inside of Google. It's a system called Maglev. But we'll get to that.\n\nOur guests today are Cody Smith and Trisha Weir. Can you both introduce yourselves?\n\n**CODY SMITH:** Yeah, I am currently the CTO and co-founder of a startup called Camus Energy. But before that, I was at Google for more than 14 years from 2004.\n\n**STEVE MCGHEE:** Cool.\n\n**TRISHA WEIR:** And my name is Trisha Weir. I am currently the manager of the Traffic Services Dataplane infrastructure, SRE department. What that boils down to is ProdGFE, DDoS, and a number of other services all around the front end.\n\nI've been at Google for 21 years. I started as an infant. No, straight out of undergrad, much like Cody, I started in hardware ops and worked my way into SRE and really found my calling there. And I've been in various forms of production-adjacent since then.\n\n**CODY SMITH:** Fun fact, by the way. Trisha referred me to Google. I would not have worked at Google if it weren't for her.\n\n**JORDAN GREENBERG:** Wow, this is so fun.\n\n**TRISHA WEIR:** Cody and I have known each other since we were teenagers because we actually worked together at the student-run ISP at UC Berkeley. It turns out that if your idea of a fun student job is running an internet service provider, you might be an SRE.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** That's awesome.\n\n**JORDAN GREENBERG:** That is amazing.\n\n**CODY SMITH:** Yeah, that was a great gig.\n\n**STEVE MCGHEE:** When I was in high school, I had a friend who ran a teenager ISP as well. And I thought it was the coolest thing ever. And I did not get a job, but I totally wanted a job there. I thought it was the coolest. And, yeah, so began my descent into SRE as well.\n\n**JORDAN GREENBERG:** There was a lot of physical work, too.\n\n**STEVE MCGHEE:** Yeah. So today, we're going to talk about rebuilding core systems with reliability in mind, namely this thing called Maglev, which is a piece of front-end infrastructure. And we'll talk about it more in a bit.\n\nBut first, let's hear a little bit more about our guests. And we talked about it for a second just then, but what prepared you to become an SRE for either or both of you? You mentioned the ISP. Do you think that really did it? Was that the only thing that prepared you, or was there more?\n\n**TRISHA WEIR:** I think the first part of the SRE, the ISP work, at least for me when I was really getting into it, was physical work. Cody and I, we showed up for the job and they would hand us these bales of network cable, and we would crawl under the buildings wiring them for Cat 5.\n\nSome of it, I think, is this idea of the importance of getting the internet to the users, really did sink in. Working at that ISP, you cared about the users. You cared when their internet connections were down. They had a really bad day. And I think that prepped me for the focus of reliability as an importance. What about you, Cody?\n\n**CODY SMITH:** Yeah, I mean, I think I was a computer kid. I really did not go outside much. I was just always on the computer playing video games growing up, and was very entranced by the web when it first came out, and was building websites in '95.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**CODY SMITH:** Working at ResComp was a really nice complement to my education in Berkeley. It was, in theory, a part-time job, but often, well over part time, especially in the summer. We were working 60-, 80-hour weeks, and just a whole huge variety of different things.\n\nAnd that's kind of the life of an SRE. You don't necessarily work on the same problem for a long time in SRE. If you're making progress on the problem, if you eventually solve it, you move on to the next biggest problem.\n\n**JORDAN GREENBERG:** I think they call that automating yourself out of a job. And it's every SRE's wish to be able to do that for themselves.\n\n**TRISHA WEIR:** But it's also being a generalist. And my favorite way to talk about generalists is to describe them as stem cells, because they're the type of person you can drop in, and they become whatever is needed, but they have the potential to be any number of different roles.\n\nI think, for me, really, what got me interested in SRE particularly was working at Google and being in hardware ops, because when you're out in a data center and something goes wrong, who's fixing it? Who are you talking to on the phone? It's the SREs. They were calm. They were competent.\n\nEven around campus, I kinda describe them: when they walked, they walked in formation. The wind blew in their hair and it bounced. Their mailing list was literally called, The Cool Kid's Table.\n\nAnd you saw this group of people, and you're like, I want to be one of them someday. They know. They can just figure anything out. They drop into a situation they've never seen, they figure out what's going on. They are the cavalry. That's an appealing mission.\n\n**JORDAN GREENBERG:** What a lovely image to have of the SRE with the flowing hair. I mean, at Google, our SREs are like unicorns. So that's what I'm imagining now.\n\n**TRISHA WEIR:** Walking in formation. Coming in.\n\n**JORDAN GREENBERG:** Yes.\n\n**TRISHA WEIR:** Explosions behind them, just like a movie.\n\n**JORDAN GREENBERG:** Yes, exactly. So since it took a while, you got here, you saw these inspirational people who were at the cool kids table. They were SREs. Alias that now to what it was like when you were in search and traffic. How did these teams interact with each other? Who did what? Did they have as nice hair? All these good questions.\n\n**CODY SMITH:** Yeah, I started when the teams were just starting to differentiate. So it was like production team back in the day, which then underwent a cell division and turned into search SRE and traffic SRE.\n\nI had been working in a group, called cluster ops, and worked together in the Mustang War Room with a bunch of who soon be called SREs, who, after the experience working together in the war room, just picked up my desk and relocated it to their part of the office.\n\n**STEVE MCGHEE:** You've been selected.\n\n**CODY SMITH:** And I had a hard talk with my old manager.\n\nSo in the early stages, there was a lot of work that was moving back and forth and a lot of folks that were straddling the two teams. Some people were specializing pretty quickly and others were going back and forth, like me. And I had a lot of interest in the traffic stack personally, and so I took on projects like Maglev over on that side just, probably, because of my short attention span.\n\n**STEVE MCGHEE:** And to clarify for our listeners, Cody, you were on the web search SRE team, and then, Trisha, you were on traffic team, which was about front-end infrastructure, load-balancing, and things like that. Is that correct?\n\n**TRISHA WEIR:** Right. And we were the first, really, infrastructure SRE team and search was the first product SRE team. And I think GWS followed pretty shortly thereafter.\n\nI think the teams were really close. We sat together, we ate lunch together, we hung out after work together. And a lot of that was really helpful because we saw each other as one team. It wasn't like, oh, that's that team's problem. If it was their problem, it was our problem. It made for a really high-trust situation, which I think we'll get into later. But it was really helpful.\n\nAnd there was a real cohesion. We all took our annual ski trip off-site together. We called it \"the single point of failure day,\" because if there was a big food poisoning incident, it would really hurt Google if everybody got sick at once. I think the interactions were really positive and really, really close ties.\n\n**STEVE MCGHEE:** That's awesome. So getting into the technical meat, the subject at hand, can you tell us what do we mean by front-end infrastructure? Don't you just throw a bunch of nginxes out there and call it a day, or is it a little bit more than that?\n\nAnd then what is it that happened? What was the story like? We didn't want the thing anymore, so we're going to do something else. What was the story of Maglev's beginning?\n\n**TRISHA WEIR:** So when we say front-end infrastructure, the joke is it's load-balancers all the way down. But it really is. Everything that has to happen, if you type in news.google.com, everything that happens, from you hitting Enter on the keyboard to your query getting to a news backend, or an ads backend, or a Gmail backend, that's all really front-end infrastructure and front-end networking. It's massively complex.\n\nAll of the things that allow us to have high reliability come with high risk of outage as well. We need to be able to load balance traffic across the globe. We do DNS-based load balancing. We need to be able to do failover between regions. We need to be able to absorb DDoS attacks. There's a whole lot of things that are all happening behind the scenes.\n\n**STEVE MCGHEE:** And one thing about front-end infrastructure is that it's shared. It's not like everyone has their own stack. It's not like Maps has their own front-end infrastructure and then Gmail has their own.\n\n**TRISHA WEIR:** Absolutely.\n\n**STEVE MCGHEE:** Cool. So then, yeah, what was the problem? What did you guys face?\n\n**CODY SMITH:** Yeah, right at the front of the stack, there's a thing called a network load balancer that's doing IP- TCP-level balancing of packets as they come in. And so it's keeping track of TCP connections and making sure that packets on that same connection always go to the same backend.\n\nFrom the network load balancer standpoint, the backend is the Google front-end GFE. And we were using a device provided by a vendor in the realm of network hardware. The vendor's focus is on network hardware.\n\nAnd they were pretty expensive. I think they were something like $20,000 a box.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**TRISHA WEIR:** And then the support contracts went into the millions for all of the devices, yeah.\n\n**STEVE MCGHEE:** That's where the real money is.\n\n**CODY SMITH:** Yeah, and that 20k would get you a gigabit of throughput. When we started the project, it was bi-directional, so it had to carry packets both inbound and outbound.\n\n**TRISHA WEIR:** Getting on the DSR was my first project.\n\n**CODY SMITH:** Yeah.\n\n**TRISHA WEIR:** I remember going to the team picnic. There was a henna artist doing henna art. And we wrote \"DSR or die\" on my knuckles, like a knuckle tattoo.\n\n**JORDAN GREENBERG:** Wow, I love that.\n\n**CODY SMITH:** Yeah, \"DSR\" means Direct Server Return. And so you can imagine a packet coming in through the network load balancer and going through a GFE. And then when it goes back out to the user, it just goes straight to them and not back through the load balancer. And so this saves you on egress bandwidth and removes a big constraint in your load balancer capacity.\n\n**JORDAN GREENBERG:** So there must be a reason why there are so many comments about these load balancers. Did something happen?\n\n**TRISHA WEIR:** A lot of things happened, and they kept happening. There were some basic things, like we needed features that the vendor would just say, that's not a priority for us. We wanted to do GRE encapsulation to be able to allow us to do more advanced routing of the traffic. And the vendor would just say, we can't implement that on our devices any time soon.\n\nThe bigger issues were that-- well, actually, another growth issue is that they couldn't push very large configurations. And as we grew, our configurations got larger, and larger, and larger.\n\nBut the biggest issue is they were deployed in an active/passive pairing. And this was our redundancy. If one of them had a problem, you failed over to the other one.\n\nBut it wasn't a clean failure. The failover process caused these massive ARP storms. So you already have a failover happening, and then you have an ARP storm on the network because of that. And we brought all of these concerns to the vendor, and they really said, it's just not a priority.\n\n**CODY SMITH:** Yeah, they were very focused on features. Their other customers just really wanted lots and lots of Layer 7 features that we didn't really care about. We were just bulk trying to move traffic in and out. And so we were weird compared to the rest of their users.\n\n**STEVE MCGHEE:** And so the next thing was you just tried it.\n\n**CODY SMITH:** Yeah, Eisenbud and I. I should explain, actually, a little bit of context.\n\nWe had this mission-control program where engineers would come over from pure dev teams to join SRE for a rotation of six months. And then if that had worked out well, they might stay.\n\nSo Eisenbud was one of the few folks in the team that had that product-development experience from before coming over. And she had reasonable confidence that we could do this, and the intuition about how to do things that I did not have because I had come straight from undergrad into SRE, basically.\n\nSo with air cover from our manager, Jinnah, who was also consternated about challenges with this vendor, we started breaking down the problem into components and splitting them up. We made a list of-- the load balancer is going to have to have these seven subcomponents or something. And then she and I just took turns grabbing the next-highest priority component from the list.\n\n**STEVE MCGHEE:** Yeah.\n\n**CODY SMITH:** And that went, actually, much more quickly than we would have expected. I think of a network load balancer as a scarily complex thing. But I think it took three to six months between starting coding and getting the first live traffic onto the software stack.\n\n**JORDAN GREENBERG:** That seems pretty fast.\n\n**STEVE MCGHEE:** That seems fast.\n\n**TRISHA WEIR:** It was ludicrously fast. There was, maybe, two months between-- I think you had a prototype within two or three months, if I remember right.\n\n**JORDAN GREENBERG:** Wow.\n\n**TRISHA WEIR:** We were running a little bit skunkworks. So that was important because you needed to-- I think important context for this is, we had just had another project on the team that had gone for a very long time and never successfully launched. It was an internal tool. And due to a number of scope-creep issues, it never launched and was scrapped after a year.\n\nAnd so that was a challenge to credibility of software development and SRE. And so rather than starting this one with bold announcements, that we were going to do another big project, that we were going to try this again, it was underground skunkworks.\n\nAnd I think that really owes a lot to two things-- one, to our manager, Jinnah Hussein. He saw these people and said, I believe that these people can get this thing done. And if they don't, it's on me.\n\nAnd then, to the engineers, trusting the manager. Because if you're an engineer and you work on a skunkworks project or you work on something that's pretty ambitious, and it goes wrong, that's not great for your perf. It's not good for your promo route. It's a risk in your career. And so they needed to be able to trust that the manager would have their back if something did happen, and would make it OK for them. So I think that was a big key.\n\n**STEVE MCGHEE:** I work with a lot of customers and advise them on what SRE even is, and how to, and stuff like this. The idea of just building a thing in skunkworks, I think, just doesn't come up in many enterprise environments. And I think the high trust you're talking about, and just the skunkworks, and the ability to come up with something reasonably quickly is pretty awesome.\n\nSo I have a question here, which maybe is not relevant, but it was basically like, how was SRE involved in the design and implementation of it? But I think what you're saying is, I mean, you and Eisenbud just did it. You just did the design and implementation straight up. There wasn't a round of reviews, and an architect sign off, and a cost-analysis spreadsheet or anything like that. Is that accurate?\n\n**CODY SMITH:** No, we did write a design doc. And it had diagrams of how we were going to handle these esoteric things like packet fragmentation. And we had some novel stuff in the design, like consistent hashing function for backend selection so that even under SYN flood attack, we could do reasonably accurate matching of incoming connections to backends.\n\nAnd I remember Urs actually commented on the design doc. He replied to the email thread and said, I see you are not planning to respond to ICMP requests over a certain rate limit. But people ping Google a lot, and they really want to get those ICMP responses back. So please just answer as many of them as you can. It's important. Yeah.\n\n**STEVE MCGHEE:** Yeah, everyone is always pinging Google just to make sure the thing works.\n\n**CODY SMITH:** Yep. I do it too, I mean.\n\n**STEVE MCGHEE:** That's awesome.\n\n**TRISHA WEIR:** There were some big shifts as it was going. You were talking about SRE involvement. Some of it was, I mean, it was input from the broader SRE team on how this was going to go.\n\nAt the time, we had a really strong distinction between control racks and production racks. Control racks in a data center, they're fixed in place. They usually have rack-mounted machines. Things don't change in them very frequently. They're often specialized hardware devices and--\n\n**STEVE MCGHEE:** They're very special.\n\n**TRISHA WEIR:** Yeah, our previous third-party hardware network load balancers were all racked into control racks.\n\nAnd when we first started looking into this, we knew we wanted it to run on commodity hardware, but we were thinking of having that regular commodity hardware machine in the control rack. And there was a long tangent into, how would this work?\n\nBut we had a long tangent into how this is going to work. And I will say, one of my own concern is coming from hardware ops. I'd been in hardware ops. I'd repaired machines in the data center.\n\nAnything in the control rack, that didn't come in through the system where you just got a queue of machines to fix, that was a special case. They didn't always have the parts. It was a one-off.\n\nWe started exploring what it would take to get these to just be production machines in prod, in the cluster. So if you've got a Maglev running on a production machine and it fails, turn it up on the one next door, turn it up on the next free production machine. It's not as much of an issue of, file a ticket, get someone to repair the hard drive on that machine, and reinstall it.\n\nAnd so I would say that was wisdom of broader SRE. And I do think that was broader SRE input into Maglev in particular.\n\n**STEVE MCGHEE:** In terms of timeline, this is also post-Borg, I believe. So it wasn't like, find a space in a spreadsheet for a machine. It was like type button, hit enter, get machine. It was totally automated in that.\n\n**CODY SMITH:** Yeah, I remember stealing a fair number of machines from Borg for Maglev provisioning when we were doing the cut over.\n\nSo if you don't mind me switching gears just a little bit, can you tell me about turnup-- not the root vegetable. What that is and how it rolled out?\n\n**CODY SMITH:** Yeah, the thing we were the most nervous about in the early days, we tried doing this thing. We took a piece of open-source software, I think called Quagga which was a BGP client, and wrapped it in our own control layer so it would interface with protocol buffers, and Stubby, and so forth.\n\nSo it would connect to the cluster router and establish a BGP session and say, for this VIP, I am the next hop. And the routers were then configured to allow that. And so we could start migrating VIP by VIP traffic over from the existing vendor device onto these Maglev servers.\n\nAnd we knew from doing load testing of them that the throughput was actually fairly limited. The Linux kernel was not great at that time at distributing heavy network workload over multiple cores. And so these machines were pretty beefy, but they were trying to do all the work on one core. And so we had a limit in the hundreds of thousands of packets per second per machine, like 200,000 or 300,000, whereas line rate for 64-byte packets would be 1.5 million.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** So just to clarify, when you're saying you went from VIP to VIP, so this is just a way to partition traffic. We don't have to get into all the details of what it is. So instead of taking all of google.com all at once, we take a logical subset of it that represents map tiles, or something like that, or SSL traffic for email or something like that, and just say like, just this slice, we're going to mess with today, and see if it works. Is that about right?\n\n**TRISHA WEIR:** Google Toolbar, if anybody remembers that, toolbar queries were often one of our first things because it was an older product. It didn't get used as much. It was lower priority. And so we did have some VIPs that were designed for traffic that was more tolerant to risk, I guess is how I would put it.\n\n**STEVE MCGHEE:** That's important. Yeah, being able to have something like that established up front helps a lot when you want to do an experiment like this. Because if your plan is like, we're just going to turn it off and turn it back on again and hope, not a great plan.\n\nOK, so you rolled it VIP by VIP. What next?\n\n**CODY SMITH:** We started with risky VIPs and got good results from that. Everything seemed like it was working fine. And we were doing some amount of redistribution because these machines weren't as fast as the vendor device. And so we couldn't just do a one for one cutover.\n\nBut we just gradually worked our way up to the more crown jewels VIPs that web search and other super important products used in different clusters on different types of hardware, because each hardware had, potentially, different weird constraints, and special kernel configurations, and things like this. And just have all the monitoring active. During this cutover, the monitoring just hits the VIP. It doesn't actually know what's [implementing the VIP](https://sre.google/sre-book/load-balancing-frontend/). And so those probes to the front-end infrastructure would tell us if something had really gone off the rails.\n\n**STEVE MCGHEE:** That's awesome.\n\n**TRISHA WEIR:** We had a lot of air miles to get. We would have schedules like, OK, we'll do this much and then we'll get air miles on it. We'll bake it for this many weeks. Then we'll do this much more.\n\nOne of the things we always try to do is to get every type of diversity of traffic, of type of machine. It's less true now, but back then, certain regions of the world were much heavier on video traffic versus ads or search traffic. And so the traffic dynamics were different in different regions. You would have places with high packets per second, places with high queries per second. And we really tried to get a broad distribution of having air-miles clusters or test clusters all across the world.\n\n**STEVE MCGHEE:** Yeah, awesome. Heterogeneity or diversity in your workloads is really important when you're trying to satisfy something like this.\n\n**JORDAN GREENBERG:** Yeah. And so I'm imagining that, as you created these environments to be able to try these things in, did you find any good bugs while you were testing this stuff out?\n\n**CODY SMITH:** Yeah, there was one bug that I still think about, probably, far too often. It was in my code.\n\n**JORDAN GREENBERG:** It haunts you?\n\n**CODY SMITH:** Yeah. I wrote the kernel interface. So we used the same interface that tcpdump uses to get packets from the kernel, and the packet parser code that goes together with it. And I was paranoid that there would be a bug in here somewhere.\n\nAnd so I wrote a fuzz tester that clamped on to the packet parser and literally ran a giant MapReduce with this code to process a trillion packets. Huge job. And it said no bugs. And I was ecstatic.\n\nBut then the first time we got a packet that was larger than the snap length on the buffer that we had given to the kernel, the snap length and the packet length were different and we were reading the wrong one in our code.\n\nAnd that's OK. For most of the ring buffer, you read into the subsequent packet. But if you're right at the end of the ring buffer, you read out into unallocated memory and then use segmentation fault.\n\nAnd so we had done a turn up where some local loopback traffic was 64-kilobyte MTU, and it was getting truncated in the buffer and crashed. And we figured out the problem right away. It was a very easy fix, but very embarrassing because it was like five lines of code before the fuzz tester plugged in.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**STEVE MCGHEE:** So I get the sense that this wasn't Rust, or Java, or some fancy memory-managing code language of modern times.\n\n**CODY SMITH:** Yeah, it was C++.\n\n**STEVE MCGHEE:** Nice. Respect.\n\n**CODY SMITH:** Yeah.\n\n**TRISHA WEIR:** I think the other issue we started to run into as we were doing rollout was, we started saturating the rack-top switches. We'd considered the availability of bandwidth there as a concern. But it wasn't something that was built in as a concern to any of the systems that did auto replacement.\n\nAnd when we began being placed on racks that had other neighbors that were also high-bandwidth users, we started having saturation problems. And so I remember having to work with-- I think, Isidore was the tool at the time. Cody might remember.\n\n**STEVE MCGHEE:** Yeah.\n\n**TRISHA WEIR:** Isidore-team to write and implement a new constraint so that when it was allocating machines, it would check for that kind of diversity as well.\n\n**STEVE MCGHEE:** So would you say that maybe it wasn't perfectly plannable, and instead, your teams had to adapt to emergent behavior that was resulting in this change that you made on a very complex system?\n\n**TRISHA WEIR:** I think that that's fair. I do think that it's the sort of thing we think about now. It was a brave new world. And we had, given the sort of ambient knowledge of the industry at the time, we planned it decently well, but it always could have gone better.\n\n**STEVE MCGHEE:** I mean, we're here today. I'm pretty sure Maglev is handling several hundreds of packets per nanosecond. I don't know. Some sort of number. OK, so--\n\n**JORDAN GREENBERG:** There's math involved.\n\n**STEVE MCGHEE:** --with regards to SREs who aren't at Google, that's what most of our listeners are on this podcast, is this story too ambitious? Do you need to be the size of Google to do something like this? Not necessarily this exact task, but this process of replacing a thing with software, and iterating, and building it out, and seeing if it works. How would you advise folks out in the world to take this story? What should they learn from it?\n\n**TRISHA WEIR:** I think there's always a balance to be struck with knowing, is this something I should build myself or can I make my use case fit existing tooling? Because you can move faster if you stand on the shoulders of giants. And so I think one thing to develop would be that sense of intuition about, is this something that no existing tooling is going to do, and do I need all these features?\n\nOne thing Cody and I were talking about before we were on air today was the idea that there was a list of features that our previous hardware device could do. And Cody and Eisenbud, they just dropped a lot of them. They're like, we don't actually need that special feature. We don't need that special feature. What we do need is these particular set of features that nothing else on the market is giving.\n\nAnd so before starting a project like this, to decide if it's a good use of your time, I would say build that intuition and that awareness. Everybody wants to build something new, and no one wants to do maintenance is a Kurt Vonnegut quote that I really like. People often want to build new things. Building new isn't always the answer, but having the judgment about when it is the right answer versus not is something that will really help you.\n\n**STEVE MCGHEE:** Nice.\n\n**CODY SMITH:** Yeah, I would say, I think, the time pressure was really useful in the context of the thing we needed to build. It didn't actually prove to be that complex, and a big part of that is the brutality with which we kept things simple. The whole thing, not counting the BGP client, the code base was, I think, 2,000 lines when we launched.\n\n**STEVE MCGHEE:** Wow.\n\n**CODY SMITH:** So it's just not that much code. And the time pressure of like, this is a skunkworks thing, we have to demonstrate a result before we get canceled, was really useful because it made a lot of the decisions about, do we need to support this feature on launch day or not very simple. If the answer can, by any means, be no, it should be no.\n\n**JORDAN GREENBERG:** So what advice would you give today's kids who are working at the ISPs, figuring out who they are, figuring out who they're going to be working with for a long time for the next 20 years at some really huge company that may or may not even exist yet? What advice would you say to them about how they can improve the world's internet and make it bigger, better, faster, or stronger?\n\n**CODY SMITH:** I think early in your career, trying to find roles that have a big container around them-- there's a lot of different places you can go inside the role, and you're not going to be doing just one thing over and over again, but lots of different things that all have to work together-- is really great for making yourself into a stem cell that could go out and get a tech job in a bunch of different ladders at a big company or become an entrepreneur and go do something you've never done before at a startup. It sets you up. It gives you that breadth of skills so that you have more choices later in your career.\n\n**STEVE MCGHEE:** Nice.\n\n**TRISHA WEIR:** So I am a big believer in the idea that SRE has an above-average need for psychological safety. We are in the middle of an outage. We need to feel safe, suggesting a very wild solution, and knowing that your coworkers will not say, that's ridiculous. It would never work that way. I can't believe you didn't know that. Because sometimes, the wild idea is the thing that fixes it.\n\nThat's true of SRE, but it's also true of anybody who's innovating. You need to be able to innovate, to have a wild idea, to take a chance and know that if you fall, your boss will catch you, to know and like the people around you.\n\nSo much of, at least, my education was focused on, you need to write code, and you're going to write it all by yourself, and you need to be heads down and get really good at this. But everything I have seen happen huge at Google has resulted from massive collaboration. And a lot of that comes down to being able to work with other people, being able to integrate their ideas, to respect them even when you disagree.\n\nSo I would advise, find people you enjoy working with, because if you're not enjoying your time, if you're not feeling safe, if you're not able to be your whole self around them, you're not going to bring your best ideas, you're not going to be able to get other people to work on your ideas, and you're not going to go as far. And it's just not as much fun.\n\nYou don't have to be best buddies with everybody. You don't have to hang out on the weekend. There are plenty of people on that team who I adore, and we see each other once a year now. We're not besties, but there is someone I think of as someone I trust, and like, and respect. And I think that that aspect is really important.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**STEVE MCGHEE:** I have to say, it wasn't until I left SRE and Google that I learned the phrase, \"stay in your lane.\" And I thought it was pretty prescient that that wasn't a thing inside of Google, or inside of SRE, at least. No one was told to stay in your lane. Because it's like, these lanes, there's so much stuff. Go ahead. And it just works better that way. Totally.\n\n**JORDAN GREENBERG:** Yeah, I would agree.\n\nAll right, well, thank you to both of our guests, Cody and Trisha. Cody, where can we find you on the internet?\n\n**CODY SMITH:** Yeah, the company I co-founded and work at now is called Camus Energy. We are camus.energy. And if you want to email me, I'm just Cody@camus.energy.\n\n**JORDAN GREENBERG:** Perfect. How about you, Trisha?\n\n**TRISHA WEIR:** I am at Google, so you can email me at Trisha@google.com. T-R-I-S-H-A.\n\n**JORDAN GREENBERG:** Perfect. Well, thank you, everybody, for making this episode of The Podcast possible, and have an awesome day.\n\n**STEVE MCGHEE:** Thank you.\n\n**CODY SMITH:** Cool. Thank you so much.\n\n**TRISHA WEIR:** Bye.\n\n**STEVE MCGHEE:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is “Telebot” by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 34096, "slov": 6202, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-10", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:45", "sha256": "c6d0accc47cf7213cf7250e7f7ea65939fe57ad59db5f474917c09ed7c2fa8b2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11", "titulek": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "h1": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "popis": "In this episode of the Prodcast, we are joined by guests Christina Schulman (Staff SRE, Google) and Dr. Laura Maguire (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11"}, "headline": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "description": "In this episode of the Prodcast, we are joined by guests Christina Schulman (Staff SRE, Google) and Dr. Laura Maguire PhD (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.", "image": "https://kstatic.googleusercontent.com/files/98b650c6c4df26b9f3624956d250cce76d80fd1f77d77858ced66abcf2cc6fdcd60d0fb92c1fb0317cd48a60f66ccc85801ffea21915d4623b80d1af91f59480", "author": [{"@type": "Person", "name": "Christina Schulman (Staff SRE, Google) "}, {"@type": "Person", "name": "Laura Maguire PhD (Principal Engineer, Trace Cognitive Engineering)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire"}], "markdown": "# Embracing Complexity with Christina Schulman & Dr. Laura Maguire\n\nIn this episode of the Prodcast, we are joined by guests **Christina Schulman** (Staff SRE, Google) and **Dr. Laura Maguire** (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. And welcome back to the Prodcast, Google's podcast about SRE and production software. I'm Steve McGhee, your host. This season, we're focusing on software engineering in SRE. This is notably done by humans, often in teams. Wow, I know. So bold.\n\nThese teams build and manage complex systems that tend to grow and grow. And what could possibly go wrong with that? Well, we have two great guests today with complementary approaches to big problems like this that we face in SRE, specifically, how do we deal with these big, complex, continuously changing systems?\n\nHow should these teams work together? How do they work together? And can one person even understand a big thing like this? And if not, then what? How do we even deal with this? So with that, let's meet our truly awesome guests, Christina Schulman and Dr. Laura Maguire, who will introduce themselves. Christina.\n\n**CHRISTINA SCHULMAN:** I'm Christina Schulman. I am a software engineer focusing on reliability in Google Cloud.\n\n**LAURA MAGUIRE:** Hey. My name is Laura Maguire. And I am a cognitive systems engineer, which is basically a fancy way of saying that I study how people do the thinking parts of their jobs.\n\nAnd the cool thing about CSE is that we can study things like perception, attention, and reasoning capacities of people operating in all kinds of very cognitively demanding work settings. And we can apply those patterns to software engineering. So I like to say that software engineers have more in common with astronauts and fighter pilots than they might originally think.\n\n**STEVE MCGHEE:** Cool. OK. So can we just start with this stuff is hard? These systems are big. We as humans have trouble peering into each other's brains. So that also makes it a little bit difficult. So we do have to speak with words and write things down and plan for things.\n\nSo first off, when we're talking about these complex systems, I've also heard the word \"complicated\" thrown around and \"it's big.\" What do these words even mean? What do we mean by this, complexity? Does it matter, the words that we use. And if so, in what ways should we be careful about how we describe these problems that we're trying to solve together?\n\n**CHRISTINA SCHULMAN:** I think it's honestly difficult for humans to wrap their heads around just how large and complicated a lot of these platforms are. My mantra is that once a system won't fit on one whiteboard, you just don't understand anything that's outside the realm of that whiteboard.\n\nThe more whiteboards it takes up, the more you need people just to understand where everything is. And nothing ever gets less complicated. You just keep adding more and more complexity, because if you don't, your system will die and fall over.\n\n**LAURA MAGUIRE:** Yes, to everything Christina said. And I would say that we tend to often think about complexity in terms of it being from a strictly technical sense. But complexity is a lot broader than that. And it extends to the whole sociotechnical system.\n\nSo I try to think about it in terms of the levels of abstraction. So what makes this work hard? What's cognitively demanding? How do we reason-- or how do we notice what is happening and what's changing in the world around us? How do we reason about that? How do we apply our knowledge?\n\nAnd then when we start thinking about the teaming aspects, as Christina said, we need to start to bring other perspectives and other knowledge bases together. That brings in a whole lot more social complexity. And then organizational aspects, like, how are you managing trade-off decisions? How are resources being allocated? All of those things are stuff that software engineers deal with on a day-to-day basis. It's not just the technical parts.\n\n**CHRISTINA SCHULMAN:** And then every time you add a new layer of abstraction to make things look simpler, you've just added an enormous new layer of technical complexity that your end users don't even know is there.\n\n**LAURA MAGUIRE:** Yeah, absolutely. And you also start adding things like automation in. And now you're looking at human machine teaming. And how do we try to understand and manage with our automated counterparts?\n\n**CHRISTINA SCHULMAN:** So basically, without putting some barriers in place, everybody winds up crying in a corner professionally.\n\n**STEVE MCGHEE:** It hurts. I feel that so much part of our job as SREs is, of course, to try to, as we say, automate ourselves out of a job. Of course, we know that that's not actually true. The automation itself becomes a job, dealing with the automation and interacting with the automation.\n\nOne thing that we've found within Google-- having done SRE for a long time and having grown a lot, one thing that we have pointed out, I think, in one of the books is the idea of teams undergo what we call mitosis, which is when you-- the team is responsible for too much stuff. And so we've got to split the team in half along some line.\n\nI know from experience, having done this several times, that figuring out what that line is is really hard and it's really important. And then coming up with the ability to judge who works on what and making sure that they actually understand what it is they're working on, super, super important, not technical at all. It's purely, as you said, Laura, sociotechnical. It is, \"Who is doing what?\" and, \"How do they talk to each other?\" and things like that. OK, that's awesome.\n\nSo another thing that comes up when it comes to understanding complex systems and the people that deal with them is stuff breaks. And one of the things we do in SRE is we deal with incidents. You can talk about being on call. You can talk about writing postmortems. You can talk about getting paged. You can talk about all these kinds of things.\n\nWhat should we think about here when it comes to making sure we don't screw it all up? What are the risks, first of all, when it comes to dealing with these complex systems with a group of fallible humans that need to sleep and things? Where should we start with that? Let's start with Laura from the humanistic side. And then, Christina, I'm sure you'll have things to say, as well, on top of that.\n\n**LAURA MAGUIRE:** So I think the point that Christina brought up about how there's a lot of different perspectives that are needed to really understand how the system works is thinking that we can try to solve these problems independently or that we can try to solve these problems without others and knowing when and how to bring other people in and how to bring them up to speed appropriately so that they can be useful to the incident response effort.\n\nThat in and of itself is actually quite a sophisticated skill set, especially when you're under a lot of time pressure, there's a lot of uncertainty. All of the details matter. And they matter more.\n\n**CHRISTINA SCHULMAN:** Well, I'll just add that we actually have people inside Google who specialize in dealing with very large, very visible incidents, even if they're not super large and visible, but who have experience in just doing the coordination and the communication necessary to keep an incident moving, while the people who actually understand the systems that are probably involved work on understanding what's going on and mitigating it.\n\nI will say that, ideally, nobody wants an incident in the first place but you're going to have them. So being able to restrain the blast radius of an incident and hopefully limit the potential effects of any particular failure in advance is certainly something we would all like to do, although it's hard and it's very difficult to analyze, test, and guarantee.\n\n**STEVE MCGHEE:** One thing that I heard some one of us was talking about-- before we started this podcast was the phrase that incident response is a team sport. So what you're both saying reminds me of that. And it helps to have, in your team, broad perspectives, whether it's just experience with the system at hand or if it's experience with the other teams that are involved.\n\nSo one thing that I've found when working with customers is lots of times teams that are adopting SRE or similar type of practices hear things like you build it, you own it. And they come to believe that means they should have complete control over their entire destiny. And that means they need to own everything from the load balancer down to the CPU for their particular service.\n\nI don't think that scales. And I understand the idea of it is that you want to be able to have control over your own domain. But this doesn't really work when it gets really big. So does this ring any bells in terms of how to manage autonomy under scale? What are some ways of thinking about that?\n\n**LAURA MAGUIRE:** Yeah, so I think from a cognitive systems engineering perspective, I think it's-- one of the fundamental truths is when you get to a certain size in a system of work, no one person's mental model about how that work system operates is going to be complete. It's going to be wrong in ways that can be consequential. It's going to be buggy in other ways. And so we do need to be able to bring multiple diverse perspectives to be able to respond to incidents.\n\n**CHRISTINA SCHULMAN:** I would say that from a practical standpoint, you can't be responsible for too much of your stack. Among other reasons, somebody is going to need to switch out the software layers. And they aren't going to be able to do that if you are clinging hard to the behavior of your load balancer. There should be contracts around the behavior. There should not be any promises around how it actually operates.\n\nI also think that in order to make it psychologically safe for people to be on call, it always has to be OK for them to pull in the people who do understand the systems that they think may be involved. And that's very much a team culture issue.\n\nYou can shore that up with technical support. But there's no substitute for making it safe for people to get things wrong and blunder their way into being good at things. I do my best to get things wrong for my team as frequently as possible to model that kind of behavior.\n\n**LAURA MAGUIRE:** I think that is a really important point. Because if all of our mental models are going to be partial and incomplete in some ways, then we're all going to be wrong at some point. And so being able to say out loud in an incident response, I don't understand what's happening right now, or here's what I know, because it's easier to say, here's what I know, and then here's what I don't know.\n\nBut normalizing that ability to not understand something and to be needing to ask or to help recognize when you might have something wrong, and then being able to share that knowledge across each other, that is fundamentally what's going to make your incident response work. I agree with you, that psychological safety and that social environment that allows you to just share knowledge.\n\n**CHRISTINA SCHULMAN:** Makes it a lot easier to keep your rotation staffed as well.\n\n**LAURA MAGUIRE:** And I think it reduces the anxiety of when you're going on call for the first time because the stakes aren't as high if you know that other people are willing to be pulled in, they're willing to tell you when they're wrong. And so it makes space for you to be wrong as well.\n\n**STEVE MCGHEE:** Totally. So when there is an incident, I've seen within customers-- and personally, I've been on calls, not at Google but elsewhere, where you're in an incident like in the big room with the TVs on the wall and there's a VP in the room. And there is this idea of a chilling effect. And it is totally real.\n\nIt can be fine, depending on the VP and the culture and everything. But often I've heard and I've experienced that it's not fine. It actually tends to really make people freeze up and feel like they have to say the right thing. And they can't do what you're just describing, which is saying, I don't know. Let's look into it. I'm not really sure who can help, blah, blah blah, blah, blah.\n\nSo is there more to it than that? One of you also used the phrase earlier-- armchair SREing is another example of this type of thing. So can you talk a little bit about that? What is the effect of some other person in the room have on this team that's trying to get something done?\n\n**LAURA MAGUIRE:** Well, I think it's useful to also think it can be a person in a position of leadership. And when there's authority and power imbalances in the room, then that makes sense. But it can also be someone that you really respect, that you don't want to be wrong in front of.\n\nAnd I think that the difficulties-- or the folks who may have that chilling effect, as Christina was saying earlier, can be wrong, can normalize being wrong. But structuring your incident response so that the incident commander or the coordinator, whoever is in charge, can step that person out of the room respectfully if they need to and to be able to take a suggestion that comes from a person in a position of authority on par with a suggestion that comes from a junior engineer as well.\n\nThey don't have to give it more weight and more credence just because of who it comes from. I think there's an interesting practice within high reliability organizing, which came out of looking at operations on aircraft carriers.\n\nAnd one of the principles of high reliability organizing is a deference to expertise. So just because the VP may have 20 years or 30 years of experience and they may have a perspective that may be a bit broader, your engineer who's only been on the team for two months might be closest to the action. And they might have the most current relevant knowledge to the situation. You dynamically shift where the focus is relative to who has the current expertise for that situation.\n\n**CHRISTINA SCHULMAN:** I think it's worth bearing in mind, though, that if it's a sufficiently large and visible outage, the VP is probably-- they're freaking out, too, just as much as the junior engineers are. So having an incident commander who's in a position to manage the social aspects of both of those freak-outs is really useful. And to be fair, it's the VP who's going to get yelled at in public. The junior engineer is unlikely to get yelled at all.\n\n**LAURA MAGUIRE:** I guess it depends on the organization for sure. But you're right, I think it's really important to recognize that everyone within the system has different kinds of pressures and constraints. And they are dealing with different kinds of goals and priorities.\n\nWhen we talk about incident response being a team sport, that's actually a fundamental aspect of being able to signal to others when your goals and priorities are changing and when your pressures and constraints are changing so that they can proactively anticipate, or adapt, or adjust the things that they're suggesting or the way that they're carrying out their work to have this really smooth interaction and reduce some of the friction there.\n\n**STEVE MCGHEE:** So speaking of teams and reacting to things, we also designed things as teams. And there's a law called Conway's law, which a lot of people might be familiar with. And maybe you can tell us a little bit about that, about how that might apply to the thing that you built and how it exposes itself to things like failure domains.\n\nSo what's going on here? And like what can we-- why is it worth knowing about this? What can we do about it? Christina, you're grinning like you have something to say. You've heard of this before, for sure.\n\n**CHRISTINA SCHULMAN:** I mean, Conway's law is most frequently quoted, I think, in software companies that you ship your organizational structure, you ship your org chart, which I have mixed feelings about.\n\nI don't want failure domains to look like my org chart. But at the same time, in terms of, as we keep saying, being able to understand the surface area of the things you're responsible for, there's really good reasons for that not to cross organizational boundaries. You can only understand so many things. You might as well understand the things that you're actually responsible for.\n\nI think that you need very strong agreements in place in cases where the ways that you want your system to fail cuts across organizational boundaries. And I think it's a very hard problem.\n\n**STEVE MCGHEE:** Can you give us an example of that, where you may have seen something similar to that?\n\n**CHRISTINA SCHULMAN:** Well, I work in dependency management, so if you give me an opening, I'm always going to talk about isolating where your RPCs go. And then I'll keep talking about it until you hit me with a stick.\n\nBut fundamentally, we're running a whole lot of different things in lots of different geographical locations that are subject to different rules. Gmail is subject to different rules than, let's say, the various ML infrastructure pieces, both in terms of how they're allowed to fail and how they're allowed to store data.\n\nWhen there's a failure, you want to constrain that geologically or geographically, if possible. If somebody trips over a power cord in South Carolina, you do not want that to affect jobs that are running in Europe.\n\nBut in order to guarantee that that's the case, you need to be able to understand and test behavior across a lot of different systems. And as we already said, since nobody can understand all of those systems in depth or in breadth really, you can't do that without software controls in place.\n\n**STEVE MCGHEE:** The tripping over the cable reminds me of Leslie Lamport's description of a distributed system, which is any system where your computer can be affected by a computer you've never heard of. And I think that's great. That really describes a lot of SRE pretty deeply to me.\n\nI've found actually that a lot of folks don't get this. There's a phrase that I think I learned from John Allspaw, but it comes from some other folks. And it's that of reductive tendencies. And this is just, \"Give it to me simple. Quit with all the nerd stuff. Just tell me what's going on.\"\n\nAnd often we lose a lot of the really important subtleties when we reduce it too much. And this ruins the whole idea of what it is that we're trying to accomplish here by running a complex system.\n\nIf we write our rules for Gmail or whatever in these reductive ways, often we will lose track of some of the constraints that are really important that actually keep the whole thing running. Does this ring any bells either? This seems like it's crossing the two streams here a little bit.\n\n**LAURA MAGUIRE:** Yeah, absolutely. This the work you're referring to is some folks from the Institute of Human Machine Cognition and from the Ohio State University. And they distilled, I think, 11 different tenets or truisms about managing or operating in complex systems.\n\nAnd that synopsis you gave as like we want to oversimplify things because it's easier to manage and control and get our arms around of is actually quite dangerous because when we're treating things that are dynamic and they're simultaneous and they're things that are running in parallel as they're linear and they're cause and effect, this oversimplified models, we're solving the wrong problem.\n\nSame things that a lot of these kinds of events and these failure events in complex systems, they involve a lot of-- they're nonlinear. They fail in surprising or unexpected ways. And so if you are not considering your system as being complex and adaptive, your response will not be complex and adaptive.\n\nThe law of requisite variety basically states that if your problems are all highly variable and very dynamic and changing, then your responses to those problems have to be similarly so.\n\nSo it goes back to what we said at the outset as like, how do we help people cope with complexity? And sometimes that's about helping to build common ground from the boundaries of where my part of the system and what I'm responsible for interact with neighboring parts of the system.\n\nIt's about helping people who have never worked together to very quickly try and ascertain who knows what, who's important, who do I need to coordinate and collaborate with? And those kinds of dynamic reconfiguration means you've all got to bring whatever skills and knowledge you have to bear in a situation that you've never seen before with people you maybe never have worked with before.\n\nAnd so that's the ways in which we shift away from this oversimplified view of, we just write more rules. We just have good process. We can draw these really firm boundaries to say surprises are going to happen. How do we help people cope with that most effectively?\n\n**CHRISTINA SCHULMAN:** I love that law of requisite variety. I have not heard of that before. I'm going to cite this now every time somebody asks why I can't come up with a simple design for a complex problem.\n\n**LAURA MAGUIRE:** Ashby, 1956.\n\n**CHRISTINA SCHULMAN:** All right. I'm going to read this now. I will say that most of the really interesting large outages that I have seen in Google production infrastructure have involved interactions between systems that were very powerful and very complex. And they had to be that complex in order to handle just the enormity and the heterogeneity of the system.\n\nAnd there's a point at which you simply can't prevent these interactions from happening. You can't predict them. You can't prevent them. You just have to have really good systems in place for containing and mitigating them. At some point, I don't care what the root cause was. I just want to be able to make it stop without spending three weeks understanding it.\n\n**STEVE MCGHEE:** Yeah, stop the bleeding is a term that we tend to throw around. Sure, we'll find what really happened someday. But for now let's mitigate. And let's bring the ball forward.\n\n**LAURA MAGUIRE:** But it's interesting, too, because sometimes the right response is to let the bleeding continue a little bit more so that you have more diagnostic information. So this goes to those like, how do we manage these trade-offs? How do we make sure that that VP is in the room so that their perspective can be included in what types of actions we're trying to take?\n\n**CHRISTINA SCHULMAN:** That's why we love observability.\n\n**STEVE MCGHEE:** I know we just talked about how reducing a system to a simple idea is actually not great. But there is a metaphor, if you will, that comes up quite a bit when we're talking about these types of things. And that's the idea of aerodynamic stability, which comes from flight, from airplanes.\n\nAnd this is the idea that you want a system that when you take your hands off the yoke, it satisfies itself. It brings itself to some level of flying ability. I think this was coined by John Reese within Google, at least. I'm sure it's been used elsewhere a million times.\n\nBut how can we use this metaphor when it comes to designing systems that don't require an intensive hands-on keyboard at all times and like watching all the screens? Is this a real thing? Is this something that you can actually strive for? Or is this just a pipe dream from JTR?\n\n**CHRISTINA SCHULMAN:** JTR, John Reese, was specifically talking about removing dependency cycles from production when he wrote about that. And essentially, what you want to be able to do is identify and remove dependency cycles from your system.\n\nA dependency cycle is when you have system A depends on system B, system B depends on system C, system C depends on system A. This seems like it should be easy to identify and prevent. But when there are 300 systems involved in this cycle, it's a lot harder to find.\n\nAnd it's particularly pernicious when you have turn-up cycles, like, everything went down because somebody tripped over a very large power cord. Bringing it back up is not going to be able to happen automatically if you have these cycles.\n\nThe problem is, of course, that we keep saying this is a very large, complex system. So massively re-engineering things to change across multiple systems. It can be done. It hurts like hell. So putting systems in place where you control how things are allowed to depend on other things. Essentially the top of your stack is allowed to depend on the bottom of your stack. The bottom of your stack should not have dependencies on the top of your stack.\n\nThat's going to make things a lot less painful when something at the bottom of your stack goes down, comes back up, and you want everything at the top of your stack to recover without human interference.\n\n**STEVE MCGHEE:** Yeah, just being able to speak in terms of directionality and having a common understanding of this is what we mean by up and this is what we mean by down and there is this intent to not have this particular direction, that helps a lot.\n\n**LAURA MAGUIRE:** Yeah, this may not be directly answering the question. But it kind of brought up a really interesting thing. I saw in some studies that I did watching ongoing operations within large-scale systems. And that is that people are nearly continuously monitoring the systems and providing small little course corrections. And they are preventing incidents before they even-- before they're even a seed of an incident.\n\nAnd so this is something that's subtle but very nontrivial because a lot of this work is hidden. All of the ways in which someone's sitting in a co-located space and they spot something on a dashboard and they go and check some logs or they do some little action to make a change in the system there, this stuff is happening all the time, all around us. And we don't typically tend to notice it.\n\nAnd so I'm a paraglider when I think about dynamic flight under my wing. It is these really small little course corrections because you don't want to drive things into the place where it is very clear that you need to make a correction.\n\nSo the point, I guess, of bringing this up is that this hidden work, this continuous monitoring and continuous managing of the system is work. And if we overload engineers with task work, or support work, or feature development, or whatever it is, you're going to lose a lot of this capacity that's already happening.\n\nAnd so maintaining a little bit of slack in the system or starting to notice when and how people are doing these small, little course corrections can help to actually surface them so that you can account for them, you can resource them, and you can try to engineer them into future systems to prevent surprises.\n\n**CHRISTINA SCHULMAN:** I'm working on a project right now that is very much affected by-- we're trying to develop some guarantees around a system that involves a lot of that constant attention and babysitting.\n\nAnd it's very dangerous because you really want to-- you want to design for a system that doesn't need that. It can be such a hidden thing. And if you assume it isn't there, you're going to have a very exciting time.\n\n**LAURA MAGUIRE:** Yeah. And I would posit that from studies of any kind of process control situations, that this is a fundamental principle of these systems. And while we don't want it, we might actually need it to account for the things that we can't imagine in our design or account for the ways in which interactions or pressures from the outside world are influencing the system in ways that we don't expect or anticipate.\n\nAnd so I agree, we don't want it in the system. But it's also true that it's there. And so being able to keep that additional float, that additional capacity to maintain it, remove it where we can, but don't eliminate that entirely, I think is very necessary.\n\n**CHRISTINA SCHULMAN:** I think you're probably right. But, boy, I hope you're wrong.\n\n**STEVE MCGHEE:** There's a good story that I may have shared already on this podcast, but I'll go for it anyway, which was, there was an SRE who was in charge of a thing near the very front of all of Google, near the load balancer.\n\nAnd he clicked a button and pushed a thing. And all of a sudden, everyone around him, everyone's pager went off at the same time. And he went, whoa, hang on a second. Is this blah, blah, blah? And they're like, yep. And he's like, hang on, click, click, click. OK, I fixed it.\n\nAnd so it was a significant dip in the all of Google graph. And so I tell this story to customers all the time. And I say, OK, if you're the manager of this person, what do you do? Let's talk about incentives. Do you take him aside and have a quiet word and say, we'll never speak of this again?\n\nDo you fire him on the spot? Do you dock his pay by two weeks? What are all these bad things you could do? And what happened at Google? What happened with an SRE that was actually really good?\n\nThey put him on stage. And they had him tell his story to the entire company. And they showed this stuff happens. And his reaction was very, very good, the fact that he was able to notice it, adapt to it, fix it, and be like, OK, it's good. And also, I added this preventative step so that I don't screw this up again in the future.\n\nInstead of just hiding the problem or expecting people to never have this problem, they declared this problem to the entire company. And everyone went, oh, OK. Not only can this happen and I should think about this type of problem, but if this were to happen, I wouldn't be fired. I might get put on stage. This could actually be good.\n\nSo a lot of these structural things when it comes to incentives and-- we talk about executives doing terrible things, but they also do good things, too. Leadership can definitely make the right culture as well.\n\nSo this is just another way of looking at this problem as well, is, like, when there's this complex stuff and these emergent failures happen, how you react to them is often a byproduct of just how you interact with everybody else within your team over time and how you observe that happen with other people as well.\n\n**LAURA MAGUIRE:** Yeah. Well, I think it's really important, that organizational response to failure, because if they were to dock his pay or take punitive action against him, that drives a lot of the reporting underground. It drives a lot of the conversations of, oh, I thought it worked this way. And then I found out in a very big, public, embarrassing way that it didn't.\n\nAnd so the more that these things can come to the surface, these flaws in our mental models and we can talk about them and we can share that knowledge, the more resilient your system is actually going to be. So I think that was a great response.\n\n**CHRISTINA SCHULMAN:** I think the most famous intern incident in Google's Pittsburgh office was when one of the interns-- and this happened years ago now. But one of the interns on the payments team was validating credit card processing.\n\nAnd on her last day, the whole team had taken her out to lunch when everybody's pagers went off because her test had broken payments, all the payments. And she was, of course, horrified. And the team was delighted because her test had successfully found a problem. She did wind up converting. And I think she's a manager now.\n\nBut we tell that story to all the incoming interns that they understand, A, you're going to be working on real production systems and you're going to have a lot of power. And B, it's OK if you have a highly impactful event.\n\n**LAURA MAGUIRE:** Yeah, I think Etsy has the three-armed sweater that they present to one of the biggest, most impressive failures in prod. And it's kind of a nice way of normalizing that failure and of surfacing some of these things.\n\n**STEVE MCGHEE:** Awesome, yeah, that's important. Well, thanks to you both. I don't want to keep you here all day. And I know we could talk about this all day, so we're going to have to cut it at some point. But before we go, if there's anything that you want to share with our audience where people can hear more from you on the internet or just like a pithy truism that you would like to share with the whole internet, now's your chance.\n\n**CHRISTINA SCHULMAN:** I would just like the whole internet to check their return values.\n\n**STEVE MCGHEE:** Excellent. Good advice.\n\n**LAURA MAGUIRE:** Connecting with me on the internet, I guess I can be reached by email at laura@tracecognitive.com, or I'm on Bluesky, lauramaguire.bsky.social. You can find me at the Cognitive Systems Engineering Lab at the Ohio State University. And the takeaway, I guess, would be don't oversimplify. Lean into the complexity. And you're going to have a lot more adaptive and resilient responses.\n\n**STEVE MCGHEE:** Awesome. Thanks to you both. And thanks to all our listeners. And as always, may the queries flow and the pages be silent. So long.\n\n**LAURA MAGUIRE:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 33967, "slov": 6042, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:15", "sha256": "d8b83f9d72d5011329d210a65508458fa8e2296eefd293807850241d15f39705", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11/", "titulek": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "h1": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "popis": "In this episode of the Prodcast, we are joined by guests Christina Schulman (Staff SRE, Google) and Dr. Laura Maguire (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11"}, "headline": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire", "description": "In this episode of the Prodcast, we are joined by guests Christina Schulman (Staff SRE, Google) and Dr. Laura Maguire PhD (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.", "image": "https://kstatic.googleusercontent.com/files/98b650c6c4df26b9f3624956d250cce76d80fd1f77d77858ced66abcf2cc6fdcd60d0fb92c1fb0317cd48a60f66ccc85801ffea21915d4623b80d1af91f59480", "author": [{"@type": "Person", "name": "Christina Schulman (Staff SRE, Google) "}, {"@type": "Person", "name": "Laura Maguire PhD (Principal Engineer, Trace Cognitive Engineering)"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embracing Complexity with Christina Schulman & Dr. Laura Maguire"}], "markdown": "# Embracing Complexity with Christina Schulman & Dr. Laura Maguire\n\nIn this episode of the Prodcast, we are joined by guests **Christina Schulman** (Staff SRE, Google) and **Dr. Laura Maguire** (Principal Engineer, Trace Cognitive Engineering). They emphasize the human element of SRE and the importance of fostering a culture of collaboration, learning, and resilience in managing complex systems. They touch upon topics such as the need for diverse perspectives and collaboration in incident response, the necessity of embracing complexity, and explore concepts such as aerodynamic stability, and more.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. And welcome back to the Prodcast, Google's podcast about SRE and production software. I'm Steve McGhee, your host. This season, we're focusing on software engineering in SRE. This is notably done by humans, often in teams. Wow, I know. So bold.\n\nThese teams build and manage complex systems that tend to grow and grow. And what could possibly go wrong with that? Well, we have two great guests today with complementary approaches to big problems like this that we face in SRE, specifically, how do we deal with these big, complex, continuously changing systems?\n\nHow should these teams work together? How do they work together? And can one person even understand a big thing like this? And if not, then what? How do we even deal with this? So with that, let's meet our truly awesome guests, Christina Schulman and Dr. Laura Maguire, who will introduce themselves. Christina.\n\n**CHRISTINA SCHULMAN:** I'm Christina Schulman. I am a software engineer focusing on reliability in Google Cloud.\n\n**LAURA MAGUIRE:** Hey. My name is Laura Maguire. And I am a cognitive systems engineer, which is basically a fancy way of saying that I study how people do the thinking parts of their jobs.\n\nAnd the cool thing about CSE is that we can study things like perception, attention, and reasoning capacities of people operating in all kinds of very cognitively demanding work settings. And we can apply those patterns to software engineering. So I like to say that software engineers have more in common with astronauts and fighter pilots than they might originally think.\n\n**STEVE MCGHEE:** Cool. OK. So can we just start with this stuff is hard? These systems are big. We as humans have trouble peering into each other's brains. So that also makes it a little bit difficult. So we do have to speak with words and write things down and plan for things.\n\nSo first off, when we're talking about these complex systems, I've also heard the word \"complicated\" thrown around and \"it's big.\" What do these words even mean? What do we mean by this, complexity? Does it matter, the words that we use. And if so, in what ways should we be careful about how we describe these problems that we're trying to solve together?\n\n**CHRISTINA SCHULMAN:** I think it's honestly difficult for humans to wrap their heads around just how large and complicated a lot of these platforms are. My mantra is that once a system won't fit on one whiteboard, you just don't understand anything that's outside the realm of that whiteboard.\n\nThe more whiteboards it takes up, the more you need people just to understand where everything is. And nothing ever gets less complicated. You just keep adding more and more complexity, because if you don't, your system will die and fall over.\n\n**LAURA MAGUIRE:** Yes, to everything Christina said. And I would say that we tend to often think about complexity in terms of it being from a strictly technical sense. But complexity is a lot broader than that. And it extends to the whole sociotechnical system.\n\nSo I try to think about it in terms of the levels of abstraction. So what makes this work hard? What's cognitively demanding? How do we reason-- or how do we notice what is happening and what's changing in the world around us? How do we reason about that? How do we apply our knowledge?\n\nAnd then when we start thinking about the teaming aspects, as Christina said, we need to start to bring other perspectives and other knowledge bases together. That brings in a whole lot more social complexity. And then organizational aspects, like, how are you managing trade-off decisions? How are resources being allocated? All of those things are stuff that software engineers deal with on a day-to-day basis. It's not just the technical parts.\n\n**CHRISTINA SCHULMAN:** And then every time you add a new layer of abstraction to make things look simpler, you've just added an enormous new layer of technical complexity that your end users don't even know is there.\n\n**LAURA MAGUIRE:** Yeah, absolutely. And you also start adding things like automation in. And now you're looking at human machine teaming. And how do we try to understand and manage with our automated counterparts?\n\n**CHRISTINA SCHULMAN:** So basically, without putting some barriers in place, everybody winds up crying in a corner professionally.\n\n**STEVE MCGHEE:** It hurts. I feel that so much part of our job as SREs is, of course, to try to, as we say, automate ourselves out of a job. Of course, we know that that's not actually true. The automation itself becomes a job, dealing with the automation and interacting with the automation.\n\nOne thing that we've found within Google-- having done SRE for a long time and having grown a lot, one thing that we have pointed out, I think, in one of the books is the idea of teams undergo what we call mitosis, which is when you-- the team is responsible for too much stuff. And so we've got to split the team in half along some line.\n\nI know from experience, having done this several times, that figuring out what that line is is really hard and it's really important. And then coming up with the ability to judge who works on what and making sure that they actually understand what it is they're working on, super, super important, not technical at all. It's purely, as you said, Laura, sociotechnical. It is, \"Who is doing what?\" and, \"How do they talk to each other?\" and things like that. OK, that's awesome.\n\nSo another thing that comes up when it comes to understanding complex systems and the people that deal with them is stuff breaks. And one of the things we do in SRE is we deal with incidents. You can talk about being on call. You can talk about writing postmortems. You can talk about getting paged. You can talk about all these kinds of things.\n\nWhat should we think about here when it comes to making sure we don't screw it all up? What are the risks, first of all, when it comes to dealing with these complex systems with a group of fallible humans that need to sleep and things? Where should we start with that? Let's start with Laura from the humanistic side. And then, Christina, I'm sure you'll have things to say, as well, on top of that.\n\n**LAURA MAGUIRE:** So I think the point that Christina brought up about how there's a lot of different perspectives that are needed to really understand how the system works is thinking that we can try to solve these problems independently or that we can try to solve these problems without others and knowing when and how to bring other people in and how to bring them up to speed appropriately so that they can be useful to the incident response effort.\n\nThat in and of itself is actually quite a sophisticated skill set, especially when you're under a lot of time pressure, there's a lot of uncertainty. All of the details matter. And they matter more.\n\n**CHRISTINA SCHULMAN:** Well, I'll just add that we actually have people inside Google who specialize in dealing with very large, very visible incidents, even if they're not super large and visible, but who have experience in just doing the coordination and the communication necessary to keep an incident moving, while the people who actually understand the systems that are probably involved work on understanding what's going on and mitigating it.\n\nI will say that, ideally, nobody wants an incident in the first place but you're going to have them. So being able to restrain the blast radius of an incident and hopefully limit the potential effects of any particular failure in advance is certainly something we would all like to do, although it's hard and it's very difficult to analyze, test, and guarantee.\n\n**STEVE MCGHEE:** One thing that I heard some one of us was talking about-- before we started this podcast was the phrase that incident response is a team sport. So what you're both saying reminds me of that. And it helps to have, in your team, broad perspectives, whether it's just experience with the system at hand or if it's experience with the other teams that are involved.\n\nSo one thing that I've found when working with customers is lots of times teams that are adopting SRE or similar type of practices hear things like you build it, you own it. And they come to believe that means they should have complete control over their entire destiny. And that means they need to own everything from the load balancer down to the CPU for their particular service.\n\nI don't think that scales. And I understand the idea of it is that you want to be able to have control over your own domain. But this doesn't really work when it gets really big. So does this ring any bells in terms of how to manage autonomy under scale? What are some ways of thinking about that?\n\n**LAURA MAGUIRE:** Yeah, so I think from a cognitive systems engineering perspective, I think it's-- one of the fundamental truths is when you get to a certain size in a system of work, no one person's mental model about how that work system operates is going to be complete. It's going to be wrong in ways that can be consequential. It's going to be buggy in other ways. And so we do need to be able to bring multiple diverse perspectives to be able to respond to incidents.\n\n**CHRISTINA SCHULMAN:** I would say that from a practical standpoint, you can't be responsible for too much of your stack. Among other reasons, somebody is going to need to switch out the software layers. And they aren't going to be able to do that if you are clinging hard to the behavior of your load balancer. There should be contracts around the behavior. There should not be any promises around how it actually operates.\n\nI also think that in order to make it psychologically safe for people to be on call, it always has to be OK for them to pull in the people who do understand the systems that they think may be involved. And that's very much a team culture issue.\n\nYou can shore that up with technical support. But there's no substitute for making it safe for people to get things wrong and blunder their way into being good at things. I do my best to get things wrong for my team as frequently as possible to model that kind of behavior.\n\n**LAURA MAGUIRE:** I think that is a really important point. Because if all of our mental models are going to be partial and incomplete in some ways, then we're all going to be wrong at some point. And so being able to say out loud in an incident response, I don't understand what's happening right now, or here's what I know, because it's easier to say, here's what I know, and then here's what I don't know.\n\nBut normalizing that ability to not understand something and to be needing to ask or to help recognize when you might have something wrong, and then being able to share that knowledge across each other, that is fundamentally what's going to make your incident response work. I agree with you, that psychological safety and that social environment that allows you to just share knowledge.\n\n**CHRISTINA SCHULMAN:** Makes it a lot easier to keep your rotation staffed as well.\n\n**LAURA MAGUIRE:** And I think it reduces the anxiety of when you're going on call for the first time because the stakes aren't as high if you know that other people are willing to be pulled in, they're willing to tell you when they're wrong. And so it makes space for you to be wrong as well.\n\n**STEVE MCGHEE:** Totally. So when there is an incident, I've seen within customers-- and personally, I've been on calls, not at Google but elsewhere, where you're in an incident like in the big room with the TVs on the wall and there's a VP in the room. And there is this idea of a chilling effect. And it is totally real.\n\nIt can be fine, depending on the VP and the culture and everything. But often I've heard and I've experienced that it's not fine. It actually tends to really make people freeze up and feel like they have to say the right thing. And they can't do what you're just describing, which is saying, I don't know. Let's look into it. I'm not really sure who can help, blah, blah blah, blah, blah.\n\nSo is there more to it than that? One of you also used the phrase earlier-- armchair SREing is another example of this type of thing. So can you talk a little bit about that? What is the effect of some other person in the room have on this team that's trying to get something done?\n\n**LAURA MAGUIRE:** Well, I think it's useful to also think it can be a person in a position of leadership. And when there's authority and power imbalances in the room, then that makes sense. But it can also be someone that you really respect, that you don't want to be wrong in front of.\n\nAnd I think that the difficulties-- or the folks who may have that chilling effect, as Christina was saying earlier, can be wrong, can normalize being wrong. But structuring your incident response so that the incident commander or the coordinator, whoever is in charge, can step that person out of the room respectfully if they need to and to be able to take a suggestion that comes from a person in a position of authority on par with a suggestion that comes from a junior engineer as well.\n\nThey don't have to give it more weight and more credence just because of who it comes from. I think there's an interesting practice within high reliability organizing, which came out of looking at operations on aircraft carriers.\n\nAnd one of the principles of high reliability organizing is a deference to expertise. So just because the VP may have 20 years or 30 years of experience and they may have a perspective that may be a bit broader, your engineer who's only been on the team for two months might be closest to the action. And they might have the most current relevant knowledge to the situation. You dynamically shift where the focus is relative to who has the current expertise for that situation.\n\n**CHRISTINA SCHULMAN:** I think it's worth bearing in mind, though, that if it's a sufficiently large and visible outage, the VP is probably-- they're freaking out, too, just as much as the junior engineers are. So having an incident commander who's in a position to manage the social aspects of both of those freak-outs is really useful. And to be fair, it's the VP who's going to get yelled at in public. The junior engineer is unlikely to get yelled at all.\n\n**LAURA MAGUIRE:** I guess it depends on the organization for sure. But you're right, I think it's really important to recognize that everyone within the system has different kinds of pressures and constraints. And they are dealing with different kinds of goals and priorities.\n\nWhen we talk about incident response being a team sport, that's actually a fundamental aspect of being able to signal to others when your goals and priorities are changing and when your pressures and constraints are changing so that they can proactively anticipate, or adapt, or adjust the things that they're suggesting or the way that they're carrying out their work to have this really smooth interaction and reduce some of the friction there.\n\n**STEVE MCGHEE:** So speaking of teams and reacting to things, we also designed things as teams. And there's a law called Conway's law, which a lot of people might be familiar with. And maybe you can tell us a little bit about that, about how that might apply to the thing that you built and how it exposes itself to things like failure domains.\n\nSo what's going on here? And like what can we-- why is it worth knowing about this? What can we do about it? Christina, you're grinning like you have something to say. You've heard of this before, for sure.\n\n**CHRISTINA SCHULMAN:** I mean, Conway's law is most frequently quoted, I think, in software companies that you ship your organizational structure, you ship your org chart, which I have mixed feelings about.\n\nI don't want failure domains to look like my org chart. But at the same time, in terms of, as we keep saying, being able to understand the surface area of the things you're responsible for, there's really good reasons for that not to cross organizational boundaries. You can only understand so many things. You might as well understand the things that you're actually responsible for.\n\nI think that you need very strong agreements in place in cases where the ways that you want your system to fail cuts across organizational boundaries. And I think it's a very hard problem.\n\n**STEVE MCGHEE:** Can you give us an example of that, where you may have seen something similar to that?\n\n**CHRISTINA SCHULMAN:** Well, I work in dependency management, so if you give me an opening, I'm always going to talk about isolating where your RPCs go. And then I'll keep talking about it until you hit me with a stick.\n\nBut fundamentally, we're running a whole lot of different things in lots of different geographical locations that are subject to different rules. Gmail is subject to different rules than, let's say, the various ML infrastructure pieces, both in terms of how they're allowed to fail and how they're allowed to store data.\n\nWhen there's a failure, you want to constrain that geologically or geographically, if possible. If somebody trips over a power cord in South Carolina, you do not want that to affect jobs that are running in Europe.\n\nBut in order to guarantee that that's the case, you need to be able to understand and test behavior across a lot of different systems. And as we already said, since nobody can understand all of those systems in depth or in breadth really, you can't do that without software controls in place.\n\n**STEVE MCGHEE:** The tripping over the cable reminds me of Leslie Lamport's description of a distributed system, which is any system where your computer can be affected by a computer you've never heard of. And I think that's great. That really describes a lot of SRE pretty deeply to me.\n\nI've found actually that a lot of folks don't get this. There's a phrase that I think I learned from John Allspaw, but it comes from some other folks. And it's that of reductive tendencies. And this is just, \"Give it to me simple. Quit with all the nerd stuff. Just tell me what's going on.\"\n\nAnd often we lose a lot of the really important subtleties when we reduce it too much. And this ruins the whole idea of what it is that we're trying to accomplish here by running a complex system.\n\nIf we write our rules for Gmail or whatever in these reductive ways, often we will lose track of some of the constraints that are really important that actually keep the whole thing running. Does this ring any bells either? This seems like it's crossing the two streams here a little bit.\n\n**LAURA MAGUIRE:** Yeah, absolutely. This the work you're referring to is some folks from the Institute of Human Machine Cognition and from the Ohio State University. And they distilled, I think, 11 different tenets or truisms about managing or operating in complex systems.\n\nAnd that synopsis you gave as like we want to oversimplify things because it's easier to manage and control and get our arms around of is actually quite dangerous because when we're treating things that are dynamic and they're simultaneous and they're things that are running in parallel as they're linear and they're cause and effect, this oversimplified models, we're solving the wrong problem.\n\nSame things that a lot of these kinds of events and these failure events in complex systems, they involve a lot of-- they're nonlinear. They fail in surprising or unexpected ways. And so if you are not considering your system as being complex and adaptive, your response will not be complex and adaptive.\n\nThe law of requisite variety basically states that if your problems are all highly variable and very dynamic and changing, then your responses to those problems have to be similarly so.\n\nSo it goes back to what we said at the outset as like, how do we help people cope with complexity? And sometimes that's about helping to build common ground from the boundaries of where my part of the system and what I'm responsible for interact with neighboring parts of the system.\n\nIt's about helping people who have never worked together to very quickly try and ascertain who knows what, who's important, who do I need to coordinate and collaborate with? And those kinds of dynamic reconfiguration means you've all got to bring whatever skills and knowledge you have to bear in a situation that you've never seen before with people you maybe never have worked with before.\n\nAnd so that's the ways in which we shift away from this oversimplified view of, we just write more rules. We just have good process. We can draw these really firm boundaries to say surprises are going to happen. How do we help people cope with that most effectively?\n\n**CHRISTINA SCHULMAN:** I love that law of requisite variety. I have not heard of that before. I'm going to cite this now every time somebody asks why I can't come up with a simple design for a complex problem.\n\n**LAURA MAGUIRE:** Ashby, 1956.\n\n**CHRISTINA SCHULMAN:** All right. I'm going to read this now. I will say that most of the really interesting large outages that I have seen in Google production infrastructure have involved interactions between systems that were very powerful and very complex. And they had to be that complex in order to handle just the enormity and the heterogeneity of the system.\n\nAnd there's a point at which you simply can't prevent these interactions from happening. You can't predict them. You can't prevent them. You just have to have really good systems in place for containing and mitigating them. At some point, I don't care what the root cause was. I just want to be able to make it stop without spending three weeks understanding it.\n\n**STEVE MCGHEE:** Yeah, stop the bleeding is a term that we tend to throw around. Sure, we'll find what really happened someday. But for now let's mitigate. And let's bring the ball forward.\n\n**LAURA MAGUIRE:** But it's interesting, too, because sometimes the right response is to let the bleeding continue a little bit more so that you have more diagnostic information. So this goes to those like, how do we manage these trade-offs? How do we make sure that that VP is in the room so that their perspective can be included in what types of actions we're trying to take?\n\n**CHRISTINA SCHULMAN:** That's why we love observability.\n\n**STEVE MCGHEE:** I know we just talked about how reducing a system to a simple idea is actually not great. But there is a metaphor, if you will, that comes up quite a bit when we're talking about these types of things. And that's the idea of aerodynamic stability, which comes from flight, from airplanes.\n\nAnd this is the idea that you want a system that when you take your hands off the yoke, it satisfies itself. It brings itself to some level of flying ability. I think this was coined by John Reese within Google, at least. I'm sure it's been used elsewhere a million times.\n\nBut how can we use this metaphor when it comes to designing systems that don't require an intensive hands-on keyboard at all times and like watching all the screens? Is this a real thing? Is this something that you can actually strive for? Or is this just a pipe dream from JTR?\n\n**CHRISTINA SCHULMAN:** JTR, John Reese, was specifically talking about removing dependency cycles from production when he wrote about that. And essentially, what you want to be able to do is identify and remove dependency cycles from your system.\n\nA dependency cycle is when you have system A depends on system B, system B depends on system C, system C depends on system A. This seems like it should be easy to identify and prevent. But when there are 300 systems involved in this cycle, it's a lot harder to find.\n\nAnd it's particularly pernicious when you have turn-up cycles, like, everything went down because somebody tripped over a very large power cord. Bringing it back up is not going to be able to happen automatically if you have these cycles.\n\nThe problem is, of course, that we keep saying this is a very large, complex system. So massively re-engineering things to change across multiple systems. It can be done. It hurts like hell. So putting systems in place where you control how things are allowed to depend on other things. Essentially the top of your stack is allowed to depend on the bottom of your stack. The bottom of your stack should not have dependencies on the top of your stack.\n\nThat's going to make things a lot less painful when something at the bottom of your stack goes down, comes back up, and you want everything at the top of your stack to recover without human interference.\n\n**STEVE MCGHEE:** Yeah, just being able to speak in terms of directionality and having a common understanding of this is what we mean by up and this is what we mean by down and there is this intent to not have this particular direction, that helps a lot.\n\n**LAURA MAGUIRE:** Yeah, this may not be directly answering the question. But it kind of brought up a really interesting thing. I saw in some studies that I did watching ongoing operations within large-scale systems. And that is that people are nearly continuously monitoring the systems and providing small little course corrections. And they are preventing incidents before they even-- before they're even a seed of an incident.\n\nAnd so this is something that's subtle but very nontrivial because a lot of this work is hidden. All of the ways in which someone's sitting in a co-located space and they spot something on a dashboard and they go and check some logs or they do some little action to make a change in the system there, this stuff is happening all the time, all around us. And we don't typically tend to notice it.\n\nAnd so I'm a paraglider when I think about dynamic flight under my wing. It is these really small little course corrections because you don't want to drive things into the place where it is very clear that you need to make a correction.\n\nSo the point, I guess, of bringing this up is that this hidden work, this continuous monitoring and continuous managing of the system is work. And if we overload engineers with task work, or support work, or feature development, or whatever it is, you're going to lose a lot of this capacity that's already happening.\n\nAnd so maintaining a little bit of slack in the system or starting to notice when and how people are doing these small, little course corrections can help to actually surface them so that you can account for them, you can resource them, and you can try to engineer them into future systems to prevent surprises.\n\n**CHRISTINA SCHULMAN:** I'm working on a project right now that is very much affected by-- we're trying to develop some guarantees around a system that involves a lot of that constant attention and babysitting.\n\nAnd it's very dangerous because you really want to-- you want to design for a system that doesn't need that. It can be such a hidden thing. And if you assume it isn't there, you're going to have a very exciting time.\n\n**LAURA MAGUIRE:** Yeah. And I would posit that from studies of any kind of process control situations, that this is a fundamental principle of these systems. And while we don't want it, we might actually need it to account for the things that we can't imagine in our design or account for the ways in which interactions or pressures from the outside world are influencing the system in ways that we don't expect or anticipate.\n\nAnd so I agree, we don't want it in the system. But it's also true that it's there. And so being able to keep that additional float, that additional capacity to maintain it, remove it where we can, but don't eliminate that entirely, I think is very necessary.\n\n**CHRISTINA SCHULMAN:** I think you're probably right. But, boy, I hope you're wrong.\n\n**STEVE MCGHEE:** There's a good story that I may have shared already on this podcast, but I'll go for it anyway, which was, there was an SRE who was in charge of a thing near the very front of all of Google, near the load balancer.\n\nAnd he clicked a button and pushed a thing. And all of a sudden, everyone around him, everyone's pager went off at the same time. And he went, whoa, hang on a second. Is this blah, blah, blah? And they're like, yep. And he's like, hang on, click, click, click. OK, I fixed it.\n\nAnd so it was a significant dip in the all of Google graph. And so I tell this story to customers all the time. And I say, OK, if you're the manager of this person, what do you do? Let's talk about incentives. Do you take him aside and have a quiet word and say, we'll never speak of this again?\n\nDo you fire him on the spot? Do you dock his pay by two weeks? What are all these bad things you could do? And what happened at Google? What happened with an SRE that was actually really good?\n\nThey put him on stage. And they had him tell his story to the entire company. And they showed this stuff happens. And his reaction was very, very good, the fact that he was able to notice it, adapt to it, fix it, and be like, OK, it's good. And also, I added this preventative step so that I don't screw this up again in the future.\n\nInstead of just hiding the problem or expecting people to never have this problem, they declared this problem to the entire company. And everyone went, oh, OK. Not only can this happen and I should think about this type of problem, but if this were to happen, I wouldn't be fired. I might get put on stage. This could actually be good.\n\nSo a lot of these structural things when it comes to incentives and-- we talk about executives doing terrible things, but they also do good things, too. Leadership can definitely make the right culture as well.\n\nSo this is just another way of looking at this problem as well, is, like, when there's this complex stuff and these emergent failures happen, how you react to them is often a byproduct of just how you interact with everybody else within your team over time and how you observe that happen with other people as well.\n\n**LAURA MAGUIRE:** Yeah. Well, I think it's really important, that organizational response to failure, because if they were to dock his pay or take punitive action against him, that drives a lot of the reporting underground. It drives a lot of the conversations of, oh, I thought it worked this way. And then I found out in a very big, public, embarrassing way that it didn't.\n\nAnd so the more that these things can come to the surface, these flaws in our mental models and we can talk about them and we can share that knowledge, the more resilient your system is actually going to be. So I think that was a great response.\n\n**CHRISTINA SCHULMAN:** I think the most famous intern incident in Google's Pittsburgh office was when one of the interns-- and this happened years ago now. But one of the interns on the payments team was validating credit card processing.\n\nAnd on her last day, the whole team had taken her out to lunch when everybody's pagers went off because her test had broken payments, all the payments. And she was, of course, horrified. And the team was delighted because her test had successfully found a problem. She did wind up converting. And I think she's a manager now.\n\nBut we tell that story to all the incoming interns that they understand, A, you're going to be working on real production systems and you're going to have a lot of power. And B, it's OK if you have a highly impactful event.\n\n**LAURA MAGUIRE:** Yeah, I think Etsy has the three-armed sweater that they present to one of the biggest, most impressive failures in prod. And it's kind of a nice way of normalizing that failure and of surfacing some of these things.\n\n**STEVE MCGHEE:** Awesome, yeah, that's important. Well, thanks to you both. I don't want to keep you here all day. And I know we could talk about this all day, so we're going to have to cut it at some point. But before we go, if there's anything that you want to share with our audience where people can hear more from you on the internet or just like a pithy truism that you would like to share with the whole internet, now's your chance.\n\n**CHRISTINA SCHULMAN:** I would just like the whole internet to check their return values.\n\n**STEVE MCGHEE:** Excellent. Good advice.\n\n**LAURA MAGUIRE:** Connecting with me on the internet, I guess I can be reached by email at laura@tracecognitive.com, or I'm on Bluesky, lauramaguire.bsky.social. You can find me at the Cognitive Systems Engineering Lab at the Ohio State University. And the takeaway, I guess, would be don't oversimplify. Lean into the complexity. And you're going to have a lot more adaptive and resilient responses.\n\n**STEVE MCGHEE:** Awesome. Thanks to you both. And thanks to all our listeners. And as always, may the queries flow and the pages be silent. So long.\n\n**LAURA MAGUIRE:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 33967, "slov": 6042, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-11", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:46", "sha256": "d8b83f9d72d5011329d210a65508458fa8e2296eefd293807850241d15f39705", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12", "titulek": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "h1": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "popis": "This episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12"}, "headline": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "description": "This episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.", "image": "https://kstatic.googleusercontent.com/files/631395f4f529ab2fa523d707da888b7eb40f6460e2215afe811a9ec76dffd84076243ffad158474c90ce5fd25a92dbda873aca1cbd50b6b341973bff51084b45", "author": [{"@type": "Person", "name": "Casey Rosenthal "}, {"@type": "Person", "name": "John Allspaw"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw"}], "markdown": "# Human Factors in Complex Systems with Casey Rosenthal and John Allspaw\n\nThis episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** All right, welcome, everyone, to season three of The Prodcast. I'm your host, Steve McGhee. This season, we're talking about software engineering in SRE and production software.\n\nWe have two guests today that are going to talk to us about resilience and robustness and other words that start with R. We have our two friends, Casey Rosenthal and John Allspaw. And of course, I'm also honored to have Jordan. Jordan, say hello, please.\n\n**JORDAN GREENBERG:** Hello, everybody. It's nice to be here.\n\n**STEVE MCGHEE:** Cool, and then why don't we have our guests introduce themselves?\n\n**JOHN ALLSPAW:** My name is John Allspaw. I work at a company called Adaptive Capacity Labs here in Brooklyn, New York. That's probably enough, I think.\n\n**STEVE MCGHEE:** What is Adaptive Capacity, John? Tell us a little bit more. Come on.\n\n**JOHN ALLSPAW:** I used to work at a company here in Brooklyn called Etsy. I was there for about seven years. While I was there, as CTO, I did a Master's degree in human factors and system safety.\n\nA little bit of time before that, which kind of dragged me to that program-- it was continually nagging and still does to this day, the belief that the types of work that we do in software engineering, and operations as a whole has much more to do with other historically known, colloquially known, as safety critical domains.\n\nSo it's places that there's high consequence, high tempo, aviation, power, control rooms, and nuclear power plants, air traffic control, medical and clinical environments, all of these things that you think of. If you hear the term human factors, that's what you think of.\n\nAnd so I reached out to a couple of people that I was reading so much about. And it turns out I said, come look at this. Am I right about this? Am I in the right direction?\n\nAnd both of them said, nope. You are unfortunately very in the right direction, I'm sorry to say. So let's get to work. And then I worked with them.\n\nAnd then I left Etsy, and I got to work with the heavies who have founded many, many important things along these lines, including entire fields such as resilience engineering.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**STEVE MCGHEE:** We're going to get into that word, one of the R words, in just a minute. Casey, why don't you introduce yourself?\n\n**CASEY ROSENTHAL:**Sure, I'll try to be similarly brief with my intro.\n\n**[LAUGHTER]**\n\nSo I'm the founder of a startup called Cirrusly. Cirrus like the cloud. Cirrusly.\n\n**STEVE MCGHEE:** I get it.\n\n**CASEY ROSENTHAL:**Yeah? And generally, I'm known as the chaos engineering guy. I built and managed the chaos engineering team at Netflix, evangelized it, started the conferences, wrote the definition, wrote the book on it, stuff like that, and been trying to follow in John's footsteps.\n\nI followed him into the Human Factors and Safety Systems master's program at Lund, but I just can't keep up. Life of an entrepreneur, I keep getting distracted by running companies and writing books and, occasionally, kids and things like that. But yeah, I'm trying to walk the righteous path that John has pioneered in tech.\n\n**STEVE MCGHEE:** Awesome.\n\n**JOHN ALLSPAW:** It's a mutual feeling.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** My mom calls me a chaos engineer when I leave stuff all over the floor.\n\n**CASEY ROSENTHAL:****[LAUGHS]**\n\n**JORDAN GREENBERG:** Is that the same thing?\n\n**CASEY ROSENTHAL:**Are you doing it on purpose to test the limits of your mother's patience?\n\n**JORDAN GREENBERG:** Yes.\n\n**CASEY ROSENTHAL:**Then, yeah.\n\n**JOHN ALLSPAW:** There you go.\n\n**JORDAN GREENBERG:** All right.\n\n**JOHN ALLSPAW:** There you go.\n\n**JORDAN GREENBERG:** I'll tell her that. She'll love to hear it.\n\n**STEVE MCGHEE:** So in the past year or so, I've learned a little bit about the role that you guys-- or the realm that you guys inhabit a little bit. There's a group called Learning From Incidents.\n\nThere was a conference. Was it last year or the year before? I can't remember. What is time?\n\nAnd one of the things that has come up that I've noticed is there's a bunch of words that have definitions that are all very close to each other, but they're all very importantly different from each other. And a lot of them start with R, so I'm just going to list them really quick.\n\nWe don't have to define them today, but I think it's just fun just to point out. We have resilience. Some people say resiliency. There's robustness. There's rebound. There's reliability. There's probably more than that, and they're all slightly different from each other.\n\nSo one thing that's important about this set of words is that sometimes people use them to describe a computer system, and sometimes it's a computer system with the humans that then control that computer system. And as far as all the R words go together, it's that last point that it seems to be the most important to me in my head of making sure you include those humans in the system. And the phrase, sociotechnical system, has come to be pretty important as well.\n\nSo I wonder if you guys can tell us the stories that are necessary for people to understand this at a high level to get into it. Why is this important? Why is it a big deal? Why can't we just talk about bugs and features and things like that?\n\nDo we really need to think about humans too, John? Is it really that important? Casey, do you think so? What do you think?\n\n**CASEY ROSENTHAL:**Yeah, if you actually care about the outcomes that should matter to the business, that drive customer satisfaction and probably correlate with revenue, then you should care a lot about the humans and the role that they play in the technical systems, because they're the most important part. And generally, focusing on the most important part is a good idea.\n\n**JOHN ALLSPAW:** I would concur with my friend. I might even go a little bit further and say that the only reason why any companies are successful are because of people.\n\nSometimes we will do a thought exercise with groups that we-- in conference talks or groups that we work with. And we say, imagine if tomorrow-- thought experiment-- at 10:30 AM, everybody is instructed to stand up, step away from your computer, and do not answer your email. Don't answer a page or an alert. Don't commit any code. Do nothing to this technical stuff.\n\nAnd then I want you to think how long will the system continue to run exactly the way you hope, expect, and intend. Would it last 24 hours, 36, 72? Would it last a week?\n\nEven those who say it would last a week are pretty hard pressed to say much more than that. That's actually, I think, a bit stunning. It means that people are doing things to keep the system working. So yeah, that's the strong agreement that I've got with Casey.\n\n**STEVE MCGHEE:** So clearly, what I was asking was tongue in cheek and leading and all these things. But the reason why I ask it is because, also, this isn't what is always focused on, specifically around when stuff breaks or when we're planning the future or whatever.\n\nSome companies, sure, but most companies, they focus on the other thing, not on the people thing. So why is that? Why do you think that that's the case? And is it something we should think about?\n\n**CASEY ROSENTHAL:**Well, it's the case because it's easy. **[LAUGHS]**\n\n**STEVE MCGHEE:** Yeah.\n\n**CASEY ROSENTHAL:**Well, there's two reasons. One is habit, right? So we've got a hundred-plus years of habit, of thinking of software the way insurance companies taught us to think about manufacturing.\n\nAnd industry titans. Scientific management, framed up how we think about producing things and where mistakes are made or where outcomes that are undesirable for the company-- how to think about placing blame for those outcomes.\n\nSo we've got a lot of history and baggage that we can drop. And then we've got a lot of stuff that's just-- it's easy to track numbers like MTTR, at least in theory. It's easy to track numbers like that, and then point at a number and use that to judge whether or not something's good or bad.\n\nI'll go ahead and jump forward a bit and highlight why this is important. We're recording this about a month after a huge CrowdStrike outage that cost probably billions of dollars and had a catastrophic impact, globally. So this is a very serious outage.\n\nAnd what we as an industry are facing is an increasing call, particularly here in the US-- they've already made more headway in the EU on this, but particularly we're going to feel this in the US-- to regulate things like uptime. And once regulation comes in to regulate things like uptime, then a cascade of bad things are going to happen.\n\nA, it's not going to improve uptime, because it's asking to measure the wrong thing. But it opens the door to regulating our industry and putting gatekeeping in our industry that won't be to the benefit of innovation or software engineers, and certainly not to-- it'll be a setback to DEI efforts because getting degreed and certified in something is going to favor people who already have privilege in our society.\n\nSo our industry is facing an existential crisis that most of us, I don't think, are even cognizant of as the government is asked to get increasingly involved in regulating our industry because of things like the CrowdStrike outage.\n\n**JORDAN GREENBERG:** Right.\n\n**JOHN ALLSPAW:** I wanted to add. Paul Reed, I think in 2018, I think, and then 2019, put together a conference called Redeploy. And at the first, the very first one, he said at the beginning-- and this is something that I continue to believe. I'm glad that he said it.\n\nAnd it fits with what Casey said, which is, our field, our community-- especially the SRE-adjacent sharpened practitioners-- we are enthusiastic more than other domains or more than other communities about real, concrete, messy-detail observations that are bottom up, right?\n\nFrankly, you could make an argument, that's not too far, extreme programming, and agile and DevOps and continuous deployment-- These were not things that came from somebody who doesn't have close contact with the real messy details. It was starting this enthusiasm. The fact that they're learning from incidents, Slack had grown. The fact that there are more people doing their Master's degree.\n\nThe fact that Casey even begun the program is notable. And what Paul said is this momentum-- I'm paraphrasing —ut this momentum is important because if we don't have a chance at helping set the agenda for what genuinely productive, humane, and just pragmatically good the future will be, then someone will do it for us, and we will not likely be happy about the results.\n\n**JORDAN GREENBERG:** Very good point. Switching gears a little, I've heard that people avoid declaring an incident because it means more paperwork. You have the incident itself, the action items, writing the postmortem and the retrospective, reviewing the postmortem and retrospective. And sometimes this means getting named and shamed for something that you were responsible for. Nobody likes that.\n\n**JOHN ALLSPAW:** No.\n\n**JORDAN GREENBERG:** Do either of you have any advice on how to approach retrospective reviews of postmortems after an incident?\n\n**JOHN ALLSPAW:** I do.\n\n**JORDAN GREENBERG:** Go for it.\n\n**JOHN ALLSPAW:** It's a great question with a number of potential hypotheses. Jordan, I would say that there are many reasons-- we've certainly seen many-- amongst those that you counted out for reluctance to declare an incident.\n\nNow, of course, it's a label that is negotiable. It's always negotiable. And there are lots of reasons why people-- even outside of those-- yes, of course, if I call this an incident, jeez, man, that means I'm going to have to do all this stuff. And sometimes it's just a hassle.\n\nBut it's only a hassle because experience has told them that it doesn't matter. It doesn't do anything. I'm going to go to a meeting that people won't pay attention to. I'm going to write up a document that nobody's going to read.\n\nAnd so there's a cycle that's based on this expectation. In that situation, it's just a hassle. In other situations, it is another thing that you said, Jordan, which is it's a hassle, and I may open myself up for unwanted attention.\n\n**JORDAN GREENBERG:** He would say that.\n\n**JOHN ALLSPAW:** Yeah. Yeah, because for multiple reasons. Because if there's an incident, and something's broken, that draws attention from the people who are super far, a.k.a. leadership.\n\nAnd then because it has that label, they're really concerned. But if we don't call it that, the same reality can play out. But they won't have that much, right? So I'm incentivized to not do it.\n\nThe third reason, which I see more often, is neither of those dynamics. We've seen plenty of organizations-- not plenty. We've seen a number of organizations. We spoke at the first LFI conference. I gave a talk with one of our clients, and this is one of them.\n\nThey're not afraid of doing the paperwork, the bookkeeping, because, actually, they've seen that it is a huge-- people are psyched for it. People will cancel other meetings so they can go to the group review meeting.\n\nThey look forward to it. They also aren't afraid that anybody is going to yell at them or there's going to be table pounding. The reason why they don't is because they're not actually sure at the time whether or not it actually is an incident.\n\nIncidents don't show up with a big sticker on its forehead and says, I'm an incident. Start paying attention, right? Partial, weirdly degrading, but only a little bit can be an incident.\n\nThe reason why people will demonstrate this-- if you've ever had an incident or experienced an incident, and afterwards you realize that it started way before, then you noticed it.\n\n**JORDAN GREENBERG:** Yes.\n\n**JOHN ALLSPAW:** Right? So declaring an incident in that situation is only-- sometimes you did know it, and you say to your cousin, hey, this looks weird, right? Not weird enough like, oh, my god, but this looks weird?\n\nAnd they're like, yeah. Huh. Is it something? I don't know. See what happens. Maybe it'll balance out. Maybe it'll clear itself out. All right, we're going to go to lunch. We'll come back.\n\nSome time will pass. And then they'll say it's not looking better, and it looks like it might be getting worse. Now let's decide. We're going to call this a thing now for some reason. That's a judgment, a judgment call.\n\nHindsight will only be the one that tells us the outcome. So it can be hard. Some of the most ambiguous parts of responding to an incident is even working out whether it's an incident or not. Also, same thing, sometimes it can never be clear when it's over.\n\n**JORDAN GREENBERG:** True.\n\n**STEVE MCGHEE:** Yeah, one question I ask customers who are confused by this is, do you use severity levels, and do they ever change? And why do you change them? And when do you change them? And who changes them?\n\nIt's all over the map, the reasons and who does it and why. The severity, to me, is just madness, right? It could be anything. And to me, that tells me that this is not a science right now.\n\nThis is pure vibes, which is fine. That's where we are. But we don't want to delude ourselves into thinking that it's pure science.\n\n**CASEY ROSENTHAL:**The part of that I don't think is fine is that it's treated like science.\n\n**STEVE MCGHEE:** Yeah, yeah, good point, good point, for sure.\n\n**CASEY ROSENTHAL:**And that does get us in trouble because MTTR is a similar thing. MTTR, I'll just go out on a limb and say, if you're tracking that, at best, you're wasting your time, because MTTR is complete bullshit. I'm not sure I can--\n\n**JOHN ALLSPAW:** No, no, it's Google, so you say horseshit.\n\n**STEVE MCGHEE:** Horseshit, OK, thank you. Thanks for the clarification, John.\n\n**JOHN ALLSPAW:** No problem.\n\n**CASEY ROSENTHAL:**And let me just back that up by saying we have the math. We have the studies. We have the scholarship. We have proof that MTTR is horseshit. So if you'd like that proof, we can give you access to that. The proof exists. It's a waste of time.\n\nSo when companies spend time and attention focusing on bad things or wrong things like MTTR or severity-- severity is another one-- you're exerting effort in a way that can only lead to bad outcomes because businesses that are poorly aligned don't function well, right?\n\nSo when you try to align around something that's false or misleading, then you can't highly align. And that causes resentment, and then people start not liking things. So then you've got a business that isn't functioning well, and people are miserable there while they're doing it.\n\nSo I think a lot of the negative attention around incident management comes out of that. A lot of people intuitively know that some of the processes that they're following are irrelevant or inconsequential or the wrong thing to be doing for the better sake of the company.\n\nBut they do it because it's process, because it's mandated by leadership. And that's part of the problem. If we don't address that and change that, change how the industry thinks about those things, then we will continue to have those negative spirals and poor outcomes and conversations that don't help but rather hinder the industry moving forward, like the majority of the conversations that came out of the CrowdStrike incident that were just not helpful.\n\n**JOHN ALLSPAW:** Yeah. I have two very small things to add to what Casey said. I like to think sometimes as severity as a GROUPBY for everything else, right?\n\nIt's like, oh, MTTR. The other thing-- the most cogent, eloquent take on, in particular, severity, M group at SREcon this past Spring gave a talk with one of the best titles ever, which is What is incident severity but a lie agreed upon?\n\nAnd the take that they had is absolutely spot on. It may have been the best talk I saw. It certainly tied with the best talk I saw. So if you haven't seen it, it's very good, and it's just all laid out.\n\n**STEVE MCGHEE:** Yeah, that really landed it for me, as well. I remember seeing the same talk. In fact, I think this is the second time it's been mentioned on this podcast, so that's two votes for M. Way to go.\n\n**JORDAN GREENBERG:** I think that's true, yeah.\n\n**JOHN ALLSPAW:** So if you haven't seen it, listeners--\n\n**JORDAN GREENBERG:** Now's the time.\n\n**JOHN ALLSPAW:** --you're behind.\n\n**STEVE MCGHEE:** That's right. OK, so we can't MTTR. Got it. We can't just blame the people for not trying hard enough. Got it. We can hope that people will take the time to decide, oh, yeah, that was a thing, and maybe we should write some things down about it. Maybe, right?\n\n**JORDAN GREENBERG:** Maybe.\n\n**STEVE MCGHEE:** Postmortems are a thing that we talk about in SRE, and sometimes we review them and try to learn from them. But what comes out of that a lot tends to be, fix this bug. Do this thing. Add this monitoring. It's a bunch of to-do items.\n\nAnd I've heard from a lot of people that we actually want to focus a little bit more on learning about our system, as opposed to doing things further to our system. But those seem harder to count, right? Those seem harder for spreadsheet wizards to agree that it's a good thing about.\n\nWhat I'm getting at is, how do we push people towards the activities that actually make a difference, as opposed to those that are easily accountable, if you know what I mean?\n\n**JORDAN GREENBERG:** Absolutely. As a spreadsheet wizard who ran the postmortem events, I have never seen an action item given to SREs that said, keep watching this and see what affects the system over time.\n\nI've never seen, capture if this is an isolated incident or if this is something that has been ongoing and will continue to be ongoing. I've not seen, fix the thing, and then capture it, and then report back later. I've only seen, here are your action items. When these are done, you can close this postmortem report and carry on with your day.\n\n**CASEY ROSENTHAL:**Yeah, that's ripe for the government to step in and say, you know what? We asked the Fortune 50 companies what their best practices are for action items, and here they are. So now you have to do these same action items.\n\nSo let's take a completely different perspective and say, have you ever come out of an incident review with the understanding that we need to figure out if customers cared that this thing happened.\n\n**JORDAN GREENBERG:** Huge, huge.\n\n**CASEY ROSENTHAL:**Did this impact customers? Or here's another one. The outcome that we all think needs to happen is the CTO needs to allocate more resources to this. That's not an action item.\n\n**JORDAN GREENBERG:** True.\n\n**CASEY ROSENTHAL:**Right, but compare that to an action item. Which one is more likely to result in a system that's more reliable? Telling an engineer who's working on the thing, oh, yes, if you monitor this thing, then it's less likely? Or getting the CTO to invest more resources?\n\nI think we all agree just off the cuff that getting the CTO to invest more resources is immeasurably more impactful to the reliability of the system. And that's never going to come from an action item list or-- I don't know-- spreadsheet wizardry.\n\n**JOHN ALLSPAW:** Yeah, I completely agree, unsurprisingly. There's a lot of topics. And Steve, this question is load-bearing in multiple ways.\n\n**CASEY ROSENTHAL:**I'm so sorry.\n\n**JOHN ALLSPAW:** It's fine. It's fine. I'm going to try to keep my thoughts about this topic-- sorry, topics-- coherent. I don't want to be all over the place.\n\nLots of organizations-- and again, this is mostly in the realm of conventional and typical, which is really the only time I'll be abstract. What we see often is that, along with counting things-- I'll get to that in a second. I don't think counting things is inherently bad. Counting the wrong things turns out to be terrible, which I think we've already covered.\n\nAs a practice, sometimes, the more severe the incident or more impactful, more significant-- let's just say that-- the less time people are given to produce an explanation and a description of the event, right? Or sometimes they'll say you need to have-- whether it's a norm or a mandate or a policy, whatever you want to call it-- within n number of hours, you have to have some description.\n\nSome of that, I completely understand, are dictated by or led by contractual obligations with customers. But those are different communications and different activities than helping people inside the organization, right?\n\nIt is ironic, or it's reversed, inversely proportional. Though, if it's a significant incident, a surprising incident, it was probably because-- part of it is because it was really hard to figure out. It was really hard to figure out what to do about it once you figured it out. And it was hard to figure out whether or not that worked.\n\nSo in other words, the most complicated, difficult, uncertain, ambiguous event gets the least amount of time to describe, which is, I think, backwards. As a result of that, people, they'll put in what they think. It's a bit of a cynical take, but they will put in items in a template sometimes. Templates are really good for giving you an excuse for not to be curious.\n\nSo as a result-- and we only booked this conference room for an hour. How many times did we say, well, listen, everybody, listen. It's great that we're talking about this. And we're blameless, by the way, thanks, super blameless. I appreciate that.\n\nBut listen, we've got five minutes here, and I only see three-- let's come up with-- I don't want to come out of here without five. Is there something that we did already that I can put down?\n\nIt's more of a demonstration that you're doing something. And so if you've had any experience as a software engineer, then you have had the experience where you're banging your head, you're really having a tough time with this particular bug, and you're exhausted, right?\n\nYou've already tried the afternoon coffee trick, and now you're wired, and you're scattered. It's like, screw this. I'm just going to put this down. And it's in the shower the next morning that you realize what the thing was, right?\n\nSo don't be surprised if, during some mandated short period of time, you come up with ideas for action items that, given some time and space to reflect on it, you realize is a terrible idea, right? You want to force people to go ahead and do them when they know that there's a good chance that, if you were to do it, it might make things worse. Or it might fix that thing and introduce new things, a new vulnerability.\n\nSo yeah, that's why you see Jira tickets that say it won't fix. Thank God there's that field you can drop down.\n\n**JOHN ALLSPAW:** Because it's not a good idea. That phenomenon, by the way, where you're going to intend, whether it's an action item or not, some post-incident remediation item that turns into yet a new set of latent conditions or enablers for a different type of thing to surprise you-- colloquially, we've attributed that to Lorin Hochstein. I think someone had coined that Lorin's Law. And now that you have a term for it, you're going to see it.\n\n**JORDAN GREENBERG:** I see. OK, so if postmortems are not the way to turn an incident into more headcount for your team, what should we want to get out of them? What are some things that have genuinely come from postmortem reviews or post-incident system monitoring that have impacted reliability positively in your sphere?\n\n**STEVE MCGHEE:** What does work, John? We've said all the things don't work. What's left?\n\n**JORDAN GREENBERG:** What does work?\n\n**CASEY ROSENTHAL:**Yeah, so this is the most exciting part of this because it's blue skies. We can give you a couple of ways that have been positive and fruitful things to do. Chaos engineering is a whole field that improves reliability and understanding of complex systems. You can put a number on anything, so it's very easy to go from qualitative to quantitative measurements.\n\nBut I generally suggest people don't start with the quantitative stuff, because you're probably measuring the wrong thing first. Start by measuring qualitative things. And there's a bajillion frameworks to measure things qualitatively, and we can propose a couple.\n\nBut there's no limit on the number of systems that you could use to measure things qualitatively and understand a system in qualitative description that would get around your problems with, for example, severity or what counts as downtime, these descriptors, MTTR, things that just don't work. So it's a very young seed for a field that we can open up and define if we choose to pioneer this field.\n\n**STEVE MCGHEE:** Without putting you on the spot, Casey, can you go into that a little bit further in terms of-- can you provide a made-up example, even, of starting with a qualitative scenario or read on a subject and then describing some quantitative outcome?\n\n**CASEY ROSENTHAL:**Yeah, sure. So we would have system degradations-- So when I was at Netflix, there was always some part of the system that was degraded, take that for granted just at the scale that it's at. There's always some part.\n\nSo declaring an incident started at time x and ended at time y. It's just not helpful, regardless. John gave me the great example of incidents that have a negative resolution time because by the time you noticed it, it had already resolved itself. **[LAUGHS]** So those numbers don't help.\n\nOne of the scales that I've brought over from business instructional settings is the Kirkpatrick method, which just has four tiers of ways of qualitatively measuring the outcome of a program.\n\nNow, I took it from an educational background, because it's describing learning, right? So it's saying, we applied, in this case, a training, and then we want to, OK, at level 1, did the people who got the training think it was useful, right? It's just asking them.\n\nAnd in the case of an incident, just ask the people who are part of it, hey, did you learn something from this review, right? Or we introduced chaos engineering tools. To the people using the tools, is the tool useful to you. And then going up the stack, OK, now you ask the people that they report to, hey, are there things that you're responsible for that you think this is actually contributing to the success of your team?\n\nAnd then you go higher, and the fourth level is-- at that level, do you have some evidence that introducing this practice or conversation or tool or whatever impacted something that the business cares about?\n\nAnd that's not instrumentation. That's not necessarily measuring something. That can be a, quote, unquote, \"gut feeling,\" but it can be somebody's context and their understanding of their world in their given context, which, in this case, if you're hiring an executive to manage cloud operations or whatever, you're paying for their expertise to understand their context.\n\nSo you don't have to put a number on it. Just ask them. **[LAUGHS]** Is this thing improving how your organization benefits the business? And that's a completely different question, and so much more interesting to get that answer than to say, were we out of SLO? Or how many high severity incidents did we have this quarter because I want to tsk-tsk at somebody if it was higher than last quarter.\n\nThat's useless. Anybody who operates systems at scale knows that has no reflection on the success of the system or the effort that was put in to make the system perform the way the business expected it to. So just don't look at those things. Instead, go to the people.\n\n**JOHN ALLSPAW:** Yeah, I have an answer that's complementary. I actually do have-- we're in the middle of writing a book, and I can't believe I just mentioned that, because now it means that we'll have to finish it.\n\n**STEVE MCGHEE:** Gotcha.\n\n**JOHN ALLSPAW:** Right, and it's been going on for years.\n\nThink about when you're not having an incident. How did that happen? You're making changes on every dimension, statistically, mathematically, conceptually. Organizations that we're talking about are astronomically more successful than they are down, right? It's an industry where we talk about it in the number of decimal places after 99%.\n\n**JORDAN GREENBERG:** Statistically significant.\n\n**JOHN ALLSPAW:** Right. What goes into making that successful? People are putting stuff in like timeouts and retries. And this thing, we should have some redundancy for. This thing over here. How do they know that? Experience is a cop out answer. Expertise is the answer.\n\nAnd they understand that because either, one, they have first hand experience of what it looks like when they don't do that stuff. And number two, they have heard, they have benefited from an experience that somebody else has had. This is known as vicarious learning. And so the way that systems improve is by creating, number one-- I'll start with this one.\n\nNumber one is exactly what Casey said, which is let go of the possibility that you're going to be able to measure this in some sort of way, like humidity and temperature and pressure and that sort of thing.\n\nOnce you let that go-- because here's the thing. You're already doing that. There are many expensive activities that organizations are engaged in that never get economic scrutiny, that never get any sort of-- they don't even show up in a spreadsheet. Is there a spreadsheet by how many hours engineers engage in code review?\n\n**JORDAN GREENBERG:** Good point.\n\n**JOHN ALLSPAW:** I don't know of any group. I'm sure there might be. But I think we can all agree it is easily one of the most expensive activities in a software engineering organization, right?\n\nWhen I'm talking with engineers, we usually use the example of brand redesign, which is incredibly expensive and incredibly difficult, if not impossible, to measure. So what makes-- if you can-- I'm trying to impress Casey by not saying a couple of really academic words.\n\nInstead of looking at incidents as these disconnected, disembodied distractions in a category called cost of doing business and looking to reduce those negatives, how about figure out-- in spite of whatever policies and norms you have, people are way more successful.\n\nWhat goes into that? Increase that. Find out what that makes that work. Increase success by understanding it closely, rather than the other. Because with all of the shallow metrics stuff-- my colleague never really liked this framing, but the denominator is missing, right? Oh, you've had six incidents this week. Out of how many?\n\n**STEVE MCGHEE:** Yeah, we're measuring all the red stuff, but we don't measure the green stuff very well, do we? Even though there's way more green than there is red.\n\n**JOHN ALLSPAW:** Way more, way more, yeah.\n\n**STEVE MCGHEE:** Nines, right?\n\n**JORDAN GREENBERG:** Mm-hm.\n\n**STEVE MCGHEE:** We've taken up way too much of your time, and we have one closing question, which you can either take seriously or not. It's up to you entirely. Which is, in the future, in the distant future, my personal belief is that more people are going to depend on big computer systems than they do today, for good or ill.\n\nIt's just going to keep getting bigger and stuff. And this is even life-saving things or really important things. Does this freak you out, or are you optimistic about this? How should we consider the future when it comes to society depending on computers?\n\n**JOHN ALLSPAW:** So I've got an answer that's succinct, I believe. And it's something that my colleague Richard Cook and I wrote. It's his words, because you can tell-- you've known Richard-- his vocabulary was quite exceptional.\n\nIt's a chapter in the Seeking SRE book, and the title is SRE Cognitive Work. The introduction goes into saying, things become more complex as they become more successful, which fits to the basis of your question, Steve. He says we're involved in exploring how this is kept running and handled when things are not going well.\n\nWhat we find is both inspiring and worrisome. It's inspiring because the studies reveal highly refined expertise in people and groups, along with novel mechanisms for bringing that expertise to bear. It's worrisome because the technology and organizations are often so poorly configured to make this expertise effective.\n\nThe beginning of the chapter that we put a quote, and that I think-- actually, there are scientific papers written about how the work that this quote has come from, which was written in '83, has only become more relevant. And Ms. Ann Bainbridge points out that there is an irony that the more advanced an automated system is, so more crucial must be the contribution of the human operator. Machines aren't responsible for anything, but people are.\n\n**JORDAN GREENBERG:** Absolutely, that's a great summary.\n\n**JOHN ALLSPAW:** And there's an opportunity. I remain optimistic.\n\n**STEVE MCGHEE:** Yeah, this is the Ironies of Automation paper. I think it's oft cited.\n\n**JORDAN GREENBERG:** Well, thank you both to our guests, John and Casey. You've had some really awesome notes for us. I think we can summarize by saying MTTR bad, and the human factor of how we use our tools to end up with something and be responsible for something is most important here. Thanks again for showing up and talking with us today, and have a great day, everybody.\n\n**CASEY ROSENTHAL:**Thanks for having us.\n\n**JORDAN GREENBERG:** Bye.\n\n**JOHN ALLSPAW:** See you all.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 36443, "slov": 6361, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:12", "sha256": "9d94eaec58322dc6fb4723266a3e886384316468a921e8ee1695b13f4e009a19", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12/", "titulek": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "h1": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "popis": "This episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12"}, "headline": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw", "description": "This episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.", "image": "https://kstatic.googleusercontent.com/files/631395f4f529ab2fa523d707da888b7eb40f6460e2215afe811a9ec76dffd84076243ffad158474c90ce5fd25a92dbda873aca1cbd50b6b341973bff51084b45", "author": [{"@type": "Person", "name": "Casey Rosenthal "}, {"@type": "Person", "name": "John Allspaw"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Human Factors in Complex Systems with Casey Rosenthal and John Allspaw"}], "markdown": "# Human Factors in Complex Systems with Casey Rosenthal and John Allspaw\n\nThis episode features Casey Rosenthal (Founder, Cirrusly.ai) and John Allspaw (Founder and Principal, Adaptive Capacity Labs), joining our hosts Steve McGhee and Jordan Greenberg. Together they discuss how resilience appears in Software Engineering and SRE and explore the importance of understanding the human factors involved in adapting to system failures—highlighting the need for a more qualitative and holistic approach to understanding how engineers successfully adapt to system behavior and improving overall reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee.\n\nThis season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** All right, welcome, everyone, to season three of The Prodcast. I'm your host, Steve McGhee. This season, we're talking about software engineering in SRE and production software.\n\nWe have two guests today that are going to talk to us about resilience and robustness and other words that start with R. We have our two friends, Casey Rosenthal and John Allspaw. And of course, I'm also honored to have Jordan. Jordan, say hello, please.\n\n**JORDAN GREENBERG:** Hello, everybody. It's nice to be here.\n\n**STEVE MCGHEE:** Cool, and then why don't we have our guests introduce themselves?\n\n**JOHN ALLSPAW:** My name is John Allspaw. I work at a company called Adaptive Capacity Labs here in Brooklyn, New York. That's probably enough, I think.\n\n**STEVE MCGHEE:** What is Adaptive Capacity, John? Tell us a little bit more. Come on.\n\n**JOHN ALLSPAW:** I used to work at a company here in Brooklyn called Etsy. I was there for about seven years. While I was there, as CTO, I did a Master's degree in human factors and system safety.\n\nA little bit of time before that, which kind of dragged me to that program-- it was continually nagging and still does to this day, the belief that the types of work that we do in software engineering, and operations as a whole has much more to do with other historically known, colloquially known, as safety critical domains.\n\nSo it's places that there's high consequence, high tempo, aviation, power, control rooms, and nuclear power plants, air traffic control, medical and clinical environments, all of these things that you think of. If you hear the term human factors, that's what you think of.\n\nAnd so I reached out to a couple of people that I was reading so much about. And it turns out I said, come look at this. Am I right about this? Am I in the right direction?\n\nAnd both of them said, nope. You are unfortunately very in the right direction, I'm sorry to say. So let's get to work. And then I worked with them.\n\nAnd then I left Etsy, and I got to work with the heavies who have founded many, many important things along these lines, including entire fields such as resilience engineering.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** That's awesome.\n\n**STEVE MCGHEE:** We're going to get into that word, one of the R words, in just a minute. Casey, why don't you introduce yourself?\n\n**CASEY ROSENTHAL:**Sure, I'll try to be similarly brief with my intro.\n\n**[LAUGHTER]**\n\nSo I'm the founder of a startup called Cirrusly. Cirrus like the cloud. Cirrusly.\n\n**STEVE MCGHEE:** I get it.\n\n**CASEY ROSENTHAL:**Yeah? And generally, I'm known as the chaos engineering guy. I built and managed the chaos engineering team at Netflix, evangelized it, started the conferences, wrote the definition, wrote the book on it, stuff like that, and been trying to follow in John's footsteps.\n\nI followed him into the Human Factors and Safety Systems master's program at Lund, but I just can't keep up. Life of an entrepreneur, I keep getting distracted by running companies and writing books and, occasionally, kids and things like that. But yeah, I'm trying to walk the righteous path that John has pioneered in tech.\n\n**STEVE MCGHEE:** Awesome.\n\n**JOHN ALLSPAW:** It's a mutual feeling.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** My mom calls me a chaos engineer when I leave stuff all over the floor.\n\n**CASEY ROSENTHAL:****[LAUGHS]**\n\n**JORDAN GREENBERG:** Is that the same thing?\n\n**CASEY ROSENTHAL:**Are you doing it on purpose to test the limits of your mother's patience?\n\n**JORDAN GREENBERG:** Yes.\n\n**CASEY ROSENTHAL:**Then, yeah.\n\n**JOHN ALLSPAW:** There you go.\n\n**JORDAN GREENBERG:** All right.\n\n**JOHN ALLSPAW:** There you go.\n\n**JORDAN GREENBERG:** I'll tell her that. She'll love to hear it.\n\n**STEVE MCGHEE:** So in the past year or so, I've learned a little bit about the role that you guys-- or the realm that you guys inhabit a little bit. There's a group called Learning From Incidents.\n\nThere was a conference. Was it last year or the year before? I can't remember. What is time?\n\nAnd one of the things that has come up that I've noticed is there's a bunch of words that have definitions that are all very close to each other, but they're all very importantly different from each other. And a lot of them start with R, so I'm just going to list them really quick.\n\nWe don't have to define them today, but I think it's just fun just to point out. We have resilience. Some people say resiliency. There's robustness. There's rebound. There's reliability. There's probably more than that, and they're all slightly different from each other.\n\nSo one thing that's important about this set of words is that sometimes people use them to describe a computer system, and sometimes it's a computer system with the humans that then control that computer system. And as far as all the R words go together, it's that last point that it seems to be the most important to me in my head of making sure you include those humans in the system. And the phrase, sociotechnical system, has come to be pretty important as well.\n\nSo I wonder if you guys can tell us the stories that are necessary for people to understand this at a high level to get into it. Why is this important? Why is it a big deal? Why can't we just talk about bugs and features and things like that?\n\nDo we really need to think about humans too, John? Is it really that important? Casey, do you think so? What do you think?\n\n**CASEY ROSENTHAL:**Yeah, if you actually care about the outcomes that should matter to the business, that drive customer satisfaction and probably correlate with revenue, then you should care a lot about the humans and the role that they play in the technical systems, because they're the most important part. And generally, focusing on the most important part is a good idea.\n\n**JOHN ALLSPAW:** I would concur with my friend. I might even go a little bit further and say that the only reason why any companies are successful are because of people.\n\nSometimes we will do a thought exercise with groups that we-- in conference talks or groups that we work with. And we say, imagine if tomorrow-- thought experiment-- at 10:30 AM, everybody is instructed to stand up, step away from your computer, and do not answer your email. Don't answer a page or an alert. Don't commit any code. Do nothing to this technical stuff.\n\nAnd then I want you to think how long will the system continue to run exactly the way you hope, expect, and intend. Would it last 24 hours, 36, 72? Would it last a week?\n\nEven those who say it would last a week are pretty hard pressed to say much more than that. That's actually, I think, a bit stunning. It means that people are doing things to keep the system working. So yeah, that's the strong agreement that I've got with Casey.\n\n**STEVE MCGHEE:** So clearly, what I was asking was tongue in cheek and leading and all these things. But the reason why I ask it is because, also, this isn't what is always focused on, specifically around when stuff breaks or when we're planning the future or whatever.\n\nSome companies, sure, but most companies, they focus on the other thing, not on the people thing. So why is that? Why do you think that that's the case? And is it something we should think about?\n\n**CASEY ROSENTHAL:**Well, it's the case because it's easy. **[LAUGHS]**\n\n**STEVE MCGHEE:** Yeah.\n\n**CASEY ROSENTHAL:**Well, there's two reasons. One is habit, right? So we've got a hundred-plus years of habit, of thinking of software the way insurance companies taught us to think about manufacturing.\n\nAnd industry titans. Scientific management, framed up how we think about producing things and where mistakes are made or where outcomes that are undesirable for the company-- how to think about placing blame for those outcomes.\n\nSo we've got a lot of history and baggage that we can drop. And then we've got a lot of stuff that's just-- it's easy to track numbers like MTTR, at least in theory. It's easy to track numbers like that, and then point at a number and use that to judge whether or not something's good or bad.\n\nI'll go ahead and jump forward a bit and highlight why this is important. We're recording this about a month after a huge CrowdStrike outage that cost probably billions of dollars and had a catastrophic impact, globally. So this is a very serious outage.\n\nAnd what we as an industry are facing is an increasing call, particularly here in the US-- they've already made more headway in the EU on this, but particularly we're going to feel this in the US-- to regulate things like uptime. And once regulation comes in to regulate things like uptime, then a cascade of bad things are going to happen.\n\nA, it's not going to improve uptime, because it's asking to measure the wrong thing. But it opens the door to regulating our industry and putting gatekeeping in our industry that won't be to the benefit of innovation or software engineers, and certainly not to-- it'll be a setback to DEI efforts because getting degreed and certified in something is going to favor people who already have privilege in our society.\n\nSo our industry is facing an existential crisis that most of us, I don't think, are even cognizant of as the government is asked to get increasingly involved in regulating our industry because of things like the CrowdStrike outage.\n\n**JORDAN GREENBERG:** Right.\n\n**JOHN ALLSPAW:** I wanted to add. Paul Reed, I think in 2018, I think, and then 2019, put together a conference called Redeploy. And at the first, the very first one, he said at the beginning-- and this is something that I continue to believe. I'm glad that he said it.\n\nAnd it fits with what Casey said, which is, our field, our community-- especially the SRE-adjacent sharpened practitioners-- we are enthusiastic more than other domains or more than other communities about real, concrete, messy-detail observations that are bottom up, right?\n\nFrankly, you could make an argument, that's not too far, extreme programming, and agile and DevOps and continuous deployment-- These were not things that came from somebody who doesn't have close contact with the real messy details. It was starting this enthusiasm. The fact that they're learning from incidents, Slack had grown. The fact that there are more people doing their Master's degree.\n\nThe fact that Casey even begun the program is notable. And what Paul said is this momentum-- I'm paraphrasing —ut this momentum is important because if we don't have a chance at helping set the agenda for what genuinely productive, humane, and just pragmatically good the future will be, then someone will do it for us, and we will not likely be happy about the results.\n\n**JORDAN GREENBERG:** Very good point. Switching gears a little, I've heard that people avoid declaring an incident because it means more paperwork. You have the incident itself, the action items, writing the postmortem and the retrospective, reviewing the postmortem and retrospective. And sometimes this means getting named and shamed for something that you were responsible for. Nobody likes that.\n\n**JOHN ALLSPAW:** No.\n\n**JORDAN GREENBERG:** Do either of you have any advice on how to approach retrospective reviews of postmortems after an incident?\n\n**JOHN ALLSPAW:** I do.\n\n**JORDAN GREENBERG:** Go for it.\n\n**JOHN ALLSPAW:** It's a great question with a number of potential hypotheses. Jordan, I would say that there are many reasons-- we've certainly seen many-- amongst those that you counted out for reluctance to declare an incident.\n\nNow, of course, it's a label that is negotiable. It's always negotiable. And there are lots of reasons why people-- even outside of those-- yes, of course, if I call this an incident, jeez, man, that means I'm going to have to do all this stuff. And sometimes it's just a hassle.\n\nBut it's only a hassle because experience has told them that it doesn't matter. It doesn't do anything. I'm going to go to a meeting that people won't pay attention to. I'm going to write up a document that nobody's going to read.\n\nAnd so there's a cycle that's based on this expectation. In that situation, it's just a hassle. In other situations, it is another thing that you said, Jordan, which is it's a hassle, and I may open myself up for unwanted attention.\n\n**JORDAN GREENBERG:** He would say that.\n\n**JOHN ALLSPAW:** Yeah. Yeah, because for multiple reasons. Because if there's an incident, and something's broken, that draws attention from the people who are super far, a.k.a. leadership.\n\nAnd then because it has that label, they're really concerned. But if we don't call it that, the same reality can play out. But they won't have that much, right? So I'm incentivized to not do it.\n\nThe third reason, which I see more often, is neither of those dynamics. We've seen plenty of organizations-- not plenty. We've seen a number of organizations. We spoke at the first LFI conference. I gave a talk with one of our clients, and this is one of them.\n\nThey're not afraid of doing the paperwork, the bookkeeping, because, actually, they've seen that it is a huge-- people are psyched for it. People will cancel other meetings so they can go to the group review meeting.\n\nThey look forward to it. They also aren't afraid that anybody is going to yell at them or there's going to be table pounding. The reason why they don't is because they're not actually sure at the time whether or not it actually is an incident.\n\nIncidents don't show up with a big sticker on its forehead and says, I'm an incident. Start paying attention, right? Partial, weirdly degrading, but only a little bit can be an incident.\n\nThe reason why people will demonstrate this-- if you've ever had an incident or experienced an incident, and afterwards you realize that it started way before, then you noticed it.\n\n**JORDAN GREENBERG:** Yes.\n\n**JOHN ALLSPAW:** Right? So declaring an incident in that situation is only-- sometimes you did know it, and you say to your cousin, hey, this looks weird, right? Not weird enough like, oh, my god, but this looks weird?\n\nAnd they're like, yeah. Huh. Is it something? I don't know. See what happens. Maybe it'll balance out. Maybe it'll clear itself out. All right, we're going to go to lunch. We'll come back.\n\nSome time will pass. And then they'll say it's not looking better, and it looks like it might be getting worse. Now let's decide. We're going to call this a thing now for some reason. That's a judgment, a judgment call.\n\nHindsight will only be the one that tells us the outcome. So it can be hard. Some of the most ambiguous parts of responding to an incident is even working out whether it's an incident or not. Also, same thing, sometimes it can never be clear when it's over.\n\n**JORDAN GREENBERG:** True.\n\n**STEVE MCGHEE:** Yeah, one question I ask customers who are confused by this is, do you use severity levels, and do they ever change? And why do you change them? And when do you change them? And who changes them?\n\nIt's all over the map, the reasons and who does it and why. The severity, to me, is just madness, right? It could be anything. And to me, that tells me that this is not a science right now.\n\nThis is pure vibes, which is fine. That's where we are. But we don't want to delude ourselves into thinking that it's pure science.\n\n**CASEY ROSENTHAL:**The part of that I don't think is fine is that it's treated like science.\n\n**STEVE MCGHEE:** Yeah, yeah, good point, good point, for sure.\n\n**CASEY ROSENTHAL:**And that does get us in trouble because MTTR is a similar thing. MTTR, I'll just go out on a limb and say, if you're tracking that, at best, you're wasting your time, because MTTR is complete bullshit. I'm not sure I can--\n\n**JOHN ALLSPAW:** No, no, it's Google, so you say horseshit.\n\n**STEVE MCGHEE:** Horseshit, OK, thank you. Thanks for the clarification, John.\n\n**JOHN ALLSPAW:** No problem.\n\n**CASEY ROSENTHAL:**And let me just back that up by saying we have the math. We have the studies. We have the scholarship. We have proof that MTTR is horseshit. So if you'd like that proof, we can give you access to that. The proof exists. It's a waste of time.\n\nSo when companies spend time and attention focusing on bad things or wrong things like MTTR or severity-- severity is another one-- you're exerting effort in a way that can only lead to bad outcomes because businesses that are poorly aligned don't function well, right?\n\nSo when you try to align around something that's false or misleading, then you can't highly align. And that causes resentment, and then people start not liking things. So then you've got a business that isn't functioning well, and people are miserable there while they're doing it.\n\nSo I think a lot of the negative attention around incident management comes out of that. A lot of people intuitively know that some of the processes that they're following are irrelevant or inconsequential or the wrong thing to be doing for the better sake of the company.\n\nBut they do it because it's process, because it's mandated by leadership. And that's part of the problem. If we don't address that and change that, change how the industry thinks about those things, then we will continue to have those negative spirals and poor outcomes and conversations that don't help but rather hinder the industry moving forward, like the majority of the conversations that came out of the CrowdStrike incident that were just not helpful.\n\n**JOHN ALLSPAW:** Yeah. I have two very small things to add to what Casey said. I like to think sometimes as severity as a GROUPBY for everything else, right?\n\nIt's like, oh, MTTR. The other thing-- the most cogent, eloquent take on, in particular, severity, M group at SREcon this past Spring gave a talk with one of the best titles ever, which is What is incident severity but a lie agreed upon?\n\nAnd the take that they had is absolutely spot on. It may have been the best talk I saw. It certainly tied with the best talk I saw. So if you haven't seen it, it's very good, and it's just all laid out.\n\n**STEVE MCGHEE:** Yeah, that really landed it for me, as well. I remember seeing the same talk. In fact, I think this is the second time it's been mentioned on this podcast, so that's two votes for M. Way to go.\n\n**JORDAN GREENBERG:** I think that's true, yeah.\n\n**JOHN ALLSPAW:** So if you haven't seen it, listeners--\n\n**JORDAN GREENBERG:** Now's the time.\n\n**JOHN ALLSPAW:** --you're behind.\n\n**STEVE MCGHEE:** That's right. OK, so we can't MTTR. Got it. We can't just blame the people for not trying hard enough. Got it. We can hope that people will take the time to decide, oh, yeah, that was a thing, and maybe we should write some things down about it. Maybe, right?\n\n**JORDAN GREENBERG:** Maybe.\n\n**STEVE MCGHEE:** Postmortems are a thing that we talk about in SRE, and sometimes we review them and try to learn from them. But what comes out of that a lot tends to be, fix this bug. Do this thing. Add this monitoring. It's a bunch of to-do items.\n\nAnd I've heard from a lot of people that we actually want to focus a little bit more on learning about our system, as opposed to doing things further to our system. But those seem harder to count, right? Those seem harder for spreadsheet wizards to agree that it's a good thing about.\n\nWhat I'm getting at is, how do we push people towards the activities that actually make a difference, as opposed to those that are easily accountable, if you know what I mean?\n\n**JORDAN GREENBERG:** Absolutely. As a spreadsheet wizard who ran the postmortem events, I have never seen an action item given to SREs that said, keep watching this and see what affects the system over time.\n\nI've never seen, capture if this is an isolated incident or if this is something that has been ongoing and will continue to be ongoing. I've not seen, fix the thing, and then capture it, and then report back later. I've only seen, here are your action items. When these are done, you can close this postmortem report and carry on with your day.\n\n**CASEY ROSENTHAL:**Yeah, that's ripe for the government to step in and say, you know what? We asked the Fortune 50 companies what their best practices are for action items, and here they are. So now you have to do these same action items.\n\nSo let's take a completely different perspective and say, have you ever come out of an incident review with the understanding that we need to figure out if customers cared that this thing happened.\n\n**JORDAN GREENBERG:** Huge, huge.\n\n**CASEY ROSENTHAL:**Did this impact customers? Or here's another one. The outcome that we all think needs to happen is the CTO needs to allocate more resources to this. That's not an action item.\n\n**JORDAN GREENBERG:** True.\n\n**CASEY ROSENTHAL:**Right, but compare that to an action item. Which one is more likely to result in a system that's more reliable? Telling an engineer who's working on the thing, oh, yes, if you monitor this thing, then it's less likely? Or getting the CTO to invest more resources?\n\nI think we all agree just off the cuff that getting the CTO to invest more resources is immeasurably more impactful to the reliability of the system. And that's never going to come from an action item list or-- I don't know-- spreadsheet wizardry.\n\n**JOHN ALLSPAW:** Yeah, I completely agree, unsurprisingly. There's a lot of topics. And Steve, this question is load-bearing in multiple ways.\n\n**CASEY ROSENTHAL:**I'm so sorry.\n\n**JOHN ALLSPAW:** It's fine. It's fine. I'm going to try to keep my thoughts about this topic-- sorry, topics-- coherent. I don't want to be all over the place.\n\nLots of organizations-- and again, this is mostly in the realm of conventional and typical, which is really the only time I'll be abstract. What we see often is that, along with counting things-- I'll get to that in a second. I don't think counting things is inherently bad. Counting the wrong things turns out to be terrible, which I think we've already covered.\n\nAs a practice, sometimes, the more severe the incident or more impactful, more significant-- let's just say that-- the less time people are given to produce an explanation and a description of the event, right? Or sometimes they'll say you need to have-- whether it's a norm or a mandate or a policy, whatever you want to call it-- within n number of hours, you have to have some description.\n\nSome of that, I completely understand, are dictated by or led by contractual obligations with customers. But those are different communications and different activities than helping people inside the organization, right?\n\nIt is ironic, or it's reversed, inversely proportional. Though, if it's a significant incident, a surprising incident, it was probably because-- part of it is because it was really hard to figure out. It was really hard to figure out what to do about it once you figured it out. And it was hard to figure out whether or not that worked.\n\nSo in other words, the most complicated, difficult, uncertain, ambiguous event gets the least amount of time to describe, which is, I think, backwards. As a result of that, people, they'll put in what they think. It's a bit of a cynical take, but they will put in items in a template sometimes. Templates are really good for giving you an excuse for not to be curious.\n\nSo as a result-- and we only booked this conference room for an hour. How many times did we say, well, listen, everybody, listen. It's great that we're talking about this. And we're blameless, by the way, thanks, super blameless. I appreciate that.\n\nBut listen, we've got five minutes here, and I only see three-- let's come up with-- I don't want to come out of here without five. Is there something that we did already that I can put down?\n\nIt's more of a demonstration that you're doing something. And so if you've had any experience as a software engineer, then you have had the experience where you're banging your head, you're really having a tough time with this particular bug, and you're exhausted, right?\n\nYou've already tried the afternoon coffee trick, and now you're wired, and you're scattered. It's like, screw this. I'm just going to put this down. And it's in the shower the next morning that you realize what the thing was, right?\n\nSo don't be surprised if, during some mandated short period of time, you come up with ideas for action items that, given some time and space to reflect on it, you realize is a terrible idea, right? You want to force people to go ahead and do them when they know that there's a good chance that, if you were to do it, it might make things worse. Or it might fix that thing and introduce new things, a new vulnerability.\n\nSo yeah, that's why you see Jira tickets that say it won't fix. Thank God there's that field you can drop down.\n\n**JOHN ALLSPAW:** Because it's not a good idea. That phenomenon, by the way, where you're going to intend, whether it's an action item or not, some post-incident remediation item that turns into yet a new set of latent conditions or enablers for a different type of thing to surprise you-- colloquially, we've attributed that to Lorin Hochstein. I think someone had coined that Lorin's Law. And now that you have a term for it, you're going to see it.\n\n**JORDAN GREENBERG:** I see. OK, so if postmortems are not the way to turn an incident into more headcount for your team, what should we want to get out of them? What are some things that have genuinely come from postmortem reviews or post-incident system monitoring that have impacted reliability positively in your sphere?\n\n**STEVE MCGHEE:** What does work, John? We've said all the things don't work. What's left?\n\n**JORDAN GREENBERG:** What does work?\n\n**CASEY ROSENTHAL:**Yeah, so this is the most exciting part of this because it's blue skies. We can give you a couple of ways that have been positive and fruitful things to do. Chaos engineering is a whole field that improves reliability and understanding of complex systems. You can put a number on anything, so it's very easy to go from qualitative to quantitative measurements.\n\nBut I generally suggest people don't start with the quantitative stuff, because you're probably measuring the wrong thing first. Start by measuring qualitative things. And there's a bajillion frameworks to measure things qualitatively, and we can propose a couple.\n\nBut there's no limit on the number of systems that you could use to measure things qualitatively and understand a system in qualitative description that would get around your problems with, for example, severity or what counts as downtime, these descriptors, MTTR, things that just don't work. So it's a very young seed for a field that we can open up and define if we choose to pioneer this field.\n\n**STEVE MCGHEE:** Without putting you on the spot, Casey, can you go into that a little bit further in terms of-- can you provide a made-up example, even, of starting with a qualitative scenario or read on a subject and then describing some quantitative outcome?\n\n**CASEY ROSENTHAL:**Yeah, sure. So we would have system degradations-- So when I was at Netflix, there was always some part of the system that was degraded, take that for granted just at the scale that it's at. There's always some part.\n\nSo declaring an incident started at time x and ended at time y. It's just not helpful, regardless. John gave me the great example of incidents that have a negative resolution time because by the time you noticed it, it had already resolved itself. **[LAUGHS]** So those numbers don't help.\n\nOne of the scales that I've brought over from business instructional settings is the Kirkpatrick method, which just has four tiers of ways of qualitatively measuring the outcome of a program.\n\nNow, I took it from an educational background, because it's describing learning, right? So it's saying, we applied, in this case, a training, and then we want to, OK, at level 1, did the people who got the training think it was useful, right? It's just asking them.\n\nAnd in the case of an incident, just ask the people who are part of it, hey, did you learn something from this review, right? Or we introduced chaos engineering tools. To the people using the tools, is the tool useful to you. And then going up the stack, OK, now you ask the people that they report to, hey, are there things that you're responsible for that you think this is actually contributing to the success of your team?\n\nAnd then you go higher, and the fourth level is-- at that level, do you have some evidence that introducing this practice or conversation or tool or whatever impacted something that the business cares about?\n\nAnd that's not instrumentation. That's not necessarily measuring something. That can be a, quote, unquote, \"gut feeling,\" but it can be somebody's context and their understanding of their world in their given context, which, in this case, if you're hiring an executive to manage cloud operations or whatever, you're paying for their expertise to understand their context.\n\nSo you don't have to put a number on it. Just ask them. **[LAUGHS]** Is this thing improving how your organization benefits the business? And that's a completely different question, and so much more interesting to get that answer than to say, were we out of SLO? Or how many high severity incidents did we have this quarter because I want to tsk-tsk at somebody if it was higher than last quarter.\n\nThat's useless. Anybody who operates systems at scale knows that has no reflection on the success of the system or the effort that was put in to make the system perform the way the business expected it to. So just don't look at those things. Instead, go to the people.\n\n**JOHN ALLSPAW:** Yeah, I have an answer that's complementary. I actually do have-- we're in the middle of writing a book, and I can't believe I just mentioned that, because now it means that we'll have to finish it.\n\n**STEVE MCGHEE:** Gotcha.\n\n**JOHN ALLSPAW:** Right, and it's been going on for years.\n\nThink about when you're not having an incident. How did that happen? You're making changes on every dimension, statistically, mathematically, conceptually. Organizations that we're talking about are astronomically more successful than they are down, right? It's an industry where we talk about it in the number of decimal places after 99%.\n\n**JORDAN GREENBERG:** Statistically significant.\n\n**JOHN ALLSPAW:** Right. What goes into making that successful? People are putting stuff in like timeouts and retries. And this thing, we should have some redundancy for. This thing over here. How do they know that? Experience is a cop out answer. Expertise is the answer.\n\nAnd they understand that because either, one, they have first hand experience of what it looks like when they don't do that stuff. And number two, they have heard, they have benefited from an experience that somebody else has had. This is known as vicarious learning. And so the way that systems improve is by creating, number one-- I'll start with this one.\n\nNumber one is exactly what Casey said, which is let go of the possibility that you're going to be able to measure this in some sort of way, like humidity and temperature and pressure and that sort of thing.\n\nOnce you let that go-- because here's the thing. You're already doing that. There are many expensive activities that organizations are engaged in that never get economic scrutiny, that never get any sort of-- they don't even show up in a spreadsheet. Is there a spreadsheet by how many hours engineers engage in code review?\n\n**JORDAN GREENBERG:** Good point.\n\n**JOHN ALLSPAW:** I don't know of any group. I'm sure there might be. But I think we can all agree it is easily one of the most expensive activities in a software engineering organization, right?\n\nWhen I'm talking with engineers, we usually use the example of brand redesign, which is incredibly expensive and incredibly difficult, if not impossible, to measure. So what makes-- if you can-- I'm trying to impress Casey by not saying a couple of really academic words.\n\nInstead of looking at incidents as these disconnected, disembodied distractions in a category called cost of doing business and looking to reduce those negatives, how about figure out-- in spite of whatever policies and norms you have, people are way more successful.\n\nWhat goes into that? Increase that. Find out what that makes that work. Increase success by understanding it closely, rather than the other. Because with all of the shallow metrics stuff-- my colleague never really liked this framing, but the denominator is missing, right? Oh, you've had six incidents this week. Out of how many?\n\n**STEVE MCGHEE:** Yeah, we're measuring all the red stuff, but we don't measure the green stuff very well, do we? Even though there's way more green than there is red.\n\n**JOHN ALLSPAW:** Way more, way more, yeah.\n\n**STEVE MCGHEE:** Nines, right?\n\n**JORDAN GREENBERG:** Mm-hm.\n\n**STEVE MCGHEE:** We've taken up way too much of your time, and we have one closing question, which you can either take seriously or not. It's up to you entirely. Which is, in the future, in the distant future, my personal belief is that more people are going to depend on big computer systems than they do today, for good or ill.\n\nIt's just going to keep getting bigger and stuff. And this is even life-saving things or really important things. Does this freak you out, or are you optimistic about this? How should we consider the future when it comes to society depending on computers?\n\n**JOHN ALLSPAW:** So I've got an answer that's succinct, I believe. And it's something that my colleague Richard Cook and I wrote. It's his words, because you can tell-- you've known Richard-- his vocabulary was quite exceptional.\n\nIt's a chapter in the Seeking SRE book, and the title is SRE Cognitive Work. The introduction goes into saying, things become more complex as they become more successful, which fits to the basis of your question, Steve. He says we're involved in exploring how this is kept running and handled when things are not going well.\n\nWhat we find is both inspiring and worrisome. It's inspiring because the studies reveal highly refined expertise in people and groups, along with novel mechanisms for bringing that expertise to bear. It's worrisome because the technology and organizations are often so poorly configured to make this expertise effective.\n\nThe beginning of the chapter that we put a quote, and that I think-- actually, there are scientific papers written about how the work that this quote has come from, which was written in '83, has only become more relevant. And Ms. Ann Bainbridge points out that there is an irony that the more advanced an automated system is, so more crucial must be the contribution of the human operator. Machines aren't responsible for anything, but people are.\n\n**JORDAN GREENBERG:** Absolutely, that's a great summary.\n\n**JOHN ALLSPAW:** And there's an opportunity. I remain optimistic.\n\n**STEVE MCGHEE:** Yeah, this is the Ironies of Automation paper. I think it's oft cited.\n\n**JORDAN GREENBERG:** Well, thank you both to our guests, John and Casey. You've had some really awesome notes for us. I think we can summarize by saying MTTR bad, and the human factor of how we use our tools to end up with something and be responsible for something is most important here. Thanks again for showing up and talking with us today, and have a great day, everybody.\n\n**CASEY ROSENTHAL:**Thanks for having us.\n\n**JORDAN GREENBERG:** Bye.\n\n**JOHN ALLSPAW:** See you all.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 36443, "slov": 6361, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-12", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:47", "sha256": "9d94eaec58322dc6fb4723266a3e886384316468a921e8ee1695b13f4e009a19", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13", "titulek": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "h1": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "popis": "In this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13"}, "headline": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "description": "In this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.", "image": "https://kstatic.googleusercontent.com/files/029c9c97f741890dfeab8ede6679c1bc33a3e218c51ffec5d75aca2d02dc35400c6f3847edc9158c1d6619919895d54af02f28955d358b21ffb368268afd30a8", "author": [{"@type": "Person", "name": "Dominic Hutton"}, {"@type": "Person", "name": "Niccolo' Cascarano"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano"}], "markdown": "# Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano\n\nIn this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Welcome back to the broadcast, Google's podcast on SRE and production software. I'm your host, Steve McGhee, and I'm joined again by Jordan Greenberg. Hi, Jordan.\n\n**JORDAN GREENBERG:** Hi.\n\n**STEVE MCGHEE:** Hi. This season is all about software engineering and SRE. And today's episode is about something maybe we don't always think about as traditional software engineering, but it is dear to SRE's hearts, configuration.\n\nYou might have heard about imperative versus declarative configuration and config as code. But I like to say config is code. And today, we'll dig into the ramifications of that. OK, let's bring in our guests. Today, we have Dominic and Nicc. Guys, please introduce yourselves.\n\n**DOMINIC:** Sure. I'm Dominic. I'm a Staff SRE at HashiCorp. Before that, I spent most of my time in smaller early stage engineering organizations, where I've been lucky to work on a mix of stuff, like from satellites and IoT through to SaaS in the finance and HR space. I don't know. They were foolish enough to give me a chance, and I had a bunch of fun and opportunity to learn. So that's me. Nicc?\n\n**NICCOLO':** Hey, thanks. I'm Nicc. I have been a Google SRE since the very beginning of my career. I just came to Google straight off my university. I started in Google in 2011, and I've been working in the last 10 years for the internal continuous delivery system, which is based on a declarative approach, which is going to be part of the topic that we talk about today.\n\n**JORDAN GREENBERG:** Nice. Another person who started at Google as their first job out of college. We are kindred spirits.\n\n**STEVE MCGHEE:** Me too, kind of. I had a job in a different college. Does that count? I don't think that counts. I think it was--\n\n**JORDAN GREENBERG:** I don't think that counts.\n\n**STEVE MCGHEE:** No? OK.\n\n**JORDAN GREENBERG:** I think you're good. We're twins.\n\n**DOMINIC:** You've been ousted. You're not part of the club, unfortunately. I'm sorry.\n\n**JORDAN GREENBERG:** You know what? You are now. You made it. You're here. Glad to have you.\n\n**STEVE MCGHEE:** There are many clubs, it turns out.\n\n**JORDAN GREENBERG:** Yes. So I would like to know, as an SRE TPM, what does declarative and imperative mean in this context of SREism? Did you make these words up? Were they adapted from something else? Math is different than SRE apparently. So what does it mean in this context?\n\n**DOMINIC:** I don't think we made them up. Pretty sure we took them from a bunch of other domains. All stuff's derivative, right?\n\n**JORDAN GREENBERG:** Yes. Absolutely.\n\n**DOMINIC:** Obviously, computer science and programming.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** All words are made up, it turns out.\n\n**JORDAN GREENBERG:** So what are the terms declarative and imperative in this context? They do come from other places like math and whatever. And I guess math is SRE. But in the SRE context, what does declarative and imperative mean in this way?\n\n**DOMINIC:** We definitely stole them from somewhere, that's for sure. I don't know. I guess I have some formal study background, like I work a lot on Vibe and things I've learned over the years. To me, the main difference is that declarative normally involves like there's a DSL that describes something. And you give that DSL to something, which decides how to arrive at the point you described.\n\n**STEVE MCGHEE:** That's a domain-specific language, right? The DSL.\n\n**DOMINIC:** Yeah. Sorry. I'm bad at the acronyms thing as well. I'll try to cut back on that. And then imperative is like most people will be used to in like traditional programming. It's like you write some instructions, and they work through top to bottom. Maybe there's some control flow and like loops that do this thing 10 times. But yeah, that's very broad brush strokes. But the practicalities, when it actually comes to config management, there's some subtle differences. I don't know. Nicc, what do you reckon?\n\n**NICCOLO':** Yeah, I agree with you that the things that I explain, I used to explain what declarative and imperative really means is I always say if you are giving me a piece of code, a script, a snippet of Python, bash script that runs specific instructions one after the other, that to me is imperative. It can be a very complicated script that is embedded into a larger system like Spinnaker, which by itself has a declarative-based API because you declare your workflow in Spinnaker through the Cloud API. But the end result is an imperative workflow that executes their operations.\n\nIf you are telling me instead that here is the data, a piece of data, which is normally a protocol buffer, a JSON file, or literally data, no program, and that defines the intended state that you want to reach, whatever the intended state represents, then to me, that is declarative system. So as you said correctly, you must have a domain-specific language which abstracts the right atom for you to operate in order to perform a declarative-based operation.\n\n**DOMINIC:** I guess there's another part I'd add into that, which is like something I commonly see in declarative, change control systems, is like the concept of modules or things you can import that other people have authored. And you can use them in your declarative stuff. And you kind of compose it all together to achieve the end result you wanted.\n\nWhereas like, yeah, you do do that in scripts. Well, sorry, I don't want to reduce imperative to scripts straight away. But in the imperative sort of change control world, you do do that. It just doesn't seem to be such a focus on it, which we might touch on a bit later.\n\n**NICCOLO':** Yeah.\n\n**JORDAN GREENBERG:** OK. So summing up, an imperative system, you have to produce the code for and in a declarative system, you produce the data for. Can an imperative system have a declarative interface?\n\n**NICCOLO':** Yes. As I said before, Spinnaker, it's the example that I brought before, which is itself, Spinnaker is a workflow engine, which means that you're going to write a workflow, which is just a script on steroids, if you want, which does many more things, and it's much more elaborated.\n\nAnd you produce the scripts by using declarative APIs like create, update. So you are going to create a node, you're going to create a step. You're going to create an action, whatever are the atoms that the Spinnaker API proposes. But in the end, your result is a workflow, which is an imperative script. That's how I would describe it.\n\nIf I want to give you a contrast, then I'll also let Dominic tell his own opinion on this. Kubernetes instead is declarative because if you look at a YAML file in Kubernetes, you say, I want to have this deployment with this image and this number of replicas. You don't tell it what to do. You just give to it. This is the intended state. Please reach it based on your own internal logic on how to enforce the intended state.\n\n**JORDAN GREENBERG:** When would you use an imperative versus a declarative?\n\n**DOMINIC:** I don't know about Nicc, but for me, speed is like something that comes in quickly. I can knock together a crappy script pretty quickly. But then I need to put on my engineering hat and be like, what is the longevity I expect out of this thing? Like do I expect it to be around for a couple of years? Like who's going to maintain it? Am I going to maintain it? Am I going to have to bring other people up to speed on it? Am I going to be able to satisfy the constraints that I need to, like security, or cost control, or whatever it is. Once it gets, I'm going to say more advanced, I start to lean towards declarative approaches definitely, like imperatives for quick stuff, quick and dirty in my books. But that's just my opinion.\n\n**NICCOLO':** Well, I share your opinion, to be very honest, because I was going to answer something along the same lines. So the advantages of imperative is that normally programmers are very used to writing imperative languages. So you execute the order. You execute the instruction in order and you know what is going to happen.\n\nThen you introduce multi-threading, and then it's where things start to become interesting. And it's the same for imperative because think about it. You start small. You start with your script and it becomes a Python program. Then this Python program that's responsible, maybe to push the version of your Docker images or whatever, is responsible for you need to push, not only to cooperate with another script that your colleague has written, that is the one that adjusts the dimensions of your replica sets or whatever capacity-management related things.\n\nAnd now you have two scripts that both contribute to the intended state of the same resource. And they need to cooperate because they do not share the intended state, the final intended state, because they just know a piece of it. So when you start to go in that direction. And then add more processes, and it becomes a quadratic problem because every other script needs to know the logic of everything else in order to synchronize, or you do it naively and with the mental synchronization, and then it becomes an interesting debugging exercise.\n\nOr you put everything under a declarative hood, which says the intended state is this and different components, different processes produce the specific part of the intent that they are responsible for, one for the version, one for the capacity, one for the other things, the experiment, flags, or whatever. They get combined into an intended state, which is then rolled out by the same system which takes care of rolling out the intended state across the fleet, following policies, following your predefined rules that you put as part of your configuration for, in this case, a continuous delivery system that is based on declarative engine.\n\n**JORDAN GREENBERG:** OK. So it's like the system is coming up with the imperative instructions to achieve declared intent.\n\n**NICCOLO':** Yes. The process described is for that can be written in any form you want. But in the end, they produce a part of the intended state, which is data. So it's like they are all contributing to the same piece of data, which is the intended state of the overall fleet, the overall system, or whatever they are controlling through the declarative engine.\n\n**JORDAN GREENBERG:** Nice.\n\n**DOMINIC:** In addition to the synchronization issues you touched on, something else that I want to bring up is like at least when you're in smaller orgs and you don't have a bunch of resources, you write this script, and it begins small. And then you need to add some things, and you add some other things. And all of a sudden, the script is big and depended on by many people and many things.\n\nAnd then one day, like change is risk, right? You need to change the script to do a thing, and it breaks. And the blast radius of that script has grown as the length of it has grown as well. I find with the declarative systems, you can decompose and pull stuff apart into smaller chunks, so that you sort of have like a blast radius or like a failure domain around like, oh, this is the module that controls the database, or this is the module that controls, I wouldn't even go that big, like x step in setting the database up, as opposed to like, oh, I changed the script, and we have a half deployed set of infrastructure, and nothing works. What do we do now? Rally the troops, I guess.\n\n**JORDAN GREENBERG:** So in an emergency, if we need to make some changes really fast, are declarative workflows slower than imperative ones?\n\n**NICCOLO':** I don't think the engine per se is slower. It depends how you configure it. So if you need to do something ad hoc because your specific emergency requires you to do one off data migration. If your declarative engine is not already supporting that thing, you're not going to be able to quickly implement it in the declarative system. So probably, it's better that someone puts down some good imperative workflows, or scripts, or whatever.\n\nAlthough I would say, normally, if you are in a declarative system where you can prepare your own emergency operations in advance, you are not in a rush to implement them quickly because that's the moment you make the outage worse to try to make it better. You make a very quick script that tries to go over everything, but then you type something wrong, and then you go over everything and everything else that you are not supposed to touch. And then the outage is suddenly worse. So it's always a balance to understand how quick you want to patch something. But remember, the quicker you go, the faster you make a mistake. The blast radius is bigger.\n\n**DOMINIC:** Yeah, I agree with that. I think an interesting thing I think about is like the breadth of how wide the number of systems you have to touch with this modification is. I think a lot of smaller orgs, I'll use the data migration example, they need to touch one database that backs their entire production system.\n\nAnd then like you get up to Google mothership scale, and it's like oh, well, globally replicated and shuttered, and there's definitely not one database, that's for sure. So we need to apply it across this wide set of infrastructure.\n\nI think operational teams find it hard to figure out when it's worth like approaching the buy-in to this declarative thing that allows me to roll out across a fleet, versus like what I commonly see in most orgs that are smaller, which is like, oh, I'll just open a console, or I'll have someone review my script and then run it against this thing.\n\n**JORDAN GREENBERG:** I know patching is really common in SRE. You're trying to do that gradual change that SREs are so gung ho about. You don't want to change everything at once because that's tough. But a patch sometimes can make that very big change when you don't want it to. Can you tell me about a time where a patch made something go sideways?\n\n**DOMINIC:** Yeah. I don't know if I want to get into the details.\n\n**JORDAN GREENBERG:** We won't share this with anybody, we swear.\n\n**DOMINIC:** Something that stands out to me, I guess with patching is like when you are trying to control the rollout of a patch with infrastructure as code, either declarative or imperative, I question if that's the right way to get that level of control you want, sort of contained the potential fallout.\n\nI start to look towards progressive rollout techniques, like feature flag enablement, or like perhaps a small segment of the fleet gets that first, and you observe it, referred to as a canary by most people before you let it roll broader.\n\nYou can affect that progressive change through declarative or imperative change control flows. But like I don't see that as like infrastructure as code's job. Infrastructure as code is just what you use to achieve that gradual rollout. Like it's no silver bullet, right? Yeah. Nicc, do you want to share a spooky patch outage story?\n\n**NICCOLO':** Yeah. It's a very complex and multifaceted question because the first thing I would say is that, well, it depends what kind of change it is, right. Is it- are you introducing a new feature? Are you removing a load feature? Are you writing a program to do a one off data migration from database A structure to database B structure?\n\nSo each of these is his own answer. I would say that in general, the majority of the changes gets packaged into a release of an artifact. Normally is the new compiled binary of your backend or the new set of JavaScript files that you need to roll out to production.\n\nI think the union of microservice architecture and micropatching is the strategy that is probably the most winning if you can do it and if you can afford it. Because not all situations can be done like that. If you are uploading firmware on on-premises devices of people, including the heating system that runs in your home, those get updated sometimes. You want to be very sure that those are always working. You don't want to shut down the heating system of the people in the middle of the winter because you made a mistake.\n\nSo probably those kinds of situations, you go on a much lower development because the risk of making a mistake is bigger. So it boils down to the risk management. So what risk are you managing? Are you risking mission critical systems that if they fail, they cannot work? Think about the Rover on Mars or Voyager 1. They are going to be very careful what they push to those things. Because you can't just go and fix them.\n\nIf instead, it's a microservice architecture, which is more fluid by nature and by architecture, and you can easily redirect traffic from non-working instances because you have set up canarying in the proper way, and you of course, you're doing the right AB, blue green approach to do comparison and doing regression analysis. The risk is much lower. So it depends a lot on what you are running to know if you need to deal with big patches or not.\n\n**DOMINIC:** I see patches as definitely something different to a code deploy, like a release of a new software version of software that we ship. That patch doesn't conjure that image up in my head. Like a patch to me is like, I don't know, an OS system dependency on the VMs that you like pull together to run your scheduler or what have you. And you increase it because you're like, yeah, faster JSON parsing. And then you're like, no, everything is on fire and nothing can talk to anything all of a sudden. I don't know what we did. Yeah, I guess I definitely answered for that.\n\n**NICCOLO':** Cool. Yeah, the first question I would ask in that situation would be what process triggered that? Was it a global sudden change? Because most of the time, you realize that you have a system that is global unknowingly. And you may all rely on a specific file in a specific distributed file system, just to coordinate the lock.\n\nAnd that one file is a global file. And if you change the name of the file because you are doing a migration, despite your system being well distributed and released in a gradual fashion and everything, then you have this single point of failure that the moment you touch it, everything falls apart.\n\nSo this is always very good. Now we're going probably more in a postmortem kind of culture and understanding what is going on. But that's exactly where you analyze what happened in the architecture to remove this point of failure when possible. Or you protect them with additional mechanisms that would prevent the next time a bad catastrophic failure to happen, probably.\n\n**DOMINIC:** I think I can tie it back to declarative pretty well. An exercise I'd recommend any team does is like think about your failure domains. And like maybe go through an exercise like fault tree analysis for your systems. Personally, as an engineer, like I find that decomposing stuff into declarative modules that I like pull in, and I manage, that helps me reason about these boundaries of failure and like break things up into components, and these things that interact with one another.\n\nIt's not like just doing that. It's not analyzing your failure domains, but it really helps, and it helps also get the team on the same page about what to refer to the bits and pieces as and how do they interact? Yeah.\n\n**STEVE MCGHEE:** Totally. One kind of issue that arises sometimes with teams that maybe have been around for a while, or let's just call them enterprises. Like large companies that have lots of people who have been doing different jobs for a while. Often we'll find, at least when I talk with customers, we'll find that there's a cultural like issue at play here when it comes to the team who writes the code and the team who manages the configuration. And often, we'll just call this the dev team and the ops team just for shorthand, but it can be lots of stuff.\n\nAnd so I think that one thing that we can we're kind of getting at here is the ability for the team who wrote the code and kind of owns the product and the complexity of the system, to be able to also then be the ones who tinker with the config and push the config or change the config or whatever. Because traditionally, it was not that. There was this set of config files that this other team just kind of either blindly or by following playbooks, would flip switches. Maybe not considering failure domains and things like that.\n\nSo I'm eventually getting to a question here. Like A, do you think this is a true story, or is Steve just making this up? But B, like is there something that can be done here for the industry and like within platform teams, within enterprises, where you build up a system that allows teams to manage their own fate? To not have to pass the ball over the wall, as we say. Where we can say like you can actually manage your own configuration through this new thing, and it has all these features and has these control structures.\n\nI think the trick here is alluding to all the problems we just talked through and all the options that we just talked through, like it's a big hairy beast. And so making people who are developing software choose through all that is yet another burden. And this is why we see platform engineering teams arise and saying like, here's how we configure the stuff. Like use this from now on. That was a long question. Like what do you guys think of this worldview? Am I way off base, or is this a real thing?\n\n**DOMINIC:** I'm on board with it. I think there'll be a couple of answers to this question. We might go back and forth over it a bit. When I work with the notion of platform engineering, that's what everyone's trying to do when they're working with infrastructure as code, I think, whether they recognize it or not.\n\nThe thing I circle around a lot is like what abstraction are you exposing to your consumers? Whether it's like a module that they can import, or I know I've seen like GitHub pull request-based workflows, where it's like open PR and this repo. And you'll get a bunch of stuff spun up, and you put the YAML block in the PR, and it configures what you get.\n\nLike whatever the interface is, the abstraction, like not the paradigm of like declarative versus imperative, but the abstraction that you expose is really where the meat of the problem is. Something that I struggle with like in the smaller orgs is the needs of the business evolve really quickly. So like you spend this time to build this awesome abstraction for the infrastructure needs of today.\n\nAnd by the time you ship it, they're like, no, we don't need that anymore. We do thing x now, and you're like, damn. I guess we'll chase that dream. So it doesn't solve the problem, but it does help. It gives you, especially in places where no product market fit and what you're shipping is more well figured out and stable, static, I think it's more attainable.\n\nBut I would caution against investing in it too early because it's maybe a waste of effort at the very beginning. I'm saying like early stage business, it's like maybe not the best idea to pursue. I don't know. Nicc?\n\n**NICCOLO':** Yeah. That makes sense. In the end, on one side, you must have the right incentives in the right moment in order to create the culture necessary to go from very tactical reactions and follow the things very quickly to a more strategic, long term maintainable system.\n\nAnd different products go and switch to the more mature phase at different points in time. And this also means that the company will end up having a system that is very quick in development, that it doesn't have time to look on the long term things, and they'd rather do it quickly. Plus there is the long term that is not fully fleshed out. So you're always in a little bit in this sea of uncertainty of what's the right thing to do.\n\nBut I have to say, in general, if you are a company that has already developed a set of policies around gradual rollouts or continuous delivery and deployment, which are mature because you already have a set of products that are mature, and they need to be reliable because now, people rely on them.\n\nThe new products should be shifted toward looking into that direction quickly, which means that this long term durable thing should, over time, lower the bar, to make greenfields more accessible and directly jump into it right away. It's not always going to be possible, but that's the kind of transformation that you need to do in order to make it sustainable.\n\nYou make it good for the hard thing first or the most important thing first. And then you gradually expand the scope, of course, if there are the possibilities. Once you are in this situation, any type of change can then become part of the same rollout system. So it's not becoming, oh, I just do version releases with the full fledged thing, and then all the config releases remain forgotten and done by hand by the poor chap that knows the things in and out and knows how to do the right ordering.\n\nSo once you have the system that can declaratively push the things to production following a policy, it should be normally easy to adopt it to also perform other types of changes following the same logic. Because you give an example. You deploy your firewall backend across all your cloud regions or your data centers.\n\nYou release the binary following a certain qualification process, which is probably going to be regionalized and take care of the traffic pattern and all of that. And then you also have the firewall rules. The firewall rules also are deployed together with the rest of your production. And probably, they follow very similar locations in logic as well as the binary.\n\nSo why don't you use the same system or technology or at least logic that you use to push the versions across the entire fleet of binary of your firewall to also push the config rules for your firewalls? It's not easily done because people start to think about the firewalls is a global rule. I need to always have the same global rule everywhere.\n\nBut if you start to break it down, you realize that it's not really true that it's global because the firewall itself is already distributed. So it's not going to be atomically using the firewall rule everywhere at the same time unless it's engineered on that purpose. But if it's an engineering that purpose, it means that you have an actual global point of failure, which is the configuration. So again, it depends what is the risk that you're managing, going back to what I was answering before.\n\n**DOMINIC:** That resonates with me, something that jumps out in my head. My head does this. Sometimes, it just bubbles up a thought. Sequencing is the magical word. And I think every team should talk about sequencing when they look at how these different components roll out.\n\nThe obvious one is like, is it code then infra, infra as code, or is it infra as code, then code? Do they go together? But then I think an often overlooked one is where does the database fit into that? Like database migration, is it database migration, then code, then infra-- like you should all have the same understanding of what's going out when. Because if you design your change with a different understanding of when that's going to get affected in mind, that's a recipe for like unforeseen circumstance or consequence.\n\nI think that's kind of what you're touching on, right, Nicc? It's like what system affects the change isn't so much it. But I really hope that people understand it consistently because I've been in a lot of incidents where it's like, ah, yeah, we didn't know that would happen when this hit. We thought this would land before that landed. And that's why x interacted with y, and we got potatoes. And I'm like, OK, well.\n\n**NICCOLO':** If I may follow up on that. You also touched one thing that is one of the most expensive thing that a team needs to do in order to go really declarative. So if you buy the declarative approach, the first thing you notice is that if you're lucky, half of your system is modeled. The rest is maybe written in some document, and then 10% of it is just in people's heads.\n\nSo the very first problem that you're solving is you realize that you do not even have the full specification of your system in place. So the very first thing is to admit that, recognize the problem, and then start to insert into the system model of your declarative continuous delivery system all the dependency of your system in order to be able to manage it.\n\n**DOMINIC:** I think the thing that really gets to me is like once you have this declarative infrastructure as code, I don't need docs. I read the infrastructure as code to understand what's deployed where. When a new person joins the team, I'm like, hey, read this stuff. And they're like, ah, cool. I understand all the bits and pieces.\n\nWhere I'm like, hey, welcome to the team. Please read these 400 lines of bash that talk to various GCP APIs. They're like, yeah, I read it. I'm like, no, you didn't. You definitely didn't. But that's OK. We can learn as we go along. I've definitely seen that happen, like in orgs I've been in the past.\n\n**NICCOLO':** So what would be nice, so when you have configured your system model properly, since the machine is following the system model in order to do the right order of operations, it should also be able to render the graph. And all of a sudden, instead of the TL of the project coming and doing the usual thing that all TLs do, draw boxes and arrows on a whiteboard that says, well, the machine thinks that our architecture is like this. Actually, the model dictates that the architecture looks like this. And then you get the pregenerated understanding of the model.\n\nOnce you have the model in place, it means that your version release qualification, your capacity management, your experiment control system, they are all contributing to the intended state, and that is the relationship between the various components. Because all of a sudden, if you want to release the binary version of your backend that talks to your database, you can start to connect things together, and it's no longer given to the human the task to make sure that when you update the version of the binary, make sure that is never going to be to version above the version of the database schema, whatever is the policy that you must have.\n\nInstead, all the system's descriptions is part of the model, and the model allows you to implement policies and invariants, which will prevent accidental outages just because the new person didn't know that rule that was just documented in the people's brain.\n\n**DOMINIC:** Can I jump one more?\n\n**NICCOLO':** Yeah, please.\n\n**DOMINIC:** That prompted something for me. It's like I'm reminded of the word hermetic or hermeticism. It's like everything you need to run, prod or whatever code, infra, the config of the infra, the data migrations to get it set up, you contain it all in one thing, and that's like your hermetic artifact to arrive you at the state you want to be. I think NixOS and like the Nix Project is a good example of hermetic, an intriguing example of achieving hermeticism or enforcing it rather. Like it's pretty hard not to break its paradigm.\n\nWhen the system gets bigger, this becomes a very useful tool for diagnostic and debugging and also reasoning about. Like what am I shipping? Oh, I'm shipping this thing that contains all the possible bits and pieces, as opposed to like I'm shipping this thing which has this dependency on this thing outside of my control, and I don't know what that's doing at this point in time.\n\n**STEVE MCGHEE:** At the end of the day, I feel like we've hit a bunch of high points here, which are all inextricably interconnected in a very complex, confusing way. But essentially, like let's throw a few terms that came up today. Hermiticity is a good one. Hermetic builds is a thing that people have heard of.\n\nBut the idea of hermetic in general is something that can be applied beyond just CI. It can go further than that. Another one that came up was sequencing. That was a good one. Making sure that you understand or can understand by reading a script or the actual code to determine what is the process by which things happen in our system.\n\nAnd then I think the last thing that popped up in my head in terms of what is the outcome of all of this is really what we're trying to avoid is unintended side effects of change. And often, when we just have people out there “yoloing” and installing the new JSON optimizer, which accidentally removes all semicolons, like this is the problem is that we're not keeping track of what the change is, and we're not applying gradual change effectively. We're just expecting expert humans to be experts and never make mistakes and remember every single thing they did and predict the future. And none of that is good.\n\nSo instead, we have these other things. And whether it's imperative or declarative, some have benefits. Some have detractors. It's all just code because kind of I alluded to at the top, like config still is just code. It's just telling other code what to do or what to not do. So you really just making changes to the system.\n\nSo make sure you focus on understanding your failure domains through your entire system and look out for those unintended side effects. Thanks for the awesome discussion, both of you guys, Dominic and Nicc. That was awesome. Before we go, is there anything that you want to leave our audience with in terms of how to hear more from your voice or just like one last shout out to your favorite thing?\n\n**NICCOLO':** Actually, I invite people if they're curious to know more into the details, everything that I based my conversation on is the system that we developed in the last 10 years at Google, you can find a USENIX paper that we publish in 2021 that is called Prodspec and Annealing. So if you just Google Prospect and Annealing, you should find it very easily. And I think we can add the resource to the podcast metadata, so you can find it from there.\n\n**DOMINIC:** Yeah, somewhat boldly, I'm going to commit myself to do something which I haven't yet done, which is I'm working on a blog.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**DOMINIC:** That's one where I practice my terrible drawing. And maybe I make the concepts and principles of reliability engineering more accessible to people. It's early days, as in I haven't written anything on it yet. But maybe by the time that this goes out, there might be something on it.\n\n**JORDAN GREENBERG:** Nice.\n\n**DOMINIC:** If you want to check it out, it'll be available at sketchreliability.engineering.\n\n**STEVE MCGHEE:** Nice.\n\n**NICCOLO':** I'll make sure to check it out. Good luck.\n\n**JORDAN GREENBERG:** It's in the ether now. You have to do it.\n\n**DOMINIC:** Yeah. I really put myself on the spot. Now I might red line this like right before it goes out and be like, please, no, I have not written any posts.\n\n**STEVE MCGHEE:** No problem. No pressure.\n\n**JORDAN GREENBERG:** Yeah. Well, thank you to both of our guests, Dominic and Nicc. Thanks so much for coming here. And thanks to my co-host, Steve. I hope everybody has an awesome day and we'll see you soon.\n\n**DOMINIC:** Thanks for having us.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 36434, "slov": 6493, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:10", "sha256": "9f4f201dc04b5b9c4ca914d99ef1d344545ca401b96ff05a7c6c766792c013ab", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13/", "titulek": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "h1": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "popis": "In this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13"}, "headline": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano", "description": "In this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.", "image": "https://kstatic.googleusercontent.com/files/029c9c97f741890dfeab8ede6679c1bc33a3e218c51ffec5d75aca2d02dc35400c6f3847edc9158c1d6619919895d54af02f28955d358b21ffb368268afd30a8", "author": [{"@type": "Person", "name": "Dominic Hutton"}, {"@type": "Person", "name": "Niccolo' Cascarano"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano"}], "markdown": "# Imperative vs. Declarative Change Workflows with Dominic Hutton & Niccolo' Cascarano\n\nIn this episode of the Prodcast, guests Dominic Hutton (Staff SRE, HashiCorp) and Niccolo' Cascarano (Senior Staff SRE at Google) join hosts Steve McGhee and Jordan Greenberg to dive into configurations. They discuss the differences between imperative and declarative configuration, explore the benefits and challenges of each approach, and the need for careful consideration when choosing between the two. Ultimately, the goal is to achieve reliable and maintainable systems through effective configuration management.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season three of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Welcome back to the broadcast, Google's podcast on SRE and production software. I'm your host, Steve McGhee, and I'm joined again by Jordan Greenberg. Hi, Jordan.\n\n**JORDAN GREENBERG:** Hi.\n\n**STEVE MCGHEE:** Hi. This season is all about software engineering and SRE. And today's episode is about something maybe we don't always think about as traditional software engineering, but it is dear to SRE's hearts, configuration.\n\nYou might have heard about imperative versus declarative configuration and config as code. But I like to say config is code. And today, we'll dig into the ramifications of that. OK, let's bring in our guests. Today, we have Dominic and Nicc. Guys, please introduce yourselves.\n\n**DOMINIC:** Sure. I'm Dominic. I'm a Staff SRE at HashiCorp. Before that, I spent most of my time in smaller early stage engineering organizations, where I've been lucky to work on a mix of stuff, like from satellites and IoT through to SaaS in the finance and HR space. I don't know. They were foolish enough to give me a chance, and I had a bunch of fun and opportunity to learn. So that's me. Nicc?\n\n**NICCOLO':** Hey, thanks. I'm Nicc. I have been a Google SRE since the very beginning of my career. I just came to Google straight off my university. I started in Google in 2011, and I've been working in the last 10 years for the internal continuous delivery system, which is based on a declarative approach, which is going to be part of the topic that we talk about today.\n\n**JORDAN GREENBERG:** Nice. Another person who started at Google as their first job out of college. We are kindred spirits.\n\n**STEVE MCGHEE:** Me too, kind of. I had a job in a different college. Does that count? I don't think that counts. I think it was--\n\n**JORDAN GREENBERG:** I don't think that counts.\n\n**STEVE MCGHEE:** No? OK.\n\n**JORDAN GREENBERG:** I think you're good. We're twins.\n\n**DOMINIC:** You've been ousted. You're not part of the club, unfortunately. I'm sorry.\n\n**JORDAN GREENBERG:** You know what? You are now. You made it. You're here. Glad to have you.\n\n**STEVE MCGHEE:** There are many clubs, it turns out.\n\n**JORDAN GREENBERG:** Yes. So I would like to know, as an SRE TPM, what does declarative and imperative mean in this context of SREism? Did you make these words up? Were they adapted from something else? Math is different than SRE apparently. So what does it mean in this context?\n\n**DOMINIC:** I don't think we made them up. Pretty sure we took them from a bunch of other domains. All stuff's derivative, right?\n\n**JORDAN GREENBERG:** Yes. Absolutely.\n\n**DOMINIC:** Obviously, computer science and programming.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** All words are made up, it turns out.\n\n**JORDAN GREENBERG:** So what are the terms declarative and imperative in this context? They do come from other places like math and whatever. And I guess math is SRE. But in the SRE context, what does declarative and imperative mean in this way?\n\n**DOMINIC:** We definitely stole them from somewhere, that's for sure. I don't know. I guess I have some formal study background, like I work a lot on Vibe and things I've learned over the years. To me, the main difference is that declarative normally involves like there's a DSL that describes something. And you give that DSL to something, which decides how to arrive at the point you described.\n\n**STEVE MCGHEE:** That's a domain-specific language, right? The DSL.\n\n**DOMINIC:** Yeah. Sorry. I'm bad at the acronyms thing as well. I'll try to cut back on that. And then imperative is like most people will be used to in like traditional programming. It's like you write some instructions, and they work through top to bottom. Maybe there's some control flow and like loops that do this thing 10 times. But yeah, that's very broad brush strokes. But the practicalities, when it actually comes to config management, there's some subtle differences. I don't know. Nicc, what do you reckon?\n\n**NICCOLO':** Yeah, I agree with you that the things that I explain, I used to explain what declarative and imperative really means is I always say if you are giving me a piece of code, a script, a snippet of Python, bash script that runs specific instructions one after the other, that to me is imperative. It can be a very complicated script that is embedded into a larger system like Spinnaker, which by itself has a declarative-based API because you declare your workflow in Spinnaker through the Cloud API. But the end result is an imperative workflow that executes their operations.\n\nIf you are telling me instead that here is the data, a piece of data, which is normally a protocol buffer, a JSON file, or literally data, no program, and that defines the intended state that you want to reach, whatever the intended state represents, then to me, that is declarative system. So as you said correctly, you must have a domain-specific language which abstracts the right atom for you to operate in order to perform a declarative-based operation.\n\n**DOMINIC:** I guess there's another part I'd add into that, which is like something I commonly see in declarative, change control systems, is like the concept of modules or things you can import that other people have authored. And you can use them in your declarative stuff. And you kind of compose it all together to achieve the end result you wanted.\n\nWhereas like, yeah, you do do that in scripts. Well, sorry, I don't want to reduce imperative to scripts straight away. But in the imperative sort of change control world, you do do that. It just doesn't seem to be such a focus on it, which we might touch on a bit later.\n\n**NICCOLO':** Yeah.\n\n**JORDAN GREENBERG:** OK. So summing up, an imperative system, you have to produce the code for and in a declarative system, you produce the data for. Can an imperative system have a declarative interface?\n\n**NICCOLO':** Yes. As I said before, Spinnaker, it's the example that I brought before, which is itself, Spinnaker is a workflow engine, which means that you're going to write a workflow, which is just a script on steroids, if you want, which does many more things, and it's much more elaborated.\n\nAnd you produce the scripts by using declarative APIs like create, update. So you are going to create a node, you're going to create a step. You're going to create an action, whatever are the atoms that the Spinnaker API proposes. But in the end, your result is a workflow, which is an imperative script. That's how I would describe it.\n\nIf I want to give you a contrast, then I'll also let Dominic tell his own opinion on this. Kubernetes instead is declarative because if you look at a YAML file in Kubernetes, you say, I want to have this deployment with this image and this number of replicas. You don't tell it what to do. You just give to it. This is the intended state. Please reach it based on your own internal logic on how to enforce the intended state.\n\n**JORDAN GREENBERG:** When would you use an imperative versus a declarative?\n\n**DOMINIC:** I don't know about Nicc, but for me, speed is like something that comes in quickly. I can knock together a crappy script pretty quickly. But then I need to put on my engineering hat and be like, what is the longevity I expect out of this thing? Like do I expect it to be around for a couple of years? Like who's going to maintain it? Am I going to maintain it? Am I going to have to bring other people up to speed on it? Am I going to be able to satisfy the constraints that I need to, like security, or cost control, or whatever it is. Once it gets, I'm going to say more advanced, I start to lean towards declarative approaches definitely, like imperatives for quick stuff, quick and dirty in my books. But that's just my opinion.\n\n**NICCOLO':** Well, I share your opinion, to be very honest, because I was going to answer something along the same lines. So the advantages of imperative is that normally programmers are very used to writing imperative languages. So you execute the order. You execute the instruction in order and you know what is going to happen.\n\nThen you introduce multi-threading, and then it's where things start to become interesting. And it's the same for imperative because think about it. You start small. You start with your script and it becomes a Python program. Then this Python program that's responsible, maybe to push the version of your Docker images or whatever, is responsible for you need to push, not only to cooperate with another script that your colleague has written, that is the one that adjusts the dimensions of your replica sets or whatever capacity-management related things.\n\nAnd now you have two scripts that both contribute to the intended state of the same resource. And they need to cooperate because they do not share the intended state, the final intended state, because they just know a piece of it. So when you start to go in that direction. And then add more processes, and it becomes a quadratic problem because every other script needs to know the logic of everything else in order to synchronize, or you do it naively and with the mental synchronization, and then it becomes an interesting debugging exercise.\n\nOr you put everything under a declarative hood, which says the intended state is this and different components, different processes produce the specific part of the intent that they are responsible for, one for the version, one for the capacity, one for the other things, the experiment, flags, or whatever. They get combined into an intended state, which is then rolled out by the same system which takes care of rolling out the intended state across the fleet, following policies, following your predefined rules that you put as part of your configuration for, in this case, a continuous delivery system that is based on declarative engine.\n\n**JORDAN GREENBERG:** OK. So it's like the system is coming up with the imperative instructions to achieve declared intent.\n\n**NICCOLO':** Yes. The process described is for that can be written in any form you want. But in the end, they produce a part of the intended state, which is data. So it's like they are all contributing to the same piece of data, which is the intended state of the overall fleet, the overall system, or whatever they are controlling through the declarative engine.\n\n**JORDAN GREENBERG:** Nice.\n\n**DOMINIC:** In addition to the synchronization issues you touched on, something else that I want to bring up is like at least when you're in smaller orgs and you don't have a bunch of resources, you write this script, and it begins small. And then you need to add some things, and you add some other things. And all of a sudden, the script is big and depended on by many people and many things.\n\nAnd then one day, like change is risk, right? You need to change the script to do a thing, and it breaks. And the blast radius of that script has grown as the length of it has grown as well. I find with the declarative systems, you can decompose and pull stuff apart into smaller chunks, so that you sort of have like a blast radius or like a failure domain around like, oh, this is the module that controls the database, or this is the module that controls, I wouldn't even go that big, like x step in setting the database up, as opposed to like, oh, I changed the script, and we have a half deployed set of infrastructure, and nothing works. What do we do now? Rally the troops, I guess.\n\n**JORDAN GREENBERG:** So in an emergency, if we need to make some changes really fast, are declarative workflows slower than imperative ones?\n\n**NICCOLO':** I don't think the engine per se is slower. It depends how you configure it. So if you need to do something ad hoc because your specific emergency requires you to do one off data migration. If your declarative engine is not already supporting that thing, you're not going to be able to quickly implement it in the declarative system. So probably, it's better that someone puts down some good imperative workflows, or scripts, or whatever.\n\nAlthough I would say, normally, if you are in a declarative system where you can prepare your own emergency operations in advance, you are not in a rush to implement them quickly because that's the moment you make the outage worse to try to make it better. You make a very quick script that tries to go over everything, but then you type something wrong, and then you go over everything and everything else that you are not supposed to touch. And then the outage is suddenly worse. So it's always a balance to understand how quick you want to patch something. But remember, the quicker you go, the faster you make a mistake. The blast radius is bigger.\n\n**DOMINIC:** Yeah, I agree with that. I think an interesting thing I think about is like the breadth of how wide the number of systems you have to touch with this modification is. I think a lot of smaller orgs, I'll use the data migration example, they need to touch one database that backs their entire production system.\n\nAnd then like you get up to Google mothership scale, and it's like oh, well, globally replicated and shuttered, and there's definitely not one database, that's for sure. So we need to apply it across this wide set of infrastructure.\n\nI think operational teams find it hard to figure out when it's worth like approaching the buy-in to this declarative thing that allows me to roll out across a fleet, versus like what I commonly see in most orgs that are smaller, which is like, oh, I'll just open a console, or I'll have someone review my script and then run it against this thing.\n\n**JORDAN GREENBERG:** I know patching is really common in SRE. You're trying to do that gradual change that SREs are so gung ho about. You don't want to change everything at once because that's tough. But a patch sometimes can make that very big change when you don't want it to. Can you tell me about a time where a patch made something go sideways?\n\n**DOMINIC:** Yeah. I don't know if I want to get into the details.\n\n**JORDAN GREENBERG:** We won't share this with anybody, we swear.\n\n**DOMINIC:** Something that stands out to me, I guess with patching is like when you are trying to control the rollout of a patch with infrastructure as code, either declarative or imperative, I question if that's the right way to get that level of control you want, sort of contained the potential fallout.\n\nI start to look towards progressive rollout techniques, like feature flag enablement, or like perhaps a small segment of the fleet gets that first, and you observe it, referred to as a canary by most people before you let it roll broader.\n\nYou can affect that progressive change through declarative or imperative change control flows. But like I don't see that as like infrastructure as code's job. Infrastructure as code is just what you use to achieve that gradual rollout. Like it's no silver bullet, right? Yeah. Nicc, do you want to share a spooky patch outage story?\n\n**NICCOLO':** Yeah. It's a very complex and multifaceted question because the first thing I would say is that, well, it depends what kind of change it is, right. Is it- are you introducing a new feature? Are you removing a load feature? Are you writing a program to do a one off data migration from database A structure to database B structure?\n\nSo each of these is his own answer. I would say that in general, the majority of the changes gets packaged into a release of an artifact. Normally is the new compiled binary of your backend or the new set of JavaScript files that you need to roll out to production.\n\nI think the union of microservice architecture and micropatching is the strategy that is probably the most winning if you can do it and if you can afford it. Because not all situations can be done like that. If you are uploading firmware on on-premises devices of people, including the heating system that runs in your home, those get updated sometimes. You want to be very sure that those are always working. You don't want to shut down the heating system of the people in the middle of the winter because you made a mistake.\n\nSo probably those kinds of situations, you go on a much lower development because the risk of making a mistake is bigger. So it boils down to the risk management. So what risk are you managing? Are you risking mission critical systems that if they fail, they cannot work? Think about the Rover on Mars or Voyager 1. They are going to be very careful what they push to those things. Because you can't just go and fix them.\n\nIf instead, it's a microservice architecture, which is more fluid by nature and by architecture, and you can easily redirect traffic from non-working instances because you have set up canarying in the proper way, and you of course, you're doing the right AB, blue green approach to do comparison and doing regression analysis. The risk is much lower. So it depends a lot on what you are running to know if you need to deal with big patches or not.\n\n**DOMINIC:** I see patches as definitely something different to a code deploy, like a release of a new software version of software that we ship. That patch doesn't conjure that image up in my head. Like a patch to me is like, I don't know, an OS system dependency on the VMs that you like pull together to run your scheduler or what have you. And you increase it because you're like, yeah, faster JSON parsing. And then you're like, no, everything is on fire and nothing can talk to anything all of a sudden. I don't know what we did. Yeah, I guess I definitely answered for that.\n\n**NICCOLO':** Cool. Yeah, the first question I would ask in that situation would be what process triggered that? Was it a global sudden change? Because most of the time, you realize that you have a system that is global unknowingly. And you may all rely on a specific file in a specific distributed file system, just to coordinate the lock.\n\nAnd that one file is a global file. And if you change the name of the file because you are doing a migration, despite your system being well distributed and released in a gradual fashion and everything, then you have this single point of failure that the moment you touch it, everything falls apart.\n\nSo this is always very good. Now we're going probably more in a postmortem kind of culture and understanding what is going on. But that's exactly where you analyze what happened in the architecture to remove this point of failure when possible. Or you protect them with additional mechanisms that would prevent the next time a bad catastrophic failure to happen, probably.\n\n**DOMINIC:** I think I can tie it back to declarative pretty well. An exercise I'd recommend any team does is like think about your failure domains. And like maybe go through an exercise like fault tree analysis for your systems. Personally, as an engineer, like I find that decomposing stuff into declarative modules that I like pull in, and I manage, that helps me reason about these boundaries of failure and like break things up into components, and these things that interact with one another.\n\nIt's not like just doing that. It's not analyzing your failure domains, but it really helps, and it helps also get the team on the same page about what to refer to the bits and pieces as and how do they interact? Yeah.\n\n**STEVE MCGHEE:** Totally. One kind of issue that arises sometimes with teams that maybe have been around for a while, or let's just call them enterprises. Like large companies that have lots of people who have been doing different jobs for a while. Often we'll find, at least when I talk with customers, we'll find that there's a cultural like issue at play here when it comes to the team who writes the code and the team who manages the configuration. And often, we'll just call this the dev team and the ops team just for shorthand, but it can be lots of stuff.\n\nAnd so I think that one thing that we can we're kind of getting at here is the ability for the team who wrote the code and kind of owns the product and the complexity of the system, to be able to also then be the ones who tinker with the config and push the config or change the config or whatever. Because traditionally, it was not that. There was this set of config files that this other team just kind of either blindly or by following playbooks, would flip switches. Maybe not considering failure domains and things like that.\n\nSo I'm eventually getting to a question here. Like A, do you think this is a true story, or is Steve just making this up? But B, like is there something that can be done here for the industry and like within platform teams, within enterprises, where you build up a system that allows teams to manage their own fate? To not have to pass the ball over the wall, as we say. Where we can say like you can actually manage your own configuration through this new thing, and it has all these features and has these control structures.\n\nI think the trick here is alluding to all the problems we just talked through and all the options that we just talked through, like it's a big hairy beast. And so making people who are developing software choose through all that is yet another burden. And this is why we see platform engineering teams arise and saying like, here's how we configure the stuff. Like use this from now on. That was a long question. Like what do you guys think of this worldview? Am I way off base, or is this a real thing?\n\n**DOMINIC:** I'm on board with it. I think there'll be a couple of answers to this question. We might go back and forth over it a bit. When I work with the notion of platform engineering, that's what everyone's trying to do when they're working with infrastructure as code, I think, whether they recognize it or not.\n\nThe thing I circle around a lot is like what abstraction are you exposing to your consumers? Whether it's like a module that they can import, or I know I've seen like GitHub pull request-based workflows, where it's like open PR and this repo. And you'll get a bunch of stuff spun up, and you put the YAML block in the PR, and it configures what you get.\n\nLike whatever the interface is, the abstraction, like not the paradigm of like declarative versus imperative, but the abstraction that you expose is really where the meat of the problem is. Something that I struggle with like in the smaller orgs is the needs of the business evolve really quickly. So like you spend this time to build this awesome abstraction for the infrastructure needs of today.\n\nAnd by the time you ship it, they're like, no, we don't need that anymore. We do thing x now, and you're like, damn. I guess we'll chase that dream. So it doesn't solve the problem, but it does help. It gives you, especially in places where no product market fit and what you're shipping is more well figured out and stable, static, I think it's more attainable.\n\nBut I would caution against investing in it too early because it's maybe a waste of effort at the very beginning. I'm saying like early stage business, it's like maybe not the best idea to pursue. I don't know. Nicc?\n\n**NICCOLO':** Yeah. That makes sense. In the end, on one side, you must have the right incentives in the right moment in order to create the culture necessary to go from very tactical reactions and follow the things very quickly to a more strategic, long term maintainable system.\n\nAnd different products go and switch to the more mature phase at different points in time. And this also means that the company will end up having a system that is very quick in development, that it doesn't have time to look on the long term things, and they'd rather do it quickly. Plus there is the long term that is not fully fleshed out. So you're always in a little bit in this sea of uncertainty of what's the right thing to do.\n\nBut I have to say, in general, if you are a company that has already developed a set of policies around gradual rollouts or continuous delivery and deployment, which are mature because you already have a set of products that are mature, and they need to be reliable because now, people rely on them.\n\nThe new products should be shifted toward looking into that direction quickly, which means that this long term durable thing should, over time, lower the bar, to make greenfields more accessible and directly jump into it right away. It's not always going to be possible, but that's the kind of transformation that you need to do in order to make it sustainable.\n\nYou make it good for the hard thing first or the most important thing first. And then you gradually expand the scope, of course, if there are the possibilities. Once you are in this situation, any type of change can then become part of the same rollout system. So it's not becoming, oh, I just do version releases with the full fledged thing, and then all the config releases remain forgotten and done by hand by the poor chap that knows the things in and out and knows how to do the right ordering.\n\nSo once you have the system that can declaratively push the things to production following a policy, it should be normally easy to adopt it to also perform other types of changes following the same logic. Because you give an example. You deploy your firewall backend across all your cloud regions or your data centers.\n\nYou release the binary following a certain qualification process, which is probably going to be regionalized and take care of the traffic pattern and all of that. And then you also have the firewall rules. The firewall rules also are deployed together with the rest of your production. And probably, they follow very similar locations in logic as well as the binary.\n\nSo why don't you use the same system or technology or at least logic that you use to push the versions across the entire fleet of binary of your firewall to also push the config rules for your firewalls? It's not easily done because people start to think about the firewalls is a global rule. I need to always have the same global rule everywhere.\n\nBut if you start to break it down, you realize that it's not really true that it's global because the firewall itself is already distributed. So it's not going to be atomically using the firewall rule everywhere at the same time unless it's engineered on that purpose. But if it's an engineering that purpose, it means that you have an actual global point of failure, which is the configuration. So again, it depends what is the risk that you're managing, going back to what I was answering before.\n\n**DOMINIC:** That resonates with me, something that jumps out in my head. My head does this. Sometimes, it just bubbles up a thought. Sequencing is the magical word. And I think every team should talk about sequencing when they look at how these different components roll out.\n\nThe obvious one is like, is it code then infra, infra as code, or is it infra as code, then code? Do they go together? But then I think an often overlooked one is where does the database fit into that? Like database migration, is it database migration, then code, then infra-- like you should all have the same understanding of what's going out when. Because if you design your change with a different understanding of when that's going to get affected in mind, that's a recipe for like unforeseen circumstance or consequence.\n\nI think that's kind of what you're touching on, right, Nicc? It's like what system affects the change isn't so much it. But I really hope that people understand it consistently because I've been in a lot of incidents where it's like, ah, yeah, we didn't know that would happen when this hit. We thought this would land before that landed. And that's why x interacted with y, and we got potatoes. And I'm like, OK, well.\n\n**NICCOLO':** If I may follow up on that. You also touched one thing that is one of the most expensive thing that a team needs to do in order to go really declarative. So if you buy the declarative approach, the first thing you notice is that if you're lucky, half of your system is modeled. The rest is maybe written in some document, and then 10% of it is just in people's heads.\n\nSo the very first problem that you're solving is you realize that you do not even have the full specification of your system in place. So the very first thing is to admit that, recognize the problem, and then start to insert into the system model of your declarative continuous delivery system all the dependency of your system in order to be able to manage it.\n\n**DOMINIC:** I think the thing that really gets to me is like once you have this declarative infrastructure as code, I don't need docs. I read the infrastructure as code to understand what's deployed where. When a new person joins the team, I'm like, hey, read this stuff. And they're like, ah, cool. I understand all the bits and pieces.\n\nWhere I'm like, hey, welcome to the team. Please read these 400 lines of bash that talk to various GCP APIs. They're like, yeah, I read it. I'm like, no, you didn't. You definitely didn't. But that's OK. We can learn as we go along. I've definitely seen that happen, like in orgs I've been in the past.\n\n**NICCOLO':** So what would be nice, so when you have configured your system model properly, since the machine is following the system model in order to do the right order of operations, it should also be able to render the graph. And all of a sudden, instead of the TL of the project coming and doing the usual thing that all TLs do, draw boxes and arrows on a whiteboard that says, well, the machine thinks that our architecture is like this. Actually, the model dictates that the architecture looks like this. And then you get the pregenerated understanding of the model.\n\nOnce you have the model in place, it means that your version release qualification, your capacity management, your experiment control system, they are all contributing to the intended state, and that is the relationship between the various components. Because all of a sudden, if you want to release the binary version of your backend that talks to your database, you can start to connect things together, and it's no longer given to the human the task to make sure that when you update the version of the binary, make sure that is never going to be to version above the version of the database schema, whatever is the policy that you must have.\n\nInstead, all the system's descriptions is part of the model, and the model allows you to implement policies and invariants, which will prevent accidental outages just because the new person didn't know that rule that was just documented in the people's brain.\n\n**DOMINIC:** Can I jump one more?\n\n**NICCOLO':** Yeah, please.\n\n**DOMINIC:** That prompted something for me. It's like I'm reminded of the word hermetic or hermeticism. It's like everything you need to run, prod or whatever code, infra, the config of the infra, the data migrations to get it set up, you contain it all in one thing, and that's like your hermetic artifact to arrive you at the state you want to be. I think NixOS and like the Nix Project is a good example of hermetic, an intriguing example of achieving hermeticism or enforcing it rather. Like it's pretty hard not to break its paradigm.\n\nWhen the system gets bigger, this becomes a very useful tool for diagnostic and debugging and also reasoning about. Like what am I shipping? Oh, I'm shipping this thing that contains all the possible bits and pieces, as opposed to like I'm shipping this thing which has this dependency on this thing outside of my control, and I don't know what that's doing at this point in time.\n\n**STEVE MCGHEE:** At the end of the day, I feel like we've hit a bunch of high points here, which are all inextricably interconnected in a very complex, confusing way. But essentially, like let's throw a few terms that came up today. Hermiticity is a good one. Hermetic builds is a thing that people have heard of.\n\nBut the idea of hermetic in general is something that can be applied beyond just CI. It can go further than that. Another one that came up was sequencing. That was a good one. Making sure that you understand or can understand by reading a script or the actual code to determine what is the process by which things happen in our system.\n\nAnd then I think the last thing that popped up in my head in terms of what is the outcome of all of this is really what we're trying to avoid is unintended side effects of change. And often, when we just have people out there “yoloing” and installing the new JSON optimizer, which accidentally removes all semicolons, like this is the problem is that we're not keeping track of what the change is, and we're not applying gradual change effectively. We're just expecting expert humans to be experts and never make mistakes and remember every single thing they did and predict the future. And none of that is good.\n\nSo instead, we have these other things. And whether it's imperative or declarative, some have benefits. Some have detractors. It's all just code because kind of I alluded to at the top, like config still is just code. It's just telling other code what to do or what to not do. So you really just making changes to the system.\n\nSo make sure you focus on understanding your failure domains through your entire system and look out for those unintended side effects. Thanks for the awesome discussion, both of you guys, Dominic and Nicc. That was awesome. Before we go, is there anything that you want to leave our audience with in terms of how to hear more from your voice or just like one last shout out to your favorite thing?\n\n**NICCOLO':** Actually, I invite people if they're curious to know more into the details, everything that I based my conversation on is the system that we developed in the last 10 years at Google, you can find a USENIX paper that we publish in 2021 that is called Prodspec and Annealing. So if you just Google Prospect and Annealing, you should find it very easily. And I think we can add the resource to the podcast metadata, so you can find it from there.\n\n**DOMINIC:** Yeah, somewhat boldly, I'm going to commit myself to do something which I haven't yet done, which is I'm working on a blog.\n\n**JORDAN GREENBERG:** Oh, wow.\n\n**DOMINIC:** That's one where I practice my terrible drawing. And maybe I make the concepts and principles of reliability engineering more accessible to people. It's early days, as in I haven't written anything on it yet. But maybe by the time that this goes out, there might be something on it.\n\n**JORDAN GREENBERG:** Nice.\n\n**DOMINIC:** If you want to check it out, it'll be available at sketchreliability.engineering.\n\n**STEVE MCGHEE:** Nice.\n\n**NICCOLO':** I'll make sure to check it out. Good luck.\n\n**JORDAN GREENBERG:** It's in the ether now. You have to do it.\n\n**DOMINIC:** Yeah. I really put myself on the spot. Now I might red line this like right before it goes out and be like, please, no, I have not written any posts.\n\n**STEVE MCGHEE:** No problem. No pressure.\n\n**JORDAN GREENBERG:** Yeah. Well, thank you to both of our guests, Dominic and Nicc. Thanks so much for coming here. And thanks to my co-host, Steve. I hope everybody has an awesome day and we'll see you soon.\n\n**DOMINIC:** Thanks for having us.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nVisit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. This season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 36434, "slov": 6493, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-13", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:48", "sha256": "9f4f201dc04b5b9c4ca914d99ef1d344545ca401b96ff05a7c6c766792c013ab", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14", "titulek": "Special Episode: You Missed a Page from Telebot", "h1": "Special Episode: You Missed a Page from Telebot", "popis": "This episode features Javi Beltran, a Google engineering lead who created the ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14"}, "headline": "Special Episode: You Missed a Page from Telebot", "description": "This episode features Javi Beltran, a Google engineering lead who created the 'Telebot' theme song. With our beloved hosts, Steve McGhee and Jordan Greenberg, Beltran discusses the origins of the song, created in 2012 for Google's paging system. The song was meant to add a touch of levity to what could be a stressful situation for engineers on-call. Beltran also unveils a new, more modern remix of 'Telebot' (created in collaboration with our host, Jordan Greenberg!) which will be used as the intro theme for the podcast's next season.", "image": "https://kstatic.googleusercontent.com/files/7f421fff182164e3bbd3beb2ae12da70f4ebe6e7fd8dec625e7d4df296dd32ecd58f8e2ef2931d3aa817a84b9ab8f6eb08e9c564c4041e6c91be77eba9386566", "author": [{"@type": "Person", "name": "Javi Beltran"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Special Episode: You Missed a Page from Telebot"}], "markdown": "# Special Episode: You Missed a Page from Telebot\n\nThis episode features Javi Beltran, a Google engineering lead who created the \"Telebot\" theme song. With our beloved hosts, Steve McGhee and Jordan Greenberg, Beltran discusses the origins of the song, created in 2012 for Google's paging system. The song was meant to add a touch of levity to what could be a stressful situation for engineers on-call. Beltran also unveils a new, more modern remix of \"Telebot\" (created in collaboration with our host, Jordan Greenberg!) which will be used as the intro theme for the podcast's next season.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season 3 of the Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n–\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to our special episode of the Prodcast, Google's podcast on SRE in production software. It's special because we're kind of between seasons right now. Jordan's here. Hi, Jordan.\n\n**JORDAN GREENBERG:** I'm here. Hi. Hi, everybody.\n\n**STEVE MCGHEE:** And we have a special guest. We have Javi.\n\n**JAVI BELTRAN:** Hi, everybody.\n\n**STEVE MCGHEE:** Javi, why don't you introduce yourself? How's it going, man?\n\n**JAVI BELTRAN:** Good. Thanks for inviting me. My name is Javi Beltrán. I actually work in-- I'm calling from Zurich, so I work in the Zurich office. I've been an engineer at Google for almost 18 years.\n\n**STEVE MCGHEE:** Nice.\n\n**JAVI BELTRAN:** A couple of teams. So I didn't jump so much. I'm the original creator of the \"Telebot\" song, and I guess that's the reason why I'm here.\n\n**STEVE MCGHEE:** That's right.\n\n**JORDAN GREENBERG:** Maybe partially because you created the song and partially because you're an engineer. But both things are relevant. And the Prodcast has been going on for a few seasons now. And how I remember your name most is, Javi Beltrán composed the theme on the outro of the podcast every single time.\n\n**STEVE MCGHEE:** Your name is ever present on our podcast.\n\n**JORDAN GREENBERG:** Yes, every time. So you are always credited in our episodes. So thank you very much for lending us your magnum opus. So the one question that I've gotten from some people about it is, what is that song? Why does it exist?\n\n**JAVI BELTRAN:** There is an explanation. So back in 2012, I was part of the team telephony operations. We basically ensured that the routing of the Telebot calls that were paging the engineers, it was basically done properly. So Telebot is making a call to a mobile of someone, right?\n\nAnd then we were as well responsible for the other direction. If someone calls, the number that appears on the screen, the Telebot number, Telebot will basically tell you, hey, I'm Telebot. You missed a page. This is what you need to hear, right?\n\nAt that time, as I told you, I could control the routing. So as Telebot was a little impersonal-- let's put it that way-- it's just a robotic system. Well, it was not a robotic voice. It was a normal voice of someone telling you, this is the page, this is the alert, blah, blah, blah.\n\nSo I decided to put a little bit of personality into that. That's why I came up with the idea that Telebot is like a robot. And I compose music. I know how to make sounds and effects, et cetera. So I basically in my head is like, OK, I can easily replicate a robot voice over my voice, right?\n\nThat's why I decided that it would be fun if someone called back that number and they don't have the number in the agenda. Instead of a system voice that it's a little, as I said, a little flat, I decided to make some fun out of it, and that was the original idea. In my head, because Telebot was like a robot, I decided to do something similar to electronic music, vintage kind of electronic sounds.\n\nIt's not my style. When I compose music, I'm usually into guitars or bass drums, you know, like rock from the '90s. But this time, I'm like, OK, how do I make something very simple now? Because I didn't really want to-- it's not that I wanted to present my music to the world. I was trying to do something and leave it there, right? An experiment. That's why I came up with this simple idea.\n\n**JORDAN GREENBERG:** It's a little bit Google-y in that way, some things just to make it a little bit more fun and interesting for something that could not be fun and interesting. If you missed a page, it could be bad.\n\n**STEVE MCGHEE:** It could have just been boring, right? Like that's no fun. You might as well make it fun.\n\n**JAVI BELTRAN:** And it could be a nightmare sometimes when Telebot is pinging you or calling you, like, 20 times in a minute. So I was suffering that myself. I was an engineer on call. So that was the original spirit to make some fun out of it, make it a little less painful-- let's put it that way-- and for people to remember that that number is Telebot so they could update their agenda.\n\nSo next time you don't need to call-- who is calling me two times at 3:00 AM? It's Telebot. No, I mean, that was basically another motivation, to help people remember that it's the Telebot number, because it-- yeah.\n\n**STEVE MCGHEE:** So back up a little bit. How did Google engineers use Telebot? Like, what did it do, and what problem did it solve? Like, what was the lack of Telebot before there was a Telebot? Like, why did Telebot happen?\n\n**JAVI BELTRAN:** So Telebot is a page system. So basically, engineers are going to get notified of an alert through an application which is popping up in the screen and making sounds like a ringtone as well, similar to a phone call. But on top of that, you can make a phone call or you can get an SMS.\n\nSo in a nutshell, the phone call is basically to reach out to people who don't have a data connection. So for sure, a lot of people decided to receive a phone call or an SMS, but you want to wake up in the middle of the night. And if you forgot to enable the Wi-Fi, the ringtone, the incoming call will wake you up, right? That was basically how-- it's a paging system with multiple options. But I knew. I knew that a lot of people would get the phone call.\n\n**STEVE MCGHEE:** Do you remember what year it was when Telebot was envisioned or created, about?\n\n**JAVI BELTRAN:** I guess Telebot has been there since 2005, 2007. Like by the time I did that, it was 2011, 2012. And Telebot was already pretty popular. I guess Telebot has been-- it was probably there one decade before, from early 2000.\n\n**STEVE MCGHEE:** So I'm an ancient one as well in terms of being an SRE at Google. And I remember when Telebot happened. And at the time, this was going to sound weird to the younguns, but data wasn't pervasive. Like, you could be in places where you could get a call and not get a data connection and maybe not really even get texts very well.\n\nAnd also not even just the connections, but the phones themselves were kind of dinky, and you could mess up your SMS volume level or something like that, where you would get an SMS, but it wouldn't make any sound in the middle of the night because of reasons. And the UX just wasn't great. And so Telebot was this kind of semi low tech solution in that it was like, well, we have this thing called phone calls that seems to work pretty well for everybody for decades. Let's use that.\n\nAnd there was a method that teams could opt in to using it, or individuals could opt in to using it, saying like, first send me a text, then send me a thing. And then 90 seconds later, if I don't respond, then sic the Telebot on me and wake me up. And that was the flexibility of it, I thought, was really, really great. And it worked very, very well. Is that your recollection as well?\n\n**JAVI BELTRAN:** I'm just saying that it's interesting because telephony sometimes is associated to the old times, but the reality is that I work now with messaging-- SMS, MMS, RCS-- and it's a multibillion dollar industry, great dependency. So people are still using SMSs for authentication and multiple purposes.\n\nPeople actually, if you ask people out there, they love the SMS because the SMS identifies you because the phone number identifies you. My point is that telephony in 2024 is still pretty popular, but still, it's associated with this old, classic way of contacting you, obviously, because everything evolved.\n\nBut the reality is that a lot of people on the planet still don't have data, and the SMS and the voice call is still a reality out there, right? Even in the Western world, it's still pretty important. So yeah, it's not going away yet.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** All right. I have a very important question, Javi. The voice of Telebot, saying \"you have received a call from Telebot,\" is that you?\n\n**JAVI BELTRAN:** In the original song, what I say is \"you missed a page from Telebot.\" That's me, and I just added a robotic filter. But I think Telebot will still-- Telebot, when it calls you and you accept the call, that voice is not mine. That voice is, I think, it's a system voice. It's an automatic voice, but probably from a default voice of someone, like a sample.\n\n**JORDAN GREENBERG:** So I have a quick question. Most engineers, or techie people in general, don't love a phone call. And so if they are getting a phone call, it means that all of the other failsafes have gone. So you are now getting a phone call, and you have to pick it up-- not great, and a little bit stressful.\n\nDo you have any stories about when you got the phone call and it was like, oh no, this is the point where I know that I now hate the Telebot theme. I now hate that I have to pick up the phone. Is there a turning point where that happens, or is it still something you love so much?\n\n**JAVI BELTRAN:** I think in that scenario with Telebot, as an engineer on call, you have these contradictory feelings. You get a page. Imagine a phone call or your application is popping up, like with the specific ringtone, and it's like, oh no, I need to open my laptop, right?\n\nAt the same time, If you get the call, it's like, well, thanks, Telebot, because the last thing you want is another colleague to wake up in the middle of the night and do your work or be concerned about you. Because when you are on call, everybody assumes that you are alive and ready. If the primary on call is not responding with all these wonderful options, everybody will get paranoid, right? Like that guy is sick, or that person is in a remote island and we just realized, or whatever.\n\nSo one interesting story about the Telebot song is that a lot of people used the song as a ringtone. And I heard the stories about the partner of the engineer, right? Obviously, when you are sharing beds with your partner, your wife, your husband, whatever, and you get that wonderful call at 3:00 AM, if you are putting the Telebot ringtone versus the normal whatever Android ringtone, the person beside you is going to hear \"you missed a page from Telebot, Telebot.\"\n\nAnd it's like, answer that call! It's going to be a nightmare for the non-engineer. And I heard the stories about people telling me like, yeah, my wife hated that song so much that I had to remove it from my ringtone. Even if you want to keep it as a ringtone--\n\n**STEVE MCGHEE:** I have it.\n\n**JAVI BELTRAN:** --your partner will not allow that because they will get sick of that. You know what that call means.\n\n**STEVE MCGHEE:** Yeah, I feel it. So a couple tips from the chat. Mohit Muthanna actually wrote Telebot in Ruby in about 2007, according to Saleem. So that's a cool little bit of lore. And one more piece of sort of future lore, I guess we can call it, is that there's a new song. There's a new Telebot song.\n\nAnd we're going to use it here on this podcast. And so maybe it's playing under us speaking right now. I don't know. That's up to the editors. We'll see how it goes. But we're going to use it for our intro in season 4, and Javi made it for us.\n\nIs there anything you want to tell us about this remix? Is it bossa nova? Is there a full-length album coming? Like what can we expect. How did it go?\n\n**JAVI BELTRAN:** Well, this was a little of a collaboration between Jordan and myself. Thanks, Jordan, again, because you gave me the inspiration and the motivation to do this. And I felt responsible because I'm like, OK, I have the original files. And we make an intro out of the original song, it needs to be consistent and coherent. Lucky me, I found some WAV files that I could basically use again in the mix. And then I told Jordan, hey, you know what? Maybe this time I can play with different sounds and make it a little more vintage or video game style.\n\nI was already using my imagination. And at the same time, I thought, hey, it would be cool to play a real instrument because back in the day, what I did is very simple. I selected a drum sound with a MIDI keyboard. I just created these organs, these psychedelic sounds.\n\nAnd I recorded my voice, and I put the effect on top of it, mix it, bye. But this time, I wanted to make it. I had the opportunity to say, listen, at least I'll play one of the instruments. So I decided to take my bass, and I played the bass line.\n\nEven Jordan gave me some ideas that I reproduced myself. It felt really good to add that human touch to Telebot, which is a robot, a well-known robot. So now the intro is giving us the opportunity to add these human 20 seconds of magic.\n\n**JORDAN GREENBERG:** Yes, it's a little bit more organic in that way. And we wanted to make it a little bit more modern because while SRE is quite the same, there are some things that have changed. There are some ways that we have moved forward, and I think that having a fresh take on Telebot is a good way to symbolize that change musically. So look forward to it.\n\n**STEVE MCGHEE:** I think also, it's a good analogy, right, for SRE in general. We try to automate a lot of stuff, but at the end of the day, it's the human touch that's underneath it all that is really necessary. You can't just have a robot.\n\nYou can't just have a thing that you wrote once. You got to adapt. You got to evolve over time because the system changes, the demands change. The robot's not going to change on its own. You got to have a human like Javi, like how we have, who can step in and take the WAV files and an actual bass guitar and do stuff and make it sound awesome.\n\nSo thanks very much, Javi. This is really awesome. We're going to listen to it over and over and over and over again, and hopefully we'll play it right now for the listeners, and we can all glory in it. Anything else, Jordan or Javi, before we break it off?\n\n**JORDAN GREENBERG:** Play our song.\n\n**JAVI BELTRAN:** One thing that is interesting as well is that, as I said, we made some iterations, which iteration is an important part of life, too, and get feedback and iterate, feedback and iterate. So we practiced that.\n\n**STEVE MCGHEE:** You didn't waterfall plan it, like you actually iterated?\n\n**JORDAN GREENBERG:** No, no.\n\n**STEVE MCGHEE:** That's amazing.\n\n**JORDAN GREENBERG:** In fact, even though I am a TPM, did not and would not waterfall. It was very much open to subjective feedback and endless scope until it was done.\n\n**STEVE MCGHEE:** So are there going to be remixes? Are there going to be masters sent out of all the different iterations along the way, Javi? Can we look forward to that?\n\n**JORDAN GREENBERG:** No.\n\n**STEVE MCGHEE:** No?\n\n**[CHUCKLING]**\n\nWorth a shot.\n\n**JAVI BELTRAN:** Yeah, I mean, Jordan helped me really to-- because I was a little too original, a little disruptive. I even added some noises that are like \"beep\" because in my head, originally, back in the day, I wanted to say, \"you missed a page from the beep Telebot,\" like making a little more fun of it.\n\nBut I decided that I'm not going to put objectives to the wonderful Telebot system because the system has enough making it work. So my point is that it was great to do it with Jordan because then it's not only me and my own paranoia.\n\nIt's basically feeding the purpose, which was basically to create a space for the voice and for people to recognize that intro as an iconic song, like the original song, like trying to make it nice for everybody, like make it simple and catchy.\n\n**STEVE MCGHEE:** Yeah, it's a collab, as the kids say, right?\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** Excellent.\n\n**JAVI BELTRAN:** Yes. And it was great.\n\n**STEVE MCGHEE:** Awesome. Well, thanks very much, Javi. Thanks for stepping in real quick. I know it's late there. We are many time zones away from each other. Thanks, Jordan, for helping out with this, for doing the collab.\n\nI've heard it. I think it's awesome. So well done to both of you. And yeah, we'll see everyone in the next season. Season 4 is going to be out soonish. All right.\n\n**JORDAN GREENBERG:** Thank you.\n\n**JAVI BELTRAN:** Awesome.\n\n**STEVE MCGHEE:** So long, everyone.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nThis season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 17321, "slov": 3210, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:08", "sha256": "08e94cfffea245c66ff8a2a24354c6985b91dd2f50bd1ac1f6262d8bb4908538", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14/", "titulek": "Special Episode: You Missed a Page from Telebot", "h1": "Special Episode: You Missed a Page from Telebot", "popis": "This episode features Javi Beltran, a Google engineering lead who created the ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14"}, "headline": "Special Episode: You Missed a Page from Telebot", "description": "This episode features Javi Beltran, a Google engineering lead who created the 'Telebot' theme song. With our beloved hosts, Steve McGhee and Jordan Greenberg, Beltran discusses the origins of the song, created in 2012 for Google's paging system. The song was meant to add a touch of levity to what could be a stressful situation for engineers on-call. Beltran also unveils a new, more modern remix of 'Telebot' (created in collaboration with our host, Jordan Greenberg!) which will be used as the intro theme for the podcast's next season.", "image": "https://kstatic.googleusercontent.com/files/7f421fff182164e3bbd3beb2ae12da70f4ebe6e7fd8dec625e7d4df296dd32ecd58f8e2ef2931d3aa817a84b9ab8f6eb08e9c564c4041e6c91be77eba9386566", "author": [{"@type": "Person", "name": "Javi Beltran"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Special Episode: You Missed a Page from Telebot"}], "markdown": "# Special Episode: You Missed a Page from Telebot\n\nThis episode features Javi Beltran, a Google engineering lead who created the \"Telebot\" theme song. With our beloved hosts, Steve McGhee and Jordan Greenberg, Beltran discusses the origins of the song, created in 2012 for Google's paging system. The song was meant to add a touch of levity to what could be a stressful situation for engineers on-call. Beltran also unveils a new, more modern remix of \"Telebot\" (created in collaboration with our host, Jordan Greenberg!) which will be used as the intro theme for the podcast's next season.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Welcome to season 3 of the Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, we're going to focus on designing and building software in SRE. Our guests come from a variety of roles, both inside and outside of Google. Happy listening. And remember, hope is not a strategy.\n\n–\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to our special episode of the Prodcast, Google's podcast on SRE in production software. It's special because we're kind of between seasons right now. Jordan's here. Hi, Jordan.\n\n**JORDAN GREENBERG:** I'm here. Hi. Hi, everybody.\n\n**STEVE MCGHEE:** And we have a special guest. We have Javi.\n\n**JAVI BELTRAN:** Hi, everybody.\n\n**STEVE MCGHEE:** Javi, why don't you introduce yourself? How's it going, man?\n\n**JAVI BELTRAN:** Good. Thanks for inviting me. My name is Javi Beltrán. I actually work in-- I'm calling from Zurich, so I work in the Zurich office. I've been an engineer at Google for almost 18 years.\n\n**STEVE MCGHEE:** Nice.\n\n**JAVI BELTRAN:** A couple of teams. So I didn't jump so much. I'm the original creator of the \"Telebot\" song, and I guess that's the reason why I'm here.\n\n**STEVE MCGHEE:** That's right.\n\n**JORDAN GREENBERG:** Maybe partially because you created the song and partially because you're an engineer. But both things are relevant. And the Prodcast has been going on for a few seasons now. And how I remember your name most is, Javi Beltrán composed the theme on the outro of the podcast every single time.\n\n**STEVE MCGHEE:** Your name is ever present on our podcast.\n\n**JORDAN GREENBERG:** Yes, every time. So you are always credited in our episodes. So thank you very much for lending us your magnum opus. So the one question that I've gotten from some people about it is, what is that song? Why does it exist?\n\n**JAVI BELTRAN:** There is an explanation. So back in 2012, I was part of the team telephony operations. We basically ensured that the routing of the Telebot calls that were paging the engineers, it was basically done properly. So Telebot is making a call to a mobile of someone, right?\n\nAnd then we were as well responsible for the other direction. If someone calls, the number that appears on the screen, the Telebot number, Telebot will basically tell you, hey, I'm Telebot. You missed a page. This is what you need to hear, right?\n\nAt that time, as I told you, I could control the routing. So as Telebot was a little impersonal-- let's put it that way-- it's just a robotic system. Well, it was not a robotic voice. It was a normal voice of someone telling you, this is the page, this is the alert, blah, blah, blah.\n\nSo I decided to put a little bit of personality into that. That's why I came up with the idea that Telebot is like a robot. And I compose music. I know how to make sounds and effects, et cetera. So I basically in my head is like, OK, I can easily replicate a robot voice over my voice, right?\n\nThat's why I decided that it would be fun if someone called back that number and they don't have the number in the agenda. Instead of a system voice that it's a little, as I said, a little flat, I decided to make some fun out of it, and that was the original idea. In my head, because Telebot was like a robot, I decided to do something similar to electronic music, vintage kind of electronic sounds.\n\nIt's not my style. When I compose music, I'm usually into guitars or bass drums, you know, like rock from the '90s. But this time, I'm like, OK, how do I make something very simple now? Because I didn't really want to-- it's not that I wanted to present my music to the world. I was trying to do something and leave it there, right? An experiment. That's why I came up with this simple idea.\n\n**JORDAN GREENBERG:** It's a little bit Google-y in that way, some things just to make it a little bit more fun and interesting for something that could not be fun and interesting. If you missed a page, it could be bad.\n\n**STEVE MCGHEE:** It could have just been boring, right? Like that's no fun. You might as well make it fun.\n\n**JAVI BELTRAN:** And it could be a nightmare sometimes when Telebot is pinging you or calling you, like, 20 times in a minute. So I was suffering that myself. I was an engineer on call. So that was the original spirit to make some fun out of it, make it a little less painful-- let's put it that way-- and for people to remember that that number is Telebot so they could update their agenda.\n\nSo next time you don't need to call-- who is calling me two times at 3:00 AM? It's Telebot. No, I mean, that was basically another motivation, to help people remember that it's the Telebot number, because it-- yeah.\n\n**STEVE MCGHEE:** So back up a little bit. How did Google engineers use Telebot? Like, what did it do, and what problem did it solve? Like, what was the lack of Telebot before there was a Telebot? Like, why did Telebot happen?\n\n**JAVI BELTRAN:** So Telebot is a page system. So basically, engineers are going to get notified of an alert through an application which is popping up in the screen and making sounds like a ringtone as well, similar to a phone call. But on top of that, you can make a phone call or you can get an SMS.\n\nSo in a nutshell, the phone call is basically to reach out to people who don't have a data connection. So for sure, a lot of people decided to receive a phone call or an SMS, but you want to wake up in the middle of the night. And if you forgot to enable the Wi-Fi, the ringtone, the incoming call will wake you up, right? That was basically how-- it's a paging system with multiple options. But I knew. I knew that a lot of people would get the phone call.\n\n**STEVE MCGHEE:** Do you remember what year it was when Telebot was envisioned or created, about?\n\n**JAVI BELTRAN:** I guess Telebot has been there since 2005, 2007. Like by the time I did that, it was 2011, 2012. And Telebot was already pretty popular. I guess Telebot has been-- it was probably there one decade before, from early 2000.\n\n**STEVE MCGHEE:** So I'm an ancient one as well in terms of being an SRE at Google. And I remember when Telebot happened. And at the time, this was going to sound weird to the younguns, but data wasn't pervasive. Like, you could be in places where you could get a call and not get a data connection and maybe not really even get texts very well.\n\nAnd also not even just the connections, but the phones themselves were kind of dinky, and you could mess up your SMS volume level or something like that, where you would get an SMS, but it wouldn't make any sound in the middle of the night because of reasons. And the UX just wasn't great. And so Telebot was this kind of semi low tech solution in that it was like, well, we have this thing called phone calls that seems to work pretty well for everybody for decades. Let's use that.\n\nAnd there was a method that teams could opt in to using it, or individuals could opt in to using it, saying like, first send me a text, then send me a thing. And then 90 seconds later, if I don't respond, then sic the Telebot on me and wake me up. And that was the flexibility of it, I thought, was really, really great. And it worked very, very well. Is that your recollection as well?\n\n**JAVI BELTRAN:** I'm just saying that it's interesting because telephony sometimes is associated to the old times, but the reality is that I work now with messaging-- SMS, MMS, RCS-- and it's a multibillion dollar industry, great dependency. So people are still using SMSs for authentication and multiple purposes.\n\nPeople actually, if you ask people out there, they love the SMS because the SMS identifies you because the phone number identifies you. My point is that telephony in 2024 is still pretty popular, but still, it's associated with this old, classic way of contacting you, obviously, because everything evolved.\n\nBut the reality is that a lot of people on the planet still don't have data, and the SMS and the voice call is still a reality out there, right? Even in the Western world, it's still pretty important. So yeah, it's not going away yet.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** All right. I have a very important question, Javi. The voice of Telebot, saying \"you have received a call from Telebot,\" is that you?\n\n**JAVI BELTRAN:** In the original song, what I say is \"you missed a page from Telebot.\" That's me, and I just added a robotic filter. But I think Telebot will still-- Telebot, when it calls you and you accept the call, that voice is not mine. That voice is, I think, it's a system voice. It's an automatic voice, but probably from a default voice of someone, like a sample.\n\n**JORDAN GREENBERG:** So I have a quick question. Most engineers, or techie people in general, don't love a phone call. And so if they are getting a phone call, it means that all of the other failsafes have gone. So you are now getting a phone call, and you have to pick it up-- not great, and a little bit stressful.\n\nDo you have any stories about when you got the phone call and it was like, oh no, this is the point where I know that I now hate the Telebot theme. I now hate that I have to pick up the phone. Is there a turning point where that happens, or is it still something you love so much?\n\n**JAVI BELTRAN:** I think in that scenario with Telebot, as an engineer on call, you have these contradictory feelings. You get a page. Imagine a phone call or your application is popping up, like with the specific ringtone, and it's like, oh no, I need to open my laptop, right?\n\nAt the same time, If you get the call, it's like, well, thanks, Telebot, because the last thing you want is another colleague to wake up in the middle of the night and do your work or be concerned about you. Because when you are on call, everybody assumes that you are alive and ready. If the primary on call is not responding with all these wonderful options, everybody will get paranoid, right? Like that guy is sick, or that person is in a remote island and we just realized, or whatever.\n\nSo one interesting story about the Telebot song is that a lot of people used the song as a ringtone. And I heard the stories about the partner of the engineer, right? Obviously, when you are sharing beds with your partner, your wife, your husband, whatever, and you get that wonderful call at 3:00 AM, if you are putting the Telebot ringtone versus the normal whatever Android ringtone, the person beside you is going to hear \"you missed a page from Telebot, Telebot.\"\n\nAnd it's like, answer that call! It's going to be a nightmare for the non-engineer. And I heard the stories about people telling me like, yeah, my wife hated that song so much that I had to remove it from my ringtone. Even if you want to keep it as a ringtone--\n\n**STEVE MCGHEE:** I have it.\n\n**JAVI BELTRAN:** --your partner will not allow that because they will get sick of that. You know what that call means.\n\n**STEVE MCGHEE:** Yeah, I feel it. So a couple tips from the chat. Mohit Muthanna actually wrote Telebot in Ruby in about 2007, according to Saleem. So that's a cool little bit of lore. And one more piece of sort of future lore, I guess we can call it, is that there's a new song. There's a new Telebot song.\n\nAnd we're going to use it here on this podcast. And so maybe it's playing under us speaking right now. I don't know. That's up to the editors. We'll see how it goes. But we're going to use it for our intro in season 4, and Javi made it for us.\n\nIs there anything you want to tell us about this remix? Is it bossa nova? Is there a full-length album coming? Like what can we expect. How did it go?\n\n**JAVI BELTRAN:** Well, this was a little of a collaboration between Jordan and myself. Thanks, Jordan, again, because you gave me the inspiration and the motivation to do this. And I felt responsible because I'm like, OK, I have the original files. And we make an intro out of the original song, it needs to be consistent and coherent. Lucky me, I found some WAV files that I could basically use again in the mix. And then I told Jordan, hey, you know what? Maybe this time I can play with different sounds and make it a little more vintage or video game style.\n\nI was already using my imagination. And at the same time, I thought, hey, it would be cool to play a real instrument because back in the day, what I did is very simple. I selected a drum sound with a MIDI keyboard. I just created these organs, these psychedelic sounds.\n\nAnd I recorded my voice, and I put the effect on top of it, mix it, bye. But this time, I wanted to make it. I had the opportunity to say, listen, at least I'll play one of the instruments. So I decided to take my bass, and I played the bass line.\n\nEven Jordan gave me some ideas that I reproduced myself. It felt really good to add that human touch to Telebot, which is a robot, a well-known robot. So now the intro is giving us the opportunity to add these human 20 seconds of magic.\n\n**JORDAN GREENBERG:** Yes, it's a little bit more organic in that way. And we wanted to make it a little bit more modern because while SRE is quite the same, there are some things that have changed. There are some ways that we have moved forward, and I think that having a fresh take on Telebot is a good way to symbolize that change musically. So look forward to it.\n\n**STEVE MCGHEE:** I think also, it's a good analogy, right, for SRE in general. We try to automate a lot of stuff, but at the end of the day, it's the human touch that's underneath it all that is really necessary. You can't just have a robot.\n\nYou can't just have a thing that you wrote once. You got to adapt. You got to evolve over time because the system changes, the demands change. The robot's not going to change on its own. You got to have a human like Javi, like how we have, who can step in and take the WAV files and an actual bass guitar and do stuff and make it sound awesome.\n\nSo thanks very much, Javi. This is really awesome. We're going to listen to it over and over and over and over again, and hopefully we'll play it right now for the listeners, and we can all glory in it. Anything else, Jordan or Javi, before we break it off?\n\n**JORDAN GREENBERG:** Play our song.\n\n**JAVI BELTRAN:** One thing that is interesting as well is that, as I said, we made some iterations, which iteration is an important part of life, too, and get feedback and iterate, feedback and iterate. So we practiced that.\n\n**STEVE MCGHEE:** You didn't waterfall plan it, like you actually iterated?\n\n**JORDAN GREENBERG:** No, no.\n\n**STEVE MCGHEE:** That's amazing.\n\n**JORDAN GREENBERG:** In fact, even though I am a TPM, did not and would not waterfall. It was very much open to subjective feedback and endless scope until it was done.\n\n**STEVE MCGHEE:** So are there going to be remixes? Are there going to be masters sent out of all the different iterations along the way, Javi? Can we look forward to that?\n\n**JORDAN GREENBERG:** No.\n\n**STEVE MCGHEE:** No?\n\n**[CHUCKLING]**\n\nWorth a shot.\n\n**JAVI BELTRAN:** Yeah, I mean, Jordan helped me really to-- because I was a little too original, a little disruptive. I even added some noises that are like \"beep\" because in my head, originally, back in the day, I wanted to say, \"you missed a page from the beep Telebot,\" like making a little more fun of it.\n\nBut I decided that I'm not going to put objectives to the wonderful Telebot system because the system has enough making it work. So my point is that it was great to do it with Jordan because then it's not only me and my own paranoia.\n\nIt's basically feeding the purpose, which was basically to create a space for the voice and for people to recognize that intro as an iconic song, like the original song, like trying to make it nice for everybody, like make it simple and catchy.\n\n**STEVE MCGHEE:** Yeah, it's a collab, as the kids say, right?\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** Excellent.\n\n**JAVI BELTRAN:** Yes. And it was great.\n\n**STEVE MCGHEE:** Awesome. Well, thanks very much, Javi. Thanks for stepping in real quick. I know it's late there. We are many time zones away from each other. Thanks, Jordan, for helping out with this, for doing the collab.\n\nI've heard it. I think it's awesome. So well done to both of you. And yeah, we'll see everyone in the next season. Season 4 is going to be out soonish. All right.\n\n**JORDAN GREENBERG:** Thank you.\n\n**JAVI BELTRAN:** Awesome.\n\n**STEVE MCGHEE:** So long, everyone.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Podcast, Google's podcast on site reliability engineering.\n\nThis season's host is Steve McGhee with contributions from Jordan Greenberg and Florian Rathgeber. Visit us on the web at sre.google, where you can find papers, workshops, videos, and more about SRE. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji.\n\nThe podcast theme is \"Telebot\" by Javi Beltran.\n\nSpecial thanks to MP English and Jenn Petoff.", "znaku_textu": 17321, "slov": 3210, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-03-14", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:49", "sha256": "08e94cfffea245c66ff8a2a24354c6985b91dd2f50bd1ac1f6262d8bb4908538", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00", "titulek": "We’re back with Season 4!", "h1": "We’re back with Season 4!", "popis": "In this episode, hosts and producers of Prodcast (including our new co-host, Matt Siegler!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00"}, "headline": "We’re back with Season 4!", "description": "In this episode, hosts and producers of Prodcast (including our new co-host, Matt Siegler!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.", "image": "https://kstatic.googleusercontent.com/files/c007cfc13801b713ef9241e105d95384b40dcb271d4a0322a723d1691a7bf86d5fdb05e3ada5d54c40514f67c3848d708c1a348625c87ee9ffb811a8bbcd3f59", "author": [], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "We’re back with Season 4!"}], "markdown": "# We’re back with Season 4!\n\nIn this episode, hosts and producers of Prodcast (including our new co-host, **Matt Siegler**!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Can someone please explain to me why this is called a “Bumpisode”? What does the word bump mean?\n\n**JORDAN GREENBERG:** So I don't know if you ever watched Cartoon Network, or Adult Swim, or something like that. Basically, between TV shows, or commercials, or whatever, the network would put this little tiny interstitial thing that was like, hey, it's us from the network. We're going to talk about something. And maybe it's not going to have a lot of content, but we're going to do it. Back to your regularly scheduled programming. And that was called a bump.\n\n**STEVE MCGHEE:** I like it.\n\n**JORDAN GREENBERG:** And there's different versions of that for commercials and things. But this is called bump because we are between two seasons of the Prodcast, Google's SRE production podcast, with your host Steve, our new host Matt, and our producer Salim.\n\n**SALIM VIRJI:** Hello.\n\n**JORDAN GREENBERG:** And my name is Jordan. So I effectively just did all of our work for us. You're welcome.\n\n**STEVE MCGHEE:** I feel like we're starting. Did we just start?\n\n**JORDAN GREENBERG:** We did, absolutely.\n\n**STEVE MCGHEE:** Amazing.\n\n**JORDAN GREENBERG:** So this is just like, between seasons, we wanted to give our viewers an introduction to someone new, lay out our plans for what's coming, without spoilers, as much as possible, and wish them a great day.\n\n**STEVE MCGHEE:** All right, so that's a bump. Cool. I like it.\n\n**JORDAN GREENBERG:** That's a bump.\n\n**STEVE MCGHEE:** Well, given that, who's this new face we see on our now video screen, our video podcast? Are people going to watch this on video iPods? Is that how this works? I don't know how that works.\n\n**JORDAN GREENBERG:** I think so, yeah.\n\n**STEVE MCGHEE:** Yeah, OK.\n\n**MATT SIEGLER:** I'm Matt Siegler, I'm your new co-host. I'm currently in ML Infra SRE. I'm really excited to be a part of this season.\n\n**STEVE MCGHEE:** ML, and Infra, and SRE, those are all words. What do those words mean, Matt? Tell us more words.\n\n**MATT SIEGLER:** Machine learning, that's the thing you do to get the AI. You teach the machines how to learn.\n\n**JORDAN GREENBERG:** Oh.\n\n**MATT SIEGLER:** And the infrastructure, that's all that machinery to get the machines to be the learning. And SRE, you guys, you know what SRE is.\n\n**STEVE MCGHEE:** We know about that one, yeah.\n\n**JORDAN GREENBERG:** I hope so, after three seasons.\n\n**STEVE MCGHEE:** At this point, come on.\n\n**JORDAN GREENBERG:** A fourth one is coming.\n\n**STEVE MCGHEE:** There's always new listeners though, you guys. There's new listeners. So we gotta redefine ourselves each time.\n\n**SALIM VIRJI:** Yeah, I'm glad we worked through that. Do we tell the new listeners what they missed in the most recent season?\n\n**MATT SIEGLER:** Oh, yeah.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**MATT SIEGLER:** Can we recap that?\n\n**SALIM VIRJI:** Because it was chock full of good stuff.\n\n**STEVE MCGHEE:** There was some stuff, man.\n\n**SALIM VIRJI:** We heard about public DNS and why it's always DNS.\n\n**STEVE MCGHEE:** That was good.\n\n**JORDAN GREENBERG:** Oh yeah, we did.\n\n**STEVE MCGHEE:** So, Matt, you heard some of it. I don't know if you heard all the episodes, but I know you heard some of them. And what's the vibe? What did you get out of it?\n\n**MATT SIEGLER:** The take I got out of season 3 is that we're really looking outside of Google for excellence in representation of SRE in organizations of all sizes, which is something I'm really looking to extend in season four.\n\n**JORDAN GREENBERG:** We might have originated the terminology. But there are a million different places that have adopted the same mechanisms to fit mostly different sizes of use cases and still provide the same type of support and service that would be happening at Google, at other places.\n\nSo everybody can rest easily, knowing that their video games, their shopping portals, their internets are all working, and they have someone there who is able to say, yes, it's down, but I will fix it. And that's what I feel like is an OK summary of last season.\n\n**STEVE MCGHEE:** Yeah. And then I think the other thing that was different about last season is that we focused on software engineering itself, like the actual building of new stuff and not just manning the conn or whatever it is that you do in traditional views of ops, like eyeball the dashboards or something.\n\nAnd I personally pushed for that a lot because I thought that was a really important distinguisher, not for people who are already doing the job because they already know that that's what's going on, but for folks who are adjacent to SRE or new to SRE to really hammer down, like this is an important part of the role.\n\nAnd turns out, it's actually the most important part of the role. It's not just a cool thing. It's what you should be doing most of your time with as a team, at least in my opinion. And I think we barely scratched the surface, so there's a lot more to be said there.\n\nBefore we get into the next season and stuff, we also have a new face again. Salim, I don't think you introduced yourself. What's going on, man? Like, we're just skipping over you. Who are you even?\n\n**SALIM VIRJI:** That's all good. My voice is not one that you're likely to hear on this particular podcast. And I am Salim. I'm a site reliability engineer working on mostly external education for reliability engineering. And I live in New York. I think that's the colorful thing about me.\n\n**STEVE MCGHEE:** Excellent. And we also have Florian. Let's hear you, Florian. What's going on, man?\n\n**FLORIAN RATHGEBER:** Hey, folks.\n\n**STEVE MCGHEE:** Hey. Florian, can you tell the guests who the heck you are?\n\n**FLORIAN RATHGEBER:** Sure, I can. I'm Florian, I'm an SRE in Cloud. And I used to be on a team that was called Customer Reliability Engineering, where we were working with customers and helped them build reliable services on top of our platform. I have since moved on to a team that is working on improving mitigation for GCP customer incidents. So that's still fairly nascent.\n\nBut yeah, other than that, I've always been involved in SRE outreach-ey kind of things, like giving talks. And I joined the Prodcast on the previous season. But as I'm based in Zurich, I wasn't able to do that much hosting because of time zones. Time zones are hard, as we all know.\n\n**STEVE MCGHEE:** They are hard. Time is hard. Yeah. Florian, I remember it specifically, you definitely performed an SRE-type capacity in one episode because I believe there was an incident where my internet didn't work, and you filled in a lot. And I think, actually, Jordan, you did that too. My internet's not great, apparently, it turns out.\n\n**JORDAN GREENBERG:** Not 5-9 internet for Steve.\n\n**STEVE MCGHEE:** No pressure, Matt, but I might just disappear sometimes, and that's fine. But both of you performed admirably. So thank you very much.\n\n**FLORIAN RATHGEBER:** Maybe you should do some SRE-ing on your internet, Steve.\n\n**STEVE MCGHEE:** You'd think I would do that, but I don't know. It's tough.\n\n**JORDAN GREENBERG:** That sounds like work. He's off the clock at 5:00.\n\n**STEVE MCGHEE:** Seriously. I live in the country, and my Wi-Fi connects to other Wi-Fi over a parabolic dish or something. And when that one's out, I'm just like, I got nothing. It's outside my control.\n\n**SALIM VIRJI:** You have truly wireless internet.\n\n**STEVE MCGHEE:** I'm wireless on my wireless. Yes, we must go deeper. Well, let's get into what's going on next season. So first of all, some of you out there in the world can see us with your eyeballs because we have pixels now. So we're doing videos this season. Last season, we did shorts, little short videos, like little, I don't know, blurbs. Or I don't know what you call the blurb form of video. But they were on YouTube, and they were kind of like a marketing attempt to be like, does this help?\n\nAnd I don't know. It kind of worked. We'll see. It was an experiment. It didn't have a huge effect. But we're going to keep going. We're going to have a new experiment because this is what we do. We try things. We see what works. We measure the data and all this stuff. We have little dashboards that tell us when things are working or not. Hopefully, the line goes up or whatever. So that's one little thing. What else is new this season?\n\n**JORDAN GREENBERG:** It's sort of like monitoring a dashboard for SRE-ness. Is it working? When did it stop working?\n\n**STEVE MCGHEE:** Yeah, data not facts.\n\n**JORDAN GREENBERG:** And I'll just go into it. Does it make sense for SRE to continue existing in a world where a machine can view and tell us when things are wrong? Because the topic--\n\n**STEVE MCGHEE:** I feel like you're going somewhere with this.\n\n**JORDAN GREENBERG:** --not to spoil it, but the topic might be AI and SRE. I think we're going to be talking about that this season.\n\n**STEVE MCGHEE:** And there may be some opinions, possibly some takes. And the topic is going to be-- I think it's going to be a little bit broader than that. But I think you're right. I think that that's going to be a majority of the time, just because, reasons. But it's going to be about different trends and also different friends. We're going to have more of the former.\n\nWe're going to talk to people who don't necessarily work at Google, or maybe work in different roles inside or outside of Google, with SREs. And then we're going to talk about the trends that we, and they, and everyone are seeing in the SRE space. I think it looks pretty exciting. Anything that anyone's looking out for in particular that looks exciting, that-- I mean, you don't want to spoil too much, I guess.\n\n**JORDAN GREENBERG:** I don't want to spoil too much. I know we're going to have some new guests. I know that we're going to have some repeat guests. I know that there's going to be jokes. I know that there's going to be--\n\n**STEVE MCGHEE:** My internet's going to go out at one point. It's going to be great.\n\n**JORDAN GREENBERG:** Yeah, Steve's internet is going to go out at one point. Maybe prepare a bingo card for yourself, see how far you get.\n\n**MATT SIEGLER:** Ooh, I think we've got a lot of uncertainty to manage in the future. And I think that's--\n\n**STEVE MCGHEE:** Are we the right people for that?\n\n**MATT SIEGLER:** I think there's a lot of uncertainty-- that's a lot of opportunity and ambiguity, and that's actually good for us.\n\n**FLORIAN RATHGEBER:** Oh, and we all thrive in ambiguity, as we all know.\n\n**STEVE MCGHEE:** That's right.\n\n**FLORIAN RATHGEBER:** A lot of thriving to do.\n\n**STEVE MCGHEE:** One other thing, we do have a feedback form. And we'll put this in the tail end of every episode or something like that. But if people are interested in giving feedback, we're going to, maybe we can put the QR code on the video screen. Can we? Is there a secret, magical? Everyone points in a direction, and it will be near one of our fingers.\n\n**JORDAN GREENBERG:** Someone will be right.\n\n**STEVE MCGHEE:** Yeah, so it'll be GOO dot GLE slash Prodcast dash feedback, goo.gle/prodcast-feedback. And yeah, maybe we'll have cool QR code people that can help us with things like that. The idea with the feedback, though, is to hear from listeners about what's working, what isn't. If you want to be a guest, if you want to suggest a guest, we're going to keep going. A lot of this season is planned already, but there will be more after that, so don't worry. What did I miss? I mean, I feel like we--\n\n**JORDAN GREENBERG:** I think that's it.\n\n**STEVE MCGHEE:** This is kind of a quick one. It's a “bumpisode”. It's short.\n\n**JORDAN GREENBERG:** No, we're done. I feel like we're done. We got it all.\n\n**STEVE MCGHEE:** Matt, is there anything else that you want to tell? I feel like I want to treat you as a guest real quick. So, Matt, where do you live in the world? I think you live in a place.\n\n**MATT SIEGLER:** I live in a place. I'm in the United States. I'm in Pittsburgh, in the great state of Pennsylvania, the Commonwealth of Pennsylvania.\n\n**STEVE MCGHEE:** It's a commonwealth, OK. Can you tell me your favorite thing about Pittsburgh and your less favorite thing about Pittsburgh?\n\n**MATT SIEGLER:** My favorite thing about Pittsburgh is that people love to talk about what used to be there all the time.\n\n**STEVE MCGHEE:** That's a good one.\n\n**MATT SIEGLER:** That's a common thing in the Northeast because it's constantly being turned over.\n\n**JORDAN GREENBERG:** That's true.\n\n**STEVE MCGHEE:** It's near the old donut shop.\n\n**MATT SIEGLER:** Yeah, the corner where the Cocos used to be, next to where the Dairy Queen was, a very common way to give directions.\n\n**STEVE MCGHEE:** We have one of those.\n\n**MATT SIEGLER:** And my least favorite thing is the severity of the climate. But that's also a Northern-Eastern thing that many of us are used to up here.\n\n**STEVE MCGHEE:** And then what is one thing you would change about your current job? What's a thing that you-- or maybe you are changing it. Maybe it's something that you're in the-- and you can't say be a host of a podcast, because that's obvious. You got to pick something else.\n\n**MATT SIEGLER:** This was, in fact, the thing I was changing about my job that felt like a fantastic, unlocked achievement. So that's going to be a hard second for me to come up with.\n\n**STEVE MCGHEE:** This is what we do. We put people on the spot. This is a hard-hitting podcast about the reliability of complex systems.\n\n**JORDAN GREENBERG:** And hopefully, you'll learn.\n\n**MATT SIEGLER:** Oh, I'll tell you exactly. A great deal of my work involves internal users who use the infrastructure that I help manage and make their lives better through direct engagement-- more, period, full stop.\n\n**STEVE MCGHEE:** I like it. I like it.\n\n**JORDAN GREENBERG:** We love helping the engineers, love that.\n\n**STEVE MCGHEE:** Cool. That's it, that's the whole interview.\n\n**JORDAN GREENBERG:** That's the whole thing.\n\n**MATT SIEGLER:** That's great.\n\n**STEVE MCGHEE:** Flying colors, well done.\n\n**MATT SIEGLER:** Five stars, we'll do it again.\n\n**JORDAN GREENBERG:** So now you have to do that for other people.\n\n**MATT SIEGLER:** Can it be that short?\n\n**JORDAN GREENBERG:** In the upcoming season of the Google SRE Prodcast.\n\n**STEVE MCGHEE:** Awesome, no pressure.\n\n**MATT SIEGLER:** Thank you, Steve. Thank you, Jordan.\n\n**STEVE MCGHEE:** All right, well, maybe we're done. I feel like that was a good bump.\n\n**MATT SIEGLER:** Yeah, it's probably more than maybe if we squared that bump.\n\n**JORDAN GREENBERG:** I think so.\n\n**STEVE MCGHEE:** I mean, that's fine. There's no rules here. This is a podcast, man. We can do whatever we want. Well, thanks, everyone. Looking forward to the upcoming season. What are we on, four? Geez.\n\n**JORDAN GREENBERG:** Four, yeah.\n\n**STEVE MCGHEE:** It's crazy.\n\n**MATT SIEGLER:** Oh, four.\n\n**JORDAN GREENBERG:** If you can believe.\n\n**STEVE MCGHEE:** Yeah. Thanks to Salim and Florian for showing up as well. And we also have a few other folks lurking in the background too, so thanks for Paul and Sunny. Thanks to MP who in the past kicked this back off again. Thanks to John and Adam who kicked it off initially, internal to Google.\n\nBefore, we didn't even have a podcatcher, you had to get an email with a link in it. Like, come on. But hundreds of people listened to it, it was very cool. And all the guests over the years have made this really, really real. So this has been great. Looking forward to continuing it.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** All right.\n\n**JORDAN GREENBERG:** All right.\n\n**STEVE MCGHEE:** Excitement. Did I do excitement?\n\n**JORDAN GREENBERG:** And I think so, we accomplished it all. We said, we introduced our next season of the Prodcast. We introduced our new hosts. And now the only thing left is to wish everybody a great day and to stay tuned for the next set of episodes.\n\n**SALIM VIRJI:** Love it.\n\n**STEVE MCGHEE:** Awesome.\n\n**FLORIAN RATHGEBER:** Shall we go out with a fist bump?\n\n**MATT SIEGLER:** Oh, yeah. Do you guys have a salute?\n\n**FLORIAN RATHGEBER:** Oh, yeah.\n\n[LAUGHTER]\n\n**MATT SIEGLER:** Fist bump.\n\n**JORDAN GREENBERG:** What, you do it there?\n\n**FLORIAN RATHGEBER:** Only for the “bumpisode”, of course.\n\n**STEVE MCGHEE:** Oh, because it's a “bumpisode”.\n\n**JORDAN GREENBERG:** It's so corny, but I guess I'll do it, poor Steve. The microphone needs help. Boop.\n\n**FLORIAN RATHGEBER:** Brace for lots of puns. punny puns.\n\n**JORDAN GREENBERG:** Awesome.\n\n**STEVE MCGHEE:** Corny.\n\n**SALIM VIRJI:** Wow.\n\n**STEVE MCGHEE:** Perfect. We did it.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 17457, "slov": 3106, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:56", "sha256": "3555d6d24b49255ad338b348853c44758fba7eefec0a9745aff67b91b15f1a9f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00/", "titulek": "We’re back with Season 4!", "h1": "We’re back with Season 4!", "popis": "In this episode, hosts and producers of Prodcast (including our new co-host, Matt Siegler!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00"}, "headline": "We’re back with Season 4!", "description": "In this episode, hosts and producers of Prodcast (including our new co-host, Matt Siegler!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.", "image": "https://kstatic.googleusercontent.com/files/c007cfc13801b713ef9241e105d95384b40dcb271d4a0322a723d1691a7bf86d5fdb05e3ada5d54c40514f67c3848d708c1a348625c87ee9ffb811a8bbcd3f59", "author": [], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "We’re back with Season 4!"}], "markdown": "# We’re back with Season 4!\n\nIn this episode, hosts and producers of Prodcast (including our new co-host, **Matt Siegler**!) reflect on the previous season and introduce the new season's focus on upcoming trends in Site Reliability Engineering (SRE) and AI, and the friends we make along the way. They also introduce new elements we are bringing in with Season 4, such as video format and a feedback form.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Can someone please explain to me why this is called a “Bumpisode”? What does the word bump mean?\n\n**JORDAN GREENBERG:** So I don't know if you ever watched Cartoon Network, or Adult Swim, or something like that. Basically, between TV shows, or commercials, or whatever, the network would put this little tiny interstitial thing that was like, hey, it's us from the network. We're going to talk about something. And maybe it's not going to have a lot of content, but we're going to do it. Back to your regularly scheduled programming. And that was called a bump.\n\n**STEVE MCGHEE:** I like it.\n\n**JORDAN GREENBERG:** And there's different versions of that for commercials and things. But this is called bump because we are between two seasons of the Prodcast, Google's SRE production podcast, with your host Steve, our new host Matt, and our producer Salim.\n\n**SALIM VIRJI:** Hello.\n\n**JORDAN GREENBERG:** And my name is Jordan. So I effectively just did all of our work for us. You're welcome.\n\n**STEVE MCGHEE:** I feel like we're starting. Did we just start?\n\n**JORDAN GREENBERG:** We did, absolutely.\n\n**STEVE MCGHEE:** Amazing.\n\n**JORDAN GREENBERG:** So this is just like, between seasons, we wanted to give our viewers an introduction to someone new, lay out our plans for what's coming, without spoilers, as much as possible, and wish them a great day.\n\n**STEVE MCGHEE:** All right, so that's a bump. Cool. I like it.\n\n**JORDAN GREENBERG:** That's a bump.\n\n**STEVE MCGHEE:** Well, given that, who's this new face we see on our now video screen, our video podcast? Are people going to watch this on video iPods? Is that how this works? I don't know how that works.\n\n**JORDAN GREENBERG:** I think so, yeah.\n\n**STEVE MCGHEE:** Yeah, OK.\n\n**MATT SIEGLER:** I'm Matt Siegler, I'm your new co-host. I'm currently in ML Infra SRE. I'm really excited to be a part of this season.\n\n**STEVE MCGHEE:** ML, and Infra, and SRE, those are all words. What do those words mean, Matt? Tell us more words.\n\n**MATT SIEGLER:** Machine learning, that's the thing you do to get the AI. You teach the machines how to learn.\n\n**JORDAN GREENBERG:** Oh.\n\n**MATT SIEGLER:** And the infrastructure, that's all that machinery to get the machines to be the learning. And SRE, you guys, you know what SRE is.\n\n**STEVE MCGHEE:** We know about that one, yeah.\n\n**JORDAN GREENBERG:** I hope so, after three seasons.\n\n**STEVE MCGHEE:** At this point, come on.\n\n**JORDAN GREENBERG:** A fourth one is coming.\n\n**STEVE MCGHEE:** There's always new listeners though, you guys. There's new listeners. So we gotta redefine ourselves each time.\n\n**SALIM VIRJI:** Yeah, I'm glad we worked through that. Do we tell the new listeners what they missed in the most recent season?\n\n**MATT SIEGLER:** Oh, yeah.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**MATT SIEGLER:** Can we recap that?\n\n**SALIM VIRJI:** Because it was chock full of good stuff.\n\n**STEVE MCGHEE:** There was some stuff, man.\n\n**SALIM VIRJI:** We heard about public DNS and why it's always DNS.\n\n**STEVE MCGHEE:** That was good.\n\n**JORDAN GREENBERG:** Oh yeah, we did.\n\n**STEVE MCGHEE:** So, Matt, you heard some of it. I don't know if you heard all the episodes, but I know you heard some of them. And what's the vibe? What did you get out of it?\n\n**MATT SIEGLER:** The take I got out of season 3 is that we're really looking outside of Google for excellence in representation of SRE in organizations of all sizes, which is something I'm really looking to extend in season four.\n\n**JORDAN GREENBERG:** We might have originated the terminology. But there are a million different places that have adopted the same mechanisms to fit mostly different sizes of use cases and still provide the same type of support and service that would be happening at Google, at other places.\n\nSo everybody can rest easily, knowing that their video games, their shopping portals, their internets are all working, and they have someone there who is able to say, yes, it's down, but I will fix it. And that's what I feel like is an OK summary of last season.\n\n**STEVE MCGHEE:** Yeah. And then I think the other thing that was different about last season is that we focused on software engineering itself, like the actual building of new stuff and not just manning the conn or whatever it is that you do in traditional views of ops, like eyeball the dashboards or something.\n\nAnd I personally pushed for that a lot because I thought that was a really important distinguisher, not for people who are already doing the job because they already know that that's what's going on, but for folks who are adjacent to SRE or new to SRE to really hammer down, like this is an important part of the role.\n\nAnd turns out, it's actually the most important part of the role. It's not just a cool thing. It's what you should be doing most of your time with as a team, at least in my opinion. And I think we barely scratched the surface, so there's a lot more to be said there.\n\nBefore we get into the next season and stuff, we also have a new face again. Salim, I don't think you introduced yourself. What's going on, man? Like, we're just skipping over you. Who are you even?\n\n**SALIM VIRJI:** That's all good. My voice is not one that you're likely to hear on this particular podcast. And I am Salim. I'm a site reliability engineer working on mostly external education for reliability engineering. And I live in New York. I think that's the colorful thing about me.\n\n**STEVE MCGHEE:** Excellent. And we also have Florian. Let's hear you, Florian. What's going on, man?\n\n**FLORIAN RATHGEBER:** Hey, folks.\n\n**STEVE MCGHEE:** Hey. Florian, can you tell the guests who the heck you are?\n\n**FLORIAN RATHGEBER:** Sure, I can. I'm Florian, I'm an SRE in Cloud. And I used to be on a team that was called Customer Reliability Engineering, where we were working with customers and helped them build reliable services on top of our platform. I have since moved on to a team that is working on improving mitigation for GCP customer incidents. So that's still fairly nascent.\n\nBut yeah, other than that, I've always been involved in SRE outreach-ey kind of things, like giving talks. And I joined the Prodcast on the previous season. But as I'm based in Zurich, I wasn't able to do that much hosting because of time zones. Time zones are hard, as we all know.\n\n**STEVE MCGHEE:** They are hard. Time is hard. Yeah. Florian, I remember it specifically, you definitely performed an SRE-type capacity in one episode because I believe there was an incident where my internet didn't work, and you filled in a lot. And I think, actually, Jordan, you did that too. My internet's not great, apparently, it turns out.\n\n**JORDAN GREENBERG:** Not 5-9 internet for Steve.\n\n**STEVE MCGHEE:** No pressure, Matt, but I might just disappear sometimes, and that's fine. But both of you performed admirably. So thank you very much.\n\n**FLORIAN RATHGEBER:** Maybe you should do some SRE-ing on your internet, Steve.\n\n**STEVE MCGHEE:** You'd think I would do that, but I don't know. It's tough.\n\n**JORDAN GREENBERG:** That sounds like work. He's off the clock at 5:00.\n\n**STEVE MCGHEE:** Seriously. I live in the country, and my Wi-Fi connects to other Wi-Fi over a parabolic dish or something. And when that one's out, I'm just like, I got nothing. It's outside my control.\n\n**SALIM VIRJI:** You have truly wireless internet.\n\n**STEVE MCGHEE:** I'm wireless on my wireless. Yes, we must go deeper. Well, let's get into what's going on next season. So first of all, some of you out there in the world can see us with your eyeballs because we have pixels now. So we're doing videos this season. Last season, we did shorts, little short videos, like little, I don't know, blurbs. Or I don't know what you call the blurb form of video. But they were on YouTube, and they were kind of like a marketing attempt to be like, does this help?\n\nAnd I don't know. It kind of worked. We'll see. It was an experiment. It didn't have a huge effect. But we're going to keep going. We're going to have a new experiment because this is what we do. We try things. We see what works. We measure the data and all this stuff. We have little dashboards that tell us when things are working or not. Hopefully, the line goes up or whatever. So that's one little thing. What else is new this season?\n\n**JORDAN GREENBERG:** It's sort of like monitoring a dashboard for SRE-ness. Is it working? When did it stop working?\n\n**STEVE MCGHEE:** Yeah, data not facts.\n\n**JORDAN GREENBERG:** And I'll just go into it. Does it make sense for SRE to continue existing in a world where a machine can view and tell us when things are wrong? Because the topic--\n\n**STEVE MCGHEE:** I feel like you're going somewhere with this.\n\n**JORDAN GREENBERG:** --not to spoil it, but the topic might be AI and SRE. I think we're going to be talking about that this season.\n\n**STEVE MCGHEE:** And there may be some opinions, possibly some takes. And the topic is going to be-- I think it's going to be a little bit broader than that. But I think you're right. I think that that's going to be a majority of the time, just because, reasons. But it's going to be about different trends and also different friends. We're going to have more of the former.\n\nWe're going to talk to people who don't necessarily work at Google, or maybe work in different roles inside or outside of Google, with SREs. And then we're going to talk about the trends that we, and they, and everyone are seeing in the SRE space. I think it looks pretty exciting. Anything that anyone's looking out for in particular that looks exciting, that-- I mean, you don't want to spoil too much, I guess.\n\n**JORDAN GREENBERG:** I don't want to spoil too much. I know we're going to have some new guests. I know that we're going to have some repeat guests. I know that there's going to be jokes. I know that there's going to be--\n\n**STEVE MCGHEE:** My internet's going to go out at one point. It's going to be great.\n\n**JORDAN GREENBERG:** Yeah, Steve's internet is going to go out at one point. Maybe prepare a bingo card for yourself, see how far you get.\n\n**MATT SIEGLER:** Ooh, I think we've got a lot of uncertainty to manage in the future. And I think that's--\n\n**STEVE MCGHEE:** Are we the right people for that?\n\n**MATT SIEGLER:** I think there's a lot of uncertainty-- that's a lot of opportunity and ambiguity, and that's actually good for us.\n\n**FLORIAN RATHGEBER:** Oh, and we all thrive in ambiguity, as we all know.\n\n**STEVE MCGHEE:** That's right.\n\n**FLORIAN RATHGEBER:** A lot of thriving to do.\n\n**STEVE MCGHEE:** One other thing, we do have a feedback form. And we'll put this in the tail end of every episode or something like that. But if people are interested in giving feedback, we're going to, maybe we can put the QR code on the video screen. Can we? Is there a secret, magical? Everyone points in a direction, and it will be near one of our fingers.\n\n**JORDAN GREENBERG:** Someone will be right.\n\n**STEVE MCGHEE:** Yeah, so it'll be GOO dot GLE slash Prodcast dash feedback, goo.gle/prodcast-feedback. And yeah, maybe we'll have cool QR code people that can help us with things like that. The idea with the feedback, though, is to hear from listeners about what's working, what isn't. If you want to be a guest, if you want to suggest a guest, we're going to keep going. A lot of this season is planned already, but there will be more after that, so don't worry. What did I miss? I mean, I feel like we--\n\n**JORDAN GREENBERG:** I think that's it.\n\n**STEVE MCGHEE:** This is kind of a quick one. It's a “bumpisode”. It's short.\n\n**JORDAN GREENBERG:** No, we're done. I feel like we're done. We got it all.\n\n**STEVE MCGHEE:** Matt, is there anything else that you want to tell? I feel like I want to treat you as a guest real quick. So, Matt, where do you live in the world? I think you live in a place.\n\n**MATT SIEGLER:** I live in a place. I'm in the United States. I'm in Pittsburgh, in the great state of Pennsylvania, the Commonwealth of Pennsylvania.\n\n**STEVE MCGHEE:** It's a commonwealth, OK. Can you tell me your favorite thing about Pittsburgh and your less favorite thing about Pittsburgh?\n\n**MATT SIEGLER:** My favorite thing about Pittsburgh is that people love to talk about what used to be there all the time.\n\n**STEVE MCGHEE:** That's a good one.\n\n**MATT SIEGLER:** That's a common thing in the Northeast because it's constantly being turned over.\n\n**JORDAN GREENBERG:** That's true.\n\n**STEVE MCGHEE:** It's near the old donut shop.\n\n**MATT SIEGLER:** Yeah, the corner where the Cocos used to be, next to where the Dairy Queen was, a very common way to give directions.\n\n**STEVE MCGHEE:** We have one of those.\n\n**MATT SIEGLER:** And my least favorite thing is the severity of the climate. But that's also a Northern-Eastern thing that many of us are used to up here.\n\n**STEVE MCGHEE:** And then what is one thing you would change about your current job? What's a thing that you-- or maybe you are changing it. Maybe it's something that you're in the-- and you can't say be a host of a podcast, because that's obvious. You got to pick something else.\n\n**MATT SIEGLER:** This was, in fact, the thing I was changing about my job that felt like a fantastic, unlocked achievement. So that's going to be a hard second for me to come up with.\n\n**STEVE MCGHEE:** This is what we do. We put people on the spot. This is a hard-hitting podcast about the reliability of complex systems.\n\n**JORDAN GREENBERG:** And hopefully, you'll learn.\n\n**MATT SIEGLER:** Oh, I'll tell you exactly. A great deal of my work involves internal users who use the infrastructure that I help manage and make their lives better through direct engagement-- more, period, full stop.\n\n**STEVE MCGHEE:** I like it. I like it.\n\n**JORDAN GREENBERG:** We love helping the engineers, love that.\n\n**STEVE MCGHEE:** Cool. That's it, that's the whole interview.\n\n**JORDAN GREENBERG:** That's the whole thing.\n\n**MATT SIEGLER:** That's great.\n\n**STEVE MCGHEE:** Flying colors, well done.\n\n**MATT SIEGLER:** Five stars, we'll do it again.\n\n**JORDAN GREENBERG:** So now you have to do that for other people.\n\n**MATT SIEGLER:** Can it be that short?\n\n**JORDAN GREENBERG:** In the upcoming season of the Google SRE Prodcast.\n\n**STEVE MCGHEE:** Awesome, no pressure.\n\n**MATT SIEGLER:** Thank you, Steve. Thank you, Jordan.\n\n**STEVE MCGHEE:** All right, well, maybe we're done. I feel like that was a good bump.\n\n**MATT SIEGLER:** Yeah, it's probably more than maybe if we squared that bump.\n\n**JORDAN GREENBERG:** I think so.\n\n**STEVE MCGHEE:** I mean, that's fine. There's no rules here. This is a podcast, man. We can do whatever we want. Well, thanks, everyone. Looking forward to the upcoming season. What are we on, four? Geez.\n\n**JORDAN GREENBERG:** Four, yeah.\n\n**STEVE MCGHEE:** It's crazy.\n\n**MATT SIEGLER:** Oh, four.\n\n**JORDAN GREENBERG:** If you can believe.\n\n**STEVE MCGHEE:** Yeah. Thanks to Salim and Florian for showing up as well. And we also have a few other folks lurking in the background too, so thanks for Paul and Sunny. Thanks to MP who in the past kicked this back off again. Thanks to John and Adam who kicked it off initially, internal to Google.\n\nBefore, we didn't even have a podcatcher, you had to get an email with a link in it. Like, come on. But hundreds of people listened to it, it was very cool. And all the guests over the years have made this really, really real. So this has been great. Looking forward to continuing it.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** All right.\n\n**JORDAN GREENBERG:** All right.\n\n**STEVE MCGHEE:** Excitement. Did I do excitement?\n\n**JORDAN GREENBERG:** And I think so, we accomplished it all. We said, we introduced our next season of the Prodcast. We introduced our new hosts. And now the only thing left is to wish everybody a great day and to stay tuned for the next set of episodes.\n\n**SALIM VIRJI:** Love it.\n\n**STEVE MCGHEE:** Awesome.\n\n**FLORIAN RATHGEBER:** Shall we go out with a fist bump?\n\n**MATT SIEGLER:** Oh, yeah. Do you guys have a salute?\n\n**FLORIAN RATHGEBER:** Oh, yeah.\n\n[LAUGHTER]\n\n**MATT SIEGLER:** Fist bump.\n\n**JORDAN GREENBERG:** What, you do it there?\n\n**FLORIAN RATHGEBER:** Only for the “bumpisode”, of course.\n\n**STEVE MCGHEE:** Oh, because it's a “bumpisode”.\n\n**JORDAN GREENBERG:** It's so corny, but I guess I'll do it, poor Steve. The microphone needs help. Boop.\n\n**FLORIAN RATHGEBER:** Brace for lots of puns. punny puns.\n\n**JORDAN GREENBERG:** Awesome.\n\n**STEVE MCGHEE:** Corny.\n\n**SALIM VIRJI:** Wow.\n\n**STEVE MCGHEE:** Perfect. We did it.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 17457, "slov": 3106, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-00", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:50", "sha256": "3555d6d24b49255ad338b348853c44758fba7eefec0a9745aff67b91b15f1a9f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01", "titulek": "Jessica Theodat (Senior SRE & Security Tech Lead, Google)", "h1": "The One With Security and Jessica Theodat", "popis": "Jessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01"}, "headline": "The One With Security and Jessica Theodat", "description": "Jessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.", "image": "https://kstatic.googleusercontent.com/files/42122b40303004211235c89bbd92d27937bcc0a2e5e1a66a767bcfe6410c3703f5c9e353bd0770bed9a9c28ddd9ead89aad19f45150610fe5be90f5de4f168ea", "author": [{"@type": "Person", "name": "Jessica Theodat"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Security and Jessica Theodat"}], "markdown": "# The One With Security and Jessica Theodat\n\nJessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**JORDAN GREENBERG:** Welcome to this episode of the Prodcast, Google's SRE production podcast. And let me say, we have a guest who's back, back, back, back, back again from a previous season, Jessica Theodat. Jess, hello?\n\n**JESSICA THEODAT:** Hello, Jordan and Steve. Thanks for having me back.\n\n**STEVE MCGHEE:** So Jess, you have a foot in two different worlds, I believe-- security and reliability, everyone's favorite two worlds. These are the things that keep things going. Am I right about that or how would you better describe-- how would you better intro yourself than my silly analogy that we just did?\n\n**JESSICA THEODAT:** Yeah. No, for sure. So, definitely in the two worlds. I guess one way to pitch it is that I'm a security focused reliability engineer, and to break that down-- so on-prem, so I primarily focus on infrastructure and systems for Google's premises, so that includes things like data centers, and offices, locals, colos. And in terms of responsibility, my role is to identify and assess and mitigate potential problems. And it's not strictly scoped to just security, I take a look at the bigger picture. I look at the potential effects of the bigger picture. And we'll dive into that a little more later, hopefully.\n\nSo when it comes to risk management, it's not a one-size-fits-all. And so, fundamentally, the translation of security risks and reliability risk to business impact is highly contextual. And so the idea is that I help stakeholders and their teams understand what those risks are to their businesses, help them prioritize it, and implement strategies to address.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** OK.\n\n**STEVE MCGHEE:** I thought it was funny that you said on-prem. Because I know when people think of-- people who work at Google and then they think of the word on-prem, they think of the stuff that isn't at Google. They think about their data center. But you're talking about the Google data center, which is the cloud on-prem, which is the stuff that the cloud actually runs on, which I think is pretty cool. So for customers of cloud, Google has an on-prem also. It's weird. But it's the thing that all your stuff runs on. So that's a good point.\n\n**JORDAN GREENBERG:** And we have the champion here.\n\n**STEVE MCGHEE:** That's it.\n\n**JORDAN GREENBERG:** Is what I'm hearing.\n\n**STEVE MCGHEE:** Yeah, for sure.\n\n**JORDAN GREENBERG:** So SREs often claim reliability is the number one feature of any system. Is security feature number zero or where does that fall in the hierarchy now?\n\n**STEVE MCGHEE:** Takes welcome.\n\n**JESSICA THEODAT:** Oh, for sure. For sure. So interestingly, people often joke about this. But it doesn't actually reflect reality. I think what I found having both sides of the fence now and at the intersection, the two domains often pull each other in opposite directions. You have on one hand, where security wants to resist and control, and then you have on the other hand, where reliability wants to ensure availability. And what we're seeing-- I think that we all see, really-- is that most orgs struggle with this tension, and they usually overindex for one at the expense of another. And I think that the real challenge isn't ranking them, like which one is higher than the other, but rather actually finding the right balance between the two for your specific context.\n\n**STEVE MCGHEE:** As an SRE, I've been focused on reliability and availability and latency and all that stuff forever. And I've found that a good interaction with the security team is that we're both aiming for the same big goal, which is, we want to protect the user. We want to maintain the service level of the thing. And we want the service to actually be the right thing. We don't want it to be altered by someone else or whatever. And they're actually-- it's all in the same purpose. We're on the same team. But I've seen it work poorly on the other side where yeah, we're working on the same team, but we have our blinders on. We're only focusing on our thing. We're not being holistic about it.\n\nIn cases like this, you can see where teams are trying to roll back a broken change or something like that, but they're not able to because of a security control. And then when they say, oh, we need to go past the security control to allow us to fix the thing, there isn't a way. And \"security says no.\" This is a common response.\n\nWe want to be able to roll out a security patch very fast bypassing the reliability concerns. We want to be able to push this patch to all the VMs at once right now, because this is really important because there's a thing out there. And the reliability team is like, no, you can't possibly do that. Same deal.\n\nSo I think being aware of this alignment is really, really important. And being able to think about this ahead of time and being able to say, same team everybody. Let's go here. Does that resonate with you?\n\n**JESSICA THEODAT:** Absolutely.\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** Absolutely. Absolutely. And I think you really nailed it with that one. Because the interesting thing about the two spaces is that, once you find yourself in a position where you have an incident and you need to compensate for something, they're both very difficult to bolt on. It's very difficult to then try to make your system more reliable if you didn't consider it in the early stages of your design. Right?\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** And the same is true of security as well. It's very difficult to make something more secure without having to necessarily redesign or refactor your entire infrastructure, which I've had experience with. And I will say it is a lot of heavy lifting.\n\n**JORDAN GREENBERG:** Oh, you don't think this is fun to have to refactor a whole thing?\n\n**JESSICA THEODAT:** Fun.\n\n**JORDAN GREENBERG:** Yes. Fun.\n\n**JESSICA THEODAT:** And so these are the things that we want to consider early on in the design phase of our systems. When we are approaching building different things that we're tacking on different feature, what we want to do is essentially work with this integrated thinking where you have and you're considering the perspectives of both security and reliability, and you're optimizing for the two spaces.\n\nAnd so part of that involves understanding what the trade-offs are and optimizing for those things, again, with an integrated mindset. And the benefit of doing all of this is that what ends up happening is you end up with a system that users implicitly trust. Because ultimately, users don't care about your security posture, and they don't care about your reliability metrics.\n\n**STEVE MCGHEE:** No?\n\n**JORDAN GREENBERG:** No.\n\n**JESSICA THEODAT:** I'm sorry, Steve, they just don't. They just don't.\n\n**STEVE MCGHEE:** Bummer.\n\n**JESSICA THEODAT:** But what they really care about is that the system works and that it works securely.\n\n**STEVE MCGHEE:** This reminds me of our last episode actually. So considering risk in a system and generally when we talk about risk in SRE, we're talking about availability, and latency, and all these other things, and scalability, and blah, blah, blah. Clearly, security is a pool of risk as well. So being able to think about just risk in an abstract way to say, all the risks need to be looked at and considered and ideally mitigated and prevented over time.\n\nAnd regardless of which side of the fence or the-- what did we call it, having one foot on each side of-- do you put feet on sides of fences? I'm not sure if that's possible. But being able to consider risk on both sides of this is hard to do in an organization that has two teams.\n\nSo having someone-- honestly like you, Jess-- that can be the interface between those two teams or at least say, hey, do this other team exists is, I think, super important. So I've seen teams where they've had people just be able to move between the teams. That, I think, is really helpful for groups out there in the world who want to try doing this about.\n\nJust make sure you can have an engineer who was in reliability go into security or the other way around and just bring their understanding with them. And most likely, through some process of osmosis, you'll get a little bit more awareness of each side of this fence or whatever we're calling it. Yeah.\n\n**JORDAN GREENBERG:** And lean on your TPM too if there is someone who is acting as connective tissue. Not to beat my own drum, but it sounds like something that's like, oh, did you know we have a team that does this already? Might be just the thing that you need to integrate into your system.\n\n**STEVE MCGHEE:** So given all that, how do you suggest? What have you seen in terms of these two teams or these two worlds or hats or whatever you want to call it? How is the best way to get them to interact? Because I know it must be different from a startup versus a gigantic megacorp. Are there themes that can help these different teams interact with each other or maybe things to avoid or something like that? What do you think, Jess?\n\n**JESSICA THEODAT:** So, yeah, I think you bring up a very interesting point. I find that it does work differently in small startups or startups and small businesses versus big companies. In a small company or a startup, what you might usually see is that the same people who are handling security are the same people who are handling reliability. And the advantage of that is that you have folks who are essentially considering the same domains, or both domains, rather. And because of that, that practice will most likely end up being part of your engineering culture, rather than them operating as separate functions.\n\nWhereas with larger companies, what will usually end up seeing is two different organizations, and the two have to be very intentional about their connection points, making sure they have joint planning, they're sharing metrics, and basically have visibility into each other's goals. And one of the ways that teams exercise this is by implementing a review process that evaluates both security and reliability impacts simultaneously.\n\nSo going back to the same original idea, when we're approaching a system design, we're taking into consideration both security and reliability risks, and we're optimizing for both. And part of that process is also evaluating what the impact of those optimizations for are like, both the impact of the optimization for security and for reliability.\n\nAnd then the other thing that I've seen-- and Google has gotten, I think, really good about this-- is about developing shared tooling so that we are eventually looking at things with the same lens, or through the same portal at least anyway. So using things like automation frameworks, observability platforms, we're looking at the same information-- we may process them differently because we're working in different contexts. But more or less, we're working with the same set of tools and information available to us.\n\n**STEVE MCGHEE:** Is that not true everywhere? Is this a hard to do thing, Jess? Is that what you're suggesting?\n\n**JESSICA THEODAT:** Very hard.\n\n**STEVE MCGHEE:** Oh, no.\n\n**JESSICA THEODAT:** But it's not impossible. I think, again, just it ultimately just goes back to being intentional and understanding what are your business's goals, and how do you shape your team and your cultures to speak to those things? I don't know, Steve. What do you think? What have you seen?\n\n**STEVE MCGHEE:** So I've seen-- outside of Google I've seen very distinct roles and very distinct tools and the lack of ability to even see the other team's tools, let alone use them or understand them. Very common-- very, very common. Inside of Google, I've seen a fair amount of overlap. An example that I like to share with customers that I talk to is when you're doing a security-- think of it as a patch, not necessarily a traditional patch, but a security update-- using the same rollout mechanism that you would use for product changes as opposed to some other thing, like some security specific rollout thingy. That's great. I think that's really good. That said, that rollout thingy needs to now know about security mode potentially. So it might be able to need to the ability to apply itself to more than one shard at a time, or whatever it is. So this requires that the teams actually listen to each other in terms of we have this requirement for that tool, else we have to go build our own tool over there and it's not going to be as good, blah, blah, blah, blah, blah.\n\nSo having a constraint system that allows you to say you're in this mode now and you're in this mode now is a lot of software engineering, it turns out. Given all that, this I think leads us into our next point, which is what about when we're doing incident response, and it's a security incident, not a reliability incident? Again, similar words like probably similar tools maybe, maybe you're using the same kind of-- inside of Google we have a tool called OMG which is the best name for a tool like this, obviously.\n\n**JESSICA THEODAT:** Yes, definitely.\n\n**STEVE MCGHEE:** But what the security teams do is different from what the reliability teams do, I think. Tell me if I'm wrong. But I know that there's a lot more siloization of need to know information. So for example, when I see a security incident, most of the time it has a funny name that is clearly auto-generated by some program somewhere. The name has nothing to do with the actual outage. And that's, like I've heard, on purpose. Also, like I can't see most of what's in that OMG. Again, it's probably not because they don't like me. It's probably because of some actual reason. So what's going on here? Why does this happen? And is this a good idea? I thought we just talked about sharing information and stuff. Why do we have to have all of this fancy secrecy stuff? Is this real, Jess? What's going on?\n\n**JESSICA THEODAT:** Yeah. So the sharing everything with everyone approach works for reliability, but that can actually harm your security response. And the reason for that is that threat actors are always listening and watching for your response. And sharing that information can tip them off. So compartmentalizing information isn't about bureaucracy. It's actually a tactic necessity, because you don't know which systems or comms or accounts they have access to or who has access to what. And beyond that, teams need different information. Execs really only need to know or care about the business impact of an incident. Engineering teams need containment steps. And as your incident response progresses, you'll gradually, naturally tag people in. But you'll do this on a need to know basis, because not everyone needs to know the full details of your attack.\n\n**STEVE MCGHEE:** Yeah. That's a really good way to put it, because I know I've heard the phrase need to know a lot. And it sounds like corporate junk. Like, come on. I need to know a lot of stuff. I'm a curious person.\n\n**JORDAN GREENBERG:** Or like secret agent.\n\n**STEVE MCGHEE:** Yeah, like.\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** All the yellow tape. All the red tape.\n\n**STEVE MCGHEE:** Yeah. Yeah. But being aware of the idea that a reliability thing happens because a thing broke or a code got pushed in the wrong place or the config or whatever, that's a passive-ish system. The code's not listening to what you're talking about generally, I think. But in a security incident, that's always a possibility. It's possible that you have an active adversary in a security incident, which is fundamentally different. And that creeps me out. So I'm really glad that I'm on the reliability side and not the security side because that sounds hard. So hats off to you for actually going against the bad guys. I'd just like to say I'm a janitor. I just fix broken things. I don't want to deal with bad guys. That seems that seems hard.\n\n**JORDAN GREENBERG:** It's being responsive and being more creative, as you and I have talked about. Jess, before. In a security incident, someone has gone about this in a way that's not follow the rules, It's change the rules, and break the rules to try to get that information. And reliability is about I set this up to work this specific way. I need to make this thing available and accessible, which is very counter to how a person who is attempting to compromise security thinks. It's a very different script versus no script to follow, I think.\n\n**JESSICA THEODAT:** It's a good way to put it.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** Well, this has been a good conversation, but I think we need to start to wrap things up a little bit. So, I mean, how do we solve this overall? We've got two minutes to solve all of reliability and security. Like, go, this should be easy. What should we tell people who are listening? Remember, the listeners of the Prodcast are generally SREs who don't work at Google, or SRE adjacents. They're going to be DevOps teams, platform teams, software engineers, TPMs, CTOs, I don't know, lots of people. So what should they think about when they're comparing their reliability teams and their security teams are figuring out how to help them work together? What's the idea here, especially in the context of AI? Don't forget that. We forgot about the trend for a little while there.\n\n**JORDAN GREENBERG:** Yes, we do have to add the trends.\n\n**JESSICA THEODAT:** For sure, for sure. So I think what the takeaway here is to recognize that it's not a zero-sum game. Ultimately, we're working towards the same thing, ensuring that we earn and keep user trust.\n\n**STEVE MCGHEE:** So if I'm a CIO or whatever it is, titles that people use in the world of VP or something like that, and I have a reliability team and a security team that I work with or work for me or something like that, who do I fund more? Who do I tell is in charge? This is a loaded question, obviously.\n\n**JORDAN GREENBERG:** Yeah. That's a tough one.\n\n**STEVE MCGHEE:** How do I get them to work together? How do I get them to understand that they're both important, or do I just say, good luck, everyone? Is there something here that we can give in terms of guidance around how these teams can work together?\n\n**JESSICA THEODAT:** I think the guidance here is to understand the trade-offs between the different decisions and the optimizations that you're doing, and mapping those back to the higher business goals. Again, because ultimately, the reason why we're doing all of this is to serve a need, or to fulfill a need for our users. And those are usually best described as business objectives or goals. And so we want to make sure that the strategies and the direction that we're heading in aligns to those things. And the way that you do that is by evaluating the different properties that speak to the goals and evaluating the trade offs between them, and understanding how each decision impacts users, how each decision may impact revenue or reputation, and so on and so forth. And then what you do is you prioritize for the most likely and most impactful failure modes.\n\n**JORDAN GREENBERG:** Oh, and this makes sense, knowing that, oh, the thing that you expect to happen is the thing that you should definitely plan for. So it helps with the prioritization. It helps with understanding, oh, which thing do I have to invest in?\n\n**STEVE MCGHEE:** Maybe we should do something about that.\n\n**JORDAN GREENBERG:** Thank you so much, Jess, again for coming back to us on the Prodcast. We are so thankful to have you. And we're so thankful to have you fighting to keep our tools reliable and secure. Appreciate you joining us again today.\n\n**JESSICA THEODAT:** Thank you. Thanks for having me back.\n\n**STEVE MCGHEE:** Thanks for coming.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 21025, "slov": 3691, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:54", "sha256": "19d082fdf8c3b540eac5dd5cd177fc6384ae7c47e5c7c90309f065f79df264b2", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01/", "titulek": "Jessica Theodat (Senior SRE & Security Tech Lead, Google)", "h1": "The One With Security and Jessica Theodat", "popis": "Jessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01"}, "headline": "The One With Security and Jessica Theodat", "description": "Jessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.", "image": "https://kstatic.googleusercontent.com/files/42122b40303004211235c89bbd92d27937bcc0a2e5e1a66a767bcfe6410c3703f5c9e353bd0770bed9a9c28ddd9ead89aad19f45150610fe5be90f5de4f168ea", "author": [{"@type": "Person", "name": "Jessica Theodat"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Security and Jessica Theodat"}], "markdown": "# The One With Security and Jessica Theodat\n\nJessica Theodat (Senior SRE & Security Tech Lead, Google) joins hosts Jordan Greenberg and Steve McGhee to discuss the intersection of security and site reliability engineering at Google. Jessica touches on risk management, the unique nature of security incident responses, and the shared goals between security and SRE. The crew also delves into the balance between security and SRE, acknowledging the tension and the need for collaboration between teams to achieve business goals and user trust.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**JORDAN GREENBERG:** Welcome to this episode of the Prodcast, Google's SRE production podcast. And let me say, we have a guest who's back, back, back, back, back again from a previous season, Jessica Theodat. Jess, hello?\n\n**JESSICA THEODAT:** Hello, Jordan and Steve. Thanks for having me back.\n\n**STEVE MCGHEE:** So Jess, you have a foot in two different worlds, I believe-- security and reliability, everyone's favorite two worlds. These are the things that keep things going. Am I right about that or how would you better describe-- how would you better intro yourself than my silly analogy that we just did?\n\n**JESSICA THEODAT:** Yeah. No, for sure. So, definitely in the two worlds. I guess one way to pitch it is that I'm a security focused reliability engineer, and to break that down-- so on-prem, so I primarily focus on infrastructure and systems for Google's premises, so that includes things like data centers, and offices, locals, colos. And in terms of responsibility, my role is to identify and assess and mitigate potential problems. And it's not strictly scoped to just security, I take a look at the bigger picture. I look at the potential effects of the bigger picture. And we'll dive into that a little more later, hopefully.\n\nSo when it comes to risk management, it's not a one-size-fits-all. And so, fundamentally, the translation of security risks and reliability risk to business impact is highly contextual. And so the idea is that I help stakeholders and their teams understand what those risks are to their businesses, help them prioritize it, and implement strategies to address.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** OK.\n\n**STEVE MCGHEE:** I thought it was funny that you said on-prem. Because I know when people think of-- people who work at Google and then they think of the word on-prem, they think of the stuff that isn't at Google. They think about their data center. But you're talking about the Google data center, which is the cloud on-prem, which is the stuff that the cloud actually runs on, which I think is pretty cool. So for customers of cloud, Google has an on-prem also. It's weird. But it's the thing that all your stuff runs on. So that's a good point.\n\n**JORDAN GREENBERG:** And we have the champion here.\n\n**STEVE MCGHEE:** That's it.\n\n**JORDAN GREENBERG:** Is what I'm hearing.\n\n**STEVE MCGHEE:** Yeah, for sure.\n\n**JORDAN GREENBERG:** So SREs often claim reliability is the number one feature of any system. Is security feature number zero or where does that fall in the hierarchy now?\n\n**STEVE MCGHEE:** Takes welcome.\n\n**JESSICA THEODAT:** Oh, for sure. For sure. So interestingly, people often joke about this. But it doesn't actually reflect reality. I think what I found having both sides of the fence now and at the intersection, the two domains often pull each other in opposite directions. You have on one hand, where security wants to resist and control, and then you have on the other hand, where reliability wants to ensure availability. And what we're seeing-- I think that we all see, really-- is that most orgs struggle with this tension, and they usually overindex for one at the expense of another. And I think that the real challenge isn't ranking them, like which one is higher than the other, but rather actually finding the right balance between the two for your specific context.\n\n**STEVE MCGHEE:** As an SRE, I've been focused on reliability and availability and latency and all that stuff forever. And I've found that a good interaction with the security team is that we're both aiming for the same big goal, which is, we want to protect the user. We want to maintain the service level of the thing. And we want the service to actually be the right thing. We don't want it to be altered by someone else or whatever. And they're actually-- it's all in the same purpose. We're on the same team. But I've seen it work poorly on the other side where yeah, we're working on the same team, but we have our blinders on. We're only focusing on our thing. We're not being holistic about it.\n\nIn cases like this, you can see where teams are trying to roll back a broken change or something like that, but they're not able to because of a security control. And then when they say, oh, we need to go past the security control to allow us to fix the thing, there isn't a way. And \"security says no.\" This is a common response.\n\nWe want to be able to roll out a security patch very fast bypassing the reliability concerns. We want to be able to push this patch to all the VMs at once right now, because this is really important because there's a thing out there. And the reliability team is like, no, you can't possibly do that. Same deal.\n\nSo I think being aware of this alignment is really, really important. And being able to think about this ahead of time and being able to say, same team everybody. Let's go here. Does that resonate with you?\n\n**JESSICA THEODAT:** Absolutely.\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** Absolutely. Absolutely. And I think you really nailed it with that one. Because the interesting thing about the two spaces is that, once you find yourself in a position where you have an incident and you need to compensate for something, they're both very difficult to bolt on. It's very difficult to then try to make your system more reliable if you didn't consider it in the early stages of your design. Right?\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** And the same is true of security as well. It's very difficult to make something more secure without having to necessarily redesign or refactor your entire infrastructure, which I've had experience with. And I will say it is a lot of heavy lifting.\n\n**JORDAN GREENBERG:** Oh, you don't think this is fun to have to refactor a whole thing?\n\n**JESSICA THEODAT:** Fun.\n\n**JORDAN GREENBERG:** Yes. Fun.\n\n**JESSICA THEODAT:** And so these are the things that we want to consider early on in the design phase of our systems. When we are approaching building different things that we're tacking on different feature, what we want to do is essentially work with this integrated thinking where you have and you're considering the perspectives of both security and reliability, and you're optimizing for the two spaces.\n\nAnd so part of that involves understanding what the trade-offs are and optimizing for those things, again, with an integrated mindset. And the benefit of doing all of this is that what ends up happening is you end up with a system that users implicitly trust. Because ultimately, users don't care about your security posture, and they don't care about your reliability metrics.\n\n**STEVE MCGHEE:** No?\n\n**JORDAN GREENBERG:** No.\n\n**JESSICA THEODAT:** I'm sorry, Steve, they just don't. They just don't.\n\n**STEVE MCGHEE:** Bummer.\n\n**JESSICA THEODAT:** But what they really care about is that the system works and that it works securely.\n\n**STEVE MCGHEE:** This reminds me of our last episode actually. So considering risk in a system and generally when we talk about risk in SRE, we're talking about availability, and latency, and all these other things, and scalability, and blah, blah, blah. Clearly, security is a pool of risk as well. So being able to think about just risk in an abstract way to say, all the risks need to be looked at and considered and ideally mitigated and prevented over time.\n\nAnd regardless of which side of the fence or the-- what did we call it, having one foot on each side of-- do you put feet on sides of fences? I'm not sure if that's possible. But being able to consider risk on both sides of this is hard to do in an organization that has two teams.\n\nSo having someone-- honestly like you, Jess-- that can be the interface between those two teams or at least say, hey, do this other team exists is, I think, super important. So I've seen teams where they've had people just be able to move between the teams. That, I think, is really helpful for groups out there in the world who want to try doing this about.\n\nJust make sure you can have an engineer who was in reliability go into security or the other way around and just bring their understanding with them. And most likely, through some process of osmosis, you'll get a little bit more awareness of each side of this fence or whatever we're calling it. Yeah.\n\n**JORDAN GREENBERG:** And lean on your TPM too if there is someone who is acting as connective tissue. Not to beat my own drum, but it sounds like something that's like, oh, did you know we have a team that does this already? Might be just the thing that you need to integrate into your system.\n\n**STEVE MCGHEE:** So given all that, how do you suggest? What have you seen in terms of these two teams or these two worlds or hats or whatever you want to call it? How is the best way to get them to interact? Because I know it must be different from a startup versus a gigantic megacorp. Are there themes that can help these different teams interact with each other or maybe things to avoid or something like that? What do you think, Jess?\n\n**JESSICA THEODAT:** So, yeah, I think you bring up a very interesting point. I find that it does work differently in small startups or startups and small businesses versus big companies. In a small company or a startup, what you might usually see is that the same people who are handling security are the same people who are handling reliability. And the advantage of that is that you have folks who are essentially considering the same domains, or both domains, rather. And because of that, that practice will most likely end up being part of your engineering culture, rather than them operating as separate functions.\n\nWhereas with larger companies, what will usually end up seeing is two different organizations, and the two have to be very intentional about their connection points, making sure they have joint planning, they're sharing metrics, and basically have visibility into each other's goals. And one of the ways that teams exercise this is by implementing a review process that evaluates both security and reliability impacts simultaneously.\n\nSo going back to the same original idea, when we're approaching a system design, we're taking into consideration both security and reliability risks, and we're optimizing for both. And part of that process is also evaluating what the impact of those optimizations for are like, both the impact of the optimization for security and for reliability.\n\nAnd then the other thing that I've seen-- and Google has gotten, I think, really good about this-- is about developing shared tooling so that we are eventually looking at things with the same lens, or through the same portal at least anyway. So using things like automation frameworks, observability platforms, we're looking at the same information-- we may process them differently because we're working in different contexts. But more or less, we're working with the same set of tools and information available to us.\n\n**STEVE MCGHEE:** Is that not true everywhere? Is this a hard to do thing, Jess? Is that what you're suggesting?\n\n**JESSICA THEODAT:** Very hard.\n\n**STEVE MCGHEE:** Oh, no.\n\n**JESSICA THEODAT:** But it's not impossible. I think, again, just it ultimately just goes back to being intentional and understanding what are your business's goals, and how do you shape your team and your cultures to speak to those things? I don't know, Steve. What do you think? What have you seen?\n\n**STEVE MCGHEE:** So I've seen-- outside of Google I've seen very distinct roles and very distinct tools and the lack of ability to even see the other team's tools, let alone use them or understand them. Very common-- very, very common. Inside of Google, I've seen a fair amount of overlap. An example that I like to share with customers that I talk to is when you're doing a security-- think of it as a patch, not necessarily a traditional patch, but a security update-- using the same rollout mechanism that you would use for product changes as opposed to some other thing, like some security specific rollout thingy. That's great. I think that's really good. That said, that rollout thingy needs to now know about security mode potentially. So it might be able to need to the ability to apply itself to more than one shard at a time, or whatever it is. So this requires that the teams actually listen to each other in terms of we have this requirement for that tool, else we have to go build our own tool over there and it's not going to be as good, blah, blah, blah, blah, blah.\n\nSo having a constraint system that allows you to say you're in this mode now and you're in this mode now is a lot of software engineering, it turns out. Given all that, this I think leads us into our next point, which is what about when we're doing incident response, and it's a security incident, not a reliability incident? Again, similar words like probably similar tools maybe, maybe you're using the same kind of-- inside of Google we have a tool called OMG which is the best name for a tool like this, obviously.\n\n**JESSICA THEODAT:** Yes, definitely.\n\n**STEVE MCGHEE:** But what the security teams do is different from what the reliability teams do, I think. Tell me if I'm wrong. But I know that there's a lot more siloization of need to know information. So for example, when I see a security incident, most of the time it has a funny name that is clearly auto-generated by some program somewhere. The name has nothing to do with the actual outage. And that's, like I've heard, on purpose. Also, like I can't see most of what's in that OMG. Again, it's probably not because they don't like me. It's probably because of some actual reason. So what's going on here? Why does this happen? And is this a good idea? I thought we just talked about sharing information and stuff. Why do we have to have all of this fancy secrecy stuff? Is this real, Jess? What's going on?\n\n**JESSICA THEODAT:** Yeah. So the sharing everything with everyone approach works for reliability, but that can actually harm your security response. And the reason for that is that threat actors are always listening and watching for your response. And sharing that information can tip them off. So compartmentalizing information isn't about bureaucracy. It's actually a tactic necessity, because you don't know which systems or comms or accounts they have access to or who has access to what. And beyond that, teams need different information. Execs really only need to know or care about the business impact of an incident. Engineering teams need containment steps. And as your incident response progresses, you'll gradually, naturally tag people in. But you'll do this on a need to know basis, because not everyone needs to know the full details of your attack.\n\n**STEVE MCGHEE:** Yeah. That's a really good way to put it, because I know I've heard the phrase need to know a lot. And it sounds like corporate junk. Like, come on. I need to know a lot of stuff. I'm a curious person.\n\n**JORDAN GREENBERG:** Or like secret agent.\n\n**STEVE MCGHEE:** Yeah, like.\n\n**JORDAN GREENBERG:** Yes.\n\n**JESSICA THEODAT:** All the yellow tape. All the red tape.\n\n**STEVE MCGHEE:** Yeah. Yeah. But being aware of the idea that a reliability thing happens because a thing broke or a code got pushed in the wrong place or the config or whatever, that's a passive-ish system. The code's not listening to what you're talking about generally, I think. But in a security incident, that's always a possibility. It's possible that you have an active adversary in a security incident, which is fundamentally different. And that creeps me out. So I'm really glad that I'm on the reliability side and not the security side because that sounds hard. So hats off to you for actually going against the bad guys. I'd just like to say I'm a janitor. I just fix broken things. I don't want to deal with bad guys. That seems that seems hard.\n\n**JORDAN GREENBERG:** It's being responsive and being more creative, as you and I have talked about. Jess, before. In a security incident, someone has gone about this in a way that's not follow the rules, It's change the rules, and break the rules to try to get that information. And reliability is about I set this up to work this specific way. I need to make this thing available and accessible, which is very counter to how a person who is attempting to compromise security thinks. It's a very different script versus no script to follow, I think.\n\n**JESSICA THEODAT:** It's a good way to put it.\n\n**JORDAN GREENBERG:** Yeah.\n\n**STEVE MCGHEE:** Well, this has been a good conversation, but I think we need to start to wrap things up a little bit. So, I mean, how do we solve this overall? We've got two minutes to solve all of reliability and security. Like, go, this should be easy. What should we tell people who are listening? Remember, the listeners of the Prodcast are generally SREs who don't work at Google, or SRE adjacents. They're going to be DevOps teams, platform teams, software engineers, TPMs, CTOs, I don't know, lots of people. So what should they think about when they're comparing their reliability teams and their security teams are figuring out how to help them work together? What's the idea here, especially in the context of AI? Don't forget that. We forgot about the trend for a little while there.\n\n**JORDAN GREENBERG:** Yes, we do have to add the trends.\n\n**JESSICA THEODAT:** For sure, for sure. So I think what the takeaway here is to recognize that it's not a zero-sum game. Ultimately, we're working towards the same thing, ensuring that we earn and keep user trust.\n\n**STEVE MCGHEE:** So if I'm a CIO or whatever it is, titles that people use in the world of VP or something like that, and I have a reliability team and a security team that I work with or work for me or something like that, who do I fund more? Who do I tell is in charge? This is a loaded question, obviously.\n\n**JORDAN GREENBERG:** Yeah. That's a tough one.\n\n**STEVE MCGHEE:** How do I get them to work together? How do I get them to understand that they're both important, or do I just say, good luck, everyone? Is there something here that we can give in terms of guidance around how these teams can work together?\n\n**JESSICA THEODAT:** I think the guidance here is to understand the trade-offs between the different decisions and the optimizations that you're doing, and mapping those back to the higher business goals. Again, because ultimately, the reason why we're doing all of this is to serve a need, or to fulfill a need for our users. And those are usually best described as business objectives or goals. And so we want to make sure that the strategies and the direction that we're heading in aligns to those things. And the way that you do that is by evaluating the different properties that speak to the goals and evaluating the trade offs between them, and understanding how each decision impacts users, how each decision may impact revenue or reputation, and so on and so forth. And then what you do is you prioritize for the most likely and most impactful failure modes.\n\n**JORDAN GREENBERG:** Oh, and this makes sense, knowing that, oh, the thing that you expect to happen is the thing that you should definitely plan for. So it helps with the prioritization. It helps with understanding, oh, which thing do I have to invest in?\n\n**STEVE MCGHEE:** Maybe we should do something about that.\n\n**JORDAN GREENBERG:** Thank you so much, Jess, again for coming back to us on the Prodcast. We are so thankful to have you. And we're so thankful to have you fighting to keep our tools reliable and secure. Appreciate you joining us again today.\n\n**JESSICA THEODAT:** Thank you. Thanks for having me back.\n\n**STEVE MCGHEE:** Thanks for coming.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 21025, "slov": 3691, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:51", "sha256": "19d082fdf8c3b540eac5dd5cd177fc6384ae7c47e5c7c90309f065f79df264b2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02", "titulek": "The One With Data Centers and Peter Pellerzi", "h1": "The One With Data Centers and Peter Pellerzi", "popis": "This episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02"}, "headline": "The One With Data Centers and Peter Pellerzi", "description": "This episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.", "image": "https://kstatic.googleusercontent.com/files/a5471b3fa134a984bc293cc87a820b427ea270858cfa612f2087e7352ceb3340d6f3e7185f26f7caa7076d859866f512afa223d407244e3b3d238cec4949cbfd", "author": [{"@type": "Person", "name": "Peter Pellerzi"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Data Centers and Peter Pellerzi"}], "markdown": "# The One With Data Centers and Peter Pellerzi\n\nThis episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Welcome, everyone. We're coming back to season 4 of The Prodcast from Google. Can you believe season 4? It seems like a long time. I don't know, maybe it's just me.\n\nSo today, we have a great new guest, Pete Pellerzi, who works with actual physical things, like buildings and machines, and stuff, and not just like, bits. So, Pete, you deal with atoms, I guess. Is that true? I mean, that's wild. You might be the first one on our guest list to do that.\n\n**PETER PELLERZI:** Well, I would say electrons.\n\n**STEVE MCGHEE:** Electrons. OK, cool. And co-host today is Matt. Welcome back, Matt.\n\n**MATT SIEGLER:** Thanks, wonderful to be here again.\n\n**STEVE MCGHEE:** Awesome. So yeah, we did a little kind of a quick fake intro to Pete. But Pete, why don't you introduce yourself properly? Who are you exactly?\n\n**PETER PELLERZI:** Sure. So by training, I'm an electrical engineer. Actually, I was a physicist before that. But I have an electrical engineering degree, and that's where I've spent most of my time doing physical things like large substations, transformers. We build those, install them, and we do the physical part of the Google world.\n\nSo at Google, I'm a distinguished engineer, which is a title that is relevant here at Google. And I am assigned to the construction team. So we have different groups that make the physical infrastructure, tons of really talented people. And I work with the construction side, the physical side of it.\n\nAnd our team is responsible to take the design that's done by our design groups and platforms and so on, make sure that what we do works for the correct generation of server technology. And we bring that into the physical world.\n\nWe're the ones who physically pour the concrete, even though that's a small part of our job. But we do the foundations, we do the building, we do the electrical, and the cooling infrastructure. We do all those big campuses that you see in the newsletters. So we turn it into the physical world.\n\n**MATT SIEGLER:** Give us a sense of the scale of these operations, the people in--\n\n**STEVE MCGHEE:** Yeah, they can't be that big, right? It's got to be--\n\n**PETER PELLERZI:** Yeah, they can't be that big.\n\n**STEVE MCGHEE:** Size of my house, maybe. No?\n\n**MATT SIEGLER:** Maybe a gymnasium.\n\n**PETER PELLERZI:** A typical data center.\n\n**STEVE MCGHEE:** Small shed.\n\n**PETER PELLERZI:** A small shed. Yeah, no, not quite. It's interesting because there's a lot of startup when you do the first one. So typically, what we'll do is we'll locate a community that meets our criteria. And we work very closely with the communities to land our not just data center, but our presence there for a long time.\n\nSo we're not just going to run in and run out. We work with the communities, we work with partnerships with the mayor and the environmental folks. We're very community-oriented. And we started building a campus. We'll buy 200, 300, up to 1,000 acres in a community, and we'll responsibly develop it.\n\nSo you'll see our entrance go in, where you'll pull in with your car and you badge in at the guard station. Then you see that the first building goes up. And we always plan for two or three buildings, because you want to make sure you don't do something weird on the first one, like stick it in the middle of the parcel and then you have no place to put the second building.\n\nSo we'll start planning the site and we'll build our first building. A typical data center is roughly two football fields on end. So if you took a football field and another football field and you put them together, that's the size of the actual server hall for one of our data centers.\n\nThen you see all the stuff around them, the electrical infrastructure that supplies the power, then the cooling infrastructure that removes the heat out of the building, generator support when the power goes out once in a while, and then all the other structures-- places to eat, offices, entranceway, parking, and all that stuff.\n\n**STEVE MCGHEE:** So with regards to places to eat, I think that means that you have employees there as well. Like, I'm guessing it's not like a fully autonomous system.\n\n**PETER PELLERZI:** No.\n\n**STEVE MCGHEE:** Once it's been built, I'm saying like, of course it's a zoo when you're building it out and it's never probably really done. But when it's operating, when you have services running, you've got like a slice of Gmail and a bit of AI or whatever is running in that data center, are there a ton of ants running around like pushing buttons on machines, or is it totally autonomous, or somewhere in the middle? Or like, what are we talking about here?\n\n**PETER PELLERZI:** It's somewhere in the middle.\n\n**STEVE MCGHEE:** OK.\n\n**PETER PELLERZI:** Obviously, there's always a push to make things as automated as possible. You don't want to be going up and down rows of machines looking for the one that doesn't have the blinky light.\n\nYou want to know which one has a bad hard drive. You want to know which one has a bad memory. You want to know which one has a failed power supply, and so on. So those are processes, break fixes are highly automated. Otherwise, you just can't keep ahead of them.\n\n**STEVE MCGHEE:** That makes sense.\n\n**PETER PELLERZI:** But we do have quite a contingent on site. Remember, we always focus on the machines, which is our primary focus. But there are a lot of other services, for example, 24-hour security, people, gardening, landscaping, food services, cleaning, repairs, general maintenance, and so on.\n\nSo there's quite a contingent of folks that maintain a so-called automated data center. They're getting there, but they're not science fiction. It's still humans that are fixing things.\n\n**MATT SIEGLER:** Yeah, fixing things, that's got me thinking about things that go wrong, incidents, concerns, safety. Tell us a bit about how things get managed when they go wrong. What's an incident look like in a data center?\n\n**PETER PELLERZI:** Well, having been in the data center industry for a long time, you don't give away your age anymore when you get beyond a certain age. So I'll say 25-plus years, that's sort of a safe way to say it. But in my 25-plus years, I've worked here, of course. And before here, I was at IBM, another large data center provider.\n\nEvery data center eventually will have some sort of failure. It's just a physical property of the world. Nothing lasts forever. Things break, things go wrong with no one doing anything wrong. It's just that things break. Circuit breaker, trips open because the trip unit failed, and so on. All kinds of things happen.\n\nThat's not really what differentiates success in a company, or differentiates a company as being successful. Things will break everywhere. It's how you deal with the break. That's the key. That's the differentiator, at least what I've seen here at Google.\n\nFor example, Saturday afternoon, 2 o'clock, perfectly fine weather, beautiful sunny day, something goes wrong. Utility fails. Who knows? A million things can go wrong.\n\n**STEVE MCGHEE:** Can you think of an example of a particular failure that you can share with us? I know that you have exciting stories.\n\n**PETER PELLERZI:** Oh, wait, well, I'm not sure about exciting. But, for example, a couple of weeks ago, well-documented, the entire country of Chile lost power.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**PETER PELLERZI:** Oh, yes.\n\n**STEVE MCGHEE:** That was in the news, yeah.\n\n**PETER PELLERZI:** Again, we have no control over that. Absolutely zero control. We have no way to do anything about that.\n\n**MATT SIEGLER:** Who could see this coming?\n\n**PETER PELLERZI:** It just, they failed. They had a whole bunch of things. You could read about it in the news, why they failed, and so on, but that doesn't matter. We did not experience an outage. So you say, well, why not? This is catastrophic. Well, OK. Hold on.\n\nWhen something goes wrong on this proverbial Saturday at 2 o'clock or 1:00 AM in the morning, we have very specific protocols at all of our data centers. So, for example, we open up a video chat immediately, a common video chat between anybody who wants to get on. But usually, it's between facility managers, SRE, and so on. But what happens is folks automatically start to dial in. We get the emergency announcement on our email, we'll dial in, we'll help you. So we never strand someone at a data center and say, well, you're on your own, see what you can do. Not at all. And this is the differentiator, we behave like a community.\n\n**STEVE MCGHEE:** Yeah, that's great.\n\n**PETER PELLERZI:** And you never leave somebody just hanging. They know they have the support globally. You'll have SRE London, you'll have SRE-- everybody will chime in.\n\nAnd respectfully, because you don't want a million people talking, but you listen. What can I do for these folks? Can I help? Have I had the same situation? What did I do? Are they forgetting something? This way you're not alone. And this is a super successful strategy, I mean, super successful.\n\nSo when we had this situation in Chile, we had multiple data centers down there, and they lost power through the whole country. So what's the strategy when you have a countrywide outage? You don't have that written down anywhere, but you have enough people with enough authority to say, yeah, why don't you get a hold of refueling? Let's start refueling right away, because we don't know how long this is going to last.\n\n**STEVE MCGHEE:** They're able to adapt. It's adaptation--\n\n**PETER PELLERZI:** We got on the fly. And you've got different people with different pieces, and say, no, you really should look at this and make sure you get that. And you really feel like they have your back.\n\n**STEVE MCGHEE:** It's like cooperative adaptation. That's pretty cool.\n\n**PETER PELLERZI:** Exactly. And this is the secret. This is not, let's make sure nothing ever breaks. That's not a strategy. Things break. But how do you deal with it?\n\n**MATT SIEGLER:** I think some of our listeners would be really keen to hear how-- for their much smaller organization, perhaps with less of an existing roadmap for this distribution of skill, for these many layers of planning over a longer time-- how they could find a roadmap for themselves to build this kind of competency forward?\n\n**PETER PELLERZI:** Sure.\n\n**MATT SIEGLER:** What would you suggest to them, starting from where they are right now, how to develop their culture for this forward from small? And what kind of steps to take, like incremental approach to gain this kind of resilience?\n\n**PETER PELLERZI:** It's interesting because I started at Google when we were very small. When I started, we had just a handful of data centers, and I actually was assigned to finish some of them as one of my first assignments here, because we really had just a few.\n\nSo how do you start from a small organization and scale it? Or maybe you're not going to scale it. Maybe this is all you need. You just need a few data centers and you're fine. You need to find trusted partners.\n\nSo for example, when we were smaller, we had very low staff. We depended on certain outside architects and engineering consultants, certain trusted vendors, electrical contractors and so on, that had specialty skills. And we used them, and we paid them. We didn't ask for charity. They were on retainer and we paid them for their time. But they had the expertise we didn't have.\n\nSo we said, listen, we're going to set up maybe an on-call agreement with you so that we don't have to write you a PO every time. But hey, when I need you on a Saturday, can I get a hold of Andy and Tom, and ask them to dial in or to go to the site and help the site recover? So we used outside vendors as we built our in-house expertise. You don't have to know everything. You don't have to be capable of everything, but you need a plan.\n\nJust something simple like fueling, when you go on a generator, you need fuel. Well, you need to have the discussion with your local fuel vendors way ahead of time before you need them and say, what can you do? Well, I can get you there in four hours. OK, I got it. You sure? Yep, I'll be there in four hours when you need me. OK, now, that becomes part of your business continuity plan.\n\nSo start small, and start with the obvious things. Talk to your vendors, put down a few, even just a few words on a business continuity plan. What happens when power goes out? Just five bullets, and that really gets it going.\n\n**STEVE MCGHEE:** With regards to the Chile incident, I wasn't involved in that at all because it was just recently. But I remember some other kind of power incident I heard about somewhere in the world, and they talked about getting refueling. But they had figured out how long it takes to get the fuel, but also how many trucks needed to be in flight at any given time to keep that up, to keep that--\n\n**PETER PELLERZI:** That's right.\n\n**STEVE MCGHEE:** They could keep it going basically, not forever, but for a long time. But they didn't really, they didn't know there was going to be a really big outage. But they thought like, well, we know how to get one truck of fuel, but let's just make a spreadsheet just in case in the future.\n\nAnd they ended up using it. Like that spreadsheet totally saved the day because they knew to spin up the seven trucks, or whatever it was that can allow, they can get all the way to the fuel repo, and back again before the tank runs out, and blah, blah, blah.\n\nSo that kind of preparation I think is, I think that translates really well, not just to the data center world, but to any kind of dealing with response. You don't have to predict the exact outage, but just knowing your capabilities, and what you can do and like, well, this is what we have in our shed of possibilities. So at least you know what's in your shed, which is really important, or your tool belt, maybe.\n\n**MATT SIEGLER:** Steve, this does sound a little like doing your postmortems after an incident, looking back on lessons learned. Looking at your analysis, how did it match up with what actually went on? And I expect you to do quite a bit of that after an incident like that, to tell us a little bit about that looking backward, after your forecasting, things you learned, things you got right and wrong. I suspect you do quite a bit of that.\n\n**PETER PELLERZI:** Absolutely. And I'll give you a, let's stick on that fueling topic for a bit because it's something that you don't do very often. Let's be serious about this. The utility grids are actually fairly reliable. When you need it, it's maybe once in your career or twice, it's a very rare item that you need to refuel because of an outage.\n\nA lot of times, you're refueling because you've used your diesel generators for maintenance purposes. And so then you kind of refuel at your leisure. I would challenge you to do as much real-world testing as possible. And here's something that we learned that is not obvious.\n\nYou say, well, how much fuel do I burn? Oh, we burn a truck full of fuel, for X number of hours. And that truck is 7,200 gallons, 7,250, I believe, full tanker truck. So you're like, OK, great, we need one of those every blah, blah, blah. And you do these quick calculations, and you think you're all dialed in, you're golden, but you haven't done it physically in the real world.\n\nSo we did. We had that opportunity. We had run the fuel down on one of the sites a little bit and we said, hey, let's do this as though it was a real emergency. So we started refueling. What did we learn?\n\nWe learned that the most you can get out of a truck is 300 gallons per minute. That's it. That's all they can pump. So now, we had not figured in the offloading time. And the offloading time turned out to be significant.\n\n**STEVE MCGHEE:** It wasn't instantaneous?\n\n**PETER PELLERZI:** It was not instantaneous. You have to drain 7,200 gallons out of that truck at 300 gallons per minute, max.\n\n**STEVE MCGHEE:** That's a few minutes at least.\n\n**PETER PELLERZI:** And that doesn't include setup time with the hoses, connection, disconnection, clean up, chocking the tires on the truck, getting the drive-- none of that was included, and we were very surprised at how long it took. And getting the truck in and out of the gate through security, we had not thought it through.\n\n**STEVE MCGHEE:** That's a great example, because I think often the math, you can do enough math and just totally convince yourself, and then it hits reality, and you're like, oh, wait, there was a whole field of equations I forgot about or I didn't know about.\n\n**PETER PELLERZI:** Do it. And that's a lot of the real-world testing that we do. As part of maybe not an emergency, but as part of a maintenance iteration, say, hey, what happens if that doesn't start? Or what happens if this doesn't run? Take advantage of every single one of those opportunities because you will learn something new every time.\n\n**STEVE MCGHEE:** Let me ask you a question. Kind of shifting gears a little bit. When we talk about fuel, and infrastructure, and concrete, and things, I think of that as looking down, down the stack, right down towards the Earth and the fuel or whatever.\n\nAnd then if you look up, I imagine sort of symbolically, like, after a certain point, you get out of the data center and you get into the distributed system that's built on top of it. And so this is where these big systems of software are running across many data centers.\n\nAnd then, now, you're interacting with other teams. You're not really dealing with vendors, dealing with trucks. You're dealing with SREs in London, you mentioned, or software developers in Tokyo, and things like that.\n\nSo what are the interactions between your staff, the people that you work with on site, and those folks? Like, is it just, is there a brick wall and you never talk to each other? Are there tickets like, you mentioned in this video conference, the panic room, which is tongue in cheek. Hopefully, it's not actual panic. But are there other methods that you guys-- like, is everything figured out or is there also adaptation going on in that direction as well?\n\n**PETER PELLERZI:** Absolutely, and we talk all the time.\n\n**STEVE MCGHEE:** That's awesome.\n\n**PETER PELLERZI:** Before this call, I was on another call with, probably, 20 SRE folks, talking about the next round of DiRT testing, ISON testing, and so on, that we will be doing this year. It is a constant communication. And the best communication we can have is that our work is totally transparent to the rest of the fleet. So like the Chile situation, the whole country had no power, but we were not impacted.\n\n**STEVE MCGHEE:** Can you tell us what DiRT and ISON testing are?\n\n**PETER PELLERZI:** Oh, of course. DiRT is simulated failures. And I forgot what the acronym is. SRE, you all should know better than I do.\n\n**STEVE MCGHEE:** Yeah, Disaster Recovery Test or Resilience test.\n\n**MATT SIEGLER:** Resilience.\n\n**PETER PELLERZI:** There you go. It's simulated. What happens if this goes really bad? How do we recover the customers, the data, and so on? So we coordinate with that all the time. And then ISON testing is where we actually fail things off. We actually shut things off and say, what happens if this shuts off? But basically, it's a real shut off. And this is where we walk the talk. We say, well, you should do this, and you should do that. And it's very easy to say that, but we actually do shut things off. And we say, well, what if the utility failed? Well, OK, we could do a simulation, or we could turn it off.\n\n**STEVE MCGHEE:** And then how does this affect the upstream systems? Like, are they actually capable of surviving such a thing?\n\n**PETER PELLERZI:** Well, it shouldn't. It shouldn't. But again, like offloading the fuel truck, it's something we don't do very often because we never want to run on diesel. For all kinds of reasons — environmental, and so on. So we try never to run on diesel generators, but so even more important to actually test it because it's something you don't do very often, which means, oh, it'll be fine. Really, it won't be fine.\n\n**STEVE MCGHEE:** Yeah, out in the world they call, sometimes, they refer to this as chaos testing. That's mostly in the software failure modes, but you can imagine a similar kind of thing. It is like, induce a little bit of planned chaos into the system and see what happens. Like, throw the monkeys in the room and see what they do, kind of thing.\n\n**PETER PELLERZI:** Like, we tried to refuel because we had done some maintenance, and we said, well, let's actually try it under emergency conditions. And boy, did we learn a lot. So that's part of this-- again, it's, if your strategy is to hope that nothing ever fails, that you're going to be very disappointed.\n\n**STEVE MCGHEE:** Indeed.\n\n**MATT SIEGLER:** Pete, tell us a little bit where we're going next generation tech, either through power technologies or something new going on in data centers that you can actually share with us or people listening that we wouldn't expect. What's coming down the road for us?\n\n**PETER PELLERZI:** Density.\n\n**MATT SIEGLER:** Say more.\n\n**PETER PELLERZI:** Yeah, so let me take you a little bit through that. 10, 15 years ago, most of the data centers, well, all of the data centers were some Intel AMD chip, and it was very similar to what's in your PC at home. Of course, I'm being very simplistic here, But they were air-cooled chips, meaning they had a heat sink stuck on them, and a little muffin fan, and it blew the air across the heat sink and took the heat off the chip, and all was good. And they were fairly low power consumption, 100 watts, something like that, maybe 150 watts.\n\nThen the industry, of course, was hungry for more capacity. So you stick more things on the die, you make that chip a little bigger, you stick more chips in there. You build a bunch of chips into one chip, Application Specific Integrated Circuit, an ASIC, which is a conglomeration of things that work together on one sort of package. And that march has been going on forever.\n\n**STEVE MCGHEE:** Yeah, Moore's law is part of this. Like, it's just getting bigger and bigger, and tighter and tighter, and yeah.\n\n**PETER PELLERZI:** More, and more, and more. I want to increase the clock speed. I want the thing to go faster. Because they're expensive, I want a higher return on how much processing power it can do for the thousands of dollars that I've invested. And you've seen the Intels of this world and now NVIDIA. I can do better. It's four times faster, it's 10 times, and so on.\n\nSo all that is wonderful. And it's not my area of expertise. It's people who have all kinds of PhDs in that, that can talk much better. My world is power and cooling. So we observe these chips, and they require more power every year, more power, more density.\n\nBut they give a lot of performance. So the business gets a lot of return on their investment. Power turns into heat, simple as that. I supply more power into the chip, or the data center, or whatever, it does work. That work turns into heat.\n\n**STEVE MCGHEE:** Yeah, at this company, we obey the laws of thermodynamics. Is that right?\n\n**PETER PELLERZI:** Power goes in, does work, work turns into heat. That's the way it goes.\n\nSo the power that we're providing now is probably several X more than, and I don't remember the numbers, but it's several X more than it was 10 years ago. And it pushes you to certain conclusions. And the whole industry is coming to the same conclusion that we did six, seven, eight years ago. So we were ahead of the curve.\n\nWe said, look, if we extrapolate this up, there will come a point, where you cannot put a heat sink strapped to a chip and blow air across it. You're going to reach a thermal limit. You simply cannot get the heat out of that integrated circuit using the traditional aluminum heat sink and a fan. You're going to have to use a higher heat capacity media.\n\n**STEVE MCGHEE:** I think I know where we're going, yeah.\n\n**PETER PELLERZI:** Liquid. Now, we say water cooled, but it's not water. They're different fluids, but basically it's water with anti-corrosive inhibitors and things like that. But essentially, the manufacturers, in particular NVIDIA, said, we can't get there without a cold plate strapped right to our chip.\n\nSo we're going to take copper or some other proprietary material. We're going to stick it on the chip, and you're going to pump cold water in one side and out the other, and remove that heat using water, which has 3,000 times the heat capacity as air does per volume.\n\n**STEVE MCGHEE:** Yeah, computers notoriously love interacting with water, I think.\n\n**PETER PELLERZI:** Well, yes. So we feel, or at least I feel, that Google was extremely forward-looking six, seven, eight years ago, where Google said, look, we need to learn how to do water-cooled processors. It was not simple. It was not trivial. A lot of folks are trying to do that now, at the 11th hour. And yes, you bring water directly to the chip. That is a leap of faith.\n\n**STEVE MCGHEE:** Yeah, I remember hearing about this a long time ago. And they were like, the first plan was we bring these pipes through the ceiling and bring water down. And then we realized, that's a bad plan because drips happen, little things like that. Man, that's tough.\n\n**PETER PELLERZI:** Well, but we've spent the last, and I can't remember if it's seven or eight years, let's call it seven. We've spent the last seven years, a lot of really good, sharp people spending a lot of sweat perfecting this. You just don't run a couple of pipes and yeah, here I've got liquid cooled chips.\n\nThere's a lot to it, monitoring, flows, temperatures, leaks. What do you do if there's a leak? How do you not have this? So we've learned a lot. And that is our secret sauce now.\n\nAnd I love when people say, well, what's the secret sauce? Well, let me think. It's seven years of really hard work by a lot of really dedicated people. And then, magically, a secret sauce appears.\n\n**STEVE MCGHEE:** That's right.\n\n**PETER PELLERZI:** It's hard work, period.\n\n**MATT SIEGLER:** Speaking of expertise and new tech, somebody told me that artificial intelligence is optimizing our data centers for power. Is that a thing?\n\n**PETER PELLERZI:** Yeah. Well, again, it's funny. I guess it used to be called machine learning. And again, I'm not the subject matter expert on this, but it is very useful to us. And we've been using it for several years. I think there was a public announcement on our use of--\n\n**MATT SIEGLER:** Yeah, a while back.\n\n**PETER PELLERZI:** I think it was called machine learning, ML, but now, it's AI, on how to run our cooling plants, and we got some very large savings. Again, I hate to say numbers because then someone always says, oh, no, but I think it was between 15% and 40%, if I recall.\n\n**STEVE MCGHEE:** That's awesome. This is a PUE rating. I think that dropped overall.\n\n**PETER PELLERZI:** Yeah, exactly. And here's the secret. As human beings, if you sit in front of a control panel and have to adjust the knobs every two minutes, you will lose your mind. I mean, you can't do it. Also, you don't have predictive capabilities.\n\nSo we had, again, some super sharp folks here. They worked with the London folks, DeepMind. And we came up with this little-- little-- it's always little when you don't have to do the work. It was actually a lot of work.\n\n**STEVE MCGHEE:** From a distance, from London to here, yeah.\n\n**PETER PELLERZI:** Yeah, they came up with this ML approach to say, look, we can not only take all the inputs from all these devices and find an optimal running point for each one, but we can also take predictive weather data.\n\n**STEVE MCGHEE:** Oh, cool.\n\n**PETER PELLERZI:** So I can make adjustments now based on what the weather will be two hours from now.\n\n**STEVE MCGHEE:** That's awesome.\n\n**MATT SIEGLER:** That's amazing.\n\n**PETER PELLERZI:** So it's real time weather data with real time operating data. And you watch it. It's fascinating to watch because it will start to turn down the mechanical cooling, a chiller, which is our refrigerant-based air conditioning. It will start to reduce that. And you're like, what is it doing?\n\nAnd then you watch it for a little bit longer. And it makes a decision that if I increase the fan speed and the pump speed a little bit, I can get the same cooling for less power. So it starts to turn down the refrigeration because it anticipates the weather two hours from now. Fascinating to watch.\n\n**STEVE MCGHEE:** So at Google, we're happy about dealing with large numbers, like we like it. And I like to always say that a small change in a\n\nlarge number is still a large number. So this happens a lot inside of Google whether. It's a good change or a bad change.\n\nSo in your world, what is the number that you used to tell people about your job and how it's interesting? And what is something that you can share about the scale of your world? Is it the square footage of cement, or is it the density of something? Like, what's your favorite number?\n\n**MATT SIEGLER:** In joules or watts?\n\n**PETER PELLERZI:** Yes.\n\n**STEVE MCGHEE:** Yeah, choose your units wisely.\n\n**PETER PELLERZI:** I choose my units wisely. There's all kinds of capacities and whatever, but this is what impacts me. I'm an electrical engineer by trade, so I'm an electron guy.\n\nSo I'm always fascinated by the other side of the house, which is the cooling side. Because, to me, it's a little mystifying. You make cold water, it goes in, it gets hot, it comes back out, you make it cold again, fascinating. Because you're always fascinated by what you don't know that well.\n\nSo I went out to one of our sites and I looked at the pipe, and I said, what's that? And they said, oh, that's the chilled water supply to the data center. I said, oh, so what's, OK. And what's that? Well, that's the return. The hot water comes back. OK. So how big is that? It's 42 inches in diameter.\n\n**STEVE MCGHEE:** That's pretty big.\n\n**PETER PELLERZI:** So that's the scale. And essentially, a 42 inch diameter pipe, if you creep down a little bit, you can walk through it. And I was like, that's what it takes to cool one of these things? And they were like, well, yeah. They're very nonchalant, like, oh, yeah, oh, yeah.\n\n**STEVE MCGHEE:** I'm pretty sure there was a scene about this in one of the Star Trek movies, where someone gets transported into one of these pipes and they flow through it.\n\n**PETER PELLERZI:** Exactly. This particular site was one of our larger ones, has a 42 inch chilled water supply and return.\n\n**MATT SIEGLER:** That's a big number.\n\n**PETER PELLERZI:** And to me, that just-- it's like, really?\n\n**STEVE MCGHEE:** And I bet it's quickly flowing through that diameter as well. It's not just--\n\n**PETER PELLERZI:** Yeah, exactly.\n\n**STEVE MCGHEE:** --easily going, yeah.\n\n**PETER PELLERZI:** Several feet per minute.\n\n**STEVE MCGHEE:** That's awesome.\n\n**PETER PELLERZI:** And that just sort of for me, put it in scale, like, well, who else has this? And that's just the hyperscalers.\n\n**STEVE MCGHEE:** Yeah, would you say in your opinion-- I don't think you have a full understanding of everything on Earth-- but would you say that the Google data centers are different from other data centers at just a--\n\n**PETER PELLERZI:** I would because they have different purposes, and it's not good or bad. Data centers are kind of a personal thing to companies. If you're this kind of company, you optimize for an enterprise type data center. If you're this kind of company, you-- so Google is personalized to what we do. They look the same. All data centers have the same purpose.\n\n**STEVE MCGHEE:** Big box, yeah.\n\n**PETER PELLERZI:** Big box, you put electrons in one side, it gets hot. You take the heat out the other side, and you get rid of the heat. But it's all the stuff inside. How do you talk to the servers? How do you interface with the networking?\n\nAll that is really very unique to whatever company you're in. So it's not a good or a bad, but I think we have a really good mix, that's good across enterprise and hyperscale type ML. So we have a really good mix.\n\nAnd it's not by accident that we've had really good forward-looking leadership, like seven years ago, folks in platforms and delivery embraced the water cooling. And that was a really good idea.\n\n**STEVE MCGHEE:** Yeah, that's great. Yeah, it's really easy to say no to stuff like that. But the fact that they said yes is great.\n\n**PETER PELLERZI:** It is, because you're like, why do we need this? But you need to look four or five years ahead of time, if you can, and say, yeah, we should learn how to do that.\n\n**STEVE MCGHEE:** When I talk to companies-- so part of my job is talking to enterprises about how they use cloud and data centers. And they're coming from their data centers or some other data center or whatever, and they're moving on to cloud, and blah, blah, blah.\n\n**PETER PELLERZI:** Sure.\n\n**STEVE MCGHEE:** So one thing that comes up a lot is they like to cite MTTR and MTBF. And I'm curious how you feel about these statistics in your world. Because I know that in my world, in the distributed systems game, we like to say that those numbers actually aren't meaningful to us because it's not a large, homogeneous set of components that all have similar failure domains or failure modes that we actually have novel failures. So like treating this as it's not a normal distribution. So why are you taking the mean kind of thing?\n\nBut I'm curious if you have a data center full of eleventy million similar parts, maybe those numbers do make sense to you at a certain layer, but not at another layer. Is there a point, where the normal distribution disappears in your world, and do you take advantage of that when you're trying to measure your success? Is that a thing?\n\n**PETER PELLERZI:** It is. So what you're describing falls under our operations team, to monitor and to measure. Certainly, again, I have to emphasize no one is left alone. We do not throw things over the transom and say, well, good luck. No.\n\n**STEVE MCGHEE:** Your problem now.\n\n**PETER PELLERZI:** That is not the community we have here.\n\n**STEVE MCGHEE:** Great.\n\n**PETER PELLERZI:** Just we don't have that. So what's of concern, the metric that we look at is availability, 99.999, whatever, five nines of availability. That's our target.\n\nAnd the way you get to that target is, minimize failures. So you don't have to fix things. And then fix things as fast as you can, the MTTR, so your downtime is minimized. And that's how you get to that overall availability.\n\nHow do we get there? We have some unique features or unique opportunities. The manufacturers don't have many customers that have a bigger installed base of their equipment than us, so we actually have better data than the manufacturers of the equipment themselves because they don't have a concentrated pool of equipment that we have. So we see all their latent defects. We see all their strange applications and so on. So we work very closely with the manufacturers.\n\nThe other thing we do is we build fault-tolerant designs. Again, if you're going to expect something never to fail, that's not so good. We have a very, very robust spare parts program so that if something fails, A, we can recover very quickly using a fault tolerant design, and then B, we have the spare part in\n\nhand.\n\nSo we can see what fails across a large fleet, even though the manufacturer may tell you we've never had a failure on that. And they're not lying. They've never seen it because they sell two to this person, five to that person. But we buy 600. And we say, well, if you have 600 of anything, and you have a 0.001 failure rate, we're going to lose one every two years. So--\n\nSpare parts strategy, repair strategy, fault tolerant design, and working closely with your vendors. And we do really, really well with availability. I would say we're probably the best in the industry.\n\n**STEVE MCGHEE:** Yeah, we like to joke that at Google scale, a million to one odds happens all the time.\n\n**PETER PELLERZI:** Exactly. And it's important not to assume ill intent in your vendors. Because they, you say, well, it just broke. You should have told me. They don't know because they don't have a large enough statistical base. So work with your vendors. Again, this is a community sort of argument. Work as a community, not as a bunch of individuals.\n\n**STEVE MCGHEE:** Totally. Thanks, Pete. This has been great. It's been cool to touch grass with the actual data center. Touch cement, maybe, I don't know, touch steel.\n\n**MATT SIEGLER:** Get our hands, hold a shovel.\n\n**PETER PELLERZI:** No, no, cement is what you mix with the gravel and water--\n\n**STEVE MCGHEE:** Oh, sorry.\n\n**PETER PELLERZI:** --to make concrete.\n\n**STEVE MCGHEE:** Concrete. I always get that wrong. Well, I appreciate it. We learned a lot, especially that last bit, just there. Any final words for our friends about how people can keep up with this kind of stuff? I know we have a podcast that Stephanie Wong did a few years ago about how the data centers work in communities like you were alluding to. Any other resources you want to point people at who are listening to the show?\n\n**PETER PELLERZI:** There's a lot of good content out there. It's a fascinating industry right now. It's really, really exciting. The scale is really exciting. There's a lot here.\n\n**STEVE MCGHEE:** Still growing man. It's crazy.\n\n**PETER PELLERZI:** There's a lot here.\n\n**STEVE MCGHEE:** All right, thanks, Pete. Have a great day, everyone.\n\n**MATT SIEGLER:** Yes, thank you so much.\n\n**PETER PELLERZI:** Take care.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 38742, "slov": 6978, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:52", "sha256": "c76a0f98973d2b1e9249f4b917ab68d60001e6fa2050a2366ebd8d3289d10927", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02/", "titulek": "The One With Data Centers and Peter Pellerzi", "h1": "The One With Data Centers and Peter Pellerzi", "popis": "This episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02"}, "headline": "The One With Data Centers and Peter Pellerzi", "description": "This episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.", "image": "https://kstatic.googleusercontent.com/files/a5471b3fa134a984bc293cc87a820b427ea270858cfa612f2087e7352ceb3340d6f3e7185f26f7caa7076d859866f512afa223d407244e3b3d238cec4949cbfd", "author": [{"@type": "Person", "name": "Peter Pellerzi"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Data Centers and Peter Pellerzi"}], "markdown": "# The One With Data Centers and Peter Pellerzi\n\nThis episode features guest, Peter Pellerzi (Distinguished Engineer, Google). Peter and the hosts, Matt Siegler and Steve McGhee, focus on the physical infrastructure side of SRE, discussing topics such as the scale of Google's data centers, handling incidents like power outages, testing and preparedness strategies, the use of AI for optimizing cooling plants, and more. Peter also emphasizes the importance of community support, proactive planning, and learning from real-world testing and incidents to ensure high availability and resilience in data center operations.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Welcome, everyone. We're coming back to season 4 of The Prodcast from Google. Can you believe season 4? It seems like a long time. I don't know, maybe it's just me.\n\nSo today, we have a great new guest, Pete Pellerzi, who works with actual physical things, like buildings and machines, and stuff, and not just like, bits. So, Pete, you deal with atoms, I guess. Is that true? I mean, that's wild. You might be the first one on our guest list to do that.\n\n**PETER PELLERZI:** Well, I would say electrons.\n\n**STEVE MCGHEE:** Electrons. OK, cool. And co-host today is Matt. Welcome back, Matt.\n\n**MATT SIEGLER:** Thanks, wonderful to be here again.\n\n**STEVE MCGHEE:** Awesome. So yeah, we did a little kind of a quick fake intro to Pete. But Pete, why don't you introduce yourself properly? Who are you exactly?\n\n**PETER PELLERZI:** Sure. So by training, I'm an electrical engineer. Actually, I was a physicist before that. But I have an electrical engineering degree, and that's where I've spent most of my time doing physical things like large substations, transformers. We build those, install them, and we do the physical part of the Google world.\n\nSo at Google, I'm a distinguished engineer, which is a title that is relevant here at Google. And I am assigned to the construction team. So we have different groups that make the physical infrastructure, tons of really talented people. And I work with the construction side, the physical side of it.\n\nAnd our team is responsible to take the design that's done by our design groups and platforms and so on, make sure that what we do works for the correct generation of server technology. And we bring that into the physical world.\n\nWe're the ones who physically pour the concrete, even though that's a small part of our job. But we do the foundations, we do the building, we do the electrical, and the cooling infrastructure. We do all those big campuses that you see in the newsletters. So we turn it into the physical world.\n\n**MATT SIEGLER:** Give us a sense of the scale of these operations, the people in--\n\n**STEVE MCGHEE:** Yeah, they can't be that big, right? It's got to be--\n\n**PETER PELLERZI:** Yeah, they can't be that big.\n\n**STEVE MCGHEE:** Size of my house, maybe. No?\n\n**MATT SIEGLER:** Maybe a gymnasium.\n\n**PETER PELLERZI:** A typical data center.\n\n**STEVE MCGHEE:** Small shed.\n\n**PETER PELLERZI:** A small shed. Yeah, no, not quite. It's interesting because there's a lot of startup when you do the first one. So typically, what we'll do is we'll locate a community that meets our criteria. And we work very closely with the communities to land our not just data center, but our presence there for a long time.\n\nSo we're not just going to run in and run out. We work with the communities, we work with partnerships with the mayor and the environmental folks. We're very community-oriented. And we started building a campus. We'll buy 200, 300, up to 1,000 acres in a community, and we'll responsibly develop it.\n\nSo you'll see our entrance go in, where you'll pull in with your car and you badge in at the guard station. Then you see that the first building goes up. And we always plan for two or three buildings, because you want to make sure you don't do something weird on the first one, like stick it in the middle of the parcel and then you have no place to put the second building.\n\nSo we'll start planning the site and we'll build our first building. A typical data center is roughly two football fields on end. So if you took a football field and another football field and you put them together, that's the size of the actual server hall for one of our data centers.\n\nThen you see all the stuff around them, the electrical infrastructure that supplies the power, then the cooling infrastructure that removes the heat out of the building, generator support when the power goes out once in a while, and then all the other structures-- places to eat, offices, entranceway, parking, and all that stuff.\n\n**STEVE MCGHEE:** So with regards to places to eat, I think that means that you have employees there as well. Like, I'm guessing it's not like a fully autonomous system.\n\n**PETER PELLERZI:** No.\n\n**STEVE MCGHEE:** Once it's been built, I'm saying like, of course it's a zoo when you're building it out and it's never probably really done. But when it's operating, when you have services running, you've got like a slice of Gmail and a bit of AI or whatever is running in that data center, are there a ton of ants running around like pushing buttons on machines, or is it totally autonomous, or somewhere in the middle? Or like, what are we talking about here?\n\n**PETER PELLERZI:** It's somewhere in the middle.\n\n**STEVE MCGHEE:** OK.\n\n**PETER PELLERZI:** Obviously, there's always a push to make things as automated as possible. You don't want to be going up and down rows of machines looking for the one that doesn't have the blinky light.\n\nYou want to know which one has a bad hard drive. You want to know which one has a bad memory. You want to know which one has a failed power supply, and so on. So those are processes, break fixes are highly automated. Otherwise, you just can't keep ahead of them.\n\n**STEVE MCGHEE:** That makes sense.\n\n**PETER PELLERZI:** But we do have quite a contingent on site. Remember, we always focus on the machines, which is our primary focus. But there are a lot of other services, for example, 24-hour security, people, gardening, landscaping, food services, cleaning, repairs, general maintenance, and so on.\n\nSo there's quite a contingent of folks that maintain a so-called automated data center. They're getting there, but they're not science fiction. It's still humans that are fixing things.\n\n**MATT SIEGLER:** Yeah, fixing things, that's got me thinking about things that go wrong, incidents, concerns, safety. Tell us a bit about how things get managed when they go wrong. What's an incident look like in a data center?\n\n**PETER PELLERZI:** Well, having been in the data center industry for a long time, you don't give away your age anymore when you get beyond a certain age. So I'll say 25-plus years, that's sort of a safe way to say it. But in my 25-plus years, I've worked here, of course. And before here, I was at IBM, another large data center provider.\n\nEvery data center eventually will have some sort of failure. It's just a physical property of the world. Nothing lasts forever. Things break, things go wrong with no one doing anything wrong. It's just that things break. Circuit breaker, trips open because the trip unit failed, and so on. All kinds of things happen.\n\nThat's not really what differentiates success in a company, or differentiates a company as being successful. Things will break everywhere. It's how you deal with the break. That's the key. That's the differentiator, at least what I've seen here at Google.\n\nFor example, Saturday afternoon, 2 o'clock, perfectly fine weather, beautiful sunny day, something goes wrong. Utility fails. Who knows? A million things can go wrong.\n\n**STEVE MCGHEE:** Can you think of an example of a particular failure that you can share with us? I know that you have exciting stories.\n\n**PETER PELLERZI:** Oh, wait, well, I'm not sure about exciting. But, for example, a couple of weeks ago, well-documented, the entire country of Chile lost power.\n\n**STEVE MCGHEE:** Oh, yeah.\n\n**PETER PELLERZI:** Oh, yes.\n\n**STEVE MCGHEE:** That was in the news, yeah.\n\n**PETER PELLERZI:** Again, we have no control over that. Absolutely zero control. We have no way to do anything about that.\n\n**MATT SIEGLER:** Who could see this coming?\n\n**PETER PELLERZI:** It just, they failed. They had a whole bunch of things. You could read about it in the news, why they failed, and so on, but that doesn't matter. We did not experience an outage. So you say, well, why not? This is catastrophic. Well, OK. Hold on.\n\nWhen something goes wrong on this proverbial Saturday at 2 o'clock or 1:00 AM in the morning, we have very specific protocols at all of our data centers. So, for example, we open up a video chat immediately, a common video chat between anybody who wants to get on. But usually, it's between facility managers, SRE, and so on. But what happens is folks automatically start to dial in. We get the emergency announcement on our email, we'll dial in, we'll help you. So we never strand someone at a data center and say, well, you're on your own, see what you can do. Not at all. And this is the differentiator, we behave like a community.\n\n**STEVE MCGHEE:** Yeah, that's great.\n\n**PETER PELLERZI:** And you never leave somebody just hanging. They know they have the support globally. You'll have SRE London, you'll have SRE-- everybody will chime in.\n\nAnd respectfully, because you don't want a million people talking, but you listen. What can I do for these folks? Can I help? Have I had the same situation? What did I do? Are they forgetting something? This way you're not alone. And this is a super successful strategy, I mean, super successful.\n\nSo when we had this situation in Chile, we had multiple data centers down there, and they lost power through the whole country. So what's the strategy when you have a countrywide outage? You don't have that written down anywhere, but you have enough people with enough authority to say, yeah, why don't you get a hold of refueling? Let's start refueling right away, because we don't know how long this is going to last.\n\n**STEVE MCGHEE:** They're able to adapt. It's adaptation--\n\n**PETER PELLERZI:** We got on the fly. And you've got different people with different pieces, and say, no, you really should look at this and make sure you get that. And you really feel like they have your back.\n\n**STEVE MCGHEE:** It's like cooperative adaptation. That's pretty cool.\n\n**PETER PELLERZI:** Exactly. And this is the secret. This is not, let's make sure nothing ever breaks. That's not a strategy. Things break. But how do you deal with it?\n\n**MATT SIEGLER:** I think some of our listeners would be really keen to hear how-- for their much smaller organization, perhaps with less of an existing roadmap for this distribution of skill, for these many layers of planning over a longer time-- how they could find a roadmap for themselves to build this kind of competency forward?\n\n**PETER PELLERZI:** Sure.\n\n**MATT SIEGLER:** What would you suggest to them, starting from where they are right now, how to develop their culture for this forward from small? And what kind of steps to take, like incremental approach to gain this kind of resilience?\n\n**PETER PELLERZI:** It's interesting because I started at Google when we were very small. When I started, we had just a handful of data centers, and I actually was assigned to finish some of them as one of my first assignments here, because we really had just a few.\n\nSo how do you start from a small organization and scale it? Or maybe you're not going to scale it. Maybe this is all you need. You just need a few data centers and you're fine. You need to find trusted partners.\n\nSo for example, when we were smaller, we had very low staff. We depended on certain outside architects and engineering consultants, certain trusted vendors, electrical contractors and so on, that had specialty skills. And we used them, and we paid them. We didn't ask for charity. They were on retainer and we paid them for their time. But they had the expertise we didn't have.\n\nSo we said, listen, we're going to set up maybe an on-call agreement with you so that we don't have to write you a PO every time. But hey, when I need you on a Saturday, can I get a hold of Andy and Tom, and ask them to dial in or to go to the site and help the site recover? So we used outside vendors as we built our in-house expertise. You don't have to know everything. You don't have to be capable of everything, but you need a plan.\n\nJust something simple like fueling, when you go on a generator, you need fuel. Well, you need to have the discussion with your local fuel vendors way ahead of time before you need them and say, what can you do? Well, I can get you there in four hours. OK, I got it. You sure? Yep, I'll be there in four hours when you need me. OK, now, that becomes part of your business continuity plan.\n\nSo start small, and start with the obvious things. Talk to your vendors, put down a few, even just a few words on a business continuity plan. What happens when power goes out? Just five bullets, and that really gets it going.\n\n**STEVE MCGHEE:** With regards to the Chile incident, I wasn't involved in that at all because it was just recently. But I remember some other kind of power incident I heard about somewhere in the world, and they talked about getting refueling. But they had figured out how long it takes to get the fuel, but also how many trucks needed to be in flight at any given time to keep that up, to keep that--\n\n**PETER PELLERZI:** That's right.\n\n**STEVE MCGHEE:** They could keep it going basically, not forever, but for a long time. But they didn't really, they didn't know there was going to be a really big outage. But they thought like, well, we know how to get one truck of fuel, but let's just make a spreadsheet just in case in the future.\n\nAnd they ended up using it. Like that spreadsheet totally saved the day because they knew to spin up the seven trucks, or whatever it was that can allow, they can get all the way to the fuel repo, and back again before the tank runs out, and blah, blah, blah.\n\nSo that kind of preparation I think is, I think that translates really well, not just to the data center world, but to any kind of dealing with response. You don't have to predict the exact outage, but just knowing your capabilities, and what you can do and like, well, this is what we have in our shed of possibilities. So at least you know what's in your shed, which is really important, or your tool belt, maybe.\n\n**MATT SIEGLER:** Steve, this does sound a little like doing your postmortems after an incident, looking back on lessons learned. Looking at your analysis, how did it match up with what actually went on? And I expect you to do quite a bit of that after an incident like that, to tell us a little bit about that looking backward, after your forecasting, things you learned, things you got right and wrong. I suspect you do quite a bit of that.\n\n**PETER PELLERZI:** Absolutely. And I'll give you a, let's stick on that fueling topic for a bit because it's something that you don't do very often. Let's be serious about this. The utility grids are actually fairly reliable. When you need it, it's maybe once in your career or twice, it's a very rare item that you need to refuel because of an outage.\n\nA lot of times, you're refueling because you've used your diesel generators for maintenance purposes. And so then you kind of refuel at your leisure. I would challenge you to do as much real-world testing as possible. And here's something that we learned that is not obvious.\n\nYou say, well, how much fuel do I burn? Oh, we burn a truck full of fuel, for X number of hours. And that truck is 7,200 gallons, 7,250, I believe, full tanker truck. So you're like, OK, great, we need one of those every blah, blah, blah. And you do these quick calculations, and you think you're all dialed in, you're golden, but you haven't done it physically in the real world.\n\nSo we did. We had that opportunity. We had run the fuel down on one of the sites a little bit and we said, hey, let's do this as though it was a real emergency. So we started refueling. What did we learn?\n\nWe learned that the most you can get out of a truck is 300 gallons per minute. That's it. That's all they can pump. So now, we had not figured in the offloading time. And the offloading time turned out to be significant.\n\n**STEVE MCGHEE:** It wasn't instantaneous?\n\n**PETER PELLERZI:** It was not instantaneous. You have to drain 7,200 gallons out of that truck at 300 gallons per minute, max.\n\n**STEVE MCGHEE:** That's a few minutes at least.\n\n**PETER PELLERZI:** And that doesn't include setup time with the hoses, connection, disconnection, clean up, chocking the tires on the truck, getting the drive-- none of that was included, and we were very surprised at how long it took. And getting the truck in and out of the gate through security, we had not thought it through.\n\n**STEVE MCGHEE:** That's a great example, because I think often the math, you can do enough math and just totally convince yourself, and then it hits reality, and you're like, oh, wait, there was a whole field of equations I forgot about or I didn't know about.\n\n**PETER PELLERZI:** Do it. And that's a lot of the real-world testing that we do. As part of maybe not an emergency, but as part of a maintenance iteration, say, hey, what happens if that doesn't start? Or what happens if this doesn't run? Take advantage of every single one of those opportunities because you will learn something new every time.\n\n**STEVE MCGHEE:** Let me ask you a question. Kind of shifting gears a little bit. When we talk about fuel, and infrastructure, and concrete, and things, I think of that as looking down, down the stack, right down towards the Earth and the fuel or whatever.\n\nAnd then if you look up, I imagine sort of symbolically, like, after a certain point, you get out of the data center and you get into the distributed system that's built on top of it. And so this is where these big systems of software are running across many data centers.\n\nAnd then, now, you're interacting with other teams. You're not really dealing with vendors, dealing with trucks. You're dealing with SREs in London, you mentioned, or software developers in Tokyo, and things like that.\n\nSo what are the interactions between your staff, the people that you work with on site, and those folks? Like, is it just, is there a brick wall and you never talk to each other? Are there tickets like, you mentioned in this video conference, the panic room, which is tongue in cheek. Hopefully, it's not actual panic. But are there other methods that you guys-- like, is everything figured out or is there also adaptation going on in that direction as well?\n\n**PETER PELLERZI:** Absolutely, and we talk all the time.\n\n**STEVE MCGHEE:** That's awesome.\n\n**PETER PELLERZI:** Before this call, I was on another call with, probably, 20 SRE folks, talking about the next round of DiRT testing, ISON testing, and so on, that we will be doing this year. It is a constant communication. And the best communication we can have is that our work is totally transparent to the rest of the fleet. So like the Chile situation, the whole country had no power, but we were not impacted.\n\n**STEVE MCGHEE:** Can you tell us what DiRT and ISON testing are?\n\n**PETER PELLERZI:** Oh, of course. DiRT is simulated failures. And I forgot what the acronym is. SRE, you all should know better than I do.\n\n**STEVE MCGHEE:** Yeah, Disaster Recovery Test or Resilience test.\n\n**MATT SIEGLER:** Resilience.\n\n**PETER PELLERZI:** There you go. It's simulated. What happens if this goes really bad? How do we recover the customers, the data, and so on? So we coordinate with that all the time. And then ISON testing is where we actually fail things off. We actually shut things off and say, what happens if this shuts off? But basically, it's a real shut off. And this is where we walk the talk. We say, well, you should do this, and you should do that. And it's very easy to say that, but we actually do shut things off. And we say, well, what if the utility failed? Well, OK, we could do a simulation, or we could turn it off.\n\n**STEVE MCGHEE:** And then how does this affect the upstream systems? Like, are they actually capable of surviving such a thing?\n\n**PETER PELLERZI:** Well, it shouldn't. It shouldn't. But again, like offloading the fuel truck, it's something we don't do very often because we never want to run on diesel. For all kinds of reasons — environmental, and so on. So we try never to run on diesel generators, but so even more important to actually test it because it's something you don't do very often, which means, oh, it'll be fine. Really, it won't be fine.\n\n**STEVE MCGHEE:** Yeah, out in the world they call, sometimes, they refer to this as chaos testing. That's mostly in the software failure modes, but you can imagine a similar kind of thing. It is like, induce a little bit of planned chaos into the system and see what happens. Like, throw the monkeys in the room and see what they do, kind of thing.\n\n**PETER PELLERZI:** Like, we tried to refuel because we had done some maintenance, and we said, well, let's actually try it under emergency conditions. And boy, did we learn a lot. So that's part of this-- again, it's, if your strategy is to hope that nothing ever fails, that you're going to be very disappointed.\n\n**STEVE MCGHEE:** Indeed.\n\n**MATT SIEGLER:** Pete, tell us a little bit where we're going next generation tech, either through power technologies or something new going on in data centers that you can actually share with us or people listening that we wouldn't expect. What's coming down the road for us?\n\n**PETER PELLERZI:** Density.\n\n**MATT SIEGLER:** Say more.\n\n**PETER PELLERZI:** Yeah, so let me take you a little bit through that. 10, 15 years ago, most of the data centers, well, all of the data centers were some Intel AMD chip, and it was very similar to what's in your PC at home. Of course, I'm being very simplistic here, But they were air-cooled chips, meaning they had a heat sink stuck on them, and a little muffin fan, and it blew the air across the heat sink and took the heat off the chip, and all was good. And they were fairly low power consumption, 100 watts, something like that, maybe 150 watts.\n\nThen the industry, of course, was hungry for more capacity. So you stick more things on the die, you make that chip a little bigger, you stick more chips in there. You build a bunch of chips into one chip, Application Specific Integrated Circuit, an ASIC, which is a conglomeration of things that work together on one sort of package. And that march has been going on forever.\n\n**STEVE MCGHEE:** Yeah, Moore's law is part of this. Like, it's just getting bigger and bigger, and tighter and tighter, and yeah.\n\n**PETER PELLERZI:** More, and more, and more. I want to increase the clock speed. I want the thing to go faster. Because they're expensive, I want a higher return on how much processing power it can do for the thousands of dollars that I've invested. And you've seen the Intels of this world and now NVIDIA. I can do better. It's four times faster, it's 10 times, and so on.\n\nSo all that is wonderful. And it's not my area of expertise. It's people who have all kinds of PhDs in that, that can talk much better. My world is power and cooling. So we observe these chips, and they require more power every year, more power, more density.\n\nBut they give a lot of performance. So the business gets a lot of return on their investment. Power turns into heat, simple as that. I supply more power into the chip, or the data center, or whatever, it does work. That work turns into heat.\n\n**STEVE MCGHEE:** Yeah, at this company, we obey the laws of thermodynamics. Is that right?\n\n**PETER PELLERZI:** Power goes in, does work, work turns into heat. That's the way it goes.\n\nSo the power that we're providing now is probably several X more than, and I don't remember the numbers, but it's several X more than it was 10 years ago. And it pushes you to certain conclusions. And the whole industry is coming to the same conclusion that we did six, seven, eight years ago. So we were ahead of the curve.\n\nWe said, look, if we extrapolate this up, there will come a point, where you cannot put a heat sink strapped to a chip and blow air across it. You're going to reach a thermal limit. You simply cannot get the heat out of that integrated circuit using the traditional aluminum heat sink and a fan. You're going to have to use a higher heat capacity media.\n\n**STEVE MCGHEE:** I think I know where we're going, yeah.\n\n**PETER PELLERZI:** Liquid. Now, we say water cooled, but it's not water. They're different fluids, but basically it's water with anti-corrosive inhibitors and things like that. But essentially, the manufacturers, in particular NVIDIA, said, we can't get there without a cold plate strapped right to our chip.\n\nSo we're going to take copper or some other proprietary material. We're going to stick it on the chip, and you're going to pump cold water in one side and out the other, and remove that heat using water, which has 3,000 times the heat capacity as air does per volume.\n\n**STEVE MCGHEE:** Yeah, computers notoriously love interacting with water, I think.\n\n**PETER PELLERZI:** Well, yes. So we feel, or at least I feel, that Google was extremely forward-looking six, seven, eight years ago, where Google said, look, we need to learn how to do water-cooled processors. It was not simple. It was not trivial. A lot of folks are trying to do that now, at the 11th hour. And yes, you bring water directly to the chip. That is a leap of faith.\n\n**STEVE MCGHEE:** Yeah, I remember hearing about this a long time ago. And they were like, the first plan was we bring these pipes through the ceiling and bring water down. And then we realized, that's a bad plan because drips happen, little things like that. Man, that's tough.\n\n**PETER PELLERZI:** Well, but we've spent the last, and I can't remember if it's seven or eight years, let's call it seven. We've spent the last seven years, a lot of really good, sharp people spending a lot of sweat perfecting this. You just don't run a couple of pipes and yeah, here I've got liquid cooled chips.\n\nThere's a lot to it, monitoring, flows, temperatures, leaks. What do you do if there's a leak? How do you not have this? So we've learned a lot. And that is our secret sauce now.\n\nAnd I love when people say, well, what's the secret sauce? Well, let me think. It's seven years of really hard work by a lot of really dedicated people. And then, magically, a secret sauce appears.\n\n**STEVE MCGHEE:** That's right.\n\n**PETER PELLERZI:** It's hard work, period.\n\n**MATT SIEGLER:** Speaking of expertise and new tech, somebody told me that artificial intelligence is optimizing our data centers for power. Is that a thing?\n\n**PETER PELLERZI:** Yeah. Well, again, it's funny. I guess it used to be called machine learning. And again, I'm not the subject matter expert on this, but it is very useful to us. And we've been using it for several years. I think there was a public announcement on our use of--\n\n**MATT SIEGLER:** Yeah, a while back.\n\n**PETER PELLERZI:** I think it was called machine learning, ML, but now, it's AI, on how to run our cooling plants, and we got some very large savings. Again, I hate to say numbers because then someone always says, oh, no, but I think it was between 15% and 40%, if I recall.\n\n**STEVE MCGHEE:** That's awesome. This is a PUE rating. I think that dropped overall.\n\n**PETER PELLERZI:** Yeah, exactly. And here's the secret. As human beings, if you sit in front of a control panel and have to adjust the knobs every two minutes, you will lose your mind. I mean, you can't do it. Also, you don't have predictive capabilities.\n\nSo we had, again, some super sharp folks here. They worked with the London folks, DeepMind. And we came up with this little-- little-- it's always little when you don't have to do the work. It was actually a lot of work.\n\n**STEVE MCGHEE:** From a distance, from London to here, yeah.\n\n**PETER PELLERZI:** Yeah, they came up with this ML approach to say, look, we can not only take all the inputs from all these devices and find an optimal running point for each one, but we can also take predictive weather data.\n\n**STEVE MCGHEE:** Oh, cool.\n\n**PETER PELLERZI:** So I can make adjustments now based on what the weather will be two hours from now.\n\n**STEVE MCGHEE:** That's awesome.\n\n**MATT SIEGLER:** That's amazing.\n\n**PETER PELLERZI:** So it's real time weather data with real time operating data. And you watch it. It's fascinating to watch because it will start to turn down the mechanical cooling, a chiller, which is our refrigerant-based air conditioning. It will start to reduce that. And you're like, what is it doing?\n\nAnd then you watch it for a little bit longer. And it makes a decision that if I increase the fan speed and the pump speed a little bit, I can get the same cooling for less power. So it starts to turn down the refrigeration because it anticipates the weather two hours from now. Fascinating to watch.\n\n**STEVE MCGHEE:** So at Google, we're happy about dealing with large numbers, like we like it. And I like to always say that a small change in a\n\nlarge number is still a large number. So this happens a lot inside of Google whether. It's a good change or a bad change.\n\nSo in your world, what is the number that you used to tell people about your job and how it's interesting? And what is something that you can share about the scale of your world? Is it the square footage of cement, or is it the density of something? Like, what's your favorite number?\n\n**MATT SIEGLER:** In joules or watts?\n\n**PETER PELLERZI:** Yes.\n\n**STEVE MCGHEE:** Yeah, choose your units wisely.\n\n**PETER PELLERZI:** I choose my units wisely. There's all kinds of capacities and whatever, but this is what impacts me. I'm an electrical engineer by trade, so I'm an electron guy.\n\nSo I'm always fascinated by the other side of the house, which is the cooling side. Because, to me, it's a little mystifying. You make cold water, it goes in, it gets hot, it comes back out, you make it cold again, fascinating. Because you're always fascinated by what you don't know that well.\n\nSo I went out to one of our sites and I looked at the pipe, and I said, what's that? And they said, oh, that's the chilled water supply to the data center. I said, oh, so what's, OK. And what's that? Well, that's the return. The hot water comes back. OK. So how big is that? It's 42 inches in diameter.\n\n**STEVE MCGHEE:** That's pretty big.\n\n**PETER PELLERZI:** So that's the scale. And essentially, a 42 inch diameter pipe, if you creep down a little bit, you can walk through it. And I was like, that's what it takes to cool one of these things? And they were like, well, yeah. They're very nonchalant, like, oh, yeah, oh, yeah.\n\n**STEVE MCGHEE:** I'm pretty sure there was a scene about this in one of the Star Trek movies, where someone gets transported into one of these pipes and they flow through it.\n\n**PETER PELLERZI:** Exactly. This particular site was one of our larger ones, has a 42 inch chilled water supply and return.\n\n**MATT SIEGLER:** That's a big number.\n\n**PETER PELLERZI:** And to me, that just-- it's like, really?\n\n**STEVE MCGHEE:** And I bet it's quickly flowing through that diameter as well. It's not just--\n\n**PETER PELLERZI:** Yeah, exactly.\n\n**STEVE MCGHEE:** --easily going, yeah.\n\n**PETER PELLERZI:** Several feet per minute.\n\n**STEVE MCGHEE:** That's awesome.\n\n**PETER PELLERZI:** And that just sort of for me, put it in scale, like, well, who else has this? And that's just the hyperscalers.\n\n**STEVE MCGHEE:** Yeah, would you say in your opinion-- I don't think you have a full understanding of everything on Earth-- but would you say that the Google data centers are different from other data centers at just a--\n\n**PETER PELLERZI:** I would because they have different purposes, and it's not good or bad. Data centers are kind of a personal thing to companies. If you're this kind of company, you optimize for an enterprise type data center. If you're this kind of company, you-- so Google is personalized to what we do. They look the same. All data centers have the same purpose.\n\n**STEVE MCGHEE:** Big box, yeah.\n\n**PETER PELLERZI:** Big box, you put electrons in one side, it gets hot. You take the heat out the other side, and you get rid of the heat. But it's all the stuff inside. How do you talk to the servers? How do you interface with the networking?\n\nAll that is really very unique to whatever company you're in. So it's not a good or a bad, but I think we have a really good mix, that's good across enterprise and hyperscale type ML. So we have a really good mix.\n\nAnd it's not by accident that we've had really good forward-looking leadership, like seven years ago, folks in platforms and delivery embraced the water cooling. And that was a really good idea.\n\n**STEVE MCGHEE:** Yeah, that's great. Yeah, it's really easy to say no to stuff like that. But the fact that they said yes is great.\n\n**PETER PELLERZI:** It is, because you're like, why do we need this? But you need to look four or five years ahead of time, if you can, and say, yeah, we should learn how to do that.\n\n**STEVE MCGHEE:** When I talk to companies-- so part of my job is talking to enterprises about how they use cloud and data centers. And they're coming from their data centers or some other data center or whatever, and they're moving on to cloud, and blah, blah, blah.\n\n**PETER PELLERZI:** Sure.\n\n**STEVE MCGHEE:** So one thing that comes up a lot is they like to cite MTTR and MTBF. And I'm curious how you feel about these statistics in your world. Because I know that in my world, in the distributed systems game, we like to say that those numbers actually aren't meaningful to us because it's not a large, homogeneous set of components that all have similar failure domains or failure modes that we actually have novel failures. So like treating this as it's not a normal distribution. So why are you taking the mean kind of thing?\n\nBut I'm curious if you have a data center full of eleventy million similar parts, maybe those numbers do make sense to you at a certain layer, but not at another layer. Is there a point, where the normal distribution disappears in your world, and do you take advantage of that when you're trying to measure your success? Is that a thing?\n\n**PETER PELLERZI:** It is. So what you're describing falls under our operations team, to monitor and to measure. Certainly, again, I have to emphasize no one is left alone. We do not throw things over the transom and say, well, good luck. No.\n\n**STEVE MCGHEE:** Your problem now.\n\n**PETER PELLERZI:** That is not the community we have here.\n\n**STEVE MCGHEE:** Great.\n\n**PETER PELLERZI:** Just we don't have that. So what's of concern, the metric that we look at is availability, 99.999, whatever, five nines of availability. That's our target.\n\nAnd the way you get to that target is, minimize failures. So you don't have to fix things. And then fix things as fast as you can, the MTTR, so your downtime is minimized. And that's how you get to that overall availability.\n\nHow do we get there? We have some unique features or unique opportunities. The manufacturers don't have many customers that have a bigger installed base of their equipment than us, so we actually have better data than the manufacturers of the equipment themselves because they don't have a concentrated pool of equipment that we have. So we see all their latent defects. We see all their strange applications and so on. So we work very closely with the manufacturers.\n\nThe other thing we do is we build fault-tolerant designs. Again, if you're going to expect something never to fail, that's not so good. We have a very, very robust spare parts program so that if something fails, A, we can recover very quickly using a fault tolerant design, and then B, we have the spare part in\n\nhand.\n\nSo we can see what fails across a large fleet, even though the manufacturer may tell you we've never had a failure on that. And they're not lying. They've never seen it because they sell two to this person, five to that person. But we buy 600. And we say, well, if you have 600 of anything, and you have a 0.001 failure rate, we're going to lose one every two years. So--\n\nSpare parts strategy, repair strategy, fault tolerant design, and working closely with your vendors. And we do really, really well with availability. I would say we're probably the best in the industry.\n\n**STEVE MCGHEE:** Yeah, we like to joke that at Google scale, a million to one odds happens all the time.\n\n**PETER PELLERZI:** Exactly. And it's important not to assume ill intent in your vendors. Because they, you say, well, it just broke. You should have told me. They don't know because they don't have a large enough statistical base. So work with your vendors. Again, this is a community sort of argument. Work as a community, not as a bunch of individuals.\n\n**STEVE MCGHEE:** Totally. Thanks, Pete. This has been great. It's been cool to touch grass with the actual data center. Touch cement, maybe, I don't know, touch steel.\n\n**MATT SIEGLER:** Get our hands, hold a shovel.\n\n**PETER PELLERZI:** No, no, cement is what you mix with the gravel and water--\n\n**STEVE MCGHEE:** Oh, sorry.\n\n**PETER PELLERZI:** --to make concrete.\n\n**STEVE MCGHEE:** Concrete. I always get that wrong. Well, I appreciate it. We learned a lot, especially that last bit, just there. Any final words for our friends about how people can keep up with this kind of stuff? I know we have a podcast that Stephanie Wong did a few years ago about how the data centers work in communities like you were alluding to. Any other resources you want to point people at who are listening to the show?\n\n**PETER PELLERZI:** There's a lot of good content out there. It's a fascinating industry right now. It's really, really exciting. The scale is really exciting. There's a lot here.\n\n**STEVE MCGHEE:** Still growing man. It's crazy.\n\n**PETER PELLERZI:** There's a lot here.\n\n**STEVE MCGHEE:** All right, thanks, Pete. Have a great day, everyone.\n\n**MATT SIEGLER:** Yes, thank you so much.\n\n**PETER PELLERZI:** Take care.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 38742, "slov": 6978, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:52", "sha256": "c76a0f98973d2b1e9249f4b917ab68d60001e6fa2050a2366ebd8d3289d10927", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03", "titulek": "The One With AI and Todd Underwood", "h1": "The One With AI and Todd Underwood", "popis": "In this Google Prodcast episode, Todd Underwood, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03"}, "headline": "The One With AI and Todd Underwood", "description": "In this Google Prodcast episode, Todd Underwood, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.", "image": "https://kstatic.googleusercontent.com/files/c2ffe9352c4523970abf8a5f75055bbbc3c7218b0fda4e47720713fcc336252632c428c88c21af70784d8f74d27ca84744a3779af96f4737c6f38ee5bd4c1180", "author": [{"@type": "Person", "name": "Todd Underwood"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With AI and Todd Underwood"}], "markdown": "# The One With AI and Todd Underwood\n\nIn this Google Prodcast episode, **Todd Underwood**, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Podcast. This is Google's podcast about SRE in production software. Today, we have a special guest, tmu. Everyone knows what that means, tmu. In real life, his name is probably Todd Underwood. Maybe that's what he writes on actual forums and things.\n\nAnd of course, I'm always here with my friend, Matt. Hey, Matt. How's it going?\n\n**MATT SIEGLER:** Hi. Good to see you again.\n\n**STEVE MCGHEE:** And I think the two of you, actually, Matt and Todd, might even be in the same part of the world. Is that even true? Is that possible?\n\n**MATT SIEGLER:** That's true.\n\n**TODD UNDERWOOD:** We're like, fewer than two kilometers apart.\n\n**STEVE MCGHEE:** Whoa. Crazy.\n\n**MATT SIEGLER:** I'm, in fact, at the moment, in his old office.\n\n**STEVE MCGHEE:** Oh, even better.\n\n**TODD UNDERWOOD:** It's a weird experience. It's a little bit--\n\n**STEVE MCGHEE:** Surreal.\n\n**TODD UNDERWOOD:** --insulting, frustrating, unnerving. I don't like it that you've taken over. It's fine. It's fine. I'll get over it.\n\n**STEVE MCGHEE:** It's fine. Yeah.\n\n**MATT SIEGLER:** I mean, I'm in his old office. I'm not at his old office, in the sense that I'm borrowing his old office.\n\n**TODD UNDERWOOD:** I can't tell that. I mean, I just see you occupying it. See?\n\n**MATT SIEGLER:** That is the correct word. I'm occupying his old office.\n\n**STEVE MCGHEE:** Todd, who the heck are you? What's your deal? Can you tell our listeners?\n\n**TODD UNDERWOOD:** I am Todd. I lead reliability for Anthropic, which is an AI company, working to develop safe, beneficial, and harmless AI. Prior to that, I worked at OpenAI for a brief period and at Google for a very long period. So I have been doing reliability stuff for most of my career, but I've been doing Machine Learning reliability stuff in particular since about 2009. So yeah, that's who I am.\n\nOne piece of advice I have for everyone-- do not write a book. Under no circumstances should you ever write a book. I know this because I wrote a book with some folks, about Machine Learning reliability. It was a catastrophic mistake. Really terrible. No, the book is fine, but it's really so much more work than you think it is.\n\n**STEVE MCGHEE:** I wrote a booklet one time, and that was hard. It's basically just a Google Doc, but very long.\n\n**TODD UNDERWOOD:** Yeah, like a little booklet. Oh, man.\n\n**STEVE MCGHEE:** It takes a long time.\n\n**TODD UNDERWOOD:** The worst book story I have is, you get to the end, and you print it out for the first time, and you're actually reading through. So you read through the whole thing in order. And my teenager came down and saw me, and said, what's that? And I'm like, well, this is the book. It's almost done.\n\nAnd she said, like, wait, you were serious about that? I've been working on it for like two years. She was like, oh, everybody's writing a book. Everybody's got a screenplay. I'm like, no, we were writing a book. We wrote a book.\n\n**STEVE MCGHEE:** This is different. It's real.\n\n**MATT SIEGLER:** Well, tell us about the book. What was-- it was an important book. Tell me, what happened after the book?\n\n**TODD UNDERWOOD:** I think what's interesting about-- so the topic is tough because when you think about what we do, what do you all talk to people about making things reliable? Oh, my God, look at that. You've got one.\n\n**MATT SIEGLER:** Yes, reliable Machine Learning.\n\n**TODD UNDERWOOD:** And also, what's creepy about that book is, Anthropic employees are called ants. I was like, this is weird.\n\n**MATT SIEGLER:** On the cover is a bunch of ants. Yes.\n\n**TODD UNDERWOOD:** This is very strange. It was destined to be. What was interestingly difficult about the book is, we intentionally tried to give it a little bit longer shelf life than you normally do for technical books, in part, because we just thought like, this stuff changes so fast. If you're going to try to address what people are doing today, don't write a book, just put out a blog, write some web articles about it, do a video tutorial or something.\n\nBut we wanted to try to get at some of the underlying principles, things like, how do you think about managing data and metadata? Or how do you think about troubleshooting incidents for services that have AI, ML as a particularly important component of those interfaces and applications? And so to do that, you have to be a lot more generic and a lot more principled, which is hard, because you want to be concrete enough to be useful but not so concrete as to be useless in two weeks.\n\nI think that was what was hard. I think the reception was pretty good. But also, what's weird is it's been super steady. I would say, the number of times people have brought up the book in the last month is actually not dissimilar from this month last year, which is really surprising for a technical book.\n\n**STEVE MCGHEE:** That's cool.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** In very recent news, I wanted to tell you that yesterday, I spent much of the day, vibe coding for the first time in my life. And it is a phrase, so this phrase may not last in perpetuity as people discover this podcast 25 years from now. But--\n\n**TODD UNDERWOOD:** Indeed.\n\n**STEVE MCGHEE:** --I had an AI write code for me, and I just accepted whatever it said. I was like, yup, yup, yup, yup, yup, yup, yup. I didn't do any debugging. And all I did was, I write tests and now make the test pass. No, not like that. That was the level of my prompt engineering. It wasn't very smart. It was just like, hey, man, come on. And it worked. It was pretty cool.\n\nSome of which was like production-ey things-- it wasn't real production, of course, but it was like, make this so I can run it on a cloud, and like, make it so that it is debuggable and add logging, and like, blah, blah, blah, blah, blah, words like that. So this is a ruse to get us to talk about using AI in production, because that's the real topic of today.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** So how do people actually use ML AI in their day job if they're SREs, if they're people who listen to this podcast today? In your opinion, so far, today, as you've seen it, actually be good.\n\n**TODD UNDERWOOD:** Do you mean like, what is the current state of affairs?\n\n**STEVE MCGHEE:** Yeah. Current. Today. Yeah.\n\n**TODD UNDERWOOD:** So that's tough. So let's think about from minus five years until plus 100 years from this moment. So within the minus five years to this moment, we have all been on the receiving end of this huge amount of hype of like, oh, AI is going to do everything for you. This goes back to a bunch of AI startups that were doing a thing that I haven't heard people use the term as much recently, but AIOps, which is the idea of using AI in production. That was around.\n\n**STEVE MCGHEE:** That was still around, for sure.\n\n**TODD UNDERWOOD:** OK. So that's still around. You would know better than I would. So people started trying to sell that for anomaly detection, for automatic configuration management, for dashboard creation and curation, for metric selection, for all this stuff, for config authoring.\n\nAnd let's be honest, like most of it hasn't worked very well. It does really well on demos, but then you go to use it on a real code base, and it's like, I don't really know what's happening here. Maybe you could do a bunch of work to make your code base, just like what I was expecting. And then I will save you time. And it's a trap.\n\nSo that's where we have been until now. 100 years from now, I think we all agree that computers are going to do most of this for themselves and for us. We're not going to need them. So somewhere between the moment that we're at and 100 years from now, things are going to change a lot.\n\nSo I've seen some limited stuff that's starting to work, and it's mostly stuff that's super adjacent to software engineering, as you say, Steve. So can you write Terraform for me? Yeah, that stuff can write Terraform. Can you produce a Helm chart? Yes. Can you help me troubleshoot this particular Kubernetes command that's not working with-- yes, they can do that.\n\nBut then later, when you say, hey, could you specify and architect a series of redundant services spread across three locations with 20,000 nodes in one location and 2,000 nodes in each of two other locations, and describe that, which is super normal for a human. You're like, hey. And they would think about it. No, they're not there yet. So somewhere between, do some Kubernetes for me and build the service, that's the gap that we're in.\n\n**STEVE MCGHEE:** Make it so it's good? Yeah, that's hard.\n\n**TODD UNDERWOOD:** Make it so it's good. Well, in thinking about tests, this is the thing I have to say, a little side note. This is the thing I find most human about the coding. If you tell an AI system to make something pass the test, the most common thing it will often do is change the test to be passing.\n\nAnd I'll be honest with you, a lot of us feel like that as well. And a lot of software engineers do that too. You're like, what is the fastest way to get this code to pass those tests? The answer is, have the test return true. That's the fastest way.\n\nAnd lots of us do that. And honestly, if you told a very junior developer who wasn't really familiar with test-driven development, they would do it too, because they're like, this thing says no, but if it said yes, then the next step would happen. Make it say yes. Oh, look, I can do that. It's even less code.\n\n**MATT SIEGLER:** All right. You took a wide spectrum of discussion through like where AI applicability from down to the ultra-tactical working test munging, and code, and up at the super strategic, doing big plans, doing forecasting.\n\nWhere are you seeing actual leverage happening now? Where are people finding, oh, this is really useful. I'm able to do this. I'm not toiling because this machine is doing the work, so I can do some more of the thinking. Where's this happening now? Not 100 years from now, not five years ago, where it was garbage. Where are we actually seeing some progress that's safe, that the risks are worthwhile, that everyday, people can actually do things?\n\n**TODD UNDERWOOD:** I think we're still in the very early stages of that. So we're in the messy middle, but we're at the beginning of the messy middle. And what I mean by that is, before we had these kinds of computer systems, people like us, we wrote the config for ourselves, and people like us, as coworkers, reviewed each other's configs. That's how we did it back in the dawn of time. And then--\n\n**STEVE MCGHEE:** Last year, yeah.\n\n**TODD UNDERWOOD:** Yeah. Last year. Conf T! But at some point in the distant future, humans will not be involved at all. And that will be a very different world, where the computers talk to the computers and the representations of what they do, and also, what they need to be good at, is very different.\n\nIn the middle, the computers need to be able to help us. And that's where we are right now. So what I see right now are very beginning stages of people using computers to help them with production, not very sophisticated.\n\nCases that are incredibly controversial, and don't work at all, and might never work, or will not work with our current approaches, are anomaly detection. That's the thing most of us want is anomaly detection. I don't think we're going to get that anytime soon.\n\n**STEVE MCGHEE:** Nontrivial anomaly detection.\n\n**TODD UNDERWOOD:** Yeah, I mean--\n\n**STEVE MCGHEE:** We already get the basic, like, ‘eh well, maybe’, kind of stuff.\n\n**TODD UNDERWOOD:** That's right. But then those are either huge false positives or huge false negatives. They're like, oh, that thing spiked. Well, it spiked because it's the beginning of the working day.\n\n**STEVE MCGHEE:** Yeah, it's important to point out. There already is anomaly detection, it just sucks. It's in many products today. It just sucks.\n\n**TODD UNDERWOOD:** Yeah. Well, because Matt did say, reliable.\n\n**MATT SIEGLER:** Yes. Yes. Yes.\n\n**STEVE MCGHEE:** Yeah, fair. OK.\n\n**TODD UNDERWOOD:** So I don't think the anomaly detection stuff is very useful. I do think there's a couple use cases that I've seen that are pretty good. Steve Ross and I wrote a paper a number of years ago that pointed out that the cases where people are using these systems, where it works, we don't even think about. So let's talk about autoscaling with your current employer.\n\nAutoscaling has been ML-driven at Google for a long time. And you don't even think about it. And you're like, well, yeah, that's right. It is just because they had some simple model of a low watermark, bump things up, high watermark, bump things down.\n\nAnd then they were like, oh, well, what if we do some diurnal prediction? What if we store a time series? And what if I say like, hey, I think, in 26 minutes, you need twice as many instances of your job spun up? And they just get ready to do that because spinning up instances is not instantaneous. That was a good little pun to that.\n\n**STEVE MCGHEE:** Got it.\n\n**TODD UNDERWOOD:** Yeah. So things like that already exist. In terms of the work that people do out in the real world, the only stuff I've seen that is pretty much working is things related to first draft configs and first draft designs.\n\nAnd also, there's a little bit like, I got paged, what do you think I should look at? Those things, where there is something that is useful but is not left to its own device. It's going through a human. So in that case, Matt, I alert you, you're on call for some service, and you get an alert.\n\nAnd if you're not great at the service or you're not super experienced, which happens to us all from time to time, it's pretty great to go into a page and say like, hey, I got a page and have the model say, like, I'm not really too sure, but I think you should look at one of these five graphs. I've got five graphs. I think you should look at those.\n\nAnd if three of them are useless and unrelated to what you want to look at, but two of them really help you understand what's happening and how to fix it, that's pretty great.\n\n**STEVE MCGHEE:** Yeah.\n\n**TODD UNDERWOOD:** The last thing that I've seen is super boring. I talked about this last year, but what's actually really interesting is the replacement of interfaces to technical documentation. OpenAI had this where, instead of saying like, let me search a set of web pages, you instead interact with an AI system that has access to the full set of technical documentation, which means you can explain, expand, and correlate.\n\nYou can say, I don't understand how this system works and say, well, this is a system that does that, and it relies on that. So the interface to that is much, much better. Tell me all the things that control access to files stored in my blob store.\n\nThat's not an easy question to ask of your documentation. That's not a web search kind of a question. That's an AI system, kind of a question. But if you have a huge amount of documentation, and you ask it, most of the good AI systems will answer that question for you.\n\n**STEVE MCGHEE:** So this sounds a lot like toil reduction through this type of technology, as well as freshness of understanding. I don't know. There's probably a better phrase for this, but being able to know less about what was written down the last time we wrote things down and more about the state of the system via many sources, potentially.\n\n**TODD UNDERWOOD:** I think that. And I think that in the human augmentation piece of this, all of the systems, where you can put a series of documents into a project and look through that project, so like NotebookLM at Google, Anthropic projects, both of these are like, hey, link to these documents, either by uploading the documents, or linking to your Google Drive, or whatever. And like, now, I just want to talk to the documents, I want to ask questions about them.\n\nAnd so cool examples I've seen. I mean, this is going to be boring from a production engineering point of view, but I'm a manager. And one cool example I heard was, put all your one on one docs into a project. And then you can ask questions about your one on one docs in aggregate. You're like, who is really struggling? Or who has had some interesting questions? Or who have I met with least in the last three months?\n\nYou could get these things from other places, but you can put your team doc meetings in there or your incident review docs in there and say, what were the most contentious incident reviews in the last six months? And you're like, you can figure that out, but being able to zone in on like, hey, here's three that had a large number of comments, a large number of discussion on the comments, failure to resolve on what the follow up items were.\n\nAll of these are in this bucket of helping humans be more useful, human augmentation. None of these are the, oh, and then the computers just go away and do it right. We're not at that point yet.\n\n**MATT SIEGLER:** This really brings something that is top to mind for some people is trust and safety is knowing that what's coming out of the other side of these decisions is not missing what's important but also not suggesting something that's potentially problematic. What's in your head about this right now?\n\n**TODD UNDERWOOD:** I think, the main thing that I've been enjoying with some of these systems that are based on either web documents or stored documents in a product are citations. So don't tell me like, this is a thing. Tell me why you think that's the thing, so that I can build trust.\n\nThat works with humans as well. Somebody tells me, hey, the weather's going to be terrible tomorrow. I'm like, I didn't know that. Why is the weather going-- why do you think that? That's perfectly normal. Where did you get that information? Because I want to have access to that information and understand it better.\n\nThat's a normal thing to do to another human being. It's also a completely normal thing as you're trying to build trust in an AI. Don't give me a number. I mean, sure, give me a number, that's fine, or give me a set of numbers, but also, tell me, where did you get that information so that--\n\n**STEVE MCGHEE:** Citation needed.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** For sure.\n\n**TODD UNDERWOOD:** Citation needed. And the systems like Anthropic projects or NotebookLM where you're working with a series of documents, having deep links into the document. They're like, look at this table, or look at this paragraph, or look at these three things. That's why I think that this is important, or this is wrong, or this is interesting, or this trend exists.\n\n**MATT SIEGLER:** I like that answer. Also, at Google, clearly, we've been trying to get people to dig into, not just here's the answer, also go look at where we got it for you with authoritative information. I think what you just said was, this is a citation. This is where we think that came from. How do we get people to want those kinds of answers, not just, here's a summary of the answer?\n\nThis is the credibility of that answer. Go look and read for yourself. Go make a judgment, not just take this answer as it is, because I see people just taking the output of that, digesting and going oh, that's the answer I'm ready to go, but I don't think we want people doing that. How do you suggest we have a literate way of interacting with these machines?\n\n**TODD UNDERWOOD:** I mean, I'm not an expert in-- worse than that, long ago, I discovered, I don't really understand other people all that well. So that's fine. So I don't know how you get anyone to do anything. What I do think is that when I think about the way I use, for example, search, I think there's some different use cases.\n\nOne of the use cases is like, is Cedar Rapids the capital of Minnesota? No. No, it's not. OK. What is the capital of Minnesota? Tell me about St. Paul. Fine. OK. So I just wanted to know a fact.\n\nThe other question is like, how are capitals of US states selected? Or why was the border between Canada and the US picked to be 45th parallel? Why did that make sense? That's not a one fact answer. I want to do some reading, but I also want to look at citations about the reading.\n\nSo I think, as we move away from just simple answers into more complex stuff, I do think more and more people will be interested in the summaries and the links about more of the summaries. But I think there is a UX issue there, where early versions of Perplexity, for example, and some of the other search engines didn't really-- some of the other AI search engines, I mean, sorry, did not really highlight the sources that well. And that's not great, right? Because you really want to be like, hey, I think this, link, link, link. I think this, link, link, summary from these links, and then also have a table of citations at the bottom. That's a weird UX, but I think those are the important things.\n\n**STEVE MCGHEE:** So just focusing on your position today, so you’re the reliability czar will say, no, you probably have a real title. You're a reliability dude at a place.\n\n**TODD UNDERWOOD:** Yes.\n\n**STEVE MCGHEE:** Does quality fall under your purview? Do you care about this stuff? And if so, this is where hallucinations come in. So someone asks about the land dispute between these two borders.\n\nA hallucination can totally slip in there. Do we know? Do you know? Does wearing your reliability hat at a company that does this stuff? Is there a way to get a graph to be like, wasn't great?\n\nSomeone said this was wrong, or we think maybe, the model was being weird. Does it just happen? And we're like, I don't know, tough. Or is there a way to make this better over time? How do you come across this type of quality issue? Like it's up, but it's weird.\n\n**TODD UNDERWOOD:** So it's funny. You stepped into my trap, Steve. I've given a number of public--\n\n**STEVE MCGHEE:** I thought you stepped into my trap, but here we are at an impasse.\n\n**TODD UNDERWOOD:** I've given a number of presentations arguing that end to end model quality is the only SLO that people working on reliability for ML systems can have. And I think it's easier, hallucination kind of stuff is interesting, and some of the subtle cases are interesting. But let's just talk about a payment fraud system.\n\nIf the payment fraud system is running, and the model is fresh, and the model just says, yes, every transaction is fraud, the system is not running. You are no longer accepting any payments. It's not an interesting case. The model just thinks that everything's a fraud. OK. Is that OK?\n\n**STEVE MCGHEE:** Might as well be down.\n\n**TODD UNDERWOOD:** Right? Might as well be down. Right. And so I think, similarly, if you're Amazon, and the recommendation systems recommends a kitty litter robot to everyone, regardless of what they're purchasing, Amazon's losing tens or hundreds of millions of dollars until they fix that recommendation, because, I'm not saying no one would buy it, but I don't have a cat, so I'm not buying a kitty litter robot.\n\nAnd so that's the first thing I would say. And then the second thing is, even in the modern systems, one of the most common intersections or one of the most obvious intersections between model behavior and reliability is like the trust and safety checking.\n\nLike at Anthropic, we care desperately that the models are safe, that the models are helpful, and that the models don't let you do bad things. We published this whole responsible scaling policy about what we're going to prevent the models from helping people to do. We don't want the models to help people carry out acts of terrorism.\n\nSo for example, you want a model that understands chemistry and biology, but you don't want a model that helps you make bioweapons that will kill people. So that's tough, because some of that's just chemistry and biology. So that's a tough line.\n\nSo even after you test the models, the nefarious people, sometimes, researchers are trying to get the models to produce harmful content. And there's some live checking that goes on. If that live checking is bad, it can just disable all of the sessions, be like, nope, nope, nope, nope.\n\n**STEVE MCGHEE:** You still want people to be able to make real fertilizer, not fertilizer for bad things. Yeah.\n\n**TODD UNDERWOOD:** That's right. That's right. Yeah. For example, it's completely reasonable for somebody who's got a farm to be like, I am sick of paying for-- is there anything I can do to not have to pay for this stuff? Yes. But also, yes, there are bad uses for similar chemical compounds.\n\nAnd so I think that's what's interesting is that-- so what I would say is that there's a tendency for SREs who work on the stuff to be like model quality, not my problem. Well, literally, the only reason you're running this system is because the model does something. If the model didn't do something, you wouldn't be asking it questions in the middle of whatever you're doing, whether it's targeting ads, fixing spelling, correcting grammar, having a conversation, identifying fraud.\n\nThe model does that thing. So given that it does that thing, if it stops doing that thing, then you don't actually have a service anymore. It's a complex issue, though. And I find it interesting, because obviously, if I'm running a model, I didn't make the model. But I think there's some good patterns on how to do that.\n\nSo one of the simplest patterns is, if the model is brand new, and nobody's ever used it, and it's terrible, and Matt, you launched it, you launched a bad model, you take it back. It's all your fault. I'm not going to help you.\n\nIf the model's been working fine for two weeks, four weeks, and nobody's touched it, and all of a sudden, it's garbage but so are five other models, that's probably my fault, not Matt's fault. It's probably not that all five models went bad at once. So you can do some really simple correlation to try to figure out, is this an ML problem that is particular to the design of the model, of the training of the model, or is this some kind of a systems problem?\n\n**STEVE MCGHEE:** Yeah. Life is systems, man, for sure.\n\n**MATT SIEGLER:** This makes me think about a core principle, which is an SRE principle of making conscious decisions between product velocity and product reliability. And I want to hear your thoughts on where you see industry-wide AI product releases coming in terms of reliability versus velocity right now, because these releases are coming hard and fast. And they're coming hard and fast because the discoveries are coming hard and fast, and the models are coming out really quickly.\n\nWhat is your stance? What are you seeing right now? Where are we in this pendulum between things coming out faster and things coming out better? And what are we to do?\n\n**TODD UNDERWOOD:** I think it's been an interesting question. What's funny is, that question, I dealt with when I was working on the Google Cloud AI team back in, I don't know, 2022, or 2021, or something. This is a long-term question, long-term for our industry.\n\n**STEVE MCGHEE:** Ones of years ago. Yes.\n\n**TODD UNDERWOOD: [CHUCKLES]** Ones of years ago. Yes. But I think that the right way to reframe this, the way we often do in reliability circles, let's think about the end users and their preferences and just say like, hey, I got a new thing, or I can spend time making the existing thing better. What do you want?\n\nAnd right now, the market says, hey, I just want the new thing. I just want the new thing, mostly. I think, there are some cases where that's not the case, but the feedback I've heard from most users is, similarly, you can often trade reliability for capacity, as well as you can trade reliability for velocity. You can be like, well, I can run the service hotter, but it's going to break more often. That's another common thing.\n\nAnd most users will be like, yeah, yeah, I'll take that. I'll take it. I would like twice as much quota at 1 and 1/2 or 2 fewer nines of reliability. I'm like, really? Right now, a lot of users are saying yes to that. I think that the key question, the same way that cloud was like a toy until it wasn't, cloud was just kind of a thing people played with and put some stuff in, until you turned around and looked, and 20% or 30% of all the 911 services in the country were running on somebody's cloud.\n\nYou're like, oh, OK, so not a toy, need to be very thoughtful about how we do this stuff. I think we're going to get to the same thing with the public AI systems. But I still don't think we are. I think users want a better model.\n\n**STEVE MCGHEE:** If we're doing this really quick, because this is what the market is asking for, and this is what we can deliver, and like, OK, sure, market, you say so. What if we're wrong? What's the backup plan? What if it goes too fast?\n\nThe worry that I have, and this is pretty philosophical, is that this is a highly-leverageable technology. We can get it to the hands of literally billions of people. And if it's goofy, or weird, or wrong, it can have drastic effects real fast. And it can have a lot of them, potentially, especially in the, not this year but next several years mode, presuming that we're right about that.\n\nAre there thoughts about that that you're aware of within the industry, within things that you work on in terms of, if it's bad, what do we do? Is there a roll it back big red button in the meta sense, I guess.\n\n**TODD UNDERWOOD:** I mean, I think, when Matt was talking about this, I was thinking about reliability in the, like, the model's fine, but it's not working right. The inferences are not returning. I think, in terms of launching new models, one of the things that Anthropic is particularly opinionated about is being very careful and thoughtful of that.\n\nSo I think it's a great framework, this responsible scaling policy. And the responsible scaling policy just says, if you have a model that can do these things, then you need security controls that can do these things. It's very explicit.\n\nAnd before I started at Anthropic, I thought like, oh, this is the kind of thing that security orgs do to market themselves. When I got to Anthropic, I asked Jason Clinton, who is the chief information security officer, I was like, hey, how does security work here? He's like, well, I mean, we describe it publicly, and the responsible scaling policy, that's just what we do.\n\nEvery time we have a model, we decide how capable the model is, and then we implement the controls that are of that capability. And so that's what we have now. And we're trying to encourage other organizations to do similar sorts of thinking. Because I think you're right, the ways that humans use these things are many and varied. It's exciting, it's wonderful, but the potential for harm is pretty significant as well. I don't know if you all have read all these stories and talked to friends who are like, oh, yeah, I use ChatGPT as a therapist. Really? The models, they're not suited to that, not that they couldn't be. I can imagine a model being a fantastic therapist, but I'm not aware of any data that says that we have models that are good at that and safe to do that right now, because that's tricky.\n\nSo what I would say is like, yeah, everyone-- like, Anthropic is super careful about model releases for these reasons. And we're hoping to pressure the rest of the industry into being careful about it as well.\n\n**STEVE MCGHEE:** In my experience, and I think yours, because we worked together at the same place for a long time, like SRE, historically, or at least, yeah, I would say, SRE, in general, has been at this weird intersection, where we're like the ‘fight for the user’ group, where we would say like, no, we shouldn't do the thing. Even though some team was like, this feature is going to be great, we would hold this sign saying like, no, it's actually not good. Do you think that SRE in the future, the current, is in a similar position to be able to say like, yeah, but not cool? This isn't going to work for the following reasons. Or is it like, are we still in that position, where we're looking at the holistic picture, where maybe, other people at the company are not?\n\nAnd is this a bad idea to try to do this? Or is this actually an honorable thing to try to do at these types of companies?\n\n**TODD UNDERWOOD:** And the origin behind that was always going back to early days sysadmins, who are like, I have access to all the secret data. And I take that responsibility super seriously. A lot of sysadmins I know are as ethical as the physicians I know about private data. Of course, I know what you do on your computer. And of course, I would never let anybody know that without appropriate permission, et cetera, et cetera.\n\nI think that the difference here is that the worrisome capabilities are much more subtle. They're not like, I'm going to expose your credit card information online, or I'm going to give somebody access to your bank account. They're, I'm going to launch a model that is weird and dangerous for a very small subset of people under this very odd circumstance.\n\nAnd so I guess, what I'm getting to is, one of the things I really like about my current employer is that the whole company is organized around trying to prevent this. And I think it needs that, because you need sophisticated researchers. You need a trust and safety team that understands those. You need red teaming. You need people publishing about that stuff.\n\nThere was one of my coworkers, who, until recently, was here in Pittsburgh, did a whole paper of like, hey, I used one of our models to do end to end network penetration. It worked. And so I figured out how it worked. And it was really easy and easy to do on everybody else's models too. And I was like, can you publish that? He's like, yeah, it was so easy. I'm sure other people are already doing it. We publish it so that people can see how this is done.\n\nSo this is my point is, that took a PhD researcher four weeks, which is a small amount of time, but also not something an SRE is going to do on a Tuesday before their call shift starts at noon. So it takes more work.\n\n**MATT SIEGLER:** Tell us a story, an anecdote, something that really surprised you, something either adjacent or outside your field since changing companies, you meet new people, new scenarios, something you've learned since changing that really took you by surprise.\n\n**TODD UNDERWOOD:** I will say, here, speaking directly to us, as the audience, and what I believe is your audience. Most of us we’re pretty skeptical about these technologies. We're like, oh, they're OK. They fail a lot. I don't know. I don't really trust them. I'm not sure.\n\nAlso, AI is just a bubble. Also, these are just glorified zip. It's just some glorified compression. LLMs are not-- I'm like, OK, I think those are widely-held beliefs. And when I was at OpenAI, it was difficult to disprove those because OpenAI is such a consumer-oriented company.\n\nConsumers are very susceptible. We love us a fad. We just love whatever other people are doing, especially like nerd land, where if three other technical people are doing a thing, I just have to do that thing.\n\n**STEVE MCGHEE:** I'll take two. Yeah.\n\n**TODD UNDERWOOD:** Take two. Right. Then I came to my current employer, who really sells mostly to businesses. And it's not that businesses are not susceptible to fads, but all of them are doing proof of concepts-- proofs of concept. That's better. And they're buying a lot.\n\nAnd so I think, what surprised me is how much of a real market for these services there is and how diverse it is. Clearly, the coding use case has caught wildfire. People love this for coding. It's very concrete. It's super economically valuable.\n\nThe price points are right. It's going to change our whole industry. And we can all already see it. That one has appeared, basically, out of nowhere in the last two years, where, when GitHub launched Copilot, I think a lot of us were like, cute story, but it's not that useful, in part, because the models weren't quite good enough yet. It was a good UI, but the models weren't good enough. But now, Steve, you're vibe coding, and it's working, that's wild, but also for marketing.\n\nAnd also, for marketing, like product marketing, someone was describing to me how one of their products is, somebody writes a strategic product brief and outcomes, the marketing segmentation plan, the advertising plan, the manufacturing plan, what ingredients they should or should not use, proposed names, blah, blah, blah. And I'm like, oh, is that good?\n\nAnd they're like, yeah, we have currently between 112 and 120 people doing that to each product. And if you can do that, those people could go do something else. And it doesn't do it all by itself. But anyway, my point is, the thing that I have seen that has surprised me the most is the volume, the intensity, and the diversity of real, economically valuable use cases that already exist in these models that are far from where they're going to be in the near future, so that stuff.\n\n**STEVE MCGHEE:** Nice.\n\n**TODD UNDERWOOD:** I think, the reasoning stuff, the little subpoint, the reasoning technology that has appeared recently is fascinating. I don't know if either of you watched ClaudePlaysPokemon. That is mesmerizing. It is mesmerizing.\n\nSo basically, they just turn Claude with reasoning turned on at Pokemon, and they say go. And it gives it an interface and so it can parse the screen and be like, what do I see? I think I'm in a room. What can I do? Are there any buttons I can press? I will press this button. That didn't do anything. Should I press another button?\n\nIt's wild. And you're like, what is happening here? And they can chart how far each model has ever gotten playing Pokemon, but it shows you this naive potential of what agents-- this is a very primitive environment. It's a very constrained environment. It's old school Pokemon. But it shows you the potential of what agents might be able to do.\n\nSo I would love to have an agent, to be able to have an AI agent and say, hey, book us a vacation next spring, and just like, have it know who we, us, vacation, spring, note what those things mean, and come back to either no clarifying questions or a couple, and like, hey, I got you, and your kids, and your partner plane tickets, hotel, activities booked. I actually replaced your luggage because I know that you've broken it down over the last 15 years, and you need a new roller bag.\n\nSo I got that on the way, and you're good to go and be like, wow. You can imagine that. We're not there yet. But I don't know how far off we are from that. And so that's going to be exciting as well.\n\n**STEVE MCGHEE:** I hate to be bad cop here, Todd, but there's quite a lot of hope in your voice. And I recall hope being a phrase in SRE land, something we're not supposed to do too much.\n\n**TODD UNDERWOOD:** It's weird. So people who think a lot about AI harms are some of the people who are most optimistic about AI benefits. And the analogy I'll give you is homeopathy.\n\nNo one worries that a homeopathic medicine will cause you harm, because it doesn't do anything. And since it doesn't do anything, it can't hurt you. It's just water, right?\n\n**STEVE MCGHEE:** Just go for it.\n\n**TODD UNDERWOOD:** Just go for it. I mean, you can overdose on water, but there's got to be many, many liters, right?\n\n**STEVE MCGHEE:** Right.\n\n**TODD UNDERWOOD:** With the AI, it's the same thing. If you think these things are incapable and aren't getting much better very quickly, then you don't need to worry about the harms because they're not any good. And so that's one camp of people.\n\nThere's another camp of people who are concerned about the human transition to these technologies, what the machines are capable of, what some of the harms might be during that transition and after. But those are the people who are seeing the improvement curves and saying like, it's hard in the ever present now for us to take this seriously, but cast your mind back 18 months ago. What could the models do? Cast your mind back 36 months ago. What could the models do? What do the models do today?\n\nEven if you just look at the model launches that were in October of last year and the Gemini 2.5 and the Sonnet 3.7 launches, and you only think about coding. You're like, you know what writes really good code is Sonnet 3.7. And what writes really good code as of last week is the new Gemini launch. Those write really good code, and they didn't four months ago.\n\nSo I don't know what happens in 4 more months, and I don't know what happens in 12 more months, but there has been no plateau to the improvement. And therefore, I think, A, it's appropriate to be optimistic because you're looking at a curve, and you're seeing where it goes. But then B, it's also appropriate to be thoughtful and cautious, and say, OK, what are we going to do to make sure that this doesn't hurt people, this doesn't hurt societies, it doesn't hurt economies, it doesn't hurt the world? All right.\n\n**MATT SIEGLER:** All right. I got a hard hitting one for you, Todd.\n\n**TODD UNDERWOOD:** All right.\n\n**MATT SIEGLER:** Some of our audience is listening, and some are also watching. Some of those who are watching only see the top of your shirt. Explain your shirt. Describe it out loud, and then describe the whole thing. What does it say?\n\n**TODD UNDERWOOD:** Yeah. So the shirt has two goofy SRE logos, a dragon and a unicorn. The dragon is the original Google SRE logo. And the unicorn is the SRE EDU-- how do you say it?\n\n**MATT SIEGLER:** Mascot.\n\n**TODD UNDERWOOD:** Mascot. Thank you. I was like, mascot, that means pet, but we don't call it that anyway. I got stuck in the middle there. So the shirt says traitor and a scoundrel. And it's got a box filled in-- what kind of SRE are you a traitor and a scoundrel to? And I am a traitor to ML SRE as of 2023.\n\n**STEVE MCGHEE:** So what had happened there? Why did we--\n\n**TODD UNDERWOOD:** That's when I left. And I think, when people would leave my teams when I was a manager at Google, I would always call them a traitor and a scoundrel, because I love that people would go do stuff. I thought it was great. In any good technical environment, people go try stuff.\n\nAnd then if they think your team is great, then they come back to something else, maybe, for a different reason. And that's healthy, and that's good. And so I was joking around with people. And then I worked with Skye Wilson. And we had the shirts made up, she designed it, and just actually started giving them to people, writing in like, I am a traitor to you.\n\nI have one that says ML SRE because I founded Machine Learning SRE at Google. I have one that says Pittsburgh SRE because I used to be the Pitt SRE site lead, and ultimately, the Pitt site lead. So yeah, I really enjoy those. And I think it's a nice marker of where you've been.\n\n**STEVE MCGHEE:** Yeah. I have another hard-hitting question, Todd. Now is your opportunity. You can do this if you want.\n\n**TODD UNDERWOOD:** OK.\n\n**STEVE MCGHEE:** Would you like to be like Niall and tear up your own book live on camera?\n\n**TODD UNDERWOOD:** No.\n\n**STEVE MCGHEE:** No. But if you were to, if you were to write another book, magically, it just happened, how would you change what you guys wrote about? What would be radically different? What are the diffs? What's the addendum that you would like to exist without actually doing the work of making it exist?\n\n**MATT SIEGLER:** What do they call this, a fast follow or maybe just an errata?\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** Yeah, that one.\n\n**TODD UNDERWOOD:** Your experience with vibe coding, Steve, is where a lot of us are. And I think that getting the timing would be difficult. But what I would probably do is start-- no, but don't let me talk myself into that. If anybody's listening--\n\n**STEVE MCGHEE:** This was not a trick. You're tricking yourself here. This is not--\n\n**TODD UNDERWOOD:** Anyone is listening from O'Reilly, I am not writing another book. But if I were to, I would spend this next 6 to 12 months watching that transition and trying to plot out, what is our work like in a year to five years? Which is hard to do.\n\nBut I would say, what are the domains of expertise? How does testing and rollout work? Think about rollout. Most places don't have something like a canary analysis server or something that-- but most people have primitive smoke tests.\n\nBut what you really want is to ask a model like, I rolled out a thing. Does it work? Is it good? It'd be amazing to be able to say, I have some sense of what work and good mean. I think there's going to be a bunch of stuff like that. And so what I'd like to do is try to help understand what is going to be the technical work that we will have in the future, where instead of doing all of this, we direct the work of all of this.\n\nIn the same way, it used to be like you wrote code by hand with your fingers in an Emacs or VI window, like God intended. And now, you just say like, hey, could you unroll this loop?\n\nNow, you know what unroll and what loop means, but you don't have to unroll the loop, it just unrolls the loop for you, or it makes the UI for you, and it plumbs them into your methods. So I think, that's what I would try to do is, I would try to say, what is it like to do technical work in a world where the execution becomes less and less important but the architecture, and the purpose, and the design are still important? Because I think that's where we'll be for a while.\n\nNow, eventually, we will be past that, but I just don't know how quickly that will be. So that would be the book. It would be like, how do you direct the technical execution of a production engineering environment whose execution is managed by computers?\n\n**STEVE MCGHEE:** Well, thank you, Todd. That was awesome. Thank you for your time. Is there anything else that you want to talk about that we didn't hit? Did you have a big gotcha that you wanted to just drop on the world?\n\n**TODD UNDERWOOD:** You guys are covering great stuff. It's fascinating. One thing I will recommend people go look at the closing keynote of SREcon, which should be out on video by the time you guys launch this, because it's Charity Majors, Honeycomb, who has been notably AI-cranky, AI-skeptic, who is now AI-bargaining, so interesting transition there.\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** We should include those in the show notes.\n\n**TODD UNDERWOOD:** Sure.\n\n**STEVE MCGHEE:** Yeah, will do.\n\n**TODD UNDERWOOD:** Thank you.\n\n**STEVE MCGHEE:** Thank you, Todd. It's been great. Nice to see you.\n\n**TODD UNDERWOOD:** Good to see you.\n\n**STEVE MCGHEE:** Until next time.\n\n**TODD UNDERWOOD:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 47804, "slov": 8755, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:50", "sha256": "ad3bae12b569fb0f7889c3f63f60e9b20d14a1f36c323e14212675a5170f8fb2", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03/", "titulek": "The One With AI and Todd Underwood", "h1": "The One With AI and Todd Underwood", "popis": "In this Google Prodcast episode, Todd Underwood, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03"}, "headline": "The One With AI and Todd Underwood", "description": "In this Google Prodcast episode, Todd Underwood, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.", "image": "https://kstatic.googleusercontent.com/files/c2ffe9352c4523970abf8a5f75055bbbc3c7218b0fda4e47720713fcc336252632c428c88c21af70784d8f74d27ca84744a3779af96f4737c6f38ee5bd4c1180", "author": [{"@type": "Person", "name": "Todd Underwood"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With AI and Todd Underwood"}], "markdown": "# The One With AI and Todd Underwood\n\nIn this Google Prodcast episode, **Todd Underwood**, a reliability expert from Anthropic with experience at Google and OpenAI, discusses the current state and future of AI in SRE. Todd and the hosts focus on the current state and future of AI and ML in production, particularly for SREs. Topics discussed include the challenges of AI-Ops, limitations of current anomaly detection, the potential for AI in config authoring and troubleshooting, trade-offs between product velocity and reliability, the evolving role of SREs in an AI-driven world, and book publication for optimal timing.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Podcast. This is Google's podcast about SRE in production software. Today, we have a special guest, tmu. Everyone knows what that means, tmu. In real life, his name is probably Todd Underwood. Maybe that's what he writes on actual forums and things.\n\nAnd of course, I'm always here with my friend, Matt. Hey, Matt. How's it going?\n\n**MATT SIEGLER:** Hi. Good to see you again.\n\n**STEVE MCGHEE:** And I think the two of you, actually, Matt and Todd, might even be in the same part of the world. Is that even true? Is that possible?\n\n**MATT SIEGLER:** That's true.\n\n**TODD UNDERWOOD:** We're like, fewer than two kilometers apart.\n\n**STEVE MCGHEE:** Whoa. Crazy.\n\n**MATT SIEGLER:** I'm, in fact, at the moment, in his old office.\n\n**STEVE MCGHEE:** Oh, even better.\n\n**TODD UNDERWOOD:** It's a weird experience. It's a little bit--\n\n**STEVE MCGHEE:** Surreal.\n\n**TODD UNDERWOOD:** --insulting, frustrating, unnerving. I don't like it that you've taken over. It's fine. It's fine. I'll get over it.\n\n**STEVE MCGHEE:** It's fine. Yeah.\n\n**MATT SIEGLER:** I mean, I'm in his old office. I'm not at his old office, in the sense that I'm borrowing his old office.\n\n**TODD UNDERWOOD:** I can't tell that. I mean, I just see you occupying it. See?\n\n**MATT SIEGLER:** That is the correct word. I'm occupying his old office.\n\n**STEVE MCGHEE:** Todd, who the heck are you? What's your deal? Can you tell our listeners?\n\n**TODD UNDERWOOD:** I am Todd. I lead reliability for Anthropic, which is an AI company, working to develop safe, beneficial, and harmless AI. Prior to that, I worked at OpenAI for a brief period and at Google for a very long period. So I have been doing reliability stuff for most of my career, but I've been doing Machine Learning reliability stuff in particular since about 2009. So yeah, that's who I am.\n\nOne piece of advice I have for everyone-- do not write a book. Under no circumstances should you ever write a book. I know this because I wrote a book with some folks, about Machine Learning reliability. It was a catastrophic mistake. Really terrible. No, the book is fine, but it's really so much more work than you think it is.\n\n**STEVE MCGHEE:** I wrote a booklet one time, and that was hard. It's basically just a Google Doc, but very long.\n\n**TODD UNDERWOOD:** Yeah, like a little booklet. Oh, man.\n\n**STEVE MCGHEE:** It takes a long time.\n\n**TODD UNDERWOOD:** The worst book story I have is, you get to the end, and you print it out for the first time, and you're actually reading through. So you read through the whole thing in order. And my teenager came down and saw me, and said, what's that? And I'm like, well, this is the book. It's almost done.\n\nAnd she said, like, wait, you were serious about that? I've been working on it for like two years. She was like, oh, everybody's writing a book. Everybody's got a screenplay. I'm like, no, we were writing a book. We wrote a book.\n\n**STEVE MCGHEE:** This is different. It's real.\n\n**MATT SIEGLER:** Well, tell us about the book. What was-- it was an important book. Tell me, what happened after the book?\n\n**TODD UNDERWOOD:** I think what's interesting about-- so the topic is tough because when you think about what we do, what do you all talk to people about making things reliable? Oh, my God, look at that. You've got one.\n\n**MATT SIEGLER:** Yes, reliable Machine Learning.\n\n**TODD UNDERWOOD:** And also, what's creepy about that book is, Anthropic employees are called ants. I was like, this is weird.\n\n**MATT SIEGLER:** On the cover is a bunch of ants. Yes.\n\n**TODD UNDERWOOD:** This is very strange. It was destined to be. What was interestingly difficult about the book is, we intentionally tried to give it a little bit longer shelf life than you normally do for technical books, in part, because we just thought like, this stuff changes so fast. If you're going to try to address what people are doing today, don't write a book, just put out a blog, write some web articles about it, do a video tutorial or something.\n\nBut we wanted to try to get at some of the underlying principles, things like, how do you think about managing data and metadata? Or how do you think about troubleshooting incidents for services that have AI, ML as a particularly important component of those interfaces and applications? And so to do that, you have to be a lot more generic and a lot more principled, which is hard, because you want to be concrete enough to be useful but not so concrete as to be useless in two weeks.\n\nI think that was what was hard. I think the reception was pretty good. But also, what's weird is it's been super steady. I would say, the number of times people have brought up the book in the last month is actually not dissimilar from this month last year, which is really surprising for a technical book.\n\n**STEVE MCGHEE:** That's cool.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** In very recent news, I wanted to tell you that yesterday, I spent much of the day, vibe coding for the first time in my life. And it is a phrase, so this phrase may not last in perpetuity as people discover this podcast 25 years from now. But--\n\n**TODD UNDERWOOD:** Indeed.\n\n**STEVE MCGHEE:** --I had an AI write code for me, and I just accepted whatever it said. I was like, yup, yup, yup, yup, yup, yup, yup. I didn't do any debugging. And all I did was, I write tests and now make the test pass. No, not like that. That was the level of my prompt engineering. It wasn't very smart. It was just like, hey, man, come on. And it worked. It was pretty cool.\n\nSome of which was like production-ey things-- it wasn't real production, of course, but it was like, make this so I can run it on a cloud, and like, make it so that it is debuggable and add logging, and like, blah, blah, blah, blah, blah, words like that. So this is a ruse to get us to talk about using AI in production, because that's the real topic of today.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** So how do people actually use ML AI in their day job if they're SREs, if they're people who listen to this podcast today? In your opinion, so far, today, as you've seen it, actually be good.\n\n**TODD UNDERWOOD:** Do you mean like, what is the current state of affairs?\n\n**STEVE MCGHEE:** Yeah. Current. Today. Yeah.\n\n**TODD UNDERWOOD:** So that's tough. So let's think about from minus five years until plus 100 years from this moment. So within the minus five years to this moment, we have all been on the receiving end of this huge amount of hype of like, oh, AI is going to do everything for you. This goes back to a bunch of AI startups that were doing a thing that I haven't heard people use the term as much recently, but AIOps, which is the idea of using AI in production. That was around.\n\n**STEVE MCGHEE:** That was still around, for sure.\n\n**TODD UNDERWOOD:** OK. So that's still around. You would know better than I would. So people started trying to sell that for anomaly detection, for automatic configuration management, for dashboard creation and curation, for metric selection, for all this stuff, for config authoring.\n\nAnd let's be honest, like most of it hasn't worked very well. It does really well on demos, but then you go to use it on a real code base, and it's like, I don't really know what's happening here. Maybe you could do a bunch of work to make your code base, just like what I was expecting. And then I will save you time. And it's a trap.\n\nSo that's where we have been until now. 100 years from now, I think we all agree that computers are going to do most of this for themselves and for us. We're not going to need them. So somewhere between the moment that we're at and 100 years from now, things are going to change a lot.\n\nSo I've seen some limited stuff that's starting to work, and it's mostly stuff that's super adjacent to software engineering, as you say, Steve. So can you write Terraform for me? Yeah, that stuff can write Terraform. Can you produce a Helm chart? Yes. Can you help me troubleshoot this particular Kubernetes command that's not working with-- yes, they can do that.\n\nBut then later, when you say, hey, could you specify and architect a series of redundant services spread across three locations with 20,000 nodes in one location and 2,000 nodes in each of two other locations, and describe that, which is super normal for a human. You're like, hey. And they would think about it. No, they're not there yet. So somewhere between, do some Kubernetes for me and build the service, that's the gap that we're in.\n\n**STEVE MCGHEE:** Make it so it's good? Yeah, that's hard.\n\n**TODD UNDERWOOD:** Make it so it's good. Well, in thinking about tests, this is the thing I have to say, a little side note. This is the thing I find most human about the coding. If you tell an AI system to make something pass the test, the most common thing it will often do is change the test to be passing.\n\nAnd I'll be honest with you, a lot of us feel like that as well. And a lot of software engineers do that too. You're like, what is the fastest way to get this code to pass those tests? The answer is, have the test return true. That's the fastest way.\n\nAnd lots of us do that. And honestly, if you told a very junior developer who wasn't really familiar with test-driven development, they would do it too, because they're like, this thing says no, but if it said yes, then the next step would happen. Make it say yes. Oh, look, I can do that. It's even less code.\n\n**MATT SIEGLER:** All right. You took a wide spectrum of discussion through like where AI applicability from down to the ultra-tactical working test munging, and code, and up at the super strategic, doing big plans, doing forecasting.\n\nWhere are you seeing actual leverage happening now? Where are people finding, oh, this is really useful. I'm able to do this. I'm not toiling because this machine is doing the work, so I can do some more of the thinking. Where's this happening now? Not 100 years from now, not five years ago, where it was garbage. Where are we actually seeing some progress that's safe, that the risks are worthwhile, that everyday, people can actually do things?\n\n**TODD UNDERWOOD:** I think we're still in the very early stages of that. So we're in the messy middle, but we're at the beginning of the messy middle. And what I mean by that is, before we had these kinds of computer systems, people like us, we wrote the config for ourselves, and people like us, as coworkers, reviewed each other's configs. That's how we did it back in the dawn of time. And then--\n\n**STEVE MCGHEE:** Last year, yeah.\n\n**TODD UNDERWOOD:** Yeah. Last year. Conf T! But at some point in the distant future, humans will not be involved at all. And that will be a very different world, where the computers talk to the computers and the representations of what they do, and also, what they need to be good at, is very different.\n\nIn the middle, the computers need to be able to help us. And that's where we are right now. So what I see right now are very beginning stages of people using computers to help them with production, not very sophisticated.\n\nCases that are incredibly controversial, and don't work at all, and might never work, or will not work with our current approaches, are anomaly detection. That's the thing most of us want is anomaly detection. I don't think we're going to get that anytime soon.\n\n**STEVE MCGHEE:** Nontrivial anomaly detection.\n\n**TODD UNDERWOOD:** Yeah, I mean--\n\n**STEVE MCGHEE:** We already get the basic, like, ‘eh well, maybe’, kind of stuff.\n\n**TODD UNDERWOOD:** That's right. But then those are either huge false positives or huge false negatives. They're like, oh, that thing spiked. Well, it spiked because it's the beginning of the working day.\n\n**STEVE MCGHEE:** Yeah, it's important to point out. There already is anomaly detection, it just sucks. It's in many products today. It just sucks.\n\n**TODD UNDERWOOD:** Yeah. Well, because Matt did say, reliable.\n\n**MATT SIEGLER:** Yes. Yes. Yes.\n\n**STEVE MCGHEE:** Yeah, fair. OK.\n\n**TODD UNDERWOOD:** So I don't think the anomaly detection stuff is very useful. I do think there's a couple use cases that I've seen that are pretty good. Steve Ross and I wrote a paper a number of years ago that pointed out that the cases where people are using these systems, where it works, we don't even think about. So let's talk about autoscaling with your current employer.\n\nAutoscaling has been ML-driven at Google for a long time. And you don't even think about it. And you're like, well, yeah, that's right. It is just because they had some simple model of a low watermark, bump things up, high watermark, bump things down.\n\nAnd then they were like, oh, well, what if we do some diurnal prediction? What if we store a time series? And what if I say like, hey, I think, in 26 minutes, you need twice as many instances of your job spun up? And they just get ready to do that because spinning up instances is not instantaneous. That was a good little pun to that.\n\n**STEVE MCGHEE:** Got it.\n\n**TODD UNDERWOOD:** Yeah. So things like that already exist. In terms of the work that people do out in the real world, the only stuff I've seen that is pretty much working is things related to first draft configs and first draft designs.\n\nAnd also, there's a little bit like, I got paged, what do you think I should look at? Those things, where there is something that is useful but is not left to its own device. It's going through a human. So in that case, Matt, I alert you, you're on call for some service, and you get an alert.\n\nAnd if you're not great at the service or you're not super experienced, which happens to us all from time to time, it's pretty great to go into a page and say like, hey, I got a page and have the model say, like, I'm not really too sure, but I think you should look at one of these five graphs. I've got five graphs. I think you should look at those.\n\nAnd if three of them are useless and unrelated to what you want to look at, but two of them really help you understand what's happening and how to fix it, that's pretty great.\n\n**STEVE MCGHEE:** Yeah.\n\n**TODD UNDERWOOD:** The last thing that I've seen is super boring. I talked about this last year, but what's actually really interesting is the replacement of interfaces to technical documentation. OpenAI had this where, instead of saying like, let me search a set of web pages, you instead interact with an AI system that has access to the full set of technical documentation, which means you can explain, expand, and correlate.\n\nYou can say, I don't understand how this system works and say, well, this is a system that does that, and it relies on that. So the interface to that is much, much better. Tell me all the things that control access to files stored in my blob store.\n\nThat's not an easy question to ask of your documentation. That's not a web search kind of a question. That's an AI system, kind of a question. But if you have a huge amount of documentation, and you ask it, most of the good AI systems will answer that question for you.\n\n**STEVE MCGHEE:** So this sounds a lot like toil reduction through this type of technology, as well as freshness of understanding. I don't know. There's probably a better phrase for this, but being able to know less about what was written down the last time we wrote things down and more about the state of the system via many sources, potentially.\n\n**TODD UNDERWOOD:** I think that. And I think that in the human augmentation piece of this, all of the systems, where you can put a series of documents into a project and look through that project, so like NotebookLM at Google, Anthropic projects, both of these are like, hey, link to these documents, either by uploading the documents, or linking to your Google Drive, or whatever. And like, now, I just want to talk to the documents, I want to ask questions about them.\n\nAnd so cool examples I've seen. I mean, this is going to be boring from a production engineering point of view, but I'm a manager. And one cool example I heard was, put all your one on one docs into a project. And then you can ask questions about your one on one docs in aggregate. You're like, who is really struggling? Or who has had some interesting questions? Or who have I met with least in the last three months?\n\nYou could get these things from other places, but you can put your team doc meetings in there or your incident review docs in there and say, what were the most contentious incident reviews in the last six months? And you're like, you can figure that out, but being able to zone in on like, hey, here's three that had a large number of comments, a large number of discussion on the comments, failure to resolve on what the follow up items were.\n\nAll of these are in this bucket of helping humans be more useful, human augmentation. None of these are the, oh, and then the computers just go away and do it right. We're not at that point yet.\n\n**MATT SIEGLER:** This really brings something that is top to mind for some people is trust and safety is knowing that what's coming out of the other side of these decisions is not missing what's important but also not suggesting something that's potentially problematic. What's in your head about this right now?\n\n**TODD UNDERWOOD:** I think, the main thing that I've been enjoying with some of these systems that are based on either web documents or stored documents in a product are citations. So don't tell me like, this is a thing. Tell me why you think that's the thing, so that I can build trust.\n\nThat works with humans as well. Somebody tells me, hey, the weather's going to be terrible tomorrow. I'm like, I didn't know that. Why is the weather going-- why do you think that? That's perfectly normal. Where did you get that information? Because I want to have access to that information and understand it better.\n\nThat's a normal thing to do to another human being. It's also a completely normal thing as you're trying to build trust in an AI. Don't give me a number. I mean, sure, give me a number, that's fine, or give me a set of numbers, but also, tell me, where did you get that information so that--\n\n**STEVE MCGHEE:** Citation needed.\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** For sure.\n\n**TODD UNDERWOOD:** Citation needed. And the systems like Anthropic projects or NotebookLM where you're working with a series of documents, having deep links into the document. They're like, look at this table, or look at this paragraph, or look at these three things. That's why I think that this is important, or this is wrong, or this is interesting, or this trend exists.\n\n**MATT SIEGLER:** I like that answer. Also, at Google, clearly, we've been trying to get people to dig into, not just here's the answer, also go look at where we got it for you with authoritative information. I think what you just said was, this is a citation. This is where we think that came from. How do we get people to want those kinds of answers, not just, here's a summary of the answer?\n\nThis is the credibility of that answer. Go look and read for yourself. Go make a judgment, not just take this answer as it is, because I see people just taking the output of that, digesting and going oh, that's the answer I'm ready to go, but I don't think we want people doing that. How do you suggest we have a literate way of interacting with these machines?\n\n**TODD UNDERWOOD:** I mean, I'm not an expert in-- worse than that, long ago, I discovered, I don't really understand other people all that well. So that's fine. So I don't know how you get anyone to do anything. What I do think is that when I think about the way I use, for example, search, I think there's some different use cases.\n\nOne of the use cases is like, is Cedar Rapids the capital of Minnesota? No. No, it's not. OK. What is the capital of Minnesota? Tell me about St. Paul. Fine. OK. So I just wanted to know a fact.\n\nThe other question is like, how are capitals of US states selected? Or why was the border between Canada and the US picked to be 45th parallel? Why did that make sense? That's not a one fact answer. I want to do some reading, but I also want to look at citations about the reading.\n\nSo I think, as we move away from just simple answers into more complex stuff, I do think more and more people will be interested in the summaries and the links about more of the summaries. But I think there is a UX issue there, where early versions of Perplexity, for example, and some of the other search engines didn't really-- some of the other AI search engines, I mean, sorry, did not really highlight the sources that well. And that's not great, right? Because you really want to be like, hey, I think this, link, link, link. I think this, link, link, summary from these links, and then also have a table of citations at the bottom. That's a weird UX, but I think those are the important things.\n\n**STEVE MCGHEE:** So just focusing on your position today, so you’re the reliability czar will say, no, you probably have a real title. You're a reliability dude at a place.\n\n**TODD UNDERWOOD:** Yes.\n\n**STEVE MCGHEE:** Does quality fall under your purview? Do you care about this stuff? And if so, this is where hallucinations come in. So someone asks about the land dispute between these two borders.\n\nA hallucination can totally slip in there. Do we know? Do you know? Does wearing your reliability hat at a company that does this stuff? Is there a way to get a graph to be like, wasn't great?\n\nSomeone said this was wrong, or we think maybe, the model was being weird. Does it just happen? And we're like, I don't know, tough. Or is there a way to make this better over time? How do you come across this type of quality issue? Like it's up, but it's weird.\n\n**TODD UNDERWOOD:** So it's funny. You stepped into my trap, Steve. I've given a number of public--\n\n**STEVE MCGHEE:** I thought you stepped into my trap, but here we are at an impasse.\n\n**TODD UNDERWOOD:** I've given a number of presentations arguing that end to end model quality is the only SLO that people working on reliability for ML systems can have. And I think it's easier, hallucination kind of stuff is interesting, and some of the subtle cases are interesting. But let's just talk about a payment fraud system.\n\nIf the payment fraud system is running, and the model is fresh, and the model just says, yes, every transaction is fraud, the system is not running. You are no longer accepting any payments. It's not an interesting case. The model just thinks that everything's a fraud. OK. Is that OK?\n\n**STEVE MCGHEE:** Might as well be down.\n\n**TODD UNDERWOOD:** Right? Might as well be down. Right. And so I think, similarly, if you're Amazon, and the recommendation systems recommends a kitty litter robot to everyone, regardless of what they're purchasing, Amazon's losing tens or hundreds of millions of dollars until they fix that recommendation, because, I'm not saying no one would buy it, but I don't have a cat, so I'm not buying a kitty litter robot.\n\nAnd so that's the first thing I would say. And then the second thing is, even in the modern systems, one of the most common intersections or one of the most obvious intersections between model behavior and reliability is like the trust and safety checking.\n\nLike at Anthropic, we care desperately that the models are safe, that the models are helpful, and that the models don't let you do bad things. We published this whole responsible scaling policy about what we're going to prevent the models from helping people to do. We don't want the models to help people carry out acts of terrorism.\n\nSo for example, you want a model that understands chemistry and biology, but you don't want a model that helps you make bioweapons that will kill people. So that's tough, because some of that's just chemistry and biology. So that's a tough line.\n\nSo even after you test the models, the nefarious people, sometimes, researchers are trying to get the models to produce harmful content. And there's some live checking that goes on. If that live checking is bad, it can just disable all of the sessions, be like, nope, nope, nope, nope.\n\n**STEVE MCGHEE:** You still want people to be able to make real fertilizer, not fertilizer for bad things. Yeah.\n\n**TODD UNDERWOOD:** That's right. That's right. Yeah. For example, it's completely reasonable for somebody who's got a farm to be like, I am sick of paying for-- is there anything I can do to not have to pay for this stuff? Yes. But also, yes, there are bad uses for similar chemical compounds.\n\nAnd so I think that's what's interesting is that-- so what I would say is that there's a tendency for SREs who work on the stuff to be like model quality, not my problem. Well, literally, the only reason you're running this system is because the model does something. If the model didn't do something, you wouldn't be asking it questions in the middle of whatever you're doing, whether it's targeting ads, fixing spelling, correcting grammar, having a conversation, identifying fraud.\n\nThe model does that thing. So given that it does that thing, if it stops doing that thing, then you don't actually have a service anymore. It's a complex issue, though. And I find it interesting, because obviously, if I'm running a model, I didn't make the model. But I think there's some good patterns on how to do that.\n\nSo one of the simplest patterns is, if the model is brand new, and nobody's ever used it, and it's terrible, and Matt, you launched it, you launched a bad model, you take it back. It's all your fault. I'm not going to help you.\n\nIf the model's been working fine for two weeks, four weeks, and nobody's touched it, and all of a sudden, it's garbage but so are five other models, that's probably my fault, not Matt's fault. It's probably not that all five models went bad at once. So you can do some really simple correlation to try to figure out, is this an ML problem that is particular to the design of the model, of the training of the model, or is this some kind of a systems problem?\n\n**STEVE MCGHEE:** Yeah. Life is systems, man, for sure.\n\n**MATT SIEGLER:** This makes me think about a core principle, which is an SRE principle of making conscious decisions between product velocity and product reliability. And I want to hear your thoughts on where you see industry-wide AI product releases coming in terms of reliability versus velocity right now, because these releases are coming hard and fast. And they're coming hard and fast because the discoveries are coming hard and fast, and the models are coming out really quickly.\n\nWhat is your stance? What are you seeing right now? Where are we in this pendulum between things coming out faster and things coming out better? And what are we to do?\n\n**TODD UNDERWOOD:** I think it's been an interesting question. What's funny is, that question, I dealt with when I was working on the Google Cloud AI team back in, I don't know, 2022, or 2021, or something. This is a long-term question, long-term for our industry.\n\n**STEVE MCGHEE:** Ones of years ago. Yes.\n\n**TODD UNDERWOOD: [CHUCKLES]** Ones of years ago. Yes. But I think that the right way to reframe this, the way we often do in reliability circles, let's think about the end users and their preferences and just say like, hey, I got a new thing, or I can spend time making the existing thing better. What do you want?\n\nAnd right now, the market says, hey, I just want the new thing. I just want the new thing, mostly. I think, there are some cases where that's not the case, but the feedback I've heard from most users is, similarly, you can often trade reliability for capacity, as well as you can trade reliability for velocity. You can be like, well, I can run the service hotter, but it's going to break more often. That's another common thing.\n\nAnd most users will be like, yeah, yeah, I'll take that. I'll take it. I would like twice as much quota at 1 and 1/2 or 2 fewer nines of reliability. I'm like, really? Right now, a lot of users are saying yes to that. I think that the key question, the same way that cloud was like a toy until it wasn't, cloud was just kind of a thing people played with and put some stuff in, until you turned around and looked, and 20% or 30% of all the 911 services in the country were running on somebody's cloud.\n\nYou're like, oh, OK, so not a toy, need to be very thoughtful about how we do this stuff. I think we're going to get to the same thing with the public AI systems. But I still don't think we are. I think users want a better model.\n\n**STEVE MCGHEE:** If we're doing this really quick, because this is what the market is asking for, and this is what we can deliver, and like, OK, sure, market, you say so. What if we're wrong? What's the backup plan? What if it goes too fast?\n\nThe worry that I have, and this is pretty philosophical, is that this is a highly-leverageable technology. We can get it to the hands of literally billions of people. And if it's goofy, or weird, or wrong, it can have drastic effects real fast. And it can have a lot of them, potentially, especially in the, not this year but next several years mode, presuming that we're right about that.\n\nAre there thoughts about that that you're aware of within the industry, within things that you work on in terms of, if it's bad, what do we do? Is there a roll it back big red button in the meta sense, I guess.\n\n**TODD UNDERWOOD:** I mean, I think, when Matt was talking about this, I was thinking about reliability in the, like, the model's fine, but it's not working right. The inferences are not returning. I think, in terms of launching new models, one of the things that Anthropic is particularly opinionated about is being very careful and thoughtful of that.\n\nSo I think it's a great framework, this responsible scaling policy. And the responsible scaling policy just says, if you have a model that can do these things, then you need security controls that can do these things. It's very explicit.\n\nAnd before I started at Anthropic, I thought like, oh, this is the kind of thing that security orgs do to market themselves. When I got to Anthropic, I asked Jason Clinton, who is the chief information security officer, I was like, hey, how does security work here? He's like, well, I mean, we describe it publicly, and the responsible scaling policy, that's just what we do.\n\nEvery time we have a model, we decide how capable the model is, and then we implement the controls that are of that capability. And so that's what we have now. And we're trying to encourage other organizations to do similar sorts of thinking. Because I think you're right, the ways that humans use these things are many and varied. It's exciting, it's wonderful, but the potential for harm is pretty significant as well. I don't know if you all have read all these stories and talked to friends who are like, oh, yeah, I use ChatGPT as a therapist. Really? The models, they're not suited to that, not that they couldn't be. I can imagine a model being a fantastic therapist, but I'm not aware of any data that says that we have models that are good at that and safe to do that right now, because that's tricky.\n\nSo what I would say is like, yeah, everyone-- like, Anthropic is super careful about model releases for these reasons. And we're hoping to pressure the rest of the industry into being careful about it as well.\n\n**STEVE MCGHEE:** In my experience, and I think yours, because we worked together at the same place for a long time, like SRE, historically, or at least, yeah, I would say, SRE, in general, has been at this weird intersection, where we're like the ‘fight for the user’ group, where we would say like, no, we shouldn't do the thing. Even though some team was like, this feature is going to be great, we would hold this sign saying like, no, it's actually not good. Do you think that SRE in the future, the current, is in a similar position to be able to say like, yeah, but not cool? This isn't going to work for the following reasons. Or is it like, are we still in that position, where we're looking at the holistic picture, where maybe, other people at the company are not?\n\nAnd is this a bad idea to try to do this? Or is this actually an honorable thing to try to do at these types of companies?\n\n**TODD UNDERWOOD:** And the origin behind that was always going back to early days sysadmins, who are like, I have access to all the secret data. And I take that responsibility super seriously. A lot of sysadmins I know are as ethical as the physicians I know about private data. Of course, I know what you do on your computer. And of course, I would never let anybody know that without appropriate permission, et cetera, et cetera.\n\nI think that the difference here is that the worrisome capabilities are much more subtle. They're not like, I'm going to expose your credit card information online, or I'm going to give somebody access to your bank account. They're, I'm going to launch a model that is weird and dangerous for a very small subset of people under this very odd circumstance.\n\nAnd so I guess, what I'm getting to is, one of the things I really like about my current employer is that the whole company is organized around trying to prevent this. And I think it needs that, because you need sophisticated researchers. You need a trust and safety team that understands those. You need red teaming. You need people publishing about that stuff.\n\nThere was one of my coworkers, who, until recently, was here in Pittsburgh, did a whole paper of like, hey, I used one of our models to do end to end network penetration. It worked. And so I figured out how it worked. And it was really easy and easy to do on everybody else's models too. And I was like, can you publish that? He's like, yeah, it was so easy. I'm sure other people are already doing it. We publish it so that people can see how this is done.\n\nSo this is my point is, that took a PhD researcher four weeks, which is a small amount of time, but also not something an SRE is going to do on a Tuesday before their call shift starts at noon. So it takes more work.\n\n**MATT SIEGLER:** Tell us a story, an anecdote, something that really surprised you, something either adjacent or outside your field since changing companies, you meet new people, new scenarios, something you've learned since changing that really took you by surprise.\n\n**TODD UNDERWOOD:** I will say, here, speaking directly to us, as the audience, and what I believe is your audience. Most of us we’re pretty skeptical about these technologies. We're like, oh, they're OK. They fail a lot. I don't know. I don't really trust them. I'm not sure.\n\nAlso, AI is just a bubble. Also, these are just glorified zip. It's just some glorified compression. LLMs are not-- I'm like, OK, I think those are widely-held beliefs. And when I was at OpenAI, it was difficult to disprove those because OpenAI is such a consumer-oriented company.\n\nConsumers are very susceptible. We love us a fad. We just love whatever other people are doing, especially like nerd land, where if three other technical people are doing a thing, I just have to do that thing.\n\n**STEVE MCGHEE:** I'll take two. Yeah.\n\n**TODD UNDERWOOD:** Take two. Right. Then I came to my current employer, who really sells mostly to businesses. And it's not that businesses are not susceptible to fads, but all of them are doing proof of concepts-- proofs of concept. That's better. And they're buying a lot.\n\nAnd so I think, what surprised me is how much of a real market for these services there is and how diverse it is. Clearly, the coding use case has caught wildfire. People love this for coding. It's very concrete. It's super economically valuable.\n\nThe price points are right. It's going to change our whole industry. And we can all already see it. That one has appeared, basically, out of nowhere in the last two years, where, when GitHub launched Copilot, I think a lot of us were like, cute story, but it's not that useful, in part, because the models weren't quite good enough yet. It was a good UI, but the models weren't good enough. But now, Steve, you're vibe coding, and it's working, that's wild, but also for marketing.\n\nAnd also, for marketing, like product marketing, someone was describing to me how one of their products is, somebody writes a strategic product brief and outcomes, the marketing segmentation plan, the advertising plan, the manufacturing plan, what ingredients they should or should not use, proposed names, blah, blah, blah. And I'm like, oh, is that good?\n\nAnd they're like, yeah, we have currently between 112 and 120 people doing that to each product. And if you can do that, those people could go do something else. And it doesn't do it all by itself. But anyway, my point is, the thing that I have seen that has surprised me the most is the volume, the intensity, and the diversity of real, economically valuable use cases that already exist in these models that are far from where they're going to be in the near future, so that stuff.\n\n**STEVE MCGHEE:** Nice.\n\n**TODD UNDERWOOD:** I think, the reasoning stuff, the little subpoint, the reasoning technology that has appeared recently is fascinating. I don't know if either of you watched ClaudePlaysPokemon. That is mesmerizing. It is mesmerizing.\n\nSo basically, they just turn Claude with reasoning turned on at Pokemon, and they say go. And it gives it an interface and so it can parse the screen and be like, what do I see? I think I'm in a room. What can I do? Are there any buttons I can press? I will press this button. That didn't do anything. Should I press another button?\n\nIt's wild. And you're like, what is happening here? And they can chart how far each model has ever gotten playing Pokemon, but it shows you this naive potential of what agents-- this is a very primitive environment. It's a very constrained environment. It's old school Pokemon. But it shows you the potential of what agents might be able to do.\n\nSo I would love to have an agent, to be able to have an AI agent and say, hey, book us a vacation next spring, and just like, have it know who we, us, vacation, spring, note what those things mean, and come back to either no clarifying questions or a couple, and like, hey, I got you, and your kids, and your partner plane tickets, hotel, activities booked. I actually replaced your luggage because I know that you've broken it down over the last 15 years, and you need a new roller bag.\n\nSo I got that on the way, and you're good to go and be like, wow. You can imagine that. We're not there yet. But I don't know how far off we are from that. And so that's going to be exciting as well.\n\n**STEVE MCGHEE:** I hate to be bad cop here, Todd, but there's quite a lot of hope in your voice. And I recall hope being a phrase in SRE land, something we're not supposed to do too much.\n\n**TODD UNDERWOOD:** It's weird. So people who think a lot about AI harms are some of the people who are most optimistic about AI benefits. And the analogy I'll give you is homeopathy.\n\nNo one worries that a homeopathic medicine will cause you harm, because it doesn't do anything. And since it doesn't do anything, it can't hurt you. It's just water, right?\n\n**STEVE MCGHEE:** Just go for it.\n\n**TODD UNDERWOOD:** Just go for it. I mean, you can overdose on water, but there's got to be many, many liters, right?\n\n**STEVE MCGHEE:** Right.\n\n**TODD UNDERWOOD:** With the AI, it's the same thing. If you think these things are incapable and aren't getting much better very quickly, then you don't need to worry about the harms because they're not any good. And so that's one camp of people.\n\nThere's another camp of people who are concerned about the human transition to these technologies, what the machines are capable of, what some of the harms might be during that transition and after. But those are the people who are seeing the improvement curves and saying like, it's hard in the ever present now for us to take this seriously, but cast your mind back 18 months ago. What could the models do? Cast your mind back 36 months ago. What could the models do? What do the models do today?\n\nEven if you just look at the model launches that were in October of last year and the Gemini 2.5 and the Sonnet 3.7 launches, and you only think about coding. You're like, you know what writes really good code is Sonnet 3.7. And what writes really good code as of last week is the new Gemini launch. Those write really good code, and they didn't four months ago.\n\nSo I don't know what happens in 4 more months, and I don't know what happens in 12 more months, but there has been no plateau to the improvement. And therefore, I think, A, it's appropriate to be optimistic because you're looking at a curve, and you're seeing where it goes. But then B, it's also appropriate to be thoughtful and cautious, and say, OK, what are we going to do to make sure that this doesn't hurt people, this doesn't hurt societies, it doesn't hurt economies, it doesn't hurt the world? All right.\n\n**MATT SIEGLER:** All right. I got a hard hitting one for you, Todd.\n\n**TODD UNDERWOOD:** All right.\n\n**MATT SIEGLER:** Some of our audience is listening, and some are also watching. Some of those who are watching only see the top of your shirt. Explain your shirt. Describe it out loud, and then describe the whole thing. What does it say?\n\n**TODD UNDERWOOD:** Yeah. So the shirt has two goofy SRE logos, a dragon and a unicorn. The dragon is the original Google SRE logo. And the unicorn is the SRE EDU-- how do you say it?\n\n**MATT SIEGLER:** Mascot.\n\n**TODD UNDERWOOD:** Mascot. Thank you. I was like, mascot, that means pet, but we don't call it that anyway. I got stuck in the middle there. So the shirt says traitor and a scoundrel. And it's got a box filled in-- what kind of SRE are you a traitor and a scoundrel to? And I am a traitor to ML SRE as of 2023.\n\n**STEVE MCGHEE:** So what had happened there? Why did we--\n\n**TODD UNDERWOOD:** That's when I left. And I think, when people would leave my teams when I was a manager at Google, I would always call them a traitor and a scoundrel, because I love that people would go do stuff. I thought it was great. In any good technical environment, people go try stuff.\n\nAnd then if they think your team is great, then they come back to something else, maybe, for a different reason. And that's healthy, and that's good. And so I was joking around with people. And then I worked with Skye Wilson. And we had the shirts made up, she designed it, and just actually started giving them to people, writing in like, I am a traitor to you.\n\nI have one that says ML SRE because I founded Machine Learning SRE at Google. I have one that says Pittsburgh SRE because I used to be the Pitt SRE site lead, and ultimately, the Pitt site lead. So yeah, I really enjoy those. And I think it's a nice marker of where you've been.\n\n**STEVE MCGHEE:** Yeah. I have another hard-hitting question, Todd. Now is your opportunity. You can do this if you want.\n\n**TODD UNDERWOOD:** OK.\n\n**STEVE MCGHEE:** Would you like to be like Niall and tear up your own book live on camera?\n\n**TODD UNDERWOOD:** No.\n\n**STEVE MCGHEE:** No. But if you were to, if you were to write another book, magically, it just happened, how would you change what you guys wrote about? What would be radically different? What are the diffs? What's the addendum that you would like to exist without actually doing the work of making it exist?\n\n**MATT SIEGLER:** What do they call this, a fast follow or maybe just an errata?\n\n**TODD UNDERWOOD:** Yeah.\n\n**STEVE MCGHEE:** Yeah, that one.\n\n**TODD UNDERWOOD:** Your experience with vibe coding, Steve, is where a lot of us are. And I think that getting the timing would be difficult. But what I would probably do is start-- no, but don't let me talk myself into that. If anybody's listening--\n\n**STEVE MCGHEE:** This was not a trick. You're tricking yourself here. This is not--\n\n**TODD UNDERWOOD:** Anyone is listening from O'Reilly, I am not writing another book. But if I were to, I would spend this next 6 to 12 months watching that transition and trying to plot out, what is our work like in a year to five years? Which is hard to do.\n\nBut I would say, what are the domains of expertise? How does testing and rollout work? Think about rollout. Most places don't have something like a canary analysis server or something that-- but most people have primitive smoke tests.\n\nBut what you really want is to ask a model like, I rolled out a thing. Does it work? Is it good? It'd be amazing to be able to say, I have some sense of what work and good mean. I think there's going to be a bunch of stuff like that. And so what I'd like to do is try to help understand what is going to be the technical work that we will have in the future, where instead of doing all of this, we direct the work of all of this.\n\nIn the same way, it used to be like you wrote code by hand with your fingers in an Emacs or VI window, like God intended. And now, you just say like, hey, could you unroll this loop?\n\nNow, you know what unroll and what loop means, but you don't have to unroll the loop, it just unrolls the loop for you, or it makes the UI for you, and it plumbs them into your methods. So I think, that's what I would try to do is, I would try to say, what is it like to do technical work in a world where the execution becomes less and less important but the architecture, and the purpose, and the design are still important? Because I think that's where we'll be for a while.\n\nNow, eventually, we will be past that, but I just don't know how quickly that will be. So that would be the book. It would be like, how do you direct the technical execution of a production engineering environment whose execution is managed by computers?\n\n**STEVE MCGHEE:** Well, thank you, Todd. That was awesome. Thank you for your time. Is there anything else that you want to talk about that we didn't hit? Did you have a big gotcha that you wanted to just drop on the world?\n\n**TODD UNDERWOOD:** You guys are covering great stuff. It's fascinating. One thing I will recommend people go look at the closing keynote of SREcon, which should be out on video by the time you guys launch this, because it's Charity Majors, Honeycomb, who has been notably AI-cranky, AI-skeptic, who is now AI-bargaining, so interesting transition there.\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** We should include those in the show notes.\n\n**TODD UNDERWOOD:** Sure.\n\n**STEVE MCGHEE:** Yeah, will do.\n\n**TODD UNDERWOOD:** Thank you.\n\n**STEVE MCGHEE:** Thank you, Todd. It's been great. Nice to see you.\n\n**TODD UNDERWOOD:** Good to see you.\n\n**STEVE MCGHEE:** Until next time.\n\n**TODD UNDERWOOD:** Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 47804, "slov": 8755, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:53", "sha256": "ad3bae12b569fb0f7889c3f63f60e9b20d14a1f36c323e14212675a5170f8fb2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04", "titulek": "The One With the Future of SRE and Matt Zelesko", "h1": "The One With the Future of SRE and Matt Zelesko", "popis": "Matt Zelesko, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04"}, "headline": "The One With the Future of SRE and Matt Zelesko", "description": "Matt Zelesko, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.", "image": "https://kstatic.googleusercontent.com/files/4131797dfef113c6842e32837875fdaaceb7849ea957fae7a123d1b244efd40f073de50e5bf763ea10ef5453f59b88aceb3d7cbca298e25c7182e0f6e3fdc6ea", "author": [{"@type": "Person", "name": "Matt Zelesko"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With the Future of SRE and Matt Zelesko"}], "markdown": "# The One With the Future of SRE and Matt Zelesko\n\n**Matt Zelesko**, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**JORDAN GREENBERG:** Hello, and welcome to the Prodcast, the podcast on site reliability engineering. My name is Jordan. I'm joined with my co-host.\n\n**MATT SIEGLER:** This is Matt Siegler.\n\n**JORDAN GREENBERG:** Awesome. Today we have somebody who's pretty cool, in my opinion. And we actually had overlap during my time as an SRE in the production engineering team. For our listeners at home, can you tell us who you are, about a bit of your background, and how you landed here?\n\n**MATT ZELESKO:** Yeah. Thank you, Jordan and Matt. Thanks so much for having me on the show. My name is Matt Zelesko, and I lead SRE. I've been here at Google for about three years, a little bit over. And it's just been a really wild journey, an incredibly rewarding journey as well to see both SRE at Google, the place it was invented, but also to see all of the things that are going to change about SRE and will evolve as we see the industry and the technology landscape evolving around us.\n\n**JORDAN GREENBERG:** Amazing! Can you tell us what made you want to be in engineering in general in the first place?\n\n**MATT ZELESKO:** Oh, we're going to have to go way back for that one. This one goes-- unlike a lot of people, I almost always knew what I wanted to do. So the moment that I got in front of a computer-- I think it was middle school. We actually had one computer in middle school, a TRS 80. I'm trying to remember whether it was a model 2 or a model 3. I think we started with a model 2 and went to a model 3 eventually.\n\nBut from the moment that I started interacting with that computer and seeing what I could make it do and learning about it, I pretty much knew that computer science was my path. So this was not a, “I had to do a whole bunch of soul searching and understand myself.” This spoke to me almost immediately. And then I pursued that through undergrad. I got a computer science degree. I did a bunch of graduate work in computer science, and particularly large scale distributed systems. So I was always sort of in the computer science, large scale distributed system world. And it's hooked me ever since.\n\nI would say I've been in a bunch of different industries from networking to the intersection of media and technology, and now, of course, Google, which spans a broad set of products in its portfolio. But in each case, there's been a constant through line, which is large scale, complicated systems, challenging problems to solve. And in many of these cases also, a real, impactful delivery to customers and users. In other words, building products that users rely on and often rely on every single day. And I've found that to be really rewarding of how you can use technology to change people's lives. And how do you build products that are reliable enough that people can depend on them?\n\n**MATT SIEGLER:** Matt, take a step back. Just before you came into Google, I'm curious about your mindset-- what was going on just before SRE and then just after? I'd like to hear a little bit like at the edge of the inception of this concept, what were you not doing? And then what were we doing? And then what was the turnover of that experience for you and how did it change how we approached the problem?\n\nI think for some of us out there, we didn't know what it was like before this existed. And I think that would be a pretty interesting experience to, “what was the approach to this problem before we approached it the way we do now?” And then how did this change how the industry has approached it now? And what was going on? How did that feel? What was going on in people's minds and how has it changed us forever?\n\n**MATT ZELESKO:** Wow, that is a lot of questions. Let me see if I can tackle them one by one. So before I came to Google, I was the CTO at Comcast. Also a company building products that millions of people depend on every day. If I want to have a family meeting in my house, I turn off the Wi-Fi, and somehow everybody finds me. So these are crucial products in people's lives.\n\nAnd both at Comcast and other companies that I've been at, I've seen a variety of models to how you do production reliability. Some of them were models where you had a dedicated operations team separate from the development team. In many of the places, including parts of Comcast, there was also DevOps where the development team was also responsible for production reliability.\n\nBut I was seeing gaps in both of those models and was really interested in SRE and started, in fact, talking to Google about that, because I wanted to build SRE teams at Comcast. I was really intrigued by the idea. I thought that it had a lot of things to offer Comcast, and so I started talking to Google just about, how does SRE really work internally? How has it changed since the book? Those sorts of things. That got me so excited about SRE, I decided I wanted to be at the place where SRE was created, and also be at a place where the scale is so remarkably large that you need large SRE teams managing this planet-spanning production infrastructure.\n\n[05;41] So I was very excited about the work that was happening at Google and the ongoing thought leadership in SRE and said, rather than try and duplicate this somewhere else, maybe I have an opportunity to go and work in the place where it was born. And that was really, really exciting to me. I think we see companies adopting a bunch of these different models. And I think depending on where you are in terms of your product maturity, in terms of the type of innovation you're trying to do, and frankly, in terms of the scale of your infrastructure, different models may make sense.\n\nFor Google, the sheer scale of our infrastructure almost compels us to create models like SRE. And I think one of the superpowers of SRE that I've seen is this ability to look across system boundaries, to look across product boundaries. When you've got a production incident, you often have dependencies between those systems, dependencies between those products. And SRE knowledge spans those things and is really the team that is best suited to go solve that.\n\nIf the BigQuery development team has an issue that ultimately is networking underneath it, it's really hard for the BigQuery development team to debug that. But you call in SRE, and SRE has that horizontal knowledge across systems that help you really solve those problems. And to me, that is-- like I said, it's a superpower of SRE, and I don't see that replicated in many other models when you're at the scale that Google is operating.\n\n**JORDAN GREENBERG:** OK. So thinking about superpowers and how their role has changed, we can also think about what supports superheroes, and that is the tools that they use every day. So we've got monitoring. We've got alerting. We've got Gemini now. So how does the role change now that we have these tools that have been developed over time and hammered into shape? How do they push into incident response? How do they push into postmortem creation? How do they change how the role has developed over time?\n\n[08:05] **MATT ZELESKO:** Yeah. It's a great question, Jordan. You mentioned platform reliability infrastructure before, and those are the teams that are building some of those tools that you just mentioned. And so let me talk about those tools, and then I'll move over and talk a little bit about AI, because I think that deserves its own conversation. So as part of our reliability practice, SRE published a set of production principles. And not surprisingly, this set of principles includes things like making sure you've got actionable reliability data, that you do change management in a safe way, that you have thought about failure domains and fault isolation for your system, and that you really have a strong practice around data integrity as well.\n\nWe have this set of things that we believe any well-run production system needs to think about and is encoded in those production principles. And we've seen Google products, for example, YouTube, go through a multi-year journey to get everybody onto a common set of production tools for doing things. And as you said, Jordan, these are things like monitoring and observability, rollouts, incident management, et cetera.\n\nAnd that has had a really strong impact, both in terms of putting our investment into one set of tools instead of multiple sets of tools. But it has also really enabled us to drive much more adoption of these production principles, because we've made it easy to do so. And that's been a really important shift for SRE and for Google.\n\n**MATT SIEGLER:** And how is it feeling right now that we're moving really fast in some of the AI-related launches that we're doing? Where we're having to make decisions between go fast and go slow on making decisions about reliability and velocity, and the industry at large. Because I know those who are not at Google, who's just about everybody listening to us, are having to make these decisions for themselves, and we're having to be good stewards of our own products.\n\nAnd people out there are also trying to make these decisions about-- and these pendulum-swings all the way back and forth between “OK, we got to launch” or “no, we have to be cautious”. And we are internally always making those decisions, and we're making them very, very thoughtfully. What are you seeing right now and what are you seeing especially across companies, across-- you're talking to other leaders out there. They're having to make these decisions too. How are we thinking about this? Especially not just with the tooling, which I think informs people down on the ground, but also big thinkers, business decisions here, what are you seeing?\n\n**MATT ZELESKO:** Yeah. No, it's a great question. And you're absolutely right. The last two to three years in [12:00] AI has been a really high velocity. We understand that we're at this transitional moment in the industry and innovating as quickly as possible, whether that's at the model level, getting our new and latest frontier models out and available to the public, whether it is incorporating AI into every one of Google's products, whether it is launching the Gemini product itself, there's a lot of different ways in which we are trying to move faster than I would say Google has moved historically or has moved for a long time.\n\nI think it's helpful to ground ourselves in the original philosophy of SRE, which was we want to enable our partners to move as quickly as possible while still meeting their reliability goals. That has always been the core principle or mission, if you will, of SRE. And what we find is there are certain users who want to be on the leading edge of technology, and there are other users that really value reliability more than anything else, even if they don't have the latest and greatest. And so ultimately, the question is, what level of risk is the business willing to take or choosing to take? And SRE has the tools and experience to work with all sorts of different levels of risk versus velocity and to support our customers with whatever balance of velocity and reliability they need for their business. And so we've started offering tiers where you can turn the knob between “how close are you to the frontier of new models” versus “how reliable do you need this to be for the work that you're doing?” And I think expressing that sort of flexibility to our internal customers and our external customers has really changed that conversation as well.\n\n**JORDAN GREENBERG:** OK. So it seems like the manual that our superheroes need, the abilities that they need to develop needs to change to adapt to these new technologies we have and the new focuses we have on how this work is. So it seems like we need a new book. So can you tell us, do we need to write a new book? What are some of the ways that we should change what the role is defined as to take into account the way that this technology is coming in today and future proof the way of thinking so that SREs that are new or SREs that are working on the role can adapt, change, and grow?\n\n**MATT ZELESKO:** Yeah. So a couple of thoughts here. I think one is, we're coming up on-- I think maybe next year is the 10 year anniversary of the SRE book, if you can believe it. So there's a lot that has changed in 10 years. And maybe call out two really big transitions. The first one was the transition to Cloud. The number of companies that have shifted from on-prem to cloud-based systems, resources, relying on the Hyperscaler Cloud infrastructure. And Google is the same. We have shifted a lot of our systems and products to the Cloud infrastructure as well.\n\nAnd then the other one is, as we've danced around a few times here, AI and ML. And there's one element of that is, how do we enable the company to create great AI and ML products? The other one is, what is the impact of AI and ML on SRE? And I think we are really starting to understand the potential of AI. And it's a pretty exciting thing.\n\nI think there's a huge potential, and we've already seen some of that in the early work that we're doing, to really change and elevate the ways that SRE operates. And that's pretty exciting. I do think it is going-- we've had a lot of things over time that have changed the balance of how much time an SRE spends in operations versus how much they spend on reliability engineering and investing in tools and systems.\n\nAnd I think this is another shift along that spectrum. I'll make a very clear point here, that SRE will never get out of the operations business. I think that there is an incredibly valuable piece of living with the production infrastructure. That on-the-ground experience of operating the production infrastructure is something that really informs everything that we do as part of SRE, and I never want to get too far away from that.\n\nBut I think AI and ML re ally holds a lot of promise in terms of being that assistant that is going to make our jobs better, and it's going to actually make our customer outcomes better, too, because we'll detect incidents faster, we'll fix them faster, and hopefully, we'll fix them for good.\n\n**MATT SIEGLER:** This is a pretty-- I find this particular line of inquiry really fascinating. Operations as software, automation, I mean, we've been on this line for decades. It's not sitting around a friend and watching a button go red and then pushing the button. Trying to get a software to watch this for us, waking us up with a pager rather than watching the dial. And that's what we've been doing. That's our business.\n\nThen having a smart alerting, knowing when something is going south and then letting us know. We've been increasing that automation and our trust of that automation and being living happily aside that as SRE for quite some time. Now we're talking about insights and automating some of those insights and giving us evidence of those in the alerting, in the monitoring. We're about to see, I think, a step function in that, and I want to know if you have specific thoughts about that and how we're going to accommodate those increases, which are going to come, I think, pretty rapidly with the AI insights at a pace that we're not used to.\n\nBecause we've been doing that in a very gradual, thoughtful, curated way, and I think we're about to see them in an explosive-change way. How are we going to handle that and what are we going to do to accommodate that rate of change? And I think the upside is a fairly huge increase in accelerated ability to work, but I don't know how to do that. But we probably will have to. Thoughts?\n\n**MATT ZELESKO:** Yeah. I think this insight is really important, and it's something that I've been spending a lot of time thinking about, because I think you're going to see this step function in SRE, but in a whole lot of other things where AI is being applied. We're seeing things move at a pace that is much faster than we have historically. We often find ourselves trying out a model, and we go, OK, the model gets us this far, and so then we're going to have to have a team build these elements afterwards that'll get us all the way to the outcome that we're trying to achieve.\n\nAnd so we sent a team off, and they spent six months creating all of those pieces at the end that pick up where the model leaves off. And we get to the end of that six months, the team delivers it. We're like, awesome. This is great. We go back and try the latest frontier model, and it does all the stuff that we just spent six months investing in a team doing. And so we are not-- we need to get to a much better intuition and understanding about how fast this technology is moving, and then get ourselves in a mindset of constantly experimenting, constantly updating our assumptions-set around it.\n\nI agree that right now, we are using this at Google for software development and for software quality, and as I mentioned, also production management, production engineering. And we're seeing a lot of benefits. I would articulate a lot of those benefits as being this buddy next to the human. But you get a sense that we could get to a point where there are less things that require that human in the loop.\n\nI hesitate to predict how fast we get there. But again, a lot of that work tends to be manual work. It tends to be toily work. And so if we are eliminating that from the SRE diet in the favor of them doing much more interesting, engineering work and innovation, I think that's a great thing. We always talk about SREs automating themselves out of a job, they still have a job. And I still expect them to have a job in 10 years, because there is much harder work.\n\n**JORDAN GREENBERG:** Right. So in thinking about this, how it's allowing us to do the thinking, whereas some of the more manual tasks can be automated away. It also gives us the opportunity to improve our processes in conjunction with the technology that we have. So for example, better postmortems, better action items gathering from postmortems that we talk through and that we ruminate on as humans. Is there any other sort of improvement that's tangential but still necessary to improve the scope of SRE skills, process improvement, postmortem reviews, et cetera?\n\n**MATT ZELESKO:** Yeah. Continuous improvement is at the core of the culture of SRE. I continue to remind people that continuous improvement is incredibly important. Our culture of blameless postmortems, our ability to look at every single failure and go back and learn from it, understand that that learning is important, and then instituting things based on that learning is just core to everything we do.\n\nAnd that continuous improvement takes a lot of forms outside of just incident management, which I think is what you were calling out. There's a lot of work we do ahead of time. And things like production readiness reviews. The healthiest SRE engagements with our partners means we are they're really at the start of system design. And we are talking about reliability incredibly early in the development process. And I think there's a lot of stages there that could really benefit from AI and ML as well.\n\nAnd for example, we are looking at ways that we could take design docs and have AI and ML start to opine on whether these designs would adhere to our production principles or not. And just get a jump start on some of the things that we should be paying attention to in these design docs. I think another-- we've talked a bit about the evolution of SRE. Another direction that we're really pushing that is in terms of risk management. And both identification and articulation of risk, and then, of course, mitigation of risk. And a lot of that happens much earlier in the cycle. You step back and go, OK. SRE has traditionally been focused on SLOs, availability and performance.\n\n**JORDAN GREENBERG:** The nines, yes.\n\n**MATT ZELESKO:** Yeah. And you could argue, those are all trailing indicators of risk. If you have an outage that impacts your availability, that is because you had a risk upstream somewhere that actually manifested and happened. And so being able to, both in paper and tabletop exercises, but also with tools and automation, start to assess the risks in the system. And if we can understand those risks earlier, then we get ahead of those risks as opposed to having them manifest and show up in terms of availability or performance outages.\n\n**MATT SIEGLER:** So, Matt, we have the rare opportunity to talk to someone here who has talked to other people who talk about us.\n\n**JORDAN GREENBERG:** That's a lot of talk.\n\n**MATT SIEGLER:** That's a circuitous way of saying, what are people saying about Google, things that they think that are important happening here, things that they want from us? Talk about that. I mean, this is an opportunity here, big picture about big customers, other competitors, collaborators. Speak to that. That's an interesting perspective that most of us never hear about.\n\n**MATT ZELESKO:** So recently, I went to Cloud Next, which is our annual customer conference for Cloud users, and got to talk to a lot of customers there. I would say first and foremost, the question we hear the most is-- and it's the same question I had when I was at Comcast, which was, can we build an SRE team? How do we do it? How can we most effectively create an SRE team, because we're not happy with the production management models we have now?\n\nThe second question we get a lot of is, can we have access to your tools? You've built all these great tools to manage production. Can we do that as well? And I think if we get back to the first question, which is, how do I build an SRE team? I think the real piece that you have to internalize there is, this is a change that is as much about culture and process and the way you work as it is about what talent you hire or what tools you use, right?\n\n**JORDAN GREENBERG:** Yes.\n\n**MATT ZELESKO:** And it is that that is one of the hardest things to change inside of other companies. And so we start talking about the culture of SRE. What are the important elements of it, and how can you start to move your company in that direction? I think there are a lot of companies interested in doing it, but as I mentioned, it's a lot harder than it sounds, particularly when you're starting with a different model.\n\nI think there's also-- as we've been talking about today, there's a lot of excitement around AI and ML and what that means for really all parts of our business. But SRE is not exempt from that, and I there's a lot of interest about how AI and ML can maybe help elevate how people manage production, whether they are SREs or not.\n\nAnd this may be-- as a side commentary, this may be a real change in our thinking also, because SRE does not support every single Google product. And maybe this is something that's really important to emphasize here, we choose engagements and we engage where SRE is going to have the most value and the most impact, which means that there are a lot of internal systems, external systems, products at Google that are managed by their development team.\n\nAnd I think we've started shifting a lot of our thinking to be around not just, how do we help SRE be the best SREs, but how do we help anybody at Google be the best at managing the production infrastructure for their systems or products? And that mindset means syndicating a lot more of our tools and culture and process to parts of the organization that historically are not part of SRE. And it's a real mindset shift that I think leverages the expertise of SRE, but has a much broader impact across Google and our users.\n\n**MATT SIEGLER:** All right. I'd like to thank our guest, Matt Zelesko, and my co-host, Jordan Greenberg. I'm Matt Siegler. This has been The Prodcast, Google's podcast on SRE and production software. Goodbye.\n\n**MATT ZELESKO:** Bye.", "znaku_textu": 25045, "slov": 4506, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:48", "sha256": "1ea8aba4a71a6e8944791f445e5124dbd40101472e59ae317b12eafa4e1aca9b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04/", "titulek": "The One With the Future of SRE and Matt Zelesko", "h1": "The One With the Future of SRE and Matt Zelesko", "popis": "Matt Zelesko, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04"}, "headline": "The One With the Future of SRE and Matt Zelesko", "description": "Matt Zelesko, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.", "image": "https://kstatic.googleusercontent.com/files/4131797dfef113c6842e32837875fdaaceb7849ea957fae7a123d1b244efd40f073de50e5bf763ea10ef5453f59b88aceb3d7cbca298e25c7182e0f6e3fdc6ea", "author": [{"@type": "Person", "name": "Matt Zelesko"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With the Future of SRE and Matt Zelesko"}], "markdown": "# The One With the Future of SRE and Matt Zelesko\n\n**Matt Zelesko**, the head of Site Reliability Engineering at Google, discusses the evolution of SRE, highlighting the shift from traditional operations to a model that balances velocity and reliability to better serve the rapid advancements in AI and ML. He emphasizes that SRE's core mission is to enable partners to move quickly while meeting reliability goals, and that the sheer scale of Google's infrastructure necessitates the SRE model for cross-system problem-solving. Zelesko envisions AI as a crucial assistant for SREs, improving incident detection, mitigation, and postmortem processes, and allowing SREs to focus on more complex engineering challenges and risk management earlier in the development cycle, while still valuing the hands-on experience of operating production infrastructure.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**JORDAN GREENBERG:** Hello, and welcome to the Prodcast, the podcast on site reliability engineering. My name is Jordan. I'm joined with my co-host.\n\n**MATT SIEGLER:** This is Matt Siegler.\n\n**JORDAN GREENBERG:** Awesome. Today we have somebody who's pretty cool, in my opinion. And we actually had overlap during my time as an SRE in the production engineering team. For our listeners at home, can you tell us who you are, about a bit of your background, and how you landed here?\n\n**MATT ZELESKO:** Yeah. Thank you, Jordan and Matt. Thanks so much for having me on the show. My name is Matt Zelesko, and I lead SRE. I've been here at Google for about three years, a little bit over. And it's just been a really wild journey, an incredibly rewarding journey as well to see both SRE at Google, the place it was invented, but also to see all of the things that are going to change about SRE and will evolve as we see the industry and the technology landscape evolving around us.\n\n**JORDAN GREENBERG:** Amazing! Can you tell us what made you want to be in engineering in general in the first place?\n\n**MATT ZELESKO:** Oh, we're going to have to go way back for that one. This one goes-- unlike a lot of people, I almost always knew what I wanted to do. So the moment that I got in front of a computer-- I think it was middle school. We actually had one computer in middle school, a TRS 80. I'm trying to remember whether it was a model 2 or a model 3. I think we started with a model 2 and went to a model 3 eventually.\n\nBut from the moment that I started interacting with that computer and seeing what I could make it do and learning about it, I pretty much knew that computer science was my path. So this was not a, “I had to do a whole bunch of soul searching and understand myself.” This spoke to me almost immediately. And then I pursued that through undergrad. I got a computer science degree. I did a bunch of graduate work in computer science, and particularly large scale distributed systems. So I was always sort of in the computer science, large scale distributed system world. And it's hooked me ever since.\n\nI would say I've been in a bunch of different industries from networking to the intersection of media and technology, and now, of course, Google, which spans a broad set of products in its portfolio. But in each case, there's been a constant through line, which is large scale, complicated systems, challenging problems to solve. And in many of these cases also, a real, impactful delivery to customers and users. In other words, building products that users rely on and often rely on every single day. And I've found that to be really rewarding of how you can use technology to change people's lives. And how do you build products that are reliable enough that people can depend on them?\n\n**MATT SIEGLER:** Matt, take a step back. Just before you came into Google, I'm curious about your mindset-- what was going on just before SRE and then just after? I'd like to hear a little bit like at the edge of the inception of this concept, what were you not doing? And then what were we doing? And then what was the turnover of that experience for you and how did it change how we approached the problem?\n\nI think for some of us out there, we didn't know what it was like before this existed. And I think that would be a pretty interesting experience to, “what was the approach to this problem before we approached it the way we do now?” And then how did this change how the industry has approached it now? And what was going on? How did that feel? What was going on in people's minds and how has it changed us forever?\n\n**MATT ZELESKO:** Wow, that is a lot of questions. Let me see if I can tackle them one by one. So before I came to Google, I was the CTO at Comcast. Also a company building products that millions of people depend on every day. If I want to have a family meeting in my house, I turn off the Wi-Fi, and somehow everybody finds me. So these are crucial products in people's lives.\n\nAnd both at Comcast and other companies that I've been at, I've seen a variety of models to how you do production reliability. Some of them were models where you had a dedicated operations team separate from the development team. In many of the places, including parts of Comcast, there was also DevOps where the development team was also responsible for production reliability.\n\nBut I was seeing gaps in both of those models and was really interested in SRE and started, in fact, talking to Google about that, because I wanted to build SRE teams at Comcast. I was really intrigued by the idea. I thought that it had a lot of things to offer Comcast, and so I started talking to Google just about, how does SRE really work internally? How has it changed since the book? Those sorts of things. That got me so excited about SRE, I decided I wanted to be at the place where SRE was created, and also be at a place where the scale is so remarkably large that you need large SRE teams managing this planet-spanning production infrastructure.\n\n[05;41] So I was very excited about the work that was happening at Google and the ongoing thought leadership in SRE and said, rather than try and duplicate this somewhere else, maybe I have an opportunity to go and work in the place where it was born. And that was really, really exciting to me. I think we see companies adopting a bunch of these different models. And I think depending on where you are in terms of your product maturity, in terms of the type of innovation you're trying to do, and frankly, in terms of the scale of your infrastructure, different models may make sense.\n\nFor Google, the sheer scale of our infrastructure almost compels us to create models like SRE. And I think one of the superpowers of SRE that I've seen is this ability to look across system boundaries, to look across product boundaries. When you've got a production incident, you often have dependencies between those systems, dependencies between those products. And SRE knowledge spans those things and is really the team that is best suited to go solve that.\n\nIf the BigQuery development team has an issue that ultimately is networking underneath it, it's really hard for the BigQuery development team to debug that. But you call in SRE, and SRE has that horizontal knowledge across systems that help you really solve those problems. And to me, that is-- like I said, it's a superpower of SRE, and I don't see that replicated in many other models when you're at the scale that Google is operating.\n\n**JORDAN GREENBERG:** OK. So thinking about superpowers and how their role has changed, we can also think about what supports superheroes, and that is the tools that they use every day. So we've got monitoring. We've got alerting. We've got Gemini now. So how does the role change now that we have these tools that have been developed over time and hammered into shape? How do they push into incident response? How do they push into postmortem creation? How do they change how the role has developed over time?\n\n[08:05] **MATT ZELESKO:** Yeah. It's a great question, Jordan. You mentioned platform reliability infrastructure before, and those are the teams that are building some of those tools that you just mentioned. And so let me talk about those tools, and then I'll move over and talk a little bit about AI, because I think that deserves its own conversation. So as part of our reliability practice, SRE published a set of production principles. And not surprisingly, this set of principles includes things like making sure you've got actionable reliability data, that you do change management in a safe way, that you have thought about failure domains and fault isolation for your system, and that you really have a strong practice around data integrity as well.\n\nWe have this set of things that we believe any well-run production system needs to think about and is encoded in those production principles. And we've seen Google products, for example, YouTube, go through a multi-year journey to get everybody onto a common set of production tools for doing things. And as you said, Jordan, these are things like monitoring and observability, rollouts, incident management, et cetera.\n\nAnd that has had a really strong impact, both in terms of putting our investment into one set of tools instead of multiple sets of tools. But it has also really enabled us to drive much more adoption of these production principles, because we've made it easy to do so. And that's been a really important shift for SRE and for Google.\n\n**MATT SIEGLER:** And how is it feeling right now that we're moving really fast in some of the AI-related launches that we're doing? Where we're having to make decisions between go fast and go slow on making decisions about reliability and velocity, and the industry at large. Because I know those who are not at Google, who's just about everybody listening to us, are having to make these decisions for themselves, and we're having to be good stewards of our own products.\n\nAnd people out there are also trying to make these decisions about-- and these pendulum-swings all the way back and forth between “OK, we got to launch” or “no, we have to be cautious”. And we are internally always making those decisions, and we're making them very, very thoughtfully. What are you seeing right now and what are you seeing especially across companies, across-- you're talking to other leaders out there. They're having to make these decisions too. How are we thinking about this? Especially not just with the tooling, which I think informs people down on the ground, but also big thinkers, business decisions here, what are you seeing?\n\n**MATT ZELESKO:** Yeah. No, it's a great question. And you're absolutely right. The last two to three years in [12:00] AI has been a really high velocity. We understand that we're at this transitional moment in the industry and innovating as quickly as possible, whether that's at the model level, getting our new and latest frontier models out and available to the public, whether it is incorporating AI into every one of Google's products, whether it is launching the Gemini product itself, there's a lot of different ways in which we are trying to move faster than I would say Google has moved historically or has moved for a long time.\n\nI think it's helpful to ground ourselves in the original philosophy of SRE, which was we want to enable our partners to move as quickly as possible while still meeting their reliability goals. That has always been the core principle or mission, if you will, of SRE. And what we find is there are certain users who want to be on the leading edge of technology, and there are other users that really value reliability more than anything else, even if they don't have the latest and greatest. And so ultimately, the question is, what level of risk is the business willing to take or choosing to take? And SRE has the tools and experience to work with all sorts of different levels of risk versus velocity and to support our customers with whatever balance of velocity and reliability they need for their business. And so we've started offering tiers where you can turn the knob between “how close are you to the frontier of new models” versus “how reliable do you need this to be for the work that you're doing?” And I think expressing that sort of flexibility to our internal customers and our external customers has really changed that conversation as well.\n\n**JORDAN GREENBERG:** OK. So it seems like the manual that our superheroes need, the abilities that they need to develop needs to change to adapt to these new technologies we have and the new focuses we have on how this work is. So it seems like we need a new book. So can you tell us, do we need to write a new book? What are some of the ways that we should change what the role is defined as to take into account the way that this technology is coming in today and future proof the way of thinking so that SREs that are new or SREs that are working on the role can adapt, change, and grow?\n\n**MATT ZELESKO:** Yeah. So a couple of thoughts here. I think one is, we're coming up on-- I think maybe next year is the 10 year anniversary of the SRE book, if you can believe it. So there's a lot that has changed in 10 years. And maybe call out two really big transitions. The first one was the transition to Cloud. The number of companies that have shifted from on-prem to cloud-based systems, resources, relying on the Hyperscaler Cloud infrastructure. And Google is the same. We have shifted a lot of our systems and products to the Cloud infrastructure as well.\n\nAnd then the other one is, as we've danced around a few times here, AI and ML. And there's one element of that is, how do we enable the company to create great AI and ML products? The other one is, what is the impact of AI and ML on SRE? And I think we are really starting to understand the potential of AI. And it's a pretty exciting thing.\n\nI think there's a huge potential, and we've already seen some of that in the early work that we're doing, to really change and elevate the ways that SRE operates. And that's pretty exciting. I do think it is going-- we've had a lot of things over time that have changed the balance of how much time an SRE spends in operations versus how much they spend on reliability engineering and investing in tools and systems.\n\nAnd I think this is another shift along that spectrum. I'll make a very clear point here, that SRE will never get out of the operations business. I think that there is an incredibly valuable piece of living with the production infrastructure. That on-the-ground experience of operating the production infrastructure is something that really informs everything that we do as part of SRE, and I never want to get too far away from that.\n\nBut I think AI and ML re ally holds a lot of promise in terms of being that assistant that is going to make our jobs better, and it's going to actually make our customer outcomes better, too, because we'll detect incidents faster, we'll fix them faster, and hopefully, we'll fix them for good.\n\n**MATT SIEGLER:** This is a pretty-- I find this particular line of inquiry really fascinating. Operations as software, automation, I mean, we've been on this line for decades. It's not sitting around a friend and watching a button go red and then pushing the button. Trying to get a software to watch this for us, waking us up with a pager rather than watching the dial. And that's what we've been doing. That's our business.\n\nThen having a smart alerting, knowing when something is going south and then letting us know. We've been increasing that automation and our trust of that automation and being living happily aside that as SRE for quite some time. Now we're talking about insights and automating some of those insights and giving us evidence of those in the alerting, in the monitoring. We're about to see, I think, a step function in that, and I want to know if you have specific thoughts about that and how we're going to accommodate those increases, which are going to come, I think, pretty rapidly with the AI insights at a pace that we're not used to.\n\nBecause we've been doing that in a very gradual, thoughtful, curated way, and I think we're about to see them in an explosive-change way. How are we going to handle that and what are we going to do to accommodate that rate of change? And I think the upside is a fairly huge increase in accelerated ability to work, but I don't know how to do that. But we probably will have to. Thoughts?\n\n**MATT ZELESKO:** Yeah. I think this insight is really important, and it's something that I've been spending a lot of time thinking about, because I think you're going to see this step function in SRE, but in a whole lot of other things where AI is being applied. We're seeing things move at a pace that is much faster than we have historically. We often find ourselves trying out a model, and we go, OK, the model gets us this far, and so then we're going to have to have a team build these elements afterwards that'll get us all the way to the outcome that we're trying to achieve.\n\nAnd so we sent a team off, and they spent six months creating all of those pieces at the end that pick up where the model leaves off. And we get to the end of that six months, the team delivers it. We're like, awesome. This is great. We go back and try the latest frontier model, and it does all the stuff that we just spent six months investing in a team doing. And so we are not-- we need to get to a much better intuition and understanding about how fast this technology is moving, and then get ourselves in a mindset of constantly experimenting, constantly updating our assumptions-set around it.\n\nI agree that right now, we are using this at Google for software development and for software quality, and as I mentioned, also production management, production engineering. And we're seeing a lot of benefits. I would articulate a lot of those benefits as being this buddy next to the human. But you get a sense that we could get to a point where there are less things that require that human in the loop.\n\nI hesitate to predict how fast we get there. But again, a lot of that work tends to be manual work. It tends to be toily work. And so if we are eliminating that from the SRE diet in the favor of them doing much more interesting, engineering work and innovation, I think that's a great thing. We always talk about SREs automating themselves out of a job, they still have a job. And I still expect them to have a job in 10 years, because there is much harder work.\n\n**JORDAN GREENBERG:** Right. So in thinking about this, how it's allowing us to do the thinking, whereas some of the more manual tasks can be automated away. It also gives us the opportunity to improve our processes in conjunction with the technology that we have. So for example, better postmortems, better action items gathering from postmortems that we talk through and that we ruminate on as humans. Is there any other sort of improvement that's tangential but still necessary to improve the scope of SRE skills, process improvement, postmortem reviews, et cetera?\n\n**MATT ZELESKO:** Yeah. Continuous improvement is at the core of the culture of SRE. I continue to remind people that continuous improvement is incredibly important. Our culture of blameless postmortems, our ability to look at every single failure and go back and learn from it, understand that that learning is important, and then instituting things based on that learning is just core to everything we do.\n\nAnd that continuous improvement takes a lot of forms outside of just incident management, which I think is what you were calling out. There's a lot of work we do ahead of time. And things like production readiness reviews. The healthiest SRE engagements with our partners means we are they're really at the start of system design. And we are talking about reliability incredibly early in the development process. And I think there's a lot of stages there that could really benefit from AI and ML as well.\n\nAnd for example, we are looking at ways that we could take design docs and have AI and ML start to opine on whether these designs would adhere to our production principles or not. And just get a jump start on some of the things that we should be paying attention to in these design docs. I think another-- we've talked a bit about the evolution of SRE. Another direction that we're really pushing that is in terms of risk management. And both identification and articulation of risk, and then, of course, mitigation of risk. And a lot of that happens much earlier in the cycle. You step back and go, OK. SRE has traditionally been focused on SLOs, availability and performance.\n\n**JORDAN GREENBERG:** The nines, yes.\n\n**MATT ZELESKO:** Yeah. And you could argue, those are all trailing indicators of risk. If you have an outage that impacts your availability, that is because you had a risk upstream somewhere that actually manifested and happened. And so being able to, both in paper and tabletop exercises, but also with tools and automation, start to assess the risks in the system. And if we can understand those risks earlier, then we get ahead of those risks as opposed to having them manifest and show up in terms of availability or performance outages.\n\n**MATT SIEGLER:** So, Matt, we have the rare opportunity to talk to someone here who has talked to other people who talk about us.\n\n**JORDAN GREENBERG:** That's a lot of talk.\n\n**MATT SIEGLER:** That's a circuitous way of saying, what are people saying about Google, things that they think that are important happening here, things that they want from us? Talk about that. I mean, this is an opportunity here, big picture about big customers, other competitors, collaborators. Speak to that. That's an interesting perspective that most of us never hear about.\n\n**MATT ZELESKO:** So recently, I went to Cloud Next, which is our annual customer conference for Cloud users, and got to talk to a lot of customers there. I would say first and foremost, the question we hear the most is-- and it's the same question I had when I was at Comcast, which was, can we build an SRE team? How do we do it? How can we most effectively create an SRE team, because we're not happy with the production management models we have now?\n\nThe second question we get a lot of is, can we have access to your tools? You've built all these great tools to manage production. Can we do that as well? And I think if we get back to the first question, which is, how do I build an SRE team? I think the real piece that you have to internalize there is, this is a change that is as much about culture and process and the way you work as it is about what talent you hire or what tools you use, right?\n\n**JORDAN GREENBERG:** Yes.\n\n**MATT ZELESKO:** And it is that that is one of the hardest things to change inside of other companies. And so we start talking about the culture of SRE. What are the important elements of it, and how can you start to move your company in that direction? I think there are a lot of companies interested in doing it, but as I mentioned, it's a lot harder than it sounds, particularly when you're starting with a different model.\n\nI think there's also-- as we've been talking about today, there's a lot of excitement around AI and ML and what that means for really all parts of our business. But SRE is not exempt from that, and I there's a lot of interest about how AI and ML can maybe help elevate how people manage production, whether they are SREs or not.\n\nAnd this may be-- as a side commentary, this may be a real change in our thinking also, because SRE does not support every single Google product. And maybe this is something that's really important to emphasize here, we choose engagements and we engage where SRE is going to have the most value and the most impact, which means that there are a lot of internal systems, external systems, products at Google that are managed by their development team.\n\nAnd I think we've started shifting a lot of our thinking to be around not just, how do we help SRE be the best SREs, but how do we help anybody at Google be the best at managing the production infrastructure for their systems or products? And that mindset means syndicating a lot more of our tools and culture and process to parts of the organization that historically are not part of SRE. And it's a real mindset shift that I think leverages the expertise of SRE, but has a much broader impact across Google and our users.\n\n**MATT SIEGLER:** All right. I'd like to thank our guest, Matt Zelesko, and my co-host, Jordan Greenberg. I'm Matt Siegler. This has been The Prodcast, Google's podcast on SRE and production software. Goodbye.\n\n**MATT ZELESKO:** Bye.", "znaku_textu": 25045, "slov": 4506, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:54", "sha256": "1ea8aba4a71a6e8944791f445e5124dbd40101472e59ae317b12eafa4e1aca9b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05", "titulek": "The One With SLOs and Sal Furino", "h1": "The One With SLOs and Sal Furino", "popis": "In this episode, Sal Furino, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts Steve McGhee and Matt Siegler. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05"}, "headline": "The One With SLOs and Sal Furino", "description": "In this episode, Sal Furino, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts Steve McGhee and Matt Siegler. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.", "image": "https://kstatic.googleusercontent.com/files/3453efd182b835abd2dcca7bed9c16b5e456ab59e2a24b14847c7b7b1ab95bd8ec3e75e77b167a968fb3a44fe05ec40fe5a560112106941cd7150f067ff110f5", "author": [{"@type": "Person", "name": "Sal Furino"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With SLOs and Sal Furino"}], "markdown": "# The One With SLOs and Sal Furino\n\nIn this episode, **Sal Furino**, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts **Steve McGhee** and **Matt Siegler**. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to the Prodcast. This is Google's podcast about SRE and production engineering. I'm Steve McGhee. And who else is here today?\n\n**MATT SIEGLER:** I'm Matt Siegler.\n\n**STEVE MCGHEE:** Hi, Matt. You're back, excellent. We have a guest today from the big city, right? The Big Apple, I think it's called these days. Hello, guest. Who are you exactly? And what are you doing here?\n\n**SAL FURINO:** Hey, everybody, I'm Sal Furino. I'm a customer reliability engineer over at Bloomberg. And I love service level objectives. They're something I'm just really passionate about. And I'm really happy to be here on Google's Prodcast.\n\n**STEVE MCGHEE:** Awesome. Welcome, welcome, welcome. Bloomberg is a company that handles money or something, or helps people handle money, I think. What do you guys do there?\n\n**SAL FURINO:** So what we do is we provide a lot of financial information about the markets to the world. So if you like that stuff or you like news and media related to it, which is kind of expansive if you think about the various different commodities and different things that are out there, we cover a lot.\n\n**STEVE MCGHEE:** Would you say that computers are involved?\n\n**SAL FURINO:** Oh, yes.\n\n**STEVE MCGHEE:** OK, cool.\n\n**SAL FURINO:** Many, many computers are involved.\n\n**STEVE MCGHEE:** All right. Cool.\n\n**MATT SIEGLER:** Once in a while.\n\n**STEVE MCGHEE:** Excellent, excellent. So I think we're talking to the right people here. And so, you mentioned service level objectives. We like to call those SLOs. It's mostly funny for me because I live in a town called SLO (San Luis Obispo, CA) also. You know that. It's the best. I hope to move to Oslo someday just so that I can live in the other city that has SLO in it. I think that would be pretty cool. But if people are listening/watching to this and they don't know what an SLO is, what's your initial explanation to folks like, welcome to the world of SLOs? And have you met your new best friend?\n\n**SAL FURINO:** So that really depends on who the audience is, because I think I explain SLOs much differently to my family or other, let's call it, non-technical people than I do a technical person. So where would you like me to start first?\n\n**STEVE MCGHEE:** Well, I like to think that--\n\n**MATT SIEGLER:** What's our clique?\n\n**STEVE MCGHEE:** Yeah, Matt, who's our audience here? You tell me.\n\n**MATT SIEGLER:** You're an engineer. You work on the software system, you have customers, and you are concerned that they're happy, and you'd like to increase the happiness of your customers. And you want to do that in a structured way. And you've heard about this thing, and you think this might be a structured way to do that. Go ahead and lead them forward through this path.\n\n**SAL FURINO:** Yeah. So if you're an engineer and your team or someone or a team you're adjacent with produces software that people use, which I think should be most software systems out there, you should be familiar with something called telemetry or observability, that should be in most people's wheelhouse.\n\nSo if you think about what an SLO is, it kind of comes together with four things. First, there's an SLI, which, there's little debate about what an SLI actually is or isn't and so forth, if it's something that's a valid SLI, but let's just handwave all that away for just a second. And if you think of an SLI, you can think of it usually as a metric that's generated by some type of query. You're producing.\n\n**STEVE MCGHEE:** It's an indicator. The I is an indicator, for starters, right? So it's a metric. It's a thing that tells us something, right?\n\n**SAL FURINO:** Yes, exactly.\n\n**STEVE MCGHEE:** OK, go ahead.\n\n**SAL FURINO:** So after you have this indicator, you then have an objective, which is generally a value-- in my mind, it's a value that relates to the underlying metric at hand. So if we're talking about durations or latencies, these are-- be things like, I don't know, 500 milliseconds, 1 second, 5 seconds, et cetera, some unit of time.\n\nIf we're talking about maybe some type of availability. It might relate to some type of status code, such as HTTP status codes, for example. Like, maybe 200s are good, and maybe 400 or 500 are bad or something like that. It's some indicator of some bit of thing. So that was the second point.\n\nThen the third part is the target. The target is how often the SLI needs to meet its objective. This is usually expressed by some percentage value. And being that we're in Reliability, we love nines. I'm not sure why nines are like the thing for our industry, but they really are. Maybe we blame the telecoms for starting out with five nines or something. But some people generally say there's 1, 2, 3, 4, 5 nines of reliability, and so forth. And an example of one 9 would be 90% reliable, or two nines, 99, three nines, 99.9%, et cetera. Yeah.\n\nAnd then, lastly, we have the time window, which is how long the objective needs to meet its target. So these are things that could be a bit variable. They could be 15 minutes. They could be an hour. They could be a day. They could be 30 days. They could be 90 days, or a quarter. And there's different ways in which you can play around with time windows there.\n\nBut what's really neat, and remember where I said there was four things to SLO, there's actually a secret fifth.\n\n**STEVE MCGHEE:** Perfect.\n\n**SAL FURINO:** So when we get to that secret fifth thing there, it's an output of those other four. And that's something we like to call an error budget. And this is something that can generally be expressed by a sentence. Can I give a shout-out, actually, to somebody?\n\n**STEVE MCGHEE:** Sure, totally.\n\n**SAL FURINO:** Yeah. So, like, Fred Moyer, like, popularized this idea of expressing error budgets as a sentence when you put it all together. I think he gave that talk I think at Monitorama a few years back and such, and it explains it really nicely.\n\nSo let's take an example. So let's say we're an e-commerce website, right? Everyone has used-- has bought something online probably in the past 10 years or so. Something that's really important for e-commerce websites is how long it takes to process your order to check out your cart. So this is something that if you do all this work, building all the carts, shopping, all the stuff, and then I'm trying to give you money, and you cannot take in that money and process it fast enough, I might leave and abandon that cart, and you lose out on a sale or revenue. It's critically important to that business. It's an important customer-user journey.\n\nAnd let's say for that example, we say a good experience for cart checkout is 500 milliseconds. And we want this to happen 99.9% of the time, three nines. And we were concerned about this over a rolling one-day window. When you put all that together, you could express the error budget as saying our error budget is 0.1% of traffic over a previous 24 hours is allowed to take longer than 500 milliseconds for cart checkout requests. So it's a different way of framing the amount of reliability or unreliability in which your service can tolerate.\n\nAnother way to think about this as well is how bad do we have to be in order for us to lose reputation with our key customers, users, or stakeholders of this capital S service?\n\n**STEVE MCGHEE:** How bad is too bad? Yeah, When should we step in? Like, is it cool if it's burning a little bit? Does it have to burn a lot? Like, when do we really care? Because, I mean, the other option is, like, Sal, why don't we just, like, pretend it's perfect all the time? Like, let's just. Let's just aim for 1,000,000%. Like, that's a number, right?\n\n**SAL FURINO:** Right, yeah. So I guess you could potentially be 100% reliable, but then that's going to be extremely limiting. That's extremely limited. You're probably going to have a system in which you don't make much changes, stuff that's very static. You're probably going to be, like, triple or quadruple redundant on different things there, and sensing failure--\n\n**STEVE MCGHEE:** Sounds expensive.\n\n**SAL FURINO:** --and sensing and predicting failover. It's really expensive, really costly, and probably doesn't fit your operational model if you're in a competitive space. So, once you start accepting that you're going to fail or you're not going to be perfect for everybody all the time everywhere, then you can start accepting the idea of an error budget or an allowed amount of unreliability. And once you start accepting that idea, you can start coming to think about it as, hey, how much unreliability can we use and play with in order to make experiments and to better understand how our users are using our system and how they're experiencing it.\n\n**MATT SIEGLER:** So you've set some of these SLOs. Let's say you have one or two of these, and you've decided around, you eyeball these. I think this is a good target. I don't know. Your business leader is like, “sounds good”. 99% of people will be happy because within a half a second, it gets pushing. “Buy” actually gets me a “bought”.\n\nLet's just imagine I have 99% click buy actually results in the thing getting bought. I think that's not a bad target. Actually, that sounds pretty terrible. 99% is probably not nearly enough. But my running a teeny little shop, and it sounds good to me. And I have another one, which is, I don't know, my website actually is there 99% of the time. And when they come to open the store, it doesn't, like, just crash immediately upon loading.\n\nThese sound like good starting points. What are the things we can do now that we've put these there on the ground? We have a website. We have them in the-- and you described a budget. What can we do now that we have these in place? What does this allow us to do?\n\n**STEVE MCGHEE:** Yeah, that we couldn't do before.\n\n**MATT SIEGLER:** Yeah, right. We were just kind of guessing. Now we have a thing to measure, and it's telling us a story. What has this story allowed us to do with some control?\n\n**SAL FURINO:** You mentioned, I think, the two most popular SLOs. And they're probably like the entry-level ones, which I feel are really good, and people are starting to get ideas or accustomed to the idea of SLOs and reliabilities and error budgets. And those are around availability and latency.\n\nLike, it can generally be summed up as, like-- I was talking with Hidalgo recently, and he mentions that there's only really two SLIs. Did we give the users what they want? And did it happen fast enough? But did we give them what they want, is like really, once you unravel that, it kind of gets into a rabbit hole of all the different ones, all the different SLOs that are out there.\n\nBut with those, I think they give you-- start giving you insights of are we successfully responding to customers when they give us a request and are we responding to it quickly enough or giving a response quickly enough? We're not just saying if it's correct yet. We're just saying a response, which is generally really important. So, like, you can think about it this way, if you see that your availability error budget is starting to burn, you're starting to burn some of your availability error budget.\n\nBut you see, your latency is completely fine. It might just be because it's faster to serve up a 500 than it is to serve up a proper 200 response to actually process an order correctly. So I think there's also some maturity that happens in understanding how your different metrics work together and leading you to troubleshoot an issue where it happens.\n\nSo let's go back to your example of that tea shop you mentioned. And let's say you start getting, like, funneled. You start to go viral. Great for business but probably terrible for your infrastructure structure for how it's set up. If you're just a small local tea shop, you have to be able to handle that load and scale it accordingly. So this is where there's other additional SLOs, such as those around saturation and understanding. What are the bottlenecks of your system, and where do they provide poor customer experience?\n\nSo maybe you're bottlenecked on, I don't know, disk I/O or network connections or some other way in which you have hard-to-fix limits based upon how you've architected your system, and you start measuring how you're doing towards meeting that capacity. And I will say, saturation SLOs are probably a deviation away from measuring the customer user experience and more so measuring the health of the technical system. But they still are important to know when and how to scale your systems effectively.\n\n**STEVE MCGHEE:** So this is all really good, Sal. Like understanding what these SLOs are for. And like, people talk about SLIs versus SLA, and it gets a little confusing. But like, it's been documented, and you gave a really good rundown here. And I was going to make a joke about, like, these are simple and, like, it's not like there's an entire book out there that explains this in full detail.\n\nBut, like, you mentioned Hidalgo a minute ago, that's Alex Hidalgo. He was the author of the SLO book, and he was a SRE at Google here. Like, we worked with him in the past. You've worked with him in the past too, right? Like he's a known entity out there. But, like, yeah, the point is, like, it sounds simple, it gets hard. Like, there is an entire book. That's kind of my point, I guess.\n\nBut, like, your role that I've seen you do in the past has been to help teams parse the book and, like, apply it to their lives. Like, how do you take the time, right, and then apply it to your daily ritual? Like, what's so hard about that? He says jokingly. Like, why is this hard-- like, do you have examples of what's hard or where teams have run into--\n\n**SAL FURINO:** Oh, so many examples.\n\n**STEVE MCGHEE:** You go, I'm sure you have a bunch. Yeah, yeah.\n\n**SAL FURINO:** So, let's actually maybe start it off first. And let's try to maybe step back just a little bit and talk about trying to explain SLOs to non-technical people. And this is sometimes I think making them more relatable to people in everyday experience makes it a little bit easier.\n\nSo let's say, for example, you're going out to lunch. If you go out to lunch and you're going to sit down at a restaurant and so forth, you might have different expectations of what level of service you want to get. If you're going over to the local cart in the corner-- I'm in New York City, so there's carts everywhere-- you might have different expectations than if you're going to a popular deli or the local market that has a sushi deal or something that has a long line.\n\nThese are different expectations you have around visiting and interacting in these places in your day-to-day life. You also have maybe different expectations of how quickly you will be served. So let's say we go, for example, to the local diner. It's hot outside. I want to go inside and actually sit down in some air conditioning. I sit down, I get served, and I place an order for a cup of soup.\n\nA cup of soup, you know they're not out there like boiling the water and chopping the vegetables and putting it all together, making it to order. No, the soup is already there and prepared. You got to generally just ladle it out, put it on a bowl, maybe do a little touch-up, a little zhuzh, or something, and then go and push it out to you. Versus if you go and order a well-done steak, you know it's going to take much longer to prepare.\n\nSo there's some things, based upon the nature of your order, nature of your request, you have different expectations of how long they will take to get to you. Likewise as well, if you go there and it's dead and it takes a very long time, versus if you go there and it's completely busy, it's kind of just more expected that, oh, hey, you're going to wait. It's going to take more time for you to get on queue. So I try to phrase it in that kind of sense to people.\n\n**STEVE MCGHEE:** It's about meeting expectations, right? It's less about the absolute value of it. Was it fast? And fast is always good. It's like, what did I expect, and did I meet or beat it, right? That's important.\n\n**SAL FURINO:** Let's take an example, like, if I ordered a well-done steak and it got out to me really quick and I cut it open and then I see it's medium rare. Well, first off, I think that's the proper way to eat a steak. That's my opinion. But someone who actually had that well-done order would probably be upset because, oh, hey, yes, it was fast, but it wasn't what I wanted. It wasn't that right specification.\n\n**STEVE MCGHEE:** So it's like we would call that correctness or quality, right? Like, it was on time and it arrived, but it wasn't actually right. It wasn't what we asked for. So it didn't meet our expectations.\n\n**MATT SIEGLER:** It sounds like your latency-- sounds like you're highly available-- sorry. It sounds like your latency availability trade-off you mentioned earlier. Like, we served it really quickly, but it was the wrong thing. OK, there you go.\n\n**SAL FURINO:** Well, that wouldn't really be so much availability and latency. Availability would be like, oh, I want to place my order, and the wait staff hasn't came to my table yet, and I'm trying to flag them down.\n\n**MATT SIEGLER:** OK, OK.\n\n**SAL FURINO:** I think that's more akin to availability. Getting the wrong temperature on your steak or maybe the wrong item go to your table, that's more something we would call data correctness in terms of SLIs.\n\n**MATT SIEGLER:** OK. Thank you for clarifying that.\n\n**SAL FURINO:** Yeah, yeah, yeah. And all these examples, I actually gave an internal lightning talk around, like an introduction here at Bloomberg around SLOs. And I related them all to holiday seasons and the different expectations people have of getting together around Thanksgiving and how they all work together in this system and different expectations people have of having, let's call it, a family gathering.\n\nAt the end of the day, I like this approach, though, in explaining it to engineers so they understand and put the person and the customer or the user forefront and first. That is the most important thing with SLOs. I gave a talk at SREcon, and I led it off, with the first item being to measure what matters to your users. Don't measure like CPU utilization or disk I/O. That rarely is an important or useful SLI for your SLOs. It's much better to try to come up with proxies of the user or customer experience and start measuring that.\n\n**STEVE MCGHEE:** I like to joke with folks that traditionally yield the metrics included, like the temperature of the CPU. And like, at the end of the day, like, I don't care how warm your computer is. Like, what does that have to do with customer happiness? Like, absolutely nothing. And so this is like an obviously silly example. But there's still teams out there that are measuring disk fullness in a SAN where there are many disks that are redundant to each other. Like, what are we doing, guys?\n\nBut like, this is, I think, the kind of gold like core of SLOs is that they're meant to be user-centric, right? Like customer-centric and not about the tech itself, but about, like, is the whole system working. Is that something that you think people get? Or is it a matter of not getting it but actually applying it? Like, where is the disconnect, or where's the struggle when it comes to this?\n\n**SAL FURINO:** So I'm going to answer that in a second, but I'm going to take us on a little detour. So you mentioned two SLIs there. Let's call it the temperature of the device and also the disk being full. I'll say the temperature device. If you're on mobile or providing a small device-oriented experience to your user base, they can have expectations on how hot that thing is running--\n\n**STEVE MCGHEE:** Oh, yeah. That's true.\n\n**SAL FURINO:** --your device. So, like, if you're coding for mobile and I notice my phone's getting really hot every time I use this app, I might want to use it sparingly in the future. Likewise, if it's always draining my battery or using a bunch of data, there's some exceptions to these rules that were coming in place. like based upon your instance, that in which they're being applied to.\n\nSo this is where it starts, like, oh, hey. Yeah, they're really simple. But wait, wait, wait, hold on. Where does this iceberg end? It keeps getting, like, wider and wider and deeper. And likewise, your example with the SAN and the disk filling up. Hey, if I'm an application team, absolutely correct.\n\nBut if I'm the storage team in terms of providing storage service towards everyone else to use. Oh, hey, no, maybe I should be watching these, how our repertoires are doing and how much things are filling up, and how quickly the rate of-- the throughputs or rates are going for that. So I feel this is almost like there's always exceptions to the rules. So when we talk about these things generally, of course, there's always caveats here and there, but I would try really to think about what is my core user or customer experience I am providing.\n\nSo now let's take it back to your question you actually asked, and that is do infrastructure teams or do engineering teams sometimes struggle to figure out what is that user-customer experience? And I would say absolutely. This is common across the industry.\n\nThere was-- I think it was in the DevOps DORA report in 2023. They had a quote in there. There was something to the effect of engineers generally measure the health of the technical system and not the happiness of its users. And that's just a trend across the industry. And that's something that a lot of people struggle with.\n\nAnd I feel it's because a lot of engineering teams sometimes don't have a product person there to think about it. They generally think about mostly of this whole Rube Goldberg machine of services and things working together. And they're concerned about the machine and the health of it.\n\nThey think-- actually, I'm going to give a call back to Star Trek. One of the most famous episodes. Was it Trials and Tribbles? Where they have all the tribbles are exploding in population on the space station, and so forth. And Scotty gets, like, upset when they insult the ship and not the ship's captain.\n\nAnd I feel, like, this is where engineers are, they have pride in the things they go off and build, and they generally don't think about how they're used or applied. And this is, I think, just something we kind of have to get over as a whole.\n\nIf you're an engineer and you're not measuring your happiness of your users and people using your system, and you're just measuring the health of the system you built, what are you doing? You need to step up your game, and you need to think back of what does it truly mean to be an engineer.\n\nIf you're an engineer and people want to go and cross a river, you shouldn't be handing them a book on how to build a boat. You should build them a bridge to get over it to make it easier for them to walk. So in my mind that's, I think, more like an ethos of what an engineer is. We're making things easier for people, and you need to keep your people in mind of who you're engineering them for.\n\n**MATT SIEGLER:** OK. So with that in mind, let's suppose you've approached a team. Let's imagine you're the oracle. You show up with this team and you've given them the philosophy you just gave us. And you said, all right, I want you to take this approach. I want you to speak for the users. You've stepped up their product game.\n\nYou've got them to build a good amount. Will get to the question of how many is the right amount of SLOs. They have good SLIs. They're measuring them, they're acting upon them. And now the devs are going, man, I feel like these things are there and I don't really understand what they're for. And they're kind of getting in my way.\n\nAnd there's now a back and forth between these two teams, where the devs are like, I feel like I'm being held accountable to these SLOs, but they're not what I do every day. And there's another team kind of defending and responding to them and going back to the devs, and I feel these two camps exist now in this organization.\n\nNow, how do you build a healthy relationship between these two camps, between the SREs that are working with the SLOs and the devs that are working on the features, so they work together so they feel comfortable and they feel like they're on the same team going in the same direction? Because I feel that is some of the cultural stuff that kind of exists in the friction that exists or could exist if you don't. So talk a bit about building healthy ecosystems with those.\n\n**SAL FURINO:** At the end of the day, SLOs are a framework to have joint decisions about the reliability or unreliability of your systems. These are-- you need to have product engineering and leadership involved in making, creating, implementing, tweaking, tuning, adjusting, reviewing these SLOs. Otherwise that means that you really just have sparkling KPIs. They are a team thing that everyone must work together to implement and care and feed towards it.\n\nI'm not saying the SLOs we create today are the ones we use tomorrow. Not at all. Like SLOs are living, breathing things that if it's not providing value, it's not useful, kill it off and move on, and try something else, try something new. If there is some stuff that is really important, keep it around and maybe you just have to adjust some targets or some objectives in order to get that additional value in which you seek from it in order to get better burn rate alerts or other percent error budget remaining stuff as well. Like there's various triggers in which you can use together to help make an informed, more useful decision.\n\nAnd I also feel that, based upon your persona of these different teams and things involved, you're going to be looking at slightly different SLOs, but maybe have the same SLI and objective. The thing you're changing about them now is the time windows. I feel the time windows for people maybe responding to incidents. So these are production engineers or these are SREs or people who are generally on call are probably things in the shorter time windows. There's probably like the 1-hour to 48-hour window kind of range.\n\nIf you're in the app or dev team, maybe you're something more concerned or something more aligned to weekly or sprints-- aligned to your sprints and what you're doing. If you're in product or leadership, maybe you want something more monthly or quarterly based, and maybe not even rolling at that point. Maybe you want them to be calendar-aligned because that's how you think and talk about the reliability and unreliability of your services.\n\n**STEVE MCGHEE:** Yeah. I've heard SLO described as the lingua franca between teams or like sort of jokingly as like Latin in the dark ages. It was the way that you spoke between countries is like through your-- people who could speak this one weird language that was, like, common between your different countries, but basically I like the lingua franca better, in that it's like the interface language between two worlds.\n\nAnd so, like, we talk about both the numbers in the infrastructure and the data with the numbers part. And we also talk about the users and the happiness in the same sentence. And also, like, they tend to be based on facts that are, like, in a dashboard on-- a graph on a dashboard that we can-- both teams can look at the same time and be like, oh yeah, it is above the number that we said it shouldn't be above, or whatever.\n\nBut I really like your point about looking at different timelines for different teams. So, like, if I'm on call and I'm getting paged and I have to do a thing, I tend to care about, like, what has just happened recently and what I can do next. But if I'm the CEO, I'm looking at, like, yeah, quarterly revenue. Those are very different time scales. And you could potentially use a similar, if not the same, type of number to compare, are things OK right now on different timescales. So that's a great point.\n\n**SAL FURINO:** Yeah. I also like to think about it as well. If you have trouble figuring out what these different personas are, thinking about it as the different actions people take to the reliability and unreliability of the system. People who are on call, they're more here and now, they're logged into production. They go off and do things. People who make features or think about new ways in which people can use the system, they think about in generally longer timescales than the next one or two days, at least, maybe, hopefully. I don't know.\n\nIf you're thinking about more of like, oh wait, this third-party service we're using is part of this critical customer journey, and they're contributing largely to unreliability. Wait, do we have to change vendors or do something different here? These are at different levels of the organization. They think about things and solve problems at different time scales.\n\nSo, like, this is something where when you're designing your SLOs, you need to think about designing them towards the persona who will be using them and taking action to do something with them. And I know this is like a whole lot, and this is why--\n\n**STEVE MCGHEE:** Yeah, yeah it's a big topic.\n\n**SAL FURINO:** It is probably why I have a job, to actually help break this down and understand and break it up into all these different areas. And this is starting to get where my job as a CRE, a Customer Reliability Engineer, is almost sometimes, at times, like being more of a couples therapist in a way, just trying to coordinate between these different personas, these different teams.\n\nAnd especially if we talk about user journeys that are shared between multiple teams. There's team and team B, hey, how do we both contribute towards our larger customer journey? What do we share? What do we take apart separately? And how do we both contribute towards achieving the end customer experience?\n\nAnd the goal at the end of this is to avoid finger pointing and more of just both of us working together and agreeing that these are reasonable.\n\n**STEVE MCGHEE:** Nice. Let me ask you a question more specific to your current role. Or in general, like, in finance versus any other like a vertical or industry or whatever, like how do you see-- or how have you seen SLOs present themselves in that world that might be different from other industries, or it might be more uniquely interesting, or something like that?\n\n**SAL FURINO:** So before joining Bloomberg, I was working at a startup that had a lot of interface to a lot of business consumers and business to business customers. But now that Bloomberg, we're essentially a business to business enterprise. People need to spend a fair bit of money to buy a Bloomberg license and to use the Bloomberg terminal and the wealth of information it provides. So it's not just like, oh, hey, I just give you my email and then I could go off and use this thing. So there are different expectations and how that software needs to perform and what it needs to do for people at different times of day.\n\n**STEVE MCGHEE:** Yeah. So we're back to expectations. Like that helps you describe what those SLOs are going to be. And if your expectations are different, you're going to write different SLOs.\n\n**SAL FURINO:** So when we talk about some differences between business to business versus business to consumers, if you're somebody like Google, you have a lot of business to consumer activity, you have a lot more traffic, a lot more data points flowing in day in and day out. I'm sure it probably follows some type of shape based upon daylight hours, or something like that, based upon where your general user population is on the world.\n\nAnd, I think, in finance that's maybe a little bit more different. There's a lot more concern around when your business users, your actual customers, are using it and not so much at other times. Are those other times still important? Yes, absolutely. And they do inform your SLOs, but there's some different additional steps in which people need to take there. And I think it gets all back to what's the expectations of your user base, where are they located, when are these things happening, and understanding that. Once you understand that, you can better understand the different volumes of your service predictions and stuff like that.\n\n**STEVE MCGHEE:** Yeah, I used to run two very different services at the same time. I was in charge of Android mobile stuff and then YouTube stuff at the same time. And it was a joke that we could, on a global, one or two-day long graph, you could see the Pacific Ocean like that was the joke, because you could always see there's this dip where no one's awake.\n\nBut the funny thing was, in these two services, the ocean was in a different place because people are using their phones to do phony things-- phone things during some part of the day, and then they're watching YouTube at different parts of the day. And so, it was all shifted by two times zones or something like that.\n\nSo it was very, very funny. Like it's even within the same company and the same infrastructure, even a different application within the same product, often you'll have just different trends like this that you have to be aware of. And so you got to be really careful not to just copy and paste SLOs and values and time expectations and things like that over time.\n\nThat brings me to my last section. And you hinted at this before, which is when you said our SLOs today might not be our SLOs tomorrow. So like, there's got to be, like, a life cycle of this stuff of, like, you got to-- I'm guessing that you get better at this with time. And maybe you start out by making too few or too many, or too precise or too broad, or something like that. And then you just see what fits. Am I right in assuming that's how things work in the wild? Or do people just nail it the first time out?\n\n**SAL FURINO:** Oh, very rarely do people nail it the first time out. I still don't even nail it the first time out. And that's the beauty of them. They are living, breathing things. And this is where myself and a few others collaborated in creating something called SLO DLC. That's slodlc.com. And that's a whole methodology in how to think and use and operate your SLOs. Like, I believe it starts out with initiate, then-- which is initially like, oh, hey, I'm starting a project, getting buy-in, what's the general value prop of it.\n\nThen there's the discovery. You're actually working with an individual team and learning more about its service and starting to break down what are our customer user journeys. Where do they start? Where do they end from the customer experience, and then also from the end technical components that correspond to those users start and end bits as well?\n\nMaybe in doing that you realize that, hey, I can't measure when a button gets pressed in the UI, but I know when I receive the request from the service. Oh, hey, maybe you declare some level of telemetry debt there until you're actually able to get that additional measurement out into the UI, or that press on that mobile app, or something, until something then renders on at the end of the screen after that whole process or pipeline of things that happen to go off and produce it.\n\nAfter discovery, there is then design, which is then taking-- once we have identified what this customer user journey is, oh hey, let's start actually breaking it down and understanding what are the different ways in which we could slice this user journey up horizontally and vertically.\n\nSo when I think about horizontally, let's think about our e-commerce example from before. If we go and look at some data and realize all cart requests for my e-commerce website have five items or less and that represents 40% of our traffic, hey, we know we can achieve this result faster because there's less items, less thing for me to process in this cart.\n\nSo this is where it might be useful if you say first, oh, hey, my end-to-end customer journey for all cart checkout requests-- and I'm just making up numbers here, folks-- maybe we say, within 750 milliseconds, 99% of the time, all cart checkout requests are processed. That's our global end-to-end SLO for all our orders.\n\nBut then if you have five items or less, maybe we could be more performative. Maybe we say we could do a cart checkout request if you have five items or less in 250 milliseconds, four nines at a time. This is something that is much more expected user experience. I click, oh wait, it's done already. It's something they expect, and it's processed. Versus if you have larger items in your cart, it might take longer.\n\n**STEVE MCGHEE:** So the way that you phrase that, I thought, was really good, and it shows that you're comfortable with this stuff. Because, like, lots of times, when I talk to people who haven't done this before, they stumble over their definition of what they mean by good.\n\nAnd the way that you said, I want to hit a certain time with a certain type of request for some percentage of the time, you might even say, as measured over some window by means of log analysis or metrics, blah, blah, blah. Like, that sentence in English, that's the SLO, that's the big thing. And it allows us to be really-- it's like a poem kind of. It's like a way to express what it is that we want the system to achieve.\n\nThe other thing that I think is really great about these SLOs when they're-- especially when they're expressed fully like this, like if you leave out the part about, oh, we're going to get it from logs or from metrics or whatever, it's like, they also tend to be pretty implementation agnostic.\n\nAnd so, like, you can unwind or you can re-implement the whole back side of the system. And the statement can still be true. Like, sometimes I suggest people, like, write your SLOs before you do, like, a migration from the old system to the new system. And this is kind of just your assertion now. As long as you can assert the SLOs slots are still, like, valid and green, like, migration is gold-- or is good. Keep going. But who knows if people actually do that out there. So yeah, the SLO SDLC I think is great. Were there more steps that I cut you off on?\n\n**SAL FURINO:** Yeah, yeah, yeah, there were more steps there. And I actually wanted to dive a little bit more into design a little bit, too.\n\n**STEVE MCGHEE:** OK, good.\n\n**SAL FURINO:** Because, like, we talk about slicing horizontally, like, hey, it has something-- this certain use case measure end-to-end, but then there's also vertically as well. Oh, hey, there's different components in this with it. So this is where if you know, oh, hey, this message queue is in this, and it always is problematic. Let's just measure-- let's carry this whole end-to-end objective for 50 milliseconds.\n\nLet's assign budgets of that 750 milliseconds to each of these components. How performant would it need to be? And then give a part of that to the message queue. So we know when that's underperforming towards this part and how it's contributing to the larger part of that reliability journey. So that's something if people wanted to get more into measuring the health of the system. Hey, this is your opportunity to go off and do that, but you still need to have that same frame of reference of what is the actual thing we're delivering to our customer or users.\n\nAnd I think this is where, when we start talking about pulling in metrics and getting data, this is where, like, design and implementation go weave back and forth a little bit, because you need to instrument some metrics, you need to get some stuff together. So there's a little bit of arrows pointing to each other in that step in iteration back and forth between them until you get an SLO you actually can operate and use. And that's the next step of SLODLC, how to actually use this.\n\nAnd this is where you start setting up different action policies based upon your error budget triggers. So the three error budget triggers I generally like are percent error budget remaining, error budget burn rate, and time to error budget exhaust. There are many others out there, but those are the basics you could do a lot with.\n\nSo percent error budget remaining is essentially how much error budget do I have until it's all gone percentage-wise? Error budget burn rate is how much error budget am I using right now. And then the last one, the time to exhaust, this is-- combines the percent error budget remaining and the current error budget burn rate to give you an idea of how much time you have until it's all gone, so you know how much action you have, how much time you have to take a certain amount of actions before it's gone.\n\nSo let's maybe-- I just said some theory on you, so let's just maybe weigh in an example. So let's say we're doing a service migration, right? Let's say we're moving from service A to service B and from the legacy onto the new system. And we're measuring the user journey from going from A to B. And as you're doing it, you might-- as you're going off to switch over, you might look at and say, oh, hey, we're going to this release in the next couple days. How much error budget do we have remaining? Do we have enough air budget left? Do we have enough reputation? Have we burnt any reputation with our customers or users who used this recently that we need to be concerned about making this switch now?\n\nIf you go and look at it and say, oh, hey, we have 70% of our budget remaining, you're probably good. You're probably good to go push that new release or move that switch over that feature. If you have maybe 20% or 30%, maybe you should give pause. Maybe one action you take is you delay a couple days to regain your error budget you have. Or maybe you double on call or set up additional telemetry, or you stage your release more carefully if it's still something you have to ship and meet to that date. And this is where SLOs are a suggestion to what you should potentially do before you make that switch.\n\n**MATT SIEGLER:** So it's a real measure of cushion, like, actually business-based cushion rather than from the gut here.\n\n**STEVE MCGHEE:** Yeah.\n\n**SAL FURINO:** Exactly. Exactly. Instead of people-- it's putting math to people's guts. And when you start, actually make that new change to that flip over to that new system, that's when you start using the error budget burn rates. Hey, how much error budget is this new thing actually using right here, right now? If you notice, oh, hey, 0.5x burn rates. Oh, a little elevated, but generally probably OK, within budget. If we start seeing error budgets burn rates at 2, 3, 4, 5, 10X, like, oh gosh. Something's going wrong. We need to flip it back. Maybe we need to roll back or do something.\n\nAnd lastly, as well, the time to exhaust. If you notice stuff's been going on, but maybe you just have a slow burn effect. You're like, you see that maybe you're just hovering around like 1.5x burn rates and so forth, but you notice your time to exhaust is going off, and it's like, oh, wait, we have five minutes until all our error budget is gone. Maybe this is something you need to proactively just fall back anyway, because you know it's going to take you two or three minutes to flip over to the new service and have that propagated everywhere to your user base. So just do it proactively, just based upon how you know you're going to respond.\n\nSo this is like a lot in the operational step and actually using them and making decisions based upon these different triggers and taking different actions towards it. And I think some companies or some methodologies call these alarming or action. I think alarming is just one action-- sets of actions that people can take. There are several automated options and other things you could do. One I love is throwing a banner up on the page saying, oh, hey, some people have reported that there's been an issue with the system every time you have some reliability. So at least it starts getting ahead of some expectations. Like, oh hey, there might be a problem. Not just there normally isn't. And then the last step is a review step in the SLODLC. And that's just generally, hey, how do we take all of what we know and have and then iterate on it all together as a team, and using the framework they provide to help make better decisions about the reliability or unreliability of our services?\n\n**STEVE MCGHEE:** Nice.\n\n**MATT SIEGLER:** Wow, that was quite a journey. And to strain the metaphor beyond all reason of Moneyball, I'm going to throw you a pitch, a curveball that's so obvious, even you're going to hit it, you have no problem when you see this coming. So how has AI affected all of this, even the creation, the discovery, the writing, the analysis, any of this SLO creation, whatever? Just what's coming to mind? Everyone's talking about this. Everyone's talking-- thinking it's going to save us something. Have you seen this affect your work?\n\n**STEVE MCGHEE:** Can I give you an easy answer, Sal? Because I know the easy one, and I want to get in front of you. And then you have to come up with a hard answer.\n\n**SAL FURINO:** So I got a couple answers here, Steve.\n\n**STEVE MCGHEE:** OK, OK.\n\n**SAL FURINO:** If you want to go first, go for it. Go for it. It's your podcast.\n\n**STEVE MCGHEE:** I think the easy answer that you're going to use is the one that was a product that you already worked on, which was, I just want to say some words in English, and then you spit out you, LLM, will spit out, like, the code for me, the SLO for me. And that's a good one. Like, I'm not saying that's bad, but that one's already done. Like, I thought it was great that if you just want to use English up front and then translate it into, like, SLI parameters and stuff like that. I think that's a good one. But beat that. You can do better than me, though. What else you got?\n\n**SAL FURINO:** Oh, I think I can. Well, first off, I want to say that all content for this podcast has been 100% human-generated. I believe the only AI we use in producing this podcast-- this episode of this podcast was actually spellcheck in our preparation documents.\n\n**STEVE MCGHEE:** It's true.\n\n**SAL FURINO:** Besides that, everything else has been human-generated. And I just want to call that out that this podcast is all human.\n\n**STEVE MCGHEE:** I even ignored the spellcheck, Sal. So, like, there you go.\n\n**SAL FURINO:** There you go. Yeah, so with that in mind, I feel, hey, if you can describe your customer journey in such a way, would that be helpful? Absolutely, yes. But I think, first, you need to have that conversation, or at least that thought of what is my customer user journey? What is the service I'm actually providing to my users and stakeholders?\n\nAnd I'm not sure if an LLM can answer that for you. That's something that's inherently important to the users of your service, the humans or the other computers that call it. Eventually, you're going to get to a human that has an expectation of how well that has to perform. Hey, could that be in some docs or something? You have it trained on everything. Sure, you could go off and have it go off and find it. You could do that, yeah, but someone still had to write that doc first. Someone still had to understand what is that experience.\n\nSo something I've been thinking about, and this is kind of just an idea I want to put out into the world. And it comes up with the idea of analyzing trace data. And let's say if you have trace data for a certain product, so let's say within a namespace or a certain subset of all your trace data, we're focused on a certain product area.\n\nAnd if there was a way to go and consume all that trace data and tell me what is my user journey, what are some expectations, or what is the P99 or P90 experience for these customer journeys based upon volume, based upon time, based upon some other thing of the web of interactions of all this stuff, consume this information for me and tell me what those are. I think that's something in which I could do well.\n\nIt's using a lot of data. It's a lot of statistic points and statistical points, and it's very structured in what that is. That could be a very interesting idea for people to go off and pursue and understand it. I still would heavily encourage people to check the results here in there, but that could be potentially a useful way to do it.\n\nIn terms of the other stuff and actually setting the SLO itself, I think this is where I think-- I don't think you need an LLM or AI to tell you this. Like, regular stats are fine. That's what a lot of them are based upon. Like, that's just regular math we've been doing for what, the past 50 years or so with computers. Like, the math isn't rocket surgery. It's just trying to understand what it is.\n\nI know that statistics sometimes can be scary for people, like looking at all these different sigmas, sure, but it's still something that could be a bit useful there. And then, lastly, when we get to actions, something I would really be interested in is something called-- I've been calling like a mimic. If we think about it-- and I actually wrote a blog post with Niall Murphy on this and a few other folks called Digital Twin. It's the idea of having an LLM ready to go and trained on your data set already. So let's say I have a basic request response service here. So I get a JSON blob, and then I give some JSON back. And if I'm able to parse and understand this JSON, what's the template and what the different values here. And you have the LLM consistently trained on, hey, if I get these results, put these things in, this is generally the values I put out. Maybe you could have it step in and augment the system when you have an availability problem.\n\nYeah, it's going to be slower. Yes, it's going to be the trade-off of additional latency. But could you potentially serve up a request that's maybe somewhat useful to the customer that might be potentially wrong? Is that potentially better for your user and customer base than giving nothing at all? And this is something that I think is a very interesting idea in which people can maybe try to implement in the world.\n\nAgain, it's at a high cost, though. You have to train the LLM, you have to have it ready to go in order to solve this specific use case. So I think there might be potential other things like that, in terms of making-- training up models faster or more accurately and making them not hallucinate when given proper responses there. But I'm excited to see where that goes.\n\n**STEVE MCGHEE:** Cool. Well, thank you, Sal. This has been educational. No surprise there. People on the internet would like to hear more from you. Where should they look?\n\n**SAL FURINO:** Check me out on LinkedIn. I'm S. Farina on most socials. You could probably find me in most places like that. I'd also like to plug. I run like-- in New York City, where I'm based, I run a platform engineering meetup as well. So check that out as well. If you're local and you would like to go off and see it.\n\nAnd if you're really interested in Bloomberg, check us out. We do a lot of really cool tech stuff in the finance world. We have a lot of very interesting problems that people solved, and we worked together to go off and do it. And we have a bunch of engineers here. We have over 9,000 engineers. And I've always felt like Bloomberg is kind of like this hidden tech company out there that might not make it into all the fancy acronyms, but we do cool stuff. So come check us out.\n\n**STEVE MCGHEE:** All right. Thanks, Sal. Thank you as always, Matt. And--\n\n**MATT SIEGLER:** Thank you, Steve.\n\n**STEVE MCGHEE:** --I think that's it. Thanks a lot, guys. Until next time.\n\n**SAL FURINO:** Bye, so long. Let's SLO, everybody.\n\n**[MUSIC PLAYING]**\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 52857, "slov": 9664, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:46", "sha256": "b09469c4cd55038e055e3892bd6e89e09d2d6404c280d8f36e2599268691beee", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05/", "titulek": "The One With SLOs and Sal Furino", "h1": "The One With SLOs and Sal Furino", "popis": "In this episode, Sal Furino, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts Steve McGhee and Matt Siegler. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05"}, "headline": "The One With SLOs and Sal Furino", "description": "In this episode, Sal Furino, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts Steve McGhee and Matt Siegler. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.", "image": "https://kstatic.googleusercontent.com/files/3453efd182b835abd2dcca7bed9c16b5e456ab59e2a24b14847c7b7b1ab95bd8ec3e75e77b167a968fb3a44fe05ec40fe5a560112106941cd7150f067ff110f5", "author": [{"@type": "Person", "name": "Sal Furino"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With SLOs and Sal Furino"}], "markdown": "# The One With SLOs and Sal Furino\n\nIn this episode, **Sal Furino**, Customer Reliability Engineer at Bloomberg, discusses all things Service Level Objectives (SLOs) with hosts **Steve McGhee** and **Matt Siegler**. Together, they dig into what successful SLOs look like, how it relates to users, and how SLOs provide an effective framework for joint decisions about system reliability across product, engineering, and leadership teams.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to the Prodcast. This is Google's podcast about SRE and production engineering. I'm Steve McGhee. And who else is here today?\n\n**MATT SIEGLER:** I'm Matt Siegler.\n\n**STEVE MCGHEE:** Hi, Matt. You're back, excellent. We have a guest today from the big city, right? The Big Apple, I think it's called these days. Hello, guest. Who are you exactly? And what are you doing here?\n\n**SAL FURINO:** Hey, everybody, I'm Sal Furino. I'm a customer reliability engineer over at Bloomberg. And I love service level objectives. They're something I'm just really passionate about. And I'm really happy to be here on Google's Prodcast.\n\n**STEVE MCGHEE:** Awesome. Welcome, welcome, welcome. Bloomberg is a company that handles money or something, or helps people handle money, I think. What do you guys do there?\n\n**SAL FURINO:** So what we do is we provide a lot of financial information about the markets to the world. So if you like that stuff or you like news and media related to it, which is kind of expansive if you think about the various different commodities and different things that are out there, we cover a lot.\n\n**STEVE MCGHEE:** Would you say that computers are involved?\n\n**SAL FURINO:** Oh, yes.\n\n**STEVE MCGHEE:** OK, cool.\n\n**SAL FURINO:** Many, many computers are involved.\n\n**STEVE MCGHEE:** All right. Cool.\n\n**MATT SIEGLER:** Once in a while.\n\n**STEVE MCGHEE:** Excellent, excellent. So I think we're talking to the right people here. And so, you mentioned service level objectives. We like to call those SLOs. It's mostly funny for me because I live in a town called SLO (San Luis Obispo, CA) also. You know that. It's the best. I hope to move to Oslo someday just so that I can live in the other city that has SLO in it. I think that would be pretty cool. But if people are listening/watching to this and they don't know what an SLO is, what's your initial explanation to folks like, welcome to the world of SLOs? And have you met your new best friend?\n\n**SAL FURINO:** So that really depends on who the audience is, because I think I explain SLOs much differently to my family or other, let's call it, non-technical people than I do a technical person. So where would you like me to start first?\n\n**STEVE MCGHEE:** Well, I like to think that--\n\n**MATT SIEGLER:** What's our clique?\n\n**STEVE MCGHEE:** Yeah, Matt, who's our audience here? You tell me.\n\n**MATT SIEGLER:** You're an engineer. You work on the software system, you have customers, and you are concerned that they're happy, and you'd like to increase the happiness of your customers. And you want to do that in a structured way. And you've heard about this thing, and you think this might be a structured way to do that. Go ahead and lead them forward through this path.\n\n**SAL FURINO:** Yeah. So if you're an engineer and your team or someone or a team you're adjacent with produces software that people use, which I think should be most software systems out there, you should be familiar with something called telemetry or observability, that should be in most people's wheelhouse.\n\nSo if you think about what an SLO is, it kind of comes together with four things. First, there's an SLI, which, there's little debate about what an SLI actually is or isn't and so forth, if it's something that's a valid SLI, but let's just handwave all that away for just a second. And if you think of an SLI, you can think of it usually as a metric that's generated by some type of query. You're producing.\n\n**STEVE MCGHEE:** It's an indicator. The I is an indicator, for starters, right? So it's a metric. It's a thing that tells us something, right?\n\n**SAL FURINO:** Yes, exactly.\n\n**STEVE MCGHEE:** OK, go ahead.\n\n**SAL FURINO:** So after you have this indicator, you then have an objective, which is generally a value-- in my mind, it's a value that relates to the underlying metric at hand. So if we're talking about durations or latencies, these are-- be things like, I don't know, 500 milliseconds, 1 second, 5 seconds, et cetera, some unit of time.\n\nIf we're talking about maybe some type of availability. It might relate to some type of status code, such as HTTP status codes, for example. Like, maybe 200s are good, and maybe 400 or 500 are bad or something like that. It's some indicator of some bit of thing. So that was the second point.\n\nThen the third part is the target. The target is how often the SLI needs to meet its objective. This is usually expressed by some percentage value. And being that we're in Reliability, we love nines. I'm not sure why nines are like the thing for our industry, but they really are. Maybe we blame the telecoms for starting out with five nines or something. But some people generally say there's 1, 2, 3, 4, 5 nines of reliability, and so forth. And an example of one 9 would be 90% reliable, or two nines, 99, three nines, 99.9%, et cetera. Yeah.\n\nAnd then, lastly, we have the time window, which is how long the objective needs to meet its target. So these are things that could be a bit variable. They could be 15 minutes. They could be an hour. They could be a day. They could be 30 days. They could be 90 days, or a quarter. And there's different ways in which you can play around with time windows there.\n\nBut what's really neat, and remember where I said there was four things to SLO, there's actually a secret fifth.\n\n**STEVE MCGHEE:** Perfect.\n\n**SAL FURINO:** So when we get to that secret fifth thing there, it's an output of those other four. And that's something we like to call an error budget. And this is something that can generally be expressed by a sentence. Can I give a shout-out, actually, to somebody?\n\n**STEVE MCGHEE:** Sure, totally.\n\n**SAL FURINO:** Yeah. So, like, Fred Moyer, like, popularized this idea of expressing error budgets as a sentence when you put it all together. I think he gave that talk I think at Monitorama a few years back and such, and it explains it really nicely.\n\nSo let's take an example. So let's say we're an e-commerce website, right? Everyone has used-- has bought something online probably in the past 10 years or so. Something that's really important for e-commerce websites is how long it takes to process your order to check out your cart. So this is something that if you do all this work, building all the carts, shopping, all the stuff, and then I'm trying to give you money, and you cannot take in that money and process it fast enough, I might leave and abandon that cart, and you lose out on a sale or revenue. It's critically important to that business. It's an important customer-user journey.\n\nAnd let's say for that example, we say a good experience for cart checkout is 500 milliseconds. And we want this to happen 99.9% of the time, three nines. And we were concerned about this over a rolling one-day window. When you put all that together, you could express the error budget as saying our error budget is 0.1% of traffic over a previous 24 hours is allowed to take longer than 500 milliseconds for cart checkout requests. So it's a different way of framing the amount of reliability or unreliability in which your service can tolerate.\n\nAnother way to think about this as well is how bad do we have to be in order for us to lose reputation with our key customers, users, or stakeholders of this capital S service?\n\n**STEVE MCGHEE:** How bad is too bad? Yeah, When should we step in? Like, is it cool if it's burning a little bit? Does it have to burn a lot? Like, when do we really care? Because, I mean, the other option is, like, Sal, why don't we just, like, pretend it's perfect all the time? Like, let's just. Let's just aim for 1,000,000%. Like, that's a number, right?\n\n**SAL FURINO:** Right, yeah. So I guess you could potentially be 100% reliable, but then that's going to be extremely limiting. That's extremely limited. You're probably going to have a system in which you don't make much changes, stuff that's very static. You're probably going to be, like, triple or quadruple redundant on different things there, and sensing failure--\n\n**STEVE MCGHEE:** Sounds expensive.\n\n**SAL FURINO:** --and sensing and predicting failover. It's really expensive, really costly, and probably doesn't fit your operational model if you're in a competitive space. So, once you start accepting that you're going to fail or you're not going to be perfect for everybody all the time everywhere, then you can start accepting the idea of an error budget or an allowed amount of unreliability. And once you start accepting that idea, you can start coming to think about it as, hey, how much unreliability can we use and play with in order to make experiments and to better understand how our users are using our system and how they're experiencing it.\n\n**MATT SIEGLER:** So you've set some of these SLOs. Let's say you have one or two of these, and you've decided around, you eyeball these. I think this is a good target. I don't know. Your business leader is like, “sounds good”. 99% of people will be happy because within a half a second, it gets pushing. “Buy” actually gets me a “bought”.\n\nLet's just imagine I have 99% click buy actually results in the thing getting bought. I think that's not a bad target. Actually, that sounds pretty terrible. 99% is probably not nearly enough. But my running a teeny little shop, and it sounds good to me. And I have another one, which is, I don't know, my website actually is there 99% of the time. And when they come to open the store, it doesn't, like, just crash immediately upon loading.\n\nThese sound like good starting points. What are the things we can do now that we've put these there on the ground? We have a website. We have them in the-- and you described a budget. What can we do now that we have these in place? What does this allow us to do?\n\n**STEVE MCGHEE:** Yeah, that we couldn't do before.\n\n**MATT SIEGLER:** Yeah, right. We were just kind of guessing. Now we have a thing to measure, and it's telling us a story. What has this story allowed us to do with some control?\n\n**SAL FURINO:** You mentioned, I think, the two most popular SLOs. And they're probably like the entry-level ones, which I feel are really good, and people are starting to get ideas or accustomed to the idea of SLOs and reliabilities and error budgets. And those are around availability and latency.\n\nLike, it can generally be summed up as, like-- I was talking with Hidalgo recently, and he mentions that there's only really two SLIs. Did we give the users what they want? And did it happen fast enough? But did we give them what they want, is like really, once you unravel that, it kind of gets into a rabbit hole of all the different ones, all the different SLOs that are out there.\n\nBut with those, I think they give you-- start giving you insights of are we successfully responding to customers when they give us a request and are we responding to it quickly enough or giving a response quickly enough? We're not just saying if it's correct yet. We're just saying a response, which is generally really important. So, like, you can think about it this way, if you see that your availability error budget is starting to burn, you're starting to burn some of your availability error budget.\n\nBut you see, your latency is completely fine. It might just be because it's faster to serve up a 500 than it is to serve up a proper 200 response to actually process an order correctly. So I think there's also some maturity that happens in understanding how your different metrics work together and leading you to troubleshoot an issue where it happens.\n\nSo let's go back to your example of that tea shop you mentioned. And let's say you start getting, like, funneled. You start to go viral. Great for business but probably terrible for your infrastructure structure for how it's set up. If you're just a small local tea shop, you have to be able to handle that load and scale it accordingly. So this is where there's other additional SLOs, such as those around saturation and understanding. What are the bottlenecks of your system, and where do they provide poor customer experience?\n\nSo maybe you're bottlenecked on, I don't know, disk I/O or network connections or some other way in which you have hard-to-fix limits based upon how you've architected your system, and you start measuring how you're doing towards meeting that capacity. And I will say, saturation SLOs are probably a deviation away from measuring the customer user experience and more so measuring the health of the technical system. But they still are important to know when and how to scale your systems effectively.\n\n**STEVE MCGHEE:** So this is all really good, Sal. Like understanding what these SLOs are for. And like, people talk about SLIs versus SLA, and it gets a little confusing. But like, it's been documented, and you gave a really good rundown here. And I was going to make a joke about, like, these are simple and, like, it's not like there's an entire book out there that explains this in full detail.\n\nBut, like, you mentioned Hidalgo a minute ago, that's Alex Hidalgo. He was the author of the SLO book, and he was a SRE at Google here. Like, we worked with him in the past. You've worked with him in the past too, right? Like he's a known entity out there. But, like, yeah, the point is, like, it sounds simple, it gets hard. Like, there is an entire book. That's kind of my point, I guess.\n\nBut, like, your role that I've seen you do in the past has been to help teams parse the book and, like, apply it to their lives. Like, how do you take the time, right, and then apply it to your daily ritual? Like, what's so hard about that? He says jokingly. Like, why is this hard-- like, do you have examples of what's hard or where teams have run into--\n\n**SAL FURINO:** Oh, so many examples.\n\n**STEVE MCGHEE:** You go, I'm sure you have a bunch. Yeah, yeah.\n\n**SAL FURINO:** So, let's actually maybe start it off first. And let's try to maybe step back just a little bit and talk about trying to explain SLOs to non-technical people. And this is sometimes I think making them more relatable to people in everyday experience makes it a little bit easier.\n\nSo let's say, for example, you're going out to lunch. If you go out to lunch and you're going to sit down at a restaurant and so forth, you might have different expectations of what level of service you want to get. If you're going over to the local cart in the corner-- I'm in New York City, so there's carts everywhere-- you might have different expectations than if you're going to a popular deli or the local market that has a sushi deal or something that has a long line.\n\nThese are different expectations you have around visiting and interacting in these places in your day-to-day life. You also have maybe different expectations of how quickly you will be served. So let's say we go, for example, to the local diner. It's hot outside. I want to go inside and actually sit down in some air conditioning. I sit down, I get served, and I place an order for a cup of soup.\n\nA cup of soup, you know they're not out there like boiling the water and chopping the vegetables and putting it all together, making it to order. No, the soup is already there and prepared. You got to generally just ladle it out, put it on a bowl, maybe do a little touch-up, a little zhuzh, or something, and then go and push it out to you. Versus if you go and order a well-done steak, you know it's going to take much longer to prepare.\n\nSo there's some things, based upon the nature of your order, nature of your request, you have different expectations of how long they will take to get to you. Likewise as well, if you go there and it's dead and it takes a very long time, versus if you go there and it's completely busy, it's kind of just more expected that, oh, hey, you're going to wait. It's going to take more time for you to get on queue. So I try to phrase it in that kind of sense to people.\n\n**STEVE MCGHEE:** It's about meeting expectations, right? It's less about the absolute value of it. Was it fast? And fast is always good. It's like, what did I expect, and did I meet or beat it, right? That's important.\n\n**SAL FURINO:** Let's take an example, like, if I ordered a well-done steak and it got out to me really quick and I cut it open and then I see it's medium rare. Well, first off, I think that's the proper way to eat a steak. That's my opinion. But someone who actually had that well-done order would probably be upset because, oh, hey, yes, it was fast, but it wasn't what I wanted. It wasn't that right specification.\n\n**STEVE MCGHEE:** So it's like we would call that correctness or quality, right? Like, it was on time and it arrived, but it wasn't actually right. It wasn't what we asked for. So it didn't meet our expectations.\n\n**MATT SIEGLER:** It sounds like your latency-- sounds like you're highly available-- sorry. It sounds like your latency availability trade-off you mentioned earlier. Like, we served it really quickly, but it was the wrong thing. OK, there you go.\n\n**SAL FURINO:** Well, that wouldn't really be so much availability and latency. Availability would be like, oh, I want to place my order, and the wait staff hasn't came to my table yet, and I'm trying to flag them down.\n\n**MATT SIEGLER:** OK, OK.\n\n**SAL FURINO:** I think that's more akin to availability. Getting the wrong temperature on your steak or maybe the wrong item go to your table, that's more something we would call data correctness in terms of SLIs.\n\n**MATT SIEGLER:** OK. Thank you for clarifying that.\n\n**SAL FURINO:** Yeah, yeah, yeah. And all these examples, I actually gave an internal lightning talk around, like an introduction here at Bloomberg around SLOs. And I related them all to holiday seasons and the different expectations people have of getting together around Thanksgiving and how they all work together in this system and different expectations people have of having, let's call it, a family gathering.\n\nAt the end of the day, I like this approach, though, in explaining it to engineers so they understand and put the person and the customer or the user forefront and first. That is the most important thing with SLOs. I gave a talk at SREcon, and I led it off, with the first item being to measure what matters to your users. Don't measure like CPU utilization or disk I/O. That rarely is an important or useful SLI for your SLOs. It's much better to try to come up with proxies of the user or customer experience and start measuring that.\n\n**STEVE MCGHEE:** I like to joke with folks that traditionally yield the metrics included, like the temperature of the CPU. And like, at the end of the day, like, I don't care how warm your computer is. Like, what does that have to do with customer happiness? Like, absolutely nothing. And so this is like an obviously silly example. But there's still teams out there that are measuring disk fullness in a SAN where there are many disks that are redundant to each other. Like, what are we doing, guys?\n\nBut like, this is, I think, the kind of gold like core of SLOs is that they're meant to be user-centric, right? Like customer-centric and not about the tech itself, but about, like, is the whole system working. Is that something that you think people get? Or is it a matter of not getting it but actually applying it? Like, where is the disconnect, or where's the struggle when it comes to this?\n\n**SAL FURINO:** So I'm going to answer that in a second, but I'm going to take us on a little detour. So you mentioned two SLIs there. Let's call it the temperature of the device and also the disk being full. I'll say the temperature device. If you're on mobile or providing a small device-oriented experience to your user base, they can have expectations on how hot that thing is running--\n\n**STEVE MCGHEE:** Oh, yeah. That's true.\n\n**SAL FURINO:** --your device. So, like, if you're coding for mobile and I notice my phone's getting really hot every time I use this app, I might want to use it sparingly in the future. Likewise, if it's always draining my battery or using a bunch of data, there's some exceptions to these rules that were coming in place. like based upon your instance, that in which they're being applied to.\n\nSo this is where it starts, like, oh, hey. Yeah, they're really simple. But wait, wait, wait, hold on. Where does this iceberg end? It keeps getting, like, wider and wider and deeper. And likewise, your example with the SAN and the disk filling up. Hey, if I'm an application team, absolutely correct.\n\nBut if I'm the storage team in terms of providing storage service towards everyone else to use. Oh, hey, no, maybe I should be watching these, how our repertoires are doing and how much things are filling up, and how quickly the rate of-- the throughputs or rates are going for that. So I feel this is almost like there's always exceptions to the rules. So when we talk about these things generally, of course, there's always caveats here and there, but I would try really to think about what is my core user or customer experience I am providing.\n\nSo now let's take it back to your question you actually asked, and that is do infrastructure teams or do engineering teams sometimes struggle to figure out what is that user-customer experience? And I would say absolutely. This is common across the industry.\n\nThere was-- I think it was in the DevOps DORA report in 2023. They had a quote in there. There was something to the effect of engineers generally measure the health of the technical system and not the happiness of its users. And that's just a trend across the industry. And that's something that a lot of people struggle with.\n\nAnd I feel it's because a lot of engineering teams sometimes don't have a product person there to think about it. They generally think about mostly of this whole Rube Goldberg machine of services and things working together. And they're concerned about the machine and the health of it.\n\nThey think-- actually, I'm going to give a call back to Star Trek. One of the most famous episodes. Was it Trials and Tribbles? Where they have all the tribbles are exploding in population on the space station, and so forth. And Scotty gets, like, upset when they insult the ship and not the ship's captain.\n\nAnd I feel, like, this is where engineers are, they have pride in the things they go off and build, and they generally don't think about how they're used or applied. And this is, I think, just something we kind of have to get over as a whole.\n\nIf you're an engineer and you're not measuring your happiness of your users and people using your system, and you're just measuring the health of the system you built, what are you doing? You need to step up your game, and you need to think back of what does it truly mean to be an engineer.\n\nIf you're an engineer and people want to go and cross a river, you shouldn't be handing them a book on how to build a boat. You should build them a bridge to get over it to make it easier for them to walk. So in my mind that's, I think, more like an ethos of what an engineer is. We're making things easier for people, and you need to keep your people in mind of who you're engineering them for.\n\n**MATT SIEGLER:** OK. So with that in mind, let's suppose you've approached a team. Let's imagine you're the oracle. You show up with this team and you've given them the philosophy you just gave us. And you said, all right, I want you to take this approach. I want you to speak for the users. You've stepped up their product game.\n\nYou've got them to build a good amount. Will get to the question of how many is the right amount of SLOs. They have good SLIs. They're measuring them, they're acting upon them. And now the devs are going, man, I feel like these things are there and I don't really understand what they're for. And they're kind of getting in my way.\n\nAnd there's now a back and forth between these two teams, where the devs are like, I feel like I'm being held accountable to these SLOs, but they're not what I do every day. And there's another team kind of defending and responding to them and going back to the devs, and I feel these two camps exist now in this organization.\n\nNow, how do you build a healthy relationship between these two camps, between the SREs that are working with the SLOs and the devs that are working on the features, so they work together so they feel comfortable and they feel like they're on the same team going in the same direction? Because I feel that is some of the cultural stuff that kind of exists in the friction that exists or could exist if you don't. So talk a bit about building healthy ecosystems with those.\n\n**SAL FURINO:** At the end of the day, SLOs are a framework to have joint decisions about the reliability or unreliability of your systems. These are-- you need to have product engineering and leadership involved in making, creating, implementing, tweaking, tuning, adjusting, reviewing these SLOs. Otherwise that means that you really just have sparkling KPIs. They are a team thing that everyone must work together to implement and care and feed towards it.\n\nI'm not saying the SLOs we create today are the ones we use tomorrow. Not at all. Like SLOs are living, breathing things that if it's not providing value, it's not useful, kill it off and move on, and try something else, try something new. If there is some stuff that is really important, keep it around and maybe you just have to adjust some targets or some objectives in order to get that additional value in which you seek from it in order to get better burn rate alerts or other percent error budget remaining stuff as well. Like there's various triggers in which you can use together to help make an informed, more useful decision.\n\nAnd I also feel that, based upon your persona of these different teams and things involved, you're going to be looking at slightly different SLOs, but maybe have the same SLI and objective. The thing you're changing about them now is the time windows. I feel the time windows for people maybe responding to incidents. So these are production engineers or these are SREs or people who are generally on call are probably things in the shorter time windows. There's probably like the 1-hour to 48-hour window kind of range.\n\nIf you're in the app or dev team, maybe you're something more concerned or something more aligned to weekly or sprints-- aligned to your sprints and what you're doing. If you're in product or leadership, maybe you want something more monthly or quarterly based, and maybe not even rolling at that point. Maybe you want them to be calendar-aligned because that's how you think and talk about the reliability and unreliability of your services.\n\n**STEVE MCGHEE:** Yeah. I've heard SLO described as the lingua franca between teams or like sort of jokingly as like Latin in the dark ages. It was the way that you spoke between countries is like through your-- people who could speak this one weird language that was, like, common between your different countries, but basically I like the lingua franca better, in that it's like the interface language between two worlds.\n\nAnd so, like, we talk about both the numbers in the infrastructure and the data with the numbers part. And we also talk about the users and the happiness in the same sentence. And also, like, they tend to be based on facts that are, like, in a dashboard on-- a graph on a dashboard that we can-- both teams can look at the same time and be like, oh yeah, it is above the number that we said it shouldn't be above, or whatever.\n\nBut I really like your point about looking at different timelines for different teams. So, like, if I'm on call and I'm getting paged and I have to do a thing, I tend to care about, like, what has just happened recently and what I can do next. But if I'm the CEO, I'm looking at, like, yeah, quarterly revenue. Those are very different time scales. And you could potentially use a similar, if not the same, type of number to compare, are things OK right now on different timescales. So that's a great point.\n\n**SAL FURINO:** Yeah. I also like to think about it as well. If you have trouble figuring out what these different personas are, thinking about it as the different actions people take to the reliability and unreliability of the system. People who are on call, they're more here and now, they're logged into production. They go off and do things. People who make features or think about new ways in which people can use the system, they think about in generally longer timescales than the next one or two days, at least, maybe, hopefully. I don't know.\n\nIf you're thinking about more of like, oh wait, this third-party service we're using is part of this critical customer journey, and they're contributing largely to unreliability. Wait, do we have to change vendors or do something different here? These are at different levels of the organization. They think about things and solve problems at different time scales.\n\nSo, like, this is something where when you're designing your SLOs, you need to think about designing them towards the persona who will be using them and taking action to do something with them. And I know this is like a whole lot, and this is why--\n\n**STEVE MCGHEE:** Yeah, yeah it's a big topic.\n\n**SAL FURINO:** It is probably why I have a job, to actually help break this down and understand and break it up into all these different areas. And this is starting to get where my job as a CRE, a Customer Reliability Engineer, is almost sometimes, at times, like being more of a couples therapist in a way, just trying to coordinate between these different personas, these different teams.\n\nAnd especially if we talk about user journeys that are shared between multiple teams. There's team and team B, hey, how do we both contribute towards our larger customer journey? What do we share? What do we take apart separately? And how do we both contribute towards achieving the end customer experience?\n\nAnd the goal at the end of this is to avoid finger pointing and more of just both of us working together and agreeing that these are reasonable.\n\n**STEVE MCGHEE:** Nice. Let me ask you a question more specific to your current role. Or in general, like, in finance versus any other like a vertical or industry or whatever, like how do you see-- or how have you seen SLOs present themselves in that world that might be different from other industries, or it might be more uniquely interesting, or something like that?\n\n**SAL FURINO:** So before joining Bloomberg, I was working at a startup that had a lot of interface to a lot of business consumers and business to business customers. But now that Bloomberg, we're essentially a business to business enterprise. People need to spend a fair bit of money to buy a Bloomberg license and to use the Bloomberg terminal and the wealth of information it provides. So it's not just like, oh, hey, I just give you my email and then I could go off and use this thing. So there are different expectations and how that software needs to perform and what it needs to do for people at different times of day.\n\n**STEVE MCGHEE:** Yeah. So we're back to expectations. Like that helps you describe what those SLOs are going to be. And if your expectations are different, you're going to write different SLOs.\n\n**SAL FURINO:** So when we talk about some differences between business to business versus business to consumers, if you're somebody like Google, you have a lot of business to consumer activity, you have a lot more traffic, a lot more data points flowing in day in and day out. I'm sure it probably follows some type of shape based upon daylight hours, or something like that, based upon where your general user population is on the world.\n\nAnd, I think, in finance that's maybe a little bit more different. There's a lot more concern around when your business users, your actual customers, are using it and not so much at other times. Are those other times still important? Yes, absolutely. And they do inform your SLOs, but there's some different additional steps in which people need to take there. And I think it gets all back to what's the expectations of your user base, where are they located, when are these things happening, and understanding that. Once you understand that, you can better understand the different volumes of your service predictions and stuff like that.\n\n**STEVE MCGHEE:** Yeah, I used to run two very different services at the same time. I was in charge of Android mobile stuff and then YouTube stuff at the same time. And it was a joke that we could, on a global, one or two-day long graph, you could see the Pacific Ocean like that was the joke, because you could always see there's this dip where no one's awake.\n\nBut the funny thing was, in these two services, the ocean was in a different place because people are using their phones to do phony things-- phone things during some part of the day, and then they're watching YouTube at different parts of the day. And so, it was all shifted by two times zones or something like that.\n\nSo it was very, very funny. Like it's even within the same company and the same infrastructure, even a different application within the same product, often you'll have just different trends like this that you have to be aware of. And so you got to be really careful not to just copy and paste SLOs and values and time expectations and things like that over time.\n\nThat brings me to my last section. And you hinted at this before, which is when you said our SLOs today might not be our SLOs tomorrow. So like, there's got to be, like, a life cycle of this stuff of, like, you got to-- I'm guessing that you get better at this with time. And maybe you start out by making too few or too many, or too precise or too broad, or something like that. And then you just see what fits. Am I right in assuming that's how things work in the wild? Or do people just nail it the first time out?\n\n**SAL FURINO:** Oh, very rarely do people nail it the first time out. I still don't even nail it the first time out. And that's the beauty of them. They are living, breathing things. And this is where myself and a few others collaborated in creating something called SLO DLC. That's slodlc.com. And that's a whole methodology in how to think and use and operate your SLOs. Like, I believe it starts out with initiate, then-- which is initially like, oh, hey, I'm starting a project, getting buy-in, what's the general value prop of it.\n\nThen there's the discovery. You're actually working with an individual team and learning more about its service and starting to break down what are our customer user journeys. Where do they start? Where do they end from the customer experience, and then also from the end technical components that correspond to those users start and end bits as well?\n\nMaybe in doing that you realize that, hey, I can't measure when a button gets pressed in the UI, but I know when I receive the request from the service. Oh, hey, maybe you declare some level of telemetry debt there until you're actually able to get that additional measurement out into the UI, or that press on that mobile app, or something, until something then renders on at the end of the screen after that whole process or pipeline of things that happen to go off and produce it.\n\nAfter discovery, there is then design, which is then taking-- once we have identified what this customer user journey is, oh hey, let's start actually breaking it down and understanding what are the different ways in which we could slice this user journey up horizontally and vertically.\n\nSo when I think about horizontally, let's think about our e-commerce example from before. If we go and look at some data and realize all cart requests for my e-commerce website have five items or less and that represents 40% of our traffic, hey, we know we can achieve this result faster because there's less items, less thing for me to process in this cart.\n\nSo this is where it might be useful if you say first, oh, hey, my end-to-end customer journey for all cart checkout requests-- and I'm just making up numbers here, folks-- maybe we say, within 750 milliseconds, 99% of the time, all cart checkout requests are processed. That's our global end-to-end SLO for all our orders.\n\nBut then if you have five items or less, maybe we could be more performative. Maybe we say we could do a cart checkout request if you have five items or less in 250 milliseconds, four nines at a time. This is something that is much more expected user experience. I click, oh wait, it's done already. It's something they expect, and it's processed. Versus if you have larger items in your cart, it might take longer.\n\n**STEVE MCGHEE:** So the way that you phrase that, I thought, was really good, and it shows that you're comfortable with this stuff. Because, like, lots of times, when I talk to people who haven't done this before, they stumble over their definition of what they mean by good.\n\nAnd the way that you said, I want to hit a certain time with a certain type of request for some percentage of the time, you might even say, as measured over some window by means of log analysis or metrics, blah, blah, blah. Like, that sentence in English, that's the SLO, that's the big thing. And it allows us to be really-- it's like a poem kind of. It's like a way to express what it is that we want the system to achieve.\n\nThe other thing that I think is really great about these SLOs when they're-- especially when they're expressed fully like this, like if you leave out the part about, oh, we're going to get it from logs or from metrics or whatever, it's like, they also tend to be pretty implementation agnostic.\n\nAnd so, like, you can unwind or you can re-implement the whole back side of the system. And the statement can still be true. Like, sometimes I suggest people, like, write your SLOs before you do, like, a migration from the old system to the new system. And this is kind of just your assertion now. As long as you can assert the SLOs slots are still, like, valid and green, like, migration is gold-- or is good. Keep going. But who knows if people actually do that out there. So yeah, the SLO SDLC I think is great. Were there more steps that I cut you off on?\n\n**SAL FURINO:** Yeah, yeah, yeah, there were more steps there. And I actually wanted to dive a little bit more into design a little bit, too.\n\n**STEVE MCGHEE:** OK, good.\n\n**SAL FURINO:** Because, like, we talk about slicing horizontally, like, hey, it has something-- this certain use case measure end-to-end, but then there's also vertically as well. Oh, hey, there's different components in this with it. So this is where if you know, oh, hey, this message queue is in this, and it always is problematic. Let's just measure-- let's carry this whole end-to-end objective for 50 milliseconds.\n\nLet's assign budgets of that 750 milliseconds to each of these components. How performant would it need to be? And then give a part of that to the message queue. So we know when that's underperforming towards this part and how it's contributing to the larger part of that reliability journey. So that's something if people wanted to get more into measuring the health of the system. Hey, this is your opportunity to go off and do that, but you still need to have that same frame of reference of what is the actual thing we're delivering to our customer or users.\n\nAnd I think this is where, when we start talking about pulling in metrics and getting data, this is where, like, design and implementation go weave back and forth a little bit, because you need to instrument some metrics, you need to get some stuff together. So there's a little bit of arrows pointing to each other in that step in iteration back and forth between them until you get an SLO you actually can operate and use. And that's the next step of SLODLC, how to actually use this.\n\nAnd this is where you start setting up different action policies based upon your error budget triggers. So the three error budget triggers I generally like are percent error budget remaining, error budget burn rate, and time to error budget exhaust. There are many others out there, but those are the basics you could do a lot with.\n\nSo percent error budget remaining is essentially how much error budget do I have until it's all gone percentage-wise? Error budget burn rate is how much error budget am I using right now. And then the last one, the time to exhaust, this is-- combines the percent error budget remaining and the current error budget burn rate to give you an idea of how much time you have until it's all gone, so you know how much action you have, how much time you have to take a certain amount of actions before it's gone.\n\nSo let's maybe-- I just said some theory on you, so let's just maybe weigh in an example. So let's say we're doing a service migration, right? Let's say we're moving from service A to service B and from the legacy onto the new system. And we're measuring the user journey from going from A to B. And as you're doing it, you might-- as you're going off to switch over, you might look at and say, oh, hey, we're going to this release in the next couple days. How much error budget do we have remaining? Do we have enough air budget left? Do we have enough reputation? Have we burnt any reputation with our customers or users who used this recently that we need to be concerned about making this switch now?\n\nIf you go and look at it and say, oh, hey, we have 70% of our budget remaining, you're probably good. You're probably good to go push that new release or move that switch over that feature. If you have maybe 20% or 30%, maybe you should give pause. Maybe one action you take is you delay a couple days to regain your error budget you have. Or maybe you double on call or set up additional telemetry, or you stage your release more carefully if it's still something you have to ship and meet to that date. And this is where SLOs are a suggestion to what you should potentially do before you make that switch.\n\n**MATT SIEGLER:** So it's a real measure of cushion, like, actually business-based cushion rather than from the gut here.\n\n**STEVE MCGHEE:** Yeah.\n\n**SAL FURINO:** Exactly. Exactly. Instead of people-- it's putting math to people's guts. And when you start, actually make that new change to that flip over to that new system, that's when you start using the error budget burn rates. Hey, how much error budget is this new thing actually using right here, right now? If you notice, oh, hey, 0.5x burn rates. Oh, a little elevated, but generally probably OK, within budget. If we start seeing error budgets burn rates at 2, 3, 4, 5, 10X, like, oh gosh. Something's going wrong. We need to flip it back. Maybe we need to roll back or do something.\n\nAnd lastly, as well, the time to exhaust. If you notice stuff's been going on, but maybe you just have a slow burn effect. You're like, you see that maybe you're just hovering around like 1.5x burn rates and so forth, but you notice your time to exhaust is going off, and it's like, oh, wait, we have five minutes until all our error budget is gone. Maybe this is something you need to proactively just fall back anyway, because you know it's going to take you two or three minutes to flip over to the new service and have that propagated everywhere to your user base. So just do it proactively, just based upon how you know you're going to respond.\n\nSo this is like a lot in the operational step and actually using them and making decisions based upon these different triggers and taking different actions towards it. And I think some companies or some methodologies call these alarming or action. I think alarming is just one action-- sets of actions that people can take. There are several automated options and other things you could do. One I love is throwing a banner up on the page saying, oh, hey, some people have reported that there's been an issue with the system every time you have some reliability. So at least it starts getting ahead of some expectations. Like, oh hey, there might be a problem. Not just there normally isn't. And then the last step is a review step in the SLODLC. And that's just generally, hey, how do we take all of what we know and have and then iterate on it all together as a team, and using the framework they provide to help make better decisions about the reliability or unreliability of our services?\n\n**STEVE MCGHEE:** Nice.\n\n**MATT SIEGLER:** Wow, that was quite a journey. And to strain the metaphor beyond all reason of Moneyball, I'm going to throw you a pitch, a curveball that's so obvious, even you're going to hit it, you have no problem when you see this coming. So how has AI affected all of this, even the creation, the discovery, the writing, the analysis, any of this SLO creation, whatever? Just what's coming to mind? Everyone's talking about this. Everyone's talking-- thinking it's going to save us something. Have you seen this affect your work?\n\n**STEVE MCGHEE:** Can I give you an easy answer, Sal? Because I know the easy one, and I want to get in front of you. And then you have to come up with a hard answer.\n\n**SAL FURINO:** So I got a couple answers here, Steve.\n\n**STEVE MCGHEE:** OK, OK.\n\n**SAL FURINO:** If you want to go first, go for it. Go for it. It's your podcast.\n\n**STEVE MCGHEE:** I think the easy answer that you're going to use is the one that was a product that you already worked on, which was, I just want to say some words in English, and then you spit out you, LLM, will spit out, like, the code for me, the SLO for me. And that's a good one. Like, I'm not saying that's bad, but that one's already done. Like, I thought it was great that if you just want to use English up front and then translate it into, like, SLI parameters and stuff like that. I think that's a good one. But beat that. You can do better than me, though. What else you got?\n\n**SAL FURINO:** Oh, I think I can. Well, first off, I want to say that all content for this podcast has been 100% human-generated. I believe the only AI we use in producing this podcast-- this episode of this podcast was actually spellcheck in our preparation documents.\n\n**STEVE MCGHEE:** It's true.\n\n**SAL FURINO:** Besides that, everything else has been human-generated. And I just want to call that out that this podcast is all human.\n\n**STEVE MCGHEE:** I even ignored the spellcheck, Sal. So, like, there you go.\n\n**SAL FURINO:** There you go. Yeah, so with that in mind, I feel, hey, if you can describe your customer journey in such a way, would that be helpful? Absolutely, yes. But I think, first, you need to have that conversation, or at least that thought of what is my customer user journey? What is the service I'm actually providing to my users and stakeholders?\n\nAnd I'm not sure if an LLM can answer that for you. That's something that's inherently important to the users of your service, the humans or the other computers that call it. Eventually, you're going to get to a human that has an expectation of how well that has to perform. Hey, could that be in some docs or something? You have it trained on everything. Sure, you could go off and have it go off and find it. You could do that, yeah, but someone still had to write that doc first. Someone still had to understand what is that experience.\n\nSo something I've been thinking about, and this is kind of just an idea I want to put out into the world. And it comes up with the idea of analyzing trace data. And let's say if you have trace data for a certain product, so let's say within a namespace or a certain subset of all your trace data, we're focused on a certain product area.\n\nAnd if there was a way to go and consume all that trace data and tell me what is my user journey, what are some expectations, or what is the P99 or P90 experience for these customer journeys based upon volume, based upon time, based upon some other thing of the web of interactions of all this stuff, consume this information for me and tell me what those are. I think that's something in which I could do well.\n\nIt's using a lot of data. It's a lot of statistic points and statistical points, and it's very structured in what that is. That could be a very interesting idea for people to go off and pursue and understand it. I still would heavily encourage people to check the results here in there, but that could be potentially a useful way to do it.\n\nIn terms of the other stuff and actually setting the SLO itself, I think this is where I think-- I don't think you need an LLM or AI to tell you this. Like, regular stats are fine. That's what a lot of them are based upon. Like, that's just regular math we've been doing for what, the past 50 years or so with computers. Like, the math isn't rocket surgery. It's just trying to understand what it is.\n\nI know that statistics sometimes can be scary for people, like looking at all these different sigmas, sure, but it's still something that could be a bit useful there. And then, lastly, when we get to actions, something I would really be interested in is something called-- I've been calling like a mimic. If we think about it-- and I actually wrote a blog post with Niall Murphy on this and a few other folks called Digital Twin. It's the idea of having an LLM ready to go and trained on your data set already. So let's say I have a basic request response service here. So I get a JSON blob, and then I give some JSON back. And if I'm able to parse and understand this JSON, what's the template and what the different values here. And you have the LLM consistently trained on, hey, if I get these results, put these things in, this is generally the values I put out. Maybe you could have it step in and augment the system when you have an availability problem.\n\nYeah, it's going to be slower. Yes, it's going to be the trade-off of additional latency. But could you potentially serve up a request that's maybe somewhat useful to the customer that might be potentially wrong? Is that potentially better for your user and customer base than giving nothing at all? And this is something that I think is a very interesting idea in which people can maybe try to implement in the world.\n\nAgain, it's at a high cost, though. You have to train the LLM, you have to have it ready to go in order to solve this specific use case. So I think there might be potential other things like that, in terms of making-- training up models faster or more accurately and making them not hallucinate when given proper responses there. But I'm excited to see where that goes.\n\n**STEVE MCGHEE:** Cool. Well, thank you, Sal. This has been educational. No surprise there. People on the internet would like to hear more from you. Where should they look?\n\n**SAL FURINO:** Check me out on LinkedIn. I'm S. Farina on most socials. You could probably find me in most places like that. I'd also like to plug. I run like-- in New York City, where I'm based, I run a platform engineering meetup as well. So check that out as well. If you're local and you would like to go off and see it.\n\nAnd if you're really interested in Bloomberg, check us out. We do a lot of really cool tech stuff in the finance world. We have a lot of very interesting problems that people solved, and we worked together to go off and do it. And we have a bunch of engineers here. We have over 9,000 engineers. And I've always felt like Bloomberg is kind of like this hidden tech company out there that might not make it into all the fancy acronyms, but we do cool stuff. So come check us out.\n\n**STEVE MCGHEE:** All right. Thanks, Sal. Thank you as always, Matt. And--\n\n**MATT SIEGLER:** Thank you, Steve.\n\n**STEVE MCGHEE:** --I think that's it. Thanks a lot, guys. Until next time.\n\n**SAL FURINO:** Bye, so long. Let's SLO, everybody.\n\n**[MUSIC PLAYING]**\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 52857, "slov": 9664, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:55", "sha256": "b09469c4cd55038e055e3892bd6e89e09d2d6404c280d8f36e2599268691beee", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06", "titulek": "The One with Startups and Adam Fletcher", "h1": "The One with Startups and Adam Fletcher", "popis": "In this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06"}, "headline": "The One with Startups and Adam Fletcher", "description": "In this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.", "image": "https://kstatic.googleusercontent.com/files/27348de0ae08d5a6ea07b1dd82eabd44eadd59e946eaeda85a5a6d5e06ad5f61006454463d07209b45425b487c899c2907c3dcb5b4444b6dfeea52a2519fa6a7", "author": [{"@type": "Person", "name": "Adam Fletcher"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Startups and Adam Fletcher"}], "markdown": "# The One with Startups and Adam Fletcher\n\nIn this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, welcome back, everyone, to the Prodcast. This is Google's podcast on SRE and production software. This is a fun one. We have a guest that actually was from way back. Adam, you helped start the Prodcast when it was strictly internal. I think it was you and John, right--\n\n**ADAM FLETCHER:** That's right, that's right.\n\n**STEVE MCGHEE:** --in the San Francisco office. And then we also have-- Matt is here with us. Hi, Matt. How's it going?\n\n**MATT:** Hello.\n\n**STEVE MCGHEE:** And I'm Steve, I should say that. I have a name also. Adam and I met in the San Francisco office at Google way back in the olden place. But I think you worked at other places before that and worked at different places since then. Is that true? That seems like a truth.\n\n**ADAM FLETCHER:** That's the rumor and also the truth. Yeah, I was at Google for a long time. I came over via the ITA Software acquisition. I'm wearing my ITA Software shirt, which is confusing.\n\n**STEVE MCGHEE:** That was the plane one, right?\n\n**ADAM:** Yeah, and makes the airplanes, yeah.\n\n**[LAUGHTER]**\n\nYeah, we made flight search and we made airline reservation systems. I was on the reservation system side. Google bought us largely for our flight search side but powers Google Flights to this day. I was out of the Cambridge office, moved out to San Francisco, where I did meet you, Steve. And this is 10 years, more than that? 12 years ago, 13 years ago?\n\n**STEVE MCGHEE:** I try not to count years.\n\n**ADAM FLETCHER:** Sure. It was-- yeah, yeah, back when we were both 21. And then we--\n\n**[LAUGHTER]**\n\nAnd then I was at Google for a long time, loved working at it, loved working with folks like Steve and Paul, who's-- you can't see him, but he's here, and all the folks over there, super smart group. Wanted to start my own company, so I left to start and build startups.\n\n**STEVE MCGHEE:** That's awesome. Adam gave a very good talk that I think is on the internet somewhere, which is about how flight search is actually complicated even though it doesn't feel like it should be. So I highly recommend checking that out if you have the means. We'll put it in the show notes or something like that.\n\nBut basically, there used to be a lot of Lisp and curly braces and stuff back in the day. And mainframes are real still to this day, I believe.\n\n**ADAM FLETCHER:** That's right.\n\n**STEVE MCGHEE:** My favorite take of yours is that the airline industry doesn't count nines because they have a 100 instead.\n\n**ADAM FLETCHER:** Yeah, that's right, that's right. They have 100% uptime, no nines.\n\n**[LAUGHTER]**\n\n**STEVE MCGHEE:** So it turns out it's possible, but only if you spend a lot, a lot, a lot, a lot of money and time and do a very limited set of things and have a huge amount of, I don't know, complications, redundancy, and plans and things like that. So it's a pretty cool background. But I'm guessing you don't do flight stuff anymore. Is that true, Adam?\n\n**ADAM FLETCHER:** Yeah, that's right. I left Google to build companies. And the first company I built was-- this was back before we had LLMs and we just talked about machine learning, which really was just fancy math.\n\n**STEVE MCGHEE:** Decades ago, I'm sure.\n\n**ADAM FLETCHER:** Decades, decades, and decades ago, hundreds of years ago. And did some stuff in the mobile space on that, built some real-time stream processing engines that were really neat and sold those to a security firm, did really cool threat intelligence security stuff for a while, which I loved.\n\nStarted another company that did called bit.io, which we did serverless Postgres. First to market serverless Postgres, everyone loves serverless things now and everyone loves Postgres. So that was super fun, did that for a bunch of years, bought by Databricks, worked at Databricks, left Databricks.\n\nAnd now I'm running a company called MarketStreet, where we are helping small business owners have a platform to communicate and collaborate on. So it's really far away from everything I've ever done. It's not infrastructure related.\n\nMy joke when I raised money this time was like, look, I shouldn't be allowed to make websites. I should only be allowed to make command line tools. But here I am making websites. So I don't know what happened. The world is topsy turvy and upside down.\n\n**MATT:** What's new making websites these days? It can't be any different.\n\n**STEVE MCGHEE:** Yeah, it shouldn't--\n\n**ADAM FLETCHER:** You just ask-- yeah, you ask an LLM to do it for you because you don't know how to do it. [LAUGHS] And you use-- there's, server-side TypeScript or something like that. There's Next.js and all those things. It's wild, the advances in the website technology.\n\n**STEVE MCGHEE:** I actually just did this the other day, Adam. I vibe coded my own personal website that I've been meaning to do for a long time. And I just was like, yo, computer, just search the internet for my name and videos of me and make a website for it. And it just did it. And it's just the framework--\n\n**ADAM FLETCHER:** It's amazing.\n\n**STEVE MCGHEE:** And I was like, OK, you say so.\n\n**ADAM FLETCHER:** You're like, I hope it works.\n\n**MATT:** I did it, too, Steve. It was great.\n\n**ADAM FLETCHER:** Really?\n\n[INTERPOSING VOICES]\n\n**MATT:** --website also, yeah.\n\n**ADAM FLETCHER:** The vibe coding thing is wild. I had to learn to think bigger. I used to give it-- I used to decompose in my head the problem and make an off page. And then it's like-- I'm like, maybe I should just ask it to make the whole thing. And then it just made the whole thing.\n\nAnd then I had to use every aspect of my years of experience to debug the problems that the LLM made and how to deploy it and how to launch it. It turns out SRE matters at that point because you're just left with a bunch of TypeScript that does-- then people start saying stuff like Docker or containers.\n\n**MATT:** I think it just hit on the first-- not in the wood here, which is cool. So a lot of great automation gets you something up from nothing. And then you take your wisdom to it. And you look a little closer and you're like, oh, wait, there's a lot-- something wrong here. There's a lot, right here, this is great, but-- and then a whole lot of buts.\n\nSo tell us how that's going. Where we are compared to where we were, say, five years ago is miraculous. And yet there's a whole lot of caveats. But you know some stuff, so tell us about this stuff.\n\n**ADAM FLETCHER:** Yeah, it's funny, I can give a real practical example. So we're building-- the stuff I'm building now involves a lot of data management to make sure our LLMs can say smart intelligent things. And the deployment of that-- what we would've call ETL directed acyclic graph execution stuff. We deployed it on Vercel because we used v0 to help build it. We use Cursor. We used Vercel.\n\nAnd then, I can't have long running background functions in Vercel. And this is something that I think if you don't know what all those words I just said mean and you don't know what to do, yeah, so I'm like, OK, well I'll switch over-- first, I thought it was my back end database provider.\n\nSo I switched those to a different one. And then the different one is like, you can't use async I/O against us. We blow up when you do that because we have 95 proxies in the way, and they are not transactional aware.\n\nSo then we moved again and then had to deploy on fly.io instead of Vercel for-- it's like a nightmare. And all those technologies are great. They significantly enhance you.\n\nIf you don't know what all that stuff is and have spent a long time and a career building that out, how do you interpret that? Even asking the LLMs, like pasting the async I/O, Postgres error into-- they're like, sorry, I don't know what to do. You get to a point where it just doesn't know. And there is a little specific--\n\n**STEVE MCGHEE:** Yeah, a lot of these platforms have these constraints in them, which is great. It helps them execute well. But if you don't understand what the constraint is, you don't really know what to ask for or how to-- more importantly, I guess, is how to interpret the “when it doesn't work” situation.\n\n**ADAM FLETCHER:** Yeah, I think that's a critical skill. And it's this interesting gap of like-- I don't know how people are going to get to that point. The actual infrastructure side is very challenging still unless you have these narrow guardrails that don't scale necessarily or they don't have all the things that you expect and want.\n\nI don't-- but on the flip side of that, I think from a startup perspective, in many ways, you don't care. If it works well enough and you get your minimum viable product out, you worry about those other problems later. And you can hire someone to solve them.\n\nSo I have a bit of a curse where I'm like, oh, I know how to solve that problem. I'll just dive in. And then two days go by and I'm like, why did I do that? But you have to, it has to work. And if you're building anything of significance, I think it matters.\n\n**STEVE MCGHEE:** Well, I know that sometimes SREs overfocus, I guess, on eliminating technical debt. But I believe a lot of-- tell me if I'm wrong, but a lot of startup work is ignoring technical debt. It's just powering through. And is this a problem in your SRE heart of hearts?\n\n**ADAM FLETCHER:** It was, initially. I'm much better about it now. But it did take a long time to learn. And now I call it swiping the credit card of technical debt. So you know that you're gaining-- you're accruing debt, and it has interest. You want that metaphor real strong in your head to know.\n\nBut there's nothing wrong with it. In a sense and in a startup, you're fighting for survival. So in a way, if it doesn't all work, you just declare bankruptcy and move on and all that technical debt goes away. Who cares?\n\nOr another way to say it is users matter more than perfect code and perfect-- in a way, you care more about product market fit than anything else and growth more than anything else. And so technical debt doesn't matter almost to the point where some aspects of security are like, yeah, I'm not doing this perfect. But I'm going to change that.\n\nBut you are swiping a credit card of technical debt because, if you become successful, if you find product market fit, you owe on that. And I think that's true in many cases. There are examples-- counter examples of that would be if you're building security software, if you're building or cryptography. You're doing stuff like that. Or bit.io, where we did databases, we have to have asset semantics. If you don't have asset semantics, people notice and they get mad. It is a tremendous thing or tremendously important thing.\n\nSo there are special cases where you're effectively selling reliability or security as part of your product. And that, of course, then you have to do it right. But when you're not, yeah, you have to learn to ignore all that stuff in some ways.\n\n**STEVE MCGHEE:** Yeah, I think just, to belabor the metaphor a little bit, if you're swiping the credit card of technical debt, it helps to understand that a thousand dollars of debt versus a million dollars of debt, what currency are we using? Is a million a lot? I'm not sure.\n\n**ADAM FLETCHER:** Yeah, no, that's a great point.\n\n**STEVE MCGHEE:** Is this debt that we're accruing-- is this something that we will be able to-- assuming that we do succeed, is this a thing that's just going to ruin us in post-acquisition or just before acquisition? It might be a little bit worse-- and things like that.\n\nSo maybe you have to have your eyes open about this debt in terms of being able to understand it, not just blindly swiping. But you still accept it. You still mark it on the table and move on, I guess.\n\n**ADAM FLETCHER:** 100%. I think part of that is that risk management and how it tactically applies. The flip side of that same metaphor is that you only have so many innovation tokens to spend. And you really want to be spending them on the things that get you product market fit and serve your users or serve your growth or whatever you're trying to do.\n\nAnd you don't want to spend it on moving your database and cloud provider 17 times over a weekend. And yet, that's what I did this weekend. So this is like a-- what is the expression of cobbler's? Their kids don't have shoes or whatever. I can't let go sometimes. That's the problem.\n\n**MATT:** So a second ago, you said this now market fit.\n\n**ADAM FLETCHER:** Mm-hmm.\n\n**MATT:** I don't know, I read an article about what people are using AI for in product ideation, the brainstorming process very early on in the infancy of a startup or even, before you get in that point, so just what do we want to build? Or what is this thing you have a kernel of?\n\nAnd before I even get a whole bunch of engineers in a room to make slides or even slap a bunch of code together, just start-- just have the AI concept a bunch of websites, make some ideas. And then you have the people with deep pockets look at those things and go, nah, I just-- I can't understand why you want to build this.\n\nAre you seeing now much faster iteration on discarding bad ideas before they get to engineers spent time on? Or are we now seeing things built a little more thoroughly?\n\n**STEVE MCGHEE:** Is it getting better or worse?\n\n**MATT:** Yeah, are we failing faster at bad ideas or are we building them out more thoroughly before we--\n\n**STEVE MCGHEE:** Are we DDoSing the VCs?\n\n**MATT:** Yeah, yeah, that's a good--\n\n**ADAM FLETCHER:** That's a great-- yeah. So I think my journey on this is a little different than some folks. There are founders and CEOs and entrepreneurs and stuff that are incredibly passionate about a specific product or problem, I should say. And those people are like-- they're like, my life is designed to fix health care or whatever.\n\nAnd I love those people. They're going to do their thing no matter what. I'm much more of a analyze the market, come up with a bunch of ideas during the brainstorming phase. Me and the person I built the first two companies with, we have a spreadsheet of 150 ideas.\n\nAnd we've been just building it for 10 years. And everything is on there. We have stuff-- great ideas, what I call great ideas like what if we had house blimps? What a great idea, right? And then obviously not-- yeah, ship it, ship it. Or practical ideas, like literally serverless Postgres was on there. And that's what we built.\n\nAnd then we just keep adding columns to these rows in the sheet that are all the exclusion or inclusion criteria. And why I bring this up now is that, what AI has really changed for us in the ideation phase-- or that idea maze is the cool startup kid way to say it these days-- is like, what is venture fundable?\n\nSo for us with AI, you can build so much faster with so many fewer engineers. And you can get to prototype phase and you can test if it works so much faster. That is great because you get to find out if you have product market fit, you get to do all these things in much cheaper and spend less money. But it also means that everyone else in the world has that ability also.\n\nSo your moat, the thing that protects your company or your idea, you need to find new moats than you previously had, was like we were just a bunch of smart technologists. And we built hard technology and wrote a lot of code. And that's our moat. It's our intellectual property, et cetera.\n\nBut now someone else can be like, yo, vibe code me Instacart. And they do. And the moat is a lot, lot, lot different these days. And so you have to find new aspects. With what I'm building now, the aspect is community and networking between people. I think those connections are persistent.\n\nI think GitHub has that. I think you look at long-term valuable-- I think long-term valuable things have that side of community or they're like 10x technologically better. And the LLM is not going to build something 10x technologically better. And it can't do the community side of it.\n\nBut it can do so many other consumer apps or SaaS. Infrastructure SaaS is a great thing that-- the LLMs can do that. And they will build that. And it'll be fast. And so I think it changes the dynamic.\n\nI think you do get a lot of people spamming. I added AI to X to the VCs. But I think the smarter VCs are saying, how is this going to possibly 100X my investment when anyone else in the world can just ask the LLM to build the same thing?\n\nAnd so you need to have a different lens I think when you're choosing your ideas. And it has to be that lens of-- well, one, it has to have a lens of, is this just a Jira ticket at OpenAI or in Gemini? Is this just going to happen in two years?\n\nIs this some product manager just going to do it? And then also, what makes this AI-proof or what builds a moat that defends it against other people vibe coding it as well?\n\n**MATT:** So taking us to the general theme of our podcast here, how does it mature? How does it-- you unlock the achievements of requires reliability engineering now? We go from thing with slide deck to thing with random website with some-- we bought some time on the cloud too. OK, we have some employment.\n\nWe have people building stuff. And now there's stuff that people use and they expect them to stay running. When do you decide it's time that we don't just have stuff that's running, we have actually people accountable for running, and we have expectations?\n\n**STEVE MCGHEE:** We have the growth now.\n\n**ADAM FLETCHER:** Yeah.\n\n**MATT:** Tell us about your long arc of experiencing this here and in your own industries.\n\n**ADAM FLETCHER:** Yeah, and bit.io is a good example of this, where bit.io, serverless Postgres, has to work, but it also has this unique thing, where with serverless Postgres, you-- the goal is, in a way, is to shut the machine down. Shut the compute down when people aren't using it.\n\nBut it's a database. So how do you do that? How do you do that safely? How do you do that without corrupting data? How do you do that with transactions in flight? What do you do, time them out? You have to start thinking about those things.\n\nBut when do you start thinking about them? You start thinking about them when you have what I consider as a successful failure, if you will. You have some user using you and they're like, yo, this thing broke. And they're mad about it because it means something to them.\n\nBut hopefully it's not-- it's not something you can necessarily anticipate or see because you should deal with those if you can. But you want to have enough load-- you effectively want the Twitter Fail Whale. Twitter did an amazing thing of turning the Fail Whale into marketing-- genius. I don't know how they got that done, but genius.\n\nAnd then you say, we have to spend time on this because it matters or we're losing customers or people are noticing or whatever. And I think that-- that isn't to say-- I think if you can, you should plan it well. You should take care of building your software to plan it well. You should know where your problems are going to be, like the back to the credit card thing of technical debt.\n\nBut I always think about it as, when my users notice or complain or if it's some fundamental problem in the entire product I'm offering, is reliability-- like we said earlier, is reliability and security part of my product? If it is, then, yeah, we have to be-- it's got to be built in.\n\nBut man, you got to wait till the user tells you something's wrong because if you don't, you'll build the wrong thing. You'll invest all this time in fixing a problem that doesn't exist.\n\n**STEVE MCGHEE:** So if we can follow the model that you're describing here, do-- let's say we have a couple startup founders who don't have reliability background, don't have security background. And they're not building a reliability or security product. They're building a consumer product or whatever. They're building Instagram 2 or whatever.\n\nAt what point would-- what's the switch where you think a founder has to be like, uh, we need an infrastructure person-- or maybe not infrastructure, but a reliability person? At what point--\n\n**ADAM FLETCHER:** Reliability or security person-- yeah. And I think that when you start seeing the growth--\n\n**STEVE MCGHEE:** A specialist, right?\n\n**ADAM FLETCHER:** Yeah, I think when you start seeing the growth, when you say-- when you can project your growth curve out of users or whatever, the consumer app space, where you're saying, if this keeps going this way, we are going to run into these problems. You should make those projections and say-- and it can be hard to know.\n\nLike you said in this case, if you have a founder who's not a SRE or a security person or just doesn't have exposure to, what can fail and when it goes wrong? I think that they still need to-- you should still say to yourself, we're growing so fast. How does this impact what I've built? Can the choices I made-- which in a modern startup, you're composing it of SaaS services.\n\nA modern startup is, like I said earlier, you use Vercel and Fly and Supabase and Neon, whatever. You compose all these other SaaS, which is not traditionally how you do it. Usually, it'd all be in one cloud provider. And you may need to go in that direction.\n\nYou may need to go-- I think eventually, one of the reasons the major cloud providers are so successful is that they offer such a coherent and built-in policy around-- they offer you this path to scale and this path to security with the downside of the complexity that comes.\n\nBut I think it is-- I think you just always have to be looking at your growth and say-- question your underlying building blocks, do they work? Are they big enough? Are they strong enough? It's hard.\n\n**STEVE MCGHEE:** Another thing that you mentioned was-- and maybe I'm projecting here a little bit. But it sounds like the story you're getting at is also-- the failures that you're going to encounter when it comes to scaling up, you can't actually see them coming.\n\nSome of them, maybe you're like, well, last time I did this, it was when we got to a million concurrent sessions per whatever. But now you're on Fly or whatever or you're on service.foo that has never existed before, and so maybe their ceiling is much higher or much lower.\n\nAnd so there is this community out there called Learning from Incidents. I don't know if you've heard about this one. But it's basically-- when I first heard about it, it totally made sense to me, even though I hadn't heard their actual background hero story or anything.\n\nBut it was like, the way that you scale things over time is that you fall occasionally. And you learn when you fall. And you're like, aha, that's where the line-- that's where the bump is. We found the bump.\n\nAnd the trick is to be able to fall gracefully, to extend the metaphor a little too much, to only fall in parts of the globe at once potentially, if that's possible, like in some of your user base. So we get into the continuous deployments but across failure domains in a gradual rollout kind of way, blah, blah, blah.\n\nSo I guess what I'm getting at is, in that modern infrastructure-y world that we're talking about, how many of these principles transfer effectively? You and I worked on onboarding together with GSLB and all the things inside of Google. Do these words-- not those words exactly. But do these concepts translate into this today's operational world? And do people get it? Is there a Rosetta Stone that needs to be built for this world?\n\n**ADAM FLETCHER:** Yeah, I think there is. There's definitely a Rosetta Stone that needs to be built from Google out, yeah. If you're a Googler and you want-- I'm not encouraging any Googlers to quit. If you want to build a startup, I think you will need a Rosetta Stone. The way we build software at Google is very different.\n\nHowever, I think you have things like the SRE book. You have just the simple thing of ask the LLM, ask Gemini like, hey, I have this. I am deploying on Vercel with Next.js. My user rate is growing. Where am I going to run into issues?\n\nYou can just literally ask that question and it will give you good answers because a lot of these best practices are well codified that the LLMs know. And they'll be good enough to get you to the next step. And then you can literally be like-- it'll start saying things like, often, scaling comes, well, check your database. Are you on some free tier of some sketchy database? Maybe don't do that. Do you have indexes?\n\nAnd the big gap to me would be we still-- I talk to a lot of founders, technical founders even. That idea, create indexes in your database, that idea has been around for 50 years, literally forever. And that is still mind-blowing science to a lot of people. They don't think about those problems. They just assume that it does it all right for you.\n\nAnd so I think the luxury we had at Google or you guys have at Google is that a lot of those things-- one, there's very smart people like you guys to answer those questions when they come up. But also, there's great frameworks to handle it. And we've thought a lot about it.\n\nBut we thought about it in the context of the infrastructure Google has internally built, which is very different from what the rest of the world is like. You don't get those things. You don't have GSLB. Even down to the disk infrastructure of D and all the way up, the big table, you don't have those things. Colossus, you don't have any of that. And you have different assumptions on how things are built.\n\n**MATT:** This really brings to mind something. Two things come into my head. One is, first of all, you've done this sort of meta hero's journey a few times, which is kind of fascinating to me, which is going around the clock with multiple times of, OK, first, you have nothing.\n\nNow you have toy website. Now you have toy website with superpower X. And then let's put thing on cloud. Oh, never mind, scrap that. Let's do it again. OK, now, you have a magic flute and now you're going to go into Castle X.\n\nSo my question is, the actual question is-- so you take some off-the-shelf, perhaps open source tools, then migrate to possibly paid sources made by third party. Then you go, mm, actually, that thing can't do a thing I need because it won't scale. What is that like to migrate from paid tool sort of does what you want, now you're going to do it yourself?\n\n**ADAM FLETCHER:** Oh, your own-- oh, yeah.\n\n**MATT:** What's that you're doing it yourself part like? It's big. Because you're going to do it, it's got to scale up for the thing you're doing. And now you're writing yourself and you have to support it. And my guess that's where the, quote, \"fun\" happens. And scaling and the reliability part becomes scary and opportunity. That, I find really fascinating.\n\n**ADAM FLETCHER:** Yeah, and I think you're right. I think there's these inflection points. Now, for me, personally, and for the last co-founder and my current co-founder, we come from this background. So I'm excited. I'm like, great, I get to do cool shit. And then everyone who's ever worked for me, reminds me, is like, no, you don't. You have to go talk to an investor. You're not allowed to build any of those things.\n\nThe migrations are scary first, especially things like database migrations. Or fundamentally, the stateless web migrations can be fairly straightforward. But migrations between database providers, authentication providers, things like that, migrations from alternative cloud to an honest cloud platform like AWS or GCP or Azure or whatever, those are hard.\n\nAnd they're hard for a lot of interesting and not fun reasons. If I never have to deal with IAM and policies again in my life, I would be-- it would be happy. I'd be in my happy place. But you have to deal with them. And they're there for a reason.\n\nTry explaining, oh, well, you need a private link between these two VCPs. By the way, you want to be multicloud, so those terms don't apply in other clouds. How do you set up a redundant VPN link between two clouds? Yeah, you hire a specialist. This is an area where you-- that's very, very hard.\n\nThe reason these alternative clouds exist for people like me or people who are building startups is because they want it to be easy. Bit.io, the whole premise of bit,io was it sucks to run databases, don't ever think about it again. And we will tune it. We will do the right thing. We will scale it up and scale it down for you. We'll do all of that for you.\n\nAnd that was successful. People loved it. They still loved it. Neon and Supabase exist because of that. But yet eventually, yeah, you got to move sometimes. Sometimes you have to move because someone buys your company. People of bit.io, I apologize when we got bought and we had to move databases. That sucks. Sorry, I hope we helped you. [LAUGHS]\n\nYeah, those transition points are hard. They're very, very hard. And they're still hard. And no one has made that easy.\n\n**STEVE MCGHEE:** Doing the classic podcast thing, we now require you to predict into the future. So projecting from what we've been talking about for the next one to two years, what else do you see that will become weirder or less of a pain in the butt or something like-- how does this arrow point forward?\n\n**ADAM FLETCHER:** It's going to be significantly easier to create software. And that, actually, I love. I've spent a career trying to build tools that make it easy for people to build software, developer tools and things like that.\n\nOne of my big things is software is the most amazing thing that we've come up with. I think of a problem and I solve the problem. Amazing.\n\nAnd I think it's just going to be easier and easier to do that in two years. You're going to have hyperspecialized, hyper-quick builds. You're going to have a lot more internal software built to solve internal problems that will be very customized.\n\nI think you're going to have a lot less need for software engineering in the traditional sense. You'll have more product people build software using the vibe coding stuff and all that. And that'll all be net good initially.\n\n**MATT:** What about some sort of mutual, some happy coexistence between us and the robots?\n\n**ADAM FLETCHER:** Yeah, I definitely think that's possible. The whole premise of the company I'm currently building, MarketStreet, is that the human connection is the important part. Small business owner to small business owner, those people will still exist.\n\nThey will have-- they're doing real problems, talking to real people. They're working in those spaces. And I think that AI can complement a lot of what they do and help them grow their businesses without being extractive against them and can help bring to them-- help build human connection and help build human outreach. That's my goal.\n\nAnd what I'm doing now is, and the driver of that is focus on the humans, not the computers, and focus on the human connection and focus on the interplay in neighborhoods and between people. And I think that's actually where we need to be spending. Obviously, I'm betting on it. But I think that's actually where we need to be spending time.\n\nThere, of course, needs to be building the technology that gets us there. But I think that people don't go away. We have to work with each other. And I think the human connection is the non-replaceable thing for the AI. And we need to focus on that.\n\n**STEVE MCGHEE:** Yeah, on an optimistic take, one of the lines that we use in the resilience community is like, it's a sociotechnical machine. So it's not just the machine driving, but there's people in the loop. We can always-- I don't want to say hope on, count on--\n\n**ADAM FLETCHER:** Hope is not a strategy.\n\n**STEVE MCGHEE:** It's not a thing that we're supposed to--\n\n**ADAM FLETCHER:** It's not a strategy.\n\n**STEVE MCGHEE:** But there are people to at least assist in making decisions and steer things and observe problems and move in the right direction.\n\n**ADAM FLETCHER:** I want us to go there. I want us to be more creative via artificial intelligence. I really want this to be the time. Like we always say, when technology comes and we bring automation in, that frees people up to have their time and their needs taken care of. And I really want that to be true.\n\n**STEVE MCGHEE:** So far, sometimes it works. But a little more tangible, I want to bring us back to another point. So specifically, if we skip the big philosophical angle and strictly focus on the SaaSs of the world and the PaaSs and the whatevers of the world, do you have-- the reason why I'm picking on you is because you're an SRE who is further, further towards the edge of this technology than most people that we talk to.\n\nSo I'm curious what you think are the problems with the current offerings that you think might be solutionified and turned into platformy things next. Or what's your wish list really, in terms of how to progress this stuff so that the next round, Adam 3.0 will come around behind you and have a better time solving problems like this?\n\n**ADAM FLETCHER:** What I really want-- and people have heard this rant before. But what I really want is the software as a service, the platform as a service, that is the SRE model from Google to exist in the world, where-- at Google--\n\n**STEVE MCGHEE:** Aw, shucks.\n\n**ADAM FLETCHER:** Yeah, I know. Well, we have ownership. I think that every time-- we had a product that we onboarded into SRE, it was a paired partnership, ownership with product and with everybody involved, where SRE had the full and reason and expectation of modifying the code, building the code, making it-- solving the aspect of reliability often to security and things like that would come in and we would just, hey, we changed your code.\n\nLiterally, I think one of the first projects I worked on at Google when I stopped doing airline stuff was Google News. We moved, we ported Google News from the old framework. It was on to a framework, an internal framework Google has, called Apps Framework, which maybe still exists, I don't know.\n\nBut it offered underlying it-- it was like an SRE-led initiative that underlying it with all of these things like load shedding and all these different reliability things that made it just much, much easier to operate at scale and much more reliable. And we did the port of from the bespoke--\n\n**STEVE MCGHEE:** We, the SRE team.\n\n**ADAM FLETCHER:** We, the SRE team, did the port over to Apps Framework. And it made Google News a much more stable and reliable platform and helped to grow-- or helped stay alive and grow from then on. And I wish we would see that in the world today.\n\nWe get all these people building SRE, quote, \"SRE\" SaaS products that are not that. They're very reactive. They're very about monitoring and they're very about all these other things. And they're all reactive.\n\nThey're all like, oh, we reduced your MTTR. I'm like, well, why don't you just change the code? I want to check in my code and I want it to be like, yo, I added all this stuff. And by the way, all of it's awesome now. All the reliability stuff is awesome now.\n\nYou weren't doing multiregion, I got to configure it if you wanted. Here's your code changed. You weren't doing load shedding, I got it, I turned it on. That's what I want from my next SRE SaaS. I don't need more monitoring, and I don't need alerting. And I don't need incident management or SLOs or all that. I have all that.\n\n**STEVE MCGHEE:** Isn't that requisite at the code layer? It's not at the platform infrastructure layer.\n\n**ADAM FLETCHER:** 100% in the code. It's in the code.\n\n**STEVE MCGHEE:** This isn't a platform hot swap, Indiana Jones situation. This is a you now need to build the thing this way. You're going to use this framework. Yeah, there's a migration event. But that has-- there's a lot of-- I work with customers a lot. Migrations don't happen honestly very often.\n\n**ADAM FLETCHER:** You don't want them to. They're costly.\n\n**STEVE MCGHEE:** They're costly. And they feel to be zero value often.\n\n**ADAM FLETCHER:** Or negative value, potentially.\n\n**MATT:** Yeah, you're now introducing a maintenance burden to your development team, that's going to be, well, why am I doing this? You're like, well, your uptime is going to go up. And you're like, and I now don't understand this new platform I'm on--\n\n**STEVE MCGHEE:** Right.\n\n**MATT:** --yet. I look forward to understanding it in the future. But right now, it's just, the cost of understanding this is very high. And your reliability team is like, look, it's going to be great. It's like, but I haven't been convinced and I have a bunch of new features I want out next quarter.\n\nAnd that sounds to me to be a discussion that we keep having. And if you are a big, big company, you can afford that cost. And your developer team will give you a lot of rope to work with. But if you're really small, that is a really difficult decision to make for your team, especially if you're working with limited budget.\n\nAnd I agree with you. If these things were in place all around you, you don't need to figure this out yourself. We've already built you a resilient framework. Just use this one. It has load shedding in it and monitoring tools in it and alerting in it-- just why would you do the other thing yourself? That would be madness.\n\n**ADAM FLETCHER:** And I want the tools, the platform, to effectively do the migration with zero downtime for me. I want it to be like, here's the Git commit, by the way. We can run it and we'll split. You'll have an A/B test. We'll do it. And\n\nIt just does-- I don't have to think about it. A very practical one, like Django, it's an ORM for Python and a website building tool for Python. It's very, very reliable. It's been around forever. There's migrations in it.\n\nBut there's also you have to run it inside another framework from Gunicorn-- or Uvicorn is the new one, right? And that's the async version. What are the benefits of that? How do we explain that? How do we automatically port you over to it if you're in a legacy Django code base?\n\nIt should just do that. It should know. It should be like, and I've installed these extensions and they're configured and they're running, and we tested it here. And that's what I think. If someone came to Google SRE, they would own and do that. And of course, it's a little easier because the SRE org is convinced of the value of that.\n\nAnd I think performance-- for what it's worth, I think performance is the magic answer to a lot of these questions. And it was at Google, too. When we would pitch things, people understood the value of a millisecond. I used to go visit the GFE team, the Google front end team, in Cambridge when I was there. And I'd go downstairs and they're writing code.\n\nAnd they had this big diagram on the whiteboard that was how many nanoseconds each branch of the GFE took because they cared. That mattered a significant amount. You're this piece of infrastructure that can't take-- your budget is not milliseconds. It's nanoseconds. But performance results in delight. It results in the user.\n\nAnd it results in-- I think you can actually track the value of performance. And so one thing you can say is, oh, we're doing this migration not just for reliability, but also, look at this cool thing, this performance thing, which actually increases your bottom line. It's a revenue-generator. It's not a cost center. And we give you clarity as to why it matters. I think that's one of the hacks you have as--\n\n**STEVE MCGHEE:** There's a similar story from years before, around News where-- but this was in the-- if you remember, there was a downloader service for apps that Google provided for Windows and Mac and stuff like that?\n\n**ADAM FLETCHER:** Oh yeah, yeah, yeah.\n\n**STEVE MCGHEE:** It was like the blob serving. But it was one specifically for applications, so they had versions and package manifests and blah, blah, blah, blah. It was homegrown for years and years and years. And one very, very cool software engineer, who doesn't describe himself as an SRE, went in and was like, I have replaced you with a small Go script because I like Go a lot.\n\nThe reason why it worked was performance went through the roof. Simplification of the code, it dropped dramatically. And they were able to shed all of the features that they didn't really use anymore. And no one would have done that on their own. But he was just a senior engineer, who was looking for something cool to do.\n\nI feel like that value, if we could package that concept and bring it out to the world and be like, this is actually good, a win executed well-- you don't want someone spending 16 years trying to do that with a team of 55 people who constantly cycle and waste a bunch of money.\n\nIf you could atomically do that thing, you can get a huge amount of value out of it and not just in terms of money and performance, but reliability and probably security and all sorts of other things like maintainability and all these things. So that's really hard to get across to everybody, I think.\n\n**ADAM FLETCHER:** I think you're right. I think it is very, very hard to get across. I harp on performance as this-- one of the reasons is because you can always show that cool graph, man, where it's like, this took 200 milliseconds, now it takes 10. Those graphs are very convincing.\n\nAnd this is true for beyond the startup world. This is true in the small business, medium-sized business, big business world. Man, those graphs sell. You've really changed a lot. And you can point to the direct monetary impact of this-- less compute, less memory-- or maybe not less memory, maybe you're doing the trade off.\n\nBut still, you get the point, too. And I think that that's a big, big thing. And if you include in that reliability, which often you do-- and I think you made a good point about code simplification and architectural simplification. You got rid of all the things. You got rid of all the assumptions. You understood the abstractions better. A good refactor does that.\n\nAnd I think that's one of the things that I'd love to see the SaaS tools start doing that. I think we're close. I think we're a year out from, really, the LLMs being able to do quite a bit of that with some, at first, human hand-holding.\n\n**STEVE MCGHEE:** The ability for an LLM to go in and actually do open heart surgery on your code is new. It didn't exist. This didn't exist five years ago. No way.\n\n**ADAM FLETCHER:** It wasn't here two years ago.\n\n**STEVE MCGHEE:** Good point.\n\n**ADAM FLETCHER:** The first time I tried doing something two years ago with Copilot, I was like, wow, you can't even do math. And now I'm like, build my whole site. And it's like, I got you.\n\n**STEVE MCGHEE:** Start over. Do it again.\n\n**ADAM FLETCHER:** No, exactly. It's always like, oh, you're right.\n\n**STEVE MCGHEE:** The other day, I was vibe coding and it did something weird. I literally wrote into the chat window, not like that. And it did the right thing.\n\n**ADAM FLETCHER:** It did the right thing.\n\n**STEVE MCGHEE:** I was like, wow.\n\n**ADAM FLETCHER:** Yeah, I always feel like it's reading the first or second design doc a junior engineer has built, has written. And you come in and you're like, I see where you're coming from, great assumption.\n\n**STEVE MCGHEE:** Cool plan, bro.\n\n**ADAM FLETCHER:** Yeah, trust me on this one. You really want to do it this way, which is the actual best practice. And so then they're like, oh, cool. And they go do some research. And they find out--\n\n**MATT:** Yeah, yeah, you could do it like an expert. And they're like, oh, OK.\n\n**ADAM FLETCHER:** Yeah, OK. Oh, yeah, you're right, you're right.\n\n**MATT:** No, no. Do it like a world-class expert.\n\n**ADAM FLETCHER:** And he's like, oh, good idea. I should do it-- it's like, so sorry that it didn't before. I'm like, just do it before.\n\n**MATT:** Well, yeah, I was trained on the internet, not the expert in it, sorry.\n\n**ADAM FLETCHER:** Yeah, exactly.\n\n**MATT:** All right. Well, we're getting close to the end of our time here, so I'd like to ask you a question, for a number-- a number in your travels with a unit, preferably a surprising number, like a really big number or really tiny number or a fast number or a long number, something that really is exceptional--\n\n**STEVE MCGHEE:** A number with letters in it, anything.\n\n**MATT:** Yeah, yeah, something-- yeah, something that's like, wow, that was impressive to you, that surprised you in your studies in the world. And you're like, wow, I found out this thing when I was looking at a thing. I was like, I had no idea this is a really big thing or this is what people need or want or whatever it is that you would like our listeners to hear about, that's something that really impressed you.\n\n**ADAM FLETCHER:** Oh, boy. OK, I have a sort of funny anecdotal story about numbers and relates to my work at ITA, is that if-- you know the confirmation code you get on your ticket?\n\n**MATT:** They had letters and numbers--\n\n**ADAM FLETCHER:** They're letters and numbers, right? The reason those are letters and numbers is because, yeah-- [CHUCKLES] is that-- this is not a confirmation code. This is the flight-- our first flight we took on our reservation system.\n\n**STEVE MCGHEE:** Close to it, yeah.\n\n**ADAM FLETCHER:** Close to it. Anyway, confirmation code, those are six digits, six characters. The reason those are that is because when they first started storing your tickets and record locators on disk, that was the block address on disk of your--\n\n**STEVE MCGHEE:** Physically speaking.\n\n**ADAM FLETCHER:** It's physical pointer.\n\n**MATT:** In cylinder somewhere.\n\n**ADAM FLETCHER:** So it's literally-- yeah, literally a physical pointer. Imagine you printf the pointer and you got the address. And you're just like, here, this is yours. This is how you find it.\n\n**STEVE MCGHEE:** Are those locator--\n\n**ADAM FLETCHER:** They're not in hex. They're--\n\n**STEVE MCGHEE:** I've seen Zs and stuff in there.\n\n**ADAM FLETCHER:** They're not in hex. They're literally IBM 360 disk addresses.\n\n**STEVE MCGHEE:** They're some sort of 36-character--\n\n**ADAM FLETCHER:** Yeah, some sort of 36 character by 6. Yeah, factorial 6 or whatever it is, I am bad at math. And that number has-- that's always really impressed me, that the leakage-- just talking about leaking your abstractions. But it worked great. You can find it fast. Hash tables are the most profitable data structure.\n\n**MATT:** Railroad-grade standard of flight locators, this is fantastic.\n\n**STEVE MCGHEE:** Of one across a very large key space, let's do it.\n\n**ADAM FLETCHER:** Yeah, let's do it. But now you have to support it. So all the new stuff that doesn't do that, it's like, what the [MUTED]? How are we supporting this? [LAUGHS]\n\n**STEVE MCGHEE:** That's awesome.\n\n**ADAM FLETCHER:** Yeah, yeah, it's pretty funny. The other fact that I find interesting about small business, related to small business and things like that, one, is every time I've talked to a small business owner and asked, do you use AI, they have laughed at me. Two, the median age--\n\n**STEVE MCGHEE:** Which way do they laugh at you, the “of course I do” or “of course I don't”?\n\n**ADAM FLETCHER:** “Of course I do not.” So the people that you-- when you walk into a retail store, think about the technological differences, the age gap, the exposure, the cultural context of all those people is so different than what we are--\n\n**STEVE MCGHEE:** Let's remember what medians mean, above and below that number. So yeah, that's pretty awesome.\n\n**ADAM FLETCHER:** Exactly. Yeah, a lot of it are-- obviously, 50% above, but yeah.\n\n**STEVE MCGHEE:** Cool. Well, thank you very much, Adam. This has been a great talk, unsurprisingly. Is there anywhere on the internet that you would like people to hear your words in other ways or otherwise hear you make jokes or talk about runs you go on or whatever sort of socials--\n\n**ADAM FLETCHER:** Yeah, I'm on Twitter, @WriteAheadLog, which, if you're a database person, you will find that somewhat funny or perhaps not, if you've ever used or had to repair one, then [LAUGHS] you might have PTSD. My company is MarketStreet, MarketST.com right now. There's a funny story about the actual domain. I'll tell you later. And then, yeah, check us out.\n\nAnd look, email me. And if you're some sort of estuary that's starting a small business, I want to hear from you. It's like a strange-- [CHUCKLES] but yeah. And computers are the best.\n\n**STEVE MCGHEE:** Cool. Thanks, Adam.\n\n**MATT:** Thank you.\n\n**STEVE MCGHEE:** And don't forget, everyone, that hope is not a strategy. And we'll see you next time.\n\n**ADAM FLETCHER:** Hope is not a strategy. All right. See you. Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 49265, "slov": 9029, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:44", "sha256": "dca87e7190246cd59751f050e68dd9b9429c5bc55e3d3dc789455efe204ce9f3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06/", "titulek": "The One with Startups and Adam Fletcher", "h1": "The One with Startups and Adam Fletcher", "popis": "In this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06"}, "headline": "The One with Startups and Adam Fletcher", "description": "In this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.", "image": "https://kstatic.googleusercontent.com/files/27348de0ae08d5a6ea07b1dd82eabd44eadd59e946eaeda85a5a6d5e06ad5f61006454463d07209b45425b487c899c2907c3dcb5b4444b6dfeea52a2519fa6a7", "author": [{"@type": "Person", "name": "Adam Fletcher"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Startups and Adam Fletcher"}], "markdown": "# The One with Startups and Adam Fletcher\n\nIn this episode, hosts Steve McGhee and Matt Siegler are joined by guest, Adam Fletcher, CEO and Co-Founder of MarketStreet. They discuss the current state of web development with LLMs, managing technical debt in startups, the evolution of infrastructure and reliability engineering, the role of community in technology, and the future of software engineering with AI.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, welcome back, everyone, to the Prodcast. This is Google's podcast on SRE and production software. This is a fun one. We have a guest that actually was from way back. Adam, you helped start the Prodcast when it was strictly internal. I think it was you and John, right--\n\n**ADAM FLETCHER:** That's right, that's right.\n\n**STEVE MCGHEE:** --in the San Francisco office. And then we also have-- Matt is here with us. Hi, Matt. How's it going?\n\n**MATT:** Hello.\n\n**STEVE MCGHEE:** And I'm Steve, I should say that. I have a name also. Adam and I met in the San Francisco office at Google way back in the olden place. But I think you worked at other places before that and worked at different places since then. Is that true? That seems like a truth.\n\n**ADAM FLETCHER:** That's the rumor and also the truth. Yeah, I was at Google for a long time. I came over via the ITA Software acquisition. I'm wearing my ITA Software shirt, which is confusing.\n\n**STEVE MCGHEE:** That was the plane one, right?\n\n**ADAM:** Yeah, and makes the airplanes, yeah.\n\n**[LAUGHTER]**\n\nYeah, we made flight search and we made airline reservation systems. I was on the reservation system side. Google bought us largely for our flight search side but powers Google Flights to this day. I was out of the Cambridge office, moved out to San Francisco, where I did meet you, Steve. And this is 10 years, more than that? 12 years ago, 13 years ago?\n\n**STEVE MCGHEE:** I try not to count years.\n\n**ADAM FLETCHER:** Sure. It was-- yeah, yeah, back when we were both 21. And then we--\n\n**[LAUGHTER]**\n\nAnd then I was at Google for a long time, loved working at it, loved working with folks like Steve and Paul, who's-- you can't see him, but he's here, and all the folks over there, super smart group. Wanted to start my own company, so I left to start and build startups.\n\n**STEVE MCGHEE:** That's awesome. Adam gave a very good talk that I think is on the internet somewhere, which is about how flight search is actually complicated even though it doesn't feel like it should be. So I highly recommend checking that out if you have the means. We'll put it in the show notes or something like that.\n\nBut basically, there used to be a lot of Lisp and curly braces and stuff back in the day. And mainframes are real still to this day, I believe.\n\n**ADAM FLETCHER:** That's right.\n\n**STEVE MCGHEE:** My favorite take of yours is that the airline industry doesn't count nines because they have a 100 instead.\n\n**ADAM FLETCHER:** Yeah, that's right, that's right. They have 100% uptime, no nines.\n\n**[LAUGHTER]**\n\n**STEVE MCGHEE:** So it turns out it's possible, but only if you spend a lot, a lot, a lot, a lot of money and time and do a very limited set of things and have a huge amount of, I don't know, complications, redundancy, and plans and things like that. So it's a pretty cool background. But I'm guessing you don't do flight stuff anymore. Is that true, Adam?\n\n**ADAM FLETCHER:** Yeah, that's right. I left Google to build companies. And the first company I built was-- this was back before we had LLMs and we just talked about machine learning, which really was just fancy math.\n\n**STEVE MCGHEE:** Decades ago, I'm sure.\n\n**ADAM FLETCHER:** Decades, decades, and decades ago, hundreds of years ago. And did some stuff in the mobile space on that, built some real-time stream processing engines that were really neat and sold those to a security firm, did really cool threat intelligence security stuff for a while, which I loved.\n\nStarted another company that did called bit.io, which we did serverless Postgres. First to market serverless Postgres, everyone loves serverless things now and everyone loves Postgres. So that was super fun, did that for a bunch of years, bought by Databricks, worked at Databricks, left Databricks.\n\nAnd now I'm running a company called MarketStreet, where we are helping small business owners have a platform to communicate and collaborate on. So it's really far away from everything I've ever done. It's not infrastructure related.\n\nMy joke when I raised money this time was like, look, I shouldn't be allowed to make websites. I should only be allowed to make command line tools. But here I am making websites. So I don't know what happened. The world is topsy turvy and upside down.\n\n**MATT:** What's new making websites these days? It can't be any different.\n\n**STEVE MCGHEE:** Yeah, it shouldn't--\n\n**ADAM FLETCHER:** You just ask-- yeah, you ask an LLM to do it for you because you don't know how to do it. [LAUGHS] And you use-- there's, server-side TypeScript or something like that. There's Next.js and all those things. It's wild, the advances in the website technology.\n\n**STEVE MCGHEE:** I actually just did this the other day, Adam. I vibe coded my own personal website that I've been meaning to do for a long time. And I just was like, yo, computer, just search the internet for my name and videos of me and make a website for it. And it just did it. And it's just the framework--\n\n**ADAM FLETCHER:** It's amazing.\n\n**STEVE MCGHEE:** And I was like, OK, you say so.\n\n**ADAM FLETCHER:** You're like, I hope it works.\n\n**MATT:** I did it, too, Steve. It was great.\n\n**ADAM FLETCHER:** Really?\n\n[INTERPOSING VOICES]\n\n**MATT:** --website also, yeah.\n\n**ADAM FLETCHER:** The vibe coding thing is wild. I had to learn to think bigger. I used to give it-- I used to decompose in my head the problem and make an off page. And then it's like-- I'm like, maybe I should just ask it to make the whole thing. And then it just made the whole thing.\n\nAnd then I had to use every aspect of my years of experience to debug the problems that the LLM made and how to deploy it and how to launch it. It turns out SRE matters at that point because you're just left with a bunch of TypeScript that does-- then people start saying stuff like Docker or containers.\n\n**MATT:** I think it just hit on the first-- not in the wood here, which is cool. So a lot of great automation gets you something up from nothing. And then you take your wisdom to it. And you look a little closer and you're like, oh, wait, there's a lot-- something wrong here. There's a lot, right here, this is great, but-- and then a whole lot of buts.\n\nSo tell us how that's going. Where we are compared to where we were, say, five years ago is miraculous. And yet there's a whole lot of caveats. But you know some stuff, so tell us about this stuff.\n\n**ADAM FLETCHER:** Yeah, it's funny, I can give a real practical example. So we're building-- the stuff I'm building now involves a lot of data management to make sure our LLMs can say smart intelligent things. And the deployment of that-- what we would've call ETL directed acyclic graph execution stuff. We deployed it on Vercel because we used v0 to help build it. We use Cursor. We used Vercel.\n\nAnd then, I can't have long running background functions in Vercel. And this is something that I think if you don't know what all those words I just said mean and you don't know what to do, yeah, so I'm like, OK, well I'll switch over-- first, I thought it was my back end database provider.\n\nSo I switched those to a different one. And then the different one is like, you can't use async I/O against us. We blow up when you do that because we have 95 proxies in the way, and they are not transactional aware.\n\nSo then we moved again and then had to deploy on fly.io instead of Vercel for-- it's like a nightmare. And all those technologies are great. They significantly enhance you.\n\nIf you don't know what all that stuff is and have spent a long time and a career building that out, how do you interpret that? Even asking the LLMs, like pasting the async I/O, Postgres error into-- they're like, sorry, I don't know what to do. You get to a point where it just doesn't know. And there is a little specific--\n\n**STEVE MCGHEE:** Yeah, a lot of these platforms have these constraints in them, which is great. It helps them execute well. But if you don't understand what the constraint is, you don't really know what to ask for or how to-- more importantly, I guess, is how to interpret the “when it doesn't work” situation.\n\n**ADAM FLETCHER:** Yeah, I think that's a critical skill. And it's this interesting gap of like-- I don't know how people are going to get to that point. The actual infrastructure side is very challenging still unless you have these narrow guardrails that don't scale necessarily or they don't have all the things that you expect and want.\n\nI don't-- but on the flip side of that, I think from a startup perspective, in many ways, you don't care. If it works well enough and you get your minimum viable product out, you worry about those other problems later. And you can hire someone to solve them.\n\nSo I have a bit of a curse where I'm like, oh, I know how to solve that problem. I'll just dive in. And then two days go by and I'm like, why did I do that? But you have to, it has to work. And if you're building anything of significance, I think it matters.\n\n**STEVE MCGHEE:** Well, I know that sometimes SREs overfocus, I guess, on eliminating technical debt. But I believe a lot of-- tell me if I'm wrong, but a lot of startup work is ignoring technical debt. It's just powering through. And is this a problem in your SRE heart of hearts?\n\n**ADAM FLETCHER:** It was, initially. I'm much better about it now. But it did take a long time to learn. And now I call it swiping the credit card of technical debt. So you know that you're gaining-- you're accruing debt, and it has interest. You want that metaphor real strong in your head to know.\n\nBut there's nothing wrong with it. In a sense and in a startup, you're fighting for survival. So in a way, if it doesn't all work, you just declare bankruptcy and move on and all that technical debt goes away. Who cares?\n\nOr another way to say it is users matter more than perfect code and perfect-- in a way, you care more about product market fit than anything else and growth more than anything else. And so technical debt doesn't matter almost to the point where some aspects of security are like, yeah, I'm not doing this perfect. But I'm going to change that.\n\nBut you are swiping a credit card of technical debt because, if you become successful, if you find product market fit, you owe on that. And I think that's true in many cases. There are examples-- counter examples of that would be if you're building security software, if you're building or cryptography. You're doing stuff like that. Or bit.io, where we did databases, we have to have asset semantics. If you don't have asset semantics, people notice and they get mad. It is a tremendous thing or tremendously important thing.\n\nSo there are special cases where you're effectively selling reliability or security as part of your product. And that, of course, then you have to do it right. But when you're not, yeah, you have to learn to ignore all that stuff in some ways.\n\n**STEVE MCGHEE:** Yeah, I think just, to belabor the metaphor a little bit, if you're swiping the credit card of technical debt, it helps to understand that a thousand dollars of debt versus a million dollars of debt, what currency are we using? Is a million a lot? I'm not sure.\n\n**ADAM FLETCHER:** Yeah, no, that's a great point.\n\n**STEVE MCGHEE:** Is this debt that we're accruing-- is this something that we will be able to-- assuming that we do succeed, is this a thing that's just going to ruin us in post-acquisition or just before acquisition? It might be a little bit worse-- and things like that.\n\nSo maybe you have to have your eyes open about this debt in terms of being able to understand it, not just blindly swiping. But you still accept it. You still mark it on the table and move on, I guess.\n\n**ADAM FLETCHER:** 100%. I think part of that is that risk management and how it tactically applies. The flip side of that same metaphor is that you only have so many innovation tokens to spend. And you really want to be spending them on the things that get you product market fit and serve your users or serve your growth or whatever you're trying to do.\n\nAnd you don't want to spend it on moving your database and cloud provider 17 times over a weekend. And yet, that's what I did this weekend. So this is like a-- what is the expression of cobbler's? Their kids don't have shoes or whatever. I can't let go sometimes. That's the problem.\n\n**MATT:** So a second ago, you said this now market fit.\n\n**ADAM FLETCHER:** Mm-hmm.\n\n**MATT:** I don't know, I read an article about what people are using AI for in product ideation, the brainstorming process very early on in the infancy of a startup or even, before you get in that point, so just what do we want to build? Or what is this thing you have a kernel of?\n\nAnd before I even get a whole bunch of engineers in a room to make slides or even slap a bunch of code together, just start-- just have the AI concept a bunch of websites, make some ideas. And then you have the people with deep pockets look at those things and go, nah, I just-- I can't understand why you want to build this.\n\nAre you seeing now much faster iteration on discarding bad ideas before they get to engineers spent time on? Or are we now seeing things built a little more thoroughly?\n\n**STEVE MCGHEE:** Is it getting better or worse?\n\n**MATT:** Yeah, are we failing faster at bad ideas or are we building them out more thoroughly before we--\n\n**STEVE MCGHEE:** Are we DDoSing the VCs?\n\n**MATT:** Yeah, yeah, that's a good--\n\n**ADAM FLETCHER:** That's a great-- yeah. So I think my journey on this is a little different than some folks. There are founders and CEOs and entrepreneurs and stuff that are incredibly passionate about a specific product or problem, I should say. And those people are like-- they're like, my life is designed to fix health care or whatever.\n\nAnd I love those people. They're going to do their thing no matter what. I'm much more of a analyze the market, come up with a bunch of ideas during the brainstorming phase. Me and the person I built the first two companies with, we have a spreadsheet of 150 ideas.\n\nAnd we've been just building it for 10 years. And everything is on there. We have stuff-- great ideas, what I call great ideas like what if we had house blimps? What a great idea, right? And then obviously not-- yeah, ship it, ship it. Or practical ideas, like literally serverless Postgres was on there. And that's what we built.\n\nAnd then we just keep adding columns to these rows in the sheet that are all the exclusion or inclusion criteria. And why I bring this up now is that, what AI has really changed for us in the ideation phase-- or that idea maze is the cool startup kid way to say it these days-- is like, what is venture fundable?\n\nSo for us with AI, you can build so much faster with so many fewer engineers. And you can get to prototype phase and you can test if it works so much faster. That is great because you get to find out if you have product market fit, you get to do all these things in much cheaper and spend less money. But it also means that everyone else in the world has that ability also.\n\nSo your moat, the thing that protects your company or your idea, you need to find new moats than you previously had, was like we were just a bunch of smart technologists. And we built hard technology and wrote a lot of code. And that's our moat. It's our intellectual property, et cetera.\n\nBut now someone else can be like, yo, vibe code me Instacart. And they do. And the moat is a lot, lot, lot different these days. And so you have to find new aspects. With what I'm building now, the aspect is community and networking between people. I think those connections are persistent.\n\nI think GitHub has that. I think you look at long-term valuable-- I think long-term valuable things have that side of community or they're like 10x technologically better. And the LLM is not going to build something 10x technologically better. And it can't do the community side of it.\n\nBut it can do so many other consumer apps or SaaS. Infrastructure SaaS is a great thing that-- the LLMs can do that. And they will build that. And it'll be fast. And so I think it changes the dynamic.\n\nI think you do get a lot of people spamming. I added AI to X to the VCs. But I think the smarter VCs are saying, how is this going to possibly 100X my investment when anyone else in the world can just ask the LLM to build the same thing?\n\nAnd so you need to have a different lens I think when you're choosing your ideas. And it has to be that lens of-- well, one, it has to have a lens of, is this just a Jira ticket at OpenAI or in Gemini? Is this just going to happen in two years?\n\nIs this some product manager just going to do it? And then also, what makes this AI-proof or what builds a moat that defends it against other people vibe coding it as well?\n\n**MATT:** So taking us to the general theme of our podcast here, how does it mature? How does it-- you unlock the achievements of requires reliability engineering now? We go from thing with slide deck to thing with random website with some-- we bought some time on the cloud too. OK, we have some employment.\n\nWe have people building stuff. And now there's stuff that people use and they expect them to stay running. When do you decide it's time that we don't just have stuff that's running, we have actually people accountable for running, and we have expectations?\n\n**STEVE MCGHEE:** We have the growth now.\n\n**ADAM FLETCHER:** Yeah.\n\n**MATT:** Tell us about your long arc of experiencing this here and in your own industries.\n\n**ADAM FLETCHER:** Yeah, and bit.io is a good example of this, where bit.io, serverless Postgres, has to work, but it also has this unique thing, where with serverless Postgres, you-- the goal is, in a way, is to shut the machine down. Shut the compute down when people aren't using it.\n\nBut it's a database. So how do you do that? How do you do that safely? How do you do that without corrupting data? How do you do that with transactions in flight? What do you do, time them out? You have to start thinking about those things.\n\nBut when do you start thinking about them? You start thinking about them when you have what I consider as a successful failure, if you will. You have some user using you and they're like, yo, this thing broke. And they're mad about it because it means something to them.\n\nBut hopefully it's not-- it's not something you can necessarily anticipate or see because you should deal with those if you can. But you want to have enough load-- you effectively want the Twitter Fail Whale. Twitter did an amazing thing of turning the Fail Whale into marketing-- genius. I don't know how they got that done, but genius.\n\nAnd then you say, we have to spend time on this because it matters or we're losing customers or people are noticing or whatever. And I think that-- that isn't to say-- I think if you can, you should plan it well. You should take care of building your software to plan it well. You should know where your problems are going to be, like the back to the credit card thing of technical debt.\n\nBut I always think about it as, when my users notice or complain or if it's some fundamental problem in the entire product I'm offering, is reliability-- like we said earlier, is reliability and security part of my product? If it is, then, yeah, we have to be-- it's got to be built in.\n\nBut man, you got to wait till the user tells you something's wrong because if you don't, you'll build the wrong thing. You'll invest all this time in fixing a problem that doesn't exist.\n\n**STEVE MCGHEE:** So if we can follow the model that you're describing here, do-- let's say we have a couple startup founders who don't have reliability background, don't have security background. And they're not building a reliability or security product. They're building a consumer product or whatever. They're building Instagram 2 or whatever.\n\nAt what point would-- what's the switch where you think a founder has to be like, uh, we need an infrastructure person-- or maybe not infrastructure, but a reliability person? At what point--\n\n**ADAM FLETCHER:** Reliability or security person-- yeah. And I think that when you start seeing the growth--\n\n**STEVE MCGHEE:** A specialist, right?\n\n**ADAM FLETCHER:** Yeah, I think when you start seeing the growth, when you say-- when you can project your growth curve out of users or whatever, the consumer app space, where you're saying, if this keeps going this way, we are going to run into these problems. You should make those projections and say-- and it can be hard to know.\n\nLike you said in this case, if you have a founder who's not a SRE or a security person or just doesn't have exposure to, what can fail and when it goes wrong? I think that they still need to-- you should still say to yourself, we're growing so fast. How does this impact what I've built? Can the choices I made-- which in a modern startup, you're composing it of SaaS services.\n\nA modern startup is, like I said earlier, you use Vercel and Fly and Supabase and Neon, whatever. You compose all these other SaaS, which is not traditionally how you do it. Usually, it'd all be in one cloud provider. And you may need to go in that direction.\n\nYou may need to go-- I think eventually, one of the reasons the major cloud providers are so successful is that they offer such a coherent and built-in policy around-- they offer you this path to scale and this path to security with the downside of the complexity that comes.\n\nBut I think it is-- I think you just always have to be looking at your growth and say-- question your underlying building blocks, do they work? Are they big enough? Are they strong enough? It's hard.\n\n**STEVE MCGHEE:** Another thing that you mentioned was-- and maybe I'm projecting here a little bit. But it sounds like the story you're getting at is also-- the failures that you're going to encounter when it comes to scaling up, you can't actually see them coming.\n\nSome of them, maybe you're like, well, last time I did this, it was when we got to a million concurrent sessions per whatever. But now you're on Fly or whatever or you're on service.foo that has never existed before, and so maybe their ceiling is much higher or much lower.\n\nAnd so there is this community out there called Learning from Incidents. I don't know if you've heard about this one. But it's basically-- when I first heard about it, it totally made sense to me, even though I hadn't heard their actual background hero story or anything.\n\nBut it was like, the way that you scale things over time is that you fall occasionally. And you learn when you fall. And you're like, aha, that's where the line-- that's where the bump is. We found the bump.\n\nAnd the trick is to be able to fall gracefully, to extend the metaphor a little too much, to only fall in parts of the globe at once potentially, if that's possible, like in some of your user base. So we get into the continuous deployments but across failure domains in a gradual rollout kind of way, blah, blah, blah.\n\nSo I guess what I'm getting at is, in that modern infrastructure-y world that we're talking about, how many of these principles transfer effectively? You and I worked on onboarding together with GSLB and all the things inside of Google. Do these words-- not those words exactly. But do these concepts translate into this today's operational world? And do people get it? Is there a Rosetta Stone that needs to be built for this world?\n\n**ADAM FLETCHER:** Yeah, I think there is. There's definitely a Rosetta Stone that needs to be built from Google out, yeah. If you're a Googler and you want-- I'm not encouraging any Googlers to quit. If you want to build a startup, I think you will need a Rosetta Stone. The way we build software at Google is very different.\n\nHowever, I think you have things like the SRE book. You have just the simple thing of ask the LLM, ask Gemini like, hey, I have this. I am deploying on Vercel with Next.js. My user rate is growing. Where am I going to run into issues?\n\nYou can just literally ask that question and it will give you good answers because a lot of these best practices are well codified that the LLMs know. And they'll be good enough to get you to the next step. And then you can literally be like-- it'll start saying things like, often, scaling comes, well, check your database. Are you on some free tier of some sketchy database? Maybe don't do that. Do you have indexes?\n\nAnd the big gap to me would be we still-- I talk to a lot of founders, technical founders even. That idea, create indexes in your database, that idea has been around for 50 years, literally forever. And that is still mind-blowing science to a lot of people. They don't think about those problems. They just assume that it does it all right for you.\n\nAnd so I think the luxury we had at Google or you guys have at Google is that a lot of those things-- one, there's very smart people like you guys to answer those questions when they come up. But also, there's great frameworks to handle it. And we've thought a lot about it.\n\nBut we thought about it in the context of the infrastructure Google has internally built, which is very different from what the rest of the world is like. You don't get those things. You don't have GSLB. Even down to the disk infrastructure of D and all the way up, the big table, you don't have those things. Colossus, you don't have any of that. And you have different assumptions on how things are built.\n\n**MATT:** This really brings to mind something. Two things come into my head. One is, first of all, you've done this sort of meta hero's journey a few times, which is kind of fascinating to me, which is going around the clock with multiple times of, OK, first, you have nothing.\n\nNow you have toy website. Now you have toy website with superpower X. And then let's put thing on cloud. Oh, never mind, scrap that. Let's do it again. OK, now, you have a magic flute and now you're going to go into Castle X.\n\nSo my question is, the actual question is-- so you take some off-the-shelf, perhaps open source tools, then migrate to possibly paid sources made by third party. Then you go, mm, actually, that thing can't do a thing I need because it won't scale. What is that like to migrate from paid tool sort of does what you want, now you're going to do it yourself?\n\n**ADAM FLETCHER:** Oh, your own-- oh, yeah.\n\n**MATT:** What's that you're doing it yourself part like? It's big. Because you're going to do it, it's got to scale up for the thing you're doing. And now you're writing yourself and you have to support it. And my guess that's where the, quote, \"fun\" happens. And scaling and the reliability part becomes scary and opportunity. That, I find really fascinating.\n\n**ADAM FLETCHER:** Yeah, and I think you're right. I think there's these inflection points. Now, for me, personally, and for the last co-founder and my current co-founder, we come from this background. So I'm excited. I'm like, great, I get to do cool shit. And then everyone who's ever worked for me, reminds me, is like, no, you don't. You have to go talk to an investor. You're not allowed to build any of those things.\n\nThe migrations are scary first, especially things like database migrations. Or fundamentally, the stateless web migrations can be fairly straightforward. But migrations between database providers, authentication providers, things like that, migrations from alternative cloud to an honest cloud platform like AWS or GCP or Azure or whatever, those are hard.\n\nAnd they're hard for a lot of interesting and not fun reasons. If I never have to deal with IAM and policies again in my life, I would be-- it would be happy. I'd be in my happy place. But you have to deal with them. And they're there for a reason.\n\nTry explaining, oh, well, you need a private link between these two VCPs. By the way, you want to be multicloud, so those terms don't apply in other clouds. How do you set up a redundant VPN link between two clouds? Yeah, you hire a specialist. This is an area where you-- that's very, very hard.\n\nThe reason these alternative clouds exist for people like me or people who are building startups is because they want it to be easy. Bit.io, the whole premise of bit,io was it sucks to run databases, don't ever think about it again. And we will tune it. We will do the right thing. We will scale it up and scale it down for you. We'll do all of that for you.\n\nAnd that was successful. People loved it. They still loved it. Neon and Supabase exist because of that. But yet eventually, yeah, you got to move sometimes. Sometimes you have to move because someone buys your company. People of bit.io, I apologize when we got bought and we had to move databases. That sucks. Sorry, I hope we helped you. [LAUGHS]\n\nYeah, those transition points are hard. They're very, very hard. And they're still hard. And no one has made that easy.\n\n**STEVE MCGHEE:** Doing the classic podcast thing, we now require you to predict into the future. So projecting from what we've been talking about for the next one to two years, what else do you see that will become weirder or less of a pain in the butt or something like-- how does this arrow point forward?\n\n**ADAM FLETCHER:** It's going to be significantly easier to create software. And that, actually, I love. I've spent a career trying to build tools that make it easy for people to build software, developer tools and things like that.\n\nOne of my big things is software is the most amazing thing that we've come up with. I think of a problem and I solve the problem. Amazing.\n\nAnd I think it's just going to be easier and easier to do that in two years. You're going to have hyperspecialized, hyper-quick builds. You're going to have a lot more internal software built to solve internal problems that will be very customized.\n\nI think you're going to have a lot less need for software engineering in the traditional sense. You'll have more product people build software using the vibe coding stuff and all that. And that'll all be net good initially.\n\n**MATT:** What about some sort of mutual, some happy coexistence between us and the robots?\n\n**ADAM FLETCHER:** Yeah, I definitely think that's possible. The whole premise of the company I'm currently building, MarketStreet, is that the human connection is the important part. Small business owner to small business owner, those people will still exist.\n\nThey will have-- they're doing real problems, talking to real people. They're working in those spaces. And I think that AI can complement a lot of what they do and help them grow their businesses without being extractive against them and can help bring to them-- help build human connection and help build human outreach. That's my goal.\n\nAnd what I'm doing now is, and the driver of that is focus on the humans, not the computers, and focus on the human connection and focus on the interplay in neighborhoods and between people. And I think that's actually where we need to be spending. Obviously, I'm betting on it. But I think that's actually where we need to be spending time.\n\nThere, of course, needs to be building the technology that gets us there. But I think that people don't go away. We have to work with each other. And I think the human connection is the non-replaceable thing for the AI. And we need to focus on that.\n\n**STEVE MCGHEE:** Yeah, on an optimistic take, one of the lines that we use in the resilience community is like, it's a sociotechnical machine. So it's not just the machine driving, but there's people in the loop. We can always-- I don't want to say hope on, count on--\n\n**ADAM FLETCHER:** Hope is not a strategy.\n\n**STEVE MCGHEE:** It's not a thing that we're supposed to--\n\n**ADAM FLETCHER:** It's not a strategy.\n\n**STEVE MCGHEE:** But there are people to at least assist in making decisions and steer things and observe problems and move in the right direction.\n\n**ADAM FLETCHER:** I want us to go there. I want us to be more creative via artificial intelligence. I really want this to be the time. Like we always say, when technology comes and we bring automation in, that frees people up to have their time and their needs taken care of. And I really want that to be true.\n\n**STEVE MCGHEE:** So far, sometimes it works. But a little more tangible, I want to bring us back to another point. So specifically, if we skip the big philosophical angle and strictly focus on the SaaSs of the world and the PaaSs and the whatevers of the world, do you have-- the reason why I'm picking on you is because you're an SRE who is further, further towards the edge of this technology than most people that we talk to.\n\nSo I'm curious what you think are the problems with the current offerings that you think might be solutionified and turned into platformy things next. Or what's your wish list really, in terms of how to progress this stuff so that the next round, Adam 3.0 will come around behind you and have a better time solving problems like this?\n\n**ADAM FLETCHER:** What I really want-- and people have heard this rant before. But what I really want is the software as a service, the platform as a service, that is the SRE model from Google to exist in the world, where-- at Google--\n\n**STEVE MCGHEE:** Aw, shucks.\n\n**ADAM FLETCHER:** Yeah, I know. Well, we have ownership. I think that every time-- we had a product that we onboarded into SRE, it was a paired partnership, ownership with product and with everybody involved, where SRE had the full and reason and expectation of modifying the code, building the code, making it-- solving the aspect of reliability often to security and things like that would come in and we would just, hey, we changed your code.\n\nLiterally, I think one of the first projects I worked on at Google when I stopped doing airline stuff was Google News. We moved, we ported Google News from the old framework. It was on to a framework, an internal framework Google has, called Apps Framework, which maybe still exists, I don't know.\n\nBut it offered underlying it-- it was like an SRE-led initiative that underlying it with all of these things like load shedding and all these different reliability things that made it just much, much easier to operate at scale and much more reliable. And we did the port of from the bespoke--\n\n**STEVE MCGHEE:** We, the SRE team.\n\n**ADAM FLETCHER:** We, the SRE team, did the port over to Apps Framework. And it made Google News a much more stable and reliable platform and helped to grow-- or helped stay alive and grow from then on. And I wish we would see that in the world today.\n\nWe get all these people building SRE, quote, \"SRE\" SaaS products that are not that. They're very reactive. They're very about monitoring and they're very about all these other things. And they're all reactive.\n\nThey're all like, oh, we reduced your MTTR. I'm like, well, why don't you just change the code? I want to check in my code and I want it to be like, yo, I added all this stuff. And by the way, all of it's awesome now. All the reliability stuff is awesome now.\n\nYou weren't doing multiregion, I got to configure it if you wanted. Here's your code changed. You weren't doing load shedding, I got it, I turned it on. That's what I want from my next SRE SaaS. I don't need more monitoring, and I don't need alerting. And I don't need incident management or SLOs or all that. I have all that.\n\n**STEVE MCGHEE:** Isn't that requisite at the code layer? It's not at the platform infrastructure layer.\n\n**ADAM FLETCHER:** 100% in the code. It's in the code.\n\n**STEVE MCGHEE:** This isn't a platform hot swap, Indiana Jones situation. This is a you now need to build the thing this way. You're going to use this framework. Yeah, there's a migration event. But that has-- there's a lot of-- I work with customers a lot. Migrations don't happen honestly very often.\n\n**ADAM FLETCHER:** You don't want them to. They're costly.\n\n**STEVE MCGHEE:** They're costly. And they feel to be zero value often.\n\n**ADAM FLETCHER:** Or negative value, potentially.\n\n**MATT:** Yeah, you're now introducing a maintenance burden to your development team, that's going to be, well, why am I doing this? You're like, well, your uptime is going to go up. And you're like, and I now don't understand this new platform I'm on--\n\n**STEVE MCGHEE:** Right.\n\n**MATT:** --yet. I look forward to understanding it in the future. But right now, it's just, the cost of understanding this is very high. And your reliability team is like, look, it's going to be great. It's like, but I haven't been convinced and I have a bunch of new features I want out next quarter.\n\nAnd that sounds to me to be a discussion that we keep having. And if you are a big, big company, you can afford that cost. And your developer team will give you a lot of rope to work with. But if you're really small, that is a really difficult decision to make for your team, especially if you're working with limited budget.\n\nAnd I agree with you. If these things were in place all around you, you don't need to figure this out yourself. We've already built you a resilient framework. Just use this one. It has load shedding in it and monitoring tools in it and alerting in it-- just why would you do the other thing yourself? That would be madness.\n\n**ADAM FLETCHER:** And I want the tools, the platform, to effectively do the migration with zero downtime for me. I want it to be like, here's the Git commit, by the way. We can run it and we'll split. You'll have an A/B test. We'll do it. And\n\nIt just does-- I don't have to think about it. A very practical one, like Django, it's an ORM for Python and a website building tool for Python. It's very, very reliable. It's been around forever. There's migrations in it.\n\nBut there's also you have to run it inside another framework from Gunicorn-- or Uvicorn is the new one, right? And that's the async version. What are the benefits of that? How do we explain that? How do we automatically port you over to it if you're in a legacy Django code base?\n\nIt should just do that. It should know. It should be like, and I've installed these extensions and they're configured and they're running, and we tested it here. And that's what I think. If someone came to Google SRE, they would own and do that. And of course, it's a little easier because the SRE org is convinced of the value of that.\n\nAnd I think performance-- for what it's worth, I think performance is the magic answer to a lot of these questions. And it was at Google, too. When we would pitch things, people understood the value of a millisecond. I used to go visit the GFE team, the Google front end team, in Cambridge when I was there. And I'd go downstairs and they're writing code.\n\nAnd they had this big diagram on the whiteboard that was how many nanoseconds each branch of the GFE took because they cared. That mattered a significant amount. You're this piece of infrastructure that can't take-- your budget is not milliseconds. It's nanoseconds. But performance results in delight. It results in the user.\n\nAnd it results in-- I think you can actually track the value of performance. And so one thing you can say is, oh, we're doing this migration not just for reliability, but also, look at this cool thing, this performance thing, which actually increases your bottom line. It's a revenue-generator. It's not a cost center. And we give you clarity as to why it matters. I think that's one of the hacks you have as--\n\n**STEVE MCGHEE:** There's a similar story from years before, around News where-- but this was in the-- if you remember, there was a downloader service for apps that Google provided for Windows and Mac and stuff like that?\n\n**ADAM FLETCHER:** Oh yeah, yeah, yeah.\n\n**STEVE MCGHEE:** It was like the blob serving. But it was one specifically for applications, so they had versions and package manifests and blah, blah, blah, blah. It was homegrown for years and years and years. And one very, very cool software engineer, who doesn't describe himself as an SRE, went in and was like, I have replaced you with a small Go script because I like Go a lot.\n\nThe reason why it worked was performance went through the roof. Simplification of the code, it dropped dramatically. And they were able to shed all of the features that they didn't really use anymore. And no one would have done that on their own. But he was just a senior engineer, who was looking for something cool to do.\n\nI feel like that value, if we could package that concept and bring it out to the world and be like, this is actually good, a win executed well-- you don't want someone spending 16 years trying to do that with a team of 55 people who constantly cycle and waste a bunch of money.\n\nIf you could atomically do that thing, you can get a huge amount of value out of it and not just in terms of money and performance, but reliability and probably security and all sorts of other things like maintainability and all these things. So that's really hard to get across to everybody, I think.\n\n**ADAM FLETCHER:** I think you're right. I think it is very, very hard to get across. I harp on performance as this-- one of the reasons is because you can always show that cool graph, man, where it's like, this took 200 milliseconds, now it takes 10. Those graphs are very convincing.\n\nAnd this is true for beyond the startup world. This is true in the small business, medium-sized business, big business world. Man, those graphs sell. You've really changed a lot. And you can point to the direct monetary impact of this-- less compute, less memory-- or maybe not less memory, maybe you're doing the trade off.\n\nBut still, you get the point, too. And I think that that's a big, big thing. And if you include in that reliability, which often you do-- and I think you made a good point about code simplification and architectural simplification. You got rid of all the things. You got rid of all the assumptions. You understood the abstractions better. A good refactor does that.\n\nAnd I think that's one of the things that I'd love to see the SaaS tools start doing that. I think we're close. I think we're a year out from, really, the LLMs being able to do quite a bit of that with some, at first, human hand-holding.\n\n**STEVE MCGHEE:** The ability for an LLM to go in and actually do open heart surgery on your code is new. It didn't exist. This didn't exist five years ago. No way.\n\n**ADAM FLETCHER:** It wasn't here two years ago.\n\n**STEVE MCGHEE:** Good point.\n\n**ADAM FLETCHER:** The first time I tried doing something two years ago with Copilot, I was like, wow, you can't even do math. And now I'm like, build my whole site. And it's like, I got you.\n\n**STEVE MCGHEE:** Start over. Do it again.\n\n**ADAM FLETCHER:** No, exactly. It's always like, oh, you're right.\n\n**STEVE MCGHEE:** The other day, I was vibe coding and it did something weird. I literally wrote into the chat window, not like that. And it did the right thing.\n\n**ADAM FLETCHER:** It did the right thing.\n\n**STEVE MCGHEE:** I was like, wow.\n\n**ADAM FLETCHER:** Yeah, I always feel like it's reading the first or second design doc a junior engineer has built, has written. And you come in and you're like, I see where you're coming from, great assumption.\n\n**STEVE MCGHEE:** Cool plan, bro.\n\n**ADAM FLETCHER:** Yeah, trust me on this one. You really want to do it this way, which is the actual best practice. And so then they're like, oh, cool. And they go do some research. And they find out--\n\n**MATT:** Yeah, yeah, you could do it like an expert. And they're like, oh, OK.\n\n**ADAM FLETCHER:** Yeah, OK. Oh, yeah, you're right, you're right.\n\n**MATT:** No, no. Do it like a world-class expert.\n\n**ADAM FLETCHER:** And he's like, oh, good idea. I should do it-- it's like, so sorry that it didn't before. I'm like, just do it before.\n\n**MATT:** Well, yeah, I was trained on the internet, not the expert in it, sorry.\n\n**ADAM FLETCHER:** Yeah, exactly.\n\n**MATT:** All right. Well, we're getting close to the end of our time here, so I'd like to ask you a question, for a number-- a number in your travels with a unit, preferably a surprising number, like a really big number or really tiny number or a fast number or a long number, something that really is exceptional--\n\n**STEVE MCGHEE:** A number with letters in it, anything.\n\n**MATT:** Yeah, yeah, something-- yeah, something that's like, wow, that was impressive to you, that surprised you in your studies in the world. And you're like, wow, I found out this thing when I was looking at a thing. I was like, I had no idea this is a really big thing or this is what people need or want or whatever it is that you would like our listeners to hear about, that's something that really impressed you.\n\n**ADAM FLETCHER:** Oh, boy. OK, I have a sort of funny anecdotal story about numbers and relates to my work at ITA, is that if-- you know the confirmation code you get on your ticket?\n\n**MATT:** They had letters and numbers--\n\n**ADAM FLETCHER:** They're letters and numbers, right? The reason those are letters and numbers is because, yeah-- [CHUCKLES] is that-- this is not a confirmation code. This is the flight-- our first flight we took on our reservation system.\n\n**STEVE MCGHEE:** Close to it, yeah.\n\n**ADAM FLETCHER:** Close to it. Anyway, confirmation code, those are six digits, six characters. The reason those are that is because when they first started storing your tickets and record locators on disk, that was the block address on disk of your--\n\n**STEVE MCGHEE:** Physically speaking.\n\n**ADAM FLETCHER:** It's physical pointer.\n\n**MATT:** In cylinder somewhere.\n\n**ADAM FLETCHER:** So it's literally-- yeah, literally a physical pointer. Imagine you printf the pointer and you got the address. And you're just like, here, this is yours. This is how you find it.\n\n**STEVE MCGHEE:** Are those locator--\n\n**ADAM FLETCHER:** They're not in hex. They're--\n\n**STEVE MCGHEE:** I've seen Zs and stuff in there.\n\n**ADAM FLETCHER:** They're not in hex. They're literally IBM 360 disk addresses.\n\n**STEVE MCGHEE:** They're some sort of 36-character--\n\n**ADAM FLETCHER:** Yeah, some sort of 36 character by 6. Yeah, factorial 6 or whatever it is, I am bad at math. And that number has-- that's always really impressed me, that the leakage-- just talking about leaking your abstractions. But it worked great. You can find it fast. Hash tables are the most profitable data structure.\n\n**MATT:** Railroad-grade standard of flight locators, this is fantastic.\n\n**STEVE MCGHEE:** Of one across a very large key space, let's do it.\n\n**ADAM FLETCHER:** Yeah, let's do it. But now you have to support it. So all the new stuff that doesn't do that, it's like, what the [MUTED]? How are we supporting this? [LAUGHS]\n\n**STEVE MCGHEE:** That's awesome.\n\n**ADAM FLETCHER:** Yeah, yeah, it's pretty funny. The other fact that I find interesting about small business, related to small business and things like that, one, is every time I've talked to a small business owner and asked, do you use AI, they have laughed at me. Two, the median age--\n\n**STEVE MCGHEE:** Which way do they laugh at you, the “of course I do” or “of course I don't”?\n\n**ADAM FLETCHER:** “Of course I do not.” So the people that you-- when you walk into a retail store, think about the technological differences, the age gap, the exposure, the cultural context of all those people is so different than what we are--\n\n**STEVE MCGHEE:** Let's remember what medians mean, above and below that number. So yeah, that's pretty awesome.\n\n**ADAM FLETCHER:** Exactly. Yeah, a lot of it are-- obviously, 50% above, but yeah.\n\n**STEVE MCGHEE:** Cool. Well, thank you very much, Adam. This has been a great talk, unsurprisingly. Is there anywhere on the internet that you would like people to hear your words in other ways or otherwise hear you make jokes or talk about runs you go on or whatever sort of socials--\n\n**ADAM FLETCHER:** Yeah, I'm on Twitter, @WriteAheadLog, which, if you're a database person, you will find that somewhat funny or perhaps not, if you've ever used or had to repair one, then [LAUGHS] you might have PTSD. My company is MarketStreet, MarketST.com right now. There's a funny story about the actual domain. I'll tell you later. And then, yeah, check us out.\n\nAnd look, email me. And if you're some sort of estuary that's starting a small business, I want to hear from you. It's like a strange-- [CHUCKLES] but yeah. And computers are the best.\n\n**STEVE MCGHEE:** Cool. Thanks, Adam.\n\n**MATT:** Thank you.\n\n**STEVE MCGHEE:** And don't forget, everyone, that hope is not a strategy. And we'll see you next time.\n\n**ADAM FLETCHER:** Hope is not a strategy. All right. See you. Bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 49265, "slov": 9029, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:56", "sha256": "dca87e7190246cd59751f050e68dd9b9429c5bc55e3d3dc789455efe204ce9f3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07", "titulek": "The One with STPA, Jeffrey Snover, and Theo Klein", "h1": "The One with STPA, Jeffrey Snover, and Theo Klein", "popis": "This episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. Theo Klein, a Google SRE, and Jeffrey Snover, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07"}, "headline": "The One with STPA, Jeffrey Snover, and Theo Klein", "description": "This episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. Theo Klein, a Google SRE, and Jeffrey Snover, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.", "image": "https://kstatic.googleusercontent.com/files/a9c50b6aa7a545ce0132832a3f57ef62578cf7d164f394f13a5e2dc128c3f4bfd8ff55ad6e5a6cbba8aa4c83d3a9d76b95df20962846058c3a8f29dda912a172", "author": [{"@type": "Person", "name": " Theo Klein"}, {"@type": "Person", "name": "Jeffrey Snover"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with STPA, Jeffrey Snover, and Theo Klein"}], "markdown": "# The One with STPA, Jeffrey Snover, and Theo Klein\n\nThis episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. **Theo Klein**, a Google SRE, and **Jeffrey Snover**, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** All right, Hey, everyone. Welcome back to the Google podcast. This is Google's podcast about SRE and production software. Today, we have two special guests. We have Theo and Jeffrey. Jeffrey and Theo, why don't you guys introduce yourselves?\n\n**THEO KLEIN:** My name is Theo. I'm a site reliability engineer based out of New York City. And I've been working at Google for about 5 and 1/2 years now, specifically with Google Maps. And in the last two years, I've been working on this thing called STPA, which we'll talk quite a bit about in this episode.\n\nI'm super passionate about it. I used to be an STPA hater, but now I'm a convert. And I've been shouting STPA from the rooftops.\n\n**JEFFREY SNOVER:** That's awesome. And I'm Jeffrey Snover. I'm a distinguished engineer. I've been working at Google for 2 and a 1/2 years. Before that, I was 23 years at Microsoft. And indeed, one of the things that drew me to Google was the opportunity to work on STPA and risk management.\n\n**STEVE MCGHEE:** Cool. And then we also have this other guy. Matt, you look-- I've met you before, I think. Have we met? Have we met?\n\n**MATT SIEGLER:** Yes, we have, many times now.\n\n**STEVE MCGHEE:** Cool.\n\n**MATT SIEGLER:** I'm Matt Siegler. I'm your co-host.\n\n**STEVE MCGHEE:** OK. So STPA, those are letters. Would someone like to un-letter them for us, de-acronym them? Or tell us what it really is, even if the letters don't matter. What's going on?\n\n**THEO KLEIN:** I mean, STPA stands for Systems Theoretic Process Analysis. And what it really is is a novel way of analyzing complex systems. So traditionally, when we look at outages, we think about the five Whys. And we think about a time series of events that leads to some unacceptable outage.\n\nAnd when we think about the five whys, we say, OK, go back through the timeline, and then we find the fifth why, and that's the root cause. But Systems Theoretic Process Analysis takes a completely different view on hazards and losses. And what it says, it claims that accidents and losses happen when we lose control in the system. Some part of the system is misbehaving, and it's a control problem, not a failure problem. So I don't know if, Jeffrey, you want to take it from there.\n\n**JEFFREY SNOVER:** Yeah, that's exactly correct. So this is grounded in safety design, came out of MIT. Again, all kind of grounded in this control theory. So that's MIT, right? So it's super good and then lousy names. **[LAUGHS]** But that's exactly correct.\n\nAnd so there are some circumstances where there is no acceptable loss. Data privacy, data integrity, things like those-- there, you really can't tolerate loss. If you think about it-- when I talked to Ben Treynor about coming to Google, he said, Jeffrey, the heart of SRE is to manage this tension between reliability and innovation.\n\nAnd the way we did that was by coming up with this loss budget, the error budget. And what that says is, hey, we're going to define an error budget. And then you can go as fast as you want until you incur this amount of loss. And then you got to stop and then reset.\n\nAnd that balances reliability, because he said, I know how to give you reliability. Get it working and cut off the check-ins. But then you don't get any innovation. Because I can give you all the innovation you want as long as you don't want to have any-- as long as you don't want to care whether it is up or not.\n\nAnd so basically, the loss budget achieves that. He says, but the challenge is, how do we take SRE to the next level? How do we get this balance between reliability and innovation without the loss? And so that was the challenge he posed to me to come to Google and work on that. So risk management was a big part of that. And then STPA is just a fantastic tool in the risk management toolbox.\n\n**STEVE MCGHEE:** Gotcha.\n\n**MATT SIEGLER:** Yeah. I'd like to first talk a bit about what control means here. Tell me what you mean about control. That's a phrase that I think I know what that means. But I think you have a specific meaning in mind here.\n\n**THEO KLEIN:** Yeah. \"Control\" is a really important term in STPA. When you think of a complex system, you have a bunch of different independent actors that are making actions in that system. So you can think of a human as a controller. Your computer is a controller in some sense. The environment is a controlled process.\n\nSo when we talk about control, really, we're talking about actions that constrain controlled processes. So an example of control might be something-- so in the system, let's say of a thermostat in a room. I'm a human in a room with a thermostat, and there's a boiler.\n\nAs a human, I can control the temperature of the room via the thermostat. And that goes through the thermostat, into the boiler, into the room. The room has no control over the temperature. It just is. I, as a human, have the most control in the system because I have the most agency.\n\nThe thermostat has some control over the boiler, but the thermostat doesn't have control over me. It just has control over the boiler and transitively to the room. And the boiler controls the temperature of the room itself. So control is really about authority and the actions that you can impose on the controlled processes.\n\n**JEFFREY SNOVER:** Yeah. It is a different way to think about the problem. And it takes a little bit to get your head through the knothole. That's why I think Theo mentioned he was originally an STPA hater. It takes a little, like, what, what? But then you work through it a couple times. And then you're like, oh, I get it.\n\nAnd so the heart of it is that this controller performs actions on a controlled process. Well, how does it do that? Well, first off, it has goals. I want to be comfortable. So you got to know what your goals are. And then it has a worldview. So where do you get a worldview? Well, you get a worldview from information, external information or information from the control process.\n\nAnd then you take that worldview. You compare it against your goals. If everything's aligned, happy days. You do nothing. But when the worldview is in conflict with your goals, then you have to do something. And you do something, which is to say, you perform an action to make the world more aligned with your goals.\n\nSo I'm cold. I look at the thermostat. Oh, no wonder. My damn kid said it's too high or whatever, too low. So I'm going to change it. So then I change it.\n\n**STEVE MCGHEE:** How different is this from declarative versus imperative systems? You're kind of setting a goal, and then you're letting the system do its work. We've talked publicly about an Annealing system that has been developed inside of Google and the production world.\n\nAnd then also in Kubernetes, we have these operators, where we're setting some intent. And then we're letting the operator observe its system and collapse the wave function into something where your intent becomes true. It seems like these are cousins, at least, or similar to each other. Is that right?\n\n**THEO KLEIN:** Yeah. I think the systems that you described can definitely be modeled in a control structure, where these agents are controllers, and they are very clearly attempting to control some underlying system. So it models control but also feedback. And Jeffrey was describing that feedback. And you were also describing that feedback, Steve, about observing. So you have an intent, and you observe the production system. And you're saying, ah, the production system is not in the state that I want it to be in.\n\nSo you're observing. That's feedback. And then you process that feedback, and then you execute an action. And so that's the feedback. There's a control and feedback loop. Now, the problem is that there are problems that can occur when some part of that loop breaks. Either I misinterpret the feedback, I believe-- so for example, the production environment is in a bad state.\n\nLet's say we're having a complete outage because we have the wrong binary release. My system that processes the production environment, incorrectly observes my production environment. And it says, oh, I have the correct binary in production. And therefore, it does not issue an action.\n\nThe result of that is that my outage persists, even though I have told my production manager to remove any binary that is, quote unquote, \"bad.\" So that's an example of it being unable to interpret the feedback correctly and as a result, letting an outage persist.\n\nSo these feedback loops are really important. And that's really at the core of STPA, is modeling these control and feedback loops and then identifying the conditions under which these control and feedback loops misbehave and, as a result, achieve an unacceptable loss.\n\nAnd when I say unacceptable loss, what I mean here is we have a loss of revenue, or our lawyers get upset, or XYZ problem that maybe I can't talk about on this podcast, something that is truly unacceptable. And we try to figure out the ways in which this system might result in that unacceptable loss.\n\nNow, Steve, I want to go back to your example because you actually produce a perfect example to highlight two of the critical aspects of STPA. So you said, hey, what's the difference between basically, a desired-state configuration-- desired-state controller, where you set things and it goes, versus an operations-oriented model?\n\nWell, they're both controlled processes. And they're patterns for controlled processes. One is where the human gathers the information, compares it against things, and then it performs-- you perform the control actions. The other is where you say, hey, I express my intent. And then the system does that loop.\n\nAnd then those are two different models. Both work with STPA. They have strengths and weaknesses. But one of the great benefits of STPA is that it is a system that allows you to analyze things that are sociotechnical, which is to say, some of those decisions are made by the system, and some of them are made by you.\n\nSo for instance, even the case of desired state configuration, you made the configuration. What was your process for doing that? And often, that has controls and is informed by systems, et cetera. And it is often the source of error, like, oh, the system worked perfectly. I just gave it the bad configuration.\n\n**STEVE MCGHEE:** Are you suggesting humans are fallible? Jeffrey, how dare you, sir.\n\n**JEFFREY SNOVER:** It turns out.\n\n**MATT SIEGLER:** I'm following you here. It feels like this is a bit theoretical. But I'm getting-- I'm feeling us getting towards something practical pretty soon here. So we're going to do some modeling here where you're modeling the behavior of something that maybe traditionally, we had some implicit belief in how it behaves.\n\nWe're going to model it a little deeper, a little deeper than we used to. We're going to model these-- we're going to model these losses in a different way. What is this going to buy us? Why would we go to this trouble? Because it sounds like there's going to be some trouble. I'm going to get some payoff. Why am I headed in this direction? Presumably, because of a payoff. Tell us a little bit about that.\n\n**THEO KLEIN:** Yeah. So that's-- I mean, that's a really great point. Ultimately, everything comes down to cost and benefit. And as site reliability engineers, my benefit is making sure that our systems are safer. Now, what tools do I have in my toolbox to figure out whether or not a system is safe?\n\nWell, I can do design reviews. I can do code reviews. I can implement n plus 2 redundancies. I can implement SLOs. But none of these really get at the core benefit of understanding whether my system is safe. I don't really-- unless I-- in my design review, I try and really go down this random walk of all these possible edge cases.\n\nI don't have the framework through which to systematically review the safety of my system. And STPA-- and this was a process that took us a long time to get right with software. But STPA allows us to very efficiently identify key design flaws before we've even written our code.\n\nSo I'll give you an example. I ran an STPA on a system that had not yet been built. All right. It processes road disruptions, takes as input, information from the world, and it figures out which roads should be closed on Google Maps. And this design seemed really simple, read a file, figure out what's changed, write it to a database. Couldn't get simpler than that.\n\n**JEFFREY SNOVER:** How hard could it be?\n\n**THEO KLEIN:** How hard could it be?\n\n**STEVE MCGHEE:** I can do that. Come on.\n\n**JEFFREY SNOVER:** What could go wrong?\n\n**THEO KLEIN:** What could go wrong? Now, we look at this design, and everyone looks at this design and gives us a thumbs up. Let's launch. And then I said, hold on. There's this new thing called STPA. And it allows us to analyze designs that are relatively-- well, we think this might be simple, but there are a few steps in here.\n\nLet's analyze this. And give me-- and I tell this to my developers. And I say, give me an hour and a half of your time, and let's run STPA on it. And let's see if we can catch any design flaws. And if we catch a few, maybe you'll want more of this STPA. And I say--\n\n**STEVE MCGHEE:** This feels a little bit like formal methods. Is this where you look back at your system, and you like to find the algorithm in TLA or something, and you run a checker against it, and you're like-- is it that level of system, or is it totally different? Am I getting that wrong?\n\n**THEO KLEIN:** Well, that's a great question, and it actually comes up a lot. People ask, oh, I've used TLA+. And this is not-- this is not like TLA+.\n\n**STEVE MCGHEE:** This is not that. OK.\n\n**THEO KLEIN:** This is not that.\n\n**STEVE MCGHEE:** TLA is hard. I don't want to do TLA. **[CHUCKLES]**\n\n**THEO KLEIN:** And I think STPA is hard to get right, but it's hard for a different reason. It's not tedious. And you aren't trying to exhaustively define the behavior. Actually, you look at the abstract responsibilities of all of the different parts of your system. And so what we did is we spent an hour and a half with these developers of this road disruptions pipeline. And we found something like three system gaps in an hour and a half.\n\n**STEVE MCGHEE:** Can you describe any of those in particular? Like, what's the detail?\n\n**THEO KLEIN:** Yeah.\n\n**STEVE MCGHEE:** Is it like they forgot a semicolon, or is it something more fun than that?\n\n**THEO KLEIN:** No, it's--\n\n**JEFFREY SNOVER:** Yeah, great question.\n\n**THEO KLEIN:** It's like a fundamental requirements gap.\n\n**STEVE MCGHEE:** OK.\n\n**THEO KLEIN:** So the one that I give in my talk is the one where essentially, we-- the impact of this gap is that we have a logical flaw. The result of it is that we forget to add road closures onto the map. All right. So imagine this. You have a parade in New York City.\n\nAnd we've known about this parade for months. And we could have added the road closure across Brooklyn. And yet, for some reason, we don't add the road closure onto Google Maps. And we navigate users across that parade. So now you have a backup of cars trying to cross a parade.\n\n**JEFFREY SNOVER:** No bueno.\n\n**THEO KLEIN:** And then we have this mega PR event. So that's the loss. All right. So that's-- so then the question is--\n\n**STEVE MCGHEE:** Seems bad, got it, yeah. For sure.\n\n**THEO KLEIN:** We don't want that. So how can this system result in that loss? That is the question of STPA. We try to answer that question.\n\n**MATT SIEGLER:** Presumably, you did not a priori say, let's not have active roads, cross parades somewhere. That didn't go into the analysis ahead of time.\n\n**STEVE MCGHEE:** No.\n\n**THEO KLEIN:** So no.\n\n**MATT SIEGLER:** So how did you discover losses without being so specific ahead of time?\n\n**THEO KLEIN:** The losses – we send users down a street that has a parade. All right. Concretely, what that means is, we don't have a road closure in our database on Google Maps, where there should be a road closure. All right. So there's a missing road closure in our database.\n\nSo you ask yourself-- and now, I'm going to be paraphrasing a lot of the mechanics of STPA here. But essentially, we say, well, how on earth could that happen? How on earth could it be that we don't add a road closure when we should be? So we have, in our control structure-- the bottom part of our control structure is our database. That is the system that we're controlling.\n\nAnd we have a controller, which is another piece of software, whose goal is to ensure that all active road closures are on Google Maps. And so it has a control action of, add a road closure or remove a road closure. And so then the question is, how could it be that we don't add a road closure when we should have?\n\nNow, that's the question. And then we look at the feedback. We look at the control actions. We look at the logic inside of that controller. And in this particular case, we discovered that the logic inside of this piece of software was flawed.\n\nSo how on earth did this piece of software figure out when to add a road closure? Well, let's look into it. What it did, gets a file. All right. And the file contains all active road closures. And then it gets another file, and that's version 2. And what it does is very simple. It diffs the two files, and it says, aha, here is a new road closure in version 2. Let me add it into Google Maps. But what happens if, in the process of adding this road closure, it fails to do so?\n\n**STEVE MCGHEE:** Oh, like the diff just doesn't diff or something like that.\n\n**THEO KLEIN:** The diff doesn't diff, or maybe the--\n\n**STEVE MCGHEE:** Or it's a crash or--\n\n**THEO KLEIN:** --HTTP request.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** Exactly. The HTTP request fails, no retry. Or maybe there's a maximum set of retries, and it fails all three retries.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** All right. You see where this is going?\n\n**STEVE MCGHEE:** I have a guess. Yeah.\n\n**THEO KLEIN:** Version 3 is compared against version 2, no diff.\n\n**STEVE MCGHEE:** Yep. Should be fine.\n\n**THEO KLEIN:** Should be fine.\n\n**STEVE MCGHEE:** Parade away. Have a parade.\n\n**THEO KLEIN:** Parade away, exactly. Well, according to Google, there is no parade. And so the flaw here is in assuming that the previous version of this file is equivalent to the state of Google Maps. Now, if you were to look at this from a data flow diagram, you would say, oh, of course, you just diff, and then you apply. And if you fail, you reapply.\n\nOr even if you don't think about failure-- I mean, that's sometimes the case, where we don't think about this edge case. And this is not-- I'm not trying to disparage anyone. Really, this is the state-- the number of states that you have to think through in order to exhaustively identify all of the failure modes is enormous.\n\nI mean, it's 2 to the n, where n is the number of parts in your state. So with STPA, you start from a top-- you start from this top abstract view, OK? Here is the unacceptable loss. And then you dive a little bit deeper. And you say, how could this happen? And then you dive a little bit deeper. And you say, OK, it must be this control action that could possibly lead to this loss.\n\nAnd then you ask another question. OK, so under which conditions could this control action be unsafe? And then you might even dive a little bit deeper if you'd like. And then see that your diffing logic is flawed. And that is an example of one case where you lead to the loss.\n\n**STEVE MCGHEE:** This is a great-- I'm really happy. This is a concrete example because I've never heard one before. I've heard STPA so many times, and they've been like, it's clearly a matter of risks and rewards and Ps and As and something like that. I'm like, yeah, but what is it really? So this is great.\n\nSo my first question or my-- the thing in the back of my head is like, when you went to go to analyze this, you had to use your smart human brain to come up with that high-level abstract risk of, I don't want cars to cross road closures. That was the thing that drove the rest of this analysis. Is that right?\n\n**THEO KLEIN:** Yes.\n\n**STEVE MCGHEE:** OK. So the step one is thinking about the abstract unsafe behavior--\n\n**THEO KLEIN:** --the losses.\n\n**STEVE MCGHEE:** --of a system. The losses, thank you, that's the term. And then you go through this process of figuring out what could then drive those losses to occur in reality. Is that--\n\n**THEO KLEIN:** Exactly.\n\n**STEVE MCGHEE:** Sound about right?\n\n**THEO KLEIN:** That's exactly right.\n\n**STEVE MCGHEE:** I think we got it. Matt, I think we're done.\n\n**THEO KLEIN:** You got it.\n\n**MATT SIEGLER:** Well--\n\n**STEVE MCGHEE:** Let's call it.\n\n**MATT SIEGLER:** --can we talk a bit about the relative concern of different kinds of losses?\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** You can have very unusual losses, like rock falls out of the sky and causes a damage to the road. And that's a surprise. But that probably happens almost never. But it does happen. Then you have a parade, which is rare, but does happen once in a while.\n\nAnd then you have a traffic jam, which happens everyday. I'm going to guess there's some probability entering into this. Do we have some of those things happening in there?\n\n**THEO KLEIN:** That's an interesting question. And in the world of systems safety, probability is a hot topic. And depending on who you ask, someone might get upset that we brought up probability, in part, because it is actually very hard unless you have many, many samples.\n\nIt is actually very hard to provide an accurate probability. And so what we've been trying to do, at least within GEO Google Maps SRE, is by using a different metric to prioritize losses and mitigations. So really, across all losses, there is a-- every loss is unacceptable.\n\nSo some may be more unacceptable than others. But truly, we don't want any of them to happen, by definition. Then when we look at ranking loss scenarios, we think about the number of ways that a loss scenario can occur. And then, actually, what is more important, I think, is the cost of the mitigation.\n\nSo how costly will it be for us to prevent this loss? Maybe we can-- for 20% of the cost, we can get rid of 80% of the problems. And that's really just the cost-benefit where we start horse trading.\n\n**JEFFREY SNOVER:** And it's important at this point to draw the distinction here. And now, we're talking about a set of things that deviates from the MIT STPA approach, right? So from them, they're sort of absolutists. Hey, this is used for the design of a nuclear plant. This is used for an aircraft carrier. And for that, you got to solve all of them.\n\nAnd it doesn't really work for our world. **[CHUCKLES]** So we have had to take STPA in its pure form and then say, hey, in a world of commercial software development, you need to make some changes. And so Google's been leading that way. We've been documenting those things. Theo and others have been giving talks about how you take this great technology. But then you apply it in the real world for software systems and to be effective.\n\n**MATT SIEGLER:** Yeah, I was going to say that, in the software world everything is possible.\n\n**JEFFREY SNOVER:** Everything is possible, baby.\n\n**THEO KLEIN:** Yeah. Now, to go back to this Pareto point, what we end up doing within Google is actually performing a 20% of an STPA. We rarely have the time to complete an STPA, and usually it's because we find so much at the 20% mark.\n\nSo to complete this road disruption story, we found three problems within an hour and a half. And the developer said, more, please. Let's do another session. And so we did another session. And overall, we spent about 27 hours across five engineers. And we found seven design flaws, seven design flaws.\n\nAnd this is 27 SWE hours. Now, these 27 hours included the cost of fixing these problems, which was so cheap because we hadn't built the system yet. It's a super efficient design review. And we were able to solve these design flaws by rewriting the design document. And we only analyzed, I would say, 20% of the control structure in order to find these seven design flaws.\n\n**MATT SIEGLER:** This sounds a little bit like test-driven development when you're at the engineering point but upstream of it at the design point. How thorough do I need to be in my design before it can be useful? Because lots of designs are not particularly thorough.\n\nThey're not deep into their trees of all the different states you could get at. When can you show up and actually apply this? I haven't figured out all my edge cases yet. I'm on iteration 2 of 5,000. When can I get to STPA? How mature do I need to be?\n\n**THEO KLEIN:** So the good news is that you can use STPA before you've actually designed your system. We have started experimenting internally, and it has been done outside of Google already. But we've been using this internally where we use STPA to design our system.\n\nWe start with the control structures, and we define the goal of the system that we want to build. And we think, we think, in the abstract, OK, what controllers do we need to make sure that these losses cannot be achieved? And then we say, OK, we need this abstract controller to constrain this process.\n\nWe need some system to ensure that our database is never in this state. And then, once we've defined these safety requirements, we can then go to the paper and say, how do we build that? And here are the safety requirements.\n\n**JEFFREY SNOVER:** What we found a lot is these feedback mechanisms are broken. Second biggest thing, go and say, hey, what's the goal of these system? Silence.\n\n**[LAUGHING]**\n\nIt's like, wait, no, I'm just asking what's it supposed to do. Silence.\n\n**MATT SIEGLER:** A lot of implicit goals.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** Or sometimes, we don't even realize what we're trying to achieve.\n\n**JEFFREY SNOVER:** Yeah, that's the point. And so, again, back to how STPA can be helpful. You got to start with, what are your goals? What does success look like? And then, from there, you say, OK, what does loss look like? And then that can guide you to designs and decisions.\n\n**STEVE MCGHEE:** So it sounds to me like STPA is not a compiler. It is not a system that looks at a system and goes like, here's 16 errors. It's like it's a discussion technique. It's a human-to-human conversation over some hours on a whiteboard and a lot of coffee, probably, like Red Bull.\n\n**THEO KLEIN:** That's entirely correct.\n\n**STEVE MCGHEE:** Cool.\n\n**THEO KLEIN:** It is a human-driven process. And in some ways, it's a question-prompting engine, is what I think of.\n\n**JEFFREY SNOVER:** And since we're talking to an SRE audience, a lot of people will say, well, hey, how does this compare to reliability? So Theo, you've got a great example of the difference between reliability and safety. Have at it, my friend.\n\n**THEO KLEIN:** Thanks for setting me up on this one. I have a prop. I do have a prop for this. So the idea, the difference between reliability and system safety can be conveyed with the butter knife. Now, the butter knife is a reliable component, right? I mean, I can't break it. And I'm really putting in all my energy.\n\nAnd this is a good Google knife, not branded Google, but it came from it, property of Google. Thank goodness, I can't break it. And I can perform-- it can perform its responsibilities well. And I can cut butter with it, and I can do so safely. I won't get hurt by using it to cut butter.\n\nBut what if I took this butter knife and I shove it in the electrical outlet? OK. I'm going to be electrocuted.\n\n**STEVE MCGHEE:** For the audio-only audience, Theo showed an outlet and put it-- that was uncomfortably close to the outlet, man.\n\n**THEO KLEIN:** Too close, I know. I apologize.\n\n**MATT SIEGLER:** You've practiced that move.\n\n**THEO KLEIN:** I have, yeah, more than once, actually.\n\n**STEVE MCGHEE:** So this system you're describing is unsafe, despite it having reliable components. Is that what you're saying?\n\n**THEO KLEIN:** Exactly. So the outlet's goal is to provide electricity. It's a very nice goal. It's very good at that. It's very reliable. The knife is to remain a knife and to be metallic. And it just so happens to be conductive. All right. And I'm also reliable. I'm reliably curious.\n\nAnd I do wonder what happens if I shove a knife in an outlet. And as a result, I achieve a loss because I am irreparably damaged.\n\n**STEVE MCGHEE:** I love it.\n\n**JEFFREY SNOVER:** Well, this highlights again, one of the great elements of STPA, the thing that differentiates it from a lot of other technologies and approaches. And that is STPA is great at finding flaws, losses for every component of the system works reliably and as intended. But the system produces devastating losses.\n\nAnd STPA is the only mechanism that I know that provides the context for finding those systems. In fact, the 737 MAX system, that was an example. All the components of that system worked as designed, worked reliably. But there were unexpected interactions between those systems that then resulted in a terrible and devastating loss. So again, one of the things you get out of STPA that you don't get out of anything else.\n\n**STEVE MCGHEE:** Can I show you a book? Do you guys like this book? So this is Thinking in Systems by Donella Meadows. Yeah. This is one I like. I think this is-- it's a good introduction to this type of thing. There's also Systematics, which is another good one. That's a little bit more technical-- or Systemantics, I think. It's kind of an older book.\n\nBut if people haven't looked at the books around systems thinking in general, I highly recommend it. Like, for whether you're going to STAMP or not STAMP, like, just SREs in general. I think, looking at this type of way of thinking about components versus systems is super, super imperative.\n\n**THEO KLEIN:** 100%. And just one thing on that, I am so grateful that I learned about STPA, not only because it helps me in my work at Google but also because now I see the world in systems.\n\n**STEVE MCGHEE:** Can't unsee. That's right.\n\n**THEO KLEIN:** And it's completely changed my worldview. So I would highly recommend learning about systems theory. At MIT, they've used STPA to model all sorts of social systems. And they've found flaws. Right? So it doesn't just apply to--\n\n**JEFFREY SNOVER:** Who could have seen that coming?\n\n**THEO KLEIN:** Believe it or not, believe it or not. So it doesn't just apply to technical systems. It can apply to any system in the world. Yeah.\n\n**STEVE MCGHEE:** I feel like I understand this way better than I did before.\n\n**THEO KLEIN:** Hey.\n\n**STEVE MCGHEE:** Amazing. Success. Matt, do you have any further questions?\n\n**MATT SIEGLER:** Yeah. Where would you like to see the bigger picture go-- so with the SRE book, we got people to use these practices in their daily work. They actually build tools, use these things in production. Presumably, there's a corollary set of principles used in design.\n\nPeople will actually have templates, off-the-shelf practices that are analogous to what we're just talking about here, that they'll be doing them in design reviews. And it'll be second nature and won't be some set of experts that come and descend and then find seven really terrible things about the thing they just designed like you just described.\n\nBut it'll be just two engineers, A, engineer, B, product manager, go look at a thing and go, oh, yep, won't do that. What would you like to see happen that's just normal business as usual by learning some of these things?\n\n**JEFFREY SNOVER:** Yeah, I think that you've got it exactly correct, that there will be practices and techniques and, hey, when do you apply it, et cetera. Now again, people can go look up STPA or STAMP at MIT, and you'll get really thick books. And they're great. They're fantastic.\n\nBut when you go to try and apply it, it's going to be kind of tough. I really would encourage you-- Google has produced a set of work that people can-- I would encourage you to start with that, honestly. We're leading the way, bringing these practices to services, bringing them to software, producing the content to do that. Theo has a number of-- Ben Treynor, again, inventor of SRE. And Tim Falzone, one of our STPA facilitators, wrote a great blog talking about STPA as the future of SRE.\n\nAnd then, Theo, you want to point to the number of the other--\n\n**THEO KLEIN:** Yeah. So I gave a talk at SREcon this past spring, where I dove into more detail about this road disruptions system. And I used the knife there as well, so that's a great primer. And at MIT, there is bi-yearly conference where you can learn more about STPA and STAMP, and those are free. And stay tuned because I think we'll be releasing more content about STPA to the community.\n\n**JEFFREY SNOVER:** And the MIT conference, a number of the videos from those are online. And again, I encourage you to watch the ones from Google because-- the others are great as well. But we go into the details of, how do you roll STPA out to a community? How do you know when to go this far but not that far, things like that.\n\n**STEVE MCGHEE:** OK, well, thanks very much, guys. Like I said, I feel like I actually understand it this time, which is fantastic because it's not the first time I've heard about it. And it's like, I feel like it's working. This is great.\n\n**MATT SIEGLER:** It's going to stick.\n\n**STEVE MCGHEE:** It's going to stick this time, finally.\n\n**JEFFREY SNOVER:** Definitely, it's one of those--\n\n**STEVE MCGHEE:** This is one.\n\n**JEFFREY SNOVER:** --new things that you got to get your head through the knothole.\n\n**STEVE MCGHEE:** It's right, totally.\n\n**JEFFREY SNOVER:** And once you're through the knothole-- because that could be a difficult transition. But then on the other side, you're like, oh, wow. I wish I had known about this before.\n\n**STEVE MCGHEE:** Well, where can our listeners hear more from you, both of you, and about this program? Do you have any final send-offs, like follow-up notes? Where should people keep going for this journey?\n\n**JEFFREY SNOVER:** Yeah. OK, so I'm on Twitter at @jsnover. I'm also on Bluesky at jsnover.com.\n\n**THEO KLEIN:** And I don't have a Twitter or a Bluesky, but maybe I should. But you can find me on LinkedIn, Pierre Theo Klein. I have a second first name, Pierre, spelled P-I-E-R-R-E Theo Klein, and that's primarily where you can find me, on LinkedIn.\n\n**STEVE MCGHEE:** Cool.\n\n**THEO KLEIN:** And then otherwise, for STPA, check out our blog posts, and check out MIT STAMP.\n\n**STEVE MCGHEE:** Awesome. Thanks very much, guys. This was awesome.\n\n**MATT SIEGLER:** Super duper.\n\n**JEFFREY SNOVER:** Yeah, thanks for having us.\n\n**STEVE MCGHEE:** Until next time. So long, folks. Adios.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 35946, "slov": 6519, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:42", "sha256": "f254285eb27c5fbbcdbf31d5e717027cad54663202b420348c9cc69343e44d2d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07/", "titulek": "The One with STPA, Jeffrey Snover, and Theo Klein", "h1": "The One with STPA, Jeffrey Snover, and Theo Klein", "popis": "This episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. Theo Klein, a Google SRE, and Jeffrey Snover, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07"}, "headline": "The One with STPA, Jeffrey Snover, and Theo Klein", "description": "This episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. Theo Klein, a Google SRE, and Jeffrey Snover, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.", "image": "https://kstatic.googleusercontent.com/files/a9c50b6aa7a545ce0132832a3f57ef62578cf7d164f394f13a5e2dc128c3f4bfd8ff55ad6e5a6cbba8aa4c83d3a9d76b95df20962846058c3a8f29dda912a172", "author": [{"@type": "Person", "name": " Theo Klein"}, {"@type": "Person", "name": "Jeffrey Snover"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with STPA, Jeffrey Snover, and Theo Klein"}], "markdown": "# The One with STPA, Jeffrey Snover, and Theo Klein\n\nThis episode discusses Systems Theoretic Process Analysis (STPA), a method for analyzing complex systems. **Theo Klein**, a Google SRE, and **Jeffrey Snover**, a Distinguished Engineer at Google, explain that STPA focuses on identifying how system accidents and losses occur due to a loss of control, rather than component failures. STPA helps identify design flaws early, even before code is written! The discussion highlights that STPA is a human-driven process, prompting critical questions about system goals and potential losses, and that Google is adapting the pure STPA approach for commercial software development to make it more practical and efficient.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** All right, Hey, everyone. Welcome back to the Google podcast. This is Google's podcast about SRE and production software. Today, we have two special guests. We have Theo and Jeffrey. Jeffrey and Theo, why don't you guys introduce yourselves?\n\n**THEO KLEIN:** My name is Theo. I'm a site reliability engineer based out of New York City. And I've been working at Google for about 5 and 1/2 years now, specifically with Google Maps. And in the last two years, I've been working on this thing called STPA, which we'll talk quite a bit about in this episode.\n\nI'm super passionate about it. I used to be an STPA hater, but now I'm a convert. And I've been shouting STPA from the rooftops.\n\n**JEFFREY SNOVER:** That's awesome. And I'm Jeffrey Snover. I'm a distinguished engineer. I've been working at Google for 2 and a 1/2 years. Before that, I was 23 years at Microsoft. And indeed, one of the things that drew me to Google was the opportunity to work on STPA and risk management.\n\n**STEVE MCGHEE:** Cool. And then we also have this other guy. Matt, you look-- I've met you before, I think. Have we met? Have we met?\n\n**MATT SIEGLER:** Yes, we have, many times now.\n\n**STEVE MCGHEE:** Cool.\n\n**MATT SIEGLER:** I'm Matt Siegler. I'm your co-host.\n\n**STEVE MCGHEE:** OK. So STPA, those are letters. Would someone like to un-letter them for us, de-acronym them? Or tell us what it really is, even if the letters don't matter. What's going on?\n\n**THEO KLEIN:** I mean, STPA stands for Systems Theoretic Process Analysis. And what it really is is a novel way of analyzing complex systems. So traditionally, when we look at outages, we think about the five Whys. And we think about a time series of events that leads to some unacceptable outage.\n\nAnd when we think about the five whys, we say, OK, go back through the timeline, and then we find the fifth why, and that's the root cause. But Systems Theoretic Process Analysis takes a completely different view on hazards and losses. And what it says, it claims that accidents and losses happen when we lose control in the system. Some part of the system is misbehaving, and it's a control problem, not a failure problem. So I don't know if, Jeffrey, you want to take it from there.\n\n**JEFFREY SNOVER:** Yeah, that's exactly correct. So this is grounded in safety design, came out of MIT. Again, all kind of grounded in this control theory. So that's MIT, right? So it's super good and then lousy names. **[LAUGHS]** But that's exactly correct.\n\nAnd so there are some circumstances where there is no acceptable loss. Data privacy, data integrity, things like those-- there, you really can't tolerate loss. If you think about it-- when I talked to Ben Treynor about coming to Google, he said, Jeffrey, the heart of SRE is to manage this tension between reliability and innovation.\n\nAnd the way we did that was by coming up with this loss budget, the error budget. And what that says is, hey, we're going to define an error budget. And then you can go as fast as you want until you incur this amount of loss. And then you got to stop and then reset.\n\nAnd that balances reliability, because he said, I know how to give you reliability. Get it working and cut off the check-ins. But then you don't get any innovation. Because I can give you all the innovation you want as long as you don't want to have any-- as long as you don't want to care whether it is up or not.\n\nAnd so basically, the loss budget achieves that. He says, but the challenge is, how do we take SRE to the next level? How do we get this balance between reliability and innovation without the loss? And so that was the challenge he posed to me to come to Google and work on that. So risk management was a big part of that. And then STPA is just a fantastic tool in the risk management toolbox.\n\n**STEVE MCGHEE:** Gotcha.\n\n**MATT SIEGLER:** Yeah. I'd like to first talk a bit about what control means here. Tell me what you mean about control. That's a phrase that I think I know what that means. But I think you have a specific meaning in mind here.\n\n**THEO KLEIN:** Yeah. \"Control\" is a really important term in STPA. When you think of a complex system, you have a bunch of different independent actors that are making actions in that system. So you can think of a human as a controller. Your computer is a controller in some sense. The environment is a controlled process.\n\nSo when we talk about control, really, we're talking about actions that constrain controlled processes. So an example of control might be something-- so in the system, let's say of a thermostat in a room. I'm a human in a room with a thermostat, and there's a boiler.\n\nAs a human, I can control the temperature of the room via the thermostat. And that goes through the thermostat, into the boiler, into the room. The room has no control over the temperature. It just is. I, as a human, have the most control in the system because I have the most agency.\n\nThe thermostat has some control over the boiler, but the thermostat doesn't have control over me. It just has control over the boiler and transitively to the room. And the boiler controls the temperature of the room itself. So control is really about authority and the actions that you can impose on the controlled processes.\n\n**JEFFREY SNOVER:** Yeah. It is a different way to think about the problem. And it takes a little bit to get your head through the knothole. That's why I think Theo mentioned he was originally an STPA hater. It takes a little, like, what, what? But then you work through it a couple times. And then you're like, oh, I get it.\n\nAnd so the heart of it is that this controller performs actions on a controlled process. Well, how does it do that? Well, first off, it has goals. I want to be comfortable. So you got to know what your goals are. And then it has a worldview. So where do you get a worldview? Well, you get a worldview from information, external information or information from the control process.\n\nAnd then you take that worldview. You compare it against your goals. If everything's aligned, happy days. You do nothing. But when the worldview is in conflict with your goals, then you have to do something. And you do something, which is to say, you perform an action to make the world more aligned with your goals.\n\nSo I'm cold. I look at the thermostat. Oh, no wonder. My damn kid said it's too high or whatever, too low. So I'm going to change it. So then I change it.\n\n**STEVE MCGHEE:** How different is this from declarative versus imperative systems? You're kind of setting a goal, and then you're letting the system do its work. We've talked publicly about an Annealing system that has been developed inside of Google and the production world.\n\nAnd then also in Kubernetes, we have these operators, where we're setting some intent. And then we're letting the operator observe its system and collapse the wave function into something where your intent becomes true. It seems like these are cousins, at least, or similar to each other. Is that right?\n\n**THEO KLEIN:** Yeah. I think the systems that you described can definitely be modeled in a control structure, where these agents are controllers, and they are very clearly attempting to control some underlying system. So it models control but also feedback. And Jeffrey was describing that feedback. And you were also describing that feedback, Steve, about observing. So you have an intent, and you observe the production system. And you're saying, ah, the production system is not in the state that I want it to be in.\n\nSo you're observing. That's feedback. And then you process that feedback, and then you execute an action. And so that's the feedback. There's a control and feedback loop. Now, the problem is that there are problems that can occur when some part of that loop breaks. Either I misinterpret the feedback, I believe-- so for example, the production environment is in a bad state.\n\nLet's say we're having a complete outage because we have the wrong binary release. My system that processes the production environment, incorrectly observes my production environment. And it says, oh, I have the correct binary in production. And therefore, it does not issue an action.\n\nThe result of that is that my outage persists, even though I have told my production manager to remove any binary that is, quote unquote, \"bad.\" So that's an example of it being unable to interpret the feedback correctly and as a result, letting an outage persist.\n\nSo these feedback loops are really important. And that's really at the core of STPA, is modeling these control and feedback loops and then identifying the conditions under which these control and feedback loops misbehave and, as a result, achieve an unacceptable loss.\n\nAnd when I say unacceptable loss, what I mean here is we have a loss of revenue, or our lawyers get upset, or XYZ problem that maybe I can't talk about on this podcast, something that is truly unacceptable. And we try to figure out the ways in which this system might result in that unacceptable loss.\n\nNow, Steve, I want to go back to your example because you actually produce a perfect example to highlight two of the critical aspects of STPA. So you said, hey, what's the difference between basically, a desired-state configuration-- desired-state controller, where you set things and it goes, versus an operations-oriented model?\n\nWell, they're both controlled processes. And they're patterns for controlled processes. One is where the human gathers the information, compares it against things, and then it performs-- you perform the control actions. The other is where you say, hey, I express my intent. And then the system does that loop.\n\nAnd then those are two different models. Both work with STPA. They have strengths and weaknesses. But one of the great benefits of STPA is that it is a system that allows you to analyze things that are sociotechnical, which is to say, some of those decisions are made by the system, and some of them are made by you.\n\nSo for instance, even the case of desired state configuration, you made the configuration. What was your process for doing that? And often, that has controls and is informed by systems, et cetera. And it is often the source of error, like, oh, the system worked perfectly. I just gave it the bad configuration.\n\n**STEVE MCGHEE:** Are you suggesting humans are fallible? Jeffrey, how dare you, sir.\n\n**JEFFREY SNOVER:** It turns out.\n\n**MATT SIEGLER:** I'm following you here. It feels like this is a bit theoretical. But I'm getting-- I'm feeling us getting towards something practical pretty soon here. So we're going to do some modeling here where you're modeling the behavior of something that maybe traditionally, we had some implicit belief in how it behaves.\n\nWe're going to model it a little deeper, a little deeper than we used to. We're going to model these-- we're going to model these losses in a different way. What is this going to buy us? Why would we go to this trouble? Because it sounds like there's going to be some trouble. I'm going to get some payoff. Why am I headed in this direction? Presumably, because of a payoff. Tell us a little bit about that.\n\n**THEO KLEIN:** Yeah. So that's-- I mean, that's a really great point. Ultimately, everything comes down to cost and benefit. And as site reliability engineers, my benefit is making sure that our systems are safer. Now, what tools do I have in my toolbox to figure out whether or not a system is safe?\n\nWell, I can do design reviews. I can do code reviews. I can implement n plus 2 redundancies. I can implement SLOs. But none of these really get at the core benefit of understanding whether my system is safe. I don't really-- unless I-- in my design review, I try and really go down this random walk of all these possible edge cases.\n\nI don't have the framework through which to systematically review the safety of my system. And STPA-- and this was a process that took us a long time to get right with software. But STPA allows us to very efficiently identify key design flaws before we've even written our code.\n\nSo I'll give you an example. I ran an STPA on a system that had not yet been built. All right. It processes road disruptions, takes as input, information from the world, and it figures out which roads should be closed on Google Maps. And this design seemed really simple, read a file, figure out what's changed, write it to a database. Couldn't get simpler than that.\n\n**JEFFREY SNOVER:** How hard could it be?\n\n**THEO KLEIN:** How hard could it be?\n\n**STEVE MCGHEE:** I can do that. Come on.\n\n**JEFFREY SNOVER:** What could go wrong?\n\n**THEO KLEIN:** What could go wrong? Now, we look at this design, and everyone looks at this design and gives us a thumbs up. Let's launch. And then I said, hold on. There's this new thing called STPA. And it allows us to analyze designs that are relatively-- well, we think this might be simple, but there are a few steps in here.\n\nLet's analyze this. And give me-- and I tell this to my developers. And I say, give me an hour and a half of your time, and let's run STPA on it. And let's see if we can catch any design flaws. And if we catch a few, maybe you'll want more of this STPA. And I say--\n\n**STEVE MCGHEE:** This feels a little bit like formal methods. Is this where you look back at your system, and you like to find the algorithm in TLA or something, and you run a checker against it, and you're like-- is it that level of system, or is it totally different? Am I getting that wrong?\n\n**THEO KLEIN:** Well, that's a great question, and it actually comes up a lot. People ask, oh, I've used TLA+. And this is not-- this is not like TLA+.\n\n**STEVE MCGHEE:** This is not that. OK.\n\n**THEO KLEIN:** This is not that.\n\n**STEVE MCGHEE:** TLA is hard. I don't want to do TLA. **[CHUCKLES]**\n\n**THEO KLEIN:** And I think STPA is hard to get right, but it's hard for a different reason. It's not tedious. And you aren't trying to exhaustively define the behavior. Actually, you look at the abstract responsibilities of all of the different parts of your system. And so what we did is we spent an hour and a half with these developers of this road disruptions pipeline. And we found something like three system gaps in an hour and a half.\n\n**STEVE MCGHEE:** Can you describe any of those in particular? Like, what's the detail?\n\n**THEO KLEIN:** Yeah.\n\n**STEVE MCGHEE:** Is it like they forgot a semicolon, or is it something more fun than that?\n\n**THEO KLEIN:** No, it's--\n\n**JEFFREY SNOVER:** Yeah, great question.\n\n**THEO KLEIN:** It's like a fundamental requirements gap.\n\n**STEVE MCGHEE:** OK.\n\n**THEO KLEIN:** So the one that I give in my talk is the one where essentially, we-- the impact of this gap is that we have a logical flaw. The result of it is that we forget to add road closures onto the map. All right. So imagine this. You have a parade in New York City.\n\nAnd we've known about this parade for months. And we could have added the road closure across Brooklyn. And yet, for some reason, we don't add the road closure onto Google Maps. And we navigate users across that parade. So now you have a backup of cars trying to cross a parade.\n\n**JEFFREY SNOVER:** No bueno.\n\n**THEO KLEIN:** And then we have this mega PR event. So that's the loss. All right. So that's-- so then the question is--\n\n**STEVE MCGHEE:** Seems bad, got it, yeah. For sure.\n\n**THEO KLEIN:** We don't want that. So how can this system result in that loss? That is the question of STPA. We try to answer that question.\n\n**MATT SIEGLER:** Presumably, you did not a priori say, let's not have active roads, cross parades somewhere. That didn't go into the analysis ahead of time.\n\n**STEVE MCGHEE:** No.\n\n**THEO KLEIN:** So no.\n\n**MATT SIEGLER:** So how did you discover losses without being so specific ahead of time?\n\n**THEO KLEIN:** The losses – we send users down a street that has a parade. All right. Concretely, what that means is, we don't have a road closure in our database on Google Maps, where there should be a road closure. All right. So there's a missing road closure in our database.\n\nSo you ask yourself-- and now, I'm going to be paraphrasing a lot of the mechanics of STPA here. But essentially, we say, well, how on earth could that happen? How on earth could it be that we don't add a road closure when we should be? So we have, in our control structure-- the bottom part of our control structure is our database. That is the system that we're controlling.\n\nAnd we have a controller, which is another piece of software, whose goal is to ensure that all active road closures are on Google Maps. And so it has a control action of, add a road closure or remove a road closure. And so then the question is, how could it be that we don't add a road closure when we should have?\n\nNow, that's the question. And then we look at the feedback. We look at the control actions. We look at the logic inside of that controller. And in this particular case, we discovered that the logic inside of this piece of software was flawed.\n\nSo how on earth did this piece of software figure out when to add a road closure? Well, let's look into it. What it did, gets a file. All right. And the file contains all active road closures. And then it gets another file, and that's version 2. And what it does is very simple. It diffs the two files, and it says, aha, here is a new road closure in version 2. Let me add it into Google Maps. But what happens if, in the process of adding this road closure, it fails to do so?\n\n**STEVE MCGHEE:** Oh, like the diff just doesn't diff or something like that.\n\n**THEO KLEIN:** The diff doesn't diff, or maybe the--\n\n**STEVE MCGHEE:** Or it's a crash or--\n\n**THEO KLEIN:** --HTTP request.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** Exactly. The HTTP request fails, no retry. Or maybe there's a maximum set of retries, and it fails all three retries.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** All right. You see where this is going?\n\n**STEVE MCGHEE:** I have a guess. Yeah.\n\n**THEO KLEIN:** Version 3 is compared against version 2, no diff.\n\n**STEVE MCGHEE:** Yep. Should be fine.\n\n**THEO KLEIN:** Should be fine.\n\n**STEVE MCGHEE:** Parade away. Have a parade.\n\n**THEO KLEIN:** Parade away, exactly. Well, according to Google, there is no parade. And so the flaw here is in assuming that the previous version of this file is equivalent to the state of Google Maps. Now, if you were to look at this from a data flow diagram, you would say, oh, of course, you just diff, and then you apply. And if you fail, you reapply.\n\nOr even if you don't think about failure-- I mean, that's sometimes the case, where we don't think about this edge case. And this is not-- I'm not trying to disparage anyone. Really, this is the state-- the number of states that you have to think through in order to exhaustively identify all of the failure modes is enormous.\n\nI mean, it's 2 to the n, where n is the number of parts in your state. So with STPA, you start from a top-- you start from this top abstract view, OK? Here is the unacceptable loss. And then you dive a little bit deeper. And you say, how could this happen? And then you dive a little bit deeper. And you say, OK, it must be this control action that could possibly lead to this loss.\n\nAnd then you ask another question. OK, so under which conditions could this control action be unsafe? And then you might even dive a little bit deeper if you'd like. And then see that your diffing logic is flawed. And that is an example of one case where you lead to the loss.\n\n**STEVE MCGHEE:** This is a great-- I'm really happy. This is a concrete example because I've never heard one before. I've heard STPA so many times, and they've been like, it's clearly a matter of risks and rewards and Ps and As and something like that. I'm like, yeah, but what is it really? So this is great.\n\nSo my first question or my-- the thing in the back of my head is like, when you went to go to analyze this, you had to use your smart human brain to come up with that high-level abstract risk of, I don't want cars to cross road closures. That was the thing that drove the rest of this analysis. Is that right?\n\n**THEO KLEIN:** Yes.\n\n**STEVE MCGHEE:** OK. So the step one is thinking about the abstract unsafe behavior--\n\n**THEO KLEIN:** --the losses.\n\n**STEVE MCGHEE:** --of a system. The losses, thank you, that's the term. And then you go through this process of figuring out what could then drive those losses to occur in reality. Is that--\n\n**THEO KLEIN:** Exactly.\n\n**STEVE MCGHEE:** Sound about right?\n\n**THEO KLEIN:** That's exactly right.\n\n**STEVE MCGHEE:** I think we got it. Matt, I think we're done.\n\n**THEO KLEIN:** You got it.\n\n**MATT SIEGLER:** Well--\n\n**STEVE MCGHEE:** Let's call it.\n\n**MATT SIEGLER:** --can we talk a bit about the relative concern of different kinds of losses?\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** You can have very unusual losses, like rock falls out of the sky and causes a damage to the road. And that's a surprise. But that probably happens almost never. But it does happen. Then you have a parade, which is rare, but does happen once in a while.\n\nAnd then you have a traffic jam, which happens everyday. I'm going to guess there's some probability entering into this. Do we have some of those things happening in there?\n\n**THEO KLEIN:** That's an interesting question. And in the world of systems safety, probability is a hot topic. And depending on who you ask, someone might get upset that we brought up probability, in part, because it is actually very hard unless you have many, many samples.\n\nIt is actually very hard to provide an accurate probability. And so what we've been trying to do, at least within GEO Google Maps SRE, is by using a different metric to prioritize losses and mitigations. So really, across all losses, there is a-- every loss is unacceptable.\n\nSo some may be more unacceptable than others. But truly, we don't want any of them to happen, by definition. Then when we look at ranking loss scenarios, we think about the number of ways that a loss scenario can occur. And then, actually, what is more important, I think, is the cost of the mitigation.\n\nSo how costly will it be for us to prevent this loss? Maybe we can-- for 20% of the cost, we can get rid of 80% of the problems. And that's really just the cost-benefit where we start horse trading.\n\n**JEFFREY SNOVER:** And it's important at this point to draw the distinction here. And now, we're talking about a set of things that deviates from the MIT STPA approach, right? So from them, they're sort of absolutists. Hey, this is used for the design of a nuclear plant. This is used for an aircraft carrier. And for that, you got to solve all of them.\n\nAnd it doesn't really work for our world. **[CHUCKLES]** So we have had to take STPA in its pure form and then say, hey, in a world of commercial software development, you need to make some changes. And so Google's been leading that way. We've been documenting those things. Theo and others have been giving talks about how you take this great technology. But then you apply it in the real world for software systems and to be effective.\n\n**MATT SIEGLER:** Yeah, I was going to say that, in the software world everything is possible.\n\n**JEFFREY SNOVER:** Everything is possible, baby.\n\n**THEO KLEIN:** Yeah. Now, to go back to this Pareto point, what we end up doing within Google is actually performing a 20% of an STPA. We rarely have the time to complete an STPA, and usually it's because we find so much at the 20% mark.\n\nSo to complete this road disruption story, we found three problems within an hour and a half. And the developer said, more, please. Let's do another session. And so we did another session. And overall, we spent about 27 hours across five engineers. And we found seven design flaws, seven design flaws.\n\nAnd this is 27 SWE hours. Now, these 27 hours included the cost of fixing these problems, which was so cheap because we hadn't built the system yet. It's a super efficient design review. And we were able to solve these design flaws by rewriting the design document. And we only analyzed, I would say, 20% of the control structure in order to find these seven design flaws.\n\n**MATT SIEGLER:** This sounds a little bit like test-driven development when you're at the engineering point but upstream of it at the design point. How thorough do I need to be in my design before it can be useful? Because lots of designs are not particularly thorough.\n\nThey're not deep into their trees of all the different states you could get at. When can you show up and actually apply this? I haven't figured out all my edge cases yet. I'm on iteration 2 of 5,000. When can I get to STPA? How mature do I need to be?\n\n**THEO KLEIN:** So the good news is that you can use STPA before you've actually designed your system. We have started experimenting internally, and it has been done outside of Google already. But we've been using this internally where we use STPA to design our system.\n\nWe start with the control structures, and we define the goal of the system that we want to build. And we think, we think, in the abstract, OK, what controllers do we need to make sure that these losses cannot be achieved? And then we say, OK, we need this abstract controller to constrain this process.\n\nWe need some system to ensure that our database is never in this state. And then, once we've defined these safety requirements, we can then go to the paper and say, how do we build that? And here are the safety requirements.\n\n**JEFFREY SNOVER:** What we found a lot is these feedback mechanisms are broken. Second biggest thing, go and say, hey, what's the goal of these system? Silence.\n\n**[LAUGHING]**\n\nIt's like, wait, no, I'm just asking what's it supposed to do. Silence.\n\n**MATT SIEGLER:** A lot of implicit goals.\n\n**STEVE MCGHEE:** Yeah.\n\n**THEO KLEIN:** Or sometimes, we don't even realize what we're trying to achieve.\n\n**JEFFREY SNOVER:** Yeah, that's the point. And so, again, back to how STPA can be helpful. You got to start with, what are your goals? What does success look like? And then, from there, you say, OK, what does loss look like? And then that can guide you to designs and decisions.\n\n**STEVE MCGHEE:** So it sounds to me like STPA is not a compiler. It is not a system that looks at a system and goes like, here's 16 errors. It's like it's a discussion technique. It's a human-to-human conversation over some hours on a whiteboard and a lot of coffee, probably, like Red Bull.\n\n**THEO KLEIN:** That's entirely correct.\n\n**STEVE MCGHEE:** Cool.\n\n**THEO KLEIN:** It is a human-driven process. And in some ways, it's a question-prompting engine, is what I think of.\n\n**JEFFREY SNOVER:** And since we're talking to an SRE audience, a lot of people will say, well, hey, how does this compare to reliability? So Theo, you've got a great example of the difference between reliability and safety. Have at it, my friend.\n\n**THEO KLEIN:** Thanks for setting me up on this one. I have a prop. I do have a prop for this. So the idea, the difference between reliability and system safety can be conveyed with the butter knife. Now, the butter knife is a reliable component, right? I mean, I can't break it. And I'm really putting in all my energy.\n\nAnd this is a good Google knife, not branded Google, but it came from it, property of Google. Thank goodness, I can't break it. And I can perform-- it can perform its responsibilities well. And I can cut butter with it, and I can do so safely. I won't get hurt by using it to cut butter.\n\nBut what if I took this butter knife and I shove it in the electrical outlet? OK. I'm going to be electrocuted.\n\n**STEVE MCGHEE:** For the audio-only audience, Theo showed an outlet and put it-- that was uncomfortably close to the outlet, man.\n\n**THEO KLEIN:** Too close, I know. I apologize.\n\n**MATT SIEGLER:** You've practiced that move.\n\n**THEO KLEIN:** I have, yeah, more than once, actually.\n\n**STEVE MCGHEE:** So this system you're describing is unsafe, despite it having reliable components. Is that what you're saying?\n\n**THEO KLEIN:** Exactly. So the outlet's goal is to provide electricity. It's a very nice goal. It's very good at that. It's very reliable. The knife is to remain a knife and to be metallic. And it just so happens to be conductive. All right. And I'm also reliable. I'm reliably curious.\n\nAnd I do wonder what happens if I shove a knife in an outlet. And as a result, I achieve a loss because I am irreparably damaged.\n\n**STEVE MCGHEE:** I love it.\n\n**JEFFREY SNOVER:** Well, this highlights again, one of the great elements of STPA, the thing that differentiates it from a lot of other technologies and approaches. And that is STPA is great at finding flaws, losses for every component of the system works reliably and as intended. But the system produces devastating losses.\n\nAnd STPA is the only mechanism that I know that provides the context for finding those systems. In fact, the 737 MAX system, that was an example. All the components of that system worked as designed, worked reliably. But there were unexpected interactions between those systems that then resulted in a terrible and devastating loss. So again, one of the things you get out of STPA that you don't get out of anything else.\n\n**STEVE MCGHEE:** Can I show you a book? Do you guys like this book? So this is Thinking in Systems by Donella Meadows. Yeah. This is one I like. I think this is-- it's a good introduction to this type of thing. There's also Systematics, which is another good one. That's a little bit more technical-- or Systemantics, I think. It's kind of an older book.\n\nBut if people haven't looked at the books around systems thinking in general, I highly recommend it. Like, for whether you're going to STAMP or not STAMP, like, just SREs in general. I think, looking at this type of way of thinking about components versus systems is super, super imperative.\n\n**THEO KLEIN:** 100%. And just one thing on that, I am so grateful that I learned about STPA, not only because it helps me in my work at Google but also because now I see the world in systems.\n\n**STEVE MCGHEE:** Can't unsee. That's right.\n\n**THEO KLEIN:** And it's completely changed my worldview. So I would highly recommend learning about systems theory. At MIT, they've used STPA to model all sorts of social systems. And they've found flaws. Right? So it doesn't just apply to--\n\n**JEFFREY SNOVER:** Who could have seen that coming?\n\n**THEO KLEIN:** Believe it or not, believe it or not. So it doesn't just apply to technical systems. It can apply to any system in the world. Yeah.\n\n**STEVE MCGHEE:** I feel like I understand this way better than I did before.\n\n**THEO KLEIN:** Hey.\n\n**STEVE MCGHEE:** Amazing. Success. Matt, do you have any further questions?\n\n**MATT SIEGLER:** Yeah. Where would you like to see the bigger picture go-- so with the SRE book, we got people to use these practices in their daily work. They actually build tools, use these things in production. Presumably, there's a corollary set of principles used in design.\n\nPeople will actually have templates, off-the-shelf practices that are analogous to what we're just talking about here, that they'll be doing them in design reviews. And it'll be second nature and won't be some set of experts that come and descend and then find seven really terrible things about the thing they just designed like you just described.\n\nBut it'll be just two engineers, A, engineer, B, product manager, go look at a thing and go, oh, yep, won't do that. What would you like to see happen that's just normal business as usual by learning some of these things?\n\n**JEFFREY SNOVER:** Yeah, I think that you've got it exactly correct, that there will be practices and techniques and, hey, when do you apply it, et cetera. Now again, people can go look up STPA or STAMP at MIT, and you'll get really thick books. And they're great. They're fantastic.\n\nBut when you go to try and apply it, it's going to be kind of tough. I really would encourage you-- Google has produced a set of work that people can-- I would encourage you to start with that, honestly. We're leading the way, bringing these practices to services, bringing them to software, producing the content to do that. Theo has a number of-- Ben Treynor, again, inventor of SRE. And Tim Falzone, one of our STPA facilitators, wrote a great blog talking about STPA as the future of SRE.\n\nAnd then, Theo, you want to point to the number of the other--\n\n**THEO KLEIN:** Yeah. So I gave a talk at SREcon this past spring, where I dove into more detail about this road disruptions system. And I used the knife there as well, so that's a great primer. And at MIT, there is bi-yearly conference where you can learn more about STPA and STAMP, and those are free. And stay tuned because I think we'll be releasing more content about STPA to the community.\n\n**JEFFREY SNOVER:** And the MIT conference, a number of the videos from those are online. And again, I encourage you to watch the ones from Google because-- the others are great as well. But we go into the details of, how do you roll STPA out to a community? How do you know when to go this far but not that far, things like that.\n\n**STEVE MCGHEE:** OK, well, thanks very much, guys. Like I said, I feel like I actually understand it this time, which is fantastic because it's not the first time I've heard about it. And it's like, I feel like it's working. This is great.\n\n**MATT SIEGLER:** It's going to stick.\n\n**STEVE MCGHEE:** It's going to stick this time, finally.\n\n**JEFFREY SNOVER:** Definitely, it's one of those--\n\n**STEVE MCGHEE:** This is one.\n\n**JEFFREY SNOVER:** --new things that you got to get your head through the knothole.\n\n**STEVE MCGHEE:** It's right, totally.\n\n**JEFFREY SNOVER:** And once you're through the knothole-- because that could be a difficult transition. But then on the other side, you're like, oh, wow. I wish I had known about this before.\n\n**STEVE MCGHEE:** Well, where can our listeners hear more from you, both of you, and about this program? Do you have any final send-offs, like follow-up notes? Where should people keep going for this journey?\n\n**JEFFREY SNOVER:** Yeah. OK, so I'm on Twitter at @jsnover. I'm also on Bluesky at jsnover.com.\n\n**THEO KLEIN:** And I don't have a Twitter or a Bluesky, but maybe I should. But you can find me on LinkedIn, Pierre Theo Klein. I have a second first name, Pierre, spelled P-I-E-R-R-E Theo Klein, and that's primarily where you can find me, on LinkedIn.\n\n**STEVE MCGHEE:** Cool.\n\n**THEO KLEIN:** And then otherwise, for STPA, check out our blog posts, and check out MIT STAMP.\n\n**STEVE MCGHEE:** Awesome. Thanks very much, guys. This was awesome.\n\n**MATT SIEGLER:** Super duper.\n\n**JEFFREY SNOVER:** Yeah, thanks for having us.\n\n**STEVE MCGHEE:** Until next time. So long, folks. Adios.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 35946, "slov": 6519, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:57", "sha256": "f254285eb27c5fbbcdbf31d5e717027cad54663202b420348c9cc69343e44d2d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08", "titulek": "The One with Technical Program Managers and Karanveer Anand", "h1": "The One with Technical Program Managers and Karanveer Anand", "popis": "This episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08"}, "headline": "The One with Technical Program Managers and Karanveer Anand", "description": "This episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.", "image": "https://kstatic.googleusercontent.com/files/ecafb7cde75ed7659053193d5da75192c49936a6269ddba4122218526302d1cea0fb9a7b4543572d1ea8f0235de032b086e17bfd177cbecbf8e75733dda63684", "author": [{"@type": "Person", "name": "Karanveer Anand"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Technical Program Managers and Karanveer Anand"}], "markdown": "# The One with Technical Program Managers and Karanveer Anand\n\nThis episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone, welcome back to the Prodcast, Google's podcast on SRE and production software. I'm joined once again with my friend, Jordan. Jordan, how's it going?\n\n**JORDAN GREENBERG:** Hello. Good. How are you?\n\n**STEVE MCGHEE:** What are we going to talk about today, Jordan?\n\n**JORDAN GREENBERG:** Well, I'm very excited about this episode. As you know, I'm not an SRE, but I'm in technical program management. And today, we have a person who is in from my neck of the woods, I guess.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** Actually, we'd love to have you introduce yourself. Who are you?\n\n**KARAN ANAND:** Thank you, first of all, Jordan and Steve, for having me here. So my name is Karanveer Anand, and I begin my career as a production SRE in Nutanix. Nutanix is a converged storage infrastructure company. And it was an exciting experience for the production SRE on maintaining the uptime of production services.\n\nOver the time, I've realized my impact is across the one service, which is very narrow impact, and I wanted to broaden my impact to have a broader impact across the different services and tooling. I've transitioned my career from production SRE to technical program management in the SRE field. And then I've grown in my career and then joined Google later on in the cycle, and really enjoying my work here.\n\nTechnical program management is more like a force multiplier. And we enjoy the projects that can vary from one field to another, the wide array of projects. And I'm in the Workspace AI SRE team here.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** Awesome. So this is very good. Let's not spoil it. Let's not get too far ahead just yet. I had an interesting way of getting into SRE as a TPM. I first jumped to the TPM ladder, coming from an individual contributor as a support person.\n\nI stayed on a TPM team for a little while and then moved into SRE a little bit later, and the production SRE team, sitting between the services that keep the lights on, monitoring, capacity management, incident response, et cetera. What is your background, the ultimate skills that got you into technical program management, and how did they get you where you are today?\n\n**KARAN ANAND:** I guess that's a great question. My story is a little different because I always started as an SRE and always had a technical background of the SRE and learned the troubleshooting, how to troubleshoot the services, and read the logs in the early days of my career.\n\nBut I guess if you have to put a skill set for the TPMs in SRE, what it's really needed is to get this stuff done. It’s very important. But the skill set varies across the career level. It's from staff TPM, it's totally different from senior TPM, it is different to have a charter of portfolio of projects. But as a beginner in this career, I would say getting the stuff done, is a basic attribute which we look for.\n\n**STEVE MCGHEE:** Nice. So I managed some SRE teams. And part of that is I did manage some TPMs for a little while. And I actually had trouble understanding how to balance TPM work with the rest of the team. And at one point, we actually, within Google-- this is different in every company--\n\nBut we ended up moving the TPMs into their own like team of TPMs where they could learn from each other, and they could all speak the same language and everything. And then those folks would be-- they would work with us every day on our team, on some product team or whatever. Is that still the case? Have you seen that model work well/ is that weird? Or do you think that's a good idea for other folks to do, too?\n\n**KARAN ANAND:** In my opinion, both have their own pros and cons. The one model you are describing is called PMO in some project management or program management organizations where you report to program management, then the program manager reports to the director of program management. So it's like a hierarchy of the whole PMO.\n\nBut we have both models here. But I've seen at least in Google in the SRE model, we are more into the reporting in the engineering chain than PMO, because the context is more important. When you go into the PMO, you lose the context of a project. Because when you're reporting to an engineering director or engineering manager or functional lead, whoever, you are into that context. So basically, contextual TPM is more powerful in these models.\n\n**STEVE MCGHEE:** So I understand what TPMs do, and I've seen them in a variety of roles. So both of you have worked as TPMs within SRE. Is there anything that's specific about SRE that demands a different angle, a different shape of TPM or certain requirements? What makes an SRE TPM different from everything else TPM, or is that even a valid question?\n\n**JORDAN GREENBERG:** Let me try answering this from my experience. I'm currently still in GCP. And the sort of things that are important for SRE TPM are like what an SRE would consider but from the more technical side, we have to translate that into the business version of that thing.\n\nSo what does it matter if the latency is too long? What does it mean when something is not available at [? 10-9s ?] for the business component. We have to be able to translate SRE concepts into business. Like, if we don't have this, what does it mean for us? Does that match your experience?\n\n**STEVE MCGHEE:** Yeah, does that make sense to you?\n\n**KARAN ANAND:** Yeah, it makes sense totally. I guess this is the one big difference between SRE and dev-related TPM things, the contexts we have to translate from technical latency, SLOs to business terminologies. Apart from that, I guess also the first job of SRE is to keep the production services up.\n\nSo that's the P0 for-- the bread and butter for the SRE job. And then next comes the project management. If we are doing any project, it can have interruptions due to keeping the service lights on or production services up. So the planning is very different in SRE projects versus dev-related projects.\n\n**STEVE MCGHEE:** Cool. So given that, can you give us an example of when you were able to help shepherd or make sure that a big project actually completed successfully? I know you wrote an article around splitting up failure domains within a system in order to prevent global failures and things like this. Would that be an example of something like this?\n\n**KARAN ANAND:** Correct. So like we said, to keep the production services up, we have seen in a lot of postmortems-- SRE has a culture of postmortems. So when we run postmortems, we learn from those postmortems. We have seen from a couple of our postmortems on how we can avoid global outages.\n\nWe have seen numerous-- every company has numerous outages, and software is supposed to have bugs. But how can we not have global outages but have regional outages? Or how can we reduce the blast radius for our outages? That was a goal of the project. So we decided to partition our software infrastructure, which was not partitioned originally.\n\nThere are tons of benefits for partitioning the software infrastructure. It was a great SRE project because it spanned out across the different teams. And project management typically was to have tracking how much partition we have done, what is the guidance we are giving it?\n\nSo the project layout was more like we have a central team who is responsible for running this project, and then project technical program manager runs the project with central team and running it, farm it out to different product teams, and tracking it centrally, how is the partitioning going, while, like Jordan was explaining, by explaining the business things of a partitioning.\n\nWhy do we need partitioning? What is the business impact of this having a partitioning? How much can we reduce the outages? Yeah, and we have finished this project successfully across multiple organizations.\n\n**STEVE MCGHEE:** I like to joke that SRE is often looked at as the safety team within an organization where if you don't see them, that's good. That means the system is working.\n\n**JORDAN GREENBERG:** Absolutely.\n\n**STEVE MCGHEE:** But I think TPMs are the same way. So in this project that you are describing, what would have happened in your mind-- just silly creative, what would have happened if there was no TPM involvement? Would it have not ever started? Would it have gone in the wrong direction? Was there not enough people involved? What are some things that you can take credit for? Take as much credit as you'd like.\n\n**KARAN ANAND:** I guess TPMs help in a different phase in the different projects. So we can say anything-- maybe the project hasn't started because sometimes we start. We kick it off, hey, we need to meet for this project. We need to have a design doc ready. We need to have guidance ready for product teams.\n\nLet it happen. Maybe some engineers have put down the design document or a guidance document for the whole organization. But we have a saying in management, “if you want to get something done and start tracking, if it's not tracking, then it will never get done”.\n\n**STEVE MCGHEE:** So the tracking itself is helping it actually succeed. It's not just a side effect. Yeah.\n\n**KARAN ANAND:** Yeah, right. It's not a side effect. And especially at large-scale organizations like Google, it's very important to track things and understand the dependencies of each product across the other product. And tracking them down at a regular interval is very important to finish things.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** Can you think of any specifics that would have not succeeded or something that you caught that you were like, we didn't x, and then you caught it and we were able to proceed? Is there anything that you can tell us about that?\n\n**KARAN ANAND:** Definitely. Let's talk about this only partitioning project. So our guidance was not a one-fit-solution-all. And we found a lot of instances where our guidance was not applicable. And we have to do a pilot across the different services and then learn from those pilots on how we can then iterate over the guidance.\n\nSo if we haven't done the pilot across the different flavors of a microservices, or we can call box services, then we would be in the waters, because if you roll out the guidance without doing enough pilot testing, then it's not going to work. So we have done that pilot testing with a couple of different styles of teams who are running--\n\nLet's say Gmail has been running their infrastructure for more than 20 years. So they have a lot of services that have been running for a long time. So it's good to test having a pilot on Gmail to learn from their experience as well.\n\n**JORDAN GREENBERG:** In a weird way, being a TPM can be likened to being the code that sits between independent systems, because the TPM is the communicator between different products that are being represented in the overall system that you're working in.\n\nSo while there might be an overarching business goal, there are multiple people that represent those different facets of the business. And if you are on the team that's in SRE, there's a team that is developing new features, that then need to be supported by SRE. There's a team that is marketing these features to people externally.\n\nAnd the TPM is sitting between all of them to be able to say, SRE is saying that this has X amount of supportability, this SLO. Marketing is saying this is what we're offering to the customer. So they have to basically sit and be the connective tissue between all of these different spaces--\n\n**STEVE MCGHEE:** Gotcha.\n\n**JORDAN GREENBERG:** --much like some sort of code could be sitting there to link two different systems together.\n\n**STEVE MCGHEE:** Sometimes we call that glue code.\n\n**JORDAN GREENBERG:** Or duct tape.\n\n**STEVE MCGHEE:** The analogy is apt, for sure.\n\n**JORDAN GREENBERG:** So you're currently on the Workspace AI team. For our listeners, this is formerly known as G Suite, which is like Docs, Slides, the set of tools that lets you be productive at work or writing up your four-year long Pathfinder campaign notes. Do you have any examples of work that you've done in this space that desperately needed TPM intercession?\n\n**KARAN ANAND:** Definitely. I guess AI is the most evolution and the fastest-growing industry across the whole world as of today.\n\n**STEVE MCGHEE:** I've heard of it. Yeah, totally.\n\n**KARAN ANAND:** And even similarly, Google has been releasing their models very fast. And that's the one part of Google. And another part of Google has to adopt those models at a similar speed to keeping our services on the newest AI models. And it's very crucial not just for safety and reliability for our users, but also to have better performance and efficiency.\n\nThere could be tons of benefits to keep running the services on the newest and the latest models. So yeah, we have a workspace for AI. It has a ton of features like Gmail, which helps me write a document or send emails in Gmail. So we have tons of services in Workspace.\n\nSo I recently completed a project that involved migrating the services across Workspace to our latest supported models and decommissioning the older and unsupported ones. Yeah, so this required significant cross-functional collaboration with each product team to understand their dependencies, address reasons for delayed migration, why can't they move to the latest model.\n\nIf a product team can't move to the latest models? Why can't they move? What do they have dependencies on the old models? How can we solve them? Again, tracking them at a central level to move them to the latest models, and yeah, simultaneously working with the resource managers to maintain the high efficiencies throughout the process and then decommission the old ones to save cost for the company.\n\n**STEVE MCGHEE:** So are you saying that upgrading to the next model was not a matter of just changing a dev's file from version 7 to version 8? It's a little more complicated than that?\n\n**KARAN ANAND:** It's way more complicated than it sounds like changing the files, because there are tons of dependencies. We have a lot of things.\n\n**STEVE MCGHEE:** Yeah.\n\n**KARAN ANAND:** Yeah.\n\n**STEVE MCGHEE:** Yeah. Depending on a non-deterministic system turns out to be complicated. So yeah, I get it. Yeah, that's a lot.\n\n**KARAN ANAND:** And we can't just move the models to a newer model. The AI models are totally different. We have to run a test. If the new models are serving the same performance and accuracy for the old type of workload or not. We need to do, again, different types of testing.\n\n**STEVE MCGHEE:** Yeah, if it's faster and more available but it gets all the questions wrong, do we want it?\n\n**JORDAN GREENBERG:** Exactly.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** Is there a hardware component in this as well, because when you're upgrading to new models, do they need to be supported by newer hardware to be able to maintain the performance that's needed?\n\n**KARAN ANAND:** Definitely. There's a hardware component. GPUs, chips or TPUs, which we say are really the main part of this, the whole equation, because we need to migrate to the latest models and make sure they're supported by--\n\nWe have tons of different types of hardware models, and need to understand which models are supported by what type of workload. And if we would be-- before the AI era, let's say we are migrating to a new server platform or something like that, it would be quite easy. But with the AI models it's a little different.\n\n**JORDAN GREENBERG:** So what did this migration mean for the engineering team, compared to what this meant for the business? What did you get to say as a measure of success in this way for the engineering side and the business side?\n\n**KARAN ANAND:** Definitely. So again, this request came from the reliability organization across the whole Workspace organization. The engineering benefits, I can say, is we can reduce the testing time. Before doing this, we have to test on different models, even the newest models and the older models. But after migrating to the latest models, we can only test on the latest models as we are decommissioning the older models.\n\nSo basically, all in all, we are reducing the testing time. If I translate into business benefits, then it would be better safety and reliability, more cost-savings, efficiencies. That's another benefit. Yeah, and reducing the testing time means we can go to the market faster.\n\n**JORDAN GREENBERG:** Nice.\n\n**KARAN ANAND:** And this is really required in this AI evolution, speed, time, go faster to the market.\n\n**JORDAN GREENBERG:** That's super important.\n\n**STEVE MCGHEE:** I want to back up a second. You wrote an article around TPM and SRE. And part of that-- it was less about project management and timelines and things like that. But the bit that jumped out to me was this idea of you found-- there was like, and you called it the buffer number.\n\nThe number was 25%. So I wonder if you can explain to our audience like, what was this number and how did you find it? And should they use it also? Is it something that we should-- is it magic secret sauce that we're not allowed to share. Or is it something that you think the community would benefit from? Well, you blogged about it, so it can't be that secret.\n\n**KARAN ANAND:** No. Definitely, it's not a secret anymore. We have put it in the public. Yeah.\n\n**STEVE MCGHEE:** Cool.\n\n**KARAN ANAND:** So basically, the magic number is just for our organization. It can vary from different organizations. And how we came up with this number depends on how much ad hoc work you get, what is the stability of your services? So why do we need this number? I'll come back to the first-- let's say we'll talk with the first.\n\nAs per the project management index, project planning is the most important thing in any project. If your project has planned well, then the success of the project is higher, if you haven't planned it. So similarly, in SRE organization we have to plan for the right headcount.\n\nBecause let's say you're working on a project with 20 SREs and your services are not stable and being interrupted and you keep getting pages, then the interrupts are or ad hoc works are way higher than the planned work. Then the planned work takes a hit and you're going to miss the deadline.\n\n**STEVE MCGHEE:** Yeah, if you're too busy doing other stuff, you're not working on the project, then guess what happens? It doesn't happen, huh?\n\n**JORDAN GREENBERG:** Exactly.\n\n**STEVE MCGHEE:** So you called this the-- what did you mean by buffer number? So can you explain that?\n\n**KARAN ANAND:** Buffer number means when you plan the headcount or plan the resources for any project planning, keep a 25% buffer or cushion of a 25% headcount based on your stability of your services. So this number could go up, could go down, depending on how stable, how often you get a page, how often you get interrupts in between of the planned work. So this buffer number can keep changing.\n\nThe benefits of this buffer number could be, you will not have any project delays. And this project delays are very bad. No one wants the delays. Everyone wants to deliver the project on time.\n\n**STEVE MCGHEE:** Cool. It sort of sounds like how we think about toil with regards to-- you don't want to do toil, but you know it's there. And it always changes all the time. So I know with toil, we recommend, or I recommend at least, that people try to measure it multiple times a year and just see how we're doing.\n\nBecause even if you reserve like X amount of time for it, that's not necessarily what's going to really happen. Is this the same deal here? Do you think that it's worth checking back in with your teams to make sure that the buffer is what we think it is or something like that?\n\n**KARAN ANAND:** It's very important to keep visiting this number and verify because you don't want to underutilize or overutilize the resources as well. So it's very important to keep this number checked and have a healthy balance between why you don't want to have a key high buffer versus why you don't want a low buffer as well. So we perform this activity every quarterly basis to check.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** Wow.\n\n**KARAN ANAND:** And it's really helping us so far. Yeah.\n\n**JORDAN GREENBERG:** That's awesome. Speaking of helping, what are some ways we can leverage AI to assist with furthering the SRE and TPM relationship? How do we use our keyboards to help the engineers use their keyboards?\n\n**STEVE MCGHEE:** Let me see if I can interpret Jordan's question, because I think I know where you're going with it. But how would you like to use AI yourself as a TPM in SRE to help the teams around you, or to engage better with other teams, or whatever it is? What are some other applications that you yourself would use as a TPM within SRE? Is that right, Jordan?\n\n**JORDAN GREENBERG:** Yeah. And then, the force multiplier is the TPM, but AI is the force multiplier for the TPM. So it kind of scales it out in this strange way.\n\n**STEVE MCGHEE:** Multiplier multiplier.\n\n**JORDAN GREENBERG:** Exactly. Now we've got exponential force multiplication.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** So what does this mean for being a TPM in SRE? And how can we ultimately support our engineering teams better with the assistance of AI?\n\n**KARAN ANAND:** Yep. So AI is a multiplier and TPM is a multiplier, so we are doing exponential multipliers here for AI with the help of AI. And we have already developed a lot of bots inside to do a postmortem analysis. SRE has a culture of postmortem. So we have a postmortem analysis.\n\nThen AI is helping us by giving the top risks. When AI is giving me top risks, it's helping me-- it's funneling my 2026 roadmap already, where TPMs are responsible to create a roadmap for the next year by working collaboratively with engineering leaders. But we can give a great input on what are the top risks based on postmortems of 2024 and 2025, the last couple of years.\n\n**STEVE MCGHEE:** So is this something that you've done? Has it been working for you?\n\n**KARAN ANAND:** It has been working. We have a small-- we ran a hackathon in our organization.\n\n**STEVE MCGHEE:** Cool.\n\n**KARAN ANAND:** And we came up with this bot. And we have a postmortem analysis. A couple of months back, we had to do the postmortem analysis manually, go through each postmortem, understand the root cause, and how can we mitigate this and all that. Now we have a postmortem written. The script can crawl through all the documents and figure it out.\n\n**STEVE MCGHEE:** Cool. So when I was running a team-- so I ran Android SRE a long time ago. And I had one TPM for all of Android, which seems like a bad idea. It was pretty wild. In fact, we didn't have a TPM for a while until we got one. So shout out to Ron. Thank you, Ron. You saved our bacon.\n\n**JORDAN GREENBERG:** Nice, Ron.\n\n**STEVE MCGHEE:** And then we had more and more and more. People have heard about dirt. So there's been a lot of publications. So there's a woman named Kripa who wrote a bunch of things. I remember her being kind of an early TPM, at least one of the more outspoken, like, would talk outside of Google about TPM stuff and things like that.\n\nSo I think TPM has grown inside of SRE quite a bit. So of course, this is a leading question, which is like, what's next? How do you think TPM inside of SRE, or maybe alongside SRE, whether it's inside of Google or outside, how do you think it's going to evolve over the next two years? Like, it's going to grow. We're going to use more AI, something like that. But what can you say that's more interesting than what I just said?\n\n**KARAN ANAND:** Yeah, it will definitely grow. With the evolution of AI, we need more TPMs in the AI for the SRE side as well. We need to keep-- the trust and safety part for the AI is very important, even for the user. Although AI is bringing the productivity high for billions of users across the world, it's very important to keep this trust and safety high.\n\nThat's where the reliability comes in. The reliability has an overlap of trust and safety. So the TPMs will keep growing. It's just we need to know how to use the AI and when to use the AI to keep the productivity high. But I don't think the TPM's job with the evolution of AI will go away. TPMs will just become more productive, but it will not go away.\n\n**STEVE MCGHEE:** Yeah, the work keeps growing, I think. Yeah.\n\n**KARAN ANAND:** And we keep getting new work and work. And especially the speed has increased a lot in the last few years.\n\n**JORDAN GREENBERG:** Yes. It's definitely gotten a lot easier to do these types of analysis and to see it in a way that's very SRE-coded, is awesome, specifically with postmortem analysis. That makes a huge difference in the amount of time we spend. Thank you very much, Karanveer, for taking the time with us today to talk about SRE, TMPery.\n\n**STEVE MCGHEE:** Thank you, Jordan, for coming on as well. This has been a great conversation. It's been really good to actually go back to my roots and remember what it's like to work with a big team and solve seemingly intractable problems than having someone come in and be like, listen, we can figure this out. You don't need to just YOLO the whole way.\n\n**JORDAN GREENBERG:** Yes, that's true.\n\n**STEVE MCGHEE:** We can actually come up with a plan. It's like, all right, good idea.\n\n**JORDAN GREENBERG:** Yeah. And lean on your TPMs, I'll say that as a closing argument. We're here to help you, and we want to be the person who does whatever they can to make sure that you're able to stay on the keyboard and do what you're really good at.\n\n**STEVE MCGHEE:** Last thing is, I want to get, Karan, on the record, do you think that we should waterfall plan all of our projects in SRE? You think that's a good idea, like just come up with the perfect plan up front and then just never touch it ever again?\n\n**JORDAN GREENBERG:** That works a lot.\n\n**KARAN ANAND:** I don't think so.\n\n**STEVE MCGHEE:** No, no, no, no. Yeah, yeah.\n\n**KARAN ANAND:** Especially with the AI things, we need to keep it agile and make sure teams are accountable and running faster. Yeah.\n\n**STEVE MCGHEE:** Yeah. Yeah, it's an allure, I think, that a lot of people suffer from when they're like, listen, I have the best plan. Let's just do this, and it's going to be great. And then I think a lot of times TPMs come in and go, are you sure? And then check in every two weeks like, are you still sure? What has changed? Let's reassess.\n\nSo I think that's great. Having folks that can keep everybody else on track with regards to that and get it like the whole time and be like, look, I wrote a script and I'm afraid you're wrong, whatever your assumptions were. That is fantastic. So hats off to you. Thanks very much. It's been great having you on the podcast.\n\n**KARAN ANAND:** Same here.\n\n**STEVE MCGHEE:** And thanks, Jordan, for joining us again. And I guess we'll see you all next time. Oh, last thing, Karan, is there anything that you want people to connect with you on your socials or anything like that?\n\n**KARAN ANAND:** People can connect with me on my LinkedIn. Karanveer is my handle. Yeah. Feel free to send me requests.\n\n**JORDAN GREENBERG:** Throw that in the end, too.\n\n**STEVE MCGHEE:** And you have a couple of blog posts we'll link in the description. Those are great. I've read them. They're awesome. And yeah, keep it up. Keep making Workspace smart.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** Thanks for joining us.\n\n**KARAN ANAND:** Thank you to both of you for having me. It was great talking with both of you.\n\n**JORDAN GREENBERG:** Thank you. Bye.\n\n**STEVE MCGHEE:** Bye.\n\n**KARAN ANAND:** Bye bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 28808, "slov": 5149, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:40", "sha256": "ade56be270cc8fa426d6c22b9c4348fef717bc56a2845a106c66eff607aef386", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08/", "titulek": "The One with Technical Program Managers and Karanveer Anand", "h1": "The One with Technical Program Managers and Karanveer Anand", "popis": "This episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08"}, "headline": "The One with Technical Program Managers and Karanveer Anand", "description": "This episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.", "image": "https://kstatic.googleusercontent.com/files/ecafb7cde75ed7659053193d5da75192c49936a6269ddba4122218526302d1cea0fb9a7b4543572d1ea8f0235de032b086e17bfd177cbecbf8e75733dda63684", "author": [{"@type": "Person", "name": "Karanveer Anand"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Technical Program Managers and Karanveer Anand"}], "markdown": "# The One with Technical Program Managers and Karanveer Anand\n\nThis episode features Google Technical Program Manager (TPM) Karanveer Anand, who joins our hosts to discuss the unique role of TPMs in Site Reliability Engineering (SRE). The conversation highlights how SRE TPMs bridge the gap between technical details and business impact, managing complex projects with inter-team dependencies and ensuring system reliability, particularly in the rapidly evolving AI landscape.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone, welcome back to the Prodcast, Google's podcast on SRE and production software. I'm joined once again with my friend, Jordan. Jordan, how's it going?\n\n**JORDAN GREENBERG:** Hello. Good. How are you?\n\n**STEVE MCGHEE:** What are we going to talk about today, Jordan?\n\n**JORDAN GREENBERG:** Well, I'm very excited about this episode. As you know, I'm not an SRE, but I'm in technical program management. And today, we have a person who is in from my neck of the woods, I guess.\n\n**STEVE MCGHEE:** Nice.\n\n**JORDAN GREENBERG:** Actually, we'd love to have you introduce yourself. Who are you?\n\n**KARAN ANAND:** Thank you, first of all, Jordan and Steve, for having me here. So my name is Karanveer Anand, and I begin my career as a production SRE in Nutanix. Nutanix is a converged storage infrastructure company. And it was an exciting experience for the production SRE on maintaining the uptime of production services.\n\nOver the time, I've realized my impact is across the one service, which is very narrow impact, and I wanted to broaden my impact to have a broader impact across the different services and tooling. I've transitioned my career from production SRE to technical program management in the SRE field. And then I've grown in my career and then joined Google later on in the cycle, and really enjoying my work here.\n\nTechnical program management is more like a force multiplier. And we enjoy the projects that can vary from one field to another, the wide array of projects. And I'm in the Workspace AI SRE team here.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** Awesome. So this is very good. Let's not spoil it. Let's not get too far ahead just yet. I had an interesting way of getting into SRE as a TPM. I first jumped to the TPM ladder, coming from an individual contributor as a support person.\n\nI stayed on a TPM team for a little while and then moved into SRE a little bit later, and the production SRE team, sitting between the services that keep the lights on, monitoring, capacity management, incident response, et cetera. What is your background, the ultimate skills that got you into technical program management, and how did they get you where you are today?\n\n**KARAN ANAND:** I guess that's a great question. My story is a little different because I always started as an SRE and always had a technical background of the SRE and learned the troubleshooting, how to troubleshoot the services, and read the logs in the early days of my career.\n\nBut I guess if you have to put a skill set for the TPMs in SRE, what it's really needed is to get this stuff done. It’s very important. But the skill set varies across the career level. It's from staff TPM, it's totally different from senior TPM, it is different to have a charter of portfolio of projects. But as a beginner in this career, I would say getting the stuff done, is a basic attribute which we look for.\n\n**STEVE MCGHEE:** Nice. So I managed some SRE teams. And part of that is I did manage some TPMs for a little while. And I actually had trouble understanding how to balance TPM work with the rest of the team. And at one point, we actually, within Google-- this is different in every company--\n\nBut we ended up moving the TPMs into their own like team of TPMs where they could learn from each other, and they could all speak the same language and everything. And then those folks would be-- they would work with us every day on our team, on some product team or whatever. Is that still the case? Have you seen that model work well/ is that weird? Or do you think that's a good idea for other folks to do, too?\n\n**KARAN ANAND:** In my opinion, both have their own pros and cons. The one model you are describing is called PMO in some project management or program management organizations where you report to program management, then the program manager reports to the director of program management. So it's like a hierarchy of the whole PMO.\n\nBut we have both models here. But I've seen at least in Google in the SRE model, we are more into the reporting in the engineering chain than PMO, because the context is more important. When you go into the PMO, you lose the context of a project. Because when you're reporting to an engineering director or engineering manager or functional lead, whoever, you are into that context. So basically, contextual TPM is more powerful in these models.\n\n**STEVE MCGHEE:** So I understand what TPMs do, and I've seen them in a variety of roles. So both of you have worked as TPMs within SRE. Is there anything that's specific about SRE that demands a different angle, a different shape of TPM or certain requirements? What makes an SRE TPM different from everything else TPM, or is that even a valid question?\n\n**JORDAN GREENBERG:** Let me try answering this from my experience. I'm currently still in GCP. And the sort of things that are important for SRE TPM are like what an SRE would consider but from the more technical side, we have to translate that into the business version of that thing.\n\nSo what does it matter if the latency is too long? What does it mean when something is not available at [? 10-9s ?] for the business component. We have to be able to translate SRE concepts into business. Like, if we don't have this, what does it mean for us? Does that match your experience?\n\n**STEVE MCGHEE:** Yeah, does that make sense to you?\n\n**KARAN ANAND:** Yeah, it makes sense totally. I guess this is the one big difference between SRE and dev-related TPM things, the contexts we have to translate from technical latency, SLOs to business terminologies. Apart from that, I guess also the first job of SRE is to keep the production services up.\n\nSo that's the P0 for-- the bread and butter for the SRE job. And then next comes the project management. If we are doing any project, it can have interruptions due to keeping the service lights on or production services up. So the planning is very different in SRE projects versus dev-related projects.\n\n**STEVE MCGHEE:** Cool. So given that, can you give us an example of when you were able to help shepherd or make sure that a big project actually completed successfully? I know you wrote an article around splitting up failure domains within a system in order to prevent global failures and things like this. Would that be an example of something like this?\n\n**KARAN ANAND:** Correct. So like we said, to keep the production services up, we have seen in a lot of postmortems-- SRE has a culture of postmortems. So when we run postmortems, we learn from those postmortems. We have seen from a couple of our postmortems on how we can avoid global outages.\n\nWe have seen numerous-- every company has numerous outages, and software is supposed to have bugs. But how can we not have global outages but have regional outages? Or how can we reduce the blast radius for our outages? That was a goal of the project. So we decided to partition our software infrastructure, which was not partitioned originally.\n\nThere are tons of benefits for partitioning the software infrastructure. It was a great SRE project because it spanned out across the different teams. And project management typically was to have tracking how much partition we have done, what is the guidance we are giving it?\n\nSo the project layout was more like we have a central team who is responsible for running this project, and then project technical program manager runs the project with central team and running it, farm it out to different product teams, and tracking it centrally, how is the partitioning going, while, like Jordan was explaining, by explaining the business things of a partitioning.\n\nWhy do we need partitioning? What is the business impact of this having a partitioning? How much can we reduce the outages? Yeah, and we have finished this project successfully across multiple organizations.\n\n**STEVE MCGHEE:** I like to joke that SRE is often looked at as the safety team within an organization where if you don't see them, that's good. That means the system is working.\n\n**JORDAN GREENBERG:** Absolutely.\n\n**STEVE MCGHEE:** But I think TPMs are the same way. So in this project that you are describing, what would have happened in your mind-- just silly creative, what would have happened if there was no TPM involvement? Would it have not ever started? Would it have gone in the wrong direction? Was there not enough people involved? What are some things that you can take credit for? Take as much credit as you'd like.\n\n**KARAN ANAND:** I guess TPMs help in a different phase in the different projects. So we can say anything-- maybe the project hasn't started because sometimes we start. We kick it off, hey, we need to meet for this project. We need to have a design doc ready. We need to have guidance ready for product teams.\n\nLet it happen. Maybe some engineers have put down the design document or a guidance document for the whole organization. But we have a saying in management, “if you want to get something done and start tracking, if it's not tracking, then it will never get done”.\n\n**STEVE MCGHEE:** So the tracking itself is helping it actually succeed. It's not just a side effect. Yeah.\n\n**KARAN ANAND:** Yeah, right. It's not a side effect. And especially at large-scale organizations like Google, it's very important to track things and understand the dependencies of each product across the other product. And tracking them down at a regular interval is very important to finish things.\n\n**STEVE MCGHEE:** Yeah.\n\n**JORDAN GREENBERG:** Yes.\n\n**STEVE MCGHEE:** Can you think of any specifics that would have not succeeded or something that you caught that you were like, we didn't x, and then you caught it and we were able to proceed? Is there anything that you can tell us about that?\n\n**KARAN ANAND:** Definitely. Let's talk about this only partitioning project. So our guidance was not a one-fit-solution-all. And we found a lot of instances where our guidance was not applicable. And we have to do a pilot across the different services and then learn from those pilots on how we can then iterate over the guidance.\n\nSo if we haven't done the pilot across the different flavors of a microservices, or we can call box services, then we would be in the waters, because if you roll out the guidance without doing enough pilot testing, then it's not going to work. So we have done that pilot testing with a couple of different styles of teams who are running--\n\nLet's say Gmail has been running their infrastructure for more than 20 years. So they have a lot of services that have been running for a long time. So it's good to test having a pilot on Gmail to learn from their experience as well.\n\n**JORDAN GREENBERG:** In a weird way, being a TPM can be likened to being the code that sits between independent systems, because the TPM is the communicator between different products that are being represented in the overall system that you're working in.\n\nSo while there might be an overarching business goal, there are multiple people that represent those different facets of the business. And if you are on the team that's in SRE, there's a team that is developing new features, that then need to be supported by SRE. There's a team that is marketing these features to people externally.\n\nAnd the TPM is sitting between all of them to be able to say, SRE is saying that this has X amount of supportability, this SLO. Marketing is saying this is what we're offering to the customer. So they have to basically sit and be the connective tissue between all of these different spaces--\n\n**STEVE MCGHEE:** Gotcha.\n\n**JORDAN GREENBERG:** --much like some sort of code could be sitting there to link two different systems together.\n\n**STEVE MCGHEE:** Sometimes we call that glue code.\n\n**JORDAN GREENBERG:** Or duct tape.\n\n**STEVE MCGHEE:** The analogy is apt, for sure.\n\n**JORDAN GREENBERG:** So you're currently on the Workspace AI team. For our listeners, this is formerly known as G Suite, which is like Docs, Slides, the set of tools that lets you be productive at work or writing up your four-year long Pathfinder campaign notes. Do you have any examples of work that you've done in this space that desperately needed TPM intercession?\n\n**KARAN ANAND:** Definitely. I guess AI is the most evolution and the fastest-growing industry across the whole world as of today.\n\n**STEVE MCGHEE:** I've heard of it. Yeah, totally.\n\n**KARAN ANAND:** And even similarly, Google has been releasing their models very fast. And that's the one part of Google. And another part of Google has to adopt those models at a similar speed to keeping our services on the newest AI models. And it's very crucial not just for safety and reliability for our users, but also to have better performance and efficiency.\n\nThere could be tons of benefits to keep running the services on the newest and the latest models. So yeah, we have a workspace for AI. It has a ton of features like Gmail, which helps me write a document or send emails in Gmail. So we have tons of services in Workspace.\n\nSo I recently completed a project that involved migrating the services across Workspace to our latest supported models and decommissioning the older and unsupported ones. Yeah, so this required significant cross-functional collaboration with each product team to understand their dependencies, address reasons for delayed migration, why can't they move to the latest model.\n\nIf a product team can't move to the latest models? Why can't they move? What do they have dependencies on the old models? How can we solve them? Again, tracking them at a central level to move them to the latest models, and yeah, simultaneously working with the resource managers to maintain the high efficiencies throughout the process and then decommission the old ones to save cost for the company.\n\n**STEVE MCGHEE:** So are you saying that upgrading to the next model was not a matter of just changing a dev's file from version 7 to version 8? It's a little more complicated than that?\n\n**KARAN ANAND:** It's way more complicated than it sounds like changing the files, because there are tons of dependencies. We have a lot of things.\n\n**STEVE MCGHEE:** Yeah.\n\n**KARAN ANAND:** Yeah.\n\n**STEVE MCGHEE:** Yeah. Depending on a non-deterministic system turns out to be complicated. So yeah, I get it. Yeah, that's a lot.\n\n**KARAN ANAND:** And we can't just move the models to a newer model. The AI models are totally different. We have to run a test. If the new models are serving the same performance and accuracy for the old type of workload or not. We need to do, again, different types of testing.\n\n**STEVE MCGHEE:** Yeah, if it's faster and more available but it gets all the questions wrong, do we want it?\n\n**JORDAN GREENBERG:** Exactly.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** Is there a hardware component in this as well, because when you're upgrading to new models, do they need to be supported by newer hardware to be able to maintain the performance that's needed?\n\n**KARAN ANAND:** Definitely. There's a hardware component. GPUs, chips or TPUs, which we say are really the main part of this, the whole equation, because we need to migrate to the latest models and make sure they're supported by--\n\nWe have tons of different types of hardware models, and need to understand which models are supported by what type of workload. And if we would be-- before the AI era, let's say we are migrating to a new server platform or something like that, it would be quite easy. But with the AI models it's a little different.\n\n**JORDAN GREENBERG:** So what did this migration mean for the engineering team, compared to what this meant for the business? What did you get to say as a measure of success in this way for the engineering side and the business side?\n\n**KARAN ANAND:** Definitely. So again, this request came from the reliability organization across the whole Workspace organization. The engineering benefits, I can say, is we can reduce the testing time. Before doing this, we have to test on different models, even the newest models and the older models. But after migrating to the latest models, we can only test on the latest models as we are decommissioning the older models.\n\nSo basically, all in all, we are reducing the testing time. If I translate into business benefits, then it would be better safety and reliability, more cost-savings, efficiencies. That's another benefit. Yeah, and reducing the testing time means we can go to the market faster.\n\n**JORDAN GREENBERG:** Nice.\n\n**KARAN ANAND:** And this is really required in this AI evolution, speed, time, go faster to the market.\n\n**JORDAN GREENBERG:** That's super important.\n\n**STEVE MCGHEE:** I want to back up a second. You wrote an article around TPM and SRE. And part of that-- it was less about project management and timelines and things like that. But the bit that jumped out to me was this idea of you found-- there was like, and you called it the buffer number.\n\nThe number was 25%. So I wonder if you can explain to our audience like, what was this number and how did you find it? And should they use it also? Is it something that we should-- is it magic secret sauce that we're not allowed to share. Or is it something that you think the community would benefit from? Well, you blogged about it, so it can't be that secret.\n\n**KARAN ANAND:** No. Definitely, it's not a secret anymore. We have put it in the public. Yeah.\n\n**STEVE MCGHEE:** Cool.\n\n**KARAN ANAND:** So basically, the magic number is just for our organization. It can vary from different organizations. And how we came up with this number depends on how much ad hoc work you get, what is the stability of your services? So why do we need this number? I'll come back to the first-- let's say we'll talk with the first.\n\nAs per the project management index, project planning is the most important thing in any project. If your project has planned well, then the success of the project is higher, if you haven't planned it. So similarly, in SRE organization we have to plan for the right headcount.\n\nBecause let's say you're working on a project with 20 SREs and your services are not stable and being interrupted and you keep getting pages, then the interrupts are or ad hoc works are way higher than the planned work. Then the planned work takes a hit and you're going to miss the deadline.\n\n**STEVE MCGHEE:** Yeah, if you're too busy doing other stuff, you're not working on the project, then guess what happens? It doesn't happen, huh?\n\n**JORDAN GREENBERG:** Exactly.\n\n**STEVE MCGHEE:** So you called this the-- what did you mean by buffer number? So can you explain that?\n\n**KARAN ANAND:** Buffer number means when you plan the headcount or plan the resources for any project planning, keep a 25% buffer or cushion of a 25% headcount based on your stability of your services. So this number could go up, could go down, depending on how stable, how often you get a page, how often you get interrupts in between of the planned work. So this buffer number can keep changing.\n\nThe benefits of this buffer number could be, you will not have any project delays. And this project delays are very bad. No one wants the delays. Everyone wants to deliver the project on time.\n\n**STEVE MCGHEE:** Cool. It sort of sounds like how we think about toil with regards to-- you don't want to do toil, but you know it's there. And it always changes all the time. So I know with toil, we recommend, or I recommend at least, that people try to measure it multiple times a year and just see how we're doing.\n\nBecause even if you reserve like X amount of time for it, that's not necessarily what's going to really happen. Is this the same deal here? Do you think that it's worth checking back in with your teams to make sure that the buffer is what we think it is or something like that?\n\n**KARAN ANAND:** It's very important to keep visiting this number and verify because you don't want to underutilize or overutilize the resources as well. So it's very important to keep this number checked and have a healthy balance between why you don't want to have a key high buffer versus why you don't want a low buffer as well. So we perform this activity every quarterly basis to check.\n\n**STEVE MCGHEE:** Cool.\n\n**JORDAN GREENBERG:** Wow.\n\n**KARAN ANAND:** And it's really helping us so far. Yeah.\n\n**JORDAN GREENBERG:** That's awesome. Speaking of helping, what are some ways we can leverage AI to assist with furthering the SRE and TPM relationship? How do we use our keyboards to help the engineers use their keyboards?\n\n**STEVE MCGHEE:** Let me see if I can interpret Jordan's question, because I think I know where you're going with it. But how would you like to use AI yourself as a TPM in SRE to help the teams around you, or to engage better with other teams, or whatever it is? What are some other applications that you yourself would use as a TPM within SRE? Is that right, Jordan?\n\n**JORDAN GREENBERG:** Yeah. And then, the force multiplier is the TPM, but AI is the force multiplier for the TPM. So it kind of scales it out in this strange way.\n\n**STEVE MCGHEE:** Multiplier multiplier.\n\n**JORDAN GREENBERG:** Exactly. Now we've got exponential force multiplication.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** So what does this mean for being a TPM in SRE? And how can we ultimately support our engineering teams better with the assistance of AI?\n\n**KARAN ANAND:** Yep. So AI is a multiplier and TPM is a multiplier, so we are doing exponential multipliers here for AI with the help of AI. And we have already developed a lot of bots inside to do a postmortem analysis. SRE has a culture of postmortem. So we have a postmortem analysis.\n\nThen AI is helping us by giving the top risks. When AI is giving me top risks, it's helping me-- it's funneling my 2026 roadmap already, where TPMs are responsible to create a roadmap for the next year by working collaboratively with engineering leaders. But we can give a great input on what are the top risks based on postmortems of 2024 and 2025, the last couple of years.\n\n**STEVE MCGHEE:** So is this something that you've done? Has it been working for you?\n\n**KARAN ANAND:** It has been working. We have a small-- we ran a hackathon in our organization.\n\n**STEVE MCGHEE:** Cool.\n\n**KARAN ANAND:** And we came up with this bot. And we have a postmortem analysis. A couple of months back, we had to do the postmortem analysis manually, go through each postmortem, understand the root cause, and how can we mitigate this and all that. Now we have a postmortem written. The script can crawl through all the documents and figure it out.\n\n**STEVE MCGHEE:** Cool. So when I was running a team-- so I ran Android SRE a long time ago. And I had one TPM for all of Android, which seems like a bad idea. It was pretty wild. In fact, we didn't have a TPM for a while until we got one. So shout out to Ron. Thank you, Ron. You saved our bacon.\n\n**JORDAN GREENBERG:** Nice, Ron.\n\n**STEVE MCGHEE:** And then we had more and more and more. People have heard about dirt. So there's been a lot of publications. So there's a woman named Kripa who wrote a bunch of things. I remember her being kind of an early TPM, at least one of the more outspoken, like, would talk outside of Google about TPM stuff and things like that.\n\nSo I think TPM has grown inside of SRE quite a bit. So of course, this is a leading question, which is like, what's next? How do you think TPM inside of SRE, or maybe alongside SRE, whether it's inside of Google or outside, how do you think it's going to evolve over the next two years? Like, it's going to grow. We're going to use more AI, something like that. But what can you say that's more interesting than what I just said?\n\n**KARAN ANAND:** Yeah, it will definitely grow. With the evolution of AI, we need more TPMs in the AI for the SRE side as well. We need to keep-- the trust and safety part for the AI is very important, even for the user. Although AI is bringing the productivity high for billions of users across the world, it's very important to keep this trust and safety high.\n\nThat's where the reliability comes in. The reliability has an overlap of trust and safety. So the TPMs will keep growing. It's just we need to know how to use the AI and when to use the AI to keep the productivity high. But I don't think the TPM's job with the evolution of AI will go away. TPMs will just become more productive, but it will not go away.\n\n**STEVE MCGHEE:** Yeah, the work keeps growing, I think. Yeah.\n\n**KARAN ANAND:** And we keep getting new work and work. And especially the speed has increased a lot in the last few years.\n\n**JORDAN GREENBERG:** Yes. It's definitely gotten a lot easier to do these types of analysis and to see it in a way that's very SRE-coded, is awesome, specifically with postmortem analysis. That makes a huge difference in the amount of time we spend. Thank you very much, Karanveer, for taking the time with us today to talk about SRE, TMPery.\n\n**STEVE MCGHEE:** Thank you, Jordan, for coming on as well. This has been a great conversation. It's been really good to actually go back to my roots and remember what it's like to work with a big team and solve seemingly intractable problems than having someone come in and be like, listen, we can figure this out. You don't need to just YOLO the whole way.\n\n**JORDAN GREENBERG:** Yes, that's true.\n\n**STEVE MCGHEE:** We can actually come up with a plan. It's like, all right, good idea.\n\n**JORDAN GREENBERG:** Yeah. And lean on your TPMs, I'll say that as a closing argument. We're here to help you, and we want to be the person who does whatever they can to make sure that you're able to stay on the keyboard and do what you're really good at.\n\n**STEVE MCGHEE:** Last thing is, I want to get, Karan, on the record, do you think that we should waterfall plan all of our projects in SRE? You think that's a good idea, like just come up with the perfect plan up front and then just never touch it ever again?\n\n**JORDAN GREENBERG:** That works a lot.\n\n**KARAN ANAND:** I don't think so.\n\n**STEVE MCGHEE:** No, no, no, no. Yeah, yeah.\n\n**KARAN ANAND:** Especially with the AI things, we need to keep it agile and make sure teams are accountable and running faster. Yeah.\n\n**STEVE MCGHEE:** Yeah. Yeah, it's an allure, I think, that a lot of people suffer from when they're like, listen, I have the best plan. Let's just do this, and it's going to be great. And then I think a lot of times TPMs come in and go, are you sure? And then check in every two weeks like, are you still sure? What has changed? Let's reassess.\n\nSo I think that's great. Having folks that can keep everybody else on track with regards to that and get it like the whole time and be like, look, I wrote a script and I'm afraid you're wrong, whatever your assumptions were. That is fantastic. So hats off to you. Thanks very much. It's been great having you on the podcast.\n\n**KARAN ANAND:** Same here.\n\n**STEVE MCGHEE:** And thanks, Jordan, for joining us again. And I guess we'll see you all next time. Oh, last thing, Karan, is there anything that you want people to connect with you on your socials or anything like that?\n\n**KARAN ANAND:** People can connect with me on my LinkedIn. Karanveer is my handle. Yeah. Feel free to send me requests.\n\n**JORDAN GREENBERG:** Throw that in the end, too.\n\n**STEVE MCGHEE:** And you have a couple of blog posts we'll link in the description. Those are great. I've read them. They're awesome. And yeah, keep it up. Keep making Workspace smart.\n\n**KARAN ANAND:** Yeah.\n\n**JORDAN GREENBERG:** Thanks for joining us.\n\n**KARAN ANAND:** Thank you to both of you for having me. It was great talking with both of you.\n\n**JORDAN GREENBERG:** Thank you. Bye.\n\n**STEVE MCGHEE:** Bye.\n\n**KARAN ANAND:** Bye bye.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 28808, "slov": 5149, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:59", "sha256": "ade56be270cc8fa426d6c22b9c4348fef717bc56a2845a106c66eff607aef386", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09", "titulek": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "h1": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "popis": "Google Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09"}, "headline": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "description": "Google Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.", "image": "https://kstatic.googleusercontent.com/files/c008f05a64ed754e3360027800a158fe6d357cd9065b74e7b0c2fb2d2df264d028e7b7d781f3de6e899e72689d29957c7c85ef41b81874bc06b5aefc5c7d38cc", "author": [{"@type": "Person", "name": "Ramón Llamas"}, {"@type": "Person", "name": "Swapnil Haria"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With AI Agents, Ramón Llamas, and Swapnil Haria"}], "markdown": "# The One With AI Agents, Ramón Llamas, and Swapnil Haria\n\nGoogle Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone, and welcome back to the Prodcast. This is Google's podcast about SRE and production software. I'm back. I'm Steve. Matt's back. He's Matt.\n\n****MATT SIEGLER:**** Hi.\n\n**STEVE MCGHEE:** We have more people, too, also today. I think we're going to be talking about friends and trends because that's the theme. But let's see, first of all, who our friends are today. We have two new friends today. Can you guys introduce yourselves.\n\n**RAMON MEDRANO LLAMAS:** Hello. I'm Ramon, I'm a senior staff site reliability engineer. I've been at Google for, boy, a long time, 12 years. And I'm in a team that is called core. SRE. So we run infrastructure from authentication services to data stuff. And we have been working now for a year or so in building agents from production management.\n\n**STEVE MCGHEE:** Nice.\n\n**SWAPNIL HARIA:** Hi, I'm Swapnil. I am not an SRE, unlike most of us here. I am a software engineer, so I have some experience with production systems. I work in Core Labs, which is a part of Google that's building AI agents for different use cases. And I started at the bottom of the computing stack.\n\nSo my undergraduate degree was electrical engineering, so doing VLSI design. Then I moved to computer processors. Then I moved to operating systems for my graduate school, then databases at Google, and now finally, coming up full stack to agentic use cases.\n\n**STEVE MCGHEE:** Are you going to do UX next and then psychology? Is that how--\n\n**SWAPNIL HARIA:** If AI doesn't do it before me. Yes.\n\n**STEVE MCGHEE:** Cool. So you guys both work in Core, which makes it sound like you work at the center of the planet. But I'm guessing that's not really the case. But you guys work on systems that are used by other systems. They're back end to the back end to the back end. Does that seem right?\n\n**RAMON MEDRANO LLAMAS:** Yeah. How about that? It's infrastructure that is used by all the products. There is as well, another thing that is TI, we call it, which is the back end to the back end to the back end to all of the back end.\n\n**STEVE MCGHEE:** TI is the technical infrastructure. It's another one of these sets of words which are pretty generic, but they make very specific sense inside of Google.\n\n**RAMON MEDRANO LLAMAS:** People run into metal, basically.\n\n**STEVE MCGHEE:** That's right. Cool. Well, so the other phrase, as you said, or the other word you used was \"agents\" or \"agentic,\" and stuff. And this is where the trends come in. This is a pretty popular new term these days. I think a lot of people have heard it. But it comes with a question mark next to it a lot of the time, or they hear about it.\n\nI have a feeling you guys are a little bit deeper than that when it comes to actually knowing what it is and then using it maybe and on building them and stuff. So can someone start with a high-level, like what are we even talking about here?\n\n**SWAPNIL HARIA:** So I think the right way to talk about agents is to build incrementally. So we have our static deterministic algorithms, where it's a set of sequences. You have an input. I can work through with pen and paper-- how the operations are going to happen? How the input is going to be transformed into the final output? So that's a static algorithm.\n\nNow slowly, we are seeing cases where some parts of this algorithm could be outsourced to an LLM. So for example, I could have a doorbell camera company, and I want to have a specific sound when the mailman comes just so that folks are aware that there is a package. So I could say \"if mailman in frame.\" And this \"if mailman in frame\" is being executed by an LLM and giving us the response. So we replaced some parts with some amount of nondeterminism.\n\nAnd then we go to the other end, which is the full agent, where there is no script anymore. The agent gets an input. It has some high-level understanding of how to solve the problem, but it comes up with its own set of sequence, steps dynamically on the fly.\n\nAt each point, it thinks, OK, do I need more information? Do you know a function call? Should I invoke one of these good old-fashioned static algorithms instead? And over a series of steps, it comes to an answer. But there is no script. There is no input. So there is an input and an output, but we can't manually see how it flows from the input to the final output.\n\n****MATT SIEGLER:**** That sounds a little out of control. No script? How are we going to get to our goal here? I'm a little skeptical.\n\n**RAMON MEDRANO LLAMAS:** You establish a goal and then you can see the trajectory. We call it that the agent is following. An agent could be just a singular call to a model. You just prompt an LLM with a goal, and that could be an agent. If your goal is like, calculate the inflation in the US for the last five years, that's something that you might have memorized or give you some code to run.\n\nAnd then that's it. That's a very simple kind of way to see it. And then you can go to systems that are way, way more complex. They are super untraceable. Well, not untraceable, but they are difficult to debug and trace what they are going through to achieve the goal.\n\n****MATT SIEGLER:**** So I'm getting a read here, the agents are goal-directed, perhaps have an unexplainable set of behaviors that they have to get to that goal. And you're going to give them a lot of capabilities. And I'm hoping you're going to tell me what these capabilities can be. How do we define these capabilities? Are they totally open-ended?\n\n**RAMON MEDRANO LLAMAS:** It depends. So there are tools that you can-- Swapnil mentioned some of them that you can call a tool that is built in your agent. For example, if you open gemini.google.com, there are tools that are already transparent for you.\n\nGoogle search is one. It calls the search as a tool for continuing the trajectory to a goal that is the problem that you put in there. But then you can have the agent generating code on the fly and executing it in a sandbox.\n\n**SWAPNIL HARIA:** So when you give a prompt to the LLM, what information does it have? It has a prompt. And then it has been trained to be a good large language model. So there was some amount of training data that was fed to it, and this data has been getting bigger and bigger over time.\n\nBut let's say it was trained on March 25. So at that point, its knowledge of the world is limited to what was in its training data on March 25. And if I ask it things like, OK, should I go out today for a walk, it has to figure out some dynamic information. So that's where tool calls come in, to interact with the external system, try to get more up-to-date information and be able to generate additional observations to answer the question.\n\nAnd if you just have a few different tools, maybe it knows where my location is, maybe it can figure out the weather, maybe it can see, do I like walking? Is there a good park near me? So slowly, you can see how we can add capabilities over time to give a more refined version of the answer.\n\nAnd in some cases, we might not even realize what the capabilities that are going to emerge are. So we'll give it a set of tools, but it is mostly allowed to do whatever it wants, until a set number of steps, to give us the final answer.\n\nAnd that's where some of these emergent capabilities that people talk about, where things just emerge, where it realizes that with these combinations of tool calls, it can actually give us a much better version of the answer to a question we didn't even ask. That's where it gets surprising, but also more challenging to evaluate.\n\n**STEVE MCGHEE:** So it sounds like the two categories of these tools or agent capabilities are getting at some context that wasn't in my training data. And the other one is doing stuff besides just saying words, like going out and articulating something or calling another agent, for example, would be one of those, or actually executing some code or something like that. Does that sound right?\n\n**RAMON MEDRANO LLAMAS:** You can see how there is some capabilities that are very evidently simple, like calling the weather service, or if we are in production and you have an agent that is managing production, it's reading some time series data from your Prometheus or whatever are you using, but there are others, like a world modification capabilities or capabilities with side effects, like, I don't know, if we are in production, trigger a binary rollout,\n\nSo the tools and the capabilities that you give to the agent, you need to know what you are giving it because knowing or predicting how and when they are going to be called is not that trivial.\n\n**STEVE MCGHEE:** With great power comes great responsibility.\n\n****MATT SIEGLER:**** Yeah. Is there a notion of a read-only versus a write-only agent, or how do you put boundaries or envelopes around your agents? Talk about the layers of responsibility and capability, because I presume I don't want to set it free in my organization without giving it some ACLs of some sort.\n\n**STEVE MCGHEE:** Yeah.\n\n**SWAPNIL HARIA:** So there are a few ways. So typically, at least in the agents that we build today, we don't allow them to make any kind of world modification erm, any ways to mutate the state of the world. So right actions are typically very restricted.\n\nYou see a lot of examples of coding agents. And the way these work is it's happening inside a sandbox. So you can edit any code you want inside the sandbox. You can run any tests. So you're modifying the state of the world, but only inside a sandbox.\n\nAnd anytime you have to break the sandbox solution, if I want to make, let's say, write a request to a spanner database or to a database, you have to enforce some additional checks. In our case, we try to get human permission before it does anything. So it will recommend that you do this, or it will say, can I go ahead and make this call? And there'll be a yes or no option.\n\nIn some cases, you'll say, can I see some additional rationale for why you want to make this action? But you need to have additional guardrails in place for some of the write actions, as we call it.\n\n**RAMON MEDRANO LLAMAS:** Now, this is a common pattern that you see it in tools that are, for example in Claude code, that is a CLI to do coding in your computer and your workstation. It has some safety parameters as well.\n\nSo I think the agents that we are seeing both in large production deployments, like in your workstation or in things like the Gemini app or in ChatGPT and these things, do you see how these differentiation between that we are only accessing data for reading and trying to execute an action, like booking you a restaurant or whatever? And there are still a lot of human approvals for all of them.\n\n**STEVE MCGHEE:** Well, let's move into production in SRE spaces. So now that we have a basic idea of this model and this way of working, which I appreciate, I think that was really well done, what do we do with it? As SREs and people tending production, how do we take these generic ideas and capabilities and apply them to making a more robust and reliable system? What have you seen work so far?\n\n**RAMON MEDRANO LLAMAS:** One thing that we have seen that works really, really well across the board is what is called one shot summaries, or one shot responses. So you, in production, give the agent access to many data sources, which is nontrivial because in an enterprise, integration of data access is not an easy feat because of permissions or different schemas, different things and so on.\n\nBut let's say that you give the agent, like a bunch of access to your Prometheus data. You have access to your logs. You have access to your things. It can summarize the situation really well for you, for example. We have seen that working really, really, really easy. So when you get an alert, for example, it's going to-- you have an attachment that is “A”. So the situation of the world is like that. So you have this correlation or that.\n\nSo for example, in the case of troubleshooting, it saves you all the 5/10 minutes at the beginning to get the situational awareness of, OK, what's this alert and what is happening, kind of thing. You get that done. You need to do the troubleshooting yourself. But I think that works really well. All the things that we have seen that were good, and they are starting to show a lot of promise and reasoning on top of that.\n\n**SWAPNIL HARIA:** So it's helpful to think of different LLM capabilities and see how we can apply them to the SRE use case. So the easiest Ramon mentioned was summarization. When the alert happens, there is so much information that, at least at Google, an engineer has access to, so things like, how many incoming requests were coming into the system, how many outgoing requests were going out, are there any outages above my service or downstream, below my service?\n\nThere are thousands of lines of server logs that you have to go through, thousands of lines per minute or per second in some cases. So there's a whole lot of information surrounding an alert. And just processing them is quite difficult, usually as a junior on-caller at least. You have to quickly parse out what is useful, what's not useful.\n\nSo this is one way in which an LLM can help, where it's summarizing all of it and weeding out the wheat from the chaff in some ways, keeping the important bits, removing all of the extraneous information. So that's one. Then slowly, you can get into more advanced things.\n\nIf you have a lot of server log lines, there might be an error hidden inside somewhere that looks a little bit like your outage error message. How can it find that quickly? So Gemini has or chat models now have access to large context windows. So you can dump a lot of information in there and say, OK, do you see anything that resembles the error message I'm seeing? So you can use it to find a needle in a haystack if you wanted to.\n\nAnd then lastly, Ramon said, reasoning. That's where we are trying to build more advanced intelligence in some ways, or at least leverage that. So if you look at the SRE, they are doing two things. They are trying to gather clues from all of these diagnostic systems, and they are coming up with hypotheses.\n\nThe LLM can do that for you. It can look at these systems. It can figure out, here's a playbook of how SRE would have diagnosed this issue. I can repeat a lot of the steps. If you're looking at, what is the upstream error message looking like? Is there a spike in QPS somewhere in the system? Am I seeing that there was a binary released in one of my dependencies?\n\nIt can take all of this information, do a little bit of debugging, surface them as higher-level insights, and then the human can quickly make sense of them. And in this case, we saved a bunch of time because the human didn't have to click through 15 screens trying to find the right log messages. They didn't have to add 16 filters to narrow down to the right cell in the right region, for the right service, in the right environment and so on. So it does a lot of the legwork of debugging for you.\n\n****MATT SIEGLER:**** It saved you a bunch of clicks, I get this. Do you have a particular implementation or launch that you'd like to talk about that you feel really great about sharing, that you can share that uses an agent that does save a lot of production time, a lot of toil, that you think is specifically demonstrative of how agents can save SRE effort or automate it out or amplify-- I think \"amplify\" is the right word here, what you're saying-- using the intelligence of humans to greater effort? I think that would really illustrate what you're talking about well, as well as in a risk-averse way.\n\n**SWAPNIL HARIA:** So we have alerts firing all the time at Google. An alert, it looks at an error condition. So if your QPS is above a certain threshold, maybe you're returning too many errors to your clients, those are error conditions. And if they stay for some amount of time, an alert gets triggered automatically at Google.\n\nSo when the alert gets triggered, we have some use cases where the agent steps in first. By the time the human gets to their desk, which is typically three or four minutes, or they are context-switching away from working on something else, the agent has already done a lot of the common steps that the on-caller would have done.\n\nSo for example, was there a release recently? Is the new release showing a higher error rate than the old release? So things like that, it can quickly weed out a lot of the common mitigations. And it can either say, hey, look I found, the underlying root cause. Or it can say, OK, I didn't find the root cause, but I have ruled out these 16 things. So now you can actually go and see what is really the issue there.\n\nAnd in doing this, we have seen that it can save a lot of human time, when they get to that incident of trying to figure out, OK, how do I find the right context for this alert? How do I find the right mitigation or root cause? And it's still giving them a lot of agency because we are showing them what the agent has done.\n\nAnd they have to make the call, OK, this looks right. Here's the agent supporting evidence for that. And if it looks right, here's how I can apply the changes directly. So that's the process in which we are using agents right now.\n\n**RAMON MEDRANO LLAMAS:** We are speaking about saving a few minutes of time and so on for the responder and so on. But what matters is that when you have an alert, you have an SLO or an SLA that is under the threshold or whatever it is. That typically means that some service is bleeding out some reliability. And some users are affected, whatever that is.\n\nLike, in a company, there is a revenue impact. There is some whatever that is, financial or a reputational or whatever, it's shortening these minutes. But what matters is that this impact goes away in the sense of, yes, you are going to have to have humans at the end of the day looking at what happened and so on, probably.\n\nThe agent is going to give you just the mitigation action that you can take, and then the root cause is something that you need to analyze and fix later. But this reduces the amount of time that your service is not available for your users, which is really, really what it's about, especially when you are running a very large service like search or Gmail or whatever it is.\n\n****MATT SIEGLER:**** We do talk a lot about anomaly detection and the improvements that AI has been giving our responders. They're real. And the interventions are still at the human level. But that the feedback that we're getting is faster and faster in that the dashboards that we're using are more informative and less toil-y.\n\nAnd I think what you're saying is the agents can take more action to go retrieve this information, consolidate it, make it more concise, and make it more actionable to me as the on-caller. And that's a wonderful thing that I want to have every day.\n\nFine. We have these agents. How are you actually deploying, testing, and finding out that they're doing those things correctly? Because I think that sounds like a dream. Does it work? And how do we test that? And what are we testing it against? Because this is against something else. This isn't just something you make, and then we go, that's great. Thanks. Good day. What's our A/B here?\n\n**STEVE MCGHEE:** Works on my machine, right.\n\n**RAMON MEDRANO LLAMAS:** That's the golden question, literally, right, how to evaluate these things? I think the evaluation of these new paradigms like services that they are not deterministic in a way. It's very hard for two reasons. So the first thing I want to say is something that Swapnil said at the beginning, that is, when you are doing a development agent, like for coding, for Cursor this kind of stuff, you have a sandbox.\n\nYou don't need-- you need to evaluate, but you have the luxury of being at the, I call it, the left-hand side of the development cycle because you spin a sandbox, worst-case scenario is like, just compile your application with the CL or the patch that is producing. And that's the test. If it compiles, passes the unit test, you have an evaluation there.\n\nWhen you are on the right-hand side in production and you have agents that they might take actions in production, there is no-- production is not a sandbox. And if you decide like, hey, this agent is going to drain every single cluster or every single data center or whatever you are deploying right in one go, because this is what it is, it's gonna go for it.\n\nSo I think the evaluation there is something that we are being very, very conservative in the sense of there is all the safety. But there is as well how we measure that the agent is producing like recommendations or insights that they are correct. So there, we have techniques. There are techniques like sandboxing. There are techniques like having golden data. And there are techniques like using human feedback for this. Swapnil knows this very much, better than me.\n\n**SWAPNIL HARIA:** So there was a paper in 2021 with a very provocative title. It was called \"Everyone Wants to Build Models. No One Wants to Clean Data.\" And I think that's very much applicable today because, like you said, writing some prompts and having something that kind of works for a demo is very easy. But then showing it that it works reliably 90% of the time is very hard.\n\nAnd the problem with, at least, internally at Google is for production use cases or outages, we don't have a lot of good-quality data of what actually happened. So we might have 1,000 incidents per day. But in 99% of these cases, we don't have any idea of what the on-call actually did to fix the issue.\n\nWe don't have good documentation. We don't have good workflows. And what we want is we want to figure out what the human did because that's the right benchmark for the agent. But there is a lot of work that happens at the beginning of these projects where we figure out what is the right evaluation set.\n\nSo in our case, we had a bunch of alerts, and we had the right labels for each of them. So the label was something like, we rolled back the binary. We upsized the cell. We took some emergency quotas. We throttled the user, things like that. These are golden labels that you can have. And for each incident, we need to find out what was the actual action that fixed the issue.\n\nWe get a set of that. And then we make sure that the agent is evaluated against that. So the agent's output is checked with the actual labels. Now, this is easier said than done because the real-world data that the agent is looking at, dashboards and things like that, often gets lost over time. It might be retained for, let's say, 20 days, 30 days. But beyond a certain point, you lose access to that old data.\n\nI no longer know what the log said 30 days ago. How do you keep evaluating in that sense? So you need to keep generating a large quantity of golden data to make sure that the agent is continuously being tested. And you have ways to close the loop here.\n\nSo we mentioned that the agent gives you some preliminary recommendations, and the on-caller then makes the final call saying, OK, this is what I need to do. We could easily add a step where they record that final step so that the agent knows it, too. And we can have a feedback loop so that the agent can improve over time.\n\nBut that second part, of getting the golden data, what did the human actually do for an outage, or for whatever your use case was, what's the perfect response for a given question? Getting that is very difficult. And in often cases, it has other problems like retention of data and other stuff associated with it.\n\n**STEVE MCGHEE:** So we went over how these agentic systems can be useful for production in general. And before that, we talked about what are these capabilities that an agent might do. We talked about tools and reaching out and doing things and stuff like that.\n\nBut now I want to go into a little bit deeper as to how to combine these things. So my guess is that you don't just write a prompt that's like, you are an SRE. What would you do in this situation? Context dump. Here's 20 gigabytes of logs. What is the process that you guys have actually gone through or you've actually--\n\nAnd the other half of this, which, I think, this is a joke to tell a story is like, I'm guessing you're not training new models. You're not starting from scratch. So what's that thing in the middle? What is it that you're doing where it's not just like a paragraph of simple prompt, and it's not, like, 20 years of developing models?\n\nWhat's the thing in the middle that you're doing? What's the complexity that you guys are actually building out? Just walk us through some of that. How would you actually go about doing it?\n\n**SWAPNIL HARIA:** So it's important to start with the end in mind. So for example, the first step in any of these agent-building workflows is to have something called a golden data set. It has the input. So it might be things, what could users ask the agent, and it has a perfect output or a good enough output for that use case.\n\nSo let's assume we are building an agent that can answer health insurance questions. So you would have some common things about, is my health insurance valid if I go outside the country? So that would be one of the questions. And then the answer would be whatever the appropriate response was for that. So you start with that, even before you have any agents of any kind.\n\n**STEVE MCGHEE:** So this is labeled reinforcement learning-type stuff where you have--\n\n**SWAPNIL HARIA:** Similar. labels.\n\n**STEVE MCGHEE:** \"This is a duck. This is not a duck\" kind of thing.\n\n**SWAPNIL HARIA:** Exactly. But it's slightly more nuanced because it's not a yes or no thing. The output is actually a large paragraph in many cases. So evaluating whether your large paragraph is equal to my large paragraph of some other agent-generated stuff is not an easy problem. But let's not solve that right now.\n\nSo then the first thing to do is, as a human, how would I go about answering this question? In the production use case, if I get an alert, what are the tools that I use? What are the dashboards I look at to try to debug this? Because the LLM is not magic. If we don't give it the right context, it's not going to give us anything useful.\n\nSo we start from there. When we have the evaluation set, we figure out, OK, these are the three or four tools I need to get a rough understanding of the system. Let me teach the LLM how to use that. Let's see how the answers come back. Now I compare this with my ideal response, and I slowly try to remove the variance over time.\n\n**STEVE MCGHEE:** And is there a name for that process that you just described? Is that HLF or RLHF or one of those letters? Is that the same thing, or is that something else?\n\n**SWAPNIL HARIA:** So what you said is one of the techniques. The overall objective is called hill climbing, because you can think of it as trying to get to a local maxima. So iterative hill climbing is an umbrella term for this. And RLHF, Reinforcement Learning through Human Feedback, is a technique that you could use.\n\n**STEVE MCGHEE:** So this is not training a new model. This is taking an existing LLM, and then you're refining it or distilling it-- is that another word that you guys use? That's a different word?\n\n**RAMON MEDRANO LLAMAS:** That's a different word. So distilling s getting a model that is very large like Gemini Pro, blah, blah, blah--\n\n**STEVE MCGHEE:** Oh, I see, small.\n\n**RAMON MEDRANO LLAMAS:** --and then making something smaller. So it's not going to have the same quality but might retain 90% of the quality in half the size kind of stuff. So we just use the context. What we do is in context learning. So when we are creating is the context for the prompt, it might be a loop of multiple prompts to the same model with different information.\n\nBut the models that we use is Gemini vanilla. You would be laughing at the beginning, but the first prompt that we had, it was like, you are an experienced Google SRE that is doing blah, blah, blah.\n\n**STEVE MCGHEE:** You've got to start somewhere.\n\n****MATT SIEGLER:**** Wow. Yes, it's like an adventure game.\n\n**STEVE MCGHEE:** Yeah. It's fun. Go north. Yeah.\n\n**RAMON MEDRANO LLAMAS:** That's what our tool is called. And then another resource that is very interesting because the things that we learn on the way is that getting the golden data for starting is relatively-- it's not hard. It's just tedious because you need people to help you.\n\nSo we were asking colleagues across the company. It's like, hey, so we need these. For this other time that we are working on, we need a data set to test. So can you fill in this spreadsheet? And people go like that. But I wanted to do AI.\n\n****MATT SIEGLER:**** People love spreadsheets.\n\n**RAMON MEDRANO LLAMAS:** Yes. No, I'm not. So that's for starting up. Then I think once you have some corpus and you have an idea that is running, I think there are ways to get online feedback. So you get feedback from the users and then from the alerts themselves. You can see-- one comparison is easy.\n\nIt's like the agent recommended you to do whatever training your data center or whatever, I don't know, some mitigation. And then the actual response that was taken after the fact, it was the same. So we know, for example, this is a good match there. So when there's mismatches, you can compare to say like, oh, the agent said to do some work or something and then the person that was leading the response did something different.\n\n**STEVE MCGHEE:** So let me see if I get this right. You have the idea of the training-- not the training of the model but the reinforcement feedback, learning some of those letters around a historical knowledge base of people who encountered these problems. They took these steps. So we're building up some context here.\n\nAnd then I think what you're saying also is that once the first version of this is running, or once an early version of this is running, it can then also see its own actions, and that's impact as well. So like, I chose to drain the offending or rollback the offending binary. That was bad. And lo and behold, the error rates dropped back down to normal. Does that go into another feedback loop of some kind, or is that beyond what we're talking about?\n\n**SWAPNIL HARIA:** So this is related to what Ramon was saying earlier about. You could do this for sandboxed agents, so things like coding agents where you can actually test it out. But in production, I'm not sure if you want to let your rookie agent train a cell to see if that was the right hypothesis. So that loop breaks down. And that's why we have to do it artificially after the fact.\n\nSo what we do is we get the responses at the time of the incident from the agent. And at Google, we have this culture of writing postmortems for large incidents. Now, they are written in a specific format. We have to do the hard work of converting it from this human readable format, which is very verbose, to a format that we can easily compare the agent's output, which would be, this was the exact mitigation.\n\nSo you have to take those two pieces of information and see, did the agent get it right, or did it miss some step? If it missed a step, did it call a tool wrong? Did it interpret the output of a tool wrongly? Or in fact, in some cases, did it not have the right tool to call? And there are a lot of different error scenarios here.\n\nSo in one example that we often quote is there were a bunch of tools that our production agent had access to. And all of them were returning dates in different time zones. So one of them would say the alert happened in UTC time. The other would say in Mountain time.\n\nAnd this was well known for humans who are used to these things, but it was not obvious to the agent. So we have a specific line in there where we say, OK, all the time zones are in Mountain View time zone, which is the headquarters for Google, and we made sure we had wrappers around each of our systems so that they would always return things in Mountain View time zone.\n\n****MATT SIEGLER:**** So there's a working theory that postmortems are the most nutritional ingredient to a healthy SRE culture. And I think you've just proven that to be the case through technology. And I really appreciate that.\n\n**SWAPNIL HARIA:** I'm sure others have proven it before me.\n\n****MATT SIEGLER:**** But you did it through an actual experiment. And I really think that's a wonderful outcome here.\n\n**RAMON MEDRANO LLAMAS:** It's this super great training data because adjusting or golden data for two reasons. It's not only that you have the response of, this is the mitigation that we had. You have the trajectory of the person, typically in postmortems. And you can see them in the SRE book, the people that are listening. We have example postmortems. And you have what is called the timeline.\n\nSo you have all the steps that the person took. So when we are inspecting the agent output, what we're seeing is exactly that timeline but produced by one of the agents. So you can see, I'm calling this tool, and I got this data. This is a red herring. And calling this other tool and running this other data. So this is promising. Let me follow that.\n\nWhich is what you see when we are responding to an incident. One of these larger incidents is where you have a chat for the response and all these things. You see in a trajectory that is like a human trajectory for doing what the agent does that we reflect in a postmortem.\n\nBut this is fantastic because this is-- one piece of data that we need is not only the action that was taken at the end. So the correct mitigation action is X, like it's raining or whatever. But the trajectory of steps, that's something very important. I think that something is containing the postmortems all the way.\n\n****MATT SIEGLER:**** Have you ever proposed improvements to postmortems from ad hoc? Was it post hoc analysis of work that you can derive from things you've seen?\n\n**RAMON MEDRANO LLAMAS:** Format. For example, the format. The format of the postmortem is something that we can do. The open formats, we have many postmortems in Google Docs and so on. It's difficult to mine for reducing agents.\n\nAnd then there are all sorts of-- one thing that we discovered working on this is that the majority of the work that you are putting together for working in AI is not in AI. It's integrating different tools, different data access, accessing different postmortems in different formats for different teams that there might be old, for example, postmortems from last year.\n\nIt takes a while to curate and process all of these. So for example, just formatting the postmortem in human and machine readable format. So they are all the same. That gets you like a head.\n\n****MATT SIEGLER:**** Thank you.\n\n**SWAPNIL HARIA:** We are trying to build a common language of sorts for some of these mitigations. So we have a taxonomy. So for example, if I ask you, what are some common production mitigations that you would take? You would roll back a binary. You would add resources and so on, run rollback experiments of some kinds.\n\nNow, the thing is, we want to build a common taxonomy of mitigation so that when the agent says, do this, all of us, regardless of what product we are working on, we know what that action is. And it turns out one of the problems that we faced is that a lot of different teams have different words for the same thing.\n\nSo in our initial version of our taxonomy, we had \"escalate,\" which would mean that you go to a different service because some other service is returning you an error, so you escalate it to their on-caller. But the incident reporting system we had at Google used \"escalate\" for a very specific reason.\n\nSo when we actually tried to expand the usage of this taxonomy, they said, OK, hey, no, this doesn't work at all, because some people thought that they need to increase the severity of this incident. So we had to move to \"delegate.\"\n\nSame with \"experiments,\" different teams consider \"experiments\" to be different things. So when we say \"roll back an experiment,\" they might understand it differently. But we need this common language to be there in all of the postmortem so that the agent, which is the same across these teams, can improve consistently.\n\n**RAMON MEDRANO LLAMAS:** There is a nice publication that is called Generic Mitigations that we made public. I think it was like a few years ago. It already has 20 of them. So I recommend people to read that because this is what we are referring to.\n\n**STEVE MCGHEE:** Yeah, actually one of the first episodes of the Prodcast was with Jennifer Macy, and she talked about exactly this. So we can definitely cite that one in the show notes as well. I have a side question. We've been talking about the bad day, the incident day, and response, and all this kind of stuff.\n\nWhat about the other days? Can we do something with agents that helps my daily work when I'm not panicking or when I'm not helping people who might be panicking, something like that? What do you think?\n\n**RAMON MEDRANO LLAMAS:** So we are looking into two places that the agents help, because luckily, the incident day is not every day. So it's actually the minority of the days. When it's stressful and you need to be prepared for that, and it's as well the evident-- it was for us, at least, it was an evident case at the beginning. It was like, OK, let's solve this one.\n\nBut there are two more things that are very interesting that we are looking at that day in general. One is your companion for doing things. In 98% of the time that you don't have an incident, you still have to touch production because you need to do your rollout. You need to observe performance regression. You need to do whatever. You need to move one service from one cluster that you have in some region to another.\n\nAgents can help with that, because at the end of the day, the tools that we use when we are responding to an incident and the tools that we would use in this case are the same. But it's like, you need to apply a drain. You just call the capacity tool or whatever, kubectl, that you are using for the day. And it's essentially the same thing.\n\nAnd the other is, the best time to mitigate an incident is 0. So it's preventing the incidents from happening. And there is also-- it's more complicated because there is all sorts of risk prevention that we can have. So there are things that we know that are bad.\n\nFor example, one thing that is very common, and we have spoken about them in the books and so on, is that many outages are driven by change. So they are policies and they are best practices around many different places, not only Google. But you do changes progressively, do changes incrementally by your different geographical locations or these kinds of policies.\n\nSo many times these policies are not enforced because you need to remember to put it in your configuration or whatever or your service configuration drifts over time. So agents might help us enforcing and discovering these spots where there are risks that we don't know about, dependencies, a service that has five 9s of SLO depending on one service that has two, because someone started sending some RPCs, or whatever it is. So discovering these kinds of things can help in detecting things before they manifest into an incident.\n\n**SWAPNIL HARIA:** Let me give you an example of this. So at Google, we build planet-scale systems. That means we have access to a lot of sophisticated techniques for caching, admission control. And we have all kinds of libraries and utilities that we use internally.\n\nThey offer a lot of different control knobs for different things because they have to handle all kinds of cases. And there might be cases-- let's say you have a service that you are trying to add a caching layer on top of or admission control. Now, with admission control, there are many ways to do it right. There is FIFO. There is first in first out, last in first out, and other variants thereof.\n\nIf you decide on one of these strategies and if at this point, the QPS that you are getting from your customers is something that would break your SLOs because of this service, that is something that the agent could flag because it has access to the dashboards. It knows what QPS you are seeing. It has access to other dashboards of the other teams around you, and it knows what their admission control looks like.\n\nSo even before you make that change-- so when you send that change out for review, it can step in and say, hey, look, you've configured the admission control in this way, but I don't think that's the right idea, based on what I see. So that's one example of how it can step in before you do something that will cause an outage.\n\n**STEVE MCGHEE:** Cool. Well, I'm afraid we're running out of time. So I have one-- this is called the lightning round. So each of you gets to answer two questions, but you have to just answer just those two questions. So we're going to say like, let's see, number one is going to be, what do you think we should not be using LLMs and AI for in production today? What's a bad idea?\n\nAnd then number two is, what do you want to work on next? What's the next big thing that-- let's say you're just done. It's a year from now or something like that. What's the next big thing you want to take a bite out of?\n\n**RAMON MEDRANO LLAMAS:** I'll start. One thing I would not use LLMs for is for when you can use a regular expression for things.\n\n**STEVE MCGHEE:** Solve problems.\n\n**RAMON MEDRANO LLAMAS:** I've seen people-- yes. So I have seen it-- I want to extract this integer from all these texts and so on. Let me prompt Gemini for getting that integer. It's like, no need for that. That's fair. This is just a joke, but there are some cases where the classic statistical methods or very small specialist models for doing certain things, like anomaly detection of a time series.\n\nIt's a much better-suited model. They're faster, cheaper, and more reliable. So I think we need to balance using the LLMs for what they are good for and other techniques for what they are better-suited.\n\n****MATT SIEGLER:**** So you're saying math still has value, even today?\n\n**RAMON MEDRANO LLAMAS:** Yes, math is still not deprecated.\n\n**STEVE MCGHEE:** Actual operators.\n\n****MATT SIEGLER:**** Really happy to hear that. Thank you.\n\n**RAMON MEDRANO LLAMAS:** Yes. What I would like to work next I think is the-- so how is the autonomy of these agents is something that is incremental. So we are going to see levels of autonomy going on. So I think we are at the beginning of this because all the agents that we have and the agents that I have seen around, they always require a human verification before going and execute some actions.\n\nSo I think one thing that I want to explore is like, how could be the conditions or what we should be having in production for leaving the agents to do things automatically? So how we could, for example, recover from an agent breaking some stuff or the agent recover itself and these kind of things? I think that's going to be a very large challenge, particularly in the production space.\n\n**STEVE MCGHEE:** Swapnil, what do you think?\n\n**SWAPNIL HARIA:** So I think one thing I would not like to see LLMs used for is insulating humans from challenging situations. So I'll give you the example of production outages. We are building agents that help out, but we don't want it to work in a way where humans don't know what is actually going on.\n\nBecause as engineers, that's how we learn over time. Our designs get better because we've gone through these outages. So we don't want it to be the case that it's completely offloaded to an agent and we have no idea that an outage even happened because the agent took care of it for us, because in that way, we'll never learn. So that reinforcement loop is broken for the humans itself. So that's one thing I wouldn't like to see LLMs being used for.\n\n**STEVE MCGHEE:** Well, I'll throw it out there. There's a famous paper called The Ironies of Automation, where the more you automate a thing, the worse you get at it. You have to depend on that automation. So when it doesn't work, then you're in trouble. Yeah, so we don't want to break that loop. I'm totally with you. What's next?\n\n**SWAPNIL HARIA:** I think so we are still deep-- there's a lot of problems to solve in building production-scale agents out there. But one of the things I'm often interested in is interaction models. Right now, we are talking about embedding AI in all kinds of things. But if you look at the interaction models, they are still very limited.\n\nIt's mostly a chatbot which comes in many forms. Or you click somewhere and you get some output and you can't answer back to the agent. But I suspect as we get more familiar with these systems, there might be a lot of other potential use cases that emerge just because we've changed the interaction models.\n\nSo it's interesting to see where we could take this, because at this point, I'm not an LLM expert. So I have very little control of how the models emerge over time. But I think the models are good enough. And the thing we are lacking at is improving the communication between humans and LLMs, which is where the interaction model comes in.\n\n**STEVE MCGHEE:** Nice. Well, that was a very great discussion. Thank you so much. We could definitely keep going, I have a feeling, on and on about this kind of stuff. Matt, any closing thoughts?\n\n****MATT SIEGLER:**** Yeah, agents are the new software. I had no idea. This is it. They're going to do it. They're like the composite thing. I had no idea this is what we were going to be doing, but we're going to be doing them.\n\n**RAMON MEDRANO LLAMAS:** I was reading today one thing that is like an AI is something that computers are not good at. But then when it gets good at, like we call it software. So I think in a few years, we'll call all of this software, and we are done.\n\n**STEVE MCGHEE:** Just another flavor of software. Well, thanks very much, guys. It's been a blast. So long.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee and Matt Siegler, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 47300, "slov": 8733, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:38", "sha256": "226b2ee460678004a5bbc539a8ed6737e465c43aa8e55336d3d6cb4563c7c5df", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09/", "titulek": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "h1": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "popis": "Google Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09"}, "headline": "The One With AI Agents, Ramón Llamas, and Swapnil Haria", "description": "Google Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.", "image": "https://kstatic.googleusercontent.com/files/c008f05a64ed754e3360027800a158fe6d357cd9065b74e7b0c2fb2d2df264d028e7b7d781f3de6e899e72689d29957c7c85ef41b81874bc06b5aefc5c7d38cc", "author": [{"@type": "Person", "name": "Ramón Llamas"}, {"@type": "Person", "name": "Swapnil Haria"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With AI Agents, Ramón Llamas, and Swapnil Haria"}], "markdown": "# The One With AI Agents, Ramón Llamas, and Swapnil Haria\n\nGoogle Staff SRE Ramón Llamas and Google Software Engineer Swapnil Haria join our hosts to explore how AI agents are revolutionizing production management, from summarizing alerts and finding hidden errors to proactively preventing outages. Learn about the challenges of evaluating non-deterministic systems and the fascinating interplay between human expertise and emerging AI capabilities in ensuring robust and reliable infrastructure.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hey, everyone, and welcome back to the Prodcast. This is Google's podcast about SRE and production software. I'm back. I'm Steve. Matt's back. He's Matt.\n\n****MATT SIEGLER:**** Hi.\n\n**STEVE MCGHEE:** We have more people, too, also today. I think we're going to be talking about friends and trends because that's the theme. But let's see, first of all, who our friends are today. We have two new friends today. Can you guys introduce yourselves.\n\n**RAMON MEDRANO LLAMAS:** Hello. I'm Ramon, I'm a senior staff site reliability engineer. I've been at Google for, boy, a long time, 12 years. And I'm in a team that is called core. SRE. So we run infrastructure from authentication services to data stuff. And we have been working now for a year or so in building agents from production management.\n\n**STEVE MCGHEE:** Nice.\n\n**SWAPNIL HARIA:** Hi, I'm Swapnil. I am not an SRE, unlike most of us here. I am a software engineer, so I have some experience with production systems. I work in Core Labs, which is a part of Google that's building AI agents for different use cases. And I started at the bottom of the computing stack.\n\nSo my undergraduate degree was electrical engineering, so doing VLSI design. Then I moved to computer processors. Then I moved to operating systems for my graduate school, then databases at Google, and now finally, coming up full stack to agentic use cases.\n\n**STEVE MCGHEE:** Are you going to do UX next and then psychology? Is that how--\n\n**SWAPNIL HARIA:** If AI doesn't do it before me. Yes.\n\n**STEVE MCGHEE:** Cool. So you guys both work in Core, which makes it sound like you work at the center of the planet. But I'm guessing that's not really the case. But you guys work on systems that are used by other systems. They're back end to the back end to the back end. Does that seem right?\n\n**RAMON MEDRANO LLAMAS:** Yeah. How about that? It's infrastructure that is used by all the products. There is as well, another thing that is TI, we call it, which is the back end to the back end to the back end to all of the back end.\n\n**STEVE MCGHEE:** TI is the technical infrastructure. It's another one of these sets of words which are pretty generic, but they make very specific sense inside of Google.\n\n**RAMON MEDRANO LLAMAS:** People run into metal, basically.\n\n**STEVE MCGHEE:** That's right. Cool. Well, so the other phrase, as you said, or the other word you used was \"agents\" or \"agentic,\" and stuff. And this is where the trends come in. This is a pretty popular new term these days. I think a lot of people have heard it. But it comes with a question mark next to it a lot of the time, or they hear about it.\n\nI have a feeling you guys are a little bit deeper than that when it comes to actually knowing what it is and then using it maybe and on building them and stuff. So can someone start with a high-level, like what are we even talking about here?\n\n**SWAPNIL HARIA:** So I think the right way to talk about agents is to build incrementally. So we have our static deterministic algorithms, where it's a set of sequences. You have an input. I can work through with pen and paper-- how the operations are going to happen? How the input is going to be transformed into the final output? So that's a static algorithm.\n\nNow slowly, we are seeing cases where some parts of this algorithm could be outsourced to an LLM. So for example, I could have a doorbell camera company, and I want to have a specific sound when the mailman comes just so that folks are aware that there is a package. So I could say \"if mailman in frame.\" And this \"if mailman in frame\" is being executed by an LLM and giving us the response. So we replaced some parts with some amount of nondeterminism.\n\nAnd then we go to the other end, which is the full agent, where there is no script anymore. The agent gets an input. It has some high-level understanding of how to solve the problem, but it comes up with its own set of sequence, steps dynamically on the fly.\n\nAt each point, it thinks, OK, do I need more information? Do you know a function call? Should I invoke one of these good old-fashioned static algorithms instead? And over a series of steps, it comes to an answer. But there is no script. There is no input. So there is an input and an output, but we can't manually see how it flows from the input to the final output.\n\n****MATT SIEGLER:**** That sounds a little out of control. No script? How are we going to get to our goal here? I'm a little skeptical.\n\n**RAMON MEDRANO LLAMAS:** You establish a goal and then you can see the trajectory. We call it that the agent is following. An agent could be just a singular call to a model. You just prompt an LLM with a goal, and that could be an agent. If your goal is like, calculate the inflation in the US for the last five years, that's something that you might have memorized or give you some code to run.\n\nAnd then that's it. That's a very simple kind of way to see it. And then you can go to systems that are way, way more complex. They are super untraceable. Well, not untraceable, but they are difficult to debug and trace what they are going through to achieve the goal.\n\n****MATT SIEGLER:**** So I'm getting a read here, the agents are goal-directed, perhaps have an unexplainable set of behaviors that they have to get to that goal. And you're going to give them a lot of capabilities. And I'm hoping you're going to tell me what these capabilities can be. How do we define these capabilities? Are they totally open-ended?\n\n**RAMON MEDRANO LLAMAS:** It depends. So there are tools that you can-- Swapnil mentioned some of them that you can call a tool that is built in your agent. For example, if you open gemini.google.com, there are tools that are already transparent for you.\n\nGoogle search is one. It calls the search as a tool for continuing the trajectory to a goal that is the problem that you put in there. But then you can have the agent generating code on the fly and executing it in a sandbox.\n\n**SWAPNIL HARIA:** So when you give a prompt to the LLM, what information does it have? It has a prompt. And then it has been trained to be a good large language model. So there was some amount of training data that was fed to it, and this data has been getting bigger and bigger over time.\n\nBut let's say it was trained on March 25. So at that point, its knowledge of the world is limited to what was in its training data on March 25. And if I ask it things like, OK, should I go out today for a walk, it has to figure out some dynamic information. So that's where tool calls come in, to interact with the external system, try to get more up-to-date information and be able to generate additional observations to answer the question.\n\nAnd if you just have a few different tools, maybe it knows where my location is, maybe it can figure out the weather, maybe it can see, do I like walking? Is there a good park near me? So slowly, you can see how we can add capabilities over time to give a more refined version of the answer.\n\nAnd in some cases, we might not even realize what the capabilities that are going to emerge are. So we'll give it a set of tools, but it is mostly allowed to do whatever it wants, until a set number of steps, to give us the final answer.\n\nAnd that's where some of these emergent capabilities that people talk about, where things just emerge, where it realizes that with these combinations of tool calls, it can actually give us a much better version of the answer to a question we didn't even ask. That's where it gets surprising, but also more challenging to evaluate.\n\n**STEVE MCGHEE:** So it sounds like the two categories of these tools or agent capabilities are getting at some context that wasn't in my training data. And the other one is doing stuff besides just saying words, like going out and articulating something or calling another agent, for example, would be one of those, or actually executing some code or something like that. Does that sound right?\n\n**RAMON MEDRANO LLAMAS:** You can see how there is some capabilities that are very evidently simple, like calling the weather service, or if we are in production and you have an agent that is managing production, it's reading some time series data from your Prometheus or whatever are you using, but there are others, like a world modification capabilities or capabilities with side effects, like, I don't know, if we are in production, trigger a binary rollout,\n\nSo the tools and the capabilities that you give to the agent, you need to know what you are giving it because knowing or predicting how and when they are going to be called is not that trivial.\n\n**STEVE MCGHEE:** With great power comes great responsibility.\n\n****MATT SIEGLER:**** Yeah. Is there a notion of a read-only versus a write-only agent, or how do you put boundaries or envelopes around your agents? Talk about the layers of responsibility and capability, because I presume I don't want to set it free in my organization without giving it some ACLs of some sort.\n\n**STEVE MCGHEE:** Yeah.\n\n**SWAPNIL HARIA:** So there are a few ways. So typically, at least in the agents that we build today, we don't allow them to make any kind of world modification erm, any ways to mutate the state of the world. So right actions are typically very restricted.\n\nYou see a lot of examples of coding agents. And the way these work is it's happening inside a sandbox. So you can edit any code you want inside the sandbox. You can run any tests. So you're modifying the state of the world, but only inside a sandbox.\n\nAnd anytime you have to break the sandbox solution, if I want to make, let's say, write a request to a spanner database or to a database, you have to enforce some additional checks. In our case, we try to get human permission before it does anything. So it will recommend that you do this, or it will say, can I go ahead and make this call? And there'll be a yes or no option.\n\nIn some cases, you'll say, can I see some additional rationale for why you want to make this action? But you need to have additional guardrails in place for some of the write actions, as we call it.\n\n**RAMON MEDRANO LLAMAS:** Now, this is a common pattern that you see it in tools that are, for example in Claude code, that is a CLI to do coding in your computer and your workstation. It has some safety parameters as well.\n\nSo I think the agents that we are seeing both in large production deployments, like in your workstation or in things like the Gemini app or in ChatGPT and these things, do you see how these differentiation between that we are only accessing data for reading and trying to execute an action, like booking you a restaurant or whatever? And there are still a lot of human approvals for all of them.\n\n**STEVE MCGHEE:** Well, let's move into production in SRE spaces. So now that we have a basic idea of this model and this way of working, which I appreciate, I think that was really well done, what do we do with it? As SREs and people tending production, how do we take these generic ideas and capabilities and apply them to making a more robust and reliable system? What have you seen work so far?\n\n**RAMON MEDRANO LLAMAS:** One thing that we have seen that works really, really well across the board is what is called one shot summaries, or one shot responses. So you, in production, give the agent access to many data sources, which is nontrivial because in an enterprise, integration of data access is not an easy feat because of permissions or different schemas, different things and so on.\n\nBut let's say that you give the agent, like a bunch of access to your Prometheus data. You have access to your logs. You have access to your things. It can summarize the situation really well for you, for example. We have seen that working really, really, really easy. So when you get an alert, for example, it's going to-- you have an attachment that is “A”. So the situation of the world is like that. So you have this correlation or that.\n\nSo for example, in the case of troubleshooting, it saves you all the 5/10 minutes at the beginning to get the situational awareness of, OK, what's this alert and what is happening, kind of thing. You get that done. You need to do the troubleshooting yourself. But I think that works really well. All the things that we have seen that were good, and they are starting to show a lot of promise and reasoning on top of that.\n\n**SWAPNIL HARIA:** So it's helpful to think of different LLM capabilities and see how we can apply them to the SRE use case. So the easiest Ramon mentioned was summarization. When the alert happens, there is so much information that, at least at Google, an engineer has access to, so things like, how many incoming requests were coming into the system, how many outgoing requests were going out, are there any outages above my service or downstream, below my service?\n\nThere are thousands of lines of server logs that you have to go through, thousands of lines per minute or per second in some cases. So there's a whole lot of information surrounding an alert. And just processing them is quite difficult, usually as a junior on-caller at least. You have to quickly parse out what is useful, what's not useful.\n\nSo this is one way in which an LLM can help, where it's summarizing all of it and weeding out the wheat from the chaff in some ways, keeping the important bits, removing all of the extraneous information. So that's one. Then slowly, you can get into more advanced things.\n\nIf you have a lot of server log lines, there might be an error hidden inside somewhere that looks a little bit like your outage error message. How can it find that quickly? So Gemini has or chat models now have access to large context windows. So you can dump a lot of information in there and say, OK, do you see anything that resembles the error message I'm seeing? So you can use it to find a needle in a haystack if you wanted to.\n\nAnd then lastly, Ramon said, reasoning. That's where we are trying to build more advanced intelligence in some ways, or at least leverage that. So if you look at the SRE, they are doing two things. They are trying to gather clues from all of these diagnostic systems, and they are coming up with hypotheses.\n\nThe LLM can do that for you. It can look at these systems. It can figure out, here's a playbook of how SRE would have diagnosed this issue. I can repeat a lot of the steps. If you're looking at, what is the upstream error message looking like? Is there a spike in QPS somewhere in the system? Am I seeing that there was a binary released in one of my dependencies?\n\nIt can take all of this information, do a little bit of debugging, surface them as higher-level insights, and then the human can quickly make sense of them. And in this case, we saved a bunch of time because the human didn't have to click through 15 screens trying to find the right log messages. They didn't have to add 16 filters to narrow down to the right cell in the right region, for the right service, in the right environment and so on. So it does a lot of the legwork of debugging for you.\n\n****MATT SIEGLER:**** It saved you a bunch of clicks, I get this. Do you have a particular implementation or launch that you'd like to talk about that you feel really great about sharing, that you can share that uses an agent that does save a lot of production time, a lot of toil, that you think is specifically demonstrative of how agents can save SRE effort or automate it out or amplify-- I think \"amplify\" is the right word here, what you're saying-- using the intelligence of humans to greater effort? I think that would really illustrate what you're talking about well, as well as in a risk-averse way.\n\n**SWAPNIL HARIA:** So we have alerts firing all the time at Google. An alert, it looks at an error condition. So if your QPS is above a certain threshold, maybe you're returning too many errors to your clients, those are error conditions. And if they stay for some amount of time, an alert gets triggered automatically at Google.\n\nSo when the alert gets triggered, we have some use cases where the agent steps in first. By the time the human gets to their desk, which is typically three or four minutes, or they are context-switching away from working on something else, the agent has already done a lot of the common steps that the on-caller would have done.\n\nSo for example, was there a release recently? Is the new release showing a higher error rate than the old release? So things like that, it can quickly weed out a lot of the common mitigations. And it can either say, hey, look I found, the underlying root cause. Or it can say, OK, I didn't find the root cause, but I have ruled out these 16 things. So now you can actually go and see what is really the issue there.\n\nAnd in doing this, we have seen that it can save a lot of human time, when they get to that incident of trying to figure out, OK, how do I find the right context for this alert? How do I find the right mitigation or root cause? And it's still giving them a lot of agency because we are showing them what the agent has done.\n\nAnd they have to make the call, OK, this looks right. Here's the agent supporting evidence for that. And if it looks right, here's how I can apply the changes directly. So that's the process in which we are using agents right now.\n\n**RAMON MEDRANO LLAMAS:** We are speaking about saving a few minutes of time and so on for the responder and so on. But what matters is that when you have an alert, you have an SLO or an SLA that is under the threshold or whatever it is. That typically means that some service is bleeding out some reliability. And some users are affected, whatever that is.\n\nLike, in a company, there is a revenue impact. There is some whatever that is, financial or a reputational or whatever, it's shortening these minutes. But what matters is that this impact goes away in the sense of, yes, you are going to have to have humans at the end of the day looking at what happened and so on, probably.\n\nThe agent is going to give you just the mitigation action that you can take, and then the root cause is something that you need to analyze and fix later. But this reduces the amount of time that your service is not available for your users, which is really, really what it's about, especially when you are running a very large service like search or Gmail or whatever it is.\n\n****MATT SIEGLER:**** We do talk a lot about anomaly detection and the improvements that AI has been giving our responders. They're real. And the interventions are still at the human level. But that the feedback that we're getting is faster and faster in that the dashboards that we're using are more informative and less toil-y.\n\nAnd I think what you're saying is the agents can take more action to go retrieve this information, consolidate it, make it more concise, and make it more actionable to me as the on-caller. And that's a wonderful thing that I want to have every day.\n\nFine. We have these agents. How are you actually deploying, testing, and finding out that they're doing those things correctly? Because I think that sounds like a dream. Does it work? And how do we test that? And what are we testing it against? Because this is against something else. This isn't just something you make, and then we go, that's great. Thanks. Good day. What's our A/B here?\n\n**STEVE MCGHEE:** Works on my machine, right.\n\n**RAMON MEDRANO LLAMAS:** That's the golden question, literally, right, how to evaluate these things? I think the evaluation of these new paradigms like services that they are not deterministic in a way. It's very hard for two reasons. So the first thing I want to say is something that Swapnil said at the beginning, that is, when you are doing a development agent, like for coding, for Cursor this kind of stuff, you have a sandbox.\n\nYou don't need-- you need to evaluate, but you have the luxury of being at the, I call it, the left-hand side of the development cycle because you spin a sandbox, worst-case scenario is like, just compile your application with the CL or the patch that is producing. And that's the test. If it compiles, passes the unit test, you have an evaluation there.\n\nWhen you are on the right-hand side in production and you have agents that they might take actions in production, there is no-- production is not a sandbox. And if you decide like, hey, this agent is going to drain every single cluster or every single data center or whatever you are deploying right in one go, because this is what it is, it's gonna go for it.\n\nSo I think the evaluation there is something that we are being very, very conservative in the sense of there is all the safety. But there is as well how we measure that the agent is producing like recommendations or insights that they are correct. So there, we have techniques. There are techniques like sandboxing. There are techniques like having golden data. And there are techniques like using human feedback for this. Swapnil knows this very much, better than me.\n\n**SWAPNIL HARIA:** So there was a paper in 2021 with a very provocative title. It was called \"Everyone Wants to Build Models. No One Wants to Clean Data.\" And I think that's very much applicable today because, like you said, writing some prompts and having something that kind of works for a demo is very easy. But then showing it that it works reliably 90% of the time is very hard.\n\nAnd the problem with, at least, internally at Google is for production use cases or outages, we don't have a lot of good-quality data of what actually happened. So we might have 1,000 incidents per day. But in 99% of these cases, we don't have any idea of what the on-call actually did to fix the issue.\n\nWe don't have good documentation. We don't have good workflows. And what we want is we want to figure out what the human did because that's the right benchmark for the agent. But there is a lot of work that happens at the beginning of these projects where we figure out what is the right evaluation set.\n\nSo in our case, we had a bunch of alerts, and we had the right labels for each of them. So the label was something like, we rolled back the binary. We upsized the cell. We took some emergency quotas. We throttled the user, things like that. These are golden labels that you can have. And for each incident, we need to find out what was the actual action that fixed the issue.\n\nWe get a set of that. And then we make sure that the agent is evaluated against that. So the agent's output is checked with the actual labels. Now, this is easier said than done because the real-world data that the agent is looking at, dashboards and things like that, often gets lost over time. It might be retained for, let's say, 20 days, 30 days. But beyond a certain point, you lose access to that old data.\n\nI no longer know what the log said 30 days ago. How do you keep evaluating in that sense? So you need to keep generating a large quantity of golden data to make sure that the agent is continuously being tested. And you have ways to close the loop here.\n\nSo we mentioned that the agent gives you some preliminary recommendations, and the on-caller then makes the final call saying, OK, this is what I need to do. We could easily add a step where they record that final step so that the agent knows it, too. And we can have a feedback loop so that the agent can improve over time.\n\nBut that second part, of getting the golden data, what did the human actually do for an outage, or for whatever your use case was, what's the perfect response for a given question? Getting that is very difficult. And in often cases, it has other problems like retention of data and other stuff associated with it.\n\n**STEVE MCGHEE:** So we went over how these agentic systems can be useful for production in general. And before that, we talked about what are these capabilities that an agent might do. We talked about tools and reaching out and doing things and stuff like that.\n\nBut now I want to go into a little bit deeper as to how to combine these things. So my guess is that you don't just write a prompt that's like, you are an SRE. What would you do in this situation? Context dump. Here's 20 gigabytes of logs. What is the process that you guys have actually gone through or you've actually--\n\nAnd the other half of this, which, I think, this is a joke to tell a story is like, I'm guessing you're not training new models. You're not starting from scratch. So what's that thing in the middle? What is it that you're doing where it's not just like a paragraph of simple prompt, and it's not, like, 20 years of developing models?\n\nWhat's the thing in the middle that you're doing? What's the complexity that you guys are actually building out? Just walk us through some of that. How would you actually go about doing it?\n\n**SWAPNIL HARIA:** So it's important to start with the end in mind. So for example, the first step in any of these agent-building workflows is to have something called a golden data set. It has the input. So it might be things, what could users ask the agent, and it has a perfect output or a good enough output for that use case.\n\nSo let's assume we are building an agent that can answer health insurance questions. So you would have some common things about, is my health insurance valid if I go outside the country? So that would be one of the questions. And then the answer would be whatever the appropriate response was for that. So you start with that, even before you have any agents of any kind.\n\n**STEVE MCGHEE:** So this is labeled reinforcement learning-type stuff where you have--\n\n**SWAPNIL HARIA:** Similar. labels.\n\n**STEVE MCGHEE:** \"This is a duck. This is not a duck\" kind of thing.\n\n**SWAPNIL HARIA:** Exactly. But it's slightly more nuanced because it's not a yes or no thing. The output is actually a large paragraph in many cases. So evaluating whether your large paragraph is equal to my large paragraph of some other agent-generated stuff is not an easy problem. But let's not solve that right now.\n\nSo then the first thing to do is, as a human, how would I go about answering this question? In the production use case, if I get an alert, what are the tools that I use? What are the dashboards I look at to try to debug this? Because the LLM is not magic. If we don't give it the right context, it's not going to give us anything useful.\n\nSo we start from there. When we have the evaluation set, we figure out, OK, these are the three or four tools I need to get a rough understanding of the system. Let me teach the LLM how to use that. Let's see how the answers come back. Now I compare this with my ideal response, and I slowly try to remove the variance over time.\n\n**STEVE MCGHEE:** And is there a name for that process that you just described? Is that HLF or RLHF or one of those letters? Is that the same thing, or is that something else?\n\n**SWAPNIL HARIA:** So what you said is one of the techniques. The overall objective is called hill climbing, because you can think of it as trying to get to a local maxima. So iterative hill climbing is an umbrella term for this. And RLHF, Reinforcement Learning through Human Feedback, is a technique that you could use.\n\n**STEVE MCGHEE:** So this is not training a new model. This is taking an existing LLM, and then you're refining it or distilling it-- is that another word that you guys use? That's a different word?\n\n**RAMON MEDRANO LLAMAS:** That's a different word. So distilling s getting a model that is very large like Gemini Pro, blah, blah, blah--\n\n**STEVE MCGHEE:** Oh, I see, small.\n\n**RAMON MEDRANO LLAMAS:** --and then making something smaller. So it's not going to have the same quality but might retain 90% of the quality in half the size kind of stuff. So we just use the context. What we do is in context learning. So when we are creating is the context for the prompt, it might be a loop of multiple prompts to the same model with different information.\n\nBut the models that we use is Gemini vanilla. You would be laughing at the beginning, but the first prompt that we had, it was like, you are an experienced Google SRE that is doing blah, blah, blah.\n\n**STEVE MCGHEE:** You've got to start somewhere.\n\n****MATT SIEGLER:**** Wow. Yes, it's like an adventure game.\n\n**STEVE MCGHEE:** Yeah. It's fun. Go north. Yeah.\n\n**RAMON MEDRANO LLAMAS:** That's what our tool is called. And then another resource that is very interesting because the things that we learn on the way is that getting the golden data for starting is relatively-- it's not hard. It's just tedious because you need people to help you.\n\nSo we were asking colleagues across the company. It's like, hey, so we need these. For this other time that we are working on, we need a data set to test. So can you fill in this spreadsheet? And people go like that. But I wanted to do AI.\n\n****MATT SIEGLER:**** People love spreadsheets.\n\n**RAMON MEDRANO LLAMAS:** Yes. No, I'm not. So that's for starting up. Then I think once you have some corpus and you have an idea that is running, I think there are ways to get online feedback. So you get feedback from the users and then from the alerts themselves. You can see-- one comparison is easy.\n\nIt's like the agent recommended you to do whatever training your data center or whatever, I don't know, some mitigation. And then the actual response that was taken after the fact, it was the same. So we know, for example, this is a good match there. So when there's mismatches, you can compare to say like, oh, the agent said to do some work or something and then the person that was leading the response did something different.\n\n**STEVE MCGHEE:** So let me see if I get this right. You have the idea of the training-- not the training of the model but the reinforcement feedback, learning some of those letters around a historical knowledge base of people who encountered these problems. They took these steps. So we're building up some context here.\n\nAnd then I think what you're saying also is that once the first version of this is running, or once an early version of this is running, it can then also see its own actions, and that's impact as well. So like, I chose to drain the offending or rollback the offending binary. That was bad. And lo and behold, the error rates dropped back down to normal. Does that go into another feedback loop of some kind, or is that beyond what we're talking about?\n\n**SWAPNIL HARIA:** So this is related to what Ramon was saying earlier about. You could do this for sandboxed agents, so things like coding agents where you can actually test it out. But in production, I'm not sure if you want to let your rookie agent train a cell to see if that was the right hypothesis. So that loop breaks down. And that's why we have to do it artificially after the fact.\n\nSo what we do is we get the responses at the time of the incident from the agent. And at Google, we have this culture of writing postmortems for large incidents. Now, they are written in a specific format. We have to do the hard work of converting it from this human readable format, which is very verbose, to a format that we can easily compare the agent's output, which would be, this was the exact mitigation.\n\nSo you have to take those two pieces of information and see, did the agent get it right, or did it miss some step? If it missed a step, did it call a tool wrong? Did it interpret the output of a tool wrongly? Or in fact, in some cases, did it not have the right tool to call? And there are a lot of different error scenarios here.\n\nSo in one example that we often quote is there were a bunch of tools that our production agent had access to. And all of them were returning dates in different time zones. So one of them would say the alert happened in UTC time. The other would say in Mountain time.\n\nAnd this was well known for humans who are used to these things, but it was not obvious to the agent. So we have a specific line in there where we say, OK, all the time zones are in Mountain View time zone, which is the headquarters for Google, and we made sure we had wrappers around each of our systems so that they would always return things in Mountain View time zone.\n\n****MATT SIEGLER:**** So there's a working theory that postmortems are the most nutritional ingredient to a healthy SRE culture. And I think you've just proven that to be the case through technology. And I really appreciate that.\n\n**SWAPNIL HARIA:** I'm sure others have proven it before me.\n\n****MATT SIEGLER:**** But you did it through an actual experiment. And I really think that's a wonderful outcome here.\n\n**RAMON MEDRANO LLAMAS:** It's this super great training data because adjusting or golden data for two reasons. It's not only that you have the response of, this is the mitigation that we had. You have the trajectory of the person, typically in postmortems. And you can see them in the SRE book, the people that are listening. We have example postmortems. And you have what is called the timeline.\n\nSo you have all the steps that the person took. So when we are inspecting the agent output, what we're seeing is exactly that timeline but produced by one of the agents. So you can see, I'm calling this tool, and I got this data. This is a red herring. And calling this other tool and running this other data. So this is promising. Let me follow that.\n\nWhich is what you see when we are responding to an incident. One of these larger incidents is where you have a chat for the response and all these things. You see in a trajectory that is like a human trajectory for doing what the agent does that we reflect in a postmortem.\n\nBut this is fantastic because this is-- one piece of data that we need is not only the action that was taken at the end. So the correct mitigation action is X, like it's raining or whatever. But the trajectory of steps, that's something very important. I think that something is containing the postmortems all the way.\n\n****MATT SIEGLER:**** Have you ever proposed improvements to postmortems from ad hoc? Was it post hoc analysis of work that you can derive from things you've seen?\n\n**RAMON MEDRANO LLAMAS:** Format. For example, the format. The format of the postmortem is something that we can do. The open formats, we have many postmortems in Google Docs and so on. It's difficult to mine for reducing agents.\n\nAnd then there are all sorts of-- one thing that we discovered working on this is that the majority of the work that you are putting together for working in AI is not in AI. It's integrating different tools, different data access, accessing different postmortems in different formats for different teams that there might be old, for example, postmortems from last year.\n\nIt takes a while to curate and process all of these. So for example, just formatting the postmortem in human and machine readable format. So they are all the same. That gets you like a head.\n\n****MATT SIEGLER:**** Thank you.\n\n**SWAPNIL HARIA:** We are trying to build a common language of sorts for some of these mitigations. So we have a taxonomy. So for example, if I ask you, what are some common production mitigations that you would take? You would roll back a binary. You would add resources and so on, run rollback experiments of some kinds.\n\nNow, the thing is, we want to build a common taxonomy of mitigation so that when the agent says, do this, all of us, regardless of what product we are working on, we know what that action is. And it turns out one of the problems that we faced is that a lot of different teams have different words for the same thing.\n\nSo in our initial version of our taxonomy, we had \"escalate,\" which would mean that you go to a different service because some other service is returning you an error, so you escalate it to their on-caller. But the incident reporting system we had at Google used \"escalate\" for a very specific reason.\n\nSo when we actually tried to expand the usage of this taxonomy, they said, OK, hey, no, this doesn't work at all, because some people thought that they need to increase the severity of this incident. So we had to move to \"delegate.\"\n\nSame with \"experiments,\" different teams consider \"experiments\" to be different things. So when we say \"roll back an experiment,\" they might understand it differently. But we need this common language to be there in all of the postmortem so that the agent, which is the same across these teams, can improve consistently.\n\n**RAMON MEDRANO LLAMAS:** There is a nice publication that is called Generic Mitigations that we made public. I think it was like a few years ago. It already has 20 of them. So I recommend people to read that because this is what we are referring to.\n\n**STEVE MCGHEE:** Yeah, actually one of the first episodes of the Prodcast was with Jennifer Macy, and she talked about exactly this. So we can definitely cite that one in the show notes as well. I have a side question. We've been talking about the bad day, the incident day, and response, and all this kind of stuff.\n\nWhat about the other days? Can we do something with agents that helps my daily work when I'm not panicking or when I'm not helping people who might be panicking, something like that? What do you think?\n\n**RAMON MEDRANO LLAMAS:** So we are looking into two places that the agents help, because luckily, the incident day is not every day. So it's actually the minority of the days. When it's stressful and you need to be prepared for that, and it's as well the evident-- it was for us, at least, it was an evident case at the beginning. It was like, OK, let's solve this one.\n\nBut there are two more things that are very interesting that we are looking at that day in general. One is your companion for doing things. In 98% of the time that you don't have an incident, you still have to touch production because you need to do your rollout. You need to observe performance regression. You need to do whatever. You need to move one service from one cluster that you have in some region to another.\n\nAgents can help with that, because at the end of the day, the tools that we use when we are responding to an incident and the tools that we would use in this case are the same. But it's like, you need to apply a drain. You just call the capacity tool or whatever, kubectl, that you are using for the day. And it's essentially the same thing.\n\nAnd the other is, the best time to mitigate an incident is 0. So it's preventing the incidents from happening. And there is also-- it's more complicated because there is all sorts of risk prevention that we can have. So there are things that we know that are bad.\n\nFor example, one thing that is very common, and we have spoken about them in the books and so on, is that many outages are driven by change. So they are policies and they are best practices around many different places, not only Google. But you do changes progressively, do changes incrementally by your different geographical locations or these kinds of policies.\n\nSo many times these policies are not enforced because you need to remember to put it in your configuration or whatever or your service configuration drifts over time. So agents might help us enforcing and discovering these spots where there are risks that we don't know about, dependencies, a service that has five 9s of SLO depending on one service that has two, because someone started sending some RPCs, or whatever it is. So discovering these kinds of things can help in detecting things before they manifest into an incident.\n\n**SWAPNIL HARIA:** Let me give you an example of this. So at Google, we build planet-scale systems. That means we have access to a lot of sophisticated techniques for caching, admission control. And we have all kinds of libraries and utilities that we use internally.\n\nThey offer a lot of different control knobs for different things because they have to handle all kinds of cases. And there might be cases-- let's say you have a service that you are trying to add a caching layer on top of or admission control. Now, with admission control, there are many ways to do it right. There is FIFO. There is first in first out, last in first out, and other variants thereof.\n\nIf you decide on one of these strategies and if at this point, the QPS that you are getting from your customers is something that would break your SLOs because of this service, that is something that the agent could flag because it has access to the dashboards. It knows what QPS you are seeing. It has access to other dashboards of the other teams around you, and it knows what their admission control looks like.\n\nSo even before you make that change-- so when you send that change out for review, it can step in and say, hey, look, you've configured the admission control in this way, but I don't think that's the right idea, based on what I see. So that's one example of how it can step in before you do something that will cause an outage.\n\n**STEVE MCGHEE:** Cool. Well, I'm afraid we're running out of time. So I have one-- this is called the lightning round. So each of you gets to answer two questions, but you have to just answer just those two questions. So we're going to say like, let's see, number one is going to be, what do you think we should not be using LLMs and AI for in production today? What's a bad idea?\n\nAnd then number two is, what do you want to work on next? What's the next big thing that-- let's say you're just done. It's a year from now or something like that. What's the next big thing you want to take a bite out of?\n\n**RAMON MEDRANO LLAMAS:** I'll start. One thing I would not use LLMs for is for when you can use a regular expression for things.\n\n**STEVE MCGHEE:** Solve problems.\n\n**RAMON MEDRANO LLAMAS:** I've seen people-- yes. So I have seen it-- I want to extract this integer from all these texts and so on. Let me prompt Gemini for getting that integer. It's like, no need for that. That's fair. This is just a joke, but there are some cases where the classic statistical methods or very small specialist models for doing certain things, like anomaly detection of a time series.\n\nIt's a much better-suited model. They're faster, cheaper, and more reliable. So I think we need to balance using the LLMs for what they are good for and other techniques for what they are better-suited.\n\n****MATT SIEGLER:**** So you're saying math still has value, even today?\n\n**RAMON MEDRANO LLAMAS:** Yes, math is still not deprecated.\n\n**STEVE MCGHEE:** Actual operators.\n\n****MATT SIEGLER:**** Really happy to hear that. Thank you.\n\n**RAMON MEDRANO LLAMAS:** Yes. What I would like to work next I think is the-- so how is the autonomy of these agents is something that is incremental. So we are going to see levels of autonomy going on. So I think we are at the beginning of this because all the agents that we have and the agents that I have seen around, they always require a human verification before going and execute some actions.\n\nSo I think one thing that I want to explore is like, how could be the conditions or what we should be having in production for leaving the agents to do things automatically? So how we could, for example, recover from an agent breaking some stuff or the agent recover itself and these kind of things? I think that's going to be a very large challenge, particularly in the production space.\n\n**STEVE MCGHEE:** Swapnil, what do you think?\n\n**SWAPNIL HARIA:** So I think one thing I would not like to see LLMs used for is insulating humans from challenging situations. So I'll give you the example of production outages. We are building agents that help out, but we don't want it to work in a way where humans don't know what is actually going on.\n\nBecause as engineers, that's how we learn over time. Our designs get better because we've gone through these outages. So we don't want it to be the case that it's completely offloaded to an agent and we have no idea that an outage even happened because the agent took care of it for us, because in that way, we'll never learn. So that reinforcement loop is broken for the humans itself. So that's one thing I wouldn't like to see LLMs being used for.\n\n**STEVE MCGHEE:** Well, I'll throw it out there. There's a famous paper called The Ironies of Automation, where the more you automate a thing, the worse you get at it. You have to depend on that automation. So when it doesn't work, then you're in trouble. Yeah, so we don't want to break that loop. I'm totally with you. What's next?\n\n**SWAPNIL HARIA:** I think so we are still deep-- there's a lot of problems to solve in building production-scale agents out there. But one of the things I'm often interested in is interaction models. Right now, we are talking about embedding AI in all kinds of things. But if you look at the interaction models, they are still very limited.\n\nIt's mostly a chatbot which comes in many forms. Or you click somewhere and you get some output and you can't answer back to the agent. But I suspect as we get more familiar with these systems, there might be a lot of other potential use cases that emerge just because we've changed the interaction models.\n\nSo it's interesting to see where we could take this, because at this point, I'm not an LLM expert. So I have very little control of how the models emerge over time. But I think the models are good enough. And the thing we are lacking at is improving the communication between humans and LLMs, which is where the interaction model comes in.\n\n**STEVE MCGHEE:** Nice. Well, that was a very great discussion. Thank you so much. We could definitely keep going, I have a feeling, on and on about this kind of stuff. Matt, any closing thoughts?\n\n****MATT SIEGLER:**** Yeah, agents are the new software. I had no idea. This is it. They're going to do it. They're like the composite thing. I had no idea this is what we were going to be doing, but we're going to be doing them.\n\n**RAMON MEDRANO LLAMAS:** I was reading today one thing that is like an AI is something that computers are not good at. But then when it gets good at, like we call it software. So I think in a few years, we'll call all of this software, and we are done.\n\n**STEVE MCGHEE:** Just another flavor of software. Well, thanks very much, guys. It's been a blast. So long.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee and Matt Siegler, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 47300, "slov": 8733, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-09", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:58", "sha256": "226b2ee460678004a5bbc539a8ed6737e465c43aa8e55336d3d6cb4563c7c5df", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-10", "titulek": "The One with Ben Good and Our Kubernetes Friends", "h1": "The One with Ben Good and Our Kubernetes Friends", "popis": "In this special episode hosts Steve McGhee from the Google SRE Prodcast and Kaslin Fields from the Google Kubernetes Podcast, welcome Google Cloud Solutions Architect Ben Good to discuss platform engineering. Listeners can look forward to hearing about the role of Kubernetes as a tool for building platforms, how to create ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-10/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Ben Good and Our Kubernetes Friends"}], "markdown": "# The One with Ben Good and Our Kubernetes Friends\n\nIn this special episode hosts Steve McGhee from the Google SRE Prodcast and Kaslin Fields from the Google Kubernetes Podcast, welcome Google Cloud Solutions Architect Ben Good to discuss platform engineering. Listeners can look forward to hearing about the role of Kubernetes as a tool for building platforms, how to create \"golden paths\" for developers, and the importance of observability and self-service in platform design. The conversation also touches on industry trends, the bespoke nature of platforms, and how DORA metrics can be applied to platform engineering practices.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hello.\n\n**KASLIN FIELDS:** Hello. I'm very excited for this very special episode, Steve. **[LAUGHS]**\n\n**STEVE MCGHEE:** This is a very special episode. We're kind of double dipping here. This is great. So we're going to do one amount of work for two amounts of output, which is, I think, fantastic.\n\n**[LAUGHS]**\n\nSo I'm Steve, and I'm pretty sure you're Kaslin. And--\n\n**KASLIN FIELDS:** Yeah, maybe we should introduce ourselves since folks may not know us. Yeah.\n\n**STEVE MCGHEE:** That's a good point. That's a good point. We have two sets of audiences, half of each don't know what's going on. So this is perfect. Why don't you go first, Kaslin? Who are you?\n\n**KASLIN FIELDS:** All right. Hello, everyone who listens to the prodcast and maybe doesn't listen to the Kubernetes Podcast regularly or if you're just tuning in, wherever you may be listening from. I'm one of the co-hosts of the Kubernetes Podcast from Google. And I do all sorts of things Kubernetes, cloud native, containery related.\n\nAnd I'm excited about our episode today to talk about platform engineering, which we'll get to in a minute. But first, Steve.\n\n**STEVE MCGHEE:** Yeah, who am I? I'm Steve McGhee. I was an SRE for a long time, and I'm in DevRel now, which means I get to talk on podcasts and stuff about reliability and SRE-ing, but also other things that are related. So I was on a team with Ben, actually, our guest on a DevOps-focused team, and we kind of went into the platform space.\n\nAnd I host The Prodcast, which is a podcast you should definitely subscribe to, if you're a regular Kubernetes Podcast listener. You should probably subscribe to both all the time for the rest of your life. That seems like a good idea.\n\n**KASLIN FIELDS:** Definitely, yes.\n\n**STEVE MCGHEE:** But there's a pretty good amount of overlap, I'd say, in the kind of reliability space and the platform space and the Kubernetes space. So as you'll hear today, I think we're going to talk about one of my favorite Kelsey Hightower lines is Kubernetes being a platform for platforms. And here we have someone talking about platforms. It's going to be great.\n\nSo dearest guest, Mr. Good, would you please introduce yourself? Who the heck are you?\n\n**BEN GOOD:** Yeah, happy to. My name is Ben Good. I don't host a podcast.\n\n**STEVE MCGHEE:** Oh.\n\n**BEN GOOD:** I feel really left out right now.\n\n**[LAUGHTER]**\n\nI might have to change that in the future. So we'll see how this goes. But I'm a Cloud Solutions Architect for Google, which is a fancy way of saying that I take the different Google products and not Google products and smash them together into solutions that hopefully solve customer problems and make things easier for everyone trying to do things in the cloud. I've been doing that for, oh, quite a few years at this point. I lose track and have to do math. But--\n\n**STEVE MCGHEE:** No need, no need.\n\n**BEN GOOD:** Lots of fun stuff. And I've been doing platform engineering of late or, actually, for quite some time, actually, for now at this point.\n\n**STEVE MCGHEE:** You've been doing it-- you've actually been doing it the whole time, Ben. It's amazing.\n\n**BEN GOOD:** Yeah, that's--\n\n**STEVE MCGHEE:** Who knew?\n\n**BEN GOOD:** Prior to Google, I did operations for startups and then a few different startups in the Denver, Boulder area where I'm located. And I was doing platform engineering back then. And we just didn't call it platform engineering. When DevOps started to be a thing, it was DevOps. And now, it's called platform engineering but with a slightly different take.\n\nSo I've been doing it for a while. I just didn't necessarily call it that or realize that's what was happening.\n\n**KASLIN FIELDS:** I'm really excited to dive into this. Forget about the podcast stuff. This is what we're here for. So let's talk about platform engineering and Kubernetes. That famous Kelsey Hightower quote that you were mentioning, Steve, Kubernetes is a platform for building platforms. Is that true, Ben?\n\n**BEN GOOD:** I think Kubernetes—\n\nIs Kubernetes all you need to build platforms? Granted, Kelsey didn't say it was the only thing you need, but-- **[LAUGHS]**\n\n**BEN GOOD:** It is definitely a tool in the tool kit, and it's a big one when it comes down to it. Kubernetes provides a lot of different constructs and capabilities that make it a whole lot easier to build platforms. So in my opinion, it is one of the tools in the toolbox to build a platform and make it successful. But it's not the one and the only thing.\n\nWay back when, when I said I was doing platform engineering before it was called platform engineering, there was a company I worked for, built would have been called a portal in today's language. But it was a way that other engineers in the team could go and spin up VMs that were in the platform or databases that were in the platform.\n\nWhen we containerized and went to Kubernetes, a lot of that stuff became so much easier and went away because the container abstracted away the VM-ness of things. So Kubernetes is super helpful, but it's not the only thing that you need to make a platform, in my two cents.\n\n**KASLIN FIELDS:** So I'd love to know more about what else goes into it these days. I know, last year, two years ago, when was it that we were all excited about Backstage as a tool for-- when I think about platform engineering, I'm imagining teams at various companies who are taking the underlying infrastructure and making it something that developers and other technologists throughout the organization can consume.\n\nSo what does that look like for you today? So Kubernetes is the base of managing the underlying compute infrastructure. But there's so many other types of infrastructure that you have to deal with. And then you have to deal with also how are people interacting with all of that. So what kinds of tools are you using to make that happen? And does that describe what you do? **[LAUGHS]**\n\n**BEN GOOD:** Yeah. No, that's perfectly it. That's a very good description of what it is. So the way I think about it is when you're doing platform engineering, you're taking the underlying technology, like you say, Kubernetes for compute, maybe managed databases for your database infrastructure, maybe self-managed databases. All the things that you need to make your applications run and run at scale, those are the things that you're building interfaces to and you're applying automation to.\n\nAnd I really think that platform engineering is the process that you go through to glue all that stuff together. So from a technology standpoint, you're seeing lots of this typical-- a lot of Bash and a lot of scripting and a lot of Terraform and a lot of YAML. And it's all stuck together with some sort of automation tool in the background to run it and orchestrate it. And then that interface is fungible.\n\nI've recently been working on a project where the interface is a document in Firestore. It's not a fancy UI. It's... write a document in the proper document format in the Firestore. And then automation kicks off, and magic happens. And then that is the interface to it. You can get more advanced or user-friendly with a tool like Backstage. But it doesn't have to be that. It's just got to be some sort of well-defined interface.\n\nAnd that's really what it comes down to. And that needs to be easy for your users or your engineers to adopt and make use of.\n\n**STEVE MCGHEE:** Yeah, there's a phrase-- I know it goes around with platform engineering, which is the idea of golden paths, which is if you're going to do this thing, if you're going to go down this road, don't just wander through the wilderness because there's a lot of branches you can get caught on. There's a lot of dark corners where bad things happen. You can fall into a well or something. I don't know where this is going.\n\nBut the idea is, if instead someone has already taken that path for you and has laid some bricks behind them, saying, this is the way, just follow this thing, then you're more likely to succeed. And often, from what I've seen, is this tends to be like-- it's kind of what you were saying with whether it's a document or a portal or something like that. It's really just, at the end of the day, a form of abstraction.\n\nSo you want the developers who are like, look, I just want to get to the end of this road so I can write my code. Don't make me learn about the entire forest of infrastructure. Just get me to the point where my app is running, and it's scalable and all this stuff.\n\nAnd what you're saying is, yeah, provide a series of paths, please, in some form of abstraction. If that's a portal, great. If that's a document, great. Just something to make it a little bit easier on everyone. Does that line up with--\n\n**BEN GOOD:** Yeah, and that documentation is a good counterexample to what everyone thinks of-- was like, it's got to be super easy and WYSIWYG and all those kinds of things. No. The golden path can be as simple as a document that lays out the three, four, five steps that you have to do to accomplish a task. And that is an example of a golden path.\n\nYou can make it a whole bunch more than just documentation if you want to, but it doesn't have to. It just has to meet the engineer where they're at and the tasks that they're trying to accomplish.\n\n**KASLIN FIELDS:** And that's one place where platform engineering really gets tricky, I think, is that you've got so many different ways that you could find your way through this forest. And so one of the key things that platform engineers do within an organization is understand how different parts of the organization need to use that infrastructure.\n\nAnd I love that you gave the example of using a Firebase document as the interface for the workflow of doing whatever this thing is because I think Backstage offered a vision of a unified interface of here's how you request compute from different sources and things like that. But it can be much simpler than that, depending on the use case. Just give them a Firebase document that they can put the thing in, and it'll go. I love it.\n\n**BEN GOOD:** Yeah, exactly. And in the case of the Firebase document, you could write that through a little CLI. You could do that through Backstage. There's no reason you can't make that call via Backstage. There's millions of different ways that you could get that document into Firestore. It doesn't really matter how it happens so long as it's easy enough for the people that are trying to use that system.\n\n**KASLIN FIELDS:** Flexible but structured platform engineering.\n\n**BEN GOOD:** Well said.\n\n**STEVE MCGHEE:** It sounds like a good tagline. We should put that somewhere.\n\n**BEN GOOD:** We should.\n\n**STEVE MCGHEE:** So I have to wear my SRE hat now. Once you've gone through the phases in your platform, whatever methodology you're using, where you've abstracted away a lot of these inconvenient truths about infrastructure, you've said, don't worry about it. Just follow this path. You're good. You're basically getting the user, the developer through the provisioning stage to the initial deployment stage.\n\nBut it turns out, there's more stages. We're not done yet. And this is where I come in. This is where the SREs come in, where it's like, OK, cool. We've deployed the thing. It mostly works. What's next? What do you have to do next in terms of the life cycle? Sometimes we call this day two operations or day two whatever or just observability.\n\nWhat are all the things that you would now want to make sure that your developers have access to maybe through a portal, maybe through another method, beyond just that startup process? What happens in the operate phase of this life cycle?\n\n**KASLIN FIELDS:** Yeah. So I think if you lump all that together, you need to provide visibility into what's happening with the workloads that are running on the platform. And that takes lots of different shapes and form factors.\n\nSo if I think about the \"traditional,\" in air quotes, operations metrics, like what's my latencies? What are my failure rates? Did my deployment succeed? Those kinds of things, that's a level of visibility that you can expose back up to those engineering teams using this platform engineering concept. Make it easy for those developers and engineers to see what's happening.\n\nBut I think that there's more to it, to your point, than that. There's visibility into, is the application working in the way that the users expect it to? So are the features and functionality happening there? That's something the platform can provide up. Cost controls can come up through there, visibility into different security and compliance of regimens that they have to adhere to, those kinds of things that need to come up into the platform.\n\nAnd those are, to your point, all day two things. Great, you got the first couple releases out. You got us some users. Now, you have to keep it up and going. And the platform can provide those ways and those golden paths to make that easy to see.\n\n**STEVE MCGHEE:** Yeah. Sometimes they're referred to as nonfunctional requirements. This has nothing to do with widget selling, but you still have to do it. Sorry. The worry that teams have when they're not building the stuff through a platform is like, now that I've deployed my widget-selling device, now I have to do day two, but it's really more like day 222.\n\nIt's going to take so long to-- which regulation are we subject to? And how do you generate these artifacts for which lawyers to look at? What are you talking about? So what are some patterns that you've seen customers of ours adopt to-- how do you do this in such a way that it's like part of the platform and not just like a thing you have to do? It's like a tax on your time. How do you do this properly?\n\n**BEN GOOD:** Yeah, I think that the platform can provide those things for you. So if we go back to using Kubernetes as an example, there's things that you can do in your Kubernetes deployment around making sure that the right policies are in place, the right RBAC, all those kinds of things are in there such that when you get a namespace, that those policies just come along with it.\n\nAnd then that's an example of where you're getting those things via the platform for free. You can do those same things with metrics and observability and logging. You can plumb those up through such that the application teams can go in and see their logs without having to do any sort of extra work or magic to make that happen.\n\n**STEVE MCGHEE:** Or log in to another tool or something like that. And like, oh, I need the credentials for the logging app now. Great.\n\n**BEN GOOD:** Yeah. So it's not like those aren't super-- those are examples. Every implementation about how you go about it is a little bit different, depending on the tool, stack, and all those kinds of things. But that's what the platform can do for application teams and those other engineers is just do that for them. The term is shifting down. You might have heard that before.\n\nThose are examples of where you can shift those responsibilities down into the platform, and you just get that stuff for free because your application is running on that platform.\n\n**KASLIN FIELDS:** Observability is so important. I often hear platform engineers that I talk with when we ask for feedback on features that we're developing and things like that, one of the things that I often hear is this kind of consideration of, well, that feature is great, but when I bubble that up to my users, how am I going to make sure that they know the pieces of that that are going to keep them from spending a ton of money or running up a crazy amount of compute or something like that?\n\nI need to make sure that it's all observable and visible to them through the platform that we are building. So--\n\n**BEN GOOD:** Yeah.\n\n**STEVE MCGHEE:** Yeah, I feel like another thing that we talk about that is kind of what you're getting at, Kaslin, is like when you're developing a platform-- basically, a platform doesn't just come out of the box in perfect form, as Ben has described, has all these things. You have to develop it.\n\nAnd I think this is a basically per customer problem, like per entity like org, because every company is a little bit different and has different requirements and has different-- there are different levels of capability and just staffing even and regulation. And they're all slightly different snowflakes. And I mean that in not in the pejorative sense, but just like they're all very different from each other.\n\nSo one thing that I've heard-- and maybe, Ben, you can back me up on this-- is that whenever a team builds a platform, they tend to name it. They give it a name. And it's sort of a pet. And then they take care of it like it is-- this platform is a pet. And you love it, and you feed it. And you extend it to exactly what you need as a team because it's always going to be a little bit different. Does that line up with your experience?\n\n**BEN GOOD:** Oh, yeah, yeah. Platforms are very much bespoke things to the engineering organization that they serve because, to your point, every engineering team operates at a different skill level, a different layer in the stack. You might have different teams that are responsible for different types of infrastructure that need to come together to work on the platform together.\n\nThe one that I was lightly referencing to earlier, it was called Divine Spork. That was the name that GitHub auto-generated for me. I'm like, yeah, that's kind of fun. We're spoon-feeding, but it's kind of pokey. So it's a spork. And you get things by magically, so it's kind of divine. So that's what we called our platform at that company was Divine Spork. So yeah.\n\nThey're very much bespoke things. They have names. They have teams that rally around them. But yes, you do care. You care and feed for them and love them, and hopefully, they love you back, and all that kind of stuff. But yeah, every platform is different. And I think it's a bit of an antipattern to go and look for the platform in a box that you can just click button Install and like, woo! I have a platform. That doesn't typically happen.\n\n**STEVE MCGHEE:** Yeah, as we alluded to before, like Kubernetes being a platform for platforms. I've actually heard of Backstage being a not a portal but a system for building portals. So it's the same idea of like, it has all these knobs. Don't use them all. Don't just click Install. You got to think about what it is you're trying to get out of this.\n\nAnd I think we've said in the past, you want to-- the abstract idea of a platform is just a grouping of capabilities. And so what are the capabilities that your team wants to adopt and then deliver through this platform? Whether it's through the Kubernetes side or through the Backstage thing or through the observability suite that you have through another company or through the-- whatever.\n\nThere's a load of different things that you could be, a lot of stuff you build yourself too, right? But at the end of the day, it's the set of capabilities and the fact that they're working together in concert, hopefully, that makes it beneficial to your company.\n\n**BEN GOOD:** Yeah, very, very much so. The folks that install and are successful with Backstage, they have teams or a group of people that are modifying and building plugins for it and creating the different templates. It isn't just something that you get to install, but you build on it, that exposes those critical user journeys through the portal in a way that works. And that takes development effort and maintenance and care and love as well.\n\n**KASLIN FIELDS:** And this customization for different organizations and for different types of users within organizations, there's a term that we used in our notes in preparing for this interview, which was deployment archetypes. And I feel like all of this lends itself to that term, which I hadn't really seen before, but I kind of really like it. So is that what you all think of as deployment archetypes is making these workflows customized for the environment that they exist within and the users that they're serving?\n\n**BEN GOOD:** I think that what you want to do is you have a pattern for ways that you deploy things. And those patterns are what you end up exposing out through the platform. So those would be the archetypes. And you can largely group them like we've done with-- Steve is well aware of-- different reliability characteristics built into them.\n\nSo I have this thing of this shape and size. I need to deploy it on this type of infrastructure with this load balancer configuration, this database configuration. And that supports this shape of user across these different regions of the world or this form factor. And you provide n number of those things in the platform. And those become the archetypes, if you will.\n\nAnd those can be genericized. And we've published some documentation around those. But that's the type of thing that you want to expose out through the platform. And then making it easy to pick the right archetype or change between archetypes is a task that the platform helps you with and gets you down that journey.\n\n**STEVE MCGHEE:** So a good way to think about this for the pure Kubernetes' viewpoint-- a good way to think about this is like when you're trying to make a system more reliable and more robust, often what you do is you're like, we have one of these things. How about we have two? Just have a second one. And that's great. It's a good idea.\n\nThat's generally the method that we use to make things more robust is that we have two of them instead of one or n of them, right? But one thing that you could do naively is you're like, we have a cluster of stuff. Let's make a second cluster. Done. Stamp it out. Good to go. Ready, set, go. Except you put it in the same zone. You have two clusters that are in the same zone. And then when there's a problem in that zone, guess what?\n\nYou actually only had one. You did not have two. Too bad. Bummer. You get a bad day. So there's this idea of failure domains. And this will be familiar to a lot of SREs out in the world. But you have there the matryoshka dolls of like, you have your app, and then you have your namespace, and then you have your cluster, and then you have your zone. And then you have your region, and then you have the universe or something.\n\nAnd so failure can happen at any point along these things. And so there's this paper that came out-- I don't know-- years ago at this point called deployment archetypes, which is how to apply this understanding of failure domains to when you're doing deployments. And this is where zonal deployments versus regional deployments versus global deployments versus multi region versus multizonal versus blah, blah, blah.\n\nThere's these very abstract ideas of basically where to put your app, in which clusters, at which time. And it's too much. It's hard to understand all of it. And so what we've seen people do in the past-- and Ben has done a really good job of this with some customers that I've seen of-- is that there will just be a dropdown in the portal or in that doc or something. It's like, do you want this to be a big one or a little one?\n\nAnd under the covers, it's picking one of these. And it's making a bunch of choices for you so you don't make the wrong choice. So it's like instead of saying, just give me two clusters in the same zone, it's like, no, no, no, no. Would you like a big one or a small one? And you say a big, and it's like, OK, I'm going to give you two clusters in two different regions and not tell you about it.\n\nBut then also the deployment is going to be able to take advantage of that. And the observability is going be able to take advantage of that. And you don't even know the whole time. It just magically happens. That's the vague idea that I get. But Ben has actually done it, so I'm curious if that holds true when you hit reality.\n\n**BEN GOOD:** Oh, very much so.\n\n**STEVE MCGHEE:** Cool.\n\n**BEN GOOD:** Yeah, it definitely holds true. And the thing that you're doing with that little dropdown is you're abstracting away a lot of the super nitty-gritty detail of what cluster, what subnet, what this, what that that you might have to go and know how to do otherwise. I think, a lot of times when folks are trying to build a platform, you, like, throw a bunch of Terraform or throw a bunch of YAML at folks and say, OK, go do the thing with the YAML or the Terraform or whatever your favorite language is.\n\n**KASLIN FIELDS:** A lot of the things that we've talked about in our conversation today are kind of evergreen topics-- reliability, making sure that the systems keep working, making sure that you understand how they're working, building golden paths. But I think a lot of that has shifted recently due to industry trends. I wanted to know if you've seen any of that in your day-to-day work, Ben, if the types of golden paths that you're building these days are different and how and all of that kind of stuff? **[LAUGHS]**\n\n**BEN GOOD:** I think the underlying technology changes a little bit, but really, it's still the same thing, I think that we've been doing, just with slightly different twists or name or a change of focus on how do we do it at scale, if you will. I think the rate of change in the industry as a whole is-- it's always ever increasing, right? So I think the things that we have been doing, we just have to do more of those things and maybe with different technology, not doing something different. So--\n\n**KASLIN FIELDS:** Yeah. In the Kubernetes space, what I've seen a lot of is hardware accelerators. It's a lot of the same kinds of stuff. But now we're enabling folks to use different types of hardware than we've used in the past and for applications that are very particular about how they're using that hardware. So Kubernetes has traditionally allowed folks to-- a lot of the management of that underlying infrastructure is handled for you through Kubernetes.\n\nAnd then you add another layer on top of it, the platform, that users actually interact with to further abstract that. And now, folks want a different type of abstraction for those types of workloads that really need careful control over those underlying hardware resources. So that's where I've seen Kubernetes doing a lot of work recently to adapt to new changes. **[LAUGHS]**\n\n**BEN GOOD:** Yeah, no. That's fair. Back when Kubernetes was young and when I started using it, it was CPU and memory. Those were the things you had to be concerned with. And now, there's networking. And to your point, there's GPUs. And how do you go about getting access to those things?\n\nBut yeah, you're beginning to add more to it. But really, you're still orchestrating the access to the underlying infrastructure and providing more control than you were way back forever when. But it's the same process or the same thing you're accomplishing, just a little bit different.\n\n**STEVE MCGHEE:** I've heard that also customers will have different motivations for platforms than they used to, like in the post zero interest rate, ZIRP phenomenon. There's been a lot of consideration around cost management and cost observability and things like that. And frankly, part of the problem with a naive level way of doing these abstraction through platforms is to just hide everything. And then you get a bill, and you're like, oh, whoops, we did something.\n\nAnd so the ability to expose usage patterns and like, oh, we accidentally-- all the databases early and often, right? So you can actually see in somewhat real time your consumption of the database or whatever the expensive thing of the month is and be able to control that and make a change. So if you do a deployment that accidentally writes 10 billion times, you should be able to, as a developer, notice that and rectify that, all on your own.\n\nSo self-service is one of these things that is really, really ubiquitous in the marketing of platform engineering. But often we think of that just in terms of like, well, I want to make my service for the first time like that Greenfield step. But self-service also applies in the operational context as well. So does this come up as a motivation when customers are talking to you about platform engineering? Or am I making this all up?\n\n**BEN GOOD:** Yeah. There's some customers that approach it from a cost control perspective. Not many approach it from a self-service standpoint. I get a lot of customers that look at it from a security compliance governance perspective. And those are reasons to go about it. But that can't be the angle that you take, in my opinion.\n\nSo we can't take the angle of, well, we're going to do platform engineering to reduce costs, and we're going to begin to make our engineering teams do something to reduce costs. We want to improve compliance and governance and those things. But forcing engineering teams onto the platform doesn't typically yield the desired outcome, if you will. There's, oftentimes, reasons why that happens.\n\nOr you want to listen to those engineering teams and begin to design your platform in a way that supports those engineering teams but also accomplishes the security and compliance and governance and cost controls. And those things come along when you begin to actually do platform engineering. So the motivation can be there, but it can't necessarily be the reason that you go to engineering teams and say, we're going to do platform engineering, and you're going to use the platform because of this. That usually doesn't yield the best platform.\n\n**KASLIN FIELDS:** That opens up a whole new can of worms that we could dive into for a whole nother episode, at least, diving into security considerations, regulatory compliance issues, and working all of those into how we build platforms for specific users. But I think we've covered some really awesome stuff today with making sure that you're designing platforms to serve the users that they need to serve and that a lot of the underlying concepts are the same as they've ever been.\n\nIt's about making sure that your infrastructure is usable by the teams within the organization. And I'm excited for all of those platform engineers out there listening to do that\n\n**STEVE MCGHEE:** Another thing that we didn't get to, which I'm amazed, Ben, how did we not mention DORA? I'm even wearing the shirt under this jacket.\n\n**KASLIN FIELDS:** That's true.\n\n**STEVE MCGHEE:** So I know, we blew it. But being able to track your team's success through metrics and being able to show that these capabilities are actually making an improvement to the lives of the developers and to the business, go to dora.dev to see what that even-- what all those words mean. But delivering it through a platform is totally a good move. I believe you would agree with me on that.\n\nSide note, Ben and I work on the platform engineering chapter of the DORA survey every year, so I know he agrees with me.\n\n**BEN GOOD:** It's a lot of fun. I definitely agree. A fun thing to think about from a DORA perspective in your platform engineering endeavors is using DORA metrics to understand your feature velocity and your application development practices but also your platform engineering practices and your platform velocity, which I think is a fun thing to think about.\n\n**STEVE MCGHEE:** Yeah, platforms are software, too. Well--\n\n**BEN GOOD:** That's right.\n\n**STEVE MCGHEE:** --thank you, Ben. we'd love to have you back either on each of our episodes or maybe another double episode. Who knows? We'll, it'll be great. You never know what's going to happen in the future as we just learned.\n\n**BEN GOOD:** This is a lot of fun. Thank you. I really appreciate it. Thank you much.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 33078, "slov": 5935, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:36", "sha256": "6a579190ef9b6ef675b233141d8245c4ae770772c9a4945eaa6752191547d825", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-04-10/", "titulek": "The One with Ben Good and Our Kubernetes Friends", "h1": "The One with Ben Good and Our Kubernetes Friends", "popis": "In this special episode hosts Steve McGhee from the Google SRE Prodcast and Kaslin Fields from the Google Kubernetes Podcast, welcome Google Cloud Solutions Architect Ben Good to discuss platform engineering. Listeners can look forward to hearing about the role of Kubernetes as a tool for building platforms, how to create ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-04-10/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Ben Good and Our Kubernetes Friends"}], "markdown": "# The One with Ben Good and Our Kubernetes Friends\n\nIn this special episode hosts Steve McGhee from the Google SRE Prodcast and Kaslin Fields from the Google Kubernetes Podcast, welcome Google Cloud Solutions Architect Ben Good to discuss platform engineering. Listeners can look forward to hearing about the role of Kubernetes as a tool for building platforms, how to create \"golden paths\" for developers, and the importance of observability and self-service in platform design. The conversation also touches on industry trends, the bespoke nature of platforms, and how DORA metrics can be applied to platform engineering practices.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**STEVE MCGHEE:** Hi, everyone. Welcome to season four of The Prodcast, Google's podcast about site reliability engineering and production software. I'm your host, Steve McGhee. This season, our theme is Friends and Trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and remember, hope is not a strategy.\n\n—\n\n**STEVE MCGHEE:** Hello.\n\n**KASLIN FIELDS:** Hello. I'm very excited for this very special episode, Steve. **[LAUGHS]**\n\n**STEVE MCGHEE:** This is a very special episode. We're kind of double dipping here. This is great. So we're going to do one amount of work for two amounts of output, which is, I think, fantastic.\n\n**[LAUGHS]**\n\nSo I'm Steve, and I'm pretty sure you're Kaslin. And--\n\n**KASLIN FIELDS:** Yeah, maybe we should introduce ourselves since folks may not know us. Yeah.\n\n**STEVE MCGHEE:** That's a good point. That's a good point. We have two sets of audiences, half of each don't know what's going on. So this is perfect. Why don't you go first, Kaslin? Who are you?\n\n**KASLIN FIELDS:** All right. Hello, everyone who listens to the prodcast and maybe doesn't listen to the Kubernetes Podcast regularly or if you're just tuning in, wherever you may be listening from. I'm one of the co-hosts of the Kubernetes Podcast from Google. And I do all sorts of things Kubernetes, cloud native, containery related.\n\nAnd I'm excited about our episode today to talk about platform engineering, which we'll get to in a minute. But first, Steve.\n\n**STEVE MCGHEE:** Yeah, who am I? I'm Steve McGhee. I was an SRE for a long time, and I'm in DevRel now, which means I get to talk on podcasts and stuff about reliability and SRE-ing, but also other things that are related. So I was on a team with Ben, actually, our guest on a DevOps-focused team, and we kind of went into the platform space.\n\nAnd I host The Prodcast, which is a podcast you should definitely subscribe to, if you're a regular Kubernetes Podcast listener. You should probably subscribe to both all the time for the rest of your life. That seems like a good idea.\n\n**KASLIN FIELDS:** Definitely, yes.\n\n**STEVE MCGHEE:** But there's a pretty good amount of overlap, I'd say, in the kind of reliability space and the platform space and the Kubernetes space. So as you'll hear today, I think we're going to talk about one of my favorite Kelsey Hightower lines is Kubernetes being a platform for platforms. And here we have someone talking about platforms. It's going to be great.\n\nSo dearest guest, Mr. Good, would you please introduce yourself? Who the heck are you?\n\n**BEN GOOD:** Yeah, happy to. My name is Ben Good. I don't host a podcast.\n\n**STEVE MCGHEE:** Oh.\n\n**BEN GOOD:** I feel really left out right now.\n\n**[LAUGHTER]**\n\nI might have to change that in the future. So we'll see how this goes. But I'm a Cloud Solutions Architect for Google, which is a fancy way of saying that I take the different Google products and not Google products and smash them together into solutions that hopefully solve customer problems and make things easier for everyone trying to do things in the cloud. I've been doing that for, oh, quite a few years at this point. I lose track and have to do math. But--\n\n**STEVE MCGHEE:** No need, no need.\n\n**BEN GOOD:** Lots of fun stuff. And I've been doing platform engineering of late or, actually, for quite some time, actually, for now at this point.\n\n**STEVE MCGHEE:** You've been doing it-- you've actually been doing it the whole time, Ben. It's amazing.\n\n**BEN GOOD:** Yeah, that's--\n\n**STEVE MCGHEE:** Who knew?\n\n**BEN GOOD:** Prior to Google, I did operations for startups and then a few different startups in the Denver, Boulder area where I'm located. And I was doing platform engineering back then. And we just didn't call it platform engineering. When DevOps started to be a thing, it was DevOps. And now, it's called platform engineering but with a slightly different take.\n\nSo I've been doing it for a while. I just didn't necessarily call it that or realize that's what was happening.\n\n**KASLIN FIELDS:** I'm really excited to dive into this. Forget about the podcast stuff. This is what we're here for. So let's talk about platform engineering and Kubernetes. That famous Kelsey Hightower quote that you were mentioning, Steve, Kubernetes is a platform for building platforms. Is that true, Ben?\n\n**BEN GOOD:** I think Kubernetes—\n\nIs Kubernetes all you need to build platforms? Granted, Kelsey didn't say it was the only thing you need, but-- **[LAUGHS]**\n\n**BEN GOOD:** It is definitely a tool in the tool kit, and it's a big one when it comes down to it. Kubernetes provides a lot of different constructs and capabilities that make it a whole lot easier to build platforms. So in my opinion, it is one of the tools in the toolbox to build a platform and make it successful. But it's not the one and the only thing.\n\nWay back when, when I said I was doing platform engineering before it was called platform engineering, there was a company I worked for, built would have been called a portal in today's language. But it was a way that other engineers in the team could go and spin up VMs that were in the platform or databases that were in the platform.\n\nWhen we containerized and went to Kubernetes, a lot of that stuff became so much easier and went away because the container abstracted away the VM-ness of things. So Kubernetes is super helpful, but it's not the only thing that you need to make a platform, in my two cents.\n\n**KASLIN FIELDS:** So I'd love to know more about what else goes into it these days. I know, last year, two years ago, when was it that we were all excited about Backstage as a tool for-- when I think about platform engineering, I'm imagining teams at various companies who are taking the underlying infrastructure and making it something that developers and other technologists throughout the organization can consume.\n\nSo what does that look like for you today? So Kubernetes is the base of managing the underlying compute infrastructure. But there's so many other types of infrastructure that you have to deal with. And then you have to deal with also how are people interacting with all of that. So what kinds of tools are you using to make that happen? And does that describe what you do? **[LAUGHS]**\n\n**BEN GOOD:** Yeah. No, that's perfectly it. That's a very good description of what it is. So the way I think about it is when you're doing platform engineering, you're taking the underlying technology, like you say, Kubernetes for compute, maybe managed databases for your database infrastructure, maybe self-managed databases. All the things that you need to make your applications run and run at scale, those are the things that you're building interfaces to and you're applying automation to.\n\nAnd I really think that platform engineering is the process that you go through to glue all that stuff together. So from a technology standpoint, you're seeing lots of this typical-- a lot of Bash and a lot of scripting and a lot of Terraform and a lot of YAML. And it's all stuck together with some sort of automation tool in the background to run it and orchestrate it. And then that interface is fungible.\n\nI've recently been working on a project where the interface is a document in Firestore. It's not a fancy UI. It's... write a document in the proper document format in the Firestore. And then automation kicks off, and magic happens. And then that is the interface to it. You can get more advanced or user-friendly with a tool like Backstage. But it doesn't have to be that. It's just got to be some sort of well-defined interface.\n\nAnd that's really what it comes down to. And that needs to be easy for your users or your engineers to adopt and make use of.\n\n**STEVE MCGHEE:** Yeah, there's a phrase-- I know it goes around with platform engineering, which is the idea of golden paths, which is if you're going to do this thing, if you're going to go down this road, don't just wander through the wilderness because there's a lot of branches you can get caught on. There's a lot of dark corners where bad things happen. You can fall into a well or something. I don't know where this is going.\n\nBut the idea is, if instead someone has already taken that path for you and has laid some bricks behind them, saying, this is the way, just follow this thing, then you're more likely to succeed. And often, from what I've seen, is this tends to be like-- it's kind of what you were saying with whether it's a document or a portal or something like that. It's really just, at the end of the day, a form of abstraction.\n\nSo you want the developers who are like, look, I just want to get to the end of this road so I can write my code. Don't make me learn about the entire forest of infrastructure. Just get me to the point where my app is running, and it's scalable and all this stuff.\n\nAnd what you're saying is, yeah, provide a series of paths, please, in some form of abstraction. If that's a portal, great. If that's a document, great. Just something to make it a little bit easier on everyone. Does that line up with--\n\n**BEN GOOD:** Yeah, and that documentation is a good counterexample to what everyone thinks of-- was like, it's got to be super easy and WYSIWYG and all those kinds of things. No. The golden path can be as simple as a document that lays out the three, four, five steps that you have to do to accomplish a task. And that is an example of a golden path.\n\nYou can make it a whole bunch more than just documentation if you want to, but it doesn't have to. It just has to meet the engineer where they're at and the tasks that they're trying to accomplish.\n\n**KASLIN FIELDS:** And that's one place where platform engineering really gets tricky, I think, is that you've got so many different ways that you could find your way through this forest. And so one of the key things that platform engineers do within an organization is understand how different parts of the organization need to use that infrastructure.\n\nAnd I love that you gave the example of using a Firebase document as the interface for the workflow of doing whatever this thing is because I think Backstage offered a vision of a unified interface of here's how you request compute from different sources and things like that. But it can be much simpler than that, depending on the use case. Just give them a Firebase document that they can put the thing in, and it'll go. I love it.\n\n**BEN GOOD:** Yeah, exactly. And in the case of the Firebase document, you could write that through a little CLI. You could do that through Backstage. There's no reason you can't make that call via Backstage. There's millions of different ways that you could get that document into Firestore. It doesn't really matter how it happens so long as it's easy enough for the people that are trying to use that system.\n\n**KASLIN FIELDS:** Flexible but structured platform engineering.\n\n**BEN GOOD:** Well said.\n\n**STEVE MCGHEE:** It sounds like a good tagline. We should put that somewhere.\n\n**BEN GOOD:** We should.\n\n**STEVE MCGHEE:** So I have to wear my SRE hat now. Once you've gone through the phases in your platform, whatever methodology you're using, where you've abstracted away a lot of these inconvenient truths about infrastructure, you've said, don't worry about it. Just follow this path. You're good. You're basically getting the user, the developer through the provisioning stage to the initial deployment stage.\n\nBut it turns out, there's more stages. We're not done yet. And this is where I come in. This is where the SREs come in, where it's like, OK, cool. We've deployed the thing. It mostly works. What's next? What do you have to do next in terms of the life cycle? Sometimes we call this day two operations or day two whatever or just observability.\n\nWhat are all the things that you would now want to make sure that your developers have access to maybe through a portal, maybe through another method, beyond just that startup process? What happens in the operate phase of this life cycle?\n\n**KASLIN FIELDS:** Yeah. So I think if you lump all that together, you need to provide visibility into what's happening with the workloads that are running on the platform. And that takes lots of different shapes and form factors.\n\nSo if I think about the \"traditional,\" in air quotes, operations metrics, like what's my latencies? What are my failure rates? Did my deployment succeed? Those kinds of things, that's a level of visibility that you can expose back up to those engineering teams using this platform engineering concept. Make it easy for those developers and engineers to see what's happening.\n\nBut I think that there's more to it, to your point, than that. There's visibility into, is the application working in the way that the users expect it to? So are the features and functionality happening there? That's something the platform can provide up. Cost controls can come up through there, visibility into different security and compliance of regimens that they have to adhere to, those kinds of things that need to come up into the platform.\n\nAnd those are, to your point, all day two things. Great, you got the first couple releases out. You got us some users. Now, you have to keep it up and going. And the platform can provide those ways and those golden paths to make that easy to see.\n\n**STEVE MCGHEE:** Yeah. Sometimes they're referred to as nonfunctional requirements. This has nothing to do with widget selling, but you still have to do it. Sorry. The worry that teams have when they're not building the stuff through a platform is like, now that I've deployed my widget-selling device, now I have to do day two, but it's really more like day 222.\n\nIt's going to take so long to-- which regulation are we subject to? And how do you generate these artifacts for which lawyers to look at? What are you talking about? So what are some patterns that you've seen customers of ours adopt to-- how do you do this in such a way that it's like part of the platform and not just like a thing you have to do? It's like a tax on your time. How do you do this properly?\n\n**BEN GOOD:** Yeah, I think that the platform can provide those things for you. So if we go back to using Kubernetes as an example, there's things that you can do in your Kubernetes deployment around making sure that the right policies are in place, the right RBAC, all those kinds of things are in there such that when you get a namespace, that those policies just come along with it.\n\nAnd then that's an example of where you're getting those things via the platform for free. You can do those same things with metrics and observability and logging. You can plumb those up through such that the application teams can go in and see their logs without having to do any sort of extra work or magic to make that happen.\n\n**STEVE MCGHEE:** Or log in to another tool or something like that. And like, oh, I need the credentials for the logging app now. Great.\n\n**BEN GOOD:** Yeah. So it's not like those aren't super-- those are examples. Every implementation about how you go about it is a little bit different, depending on the tool, stack, and all those kinds of things. But that's what the platform can do for application teams and those other engineers is just do that for them. The term is shifting down. You might have heard that before.\n\nThose are examples of where you can shift those responsibilities down into the platform, and you just get that stuff for free because your application is running on that platform.\n\n**KASLIN FIELDS:** Observability is so important. I often hear platform engineers that I talk with when we ask for feedback on features that we're developing and things like that, one of the things that I often hear is this kind of consideration of, well, that feature is great, but when I bubble that up to my users, how am I going to make sure that they know the pieces of that that are going to keep them from spending a ton of money or running up a crazy amount of compute or something like that?\n\nI need to make sure that it's all observable and visible to them through the platform that we are building. So--\n\n**BEN GOOD:** Yeah.\n\n**STEVE MCGHEE:** Yeah, I feel like another thing that we talk about that is kind of what you're getting at, Kaslin, is like when you're developing a platform-- basically, a platform doesn't just come out of the box in perfect form, as Ben has described, has all these things. You have to develop it.\n\nAnd I think this is a basically per customer problem, like per entity like org, because every company is a little bit different and has different requirements and has different-- there are different levels of capability and just staffing even and regulation. And they're all slightly different snowflakes. And I mean that in not in the pejorative sense, but just like they're all very different from each other.\n\nSo one thing that I've heard-- and maybe, Ben, you can back me up on this-- is that whenever a team builds a platform, they tend to name it. They give it a name. And it's sort of a pet. And then they take care of it like it is-- this platform is a pet. And you love it, and you feed it. And you extend it to exactly what you need as a team because it's always going to be a little bit different. Does that line up with your experience?\n\n**BEN GOOD:** Oh, yeah, yeah. Platforms are very much bespoke things to the engineering organization that they serve because, to your point, every engineering team operates at a different skill level, a different layer in the stack. You might have different teams that are responsible for different types of infrastructure that need to come together to work on the platform together.\n\nThe one that I was lightly referencing to earlier, it was called Divine Spork. That was the name that GitHub auto-generated for me. I'm like, yeah, that's kind of fun. We're spoon-feeding, but it's kind of pokey. So it's a spork. And you get things by magically, so it's kind of divine. So that's what we called our platform at that company was Divine Spork. So yeah.\n\nThey're very much bespoke things. They have names. They have teams that rally around them. But yes, you do care. You care and feed for them and love them, and hopefully, they love you back, and all that kind of stuff. But yeah, every platform is different. And I think it's a bit of an antipattern to go and look for the platform in a box that you can just click button Install and like, woo! I have a platform. That doesn't typically happen.\n\n**STEVE MCGHEE:** Yeah, as we alluded to before, like Kubernetes being a platform for platforms. I've actually heard of Backstage being a not a portal but a system for building portals. So it's the same idea of like, it has all these knobs. Don't use them all. Don't just click Install. You got to think about what it is you're trying to get out of this.\n\nAnd I think we've said in the past, you want to-- the abstract idea of a platform is just a grouping of capabilities. And so what are the capabilities that your team wants to adopt and then deliver through this platform? Whether it's through the Kubernetes side or through the Backstage thing or through the observability suite that you have through another company or through the-- whatever.\n\nThere's a load of different things that you could be, a lot of stuff you build yourself too, right? But at the end of the day, it's the set of capabilities and the fact that they're working together in concert, hopefully, that makes it beneficial to your company.\n\n**BEN GOOD:** Yeah, very, very much so. The folks that install and are successful with Backstage, they have teams or a group of people that are modifying and building plugins for it and creating the different templates. It isn't just something that you get to install, but you build on it, that exposes those critical user journeys through the portal in a way that works. And that takes development effort and maintenance and care and love as well.\n\n**KASLIN FIELDS:** And this customization for different organizations and for different types of users within organizations, there's a term that we used in our notes in preparing for this interview, which was deployment archetypes. And I feel like all of this lends itself to that term, which I hadn't really seen before, but I kind of really like it. So is that what you all think of as deployment archetypes is making these workflows customized for the environment that they exist within and the users that they're serving?\n\n**BEN GOOD:** I think that what you want to do is you have a pattern for ways that you deploy things. And those patterns are what you end up exposing out through the platform. So those would be the archetypes. And you can largely group them like we've done with-- Steve is well aware of-- different reliability characteristics built into them.\n\nSo I have this thing of this shape and size. I need to deploy it on this type of infrastructure with this load balancer configuration, this database configuration. And that supports this shape of user across these different regions of the world or this form factor. And you provide n number of those things in the platform. And those become the archetypes, if you will.\n\nAnd those can be genericized. And we've published some documentation around those. But that's the type of thing that you want to expose out through the platform. And then making it easy to pick the right archetype or change between archetypes is a task that the platform helps you with and gets you down that journey.\n\n**STEVE MCGHEE:** So a good way to think about this for the pure Kubernetes' viewpoint-- a good way to think about this is like when you're trying to make a system more reliable and more robust, often what you do is you're like, we have one of these things. How about we have two? Just have a second one. And that's great. It's a good idea.\n\nThat's generally the method that we use to make things more robust is that we have two of them instead of one or n of them, right? But one thing that you could do naively is you're like, we have a cluster of stuff. Let's make a second cluster. Done. Stamp it out. Good to go. Ready, set, go. Except you put it in the same zone. You have two clusters that are in the same zone. And then when there's a problem in that zone, guess what?\n\nYou actually only had one. You did not have two. Too bad. Bummer. You get a bad day. So there's this idea of failure domains. And this will be familiar to a lot of SREs out in the world. But you have there the matryoshka dolls of like, you have your app, and then you have your namespace, and then you have your cluster, and then you have your zone. And then you have your region, and then you have the universe or something.\n\nAnd so failure can happen at any point along these things. And so there's this paper that came out-- I don't know-- years ago at this point called deployment archetypes, which is how to apply this understanding of failure domains to when you're doing deployments. And this is where zonal deployments versus regional deployments versus global deployments versus multi region versus multizonal versus blah, blah, blah.\n\nThere's these very abstract ideas of basically where to put your app, in which clusters, at which time. And it's too much. It's hard to understand all of it. And so what we've seen people do in the past-- and Ben has done a really good job of this with some customers that I've seen of-- is that there will just be a dropdown in the portal or in that doc or something. It's like, do you want this to be a big one or a little one?\n\nAnd under the covers, it's picking one of these. And it's making a bunch of choices for you so you don't make the wrong choice. So it's like instead of saying, just give me two clusters in the same zone, it's like, no, no, no, no. Would you like a big one or a small one? And you say a big, and it's like, OK, I'm going to give you two clusters in two different regions and not tell you about it.\n\nBut then also the deployment is going to be able to take advantage of that. And the observability is going be able to take advantage of that. And you don't even know the whole time. It just magically happens. That's the vague idea that I get. But Ben has actually done it, so I'm curious if that holds true when you hit reality.\n\n**BEN GOOD:** Oh, very much so.\n\n**STEVE MCGHEE:** Cool.\n\n**BEN GOOD:** Yeah, it definitely holds true. And the thing that you're doing with that little dropdown is you're abstracting away a lot of the super nitty-gritty detail of what cluster, what subnet, what this, what that that you might have to go and know how to do otherwise. I think, a lot of times when folks are trying to build a platform, you, like, throw a bunch of Terraform or throw a bunch of YAML at folks and say, OK, go do the thing with the YAML or the Terraform or whatever your favorite language is.\n\n**KASLIN FIELDS:** A lot of the things that we've talked about in our conversation today are kind of evergreen topics-- reliability, making sure that the systems keep working, making sure that you understand how they're working, building golden paths. But I think a lot of that has shifted recently due to industry trends. I wanted to know if you've seen any of that in your day-to-day work, Ben, if the types of golden paths that you're building these days are different and how and all of that kind of stuff? **[LAUGHS]**\n\n**BEN GOOD:** I think the underlying technology changes a little bit, but really, it's still the same thing, I think that we've been doing, just with slightly different twists or name or a change of focus on how do we do it at scale, if you will. I think the rate of change in the industry as a whole is-- it's always ever increasing, right? So I think the things that we have been doing, we just have to do more of those things and maybe with different technology, not doing something different. So--\n\n**KASLIN FIELDS:** Yeah. In the Kubernetes space, what I've seen a lot of is hardware accelerators. It's a lot of the same kinds of stuff. But now we're enabling folks to use different types of hardware than we've used in the past and for applications that are very particular about how they're using that hardware. So Kubernetes has traditionally allowed folks to-- a lot of the management of that underlying infrastructure is handled for you through Kubernetes.\n\nAnd then you add another layer on top of it, the platform, that users actually interact with to further abstract that. And now, folks want a different type of abstraction for those types of workloads that really need careful control over those underlying hardware resources. So that's where I've seen Kubernetes doing a lot of work recently to adapt to new changes. **[LAUGHS]**\n\n**BEN GOOD:** Yeah, no. That's fair. Back when Kubernetes was young and when I started using it, it was CPU and memory. Those were the things you had to be concerned with. And now, there's networking. And to your point, there's GPUs. And how do you go about getting access to those things?\n\nBut yeah, you're beginning to add more to it. But really, you're still orchestrating the access to the underlying infrastructure and providing more control than you were way back forever when. But it's the same process or the same thing you're accomplishing, just a little bit different.\n\n**STEVE MCGHEE:** I've heard that also customers will have different motivations for platforms than they used to, like in the post zero interest rate, ZIRP phenomenon. There's been a lot of consideration around cost management and cost observability and things like that. And frankly, part of the problem with a naive level way of doing these abstraction through platforms is to just hide everything. And then you get a bill, and you're like, oh, whoops, we did something.\n\nAnd so the ability to expose usage patterns and like, oh, we accidentally-- all the databases early and often, right? So you can actually see in somewhat real time your consumption of the database or whatever the expensive thing of the month is and be able to control that and make a change. So if you do a deployment that accidentally writes 10 billion times, you should be able to, as a developer, notice that and rectify that, all on your own.\n\nSo self-service is one of these things that is really, really ubiquitous in the marketing of platform engineering. But often we think of that just in terms of like, well, I want to make my service for the first time like that Greenfield step. But self-service also applies in the operational context as well. So does this come up as a motivation when customers are talking to you about platform engineering? Or am I making this all up?\n\n**BEN GOOD:** Yeah. There's some customers that approach it from a cost control perspective. Not many approach it from a self-service standpoint. I get a lot of customers that look at it from a security compliance governance perspective. And those are reasons to go about it. But that can't be the angle that you take, in my opinion.\n\nSo we can't take the angle of, well, we're going to do platform engineering to reduce costs, and we're going to begin to make our engineering teams do something to reduce costs. We want to improve compliance and governance and those things. But forcing engineering teams onto the platform doesn't typically yield the desired outcome, if you will. There's, oftentimes, reasons why that happens.\n\nOr you want to listen to those engineering teams and begin to design your platform in a way that supports those engineering teams but also accomplishes the security and compliance and governance and cost controls. And those things come along when you begin to actually do platform engineering. So the motivation can be there, but it can't necessarily be the reason that you go to engineering teams and say, we're going to do platform engineering, and you're going to use the platform because of this. That usually doesn't yield the best platform.\n\n**KASLIN FIELDS:** That opens up a whole new can of worms that we could dive into for a whole nother episode, at least, diving into security considerations, regulatory compliance issues, and working all of those into how we build platforms for specific users. But I think we've covered some really awesome stuff today with making sure that you're designing platforms to serve the users that they need to serve and that a lot of the underlying concepts are the same as they've ever been.\n\nIt's about making sure that your infrastructure is usable by the teams within the organization. And I'm excited for all of those platform engineers out there listening to do that\n\n**STEVE MCGHEE:** Another thing that we didn't get to, which I'm amazed, Ben, how did we not mention DORA? I'm even wearing the shirt under this jacket.\n\n**KASLIN FIELDS:** That's true.\n\n**STEVE MCGHEE:** So I know, we blew it. But being able to track your team's success through metrics and being able to show that these capabilities are actually making an improvement to the lives of the developers and to the business, go to dora.dev to see what that even-- what all those words mean. But delivering it through a platform is totally a good move. I believe you would agree with me on that.\n\nSide note, Ben and I work on the platform engineering chapter of the DORA survey every year, so I know he agrees with me.\n\n**BEN GOOD:** It's a lot of fun. I definitely agree. A fun thing to think about from a DORA perspective in your platform engineering endeavors is using DORA metrics to understand your feature velocity and your application development practices but also your platform engineering practices and your platform velocity, which I think is a fun thing to think about.\n\n**STEVE MCGHEE:** Yeah, platforms are software, too. Well--\n\n**BEN GOOD:** That's right.\n\n**STEVE MCGHEE:** --thank you, Ben. we'd love to have you back either on each of our episodes or maybe another double episode. Who knows? We'll, it'll be great. You never know what's going to happen in the future as we just learned.\n\n**BEN GOOD:** This is a lot of fun. Thank you. I really appreciate it. Thank you much.\n\n—\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** You've been listening to Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE dot Google, where you can find papers, workshops, videos, and more about SRE.\n\nThis season's host is Steve McGhee, with contributions from Jordan Greenberg and Florian Rathgeber. The podcast is produced by Paul Guglielmino, Sunny Hsiao, and Salim Virji. The Prodcast theme is Telebot, by Javi Beltran. Special thanks to MP English and Jenn Petoff.", "znaku_textu": 33078, "slov": 5935, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-04-10", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:00", "sha256": "6a579190ef9b6ef675b233141d8245c4ae770772c9a4945eaa6752191547d825", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01", "titulek": "The One With Stephanie Hippo and Observability", "h1": "The One With Stephanie Hippo and Observability", "popis": "In this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. \nWe also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01"}, "headline": "The One With Stephanie Hippo and Observability", "description": "In this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. We also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.", "image": "https://kstatic.googleusercontent.com/files/15d950323507be2b34dbef77196c010113d347dfa140719bcc07572ea58b37364b30e4d3e26d3c4fe36f70e0002233a799cce519eba75dc804f046d58648f7a3", "author": [{"@type": "Person", "name": "Steph Hippo, Engineering Manager, Honeycomb"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Stephanie Hippo and Observability"}], "markdown": "# The One With Stephanie Hippo and Observability\n\nIn this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. We also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.\n\n**[THEME MUSIC]**\n\n**NARRATOR:** Welcome to season five of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**MATT SIEGLER:** Hey, everyone, and welcome back to the Prodcast. I'm Matt Siegler, and joining me today is my co-host, Florian Rathgeber. Now I'd like to welcome our guest, Steph Hippo of Honeycomb. Steph, tell our listeners a little bit about yourself and what Honeycomb does.\n\n**STEPH HIPPO:** Hi. Yeah. So I'm Steph Hippo. I'm the Platform Engineering Director at Honeycomb, which is an observability tool for understanding complex systems as you run them in production. And I was at Google for 7 and 1/2 years. And I'm enjoying life on the outside, but it's been really nice to get to come back here today and talk to you.\n\n**MATT SIEGLER:** How long have you been outside of Google with Honeycomb?\n\n**STEPH HIPPO:** I've been at Honeycomb for a year and a half now, but I left Google in May of '23.\n\n**MATT SIEGLER:** Great. Tell us a little bit more about the Honeycomb stack and what you're doing there.\n\n**STEPH HIPPO:** Yeah. So for Honeycomb, like I said, I'm on the platform side. So I am responsible for SRE teams, a lot of our enablement teams. So we've got our front-end enablement team. And that's really just about helping those teams-- the rest of the developer teams deliver better and faster.\n\nAnd that's where we're seeing a lot of the AI usage come into play for us, and how we can make sure that we're building to the quality that we want, and being able to empower all of those teams to reuse the same components for the design system, better work across design and data. And so that's been a lot of fun.\n\nWe run our own database that you can actually read about on the blog, if you want, called Retriever. And that is how Honeycomb is able to do a lot of the cool data observability, math, and features that you see. And yeah, does that answer the question?\n\n**MATT SIEGLER:** Yeah, it does. In fact, I think I heard you say something about observability. This is a big word. It comes up in a lot of circles. But I think I'd like to hear you be a little bit more specific about what that word means, and speak to it about what Honeycomb offers, and something more in depth about what that should mean to us, especially in production.\n\n**STEPH HIPPO:** Yeah. So at the heart of it, observability is about being able to observe and understand complex systems based on what you can see from the outputs. So you can instrument the kind of data that you want to be able to track, maybe different events as they occur throughout your system, and then, as you're running things in production, being able to watch some of that live and look at, where are we seeing problems in the system? And if we're getting a lot of user errors, can we alert on that? And so it's really at the foundation of SRE being able to understand what's happening in your systems and respond to it so that you can deliver the best user experience possible.\n\n**FLORIAN RATHGEBER:** That's a very good definition. Thanks, Steph, for setting us the stage. So this season of The SRE podcast, we are continuing our theme from Season 4, which is Friends and Trends. And, well, obviously, you're an observability friend, but we can't-- I guess, we can't avoid jumping into some of the buzzwords that are floating around everywhere. So in your view, how does AI influence observability and vice versa?\n\n**STEPH HIPPO:** Yeah, they're buzzy for a reason, right? So when you're seeing more talk about AIOps or how different companies are adopting AI tooling, at the heart of all of those approaches is really rich data context. And that's what helps make AI valuable and helps good AI stand out from bad AIs. And good versus bad in this context, let's say helpful versus unhelpful.\n\nAnd so what we're seeing a lot of with AI and observability is they actually feed into each other. The more that you're using AI, that is a complex system, because you are looking at things from a more probabilistic perspective, rather than deterministic. That's going to introduce some uncertainty. There are appropriate places to use that and inappropriate places. And I think, as an industry, everyone's kind of feeling their way out at what they're finding AI to be particularly good at problem solving at any given time.\n\nAnd at the same time, AI is getting faster and getting better, being able to hold more context. So as you're running those AI systems, you also need more observability, or I would say, more refined observability, to understand what effect that's having on your system. So I see AI in observability as kind of being a self-reinforcing loop back into each other. So observability is what gives you confidence in your AI. And your AI can also help you better navigate your observability and understand your system better.\n\n**MATT SIEGLER:** In the point of contrast, could you explain to us perhaps where we were not too long ago when these AI insights were not so available? What were we doing just prior, when we were just using plain old math?\n\n**STEPH HIPPO:** It's all math underneath the hood, right? But the plain old math. I think, when I look back on the SRE teams that I kind of managed at Google, the thing that we always had drilled into us was, know your system, know your system, know your system. As time went on, and as it does in the history of computing, we're able to pop up the stack in a level of abstraction with each new technology.\n\nI remember my operating systems professor in college telling us about how he used to artisanally install operating systems, and it would take 30 days, and they liked it that way. And that's something we've advanced quite past from these days. And I think we're going to see the same things with AI.\n\nIf you're taking a look at-- the best example that I use, how do you raise a junior SRE? When you first come in as an SRE, we might be looking at system diagrams, getting them familiar with maybe specific dashboards that we had to craft ourselves. Hey, here's where you find the logs, which are separate from the traces, which are separate from these metrics that we have over here.\n\nAnd they start building their picture based on the team knowledge and being walked through that system with quite a bit of hand-holding. I actually think that's valuable from a team perspective, and we can talk more about that later. But when you're now training a new SRE today, there's a lot more available to them for the AI tools to get their bearings.\n\nSo if you were to drop me into a new system today, I would want to know, where are the problem areas? What graphs get looked at the most? Are there any troubling trends you see over time? Show me your SLOs. And those are things that we're seeing AI can help bring to the forefront.\n\nAnd so if you are a junior SRE that maybe doesn't know yet the right questions to ask, AI is helping to bring those more to the front. I think it's also been fun to compare-- I remember even when I was a junior SRE, I was paired with a senior SRE that was new to our team but had been at Google for a long time. And it was as we were starting to have the rise of more web app kind of tools for understanding SRE. And he was mind boggled that I was reaching for the web tools first, when he was like, the muscle memory of the commands that he would run to get the same information were just baked into him.\n\n**MATT SIEGLER:** Right.\n\n**STEPH HIPPO:** And yeah, we just laughed. We were both getting the same answer in just very different ways, and neither one of us would have thought to reach for the other tool the person was using. And so I think AI is going to be another layer of that.\n\n**FLORIAN RATHGEBER:** Yeah, totally. So thanks for sharing your experience. Like, if you try to put yourself into the shoes of a new aspiring SRE these days, either from your personal experience at Honeycomb or also what you imagine it be like, because you also have a reputation to care a lot about the end, the management side of engineering, like eng management and whatnot. So what change has AI brought to the experience of a junior SRE?\n\n**STEPH HIPPO:** I think there is value to asking questions to your team members directly. That is how you build rapport. It's how you feel out safety. Who's going to be somebody that I can ask, maybe, the dumb question in front of that I might be embarrassed about or learn who the experts are in your team in a particular area? And so I don't think it'll ever be fully AI for onboarding or things like that. That human connection is still what makes top-performing teams and high levels of psych safety.\n\nSo where I do see more junior engineers getting a lot of benefit out of AI is asking better questions. Maybe you ask the AI a few questions first so that you can show you've done your homework when you go to ask the human. Julia Evans has a great set of blog posts that I always include in my team onboarding documentation, no matter which team I'm running. It's about asking good questions, and then making sure that you're making a good use of people's time.\n\nAnd so as an industry, we have not always been the most welcoming that way. There's Let Me Google That For You, or RTFM. And you actually don't want to shut down all of those questions because that is the psych safety building.\n\nBut if I can ask an AI, hey, where do I learn about this part of the system? Maybe it can give me some places to start. And then it can quiz me on it or something or rubber duck so that if I do get stuck, I hit the edge of what the AI can do for me, now I can go connect with human, and I can actually focus more on where I want to have the conversation.\n\nWhen I first became an SRE, I had a great TL that did an Ask Me Anything session with me three times a week. And the deal was, I wasn't getting out of it. I had to show up with questions. And if I didn't, he was going to pick a topic and just talk about it.\n\nAnd so I think about how I would do that these days. And I would maybe tell my mentee, go ask the AI about this kind of thing, and then come to me, and we'll fill in the gaps that you weren't able to piece together. So I think that, as a junior engineer, can be really powerful.\n\nOn the career development side, you've got job ladders. I do a ton of work as a manager, especially with junior engineers, really helping those engineers understand what their job is and what growth looks like. And I'm always pulling out whatever the job ladder is, being able to teach engineers how to talk about their work.\n\nI'm a big fan of keeping a work journal and writing things down week to week, not just for being able to prove things at performance review time, but because that reflection helps you get better at your own job. So I still do it, and I can take a look at my journal at the end of the week and be like, OK, I spent a ton of time on this kind of work. I think I need to set aside some deep focus time for that, or I need to ask somebody that has more experience in this area for what I should do next.\n\nOr, hmm, I see the next level on the job ladder talks about this kind of work instead. I don't think I'm getting opportunities to do that work yet, so I don't even know if I'd like it or if I want that next level job. Maybe I can talk to my manager about what those opportunities would look like.\n\nAnd I think there's a lot of room for AI there and rubber ducking and seeing, hey, is the work that I'm currently doing matching that job ladder? And so I really see AI there helping to still get at the heart of engineering manager fundamentals, but doing it in a way that is more structured to help people make the better use of that time when they are face to face. I don't want to see AI take the human element out of running teams or management.\n\n**FLORIAN RATHGEBER:** It sounds like you have really dug quite into the career development and what's the role profile and the expectations and whatnot. In your view, has that significantly changed in the couple of years in the light of AI?\n\n**STEPH HIPPO:** Yes, and I think it's going to continue, too. I think it's a tough time to be a junior engineer, trying to either break into the field right now or folks coming out of boot camps, things like that, because there's a lot of talk in the industry right now on, hey, is AI replacing your junior engineer?\n\nAnd I think that particular question is for the shock of the headlines. It's not going to replace junior engineers because senior engineers don't grow on trees. So as an industry, we do still have to keep growing our engineers. That's just something everybody needs to do. And there are a lot of benefits of bringing in fresh eyes to your team.\n\nI love to tell the story of when I was new to SRE. I had established that relationship with that great TL. He had handed me a project. And I went to him because I was so stuck. I did not know how to handle this one edge case. And I said, Dave, sorry, I need help here. Can we talk through it on the board? And how do I handle this edge case?\n\nAnd Dave just kind of stopped and put the marker down. He was like, we have to cancel this. This will break so many things. Don't do this. And I was like, oh, OK. And he was like, I hadn't thought about this edge case, but hey, that's the value of you having an outside perspective. Yeah, we can't do this.\n\nAnd so, I mean, the downside there was I had my project canceled, and I was bummed, but I didn't break the bigger system. So, you know. So it is going to change the kind of work that we're giving to junior engineers when they first come on. I think there's the traditional advice, you have the starter bugs and things like that. I don't think that will go away.\n\nBut if we're seeing AI being able to take on more of those kind of background tasks and AI agents, first off, you actually don't have to have the AI do all of that. There is still some value into just leaving that there for more junior engineers. That's typically not business-critical work. It's context building, rapport building work for the team. And there is value in an engineering team as well.\n\nSo you don't have to give everything to AI. But it can also change the type of work that's available. And I think you'll see more ride-alongs for junior engineers. So I want to see junior engineers pairing with an AI and a senior engineer. But I want you, as a junior engineer, thinking about, how am I seeing the senior engineer use AI? How is the senior engineer asking questions, and why are they reaching for those questions first?\n\nOne of the things that I really loved about my time at Google, when I first got to SRE, all the incident command was still done on IRC. And I could, as a junior SRE, just follow along, outages that my team wasn't responsible for. Stayed out of the way, but I could listen and watch. No one would mind that I was there.\n\nAnd I was looking at, hey, what is this senior engineer looking at first? Oh, I would not have thought to check that. How do I learn how to go check that and watch what they were doing and how they were talking? And I just thought that was so valuable. And so what I'm hoping we see with AI agents-- and one of the things that we talk about at Honeycomb a lot-- incident management in particular, it is a very social activity.\n\nSo when I, again, was an individual contributor doing incident management, you might have the incident doc going, you've got your incident comms going out, you're talking back and forth, maybe with other teams that are affected, trying to understand what could be going on. I think you're going to see a lot of that in shared AI agents now.\n\nSo if I can ask the AI, like, hey, what are we seeing here? It's really helpful if we can all just have the same view. Honeycomb is fully distributed, and so we don't have the shoulder-surfing advantage that you might get to some of the in-office work. But the benefit of that is we're forced to build tools that have good collaboration.\n\nAnd so, instead of just pasting around the same dashboard link to everybody to open up, can we all just be looking at the same AI agent that's saying, hey, look at this, look at this, look at this? And being able to talk back and forth on what we're seeing, whether we think something is relevant to what's happening or might be a red herring. And so, again, a lot of the social part of engineering, I think, is going to stay for a while. It's how we interact and how we talk about it that's going to start changing the shape of it.\n\n**MATT SIEGLER:** That was a really excellent walkthrough, by the way. I very much appreciate how you've taken us through the ecosystem of your technical staff, the bigger picture of the incoming talent pool, the maturity of your existing talent pool, the fact that we're in a very disruptive time with a very high rate of change of the influence of AI on both the engineering stack you're using, as well as the skills of the people operating it and responding to it. So this is a strange world we're in right now where both the tool kits, and the people using the tools are influenced by this as well.\n\nSo that's pretty fascinating, and it sounds like you're handling it, I would say, in a fairly progressive and inclusive way, which I'm finding kind of fascinating. And I'd like you to talk a little bit about the business realities that you're in and how maybe you're met with both either resistance or inclusiveness of it. Can you talk about some of the contrasts when you say, hey, we're using some of these tools, and let's talk about some of your client interactions, or people are receptive, or maybe even not wanting that. How's that gone, when you say, we're doing this, it's great stuff, and they're like, whoa, we definitely don't want you to do it that way? Or like, cool. Here's some opposing perspectives on this.\n\n**STEPH HIPPO:** For sure. I actually think one thing that's kind of unique about my viewpoint right now, I'm just coming back from four months of maternity leave. And so I did not do a ton of AI with my baby while on leave. And so, it turns out, four months is a long time for AI to make some jumps and advancements.\n\nAnd so I was getting updates from the team. I saw some launches going out, but I didn't really get to start playing with some of what we had actually shipped until I got back a couple weeks ago. And so it was so cool to see, back in May, before I went out, I had a lot of engineers that were kind of skeptical. They were like, oh, this still isn't useful to me. It's actually like more work to try it out than the benefit that I'm getting. I'm not seeing the ROI.\n\nJump to now, some of the folks that were very skeptic and moved to either bargaining or acceptance and saying like, OK, wow, I get this now. I'm seeing the value. And we are seeing that with some of the customers too. So we recently were hosting our O11y Day in San Francisco. There's some great videos online about that.\n\nAnd our AI team did a LinkedIn takeover, if you want to check out some of the things that they were talking about. There's some great examples there of where, I think, you can see-- and this isn't necessarily unique to Honeycomb. But you can see where engineers are starting to hit a tipping point of, OK, I'm finding more places to do this. I think engineers really crave nuance in these conversations.\n\nA lot of the places where I was seeing engineers get frustrated, maybe, in some of these initial waves of AI, is they would see one thing promised in marketing. And then they didn't really see that being useful for their set of problems yet. And part of it was like, OK, that marketing is actually-- you're not the target audience for that.\n\nBut for your AI tools and your engineering tools, here are the things you have to try. It is a skill set, to be able to get more value out of that. And I think we're seeing customers figure it out too. And so everyone's starting to have their light bulb moments.\n\nAs I mentioned earlier, with observability and AI feeding into each other, having that rich context about your own systems just lets you unlock so, so much. I'm not looking to go back to being an individual contributor, but man, does it seem like it would be a lot of fun to get to experience that sort of magic of understanding and just asking AI, hey, tell me about user adoption of these tools, or these features that we shipped.\n\nAnd I can pull up and see how our rollout has been going, see how it's holding with our error messaging or our performance and our SLOs. How does that correlate? And so things that I used to have to build those queries by hand, AI is just like, cool, I got this, and is this what you want? And I can say--\n\n**MATT SIEGLER:** Definitely.\n\n**STEPH HIPPO:** --close, or close enough. And so that is making a big difference. And so, yeah, I think we'll see more and more of that kind of loop. So if I have good observability, I have good understanding of my AI systems and how to improve them. And then as I continue to launch more features, AI or not, if I'm doing the work of instrumenting that code, then it's going to feed back into my observability.\n\nAnd that's the kind of feedback loop that we're always looking for in engineering, to make things stronger. And so I think that's what we're going to see, and that's what customers are already starting to see now, with some of the AI tools and observability tools that Honeycomb and elsewhere.\n\n**FLORIAN RATHGEBER:** Yeah. So you mentioned how much things have evolved during the time you were out on parental. So internally at Honeycomb, or in your experience, how do you stay on top of that super rapidly evolving field and all the complexity that it brings?\n\n**STEPH HIPPO:** Yeah.\n\n**FLORIAN RATHGEBER:** And stay up to date and, yeah, basically managing all that.\n\n**STEPH HIPPO:** So again, I think it's just such a big part of engineering that's still social. So we want folks to be taking that time to experiment and try new things, and then just be really honest on what they're finding valuable and not. You don't have to come in and pretend that AI is bringing all this value and solving all your problems if it's really frustrating. Let's have a nuanced conversation about where it could be better, and then how do we apply that to our product?\n\nHoneycomb also dogfoods a ton. We use Honeycomb at Honeycomb to understand Honeycomb. And again, having that feedback loop is just super helpful. I ran a book club earlier this year on ethics and computing, and we talked a lot about AI there. Where do we feel the ethical line is for problems in our space? And how are those going to continue to change and evolve? And what are things that we want to keep an eye out for?\n\nAnd so we love playing around with new tools. And especially as a platform org, I want to know what's going to give us the biggest bang for our buck. Do we want to try this new tool? Do we want to hire here to be able to explore more on building some of those features into our software development lifecycle? Where does it make sense?\n\nAnd so one thing that's always been true, but that AI, I think, is still going to change how we do it, is you need to leave room for that innovation and experimentation budget. There's always going to be a deadline coming, but you have to set aside that time for learning and exploring. And if you don't, you'll actually fall behind, and you'll spend so much time polishing something that's quickly falling out of date because the rest of the industry is continuing to keep moving. So that's how we approach it. And try some things out. If you hate it, tell us. But be an informed hater and help make it better.\n\n**FLORIAN RATHGEBER:** If we only had more of the more informed haters rather than the destructive kind.\n\n**STEPH HIPPO:** Yes.\n\n**MATT SIEGLER:** Speaking of being informed, some of our listeners are really small or quite small businesses who do want to adopt these tools. They find themselves struggling to make sense of the chaos around them. They want to innovate on their work. How do you suggest they take an approach that makes sense in their business that isn't just throwing things at the wall, and do it in an intelligent way, incorporate it into their practices?\n\nClearly, you're doing it in a way that's really working for your industry practices. What do you say to someone who wants to get started that wants to do it in a sensible way? They want to do it in a safe way. Give some advice.\n\n**STEPH HIPPO:** Again, I'm an SRE at heart and really feel like, when I stumbled into SRE, I found my people. But the cheapest way to learn is from other people's mistakes. In SRE, we call that post-mortem culture. And so being able to hear other people's success stories, but also, there's so much value in, hey, this is what worked, and then this is what didn't. And here's what we would have done differently.\n\nAnd so, you always have to filter if the advice is right for who you are, where you are, and stage of company. But go listen to what other people have done. Read what they've done. If they're publishing post-mortems or retros, whatever it is, ask the AI. You can see so much of what people wish they had thought of, or, oh, I would not have thought to approach that problem that way. Much like when I said I was learning to be a junior SRE.\n\nAnd so one of the things that has been at the forefront of my mind lately, in college, I actually worked at a startup called Explorys that was purchased by IBM to become part of IBM Watson Health. Actually, my mentor there just published a book on this. It's The Rise and Fall of IBM Watson Health. That is a post-mortem, and it is fun.\n\nOK, I'm a little biased because I got to see it. I had front-row seats. But a lot of that talks about where maybe AI back then had the overpromising and under-delivering. Where did the tech fall short? What could we have done better? That's all relevant now. And Explorys was sold to IBM in 2015, I think. And so those are the kinds of things. Go find those.\n\nAnd they don't all have to be books. There's articles, there's podcasts. But go listen and try things out. Set a budget for yourself, if you're worried about how much money or time you might sink into it. But there's so much value in committing to a minimum. And so I often, when I'm doing career coaching or management, say, OK, you said you wanted to get better at this thing. We've been talking about it for weeks. I haven't seen progress. What's going on?\n\nThey're like, oh, well, something else always comes up. OK, well, carve the time out. We're going to commit to it. And then figure out what you need to be able to stick to that commitment. So I personally am somebody-- I will not go work out unless there's a social component to it. I need my team members on my soccer team to expect me to be there and need me to be there, or I will find reasons, like, I don't need to go do that. Same thing applies to anything that you're learning or experimenting with.\n\nSo do a book club or get a buddy, where it's like, OK, we're both going to sit on this video call for an hour every Friday and try this out and see how far we get. Those are the kinds of discipline that you're still going to need to be able to adopt these tools. There's nothing special about AI there. That is just the skill and how you build skills.\n\nAnd so don't be afraid to set that minimum limit. So like, OK, I'm going to give myself $100 to go learn more about this and commit this amount of time every week to doing that. And using 100 for a round number. But again, do what works for you. That's the kind of thing that will actually get your team moving and experimenting with those things, instead of just saying, man, wouldn't it be cool if we spent some time learning on that? Because you don't get the value out of just wishing you did.\n\n**FLORIAN RATHGEBER:** Yeah, there's so much actionable advice that you've given us. I just wanted to pick up on something you said earlier, that you're still an SRE at heart. And you mentioned-- you touched on a bunch of SRE traits and what you were, quote unquote, \"brought up with.\" But now you're the director of platform engineering. So which SRE traits or characteristics have carried over into that role?\n\n**STEPH HIPPO:** Yeah. SRE is all about systems-thinking, and it's about curiosity. And there's so much that translates both into management and into platform engineering. So engineers love making systems work better, whether that's people systems or technology systems. They don't want to be woken up by a pager. They want to make sure that they're moving towards something better, something that needs less of their time, so they can go spend more time on the new, interesting problems that are popping up.\n\nAnd so that's how you design a platform. Hey, this is a pain in the butt. What could we do to make this better? And then we know the tools and processes that help make things better. So getting customer feedback, that is a post-mortem. Hey, we got feedback. The user tried to do these three things, and it didn't work.\n\nWell, we actually can do those things, but they could not find the path in our tool to do that. So is the user holding it wrong, or could we be doing a better job of our UX? And that kind of mindset that you have to bring to platform engineering. And that was always at the heart of SRE. Do something, fail, learn, repeat.\n\nAnd that cycle is actually what leads to success. No one-- I shouldn't say no one remembers little failures, because I do. I'm talking about them. They help me learn. But what gets the headlines, right, is the success at the end from all of those iterative cycles.\n\n**FLORIAN RATHGEBER:** Yeah, totally agree. Incidents are unplanned investments, as they say, right?\n\n**STEPH HIPPO:** Yes, exactly.\n\n**MATT SIEGLER:** Well, we're just about out of time. But before we round up, I'd love to ask you one more question. I'd like you to stretch and think as big as you can. What's something coming around the bend that you're really excited about, something you anticipate or are really excited about, something big 5, 10, 15 years from now that could impact your work or all of our work that you'd want to share, something you hope for the future? Anything?\n\n**STEPH HIPPO:** Oh, yeah. I'm going to think big. I would love to get to a point where we're getting to types of incidents that AI can detect and respond itself, those self-healing or self-annealing systems. I think we're still a ways off, but I think you will start to see certain classes of incidents filter out first.\n\nSo, hey, if it's very easy to see we did a rollout and something shot up, OK, move that back. Where it will be harder for the AI to catch up is some of those slow burn incidents, or maybe you have a kind of time-bomb bug in the code where you don't actually see problems until you hit a certain point of scale. That would be cool to see AI being able to solve that on its own.\n\nI think you'll probably see proactive recommendations from AI first. So say, hey, we saw this rollout. Hmm. You should check these things first, human. Is this what you intended? Maybe not. But I think, over time, we'll get there, and we'll get more classes of incidents that move up.\n\nMy team at Explorys, back in the day, was on quality automation and continuous delivery. And we were trying to tighten that feedback loop there too. And we always used to say, well, what are we going to do when we're done, when we've automated all of it and it's good? And the joke was, we're going to go bowling.\n\n**[LAUGHTER]**\n\nAnd so that's what we would say to each other, like, all right, let's do this, and then we can go bowling. But there's always something next. But I don't know. I think the AI, 10 years from now, I think we'll all be bowling.\n\n**MATT SIEGLER:** Yeah. I love this. A future of all bowling.\n\n**FLORIAN RATHGEBER:** Or at the very least, we're only left with the novel and interesting incidents, right?\n\n**STEPH HIPPO:** Yes.\n\n**FLORIAN RATHGEBER:** The rest, the AI takes care of for us.\n\n**MATT SIEGLER:** Fair.\n\n**STEPH HIPPO:** Yeah. More time for Bowling. Maybe I'll say that.\n\n**MATT SIEGLER:** More time for bowling.\n\n**FLORIAN RATHGEBER:** 100.\n\n**MATT SIEGLER:** Well, thank you very much, Steph. Florian, thank you for co-hosting. This has been the podcast. And farewell.\n\n**FLORIAN RATHGEBER:** Thanks.\n\n****NARRATOR:**** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[THEME MUSIC]**", "znaku_textu": 33698, "slov": 6297, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:12", "sha256": "7210e0d075733407815dcd5e36103f5ff3664abe0ca3eb7b7023446283af88d0", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01/", "titulek": "The One With Stephanie Hippo and Observability", "h1": "The One With Stephanie Hippo and Observability", "popis": "In this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. \nWe also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01"}, "headline": "The One With Stephanie Hippo and Observability", "description": "In this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. We also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.", "image": "https://kstatic.googleusercontent.com/files/15d950323507be2b34dbef77196c010113d347dfa140719bcc07572ea58b37364b30e4d3e26d3c4fe36f70e0002233a799cce519eba75dc804f046d58648f7a3", "author": [{"@type": "Person", "name": "Steph Hippo, Engineering Manager, Honeycomb"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Stephanie Hippo and Observability"}], "markdown": "# The One With Stephanie Hippo and Observability\n\nIn this episode, Steph Hippo, Platform Engineering Director at Honeycomb, joins The Prodcast to discuss AI and SRE. Steph explains how observability helps us understand complex systems from their outputs, and provides a foundation for SRE to respond to system problems. This episode explains how AI and observability build a self-reinforcing loop. We also discuss how AI can detect and respond to certain classes of incidents, leading to self-healing systems and allowing SREs to focus on novel and interesting problems. She advises small businesses adopting AI to learn from others' mistakes (post-mortems) and to commit time and budget to experimentation.\n\n**[THEME MUSIC]**\n\n**NARRATOR:** Welcome to season five of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**MATT SIEGLER:** Hey, everyone, and welcome back to the Prodcast. I'm Matt Siegler, and joining me today is my co-host, Florian Rathgeber. Now I'd like to welcome our guest, Steph Hippo of Honeycomb. Steph, tell our listeners a little bit about yourself and what Honeycomb does.\n\n**STEPH HIPPO:** Hi. Yeah. So I'm Steph Hippo. I'm the Platform Engineering Director at Honeycomb, which is an observability tool for understanding complex systems as you run them in production. And I was at Google for 7 and 1/2 years. And I'm enjoying life on the outside, but it's been really nice to get to come back here today and talk to you.\n\n**MATT SIEGLER:** How long have you been outside of Google with Honeycomb?\n\n**STEPH HIPPO:** I've been at Honeycomb for a year and a half now, but I left Google in May of '23.\n\n**MATT SIEGLER:** Great. Tell us a little bit more about the Honeycomb stack and what you're doing there.\n\n**STEPH HIPPO:** Yeah. So for Honeycomb, like I said, I'm on the platform side. So I am responsible for SRE teams, a lot of our enablement teams. So we've got our front-end enablement team. And that's really just about helping those teams-- the rest of the developer teams deliver better and faster.\n\nAnd that's where we're seeing a lot of the AI usage come into play for us, and how we can make sure that we're building to the quality that we want, and being able to empower all of those teams to reuse the same components for the design system, better work across design and data. And so that's been a lot of fun.\n\nWe run our own database that you can actually read about on the blog, if you want, called Retriever. And that is how Honeycomb is able to do a lot of the cool data observability, math, and features that you see. And yeah, does that answer the question?\n\n**MATT SIEGLER:** Yeah, it does. In fact, I think I heard you say something about observability. This is a big word. It comes up in a lot of circles. But I think I'd like to hear you be a little bit more specific about what that word means, and speak to it about what Honeycomb offers, and something more in depth about what that should mean to us, especially in production.\n\n**STEPH HIPPO:** Yeah. So at the heart of it, observability is about being able to observe and understand complex systems based on what you can see from the outputs. So you can instrument the kind of data that you want to be able to track, maybe different events as they occur throughout your system, and then, as you're running things in production, being able to watch some of that live and look at, where are we seeing problems in the system? And if we're getting a lot of user errors, can we alert on that? And so it's really at the foundation of SRE being able to understand what's happening in your systems and respond to it so that you can deliver the best user experience possible.\n\n**FLORIAN RATHGEBER:** That's a very good definition. Thanks, Steph, for setting us the stage. So this season of The SRE podcast, we are continuing our theme from Season 4, which is Friends and Trends. And, well, obviously, you're an observability friend, but we can't-- I guess, we can't avoid jumping into some of the buzzwords that are floating around everywhere. So in your view, how does AI influence observability and vice versa?\n\n**STEPH HIPPO:** Yeah, they're buzzy for a reason, right? So when you're seeing more talk about AIOps or how different companies are adopting AI tooling, at the heart of all of those approaches is really rich data context. And that's what helps make AI valuable and helps good AI stand out from bad AIs. And good versus bad in this context, let's say helpful versus unhelpful.\n\nAnd so what we're seeing a lot of with AI and observability is they actually feed into each other. The more that you're using AI, that is a complex system, because you are looking at things from a more probabilistic perspective, rather than deterministic. That's going to introduce some uncertainty. There are appropriate places to use that and inappropriate places. And I think, as an industry, everyone's kind of feeling their way out at what they're finding AI to be particularly good at problem solving at any given time.\n\nAnd at the same time, AI is getting faster and getting better, being able to hold more context. So as you're running those AI systems, you also need more observability, or I would say, more refined observability, to understand what effect that's having on your system. So I see AI in observability as kind of being a self-reinforcing loop back into each other. So observability is what gives you confidence in your AI. And your AI can also help you better navigate your observability and understand your system better.\n\n**MATT SIEGLER:** In the point of contrast, could you explain to us perhaps where we were not too long ago when these AI insights were not so available? What were we doing just prior, when we were just using plain old math?\n\n**STEPH HIPPO:** It's all math underneath the hood, right? But the plain old math. I think, when I look back on the SRE teams that I kind of managed at Google, the thing that we always had drilled into us was, know your system, know your system, know your system. As time went on, and as it does in the history of computing, we're able to pop up the stack in a level of abstraction with each new technology.\n\nI remember my operating systems professor in college telling us about how he used to artisanally install operating systems, and it would take 30 days, and they liked it that way. And that's something we've advanced quite past from these days. And I think we're going to see the same things with AI.\n\nIf you're taking a look at-- the best example that I use, how do you raise a junior SRE? When you first come in as an SRE, we might be looking at system diagrams, getting them familiar with maybe specific dashboards that we had to craft ourselves. Hey, here's where you find the logs, which are separate from the traces, which are separate from these metrics that we have over here.\n\nAnd they start building their picture based on the team knowledge and being walked through that system with quite a bit of hand-holding. I actually think that's valuable from a team perspective, and we can talk more about that later. But when you're now training a new SRE today, there's a lot more available to them for the AI tools to get their bearings.\n\nSo if you were to drop me into a new system today, I would want to know, where are the problem areas? What graphs get looked at the most? Are there any troubling trends you see over time? Show me your SLOs. And those are things that we're seeing AI can help bring to the forefront.\n\nAnd so if you are a junior SRE that maybe doesn't know yet the right questions to ask, AI is helping to bring those more to the front. I think it's also been fun to compare-- I remember even when I was a junior SRE, I was paired with a senior SRE that was new to our team but had been at Google for a long time. And it was as we were starting to have the rise of more web app kind of tools for understanding SRE. And he was mind boggled that I was reaching for the web tools first, when he was like, the muscle memory of the commands that he would run to get the same information were just baked into him.\n\n**MATT SIEGLER:** Right.\n\n**STEPH HIPPO:** And yeah, we just laughed. We were both getting the same answer in just very different ways, and neither one of us would have thought to reach for the other tool the person was using. And so I think AI is going to be another layer of that.\n\n**FLORIAN RATHGEBER:** Yeah, totally. So thanks for sharing your experience. Like, if you try to put yourself into the shoes of a new aspiring SRE these days, either from your personal experience at Honeycomb or also what you imagine it be like, because you also have a reputation to care a lot about the end, the management side of engineering, like eng management and whatnot. So what change has AI brought to the experience of a junior SRE?\n\n**STEPH HIPPO:** I think there is value to asking questions to your team members directly. That is how you build rapport. It's how you feel out safety. Who's going to be somebody that I can ask, maybe, the dumb question in front of that I might be embarrassed about or learn who the experts are in your team in a particular area? And so I don't think it'll ever be fully AI for onboarding or things like that. That human connection is still what makes top-performing teams and high levels of psych safety.\n\nSo where I do see more junior engineers getting a lot of benefit out of AI is asking better questions. Maybe you ask the AI a few questions first so that you can show you've done your homework when you go to ask the human. Julia Evans has a great set of blog posts that I always include in my team onboarding documentation, no matter which team I'm running. It's about asking good questions, and then making sure that you're making a good use of people's time.\n\nAnd so as an industry, we have not always been the most welcoming that way. There's Let Me Google That For You, or RTFM. And you actually don't want to shut down all of those questions because that is the psych safety building.\n\nBut if I can ask an AI, hey, where do I learn about this part of the system? Maybe it can give me some places to start. And then it can quiz me on it or something or rubber duck so that if I do get stuck, I hit the edge of what the AI can do for me, now I can go connect with human, and I can actually focus more on where I want to have the conversation.\n\nWhen I first became an SRE, I had a great TL that did an Ask Me Anything session with me three times a week. And the deal was, I wasn't getting out of it. I had to show up with questions. And if I didn't, he was going to pick a topic and just talk about it.\n\nAnd so I think about how I would do that these days. And I would maybe tell my mentee, go ask the AI about this kind of thing, and then come to me, and we'll fill in the gaps that you weren't able to piece together. So I think that, as a junior engineer, can be really powerful.\n\nOn the career development side, you've got job ladders. I do a ton of work as a manager, especially with junior engineers, really helping those engineers understand what their job is and what growth looks like. And I'm always pulling out whatever the job ladder is, being able to teach engineers how to talk about their work.\n\nI'm a big fan of keeping a work journal and writing things down week to week, not just for being able to prove things at performance review time, but because that reflection helps you get better at your own job. So I still do it, and I can take a look at my journal at the end of the week and be like, OK, I spent a ton of time on this kind of work. I think I need to set aside some deep focus time for that, or I need to ask somebody that has more experience in this area for what I should do next.\n\nOr, hmm, I see the next level on the job ladder talks about this kind of work instead. I don't think I'm getting opportunities to do that work yet, so I don't even know if I'd like it or if I want that next level job. Maybe I can talk to my manager about what those opportunities would look like.\n\nAnd I think there's a lot of room for AI there and rubber ducking and seeing, hey, is the work that I'm currently doing matching that job ladder? And so I really see AI there helping to still get at the heart of engineering manager fundamentals, but doing it in a way that is more structured to help people make the better use of that time when they are face to face. I don't want to see AI take the human element out of running teams or management.\n\n**FLORIAN RATHGEBER:** It sounds like you have really dug quite into the career development and what's the role profile and the expectations and whatnot. In your view, has that significantly changed in the couple of years in the light of AI?\n\n**STEPH HIPPO:** Yes, and I think it's going to continue, too. I think it's a tough time to be a junior engineer, trying to either break into the field right now or folks coming out of boot camps, things like that, because there's a lot of talk in the industry right now on, hey, is AI replacing your junior engineer?\n\nAnd I think that particular question is for the shock of the headlines. It's not going to replace junior engineers because senior engineers don't grow on trees. So as an industry, we do still have to keep growing our engineers. That's just something everybody needs to do. And there are a lot of benefits of bringing in fresh eyes to your team.\n\nI love to tell the story of when I was new to SRE. I had established that relationship with that great TL. He had handed me a project. And I went to him because I was so stuck. I did not know how to handle this one edge case. And I said, Dave, sorry, I need help here. Can we talk through it on the board? And how do I handle this edge case?\n\nAnd Dave just kind of stopped and put the marker down. He was like, we have to cancel this. This will break so many things. Don't do this. And I was like, oh, OK. And he was like, I hadn't thought about this edge case, but hey, that's the value of you having an outside perspective. Yeah, we can't do this.\n\nAnd so, I mean, the downside there was I had my project canceled, and I was bummed, but I didn't break the bigger system. So, you know. So it is going to change the kind of work that we're giving to junior engineers when they first come on. I think there's the traditional advice, you have the starter bugs and things like that. I don't think that will go away.\n\nBut if we're seeing AI being able to take on more of those kind of background tasks and AI agents, first off, you actually don't have to have the AI do all of that. There is still some value into just leaving that there for more junior engineers. That's typically not business-critical work. It's context building, rapport building work for the team. And there is value in an engineering team as well.\n\nSo you don't have to give everything to AI. But it can also change the type of work that's available. And I think you'll see more ride-alongs for junior engineers. So I want to see junior engineers pairing with an AI and a senior engineer. But I want you, as a junior engineer, thinking about, how am I seeing the senior engineer use AI? How is the senior engineer asking questions, and why are they reaching for those questions first?\n\nOne of the things that I really loved about my time at Google, when I first got to SRE, all the incident command was still done on IRC. And I could, as a junior SRE, just follow along, outages that my team wasn't responsible for. Stayed out of the way, but I could listen and watch. No one would mind that I was there.\n\nAnd I was looking at, hey, what is this senior engineer looking at first? Oh, I would not have thought to check that. How do I learn how to go check that and watch what they were doing and how they were talking? And I just thought that was so valuable. And so what I'm hoping we see with AI agents-- and one of the things that we talk about at Honeycomb a lot-- incident management in particular, it is a very social activity.\n\nSo when I, again, was an individual contributor doing incident management, you might have the incident doc going, you've got your incident comms going out, you're talking back and forth, maybe with other teams that are affected, trying to understand what could be going on. I think you're going to see a lot of that in shared AI agents now.\n\nSo if I can ask the AI, like, hey, what are we seeing here? It's really helpful if we can all just have the same view. Honeycomb is fully distributed, and so we don't have the shoulder-surfing advantage that you might get to some of the in-office work. But the benefit of that is we're forced to build tools that have good collaboration.\n\nAnd so, instead of just pasting around the same dashboard link to everybody to open up, can we all just be looking at the same AI agent that's saying, hey, look at this, look at this, look at this? And being able to talk back and forth on what we're seeing, whether we think something is relevant to what's happening or might be a red herring. And so, again, a lot of the social part of engineering, I think, is going to stay for a while. It's how we interact and how we talk about it that's going to start changing the shape of it.\n\n**MATT SIEGLER:** That was a really excellent walkthrough, by the way. I very much appreciate how you've taken us through the ecosystem of your technical staff, the bigger picture of the incoming talent pool, the maturity of your existing talent pool, the fact that we're in a very disruptive time with a very high rate of change of the influence of AI on both the engineering stack you're using, as well as the skills of the people operating it and responding to it. So this is a strange world we're in right now where both the tool kits, and the people using the tools are influenced by this as well.\n\nSo that's pretty fascinating, and it sounds like you're handling it, I would say, in a fairly progressive and inclusive way, which I'm finding kind of fascinating. And I'd like you to talk a little bit about the business realities that you're in and how maybe you're met with both either resistance or inclusiveness of it. Can you talk about some of the contrasts when you say, hey, we're using some of these tools, and let's talk about some of your client interactions, or people are receptive, or maybe even not wanting that. How's that gone, when you say, we're doing this, it's great stuff, and they're like, whoa, we definitely don't want you to do it that way? Or like, cool. Here's some opposing perspectives on this.\n\n**STEPH HIPPO:** For sure. I actually think one thing that's kind of unique about my viewpoint right now, I'm just coming back from four months of maternity leave. And so I did not do a ton of AI with my baby while on leave. And so, it turns out, four months is a long time for AI to make some jumps and advancements.\n\nAnd so I was getting updates from the team. I saw some launches going out, but I didn't really get to start playing with some of what we had actually shipped until I got back a couple weeks ago. And so it was so cool to see, back in May, before I went out, I had a lot of engineers that were kind of skeptical. They were like, oh, this still isn't useful to me. It's actually like more work to try it out than the benefit that I'm getting. I'm not seeing the ROI.\n\nJump to now, some of the folks that were very skeptic and moved to either bargaining or acceptance and saying like, OK, wow, I get this now. I'm seeing the value. And we are seeing that with some of the customers too. So we recently were hosting our O11y Day in San Francisco. There's some great videos online about that.\n\nAnd our AI team did a LinkedIn takeover, if you want to check out some of the things that they were talking about. There's some great examples there of where, I think, you can see-- and this isn't necessarily unique to Honeycomb. But you can see where engineers are starting to hit a tipping point of, OK, I'm finding more places to do this. I think engineers really crave nuance in these conversations.\n\nA lot of the places where I was seeing engineers get frustrated, maybe, in some of these initial waves of AI, is they would see one thing promised in marketing. And then they didn't really see that being useful for their set of problems yet. And part of it was like, OK, that marketing is actually-- you're not the target audience for that.\n\nBut for your AI tools and your engineering tools, here are the things you have to try. It is a skill set, to be able to get more value out of that. And I think we're seeing customers figure it out too. And so everyone's starting to have their light bulb moments.\n\nAs I mentioned earlier, with observability and AI feeding into each other, having that rich context about your own systems just lets you unlock so, so much. I'm not looking to go back to being an individual contributor, but man, does it seem like it would be a lot of fun to get to experience that sort of magic of understanding and just asking AI, hey, tell me about user adoption of these tools, or these features that we shipped.\n\nAnd I can pull up and see how our rollout has been going, see how it's holding with our error messaging or our performance and our SLOs. How does that correlate? And so things that I used to have to build those queries by hand, AI is just like, cool, I got this, and is this what you want? And I can say--\n\n**MATT SIEGLER:** Definitely.\n\n**STEPH HIPPO:** --close, or close enough. And so that is making a big difference. And so, yeah, I think we'll see more and more of that kind of loop. So if I have good observability, I have good understanding of my AI systems and how to improve them. And then as I continue to launch more features, AI or not, if I'm doing the work of instrumenting that code, then it's going to feed back into my observability.\n\nAnd that's the kind of feedback loop that we're always looking for in engineering, to make things stronger. And so I think that's what we're going to see, and that's what customers are already starting to see now, with some of the AI tools and observability tools that Honeycomb and elsewhere.\n\n**FLORIAN RATHGEBER:** Yeah. So you mentioned how much things have evolved during the time you were out on parental. So internally at Honeycomb, or in your experience, how do you stay on top of that super rapidly evolving field and all the complexity that it brings?\n\n**STEPH HIPPO:** Yeah.\n\n**FLORIAN RATHGEBER:** And stay up to date and, yeah, basically managing all that.\n\n**STEPH HIPPO:** So again, I think it's just such a big part of engineering that's still social. So we want folks to be taking that time to experiment and try new things, and then just be really honest on what they're finding valuable and not. You don't have to come in and pretend that AI is bringing all this value and solving all your problems if it's really frustrating. Let's have a nuanced conversation about where it could be better, and then how do we apply that to our product?\n\nHoneycomb also dogfoods a ton. We use Honeycomb at Honeycomb to understand Honeycomb. And again, having that feedback loop is just super helpful. I ran a book club earlier this year on ethics and computing, and we talked a lot about AI there. Where do we feel the ethical line is for problems in our space? And how are those going to continue to change and evolve? And what are things that we want to keep an eye out for?\n\nAnd so we love playing around with new tools. And especially as a platform org, I want to know what's going to give us the biggest bang for our buck. Do we want to try this new tool? Do we want to hire here to be able to explore more on building some of those features into our software development lifecycle? Where does it make sense?\n\nAnd so one thing that's always been true, but that AI, I think, is still going to change how we do it, is you need to leave room for that innovation and experimentation budget. There's always going to be a deadline coming, but you have to set aside that time for learning and exploring. And if you don't, you'll actually fall behind, and you'll spend so much time polishing something that's quickly falling out of date because the rest of the industry is continuing to keep moving. So that's how we approach it. And try some things out. If you hate it, tell us. But be an informed hater and help make it better.\n\n**FLORIAN RATHGEBER:** If we only had more of the more informed haters rather than the destructive kind.\n\n**STEPH HIPPO:** Yes.\n\n**MATT SIEGLER:** Speaking of being informed, some of our listeners are really small or quite small businesses who do want to adopt these tools. They find themselves struggling to make sense of the chaos around them. They want to innovate on their work. How do you suggest they take an approach that makes sense in their business that isn't just throwing things at the wall, and do it in an intelligent way, incorporate it into their practices?\n\nClearly, you're doing it in a way that's really working for your industry practices. What do you say to someone who wants to get started that wants to do it in a sensible way? They want to do it in a safe way. Give some advice.\n\n**STEPH HIPPO:** Again, I'm an SRE at heart and really feel like, when I stumbled into SRE, I found my people. But the cheapest way to learn is from other people's mistakes. In SRE, we call that post-mortem culture. And so being able to hear other people's success stories, but also, there's so much value in, hey, this is what worked, and then this is what didn't. And here's what we would have done differently.\n\nAnd so, you always have to filter if the advice is right for who you are, where you are, and stage of company. But go listen to what other people have done. Read what they've done. If they're publishing post-mortems or retros, whatever it is, ask the AI. You can see so much of what people wish they had thought of, or, oh, I would not have thought to approach that problem that way. Much like when I said I was learning to be a junior SRE.\n\nAnd so one of the things that has been at the forefront of my mind lately, in college, I actually worked at a startup called Explorys that was purchased by IBM to become part of IBM Watson Health. Actually, my mentor there just published a book on this. It's The Rise and Fall of IBM Watson Health. That is a post-mortem, and it is fun.\n\nOK, I'm a little biased because I got to see it. I had front-row seats. But a lot of that talks about where maybe AI back then had the overpromising and under-delivering. Where did the tech fall short? What could we have done better? That's all relevant now. And Explorys was sold to IBM in 2015, I think. And so those are the kinds of things. Go find those.\n\nAnd they don't all have to be books. There's articles, there's podcasts. But go listen and try things out. Set a budget for yourself, if you're worried about how much money or time you might sink into it. But there's so much value in committing to a minimum. And so I often, when I'm doing career coaching or management, say, OK, you said you wanted to get better at this thing. We've been talking about it for weeks. I haven't seen progress. What's going on?\n\nThey're like, oh, well, something else always comes up. OK, well, carve the time out. We're going to commit to it. And then figure out what you need to be able to stick to that commitment. So I personally am somebody-- I will not go work out unless there's a social component to it. I need my team members on my soccer team to expect me to be there and need me to be there, or I will find reasons, like, I don't need to go do that. Same thing applies to anything that you're learning or experimenting with.\n\nSo do a book club or get a buddy, where it's like, OK, we're both going to sit on this video call for an hour every Friday and try this out and see how far we get. Those are the kinds of discipline that you're still going to need to be able to adopt these tools. There's nothing special about AI there. That is just the skill and how you build skills.\n\nAnd so don't be afraid to set that minimum limit. So like, OK, I'm going to give myself $100 to go learn more about this and commit this amount of time every week to doing that. And using 100 for a round number. But again, do what works for you. That's the kind of thing that will actually get your team moving and experimenting with those things, instead of just saying, man, wouldn't it be cool if we spent some time learning on that? Because you don't get the value out of just wishing you did.\n\n**FLORIAN RATHGEBER:** Yeah, there's so much actionable advice that you've given us. I just wanted to pick up on something you said earlier, that you're still an SRE at heart. And you mentioned-- you touched on a bunch of SRE traits and what you were, quote unquote, \"brought up with.\" But now you're the director of platform engineering. So which SRE traits or characteristics have carried over into that role?\n\n**STEPH HIPPO:** Yeah. SRE is all about systems-thinking, and it's about curiosity. And there's so much that translates both into management and into platform engineering. So engineers love making systems work better, whether that's people systems or technology systems. They don't want to be woken up by a pager. They want to make sure that they're moving towards something better, something that needs less of their time, so they can go spend more time on the new, interesting problems that are popping up.\n\nAnd so that's how you design a platform. Hey, this is a pain in the butt. What could we do to make this better? And then we know the tools and processes that help make things better. So getting customer feedback, that is a post-mortem. Hey, we got feedback. The user tried to do these three things, and it didn't work.\n\nWell, we actually can do those things, but they could not find the path in our tool to do that. So is the user holding it wrong, or could we be doing a better job of our UX? And that kind of mindset that you have to bring to platform engineering. And that was always at the heart of SRE. Do something, fail, learn, repeat.\n\nAnd that cycle is actually what leads to success. No one-- I shouldn't say no one remembers little failures, because I do. I'm talking about them. They help me learn. But what gets the headlines, right, is the success at the end from all of those iterative cycles.\n\n**FLORIAN RATHGEBER:** Yeah, totally agree. Incidents are unplanned investments, as they say, right?\n\n**STEPH HIPPO:** Yes, exactly.\n\n**MATT SIEGLER:** Well, we're just about out of time. But before we round up, I'd love to ask you one more question. I'd like you to stretch and think as big as you can. What's something coming around the bend that you're really excited about, something you anticipate or are really excited about, something big 5, 10, 15 years from now that could impact your work or all of our work that you'd want to share, something you hope for the future? Anything?\n\n**STEPH HIPPO:** Oh, yeah. I'm going to think big. I would love to get to a point where we're getting to types of incidents that AI can detect and respond itself, those self-healing or self-annealing systems. I think we're still a ways off, but I think you will start to see certain classes of incidents filter out first.\n\nSo, hey, if it's very easy to see we did a rollout and something shot up, OK, move that back. Where it will be harder for the AI to catch up is some of those slow burn incidents, or maybe you have a kind of time-bomb bug in the code where you don't actually see problems until you hit a certain point of scale. That would be cool to see AI being able to solve that on its own.\n\nI think you'll probably see proactive recommendations from AI first. So say, hey, we saw this rollout. Hmm. You should check these things first, human. Is this what you intended? Maybe not. But I think, over time, we'll get there, and we'll get more classes of incidents that move up.\n\nMy team at Explorys, back in the day, was on quality automation and continuous delivery. And we were trying to tighten that feedback loop there too. And we always used to say, well, what are we going to do when we're done, when we've automated all of it and it's good? And the joke was, we're going to go bowling.\n\n**[LAUGHTER]**\n\nAnd so that's what we would say to each other, like, all right, let's do this, and then we can go bowling. But there's always something next. But I don't know. I think the AI, 10 years from now, I think we'll all be bowling.\n\n**MATT SIEGLER:** Yeah. I love this. A future of all bowling.\n\n**FLORIAN RATHGEBER:** Or at the very least, we're only left with the novel and interesting incidents, right?\n\n**STEPH HIPPO:** Yes.\n\n**FLORIAN RATHGEBER:** The rest, the AI takes care of for us.\n\n**MATT SIEGLER:** Fair.\n\n**STEPH HIPPO:** Yeah. More time for Bowling. Maybe I'll say that.\n\n**MATT SIEGLER:** More time for bowling.\n\n**FLORIAN RATHGEBER:** 100.\n\n**MATT SIEGLER:** Well, thank you very much, Steph. Florian, thank you for co-hosting. This has been the podcast. And farewell.\n\n**FLORIAN RATHGEBER:** Thanks.\n\n****NARRATOR:**** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[THEME MUSIC]**", "znaku_textu": 33698, "slov": 6297, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:01", "sha256": "7210e0d075733407815dcd5e36103f5ff3664abe0ca3eb7b7023446283af88d0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02", "titulek": "The One With SLOs", "h1": "The One With SLOs", "popis": "In this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02"}, "headline": "The One With SLOs", "description": "In this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!", "image": "https://kstatic.googleusercontent.com/files/3e2ad8870f0983802427357572bbcb84bd8142cefe30b01f09acf37d6109e64e0e91e8a6d54bd2be2710a68ee8497077442f8f8f9c9c4793a486d9f638c57e78", "author": [{"@type": "Person", "name": "Alex Hidalgo and Brian Singer, nobl9"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With SLOs"}], "markdown": "# The One With SLOs\n\nIn this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!\n\n**SRE-S5-E1-SLOs-w-Alex-and-Brian.1.1**\n\n**MUSIC PLAYING] SPEAKER 1:** Welcome to Season 5 of The Prodcast, Google's podcast about site reliability, engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey everyone, welcome back. We're on Season 5. Count em, five. I can't believe it. This is The Prodcast, Google's podcast about SRE and production software. As always, I'm joined by a few folks.\n\nToday we have our friend Matt, and then two other folks who are going to introduce themselves in just a second. But Matt, did you know that not everything is perfect all the time? That sometimes we have to accept problems, they just happen and that's OK? What do you think? Is that OK or should we--\n\n**MATT SIEGLER:** I've heard of this. I've heard this. This is a thing. Don't let the, was it, perfect be the enemy of the good? Is that the thing?\n\n**STEVE MCGHEE:** That's right. You can't just demand perfection and be like, work harder, darn it. Come on, people and computers. Anyway, our friends here will have more to say about that. Why don't we have them introduce themselves? Let's go in, I don't know, alphabetical order by first name. That's always fun. Let's do that.\n\n**ALEX HIDALGO:** Hey, everyone. My name is Alex Hidalgo. I was a long time SRE at Google. I spent the last part of my time there on the CRE team, the Customer Reliability Engineering team, where our remit was to help Google's largest cloud customers learn how to do SRE. And one of the things we learned pretty early was that not everyone speaks the same language.\n\nRight? Different verticals, different industries are going to speak in different ways. And so we had to establish a common vernacular of sorts. And what we figured out was that vernacular had to be Service Level Objectives, SLOs. So a thing I had done at Google previously, but that's when I really fell in love with the concept. I moved over to a company called Squarespace, where they kind of asked me to do SLOs, and eventually, I was tricked into writing an entire book about the concept.\n\n**MATT SIEGLER:** Sucker.\n\n**ALEX HIDALGO:** Yeah.\n\n**STEVE MCGHEE:** Way to go.\n\n**ALEX HIDALGO:** It was not my intention, but it somehow happened. And now I am at Nobl9, which is a company that helps you really better understand the reliability of your platforms, of your services, and how you are operating in terms of your customer experience.\n\n**STEVE MCGHEE:** Cool.\n\n**BRIAN SINGER:** I guess that makes me next. I'm Brian Singer. I'm the co-founder of Nobl9 and the Chief Product Officer. Like Alex, I was also a Googler. I had a company that was acquired by Google and spent some time at Google Cloud, which was my introduction to SRE and SLOs.\n\nI fell in love with the concept also. As a product manager who had also been the founder of a startup, who was the person who got all of those customer complaints over the phone when things weren't working correctly, it was amazing to me that there was an engineering concept that we could implement that could basically say, well, this is what would stop me from getting customer complaints. Can we just manage to this?\n\nAnd as it turns out, SLOs, Service Level Objectives, are actually fairly difficult to adopt in practice in enterprise. And so that was really the concept for starting Nobl9. Could we use a little bit of software and tooling to make these, the concepts, which in theory are pretty straightforward, but in reality require a little bit of work to adopt, easier to use in the enterprise?\n\n**STEVE MCGHEE:** Yeah. So SLOs, they're actually, I think, one of the more, not even popular, but it's like one of the things that people are most aware of in the SRE space, when they're new to it. It's like one of the things that people grab onto, like early. They're like, aha, a thing. Let's do that thing. Has that been good or bad for business?\n\nLike, what do you think? Has it been a great success in people just nail it or is it problematic in any way? How have you seen this work?\n\n**BRIAN SINGER:** We've seen the full spectrum, Steve, believe it or not. So we've seen cases where companies are incredibly successful adopting SLOs. And we can talk about what that means, because you can have success in a number of different ways.\n\nWe've seen instances where the adoption hasn't gone particularly well, or where it's been hard to just get the sponsorship needed to get that initiative off the ground. I think the common thread, though, when we've seen successful adoption with customers is that the teams that are responsible for writing the code and running the code are also responsible for creating the service level objectives and using the service level objectives. And I know Alex has some strong feelings about this, but where it gets off the rails is where these things are imposed or created by others, and they become more of a compliance or check the box exercise.\n\n**ALEX HIDALGO:** Yeah, I mean, the whole approach is really about thinking about what does the user of your service need. And I always try to say user instead of customer, because it's not just about the people external to your business who may be interacting with your company. It's, if you are in charge of a database, your users might be the team down the hall, right? And you need to make sure that you are being reliable in the way that they need you to be.\n\nAnd so at a certain level, SLOs really need to be bespoke. They need to be artisanally crafted for the best possible outcomes. You need people to really think about this stuff, right? Just slapping an SLO on every single microservice, every API endpoint you have and saying every response has to complete within 200 milliseconds, that's just a good path to failure because not every API endpoint follows the same code path. It doesn't talk to the same back end.\n\nYou really got to make sure that you're spending time thinking about how to actually implement this stuff. And so yeah, I agree with Brian, some of the biggest failures that we see are actually companies that really, really want to do SLOs, but it's such a mandate that individual teams and individual engineers even don't have the time to communicate with each other to figure out what these things should actually look like. What should the SLI, Service Level Indicator, be? What should the SLO be?\n\nHow are we going to use our error budgets? Because SLOs are communication tools as much as they are anything else. And so if you're not communicating with the people that either depend on you or the people that you depend upon, you're not going to make the right choices.\n\n**STEVE MCGHEE:** OK, this is kind of pulling a thread in my mind here, the different roles. And let's say your organization has some roles defined. You have production level roles, monitoring and responding to production. You have some product management goals, helping set expectations for what this product is supposed to be doing and how it's supposed to behave and what its users need.\n\nYou have some developer roles, which are actually building and crafting and releasing, and they're all working in some ecosystem, big or small. It doesn't matter. And we have these SLOs and they're hopefully being communicated in concert between them.\n\nAnd let's talk at some extremes. A healthy organization, how is that working out and how are they doing that together? And then perhaps think in the opposite. When does that go wrong and what are some of the smells that you see?\n\n**ALEX HIDALGO:** Yeah.\n\n**BRIAN SINGER:** I don't think that there's a one size fits all approach. Every organization we've been into is a little bit different. And I think, just give you an example, you go into certain financial institutions or banks and you just try to log in. And I've seen diagrams where it's hitting 50 or 60 systems on the back end.\n\nSo an SRE that's trying to support a login journey that is traversing 50 or 60 systems on the back end has a very different set of things to worry about than maybe say, an SRE that's working at a place like Nobl9, where it's pretty easy to understand who owns each of these systems and issue an edict and whatnot. So I just want to preface by saying, there's no one size fits all approach that we've identified.\n\nBut in larger companies, what I've seen work really well is where there is a team that is responsible for the practice of using SLOs and some of these SRE practices in general. They are not necessarily creating the SLOs for every team out there, but they are acting as consultants and advisors, and they are ensuring that teams are following those best practices.\n\nThey're almost, in some cases, like arbitrators between the different parties that have a stake in the SLOs. Because SREs in many enterprises just fall into this, a lot of the time, this incident responder type role, where they're not really doing the SRE work of reducing toil necessarily. It is just incident response. And that's where having some of the centralization and oversight to say, well, these SREs, they're going to spend some of their time creating SLOs and making sure that you have the ability to do canary deployments and things like that.\n\nSo just that's where I've seen a lot of success, where you have the ownership of creating the SLO with an SRE or developer team responsible for the code base, responsible for the incident response, but this oversight role that is maybe responsible for some of these user journeys that cut across different teams. And that's, I think, the most challenging thing in many companies is where you have responsibility for the reliability of a user journey, but you don't own the underlying code that user journey traverses across a number of different systems. And that is so common, I think, in many companies.\n\n**ALEX HIDALGO:** Yeah. I mean, like a thing I've seen so many times is people not assigning the responsibility to be an SLO evangelist to either an individual or a team. And it's not like it necessarily has to be the only thing they do, but it does has to be understood that it's part of their role. So you have to carve out time in your sprint planning or however you might manage things to say, this person or this team is spending x percent of their time explicitly being an internal consultant in terms of helping other teams adopt SLOs.\n\nThe other thing that Brian touched is once you move beyond a single team, a single SRE team that might own a single service, how do you get ownership of these SLOs of higher level user journeys? And the best way to do this, and I've seen this. Like, it works, is at some level, perhaps the product manager owns that SLO. That doesn't mean they necessarily have to implement it. It doesn't mean that they necessarily have to figure out how to emit the correct telemetry from the code that will be able to inform the SLI, which then informs the SLO.\n\nBut they're the ones who look at it and make the decisions based upon the status of that SLO. And as you move even higher, perhaps a director owns it. Perhaps the VP of engineering needs to own it. And again, it's not that they're the ones even picking what the target is, but they need to be the ones owning the decision making process of what the data of that SLO is telling you.\n\n**BRIAN SINGER:** Now, one thing I would add is just what I would really caution is once you have a central team of SREs that have some oversight across the organization, it's very easy for them to come in and say, I'm going to just create the SLOs for each of these teams or for each of these critical services. And that, I think, is a very slippery slope. Because when those teams don't have ownership over the SLOs and don't create them, it's very hard to get buy in for them to actually use them and maintain them. And SLOs are not a one and done, I'm going to create it and it's going to be the perfectly artisanal, as Alex said, SLO, and we're never going to have to touch this again.\n\nThe reality is, they're changing all the time because the conditions of the service you're delivering change, the features in the service change, the customers might change, and you're having probably incidents all the time, which are giving us new data to implement new SLOs or adjust these. So being able to go back and the teams that are responsible for them saying, well, this isn't telling us what we thought it was telling us, we're going to go spend some time on changing this, is incredibly important. Because if that's not happening, then those teams are not going to make decisions based on what the SLOs are telling them. And that really is the crux of what we're doing.\n\nYes, there are operational use cases for SLOs and we can get into the alerting and what that means. But Alex likes to say these are tools for making decisions, and if the people that would be making decisions aren't bought into what the SLO is telling them, or what it means for it to be read, then it really is a wasted effort. And that is, I think, the biggest risk.\n\n**STEVE MCGHEE:** So I heard a good take recently, which was that at its core, SREs, one of SRE's main jobs, is turning trailing indicators into leading indicators. Like, taking a graph and being like, I think what this really is telling us is we should look out for the thing that's coming up soon, or at least looking at the past and predicting the future, which is kind of what we're doing as humans all the time anyway. And I imagine that the way that this works into SLOs is like, without SLOs, you have a dashboard of 10,000 graphs and you pick one. Which one is the one that's important?\n\nIt's at least a way to centralize, when we're talking about, is the stuff good, and is it going to stay good, and do we need to freak out or prevent or take on a two quarter long reinvention of a thing? Which is the graph that we care about or can we construct a new one? So this is one of those critical, pick the right thing that represents both the technology and what's our bottlenecks, but also how the customer is feeling and where we expect to go with this product.\n\nAnd a good example of this is like we'll see, sometimes customers will have a service where the SLO is unhappy and they're like, it used to be fine. We didn't change anything. We don't know what's going on. And really what happened was the customers changed. The way that they use your service has changed. The world has changed around your product, and now you're just measuring the wrong thing.\n\nIt used to be X and now it's X.2 or something like that. So how do we fix this? Apart from just being flexible and being ready to adjust on the fly, like, do you advise companies to get in front of changes and provide alpha SLOs or something? How do you do this?\n\n**BRIAN SINGER:** Yeah. Yeah, I can add a couple things and Alex probably, I'm sure, has some thoughts. I think one of the areas we identified is having consistent revisit dates for SLOs, especially critical SLOs, where the definition is revisited. We look at, is it still telling us the thing that we thought it's telling us? And that can be quarterly, or it could be bi-annually or something like that.\n\nBut having that consistent cadence. And one of the challenges that we identified with actually running an SLO program is for these central SRE teams that are trying to understand, do we have high quality SLOs, sort of high signal to noise? Are the folks that implemented the SLOs revisiting them?\n\nAre they looking at them on a consistent basis? That's a really good indicator of whether they're stale, so to speak. So that's something that we can help with in product, of course, but also there has to be a culture of doing that as well.\n\n**ALEX HIDALGO:** Yeah. I mean, a thing I see a lot is that people often get attracted to SLOs, especially in the operational side, like, on the production side. Because they're like, oh, we're going to get better alerting. We're not going to be woken up at 3:00 AM.\n\nThat's a very easy story to tell. Right? Like, SLOs are superior to threshold based alerting. We don't care about CPU usage. We care about, is this service doing what it needs to be doing?\n\nAnd that's a very easy story to tell and it's something that attracts people. But where I've actually seen SLOs be most useful is kind of what Brian was saying, as a historical review. On most of the teams I've been on where we've used SLOs successfully and efficiently was looking at them in our weekly sync. So Steve just mentioned the 1,000 graphs.\n\nYou might still need those for investigation later, but SLOs let you converge those into a smaller set of graphs that maybe you just scroll through those and you say, wait, that looks a little weird. Something's going on with that service. It's burning some of its budgets and we don't exactly know why.\n\nAnd then you assign someone in the next week to go take a look at it, and maybe it's a big deal, maybe it's not. Maybe it's just some dependency acting up. But it gives you a signal to at least say, let's go look at that, right?\n\n**BRIAN SINGER:** Yeah, I really like it. I use the example of pod restarts. We had a customer recently, where there was always sort of a consistent error budget burn when they had Kubernetes pods restarting, but nothing that burned enough error budget to actually go investigate what was causing that until it started happening more frequently. And they started burning error budget more consistently.\n\nWell, it turned out there was obviously a root cause, something was wrong that was causing these pods to restart more frequently. But it's, I think, a good example of understanding, when is an infrastructure problem or a bug really rising to the level of spending engineering time to go investigate it? I don't think that we have a better tool for that.\n\nAnd there's one other point that I wanted to make here, which is that when you need to communicate the value of SRE work and the value of reliability work, it's really hard to prove a negative. And that's what I think a lot of people try to do today with using incident counts or MTTR to say, oh, we're doing a great job improving reliability because we've reduced the number of incidents or because MTTR has gone down, but that, I think we all know, is a pretty poor proxy for the actual customer experience.\n\nSo the companies that have successfully adopted SLOs, now they've adopted the vernacular of error budgets, and they're reporting on that to leadership. They tend to be able to defend the work that SRE is doing in the investment in SRE, and draw a much clearer line between what they're doing and ROI and revenue, and things like that.\n\n**MATT SIEGLER:** I think you've made a good case for why and how you build SLOs and what they're for, and the process for creating them and crafting them and engaging with them and a bit of their life cycle. That was a good overview. I'm curious to hear a bit about your experience with organizations that were perhaps resistant, maybe culturally or even technically, and how you push through them, or even maybe the disengagements from them if they said no and never mind, or if they just abandoned them.\n\nI'd love to hear about why, what was their reasons or what happened there because sometimes it just doesn't work out. And those are, I assume, informative experiences. Or maybe it survived, and SLOs reigned and we all got to have cake. What happened?\n\n**STEVE MCGHEE:** Yeah, what went poorly?\n\n**MATT SIEGLER:** What went poorly? [LAUGHS]\n\n**BRIAN SINGER:** I think, believe it or not, as much as I think we want to believe observability is a universally understood concept and everybody can craft great Prometheus queries, it's actually not. And I think one of the biggest challenges is that for a lot of organizations, the engineers expect other people to just come in and build their observability dashboards and tell me what I need to know and just don't want to take ownership of this stuff for whatever reason.\n\nAnd actually, I think this is what I've seen happen in the last 6 or 12 months is LLM-based AI has actually made the barrier to entry there a lot lower, because it's just so much easier to ask an LLM questions about observability or how to build the right query and get really good answers from Gemini or somewhere else. So that, I think, is an area where AI has actually really made it easier to adopt a concept like SLOs, because there's not as much learning that has to happen.\n\n**STEVE MCGHEE:** So you're saying the world has changed a little bit, I imagine. One thing to point out, Alex, you wrote some books. Let me see.\n\n**ALEX HIDALGO:** [LAUGHS]\n\n**STEVE MCGHEE:** I have them in physical paper copies. Look at these. Look at these things. So you wrote a chapter in this one, and you wrote the whole-- look at that. That's crazy. Which parts of your book would you like to maybe not burn, but retract or change or adapt to the now future or the soon-to-be future? What has changed? What have you learned in the past 10 years, I guess, since then?\n\n**ALEX HIDALGO:** So there's quite a bit I would actually change. I was asked to write a second edition, and I actually said no, because I don't have the time because I think I would actually change quite a bit. But the major things, like the big things for people who've read the book who are curious what I would do different today, is I would spend a lot more time talking about ways you can use your error budget.\n\nSo one of the biggest mistakes I think we made collectively as Google, as Googlers writing the first two Google SRE books, was that we spent so much time talking about how if you have error budget, ship features, if you don't have error budget, focus on reliability, right? That was the basic concept put out there. And that's not how things work in the real world.\n\nOne, reliability is a feature. It should not be separated from, quote, unquote, \"feature work.\" And two, sometimes you don't own the code base. So how can you even stop shipping features and work on-- it's a very narrow view that worked very well for most teams at Google.\n\n**STEVE MCGHEE:** Yeah, it worked for Google.\n\n**ALEX HIDALGO:** Right. Right. And I've seen too many companies kind of latch on to that concept. I mean, many prospects and current customers that Nobl9 has engaged with, they come to us immediately with that as their only understanding of things. And I tried to deviate a bit in the book, but I don't think I did a good enough job.\n\n**BRIAN SINGER:** Or Alex, they even say, we don't think we can implement this vision of error budgets. So we're just not going to do SLOs at all. We get that.\n\n**ALEX HIDALGO:** Right. And so I would spend a lot more time in the book talking about the many different ways you can use error budget data to have better discussions, to have better decisions. How they're the best-- as Brian just mentioned, like a much better tool than MTTR or counting incidents for understanding how you've operated over time. They're essential to conduct proper chaos engineering, as far as I'm concerned. I don't really see how you can do chaos engineering without error budgets.\n\nThere's just so many different ways that you can use this data in a meaningful sense. And so that would be the biggest thing. We could have a whole separate podcast about what I would change in the book, but that would be the number one thing is just focusing more on how error budgets give you good data to make good decisions.\n\n**STEVE MCGHEE:** Nice. So speaking of we went over a little bit of what went poorly, I want to poke at the bear a little bit longer. Where have you found customers, they drink the Kool-Aid or whatever, like they buy into it. They implement it. Have there been backfires or have there been cases where it's like these workloads just don't do well? They don't have an SLO or something like that. Are there places where people try it and they're like, no, bro, like it didn't for reasons?\n\n**BRIAN SINGER:** I don't think it's quite so black and white like that. I think there's situations that can come up where I would say there's just a lack of executive buy-in more than anything else. And so the failure mode is just this team built some SLOs and this team didn't. And then when they went to root cause, why there was error budget burn, it was because of dependency from a team that doesn't have SLOs and has no interest in building them.\n\nAnd it's like, what do you do with that at that point? Your error budgets aren't really telling you anything that you can act on. Maybe they are. Maybe it means you need to go, remove that dependency. But that's, I think, more of the frustration.\n\nThe other is, and I guess this is a little bit of a Nobl9 plug, but just the tooling. There's a lot of tooling out there that just is not prescriptive enough, or it just flat out does the math wrong and gives bad data. Or it's just really hard to implement, and then you spend a lot of time fighting with the tooling and essentially, building software to do SLOs, even though you think that you're not doing that.\n\nAnd so that's something that we see folks struggle with. And we get there, and they say, well, we couldn't get it to work. And we've certainly created some converts there, Alex, right? But it's some combination of those. Or the one that I mentioned before, just somebody else imposed this on us. We built a few SLOs so that we could flip a checkbox to say that we had SLOs. Nobody ever looks at them again or updates them, and everybody feels like it was a wasted effort.\n\n**ALEX HIDALGO:** Yeah, I mean, those are some of the most common failure modes we've seen is this being imposed on people. You really need to build the culture around things, right?\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** Yeah.\n\n**ALEX HIDALGO:** We churned one of our earliest customers. I'm happy to just admit that. And when I met with the leader who we kind of worked with to get Nobl9 working in their system, we had a chat. We met up for beers, and we were just trying to figure out what went wrong because he really wanted it to work, right? He really wanted Nobl9 to take off. And what we realized on both sides it was a cultural problem. No one had spent enough time to get people on board, right?\n\nIt was suddenly just a new tool, a new concept. Oh, SLOs are hip, right? And suddenly, this was just kind of thrust upon this organization. And no one took enough time to teach people, here's why SLOs work. Here's why they're important. Here's why error budgets give you better data. And when no one takes the time to do, that cultural aspect of things, they're not going to see the use in the data. They're not going to understand the data.\n\nSo part of it is when it's imposed, like what we're kind of like talking about earlier, where every API endpoint has to respond within a certain latency amount. But it's also when just the concept is imposed on people. If somebody says, do SLOs, and there's no one around to teach them what they are, how to pick a good SLI, how to pick a good target, how to look at your data, when you don't have that kind of cultural aspect built in to adopting the process, then you're not going to succeed, and you're going to end up just losing the interest.\n\n**BRIAN SINGER:** Yeah, so I'm thinking through some of the most successful deployments that have been out there. I'm thinking of one e-commerce company in particular, where what they did was they chose their two most critical customer interactions, their two most critical user journeys. And they said, we're going to go in there and consult with the teams that own those and help them build really, really good SLOs and make sure that they're using those SLOs.\n\nAnd that's sort of a small enough bite of pizza that it's achievable. And then they took that and showed what they did to leadership and showed what they did to other directors in the organization. And those directors said, I want my teams to be doing that, because if this is working for these most critical user journeys, and by the way, we're supporting those user journeys in this other way, we should be doing that as well.\n\nAnd that's then where the cultural adoption starts to happen. And folks want to spend the time on crafting those SLOs. And because there is a discussion that has to happen between product managers and developers and upper management that says, what is the definition of reliability for this particular service? Who are our users? And even those conversations are extraordinarily valuable.\n\n**STEVE MCGHEE:** The lesson I'm drawing from this is like the goal is not to just click Enable SLOs on all my products in my observability suite and just be like, we did it, A+ guys. But like this actually involves thought and some real focus and some--\n\n**BRIAN SINGER:** Yeah. Look. And I get it. Everybody wants an easy button, right?\n\n**STEVE MCGHEE:** It would be nice.\n\n**BRIAN SINGER:** I can't tell you how many customers have showed up and said, hey, can you just automatically create all my SLOs? And Alex has to hold his tongue sometimes because in our business, the customer's always right. But we help them understand how that might not actually be what they're looking for in terms of the outcome of an SLO initiative.\n\n**MATT SIEGLER:** Speaking of automation and culture shifts, I would love your hot takes or deeply informed opinions on how AI is making all this possible these days. Any thoughts?\n\n**BRIAN SINGER:** I can add what I'm seeing. I know Alex's opinions of AI have evolved over the last few years, but some of the prep work that needs to be done to create good SLOs, AI can really help with that. So we've seen success taking design documents, taking PRDs, taking obviously some of the code base, feeding that into an LLM with a large enough context window and basically saying, hey, help me brainstorm what some of the SLOs should be like.\n\nYou can read what the PRD is. What are some of the things that I should be thinking about in terms of customer expectations and risks? And it's a really good jumping off point for that. Further, I think if you're trying to figure out, hey, how do I come up with the right Prometheus query to get to the SLO that I'm looking for? Again, it's like creating a regex. It can be very helpful and be a force multiplier, and some scripting as well.\n\nJust in terms of even onboarding to Nobl9, I've noticed customers need to create the scaffolding for importing all of their services into Nobl9, or coming up with some reporting or things like that. It can help make that process very productive. But I do think that because we're the users of these products, we still need a human in the loop to basically say, this is what actually makes sense for this particular service. That could change over time, but that's what I've seen so far.\n\n**ALEX HIDALGO:** Yeah, I'm still a bit of a skeptic in terms of how useful LLMs actually are. I have, as Brian said, evolved my thinking a bit. I used to be very, very vocal about how much I hated the entire concept. I'm still a bit of a skeptic, but, yeah, I do understand that it's a way for people to perhaps build better context, but it has to be built for people. It has to still, at the end of the day, be a human that is figuring out, what should we be measuring? And is this the right thing?\n\nAnd LLMs may give you a good starting point, but I do still worry that people believe in the technology too much so that when they get their LLM output to help them figure out what to measure or what their target should be, or any of that, that they might still overlook other things. Even if it's giving you good suggestions, you can't guarantee it's giving you every good suggestion.\n\n**STEVE MCGHEE:** Yeah.\n\n**BRIAN SINGER:** I couldn't agree more with Alex. I think there was an incredibly good take that-- I was talking with Amin Astaneh, who's an SRE. He's a consultant. And his take was basically, we see a lot of this AI SRE, a lot of companies that are pushing AI SRE, but really it's just sort of AI incident response. And a lot of it is just AI root cause analysis.\n\nSo I think just from a nomenclature standpoint, be very careful about what we call AI SRE, because I think at least in this group, my belief is so much of the work that SREs do is actually on the cultural and the human level. And I don't think that the AI can even approach the sort of outcomes that we get with really good human SREs today.\n\n**ALEX HIDALGO:** And part of the problem that I see there as well is that perhaps some of these technologies can help you resolve incidents and point to what system broke and where. But as a member of the Learning From Incidents community, I do worry that at some point in time, we're going to lose the troubleshooting skills that might be required of humans at various points in time. Like, at some point in time, the AI is going to fail because, well, I mean, what are we talking about? We're talking about the fact that nothing's ever perfect.\n\nAnd are you then going to end up in a situation where you don't have the knowledge within your team to actually figure out a much more complex problem? And incidents really should be all about learning. It's not just about finding a root cause. I don't even believe root causes exist, right?\n\n**STEVE MCGHEE:** Most folks have moved on to contributing factors.\n\n**ALEX HIDALGO:** Right, exactly. But it's all about ensuring that the people walk away from those incidents, having a better understanding of what happened and how these complex systems are orchestrated and manufactured and how they talk to each other or how the components talk to each other, I should say. So I do worry a little bit that, are we going to lose some of that? In the same way, I've seen a lot of takes that I think I agree with using LLMs to do your coding. Are we going to run out of junior engineers? And then what do we do when we need more senior engineers? Right?\n\n**MATT SIEGLER:** Seriously.\n\n**STEVE MCGHEE:** Everyone should read the \"Ironies of Automation\" if you haven't already. We brought that up a few times in this podcast, for sure. But I'd like to close with one final take, which is maybe hope is not a strategy. If we're hoping for these machines to save us, maybe that's not the plan, or that shouldn't be the plan.\n\nThank you guys. We've learned a lot more. I didn't know there was more to learn about SLOs, but I learned more about SLOs. I don't know about you, Matt.\n\n**MATT SIEGLER:** I did. I learned many things.\n\n**STEVE MCGHEE:** Yeah, and how it works in the real world, not just in the books and the Googles, but out in the world itself. Thank you both for coming on. It's been great. Any final pitches or where can we find you on the internet? What would you like to say about, I don't know, cats or bicycles or anything like that?\n\n**ALEX HIDALGO:** I'm very allergic to cats. I wish I could love them, but--\n\n**STEVE MCGHEE:** Or dogs. Yeah.\n\n**ALEX HIDALGO:** Right. So I'm a dog person instead. But a lot of that is due to the general allergy problems. So that's my opinion about cats. You can find me on LinkedIn. Just search my name, you'll find me. I have a very, very outdated website, but it does have a web form that does still work--\n\n**STEVE MCGHEE:** Nice.\n\n**ALEX HIDALGO:** --that you can use to--\n\n**STEVE MCGHEE:** Is it CGI? Is it Perl underneath?\n\n**[LAUGHTER]**\n\n**ALEX HIDALGO:** No, it's a Squarespace site, because I used--\n\n**STEVE MCGHEE:** What? Oh, OK.\n\n**ALEX HIDALGO:** --to work at Squarespace.\n\n**STEVE MCGHEE:** Right on, right on.\n\n**MATT SIEGLER:** Appropriate.\n\n**ALEX HIDALGO:** I just haven't updated it in a while, but you can use that web form to contact me if you'd like. I'm, unfortunately, basically not anywhere else on the internet anymore, but LinkedIn and my website.\n\n**STEVE MCGHEE:** Yeah, we get it.\n\n**ALEX HIDALGO:** Feel free to reach out about anything you want to chat about-- dogs, music, whatever it is.\n\n**STEVE MCGHEE:** Cool. How about you, Brian?\n\n**BRIAN SINGER:** I would say, feel free to reach out to me on LinkedIn as well. That's where I am. Just in terms of what we're doing these days at Nobl9, I think Alex actually framed it really well-- the first generation of Nobl9 was really about doing a really good job calculating error budgets and making it really easy to use that data in a variety of ways. Where we've focused a lot of our attention lately is actually exactly these topics.\n\nAs we've gotten more feedback and traction and more and more teams using it, how do we make it easier to adopt SLOs? And especially for those teams that might have some of the responsibility for SLOs but none of the actual authority, which shockingly happens very frequently, how do we make life a little bit easier for them as well? So we're--\n\n**STEVE MCGHEE:** Right on.\n\n**BRIAN SINGER:** --just thrilled to be on today. I love what you all do on the podcast.\n\n**STEVE MCGHEE:** Thanks very much.\n\n**MATT SIEGLER:** Thank you.\n\n**STEVE MCGHEE:** All right. Thanks very much, guys. So long. See you next time, Matt.\n\n**MATT SIEGLER:** Bye-bye.\n\n**STEVE MCGHEE:** Bye.\n\n**BRIAN SINGER:** Bye.\n\n**SPEAKER 1:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**[DRUM ROLL]**\n\n**SPEAKER 2:** You missed a page from Telebot.", "znaku_textu": 37980, "slov": 6943, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:10", "sha256": "4a528ab92ec20874e8f0e668fe184eb0a476c9310a246c14324b5a646f0e5a62", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02/", "titulek": "The One With SLOs", "h1": "The One With SLOs", "popis": "In this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02"}, "headline": "The One With SLOs", "description": "In this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!", "image": "https://kstatic.googleusercontent.com/files/3e2ad8870f0983802427357572bbcb84bd8142cefe30b01f09acf37d6109e64e0e91e8a6d54bd2be2710a68ee8497077442f8f8f9c9c4793a486d9f638c57e78", "author": [{"@type": "Person", "name": "Alex Hidalgo and Brian Singer, nobl9"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With SLOs"}], "markdown": "# The One With SLOs\n\nIn this episode, we welcome Alex Hidalgo and Brian Singer of nobl9 to discuss Service Level Objectives (SLOs). Alex and Brian talk about how SLOs can establish a vernacular across industry verticals, leading to constructive conversations and a shared understanding of how to implement SRE practices. Join us for a lively discussion that ranges across SLO topics!\n\n**SRE-S5-E1-SLOs-w-Alex-and-Brian.1.1**\n\n**MUSIC PLAYING] SPEAKER 1:** Welcome to Season 5 of The Prodcast, Google's podcast about site reliability, engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey everyone, welcome back. We're on Season 5. Count em, five. I can't believe it. This is The Prodcast, Google's podcast about SRE and production software. As always, I'm joined by a few folks.\n\nToday we have our friend Matt, and then two other folks who are going to introduce themselves in just a second. But Matt, did you know that not everything is perfect all the time? That sometimes we have to accept problems, they just happen and that's OK? What do you think? Is that OK or should we--\n\n**MATT SIEGLER:** I've heard of this. I've heard this. This is a thing. Don't let the, was it, perfect be the enemy of the good? Is that the thing?\n\n**STEVE MCGHEE:** That's right. You can't just demand perfection and be like, work harder, darn it. Come on, people and computers. Anyway, our friends here will have more to say about that. Why don't we have them introduce themselves? Let's go in, I don't know, alphabetical order by first name. That's always fun. Let's do that.\n\n**ALEX HIDALGO:** Hey, everyone. My name is Alex Hidalgo. I was a long time SRE at Google. I spent the last part of my time there on the CRE team, the Customer Reliability Engineering team, where our remit was to help Google's largest cloud customers learn how to do SRE. And one of the things we learned pretty early was that not everyone speaks the same language.\n\nRight? Different verticals, different industries are going to speak in different ways. And so we had to establish a common vernacular of sorts. And what we figured out was that vernacular had to be Service Level Objectives, SLOs. So a thing I had done at Google previously, but that's when I really fell in love with the concept. I moved over to a company called Squarespace, where they kind of asked me to do SLOs, and eventually, I was tricked into writing an entire book about the concept.\n\n**MATT SIEGLER:** Sucker.\n\n**ALEX HIDALGO:** Yeah.\n\n**STEVE MCGHEE:** Way to go.\n\n**ALEX HIDALGO:** It was not my intention, but it somehow happened. And now I am at Nobl9, which is a company that helps you really better understand the reliability of your platforms, of your services, and how you are operating in terms of your customer experience.\n\n**STEVE MCGHEE:** Cool.\n\n**BRIAN SINGER:** I guess that makes me next. I'm Brian Singer. I'm the co-founder of Nobl9 and the Chief Product Officer. Like Alex, I was also a Googler. I had a company that was acquired by Google and spent some time at Google Cloud, which was my introduction to SRE and SLOs.\n\nI fell in love with the concept also. As a product manager who had also been the founder of a startup, who was the person who got all of those customer complaints over the phone when things weren't working correctly, it was amazing to me that there was an engineering concept that we could implement that could basically say, well, this is what would stop me from getting customer complaints. Can we just manage to this?\n\nAnd as it turns out, SLOs, Service Level Objectives, are actually fairly difficult to adopt in practice in enterprise. And so that was really the concept for starting Nobl9. Could we use a little bit of software and tooling to make these, the concepts, which in theory are pretty straightforward, but in reality require a little bit of work to adopt, easier to use in the enterprise?\n\n**STEVE MCGHEE:** Yeah. So SLOs, they're actually, I think, one of the more, not even popular, but it's like one of the things that people are most aware of in the SRE space, when they're new to it. It's like one of the things that people grab onto, like early. They're like, aha, a thing. Let's do that thing. Has that been good or bad for business?\n\nLike, what do you think? Has it been a great success in people just nail it or is it problematic in any way? How have you seen this work?\n\n**BRIAN SINGER:** We've seen the full spectrum, Steve, believe it or not. So we've seen cases where companies are incredibly successful adopting SLOs. And we can talk about what that means, because you can have success in a number of different ways.\n\nWe've seen instances where the adoption hasn't gone particularly well, or where it's been hard to just get the sponsorship needed to get that initiative off the ground. I think the common thread, though, when we've seen successful adoption with customers is that the teams that are responsible for writing the code and running the code are also responsible for creating the service level objectives and using the service level objectives. And I know Alex has some strong feelings about this, but where it gets off the rails is where these things are imposed or created by others, and they become more of a compliance or check the box exercise.\n\n**ALEX HIDALGO:** Yeah, I mean, the whole approach is really about thinking about what does the user of your service need. And I always try to say user instead of customer, because it's not just about the people external to your business who may be interacting with your company. It's, if you are in charge of a database, your users might be the team down the hall, right? And you need to make sure that you are being reliable in the way that they need you to be.\n\nAnd so at a certain level, SLOs really need to be bespoke. They need to be artisanally crafted for the best possible outcomes. You need people to really think about this stuff, right? Just slapping an SLO on every single microservice, every API endpoint you have and saying every response has to complete within 200 milliseconds, that's just a good path to failure because not every API endpoint follows the same code path. It doesn't talk to the same back end.\n\nYou really got to make sure that you're spending time thinking about how to actually implement this stuff. And so yeah, I agree with Brian, some of the biggest failures that we see are actually companies that really, really want to do SLOs, but it's such a mandate that individual teams and individual engineers even don't have the time to communicate with each other to figure out what these things should actually look like. What should the SLI, Service Level Indicator, be? What should the SLO be?\n\nHow are we going to use our error budgets? Because SLOs are communication tools as much as they are anything else. And so if you're not communicating with the people that either depend on you or the people that you depend upon, you're not going to make the right choices.\n\n**STEVE MCGHEE:** OK, this is kind of pulling a thread in my mind here, the different roles. And let's say your organization has some roles defined. You have production level roles, monitoring and responding to production. You have some product management goals, helping set expectations for what this product is supposed to be doing and how it's supposed to behave and what its users need.\n\nYou have some developer roles, which are actually building and crafting and releasing, and they're all working in some ecosystem, big or small. It doesn't matter. And we have these SLOs and they're hopefully being communicated in concert between them.\n\nAnd let's talk at some extremes. A healthy organization, how is that working out and how are they doing that together? And then perhaps think in the opposite. When does that go wrong and what are some of the smells that you see?\n\n**ALEX HIDALGO:** Yeah.\n\n**BRIAN SINGER:** I don't think that there's a one size fits all approach. Every organization we've been into is a little bit different. And I think, just give you an example, you go into certain financial institutions or banks and you just try to log in. And I've seen diagrams where it's hitting 50 or 60 systems on the back end.\n\nSo an SRE that's trying to support a login journey that is traversing 50 or 60 systems on the back end has a very different set of things to worry about than maybe say, an SRE that's working at a place like Nobl9, where it's pretty easy to understand who owns each of these systems and issue an edict and whatnot. So I just want to preface by saying, there's no one size fits all approach that we've identified.\n\nBut in larger companies, what I've seen work really well is where there is a team that is responsible for the practice of using SLOs and some of these SRE practices in general. They are not necessarily creating the SLOs for every team out there, but they are acting as consultants and advisors, and they are ensuring that teams are following those best practices.\n\nThey're almost, in some cases, like arbitrators between the different parties that have a stake in the SLOs. Because SREs in many enterprises just fall into this, a lot of the time, this incident responder type role, where they're not really doing the SRE work of reducing toil necessarily. It is just incident response. And that's where having some of the centralization and oversight to say, well, these SREs, they're going to spend some of their time creating SLOs and making sure that you have the ability to do canary deployments and things like that.\n\nSo just that's where I've seen a lot of success, where you have the ownership of creating the SLO with an SRE or developer team responsible for the code base, responsible for the incident response, but this oversight role that is maybe responsible for some of these user journeys that cut across different teams. And that's, I think, the most challenging thing in many companies is where you have responsibility for the reliability of a user journey, but you don't own the underlying code that user journey traverses across a number of different systems. And that is so common, I think, in many companies.\n\n**ALEX HIDALGO:** Yeah. I mean, like a thing I've seen so many times is people not assigning the responsibility to be an SLO evangelist to either an individual or a team. And it's not like it necessarily has to be the only thing they do, but it does has to be understood that it's part of their role. So you have to carve out time in your sprint planning or however you might manage things to say, this person or this team is spending x percent of their time explicitly being an internal consultant in terms of helping other teams adopt SLOs.\n\nThe other thing that Brian touched is once you move beyond a single team, a single SRE team that might own a single service, how do you get ownership of these SLOs of higher level user journeys? And the best way to do this, and I've seen this. Like, it works, is at some level, perhaps the product manager owns that SLO. That doesn't mean they necessarily have to implement it. It doesn't mean that they necessarily have to figure out how to emit the correct telemetry from the code that will be able to inform the SLI, which then informs the SLO.\n\nBut they're the ones who look at it and make the decisions based upon the status of that SLO. And as you move even higher, perhaps a director owns it. Perhaps the VP of engineering needs to own it. And again, it's not that they're the ones even picking what the target is, but they need to be the ones owning the decision making process of what the data of that SLO is telling you.\n\n**BRIAN SINGER:** Now, one thing I would add is just what I would really caution is once you have a central team of SREs that have some oversight across the organization, it's very easy for them to come in and say, I'm going to just create the SLOs for each of these teams or for each of these critical services. And that, I think, is a very slippery slope. Because when those teams don't have ownership over the SLOs and don't create them, it's very hard to get buy in for them to actually use them and maintain them. And SLOs are not a one and done, I'm going to create it and it's going to be the perfectly artisanal, as Alex said, SLO, and we're never going to have to touch this again.\n\nThe reality is, they're changing all the time because the conditions of the service you're delivering change, the features in the service change, the customers might change, and you're having probably incidents all the time, which are giving us new data to implement new SLOs or adjust these. So being able to go back and the teams that are responsible for them saying, well, this isn't telling us what we thought it was telling us, we're going to go spend some time on changing this, is incredibly important. Because if that's not happening, then those teams are not going to make decisions based on what the SLOs are telling them. And that really is the crux of what we're doing.\n\nYes, there are operational use cases for SLOs and we can get into the alerting and what that means. But Alex likes to say these are tools for making decisions, and if the people that would be making decisions aren't bought into what the SLO is telling them, or what it means for it to be read, then it really is a wasted effort. And that is, I think, the biggest risk.\n\n**STEVE MCGHEE:** So I heard a good take recently, which was that at its core, SREs, one of SRE's main jobs, is turning trailing indicators into leading indicators. Like, taking a graph and being like, I think what this really is telling us is we should look out for the thing that's coming up soon, or at least looking at the past and predicting the future, which is kind of what we're doing as humans all the time anyway. And I imagine that the way that this works into SLOs is like, without SLOs, you have a dashboard of 10,000 graphs and you pick one. Which one is the one that's important?\n\nIt's at least a way to centralize, when we're talking about, is the stuff good, and is it going to stay good, and do we need to freak out or prevent or take on a two quarter long reinvention of a thing? Which is the graph that we care about or can we construct a new one? So this is one of those critical, pick the right thing that represents both the technology and what's our bottlenecks, but also how the customer is feeling and where we expect to go with this product.\n\nAnd a good example of this is like we'll see, sometimes customers will have a service where the SLO is unhappy and they're like, it used to be fine. We didn't change anything. We don't know what's going on. And really what happened was the customers changed. The way that they use your service has changed. The world has changed around your product, and now you're just measuring the wrong thing.\n\nIt used to be X and now it's X.2 or something like that. So how do we fix this? Apart from just being flexible and being ready to adjust on the fly, like, do you advise companies to get in front of changes and provide alpha SLOs or something? How do you do this?\n\n**BRIAN SINGER:** Yeah. Yeah, I can add a couple things and Alex probably, I'm sure, has some thoughts. I think one of the areas we identified is having consistent revisit dates for SLOs, especially critical SLOs, where the definition is revisited. We look at, is it still telling us the thing that we thought it's telling us? And that can be quarterly, or it could be bi-annually or something like that.\n\nBut having that consistent cadence. And one of the challenges that we identified with actually running an SLO program is for these central SRE teams that are trying to understand, do we have high quality SLOs, sort of high signal to noise? Are the folks that implemented the SLOs revisiting them?\n\nAre they looking at them on a consistent basis? That's a really good indicator of whether they're stale, so to speak. So that's something that we can help with in product, of course, but also there has to be a culture of doing that as well.\n\n**ALEX HIDALGO:** Yeah. I mean, a thing I see a lot is that people often get attracted to SLOs, especially in the operational side, like, on the production side. Because they're like, oh, we're going to get better alerting. We're not going to be woken up at 3:00 AM.\n\nThat's a very easy story to tell. Right? Like, SLOs are superior to threshold based alerting. We don't care about CPU usage. We care about, is this service doing what it needs to be doing?\n\nAnd that's a very easy story to tell and it's something that attracts people. But where I've actually seen SLOs be most useful is kind of what Brian was saying, as a historical review. On most of the teams I've been on where we've used SLOs successfully and efficiently was looking at them in our weekly sync. So Steve just mentioned the 1,000 graphs.\n\nYou might still need those for investigation later, but SLOs let you converge those into a smaller set of graphs that maybe you just scroll through those and you say, wait, that looks a little weird. Something's going on with that service. It's burning some of its budgets and we don't exactly know why.\n\nAnd then you assign someone in the next week to go take a look at it, and maybe it's a big deal, maybe it's not. Maybe it's just some dependency acting up. But it gives you a signal to at least say, let's go look at that, right?\n\n**BRIAN SINGER:** Yeah, I really like it. I use the example of pod restarts. We had a customer recently, where there was always sort of a consistent error budget burn when they had Kubernetes pods restarting, but nothing that burned enough error budget to actually go investigate what was causing that until it started happening more frequently. And they started burning error budget more consistently.\n\nWell, it turned out there was obviously a root cause, something was wrong that was causing these pods to restart more frequently. But it's, I think, a good example of understanding, when is an infrastructure problem or a bug really rising to the level of spending engineering time to go investigate it? I don't think that we have a better tool for that.\n\nAnd there's one other point that I wanted to make here, which is that when you need to communicate the value of SRE work and the value of reliability work, it's really hard to prove a negative. And that's what I think a lot of people try to do today with using incident counts or MTTR to say, oh, we're doing a great job improving reliability because we've reduced the number of incidents or because MTTR has gone down, but that, I think we all know, is a pretty poor proxy for the actual customer experience.\n\nSo the companies that have successfully adopted SLOs, now they've adopted the vernacular of error budgets, and they're reporting on that to leadership. They tend to be able to defend the work that SRE is doing in the investment in SRE, and draw a much clearer line between what they're doing and ROI and revenue, and things like that.\n\n**MATT SIEGLER:** I think you've made a good case for why and how you build SLOs and what they're for, and the process for creating them and crafting them and engaging with them and a bit of their life cycle. That was a good overview. I'm curious to hear a bit about your experience with organizations that were perhaps resistant, maybe culturally or even technically, and how you push through them, or even maybe the disengagements from them if they said no and never mind, or if they just abandoned them.\n\nI'd love to hear about why, what was their reasons or what happened there because sometimes it just doesn't work out. And those are, I assume, informative experiences. Or maybe it survived, and SLOs reigned and we all got to have cake. What happened?\n\n**STEVE MCGHEE:** Yeah, what went poorly?\n\n**MATT SIEGLER:** What went poorly? [LAUGHS]\n\n**BRIAN SINGER:** I think, believe it or not, as much as I think we want to believe observability is a universally understood concept and everybody can craft great Prometheus queries, it's actually not. And I think one of the biggest challenges is that for a lot of organizations, the engineers expect other people to just come in and build their observability dashboards and tell me what I need to know and just don't want to take ownership of this stuff for whatever reason.\n\nAnd actually, I think this is what I've seen happen in the last 6 or 12 months is LLM-based AI has actually made the barrier to entry there a lot lower, because it's just so much easier to ask an LLM questions about observability or how to build the right query and get really good answers from Gemini or somewhere else. So that, I think, is an area where AI has actually really made it easier to adopt a concept like SLOs, because there's not as much learning that has to happen.\n\n**STEVE MCGHEE:** So you're saying the world has changed a little bit, I imagine. One thing to point out, Alex, you wrote some books. Let me see.\n\n**ALEX HIDALGO:** [LAUGHS]\n\n**STEVE MCGHEE:** I have them in physical paper copies. Look at these. Look at these things. So you wrote a chapter in this one, and you wrote the whole-- look at that. That's crazy. Which parts of your book would you like to maybe not burn, but retract or change or adapt to the now future or the soon-to-be future? What has changed? What have you learned in the past 10 years, I guess, since then?\n\n**ALEX HIDALGO:** So there's quite a bit I would actually change. I was asked to write a second edition, and I actually said no, because I don't have the time because I think I would actually change quite a bit. But the major things, like the big things for people who've read the book who are curious what I would do different today, is I would spend a lot more time talking about ways you can use your error budget.\n\nSo one of the biggest mistakes I think we made collectively as Google, as Googlers writing the first two Google SRE books, was that we spent so much time talking about how if you have error budget, ship features, if you don't have error budget, focus on reliability, right? That was the basic concept put out there. And that's not how things work in the real world.\n\nOne, reliability is a feature. It should not be separated from, quote, unquote, \"feature work.\" And two, sometimes you don't own the code base. So how can you even stop shipping features and work on-- it's a very narrow view that worked very well for most teams at Google.\n\n**STEVE MCGHEE:** Yeah, it worked for Google.\n\n**ALEX HIDALGO:** Right. Right. And I've seen too many companies kind of latch on to that concept. I mean, many prospects and current customers that Nobl9 has engaged with, they come to us immediately with that as their only understanding of things. And I tried to deviate a bit in the book, but I don't think I did a good enough job.\n\n**BRIAN SINGER:** Or Alex, they even say, we don't think we can implement this vision of error budgets. So we're just not going to do SLOs at all. We get that.\n\n**ALEX HIDALGO:** Right. And so I would spend a lot more time in the book talking about the many different ways you can use error budget data to have better discussions, to have better decisions. How they're the best-- as Brian just mentioned, like a much better tool than MTTR or counting incidents for understanding how you've operated over time. They're essential to conduct proper chaos engineering, as far as I'm concerned. I don't really see how you can do chaos engineering without error budgets.\n\nThere's just so many different ways that you can use this data in a meaningful sense. And so that would be the biggest thing. We could have a whole separate podcast about what I would change in the book, but that would be the number one thing is just focusing more on how error budgets give you good data to make good decisions.\n\n**STEVE MCGHEE:** Nice. So speaking of we went over a little bit of what went poorly, I want to poke at the bear a little bit longer. Where have you found customers, they drink the Kool-Aid or whatever, like they buy into it. They implement it. Have there been backfires or have there been cases where it's like these workloads just don't do well? They don't have an SLO or something like that. Are there places where people try it and they're like, no, bro, like it didn't for reasons?\n\n**BRIAN SINGER:** I don't think it's quite so black and white like that. I think there's situations that can come up where I would say there's just a lack of executive buy-in more than anything else. And so the failure mode is just this team built some SLOs and this team didn't. And then when they went to root cause, why there was error budget burn, it was because of dependency from a team that doesn't have SLOs and has no interest in building them.\n\nAnd it's like, what do you do with that at that point? Your error budgets aren't really telling you anything that you can act on. Maybe they are. Maybe it means you need to go, remove that dependency. But that's, I think, more of the frustration.\n\nThe other is, and I guess this is a little bit of a Nobl9 plug, but just the tooling. There's a lot of tooling out there that just is not prescriptive enough, or it just flat out does the math wrong and gives bad data. Or it's just really hard to implement, and then you spend a lot of time fighting with the tooling and essentially, building software to do SLOs, even though you think that you're not doing that.\n\nAnd so that's something that we see folks struggle with. And we get there, and they say, well, we couldn't get it to work. And we've certainly created some converts there, Alex, right? But it's some combination of those. Or the one that I mentioned before, just somebody else imposed this on us. We built a few SLOs so that we could flip a checkbox to say that we had SLOs. Nobody ever looks at them again or updates them, and everybody feels like it was a wasted effort.\n\n**ALEX HIDALGO:** Yeah, I mean, those are some of the most common failure modes we've seen is this being imposed on people. You really need to build the culture around things, right?\n\n**STEVE MCGHEE:** Yeah.\n\n**MATT SIEGLER:** Yeah.\n\n**ALEX HIDALGO:** We churned one of our earliest customers. I'm happy to just admit that. And when I met with the leader who we kind of worked with to get Nobl9 working in their system, we had a chat. We met up for beers, and we were just trying to figure out what went wrong because he really wanted it to work, right? He really wanted Nobl9 to take off. And what we realized on both sides it was a cultural problem. No one had spent enough time to get people on board, right?\n\nIt was suddenly just a new tool, a new concept. Oh, SLOs are hip, right? And suddenly, this was just kind of thrust upon this organization. And no one took enough time to teach people, here's why SLOs work. Here's why they're important. Here's why error budgets give you better data. And when no one takes the time to do, that cultural aspect of things, they're not going to see the use in the data. They're not going to understand the data.\n\nSo part of it is when it's imposed, like what we're kind of like talking about earlier, where every API endpoint has to respond within a certain latency amount. But it's also when just the concept is imposed on people. If somebody says, do SLOs, and there's no one around to teach them what they are, how to pick a good SLI, how to pick a good target, how to look at your data, when you don't have that kind of cultural aspect built in to adopting the process, then you're not going to succeed, and you're going to end up just losing the interest.\n\n**BRIAN SINGER:** Yeah, so I'm thinking through some of the most successful deployments that have been out there. I'm thinking of one e-commerce company in particular, where what they did was they chose their two most critical customer interactions, their two most critical user journeys. And they said, we're going to go in there and consult with the teams that own those and help them build really, really good SLOs and make sure that they're using those SLOs.\n\nAnd that's sort of a small enough bite of pizza that it's achievable. And then they took that and showed what they did to leadership and showed what they did to other directors in the organization. And those directors said, I want my teams to be doing that, because if this is working for these most critical user journeys, and by the way, we're supporting those user journeys in this other way, we should be doing that as well.\n\nAnd that's then where the cultural adoption starts to happen. And folks want to spend the time on crafting those SLOs. And because there is a discussion that has to happen between product managers and developers and upper management that says, what is the definition of reliability for this particular service? Who are our users? And even those conversations are extraordinarily valuable.\n\n**STEVE MCGHEE:** The lesson I'm drawing from this is like the goal is not to just click Enable SLOs on all my products in my observability suite and just be like, we did it, A+ guys. But like this actually involves thought and some real focus and some--\n\n**BRIAN SINGER:** Yeah. Look. And I get it. Everybody wants an easy button, right?\n\n**STEVE MCGHEE:** It would be nice.\n\n**BRIAN SINGER:** I can't tell you how many customers have showed up and said, hey, can you just automatically create all my SLOs? And Alex has to hold his tongue sometimes because in our business, the customer's always right. But we help them understand how that might not actually be what they're looking for in terms of the outcome of an SLO initiative.\n\n**MATT SIEGLER:** Speaking of automation and culture shifts, I would love your hot takes or deeply informed opinions on how AI is making all this possible these days. Any thoughts?\n\n**BRIAN SINGER:** I can add what I'm seeing. I know Alex's opinions of AI have evolved over the last few years, but some of the prep work that needs to be done to create good SLOs, AI can really help with that. So we've seen success taking design documents, taking PRDs, taking obviously some of the code base, feeding that into an LLM with a large enough context window and basically saying, hey, help me brainstorm what some of the SLOs should be like.\n\nYou can read what the PRD is. What are some of the things that I should be thinking about in terms of customer expectations and risks? And it's a really good jumping off point for that. Further, I think if you're trying to figure out, hey, how do I come up with the right Prometheus query to get to the SLO that I'm looking for? Again, it's like creating a regex. It can be very helpful and be a force multiplier, and some scripting as well.\n\nJust in terms of even onboarding to Nobl9, I've noticed customers need to create the scaffolding for importing all of their services into Nobl9, or coming up with some reporting or things like that. It can help make that process very productive. But I do think that because we're the users of these products, we still need a human in the loop to basically say, this is what actually makes sense for this particular service. That could change over time, but that's what I've seen so far.\n\n**ALEX HIDALGO:** Yeah, I'm still a bit of a skeptic in terms of how useful LLMs actually are. I have, as Brian said, evolved my thinking a bit. I used to be very, very vocal about how much I hated the entire concept. I'm still a bit of a skeptic, but, yeah, I do understand that it's a way for people to perhaps build better context, but it has to be built for people. It has to still, at the end of the day, be a human that is figuring out, what should we be measuring? And is this the right thing?\n\nAnd LLMs may give you a good starting point, but I do still worry that people believe in the technology too much so that when they get their LLM output to help them figure out what to measure or what their target should be, or any of that, that they might still overlook other things. Even if it's giving you good suggestions, you can't guarantee it's giving you every good suggestion.\n\n**STEVE MCGHEE:** Yeah.\n\n**BRIAN SINGER:** I couldn't agree more with Alex. I think there was an incredibly good take that-- I was talking with Amin Astaneh, who's an SRE. He's a consultant. And his take was basically, we see a lot of this AI SRE, a lot of companies that are pushing AI SRE, but really it's just sort of AI incident response. And a lot of it is just AI root cause analysis.\n\nSo I think just from a nomenclature standpoint, be very careful about what we call AI SRE, because I think at least in this group, my belief is so much of the work that SREs do is actually on the cultural and the human level. And I don't think that the AI can even approach the sort of outcomes that we get with really good human SREs today.\n\n**ALEX HIDALGO:** And part of the problem that I see there as well is that perhaps some of these technologies can help you resolve incidents and point to what system broke and where. But as a member of the Learning From Incidents community, I do worry that at some point in time, we're going to lose the troubleshooting skills that might be required of humans at various points in time. Like, at some point in time, the AI is going to fail because, well, I mean, what are we talking about? We're talking about the fact that nothing's ever perfect.\n\nAnd are you then going to end up in a situation where you don't have the knowledge within your team to actually figure out a much more complex problem? And incidents really should be all about learning. It's not just about finding a root cause. I don't even believe root causes exist, right?\n\n**STEVE MCGHEE:** Most folks have moved on to contributing factors.\n\n**ALEX HIDALGO:** Right, exactly. But it's all about ensuring that the people walk away from those incidents, having a better understanding of what happened and how these complex systems are orchestrated and manufactured and how they talk to each other or how the components talk to each other, I should say. So I do worry a little bit that, are we going to lose some of that? In the same way, I've seen a lot of takes that I think I agree with using LLMs to do your coding. Are we going to run out of junior engineers? And then what do we do when we need more senior engineers? Right?\n\n**MATT SIEGLER:** Seriously.\n\n**STEVE MCGHEE:** Everyone should read the \"Ironies of Automation\" if you haven't already. We brought that up a few times in this podcast, for sure. But I'd like to close with one final take, which is maybe hope is not a strategy. If we're hoping for these machines to save us, maybe that's not the plan, or that shouldn't be the plan.\n\nThank you guys. We've learned a lot more. I didn't know there was more to learn about SLOs, but I learned more about SLOs. I don't know about you, Matt.\n\n**MATT SIEGLER:** I did. I learned many things.\n\n**STEVE MCGHEE:** Yeah, and how it works in the real world, not just in the books and the Googles, but out in the world itself. Thank you both for coming on. It's been great. Any final pitches or where can we find you on the internet? What would you like to say about, I don't know, cats or bicycles or anything like that?\n\n**ALEX HIDALGO:** I'm very allergic to cats. I wish I could love them, but--\n\n**STEVE MCGHEE:** Or dogs. Yeah.\n\n**ALEX HIDALGO:** Right. So I'm a dog person instead. But a lot of that is due to the general allergy problems. So that's my opinion about cats. You can find me on LinkedIn. Just search my name, you'll find me. I have a very, very outdated website, but it does have a web form that does still work--\n\n**STEVE MCGHEE:** Nice.\n\n**ALEX HIDALGO:** --that you can use to--\n\n**STEVE MCGHEE:** Is it CGI? Is it Perl underneath?\n\n**[LAUGHTER]**\n\n**ALEX HIDALGO:** No, it's a Squarespace site, because I used--\n\n**STEVE MCGHEE:** What? Oh, OK.\n\n**ALEX HIDALGO:** --to work at Squarespace.\n\n**STEVE MCGHEE:** Right on, right on.\n\n**MATT SIEGLER:** Appropriate.\n\n**ALEX HIDALGO:** I just haven't updated it in a while, but you can use that web form to contact me if you'd like. I'm, unfortunately, basically not anywhere else on the internet anymore, but LinkedIn and my website.\n\n**STEVE MCGHEE:** Yeah, we get it.\n\n**ALEX HIDALGO:** Feel free to reach out about anything you want to chat about-- dogs, music, whatever it is.\n\n**STEVE MCGHEE:** Cool. How about you, Brian?\n\n**BRIAN SINGER:** I would say, feel free to reach out to me on LinkedIn as well. That's where I am. Just in terms of what we're doing these days at Nobl9, I think Alex actually framed it really well-- the first generation of Nobl9 was really about doing a really good job calculating error budgets and making it really easy to use that data in a variety of ways. Where we've focused a lot of our attention lately is actually exactly these topics.\n\nAs we've gotten more feedback and traction and more and more teams using it, how do we make it easier to adopt SLOs? And especially for those teams that might have some of the responsibility for SLOs but none of the actual authority, which shockingly happens very frequently, how do we make life a little bit easier for them as well? So we're--\n\n**STEVE MCGHEE:** Right on.\n\n**BRIAN SINGER:** --just thrilled to be on today. I love what you all do on the podcast.\n\n**STEVE MCGHEE:** Thanks very much.\n\n**MATT SIEGLER:** Thank you.\n\n**STEVE MCGHEE:** All right. Thanks very much, guys. So long. See you next time, Matt.\n\n**MATT SIEGLER:** Bye-bye.\n\n**STEVE MCGHEE:** Bye.\n\n**BRIAN SINGER:** Bye.\n\n**SPEAKER 1:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**[DRUM ROLL]**\n\n**SPEAKER 2:** You missed a page from Telebot.", "znaku_textu": 37980, "slov": 6943, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:02", "sha256": "4a528ab92ec20874e8f0e668fe184eb0a476c9310a246c14324b5a646f0e5a62", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-03", "titulek": "The One With Heather Adkins", "h1": "The One With Heather Adkins", "popis": "Join us on The Prodcast as we host Heather Adkins, leader of Google’s Office of Cybersecurity Resilience, for a critical look at the future of digital defenses. We explore the intersection of SRE and security , unpacking the ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Heather Adkins"}], "markdown": "# The One With Heather Adkins\n\nJoin us on The Prodcast as we host Heather Adkins, leader of Google’s Office of Cybersecurity Resilience, for a critical look at the future of digital defenses. We explore the intersection of SRE and security , unpacking the \"Secure by Design\" philosophy and the shared DNA of incident management.\n\nHeather candidly discusses the rise of \"Agentic AI hackers\" and polymorphic malware , revealing how defenders can use AI to stay ahead. From \"castle\" defense strategies to \"nodal biology\" theories, this episode is a must-listen for anyone navigating the new era of AI-driven threats.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n****JORDAN GREENBERG:**** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening. And may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey, everybody, welcome back to The Prodcast. This is Google's podcast on SRE and production software. Hello Jordan. It's been a little while.\n\n****JORDAN GREENBERG:**** It's been a while.\n\n**STEVE MCGHEE:** Our co-host, Jordan, is back.\n\n****JORDAN GREENBERG:**** Yes, I'm back.\n\n**STEVE MCGHEE:** Hello. How's it going?\n\n****JORDAN GREENBERG:**** Going well. I'm very excited about our guest today, who usually meets people in times of crisis. I skipped over that piece, meeting our guest at a work conference instead.\n\n**STEVE MCGHEE:** Yeah, that sounds better.\n\n****JORDAN GREENBERG:**** Yeah, I think so. It was. It was great. Would you please introduce yourself?\n\n**HEATHER ADKINS:** Yes, hi. My name is Heather Adkins. And, well, I work at Google. No surprise there. And I lead what we call our Office of Cybersecurity Resilience, overseeing all the great people working on security at Google and all of our initiatives.\n\nAnd I've been at Google for a little over 23 years. So I've gotten to see the company from when we had two products to today, when we have things that fly. And then I guess Sundar has announced we're going to have things in space soon. So that'll change the threat models.\n\n****JORDAN GREENBERG:**** Oh, my goodness.\n\n**STEVE MCGHEE:** Why not? So your employment is, like, in grad school, basically, is what you're saying. 23, is that right? Something like that?\n\n**HEATHER ADKINS:** 2002.\n\n****JORDAN GREENBERG:**** Oh, gosh.\n\n**STEVE MCGHEE:** Yeah, pretty wild. Well, we didn't meet in a time of crisis. I believe it was a Christmas on-call shenanigan of some kind involving reliability and security at the same time, and making sure bad stuff didn't happen, or if it did, it wasn't that bad, or whatever. We don't have to go into the details. But it was a memorable Christmas Day, I can tell you that, at least on my side.\n\n**HEATHER ADKINS:** All of my Christmases at Google have been memorable. Each and every one of them.\n\n**STEVE MCGHEE:** Oh, boy. OK.\n\n****JORDAN GREENBERG:**** A present in each of them.\n\n**STEVE MCGHEE:** That's right. That's right. Well, speaking of which, it's not like I set this up at all, but speaking of SRE and security engineers working together, incidents tend to be that thing that we work together on. But they're kind of different. How have you found working with SRE? And how different are these incidents? And are they tremendously different? If there was a Venn diagram, how close to two circles versus one circle is it? Stuff like that. Can you enlighten us a little bit on the differences there?\n\n**HEATHER ADKINS:** Yeah, I think the primary difference between a reliability incident and a security incident is that the instigation of the incident is usually a malicious human. And then there's a Venn diagram overlap of when the malicious human causes a reliability problem.\n\nBut for the most part, what we try to add into the incident management function during a security incident is the element of, you have to anticipate the behavior of someone else. And there's this kind of philosophy in the field of, when you find the hacker, when do you turn them off?\n\nAnd in a reliability incident, usually when we find the root cause, we want to fix it as fast as possible and move on. In a security incident, you have to step back and play a little bit of a game of chess with the other side. And so that is kind of a different sort of externality to security incidents that we often get to have a real candid conversation with.\n\nThis is going to change completely with AI, because we're not going to know whether that's an agentic AI hacker or a human. And that's going to make things very interesting for us. But I think otherwise, there's a lot in common.\n\nI think when you look at the methodologies for analysis, getting to root cause after the fact, doing a blameless postmortem, there's actually a lot in common with how you do reliability and how you approach security incidents. And in fact, at Google, our SRE teams and security teams use the same incident management frameworks for that reason.\n\n**STEVE MCGHEE:** Yeah, I was going to say, the tactics, and the tooling, there's a fair amount of overlap. And I was going to actually just say the exact same thing. I would suggest trying, companies out in the world that aren't Google, building bespoke copies of each other. I've seen that happen in some places.\n\nHave you experienced that? Do you ever work with cloud customers, for example, that quote an SRE who works somewhere else, not at Google, where they're trying to have these tools, and they're like, oh, should we use the same one as secure-- they have whatever. Should we use that? Blah, blah, blah. You know what I mean?\n\n**HEATHER ADKINS:** I'll be honest, security people are usually pretty picky about their tools. And even at Google, we have a-- the incident tracking for reliability is a tool. Everybody uses it. And it's really great, because if there's something down, you can go, and you can check it out and what's going on. I have to consider whether there's a bad guy reading my incident management log. And so-- no. And also--\n\n**STEVE MCGHEE:** Yeah, that's tough.\n\n**HEATHER ADKINS:** Yeah, it's tough. So putting an advertisement in our internal outage management tool that we are doing a security incident would be probably a misstep on the OPSEC side for us. But the other thing that I found is security people, increasingly, we've been trying to integrate as much security data context into that tooling.\n\nAnd so you end up with a situation of, do you want to try to put all of that integration into your incident management tracking tool, or do you want to try to create a custom tool? So there's a little bit of fragmentation still.\n\nBut I think, in general, what's helpful is just to make sure you've got how and the mechanisms right, and that two teams could work in each other's tools without it feeling too alien, depending on what kind of issues you're working on. But again, I think each environment is going to see unique elements of that.\n\n**STEVE MCGHEE:** Yeah, I was just watching the-- last night, actually, I was watching the movie about Alan Turing that came out a few years ago or whatever. And that near the end of the movie, spoilers, the war happened and stuff.\n\nBut there was a point where they're like, we know this thing is going to happen because we broke the code. And they're like, we can't tell anyone because that would spook the other side into knowing that we broke their code. And then that would just change the whole equation. And we can't actually do the thing we want to do, which is like, shut it down right now. And it's like, oh, boy, that's a tough lesson.\n\n**HEATHER ADKINS:** Right. It's your instinct, yeah.\n\n**STEVE MCGHEE:** I mean, it's arguably tougher when there's direct bombings on vessels and stuff. But that's hard. I mean, how do you approach that? How do you know when that tipping point is? Maybe that's a whole different podcast.\n\n**HEATHER ADKINS:** But yeah, there's a whole discipline of this in information warfare. And there's some great manuals the DOD-- the US DOD-- has published on this. But there's no easy calculation. And especially if you don't have perfect visibility into how your threat actor is thinking, or in the case of kinetic warfare, how your enemy is thinking. But there's thousands and thousands of years of military study on this, everybody always trying to answer that.\n\nFor me, though, I think the most important thing is to focus on limiting damage and to focus on having a complete picture. And so we're always trying to figure out, how do we put together the flow diagram of how the attack happened, where it started, what are all the things that a threat actor might have touched, all the data, all the machines, put that picture together as quickly as possible and really focus your pre-event automation on building that.\n\nBecause the faster you get the complete picture, the faster you can turn stuff off. And the idea is that we cut everything out, and you make that kind of cutoff happen, and then you move forward.\n\n**STEVE MCGHEE:** Got it.\n\n****JORDAN GREENBERG:**** So there's a creativity piece of it, where if you are a malicious actor and you're looking to compromise a system with the tools that you have, or if you're upleveled with AI tooling, you get to be very creative, because you get to see the full picture of what someone has done.\n\nAnd when you are creating something to be used by humans, security is built in. We do secure by design. We work on involving security right away to fix something so that we can catch these cases before they happen.\n\nSo this is something that we've mentioned in previous security and SRE talks, where we've had Jessica Theiddat with us, talking about how people do make these-- or compromise systems. I would love to hear a little bit about how maybe some of the principles that we have in secure by design that help us build reliable systems, some pointers or tips that maybe you would educate SREs with in a book, maybe.\n\n**STEVE MCGHEE:** There's a book that has those words on the cover. You may have seen it.\n\n****JORDAN GREENBERG:**** Oh, my gosh.\n\n**HEATHER ADKINS:** A real labor of love.\n\n**STEVE MCGHEE:** Look at that. Look at that.\n\n**HEATHER ADKINS:** About 100 of us wrote a book. And if you've ever had to write a book with 100 people--\n\n****JORDAN GREENBERG:**** No, I'm sure it's great.\n\n**HEATHER ADKINS:** But no, it's really amazing. You got 100--\n\n**STEVE MCGHEE:** It's a good book. It's a good book.\n\n**HEATHER ADKINS:** Thank you. We released that in April of 2020, the first month of the pandemic. And so--\n\n**STEVE MCGHEE:** Perfect.\n\n**HEATHER ADKINS:** What a way to go into a pandemic. It's been really great.\n\n****JORDAN GREENBERG:**** At least you had something to do. You could read the book.\n\n**HEATHER ADKINS:** Not so good for advertising it. But we had a really great collaboration. And the approach we took with this was, in every chapter, we wanted a thesis for why this is a reliability topic, and why this is a security topic, and how to blend the two.\n\nAnd it was through doing that that I sort of realized that a lot of the work we'd done on insider threat from a cybersecurity perspective matched almost perfectly with how SRE was thinking about reliability. And if you think about, how do I keep an employee from doing something malicious, or how do I keep an employee from making a mistake, the solutions are often very similar.\n\nA peer review, for example. If you typoed an integer setting in a configuration file, that could either take the website down because you typoed it or because you really wanted to. So we really sought to look at this Venn diagram phenomenon that we were starting to see and pull out examples, pull out capabilities, approaches to how to think about the problem, but also how we solved the problem, and give people some examples.\n\nAnd as such, it's a really dense book. And my recommendation, if you do tackle it, is there's an open source version online. We felt very, very passionate that while you can get it in a book form, and it's been translated into many languages, we also wanted it to be something that people could come back to, and refer to, and to share.\n\nBut it's really good in a book club. Take one chapter at a time. It's really good if you've got a particular set of problems and you cherry pick one chapter here or one chapter there. It's not exactly a beach page-turner. So a little dense and deep, I've been told. But we did try to share as much wisdom in there as we could.\n\n**STEVE MCGHEE:** Awesome. We appreciate it. I know I've shared chapters at a time from the online one you're referring to with customers and be like, it's this one, read this one. Please get the book if you want, but just read this one for now.\n\n**HEATHER ADKINS:** And you'll see, there's different authors on every chapter, but there's always more than one author. And that's because we pair them up, somebody who's an expert on reliability, someone who's a security expert. And we really built that together, the narratives.\n\n**STEVE MCGHEE:** That's awesome.\n\n****JORDAN GREENBERG:**** And things are usually better when they're built in that way, when people are working hand in hand, and they're able to be really good at what they're good at. It's usually excellent. Shifting gears just a little, a recent white paper was published on agentic AI hackers. Is this something you're worried about right now?\n\n**STEVE MCGHEE:** Is this real?\n\n****JORDAN GREENBERG:**** What else are you worried about right now? Is it real? What is that?\n\n**STEVE MCGHEE:** I'm afraid it's real.\n\n**HEATHER ADKINS:** We're worried about everything. We are starting to see the adoption of large language models by threat actors. And it's about what you're seeing in business at the moment. You have productivity enhancements. In the business, we're seeing summarization of complex data. Here's a 4,000-page paper, give me a summary, kind of stuff.\n\nWe are also seeing these productivity enhancements by threat actors. You could imagine, write me a phishing email, translate that into another language, make it more realistic. We're also seeing the large language models get used for tasks, so sort of stepping up from just productivity enhancements to full-on tasks, including some early versions of polymorphic malware. So they will use a large language model to generate a new version of the malware for each use. And this is really--\n\n****JORDAN GREENBERG:**** Wow.\n\n**HEATHER ADKINS:** Yeah, it's scary. We've known about polymorphic malware for probably, like, 2 and 1/2 decades. It's certainly not the first example. But this helps it scale. And it's so easy to do.\n\nBut imagine your antivirus software, or endpoint detection response software, as we now call it. It's probably not going to catch it with its kind of very basic capabilities. You'll need very advanced capabilities to catch these things. And I think we're going to see more of this.\n\nAnd then we might also begin to see the full, end-to-end identification of hacking, what we call the cyber kill chain, trademarked by Lockheed Martin. But the fear is somebody will be able to type into their tool, \"please go hack company,\" whoever you're targeting.\n\nAnd it will do all the research. It'll find out what kind of software you use, find a vulnerability in it, conduct a phishing attack, exploit the vulnerability, laterally move through the network, find the data, steal the data. Game over.\n\n**STEVE MCGHEE:** It's not great.\n\n**HEATHER ADKINS:** It's not great.\n\n**STEVE MCGHEE:** I don't love it.\n\n**HEATHER ADKINS:** It's not great. But that sounds like a really scary idea. But we're going to see those kinds of tools in the hands of what we call the red teams as well. And red teams are the friendly hackers that we-- most big companies like Google have them. And we pay them to hack Google and tell us what we need to know so we can fix it.\n\nThey're going to have these tools as well. And so we'll get to simulate this against the environments. And we'll get to practice. And we'll get to see what it's like. And we'll be able to build similar kinds of defenses into IT, production, et cetera environments. It'll change the face of, I think, networks and how we set up networks pretty significantly.\n\n**STEVE MCGHEE:** So yeah, terrifying. OK, got it.\n\n****JORDAN GREENBERG:**** We're all scared.\n\n**HEATHER ADKINS:** Mission accomplished.\n\n**STEVE MCGHEE:** You did it. Well done. We can end here. No, you were speaking a little bit in the future tense, but I have a feeling this is also present tense. Without divulging things, is this kind of working? Like, should we just give up? Is it over? Did the bad guys win with this? Or is it doable? Are we seeing defenses arise as well? Like, when we practice with our red teams, are we like, ah, I got an idea, let's do the thing? Is that true?\n\n**HEATHER ADKINS:** I think we're on a glide path. I think we can see the horizon. We're starting to see the tools show up. This is where the white paper is helpful, to highlight what we're actually seeing. So it's real. It's coming. We should not be surprised by it. We shouldn't be scared by it. We should be thinking proactively.\n\nThe good news is that a lot of the good hygiene that we should be practicing will be helpful here-- making sure we're doing software upgrades when there are vulnerabilities, making sure we're putting in strong two-factor authentication for users. At Google, we use hardware-backed security keys.\n\nAnd in the infrastructure, make sure we're configuring it properly, that we're not leaving vulnerable configurations open to the internet. The hardened perimeter still has value. And we've been talking about, you don't want to have a bonbon security model, where it's only hard on the outside and soft on the inside.\n\n****JORDAN GREENBERG:**** Hmm. That's a good one.\n\n**HEATHER ADKINS:** Yeah. Having controls on the inside are also very important. Castle analogies are also very popular in our field. A castle is not just a building with a wall around it. You have a moat. You sometimes have multiple layers of walls. Those walls are usually pretty thick. And they usually extend down into the ground so you can't tunnel underneath them, or sapping, I think, as they call it in the official term.\n\nAnd then you've got the keep. And the keep is where you keep the crown jewels. And the crown jewels are on the top floor. And there's usually no stairs. And so if you think about it, you've got these layers of defense in a castle.\n\nThe more layers of defense you have in your infrastructure in a traditional security model, the harder it will be for even agentic AI to go hacking. And the really fun thing is that if you've ever played around with LLMs for any kind of information research, very happy to send you off into a very unproductive part of your research.\n\nWhich means that agentic AI hackers are not going to be perfect. And they're going to spend a lot of time trying things that don't work, just like humans do. But their intuition for it will be a little less predictable. So the more barriers we can put up while we are rethinking how to defend modern IT enterprises is going to be helpful.\n\nAnd then I think there's also key technologies that get put in place. And here, I'm taking some inspiration from the biological sciences, where pharmaceutical research is looking at nodal biology, which is, what's a problem that happens in a human that leads to 30 diseases? Because if I can solve the one problem, I solve 30 diseases. That's nodal biology.\n\nAnd it's very similar for how we build networks. What's the one node that if I harden that node, makes everything hard? Access management, for example, might be one of those things. And so if we can really get hyper-focused on agentic AI at the nodes, that's an interesting thread of research that we can pull on.\n\n**STEVE MCGHEE:** Well, the thing that I think this reminds me of, relating it to reliability, as well, because it's just the idea of your surface area when it comes to vulnerabilities, not necessarily for attacks, necessarily, or infrastructure failure, but just churn, just change.\n\nOne thing that I worry about is, we're going to start changing Google faster. And we already are. Just, more code is getting written by machine-assisted humans who are perfectly attentive to what they're doing and stuff. But just the pure volume seems like a problem.\n\nIt's just going to be harder and harder and harder as it gets faster and faster and bigger and bigger. Same plan? Different plan? What should we advise people on here? Because I think it's probably not just Google that's facing this challenge.\n\n**HEATHER ADKINS:** The first thing I would say is, however you think we are going to use AI is wrong.\n\n**STEVE MCGHEE:** Darn, OK.\n\n**HEATHER ADKINS:** And this will change over time. But the analogy I love to use is, when we harnessed electricity for the first time, the military planners thought, this is amazing. We're going to build these weapons, and we just zap people on the battlefield. It's going to change military warfare forever.\n\nBut that's not what happened. What happened is they put electricity on the railroad lines. And it increased supply chains, so it could increase the depth of your campaigns and the depth of occupation. And so when I think about AI and how it's going to get used, we have all of these things people are trying right now.\n\nWe have vibe coding, of course. But we also have people trying AI to write patches. There's a really great debate going on in our field, actually, as we're recording this, about the value of AI-generated bug fixes. Should you accept them blindly? Should you still do a human review?\n\nAnd I would say, every week, these debates are changing. And where they evolve to in two years, we don't know. So what I would say to organizations right now is, figure out how to play safely within boundaries, doing lots of pilots, lots of experimentation. Just know the first 600, 700 experiments may not be actually what you, as a business, or an open source project, or a project team, settle on.\n\nYou have this amazing tool to experiment with. Experiment, see where it is useful, abandon it where it's not. Don't be afraid of saying no just because it didn't work out. And just know that in two years, if you were to rewind to November 11, 2025, when we are recording this, probably look really different today than it did two years from now.\n\n****JORDAN GREENBERG:**** And hopefully in a good way. Hopefully, it empowers us, like the internet or electricity. And we're able to better serve users by having things fixed faster, by having systems increase their reliability because something was found with an agentic helper analyzing things with you. That's the future we want.\n\n**HEATHER ADKINS:** I remember the first security incident we had at Google was, we used to have these company-wide ski trips every winter. And a few of us would stay behind to keep the website on. And it was me, an SRE, who's still at Google also, and just a handful of other people. And we experienced our first major denial of service attack.\n\nAnd we were just sitting on piles and piles and piles of packet data trying to figure out what was going on and handcrafting Python scripts to process the data to see where it was coming from. And actually, all of the toil and struggle with that incident was just data crunching, just to make sense of what was happening so the humans could actually make some decisions.\n\nAnd if you think about the role of large language models, we could just probably put all that in there. And two seconds later, it would say, here's a cluster of activity, do this and do that. Amazing. Now, the humans know exactly what they need to do. And we can fulfill our value. We've taken the toil off of their plate and allowed them to actually go put in a tactical fix.\n\nBut then also, you've got all this time to think more strategically, what's a better long-term fix? How would we deal with this as a more systemic class of issues? Which we did eventually go on to build. But I just remember, a couple of days just doing nothing but Python and reading logs. And it wasn't very fun.\n\n**STEVE MCGHEE:** Yeah, I know that some of my experiences with AI recently has been looking at logs and just being like, Gemini, what--\n\n**HEATHER ADKINS:** Yeah, exactly.\n\n**STEVE MCGHEE:** --what is this saying? And it's pretty good at that. If you could just have a little angel on your shoulder that's like, what that means is the following in English, that's actually a pretty generic good use of compressing logs into actionable insight, which, I don't know, sounds very business school, but it's useful. It's good.\n\n**HEATHER ADKINS:** Also just presenting you with the questions you should be asking. Sometimes, you're not asking the right questions. So that's another thing. What questions should I be asking? Gemini is pretty good at that too.\n\n**STEVE MCGHEE:** Totally.\n\n****JORDAN GREENBERG:**** Yeah, so with all of that said, where can we find you on the internet, protecting the internet?\n\n**HEATHER ADKINS:** I do keep a relatively low profile, but I am on X and on Bluesky, ARGVEE. And I'm also on LinkedIn. And I tend to post about cybersecurity. And I'm very close on geopolitics. These are very tightly coupled these days. And I'm very passionate about medieval European history as well. So you'll see some tweets.\n\n**STEVE MCGHEE:** Awesome.\n\n****JORDAN GREENBERG:**** Oh, so the castle information makes sense.\n\n**STEVE MCGHEE:** I like it when it crosses over. Yeah, that totally works. I love it.\n\n****JORDAN GREENBERG:**** Amazing.\n\n**STEVE MCGHEE:** Well, thanks so much for your time. This was really cool. It's nice to see you again.\n\n****JORDAN GREENBERG:**** Thank you.\n\n**HEATHER ADKINS:** Thank you. Good luck to everybody.\n\n****JORDAN GREENBERG:**** Awesome.\n\nYou've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.", "znaku_textu": 26142, "slov": 4631, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:08", "sha256": "70e66751d18ffe06513fbce63ae452a00474d1bdc9c2146ddf93f7c40cb35f0b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-03/", "titulek": "The One With Heather Adkins", "h1": "The One With Heather Adkins", "popis": "Join us on The Prodcast as we host Heather Adkins, leader of Google’s Office of Cybersecurity Resilience, for a critical look at the future of digital defenses. We explore the intersection of SRE and security , unpacking the ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Heather Adkins"}], "markdown": "# The One With Heather Adkins\n\nJoin us on The Prodcast as we host Heather Adkins, leader of Google’s Office of Cybersecurity Resilience, for a critical look at the future of digital defenses. We explore the intersection of SRE and security , unpacking the \"Secure by Design\" philosophy and the shared DNA of incident management.\n\nHeather candidly discusses the rise of \"Agentic AI hackers\" and polymorphic malware , revealing how defenders can use AI to stay ahead. From \"castle\" defense strategies to \"nodal biology\" theories, this episode is a must-listen for anyone navigating the new era of AI-driven threats.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n****JORDAN GREENBERG:**** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening. And may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey, everybody, welcome back to The Prodcast. This is Google's podcast on SRE and production software. Hello Jordan. It's been a little while.\n\n****JORDAN GREENBERG:**** It's been a while.\n\n**STEVE MCGHEE:** Our co-host, Jordan, is back.\n\n****JORDAN GREENBERG:**** Yes, I'm back.\n\n**STEVE MCGHEE:** Hello. How's it going?\n\n****JORDAN GREENBERG:**** Going well. I'm very excited about our guest today, who usually meets people in times of crisis. I skipped over that piece, meeting our guest at a work conference instead.\n\n**STEVE MCGHEE:** Yeah, that sounds better.\n\n****JORDAN GREENBERG:**** Yeah, I think so. It was. It was great. Would you please introduce yourself?\n\n**HEATHER ADKINS:** Yes, hi. My name is Heather Adkins. And, well, I work at Google. No surprise there. And I lead what we call our Office of Cybersecurity Resilience, overseeing all the great people working on security at Google and all of our initiatives.\n\nAnd I've been at Google for a little over 23 years. So I've gotten to see the company from when we had two products to today, when we have things that fly. And then I guess Sundar has announced we're going to have things in space soon. So that'll change the threat models.\n\n****JORDAN GREENBERG:**** Oh, my goodness.\n\n**STEVE MCGHEE:** Why not? So your employment is, like, in grad school, basically, is what you're saying. 23, is that right? Something like that?\n\n**HEATHER ADKINS:** 2002.\n\n****JORDAN GREENBERG:**** Oh, gosh.\n\n**STEVE MCGHEE:** Yeah, pretty wild. Well, we didn't meet in a time of crisis. I believe it was a Christmas on-call shenanigan of some kind involving reliability and security at the same time, and making sure bad stuff didn't happen, or if it did, it wasn't that bad, or whatever. We don't have to go into the details. But it was a memorable Christmas Day, I can tell you that, at least on my side.\n\n**HEATHER ADKINS:** All of my Christmases at Google have been memorable. Each and every one of them.\n\n**STEVE MCGHEE:** Oh, boy. OK.\n\n****JORDAN GREENBERG:**** A present in each of them.\n\n**STEVE MCGHEE:** That's right. That's right. Well, speaking of which, it's not like I set this up at all, but speaking of SRE and security engineers working together, incidents tend to be that thing that we work together on. But they're kind of different. How have you found working with SRE? And how different are these incidents? And are they tremendously different? If there was a Venn diagram, how close to two circles versus one circle is it? Stuff like that. Can you enlighten us a little bit on the differences there?\n\n**HEATHER ADKINS:** Yeah, I think the primary difference between a reliability incident and a security incident is that the instigation of the incident is usually a malicious human. And then there's a Venn diagram overlap of when the malicious human causes a reliability problem.\n\nBut for the most part, what we try to add into the incident management function during a security incident is the element of, you have to anticipate the behavior of someone else. And there's this kind of philosophy in the field of, when you find the hacker, when do you turn them off?\n\nAnd in a reliability incident, usually when we find the root cause, we want to fix it as fast as possible and move on. In a security incident, you have to step back and play a little bit of a game of chess with the other side. And so that is kind of a different sort of externality to security incidents that we often get to have a real candid conversation with.\n\nThis is going to change completely with AI, because we're not going to know whether that's an agentic AI hacker or a human. And that's going to make things very interesting for us. But I think otherwise, there's a lot in common.\n\nI think when you look at the methodologies for analysis, getting to root cause after the fact, doing a blameless postmortem, there's actually a lot in common with how you do reliability and how you approach security incidents. And in fact, at Google, our SRE teams and security teams use the same incident management frameworks for that reason.\n\n**STEVE MCGHEE:** Yeah, I was going to say, the tactics, and the tooling, there's a fair amount of overlap. And I was going to actually just say the exact same thing. I would suggest trying, companies out in the world that aren't Google, building bespoke copies of each other. I've seen that happen in some places.\n\nHave you experienced that? Do you ever work with cloud customers, for example, that quote an SRE who works somewhere else, not at Google, where they're trying to have these tools, and they're like, oh, should we use the same one as secure-- they have whatever. Should we use that? Blah, blah, blah. You know what I mean?\n\n**HEATHER ADKINS:** I'll be honest, security people are usually pretty picky about their tools. And even at Google, we have a-- the incident tracking for reliability is a tool. Everybody uses it. And it's really great, because if there's something down, you can go, and you can check it out and what's going on. I have to consider whether there's a bad guy reading my incident management log. And so-- no. And also--\n\n**STEVE MCGHEE:** Yeah, that's tough.\n\n**HEATHER ADKINS:** Yeah, it's tough. So putting an advertisement in our internal outage management tool that we are doing a security incident would be probably a misstep on the OPSEC side for us. But the other thing that I found is security people, increasingly, we've been trying to integrate as much security data context into that tooling.\n\nAnd so you end up with a situation of, do you want to try to put all of that integration into your incident management tracking tool, or do you want to try to create a custom tool? So there's a little bit of fragmentation still.\n\nBut I think, in general, what's helpful is just to make sure you've got how and the mechanisms right, and that two teams could work in each other's tools without it feeling too alien, depending on what kind of issues you're working on. But again, I think each environment is going to see unique elements of that.\n\n**STEVE MCGHEE:** Yeah, I was just watching the-- last night, actually, I was watching the movie about Alan Turing that came out a few years ago or whatever. And that near the end of the movie, spoilers, the war happened and stuff.\n\nBut there was a point where they're like, we know this thing is going to happen because we broke the code. And they're like, we can't tell anyone because that would spook the other side into knowing that we broke their code. And then that would just change the whole equation. And we can't actually do the thing we want to do, which is like, shut it down right now. And it's like, oh, boy, that's a tough lesson.\n\n**HEATHER ADKINS:** Right. It's your instinct, yeah.\n\n**STEVE MCGHEE:** I mean, it's arguably tougher when there's direct bombings on vessels and stuff. But that's hard. I mean, how do you approach that? How do you know when that tipping point is? Maybe that's a whole different podcast.\n\n**HEATHER ADKINS:** But yeah, there's a whole discipline of this in information warfare. And there's some great manuals the DOD-- the US DOD-- has published on this. But there's no easy calculation. And especially if you don't have perfect visibility into how your threat actor is thinking, or in the case of kinetic warfare, how your enemy is thinking. But there's thousands and thousands of years of military study on this, everybody always trying to answer that.\n\nFor me, though, I think the most important thing is to focus on limiting damage and to focus on having a complete picture. And so we're always trying to figure out, how do we put together the flow diagram of how the attack happened, where it started, what are all the things that a threat actor might have touched, all the data, all the machines, put that picture together as quickly as possible and really focus your pre-event automation on building that.\n\nBecause the faster you get the complete picture, the faster you can turn stuff off. And the idea is that we cut everything out, and you make that kind of cutoff happen, and then you move forward.\n\n**STEVE MCGHEE:** Got it.\n\n****JORDAN GREENBERG:**** So there's a creativity piece of it, where if you are a malicious actor and you're looking to compromise a system with the tools that you have, or if you're upleveled with AI tooling, you get to be very creative, because you get to see the full picture of what someone has done.\n\nAnd when you are creating something to be used by humans, security is built in. We do secure by design. We work on involving security right away to fix something so that we can catch these cases before they happen.\n\nSo this is something that we've mentioned in previous security and SRE talks, where we've had Jessica Theiddat with us, talking about how people do make these-- or compromise systems. I would love to hear a little bit about how maybe some of the principles that we have in secure by design that help us build reliable systems, some pointers or tips that maybe you would educate SREs with in a book, maybe.\n\n**STEVE MCGHEE:** There's a book that has those words on the cover. You may have seen it.\n\n****JORDAN GREENBERG:**** Oh, my gosh.\n\n**HEATHER ADKINS:** A real labor of love.\n\n**STEVE MCGHEE:** Look at that. Look at that.\n\n**HEATHER ADKINS:** About 100 of us wrote a book. And if you've ever had to write a book with 100 people--\n\n****JORDAN GREENBERG:**** No, I'm sure it's great.\n\n**HEATHER ADKINS:** But no, it's really amazing. You got 100--\n\n**STEVE MCGHEE:** It's a good book. It's a good book.\n\n**HEATHER ADKINS:** Thank you. We released that in April of 2020, the first month of the pandemic. And so--\n\n**STEVE MCGHEE:** Perfect.\n\n**HEATHER ADKINS:** What a way to go into a pandemic. It's been really great.\n\n****JORDAN GREENBERG:**** At least you had something to do. You could read the book.\n\n**HEATHER ADKINS:** Not so good for advertising it. But we had a really great collaboration. And the approach we took with this was, in every chapter, we wanted a thesis for why this is a reliability topic, and why this is a security topic, and how to blend the two.\n\nAnd it was through doing that that I sort of realized that a lot of the work we'd done on insider threat from a cybersecurity perspective matched almost perfectly with how SRE was thinking about reliability. And if you think about, how do I keep an employee from doing something malicious, or how do I keep an employee from making a mistake, the solutions are often very similar.\n\nA peer review, for example. If you typoed an integer setting in a configuration file, that could either take the website down because you typoed it or because you really wanted to. So we really sought to look at this Venn diagram phenomenon that we were starting to see and pull out examples, pull out capabilities, approaches to how to think about the problem, but also how we solved the problem, and give people some examples.\n\nAnd as such, it's a really dense book. And my recommendation, if you do tackle it, is there's an open source version online. We felt very, very passionate that while you can get it in a book form, and it's been translated into many languages, we also wanted it to be something that people could come back to, and refer to, and to share.\n\nBut it's really good in a book club. Take one chapter at a time. It's really good if you've got a particular set of problems and you cherry pick one chapter here or one chapter there. It's not exactly a beach page-turner. So a little dense and deep, I've been told. But we did try to share as much wisdom in there as we could.\n\n**STEVE MCGHEE:** Awesome. We appreciate it. I know I've shared chapters at a time from the online one you're referring to with customers and be like, it's this one, read this one. Please get the book if you want, but just read this one for now.\n\n**HEATHER ADKINS:** And you'll see, there's different authors on every chapter, but there's always more than one author. And that's because we pair them up, somebody who's an expert on reliability, someone who's a security expert. And we really built that together, the narratives.\n\n**STEVE MCGHEE:** That's awesome.\n\n****JORDAN GREENBERG:**** And things are usually better when they're built in that way, when people are working hand in hand, and they're able to be really good at what they're good at. It's usually excellent. Shifting gears just a little, a recent white paper was published on agentic AI hackers. Is this something you're worried about right now?\n\n**STEVE MCGHEE:** Is this real?\n\n****JORDAN GREENBERG:**** What else are you worried about right now? Is it real? What is that?\n\n**STEVE MCGHEE:** I'm afraid it's real.\n\n**HEATHER ADKINS:** We're worried about everything. We are starting to see the adoption of large language models by threat actors. And it's about what you're seeing in business at the moment. You have productivity enhancements. In the business, we're seeing summarization of complex data. Here's a 4,000-page paper, give me a summary, kind of stuff.\n\nWe are also seeing these productivity enhancements by threat actors. You could imagine, write me a phishing email, translate that into another language, make it more realistic. We're also seeing the large language models get used for tasks, so sort of stepping up from just productivity enhancements to full-on tasks, including some early versions of polymorphic malware. So they will use a large language model to generate a new version of the malware for each use. And this is really--\n\n****JORDAN GREENBERG:**** Wow.\n\n**HEATHER ADKINS:** Yeah, it's scary. We've known about polymorphic malware for probably, like, 2 and 1/2 decades. It's certainly not the first example. But this helps it scale. And it's so easy to do.\n\nBut imagine your antivirus software, or endpoint detection response software, as we now call it. It's probably not going to catch it with its kind of very basic capabilities. You'll need very advanced capabilities to catch these things. And I think we're going to see more of this.\n\nAnd then we might also begin to see the full, end-to-end identification of hacking, what we call the cyber kill chain, trademarked by Lockheed Martin. But the fear is somebody will be able to type into their tool, \"please go hack company,\" whoever you're targeting.\n\nAnd it will do all the research. It'll find out what kind of software you use, find a vulnerability in it, conduct a phishing attack, exploit the vulnerability, laterally move through the network, find the data, steal the data. Game over.\n\n**STEVE MCGHEE:** It's not great.\n\n**HEATHER ADKINS:** It's not great.\n\n**STEVE MCGHEE:** I don't love it.\n\n**HEATHER ADKINS:** It's not great. But that sounds like a really scary idea. But we're going to see those kinds of tools in the hands of what we call the red teams as well. And red teams are the friendly hackers that we-- most big companies like Google have them. And we pay them to hack Google and tell us what we need to know so we can fix it.\n\nThey're going to have these tools as well. And so we'll get to simulate this against the environments. And we'll get to practice. And we'll get to see what it's like. And we'll be able to build similar kinds of defenses into IT, production, et cetera environments. It'll change the face of, I think, networks and how we set up networks pretty significantly.\n\n**STEVE MCGHEE:** So yeah, terrifying. OK, got it.\n\n****JORDAN GREENBERG:**** We're all scared.\n\n**HEATHER ADKINS:** Mission accomplished.\n\n**STEVE MCGHEE:** You did it. Well done. We can end here. No, you were speaking a little bit in the future tense, but I have a feeling this is also present tense. Without divulging things, is this kind of working? Like, should we just give up? Is it over? Did the bad guys win with this? Or is it doable? Are we seeing defenses arise as well? Like, when we practice with our red teams, are we like, ah, I got an idea, let's do the thing? Is that true?\n\n**HEATHER ADKINS:** I think we're on a glide path. I think we can see the horizon. We're starting to see the tools show up. This is where the white paper is helpful, to highlight what we're actually seeing. So it's real. It's coming. We should not be surprised by it. We shouldn't be scared by it. We should be thinking proactively.\n\nThe good news is that a lot of the good hygiene that we should be practicing will be helpful here-- making sure we're doing software upgrades when there are vulnerabilities, making sure we're putting in strong two-factor authentication for users. At Google, we use hardware-backed security keys.\n\nAnd in the infrastructure, make sure we're configuring it properly, that we're not leaving vulnerable configurations open to the internet. The hardened perimeter still has value. And we've been talking about, you don't want to have a bonbon security model, where it's only hard on the outside and soft on the inside.\n\n****JORDAN GREENBERG:**** Hmm. That's a good one.\n\n**HEATHER ADKINS:** Yeah. Having controls on the inside are also very important. Castle analogies are also very popular in our field. A castle is not just a building with a wall around it. You have a moat. You sometimes have multiple layers of walls. Those walls are usually pretty thick. And they usually extend down into the ground so you can't tunnel underneath them, or sapping, I think, as they call it in the official term.\n\nAnd then you've got the keep. And the keep is where you keep the crown jewels. And the crown jewels are on the top floor. And there's usually no stairs. And so if you think about it, you've got these layers of defense in a castle.\n\nThe more layers of defense you have in your infrastructure in a traditional security model, the harder it will be for even agentic AI to go hacking. And the really fun thing is that if you've ever played around with LLMs for any kind of information research, very happy to send you off into a very unproductive part of your research.\n\nWhich means that agentic AI hackers are not going to be perfect. And they're going to spend a lot of time trying things that don't work, just like humans do. But their intuition for it will be a little less predictable. So the more barriers we can put up while we are rethinking how to defend modern IT enterprises is going to be helpful.\n\nAnd then I think there's also key technologies that get put in place. And here, I'm taking some inspiration from the biological sciences, where pharmaceutical research is looking at nodal biology, which is, what's a problem that happens in a human that leads to 30 diseases? Because if I can solve the one problem, I solve 30 diseases. That's nodal biology.\n\nAnd it's very similar for how we build networks. What's the one node that if I harden that node, makes everything hard? Access management, for example, might be one of those things. And so if we can really get hyper-focused on agentic AI at the nodes, that's an interesting thread of research that we can pull on.\n\n**STEVE MCGHEE:** Well, the thing that I think this reminds me of, relating it to reliability, as well, because it's just the idea of your surface area when it comes to vulnerabilities, not necessarily for attacks, necessarily, or infrastructure failure, but just churn, just change.\n\nOne thing that I worry about is, we're going to start changing Google faster. And we already are. Just, more code is getting written by machine-assisted humans who are perfectly attentive to what they're doing and stuff. But just the pure volume seems like a problem.\n\nIt's just going to be harder and harder and harder as it gets faster and faster and bigger and bigger. Same plan? Different plan? What should we advise people on here? Because I think it's probably not just Google that's facing this challenge.\n\n**HEATHER ADKINS:** The first thing I would say is, however you think we are going to use AI is wrong.\n\n**STEVE MCGHEE:** Darn, OK.\n\n**HEATHER ADKINS:** And this will change over time. But the analogy I love to use is, when we harnessed electricity for the first time, the military planners thought, this is amazing. We're going to build these weapons, and we just zap people on the battlefield. It's going to change military warfare forever.\n\nBut that's not what happened. What happened is they put electricity on the railroad lines. And it increased supply chains, so it could increase the depth of your campaigns and the depth of occupation. And so when I think about AI and how it's going to get used, we have all of these things people are trying right now.\n\nWe have vibe coding, of course. But we also have people trying AI to write patches. There's a really great debate going on in our field, actually, as we're recording this, about the value of AI-generated bug fixes. Should you accept them blindly? Should you still do a human review?\n\nAnd I would say, every week, these debates are changing. And where they evolve to in two years, we don't know. So what I would say to organizations right now is, figure out how to play safely within boundaries, doing lots of pilots, lots of experimentation. Just know the first 600, 700 experiments may not be actually what you, as a business, or an open source project, or a project team, settle on.\n\nYou have this amazing tool to experiment with. Experiment, see where it is useful, abandon it where it's not. Don't be afraid of saying no just because it didn't work out. And just know that in two years, if you were to rewind to November 11, 2025, when we are recording this, probably look really different today than it did two years from now.\n\n****JORDAN GREENBERG:**** And hopefully in a good way. Hopefully, it empowers us, like the internet or electricity. And we're able to better serve users by having things fixed faster, by having systems increase their reliability because something was found with an agentic helper analyzing things with you. That's the future we want.\n\n**HEATHER ADKINS:** I remember the first security incident we had at Google was, we used to have these company-wide ski trips every winter. And a few of us would stay behind to keep the website on. And it was me, an SRE, who's still at Google also, and just a handful of other people. And we experienced our first major denial of service attack.\n\nAnd we were just sitting on piles and piles and piles of packet data trying to figure out what was going on and handcrafting Python scripts to process the data to see where it was coming from. And actually, all of the toil and struggle with that incident was just data crunching, just to make sense of what was happening so the humans could actually make some decisions.\n\nAnd if you think about the role of large language models, we could just probably put all that in there. And two seconds later, it would say, here's a cluster of activity, do this and do that. Amazing. Now, the humans know exactly what they need to do. And we can fulfill our value. We've taken the toil off of their plate and allowed them to actually go put in a tactical fix.\n\nBut then also, you've got all this time to think more strategically, what's a better long-term fix? How would we deal with this as a more systemic class of issues? Which we did eventually go on to build. But I just remember, a couple of days just doing nothing but Python and reading logs. And it wasn't very fun.\n\n**STEVE MCGHEE:** Yeah, I know that some of my experiences with AI recently has been looking at logs and just being like, Gemini, what--\n\n**HEATHER ADKINS:** Yeah, exactly.\n\n**STEVE MCGHEE:** --what is this saying? And it's pretty good at that. If you could just have a little angel on your shoulder that's like, what that means is the following in English, that's actually a pretty generic good use of compressing logs into actionable insight, which, I don't know, sounds very business school, but it's useful. It's good.\n\n**HEATHER ADKINS:** Also just presenting you with the questions you should be asking. Sometimes, you're not asking the right questions. So that's another thing. What questions should I be asking? Gemini is pretty good at that too.\n\n**STEVE MCGHEE:** Totally.\n\n****JORDAN GREENBERG:**** Yeah, so with all of that said, where can we find you on the internet, protecting the internet?\n\n**HEATHER ADKINS:** I do keep a relatively low profile, but I am on X and on Bluesky, ARGVEE. And I'm also on LinkedIn. And I tend to post about cybersecurity. And I'm very close on geopolitics. These are very tightly coupled these days. And I'm very passionate about medieval European history as well. So you'll see some tweets.\n\n**STEVE MCGHEE:** Awesome.\n\n****JORDAN GREENBERG:**** Oh, so the castle information makes sense.\n\n**STEVE MCGHEE:** I like it when it crosses over. Yeah, that totally works. I love it.\n\n****JORDAN GREENBERG:**** Amazing.\n\n**STEVE MCGHEE:** Well, thanks so much for your time. This was really cool. It's nice to see you again.\n\n****JORDAN GREENBERG:**** Thank you.\n\n**HEATHER ADKINS:** Thank you. Good luck to everybody.\n\n****JORDAN GREENBERG:**** Awesome.\n\nYou've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.", "znaku_textu": 26142, "slov": 4631, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:03", "sha256": "70e66751d18ffe06513fbce63ae452a00474d1bdc9c2146ddf93f7c40cb35f0b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-04", "titulek": "The One with Denia del Cid", "h1": "The One with Denia del Cid", "popis": "Curious about the real impact of AI on Site Reliability Engineering? In this episode of The Prodcast, Google SRE Denia del Cid breaks down how her team is leveraging AI to transform production workflows.\n\nDenia details practical applications like early outage detection, incident similarity analysis, and toil reduction. She explains the critical importance of validating against ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Denia del Cid"}], "markdown": "# The One with Denia del Cid\n\nCurious about the real impact of AI on Site Reliability Engineering? In this episode of The Prodcast, Google SRE Denia del Cid breaks down how her team is leveraging AI to transform production workflows.\n\nDenia details practical applications like early outage detection, incident similarity analysis, and toil reduction. She explains the critical importance of validating against \"golden data sets\" and keeping humans in the loop to build trust. Discover how SREs are evolving from skepticism to strategic adoption with Gemini.\n\nTune in for a pragmatic, measured look at the future of reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**[STATICKY VOICE]**\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE and production software. I'm Steve McGhee again. And also again, we have Matt. How's it going, Matt? How are you?\n\n**MATT SIEGLER:** Hey there, Steve. Glad to be back.\n\n**STEVE MCGHEE:** Excellent. I think we have a guest today too, don't we? Probably.\n\n**MATT SIEGLER:** We do.\n\n**STEVE MCGHEE:** We tend to. Yes.\n\n**[LAUGHTER]**\n\nGuest, would you please introduce yourself. Who are you exactly?\n\n**DENIA DEL CID:** Sure, sure. My name is DENIA DEL CID, and I'm an SRE at Google. I've been in the company for about 9 and 1/2 years now, and an SRE for the large majority of it, like 7-plus years, 7-8 years.\n\n**STEVE MCGHEE:** How did you get hired? Were you hired not to SRE, then you moved into SRE?\n\n**DENIA:** Yeah, no, I actually started as an intern. I started as an intern working in support. If you are a Googler or were a Googler, I used to work at TechStop.\n\n**STEVE MCGHEE:** Nice, classic.\n\n**DENIA:** And then I did a rotational program that allowed me to travel around the world and then rotate with teams. And through that, one of those rotations, that's how I discovered what SRE was, and I loved it, and then here I am a bunch of years later.\n\n**STEVE MCGHEE:** A bunch of years later. We don't need to count years. No one feels good about that. That's very cool. I've actually heard a lot of folks come through either TechStop or corporate IT. That tends to be a pretty-- I don't know if it's common, but I've heard it a fair amount of--\n\n**MATT SIEGLER:** Yeah, the route through operations into SRE makes total sense to me, like getting your hands on things, then using that on the things to support the systems. That makes perfect sense to me.\n\n**DENIA:** Yeah, back in my day, it was not as common, but I think you see a lot more of that, which is great. I think there's a lot of overlap for sure.\n\n**STEVE MCGHEE:** Are you implying that I'm some sort of old person that's been around for too long? Because that's exactly accurate.\n\n**DENIA:** No. It's the opposite.\n\n**[LAUGHS]**\n\n**STEVE MCGHEE:** OK, so I'm guessing that you're no longer in TechStop. What is it that you're doing these days? So what SRE flavor do you practice?\n\n**DENIA:** So nowadays, I am essentially doing AI for SRE.\n\n**STEVE MCGHEE:** Cool.\n\n**DENIA:** Which is a very cool, very exciting, definitely fresh field. I've only been doing this for the last year and a half, shortly after the inception of my new team.\n\n**STEVE MCGHEE:** But to be honest, a year and a half of AI for anything is like the half life of all of AI at all anyways, so that's pretty good. It's a fast-moving world.\n\n**DENIA:** Yeah, it changes so much. It does. When we started, Gemini 1 and 1.5 were still a thing, and now we're all the way to 3. So I've definitely seen the evolutions and the models changing along the way.\n\n**STEVE MCGHEE:** For sure. That's cool.\n\n**MATT SIEGLER:** That makes me think about SRE being cautious about adopting newer infrastructure into its folds because it's so focused on repeatability, reliability, and wanting to ensure the best for its services. Can you speak a little bit about that in AI and how, taking that into it, being cautious and thoughtful about it, that says something interesting about that, for SRE to say, OK, yep, we're going to do some AI. How did we do that?\n\n**DENIA:** Yeah, so back in the good old days of two years ago, there was definitely a lot more hesitation. It wasn't too clear what the path of where the applications of using AI in SRE workflows would look like. And that's where my team was a pioneer in this field, where our org got funding for this exploratory project that is Data Cloud Platform, the team that I'm on, to explore ways in which we could apply AI, and then how reliable and applicable in terms of accuracy and to the field, whether it's to diagnosis or planning, how applicable AI could be.\n\nAnd then now we're a year and a half later, since the design and the experiments and running the services, and we've been seeing a lot of progress both in terms of accuracy, a lot of interest in adoption, but it's definitely been a journey. I'd say what we've tried to focus on more is on making tools that surface information first.\n\nAnd then, as you learn to trust your tool or to tune your prompts to the LLMs to get results that are specific to your team and that are high in accuracy, high being how a human in their own subjective experience would apply certain tags or would perform certain analysis, try to match that as closely as we can. That's where we're taking the journey. And then eventually, just recently, we've been starting to explore so now, how can we automate some of these workflows, maybe not fully 100% touching production, but definitely being that sort of companion to an SRE.\n\n**STEVE MCGHEE:** Cool. Can you remember a moment where either you or someone that you heard about, or maybe this is just an experience or a story, where it went from, this seems maybe interesting to, oh, we should do this. This turned a corner. Do you remember any moment, like, what was the thing that it's like, oh, it can x, whereas before we were like, I wonder if it can x.\n\n**DENIA:** We've had a couple of those. So for instance, one of the most interesting ones where we have all of these support cases and escalations that customers have mentioned. And then sometimes it takes a couple days for an OMG or an incident like an SRE to take a look at it, maybe because our alerting system was not aware of that niche case that the user was experiencing. Maybe we weren't monitoring it at the time. So that started as a very bare bones proof of concept. And then it started to be very interesting. We've detected a couple of outages, some that regular traditional automation detected, but some of them that were detected before in this method.\n\nAnother example is for leads across SRE. A common task that they have is analyzing all of their team's ticket queues and trying to find trends along those, like what was the most common root causes for them or the solutions? What proportion of the entire queue belong to a particular incident? Is there anything that we can automate and prioritize, because we're seeing high volume or because our team is dedicating too many human resources in troubleshooting these results? So we've been able to create tooling that analyzes all of that in a matter of a couple minutes, a task that could easily take some teams weeks, and then it just creates dynamic dashboards for them.\n\n**STEVE MCGHEE:** Do you think it was a matter of the technologies themselves that you're building these on maturing, or was it that the team had to figure out which problems were solvable, or it was a matter of writing the agents or whatever within your team? Was it a practice thing or was it a OK, we're ready, now it'll work-- launch, launch, launch.\n\n**DENIA:** So it was more of a hearing your customer kind of scenario. Our team is a horizontal across all of Data Cloud, which includes databases, data analytics across Google, which is a few teams, just because of the scale of Google. It's like tens of teams. So we sat down with all of them. A few people from our team came from those teams, so they already had knowledge about the common problems that they would have.\n\nAnd based out of both their experiences and talking to the leads across these teams is when we started seeing patterns in trends or in workflows. Like, oh, your director every month is going to ask a report on what was the progress on x type of toil. And it was a manual task to have engineers.\n\nSome teams, they would even dedicate a full-time engineer and give them a KR for the entire quarter to manually tag all of their bugs and then generate this analysis. So that's where we saw the opportunity of freeing up the time of an SRE as much as we could so that they could actually do the planning work, the design coding work that's one of the biggest values of an SRE, instead of having to read through all bugs and ensure they were tagged properly or manually tag them themselves.\n\n**STEVE MCGHEE:** This is really striking a chord with me, just thinking automation-- like automation, automation, automation. This is our business model since day one. SREs try to automate themselves out of their own work. But usually with automation, when you go to your customer with an automation objective, they look at you a little funny, like, whoa, wait, whoa, I kind of want you to be looking at this manually before you hand it to them.\n\n**MATT SIEGLER:** Yeah, it's important.\n\n**STEVE MCGHEE:** --automate or-- yeah, my stuff is very precious. What are you doing?\n\n**MATT SIEGLER:** Mine is better. It's more--\n\n**STEVE MCGHEE:** Yeah, it deserves your personal attention. So let's think a bit about not only automating. You're now adding intelligent automation to it. So there must be occasionally some resistance or a little bit of skepticism.\n\nHow do you manage some of that? And how do you push through that, or maybe even back off from some of those things? And were there some pitfalls? Was there a negotiation through that process?\n\n**DENIA:** Yeah, well, we do not force our users to adopt us at all. So if anything, what you're mentioning is exactly what we noticed at the beginning stages, like during our consultation phases.\n\nSo what we did is take notes. So we built the tool to be dynamic. So when people say, these are the tags that are specific to me, and this is how my humans tag them, and we're like, this is great. So give me your list, and we're going to make sure that when we analyze all of the bugs in your components, all of the tickets from your customer support cases, we're going to use your tags. So this is where AI, like your LLMs, are phenomenal, because we embed all of those custom tags that they have as part of the instruction.\n\nThe tricky part then comes with validation, because sometimes what is obvious to a tenured engineer in a team and common terminology for them might not be as relevant to the LLM. So especially in that very first cases after adoption, we notice people are dissatisfied with the results because they might not be accurate enough. So usually that takes a couple of rounds of prompt tuning, making sure that we clarify terminology or clarify different scenarios when a tag should be applied and when it shouldn't so the LLM learns.\n\nAnd then we do validation. So for that, I do not trust this tool. Usually, teams tend to have what we call our golden data sets, which is what, back in the day, when they were still tagging things manually, we compare the results that the LLM handles against their manual results for the exact same bugs, and that's how we measure how accurate our labeling is against their tags.\n\n**STEVE MCGHEE:** Yeah, that's really important. That's awesome that you had that, because without that it would be much harder, I have a feeling.\n\nOn the same vein, backing up a second, you're on a team that is, like you said, it's horizontal. It's kind of developing these tools or systems that are solving problems for neighboring teams. Is that about right? Based on your interviews your making the solutions match what they're used to, and so it's a little bit more-- I don't know, feels a little white glove, which is nice. It's not just like, go use this thing you've never heard of. It sounds like it's pleasant, which is great.\n\nSo once you have these solutions in place, and you're getting client teams to use them, how do you judge if it's working? What are the metrics for success that you, as this tools developing team, how do you know it's working? How do you know you're successful? Do you get points or something, or is there-- I don't know, I'm just curious.\n\n**DENIA:** So it depends on the tool. So we have three main products for now. One of them is the early outage detection that I was mentioning through looking at support cases. The other is for analysis. And then the latter is similarity. So the way that you gauge success really depends. So for early outage detection, if you detected the outage before the team did, that is success to us.\n\n**STEVE MCGHEE:** You being like-- if the tool detects it before the human--\n\n**DENIA:** Before the automation.\n\n**STEVE MCGHEE:** --gets paged or something?\n\n**DENIA:** Yes, before a traditional SRE-alerting configuration would detect that as an OMG or as an incident.\n\n**STEVE MCGHEE:** It's a race.\n\n**DENIA:** Then that's how we qualify success in that regard. Then for the second is adoption of our dashboard in the regular workflows. So when teams tell us, oh, we loved your tool, we're now using it for planning, or we use it every week to analyze the trends of toil in our production reviews, that would be the second. And then for similarity is satisfaction with the results. So if we surface how similar a given incident might be to past incidents, so when those are high in accuracy, when teams give us feedback or when an individual gives feedback that it was successful.\n\n**STEVE MCGHEE:** That's cool. Are you able to then roll those learnings back into the system to make it more accurate, more faster? I presume that's a goal, but does it work? Can you actually do that?\n\n**DENIA:** Well, we're actually working on that right now. We're working on our pipelines.\n\n**STEVE MCGHEE:** OK, that's very cool.\n\n**MATT SIEGLER:** Yeah, I was curious how this talk about toil reduction. You are now getting some early signals, giving people things to look at specifically earlier than just hunting around their usual dashboards, which I'm sure they've cultivated carefully on their own. But now they might have some early signals that are actually maybe a little bit more specific to what's actually going on. Are you measuring toil reduction? And how is that going?\n\n**DENIA:** Well, each team measures toil reduction independently, and they have different targets. Our team ourselves, we have relatively little toil, just because our services are so new. But from their end, they usually come with toil reduction targets. They have specific cues that have high volume of tickets. So most of the time, they want to reduce the volume of the incoming tickets. Other times, they just want to get better understanding of their tickets just because they are poorly documented.\n\nAnd we do some context retrieval as well, where if a bug is related to a different ticket or to an OMG or to a postmortem, then we retrieve those contents to improve the tagging, which is similar to when a human would go in, read through a bug, try to figure out what happened, and label it.\n\nSo I think for us, we mostly set the general direction for the team. In the dashboards that we create, it's supposed to give them like a bird's eye view of what their toil looked like on any given period of time. It could be over the last year, over the last quarter, last month, last week. And we leave it up to them on what they want to prioritize.\n\nWe just surface the clusters that tend to be the most popular, just purely based on their own tickets. What were the most common root causes for the issues? And what were the most common fixes? The other interesting area is the ones that were-- the root causes are not known, that they might have auto-resolved. Why are you getting all of these tickets that ended up just being automatically closed or labeled as obsolete?\n\n**STEVE MCGHEE:** Are you finding those to be fairly uniform objectives across your customers? They're all kind of targeting towards the same burndowns, they want to close tickets faster. No, you're shaking your head.\n\n**DENIA:** No. Everyone seems to have-- they do have a goal of, we want to reduce our toil, but the how you reduce your toil or where in their journey they are to better understand their toil, it's all over the place. Some teams might have a better picture of their toil just because they dedicate so many resources to tagging and monitoring that through time.\n\nAnd other teams are just starting to do that because now they're like, oh, we have AI that can do this automatically for us. That is so cool. Before, we were just overloaded with all of these alerts, we can barely stay over water, and they just feel like they're drowning. So this is starting to provide them with better insights, and it's taking them through the journey of should we remove alerts? Should we split some of them, or tier the alerts in how they get triggered? And others are going through the journey of, we should be documenting our tickets better.\n\n**STEVE MCGHEE:** Yeah, teams go through these life cycles. And I would imagine that not everyone is going to use the system that you guys are building in the same way at the same time. It depends on context, it turns out. Context is important. Context-- who knew?\n\n**DENIA:** Context is very important, yes.\n\n**STEVE MCGHEE:** Speaking of context, how do you think that this process that you're talking about-- if you could magically transport it to be outside of Google, to be out in the world that doesn't have a borg, but instead has several clouds and Terraform and Kubernetes and words like that, does it still work? At the highest level, at the abstract level, say you transform it all to be working with whatever else is out there. Is this a transferable concept?\n\n**DENIA:** The concept itself, yes. But our current tooling, I don't think it's a mature enough to be widely deployed. However, the concept itself, as long as the team that wants to deploy it has a relatively centralized or just a handful of data sources to pull from. So we're not looking, for example, specific board jobs and how they behave now. We're looking at what was reported in your tracking ticket after the alert fired. So if those systems are-- it's just one that it's ideal because then your integration is very easy. At Google, we do not have that. We report OMGs in one place, tickets in another, customer cases in another system. So it's just a matter of pulling--\n\n**STEVE MCGHEE:** I think that's pretty common. I think a lot of teams are like that. But are you saying that the data that you're ingesting to do this analysis is like-- it's almost like second party data. Maybe it was originally meant for humans to look at, and you're ingesting it with an LLM. So it's the type of data where you're not querying an API and getting all the metadata from all the things, but it's more like, read the ticket that we have chosen not to read because they're super boring or there's too many of them or something like that.\n\n**DENIA:** Yes, that is correct. There are efforts within Google-- I believe that you had Ramon, and they talked about the production agent. And then agents like that are designed to be more-- to analyze one ticket at a time. You're looking at an OMG and you're trying to analyze it and see what the current metrics are, what the current jobs are running. I think that type of integration with your job management services, that's more tailored to that.\n\nWhat we are doing a lot more is like that post hoc analysis. So you resolved your bug. What went wrong? How did you fix it? And then for teams that are interested in also analyzing their incoming still open bugs, we also do that. We just do not surface details, like what resolved it, because it's still open. But at least we can highlight, oh, this was similar to these past bugs that you had.\n\n**STEVE MCGHEE:** Got you. Cool.\n\n**MATT SIEGLER:** Yeah, what's something fascinating about your input material is just language. It's just talking. It's humans meant for humans, although sometimes stultifyingly boring content for humans, so much that they don't actually read them. But that's the deal. It's like, here's a bunch of business data, but the LLMs have the patience of a saint, so it's just going to read them all and then learn things.\n\nAnd I imagine there's some pretty surprising insights that come from reading all your things. And you're like, wow, you really figured that out. And wow, that's really interesting. So what are some surprising things that you've noticed that it can discover from reading all the human things that have been written about all the things? And it comes up with magic, surprisingly so. I imagine you have some anecdotes you could share, at least one or two.\n\n**DENIA:** Unfortunately, I don't have as much as you would think, because their tagging is so discrete. Like I mentioned how teams can bring in their own labels, and then we apply labels from even on the default cases, that people are like, oh, just take my bugs. I just want to use-- I'll take whatever tags you have. They are still a very discrete set of tags. And then for privacy reasons, we do not store that contents of the original data sources in our tables. So we only get to see details of, it was this bug, and these were the tags that were applied because of so and so thing.\n\nSo we have to go back to the teams OK, these were the results. Do you have a golden data set? Let me compare. And in the cases where they don't, then you just learn about teams' configurations. I think that's probably, from a personal level, what I've learned the most is, oh, so pub/sub tends to have these two different queues. That is interesting.\n\nAnd some of them, they tend to have this type of issues, whereas this other one doesn't tend to have that type of problem. Or in the context of, say, cloud pub/sub, then these labels are applicable, but these ones aren't. So it's more nuance like that, rather than getting the deets or the juice from what's happening in the system **[INAUDIBLE]** much of that.\n\n**STEVE MCGHEE:** Well, so it sounds like your team is kind of attacking a pretty significant slice of the problem space that is SRE work. So I'm curious, let's presume that continues or you finished-- I know you can't finish, but presume that gets significantly improved. What would be next? So a bunch of people have thought about this, and there's a bunch of things you could possibly work on as an SRE or have help from an AI or an LLM as necessary.\n\nSo there's just writing code, there's dealing with incidents directly, there's root cause analysis of-- I guess that's part of dealing with incidents is actually fundamentally looking at what's going on-- and then there's design of new systems. There's all sorts of things that you could go to. Where would you go next if you wanted to do that? What do you think is the most either interesting or maybe the most fruitful and impactful? Where would you say it would be a good growth area to continue this type of work?\n\n**DENIA:** It is interesting because I think, right now, the horizontal view, if I was in a regular team, and I would be thinking of, oh, I wonder how I can automate-- or reduce the toil-- some tasks in my team. I would then want to evangelize it and make it a horizontal effort. So our current goal is to help reduce the toil across this area at Google.\n\nSo I think the next stage where you can take that-- because part of what we do is not just surfacing the information, but we're starting to get into a space of deploying agents that rely on our information, because then you currently have teams that may ask, oh, this dashboard is amazing, but I want to understand why during this week we had so many incidents of this type. Can you tell me a summary about that? So we usually, when we get questions like that, we have to go back, modify the dashboards, or modify the prompt in some ways, which is maybe like an hour task, tops.\n\nBut by bringing agents, they don't even have to come to us. They can go straight to the agent and ask that information of the agent. We can customize it with custom SQL queries. But the agent also can come up with ad hoc ones displayed to the user, run them on their behalf, and then help them come up with that analysis. So I think the next part after doing this would probably see or try to see if we could deploy something similar to that for our external customers.\n\n**STEVE MCGHEE:** This sounds to me a lot like a business intelligence role, but it's for production, which is, I think, pretty cool. It reminds me of a joke I saw recently, where someone was wearing a shirt or a hat or something and said, \"as a kid, I always wanted to transform structured data into actionable business intelligence,\" which I think is pretty funny. Like, no one dreams about that. But it turns out it's actually pretty important. But now you're doing it in a more automated way, specifically about production, which is pretty cool, I think.\n\nCool. Well, thank you very much. This has been great. Is there anything that you want to make sure you get out there. Do you have a favorite Strava route that you want to tell the world about, or is there socials that you want to promote or anything like that? What do you want people to know?\n\n**DENIA:** I don't use my socials very much. I do have a LinkedIn.\n\n**STEVE MCGHEE:** That's totally fine.\n\n**DENIA:** **[INAUDIBLE]** But beyond that, I think especially in a world where AI is starting to-- everybody uses AI, from my kids, companies, and obviously in tech-- I think the approach that we're starting to take with applying AI to SRE, or ensuring that SRE is involved in the AI conversation is incredibly important, because it's a way to apply those guardrails that many people are scared of.\n\nA lot of people have hesitation with AI or distrust, and I think the strategies that I talked about today, it's a step on how you can help build that trust on your products, both for your customers but also within your organization. At the end of the day, it's like a step forward to making AI more secure.\n\n**STEVE MCGHEE:** Yeah, I would say even people who have distrust with just doing stuff to production. Am I doing the right thing? Can I even-- should we try this thing? Having a way to give yourself a little bit more confidence in, like, this comes from data. There's a reason for us to try this direction of travel. I think that is really helpful as well.\n\n**MATT SIEGLER:** Yeah, thank you very much. You're describing a very measured and cautious and really rational approach, which is really a breath of fresh air.\n\n**STEVE MCGHEE:** Cool. Thank you, DENIA. Have a good day. Have a good week. Have a good season, I guess. Thanks for coming on the podcast.\n\n**DENIA:** My pleasure. See you.\n\n**MATT SIEGLER:** Take care.\n\n**DENIA:** Bye-bye.\n\n**STEVE MCGHEE:** OK, bye.\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virgi. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**[STATICKY VOICE]**", "znaku_textu": 27717, "slov": 5022, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:06", "sha256": "c230941ce3fa58b8bd4fe41219e7f7cfe98d5203922c18979813244618a8b1d1", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-04/", "titulek": "The One with Denia del Cid", "h1": "The One with Denia del Cid", "popis": "Curious about the real impact of AI on Site Reliability Engineering? In this episode of The Prodcast, Google SRE Denia del Cid breaks down how her team is leveraging AI to transform production workflows.\n\nDenia details practical applications like early outage detection, incident similarity analysis, and toil reduction. She explains the critical importance of validating against ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Denia del Cid"}], "markdown": "# The One with Denia del Cid\n\nCurious about the real impact of AI on Site Reliability Engineering? In this episode of The Prodcast, Google SRE Denia del Cid breaks down how her team is leveraging AI to transform production workflows.\n\nDenia details practical applications like early outage detection, incident similarity analysis, and toil reduction. She explains the critical importance of validating against \"golden data sets\" and keeping humans in the loop to build trust. Discover how SREs are evolving from skepticism to strategic adoption with Gemini.\n\nTune in for a pragmatic, measured look at the future of reliability.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**[STATICKY VOICE]**\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE and production software. I'm Steve McGhee again. And also again, we have Matt. How's it going, Matt? How are you?\n\n**MATT SIEGLER:** Hey there, Steve. Glad to be back.\n\n**STEVE MCGHEE:** Excellent. I think we have a guest today too, don't we? Probably.\n\n**MATT SIEGLER:** We do.\n\n**STEVE MCGHEE:** We tend to. Yes.\n\n**[LAUGHTER]**\n\nGuest, would you please introduce yourself. Who are you exactly?\n\n**DENIA DEL CID:** Sure, sure. My name is DENIA DEL CID, and I'm an SRE at Google. I've been in the company for about 9 and 1/2 years now, and an SRE for the large majority of it, like 7-plus years, 7-8 years.\n\n**STEVE MCGHEE:** How did you get hired? Were you hired not to SRE, then you moved into SRE?\n\n**DENIA:** Yeah, no, I actually started as an intern. I started as an intern working in support. If you are a Googler or were a Googler, I used to work at TechStop.\n\n**STEVE MCGHEE:** Nice, classic.\n\n**DENIA:** And then I did a rotational program that allowed me to travel around the world and then rotate with teams. And through that, one of those rotations, that's how I discovered what SRE was, and I loved it, and then here I am a bunch of years later.\n\n**STEVE MCGHEE:** A bunch of years later. We don't need to count years. No one feels good about that. That's very cool. I've actually heard a lot of folks come through either TechStop or corporate IT. That tends to be a pretty-- I don't know if it's common, but I've heard it a fair amount of--\n\n**MATT SIEGLER:** Yeah, the route through operations into SRE makes total sense to me, like getting your hands on things, then using that on the things to support the systems. That makes perfect sense to me.\n\n**DENIA:** Yeah, back in my day, it was not as common, but I think you see a lot more of that, which is great. I think there's a lot of overlap for sure.\n\n**STEVE MCGHEE:** Are you implying that I'm some sort of old person that's been around for too long? Because that's exactly accurate.\n\n**DENIA:** No. It's the opposite.\n\n**[LAUGHS]**\n\n**STEVE MCGHEE:** OK, so I'm guessing that you're no longer in TechStop. What is it that you're doing these days? So what SRE flavor do you practice?\n\n**DENIA:** So nowadays, I am essentially doing AI for SRE.\n\n**STEVE MCGHEE:** Cool.\n\n**DENIA:** Which is a very cool, very exciting, definitely fresh field. I've only been doing this for the last year and a half, shortly after the inception of my new team.\n\n**STEVE MCGHEE:** But to be honest, a year and a half of AI for anything is like the half life of all of AI at all anyways, so that's pretty good. It's a fast-moving world.\n\n**DENIA:** Yeah, it changes so much. It does. When we started, Gemini 1 and 1.5 were still a thing, and now we're all the way to 3. So I've definitely seen the evolutions and the models changing along the way.\n\n**STEVE MCGHEE:** For sure. That's cool.\n\n**MATT SIEGLER:** That makes me think about SRE being cautious about adopting newer infrastructure into its folds because it's so focused on repeatability, reliability, and wanting to ensure the best for its services. Can you speak a little bit about that in AI and how, taking that into it, being cautious and thoughtful about it, that says something interesting about that, for SRE to say, OK, yep, we're going to do some AI. How did we do that?\n\n**DENIA:** Yeah, so back in the good old days of two years ago, there was definitely a lot more hesitation. It wasn't too clear what the path of where the applications of using AI in SRE workflows would look like. And that's where my team was a pioneer in this field, where our org got funding for this exploratory project that is Data Cloud Platform, the team that I'm on, to explore ways in which we could apply AI, and then how reliable and applicable in terms of accuracy and to the field, whether it's to diagnosis or planning, how applicable AI could be.\n\nAnd then now we're a year and a half later, since the design and the experiments and running the services, and we've been seeing a lot of progress both in terms of accuracy, a lot of interest in adoption, but it's definitely been a journey. I'd say what we've tried to focus on more is on making tools that surface information first.\n\nAnd then, as you learn to trust your tool or to tune your prompts to the LLMs to get results that are specific to your team and that are high in accuracy, high being how a human in their own subjective experience would apply certain tags or would perform certain analysis, try to match that as closely as we can. That's where we're taking the journey. And then eventually, just recently, we've been starting to explore so now, how can we automate some of these workflows, maybe not fully 100% touching production, but definitely being that sort of companion to an SRE.\n\n**STEVE MCGHEE:** Cool. Can you remember a moment where either you or someone that you heard about, or maybe this is just an experience or a story, where it went from, this seems maybe interesting to, oh, we should do this. This turned a corner. Do you remember any moment, like, what was the thing that it's like, oh, it can x, whereas before we were like, I wonder if it can x.\n\n**DENIA:** We've had a couple of those. So for instance, one of the most interesting ones where we have all of these support cases and escalations that customers have mentioned. And then sometimes it takes a couple days for an OMG or an incident like an SRE to take a look at it, maybe because our alerting system was not aware of that niche case that the user was experiencing. Maybe we weren't monitoring it at the time. So that started as a very bare bones proof of concept. And then it started to be very interesting. We've detected a couple of outages, some that regular traditional automation detected, but some of them that were detected before in this method.\n\nAnother example is for leads across SRE. A common task that they have is analyzing all of their team's ticket queues and trying to find trends along those, like what was the most common root causes for them or the solutions? What proportion of the entire queue belong to a particular incident? Is there anything that we can automate and prioritize, because we're seeing high volume or because our team is dedicating too many human resources in troubleshooting these results? So we've been able to create tooling that analyzes all of that in a matter of a couple minutes, a task that could easily take some teams weeks, and then it just creates dynamic dashboards for them.\n\n**STEVE MCGHEE:** Do you think it was a matter of the technologies themselves that you're building these on maturing, or was it that the team had to figure out which problems were solvable, or it was a matter of writing the agents or whatever within your team? Was it a practice thing or was it a OK, we're ready, now it'll work-- launch, launch, launch.\n\n**DENIA:** So it was more of a hearing your customer kind of scenario. Our team is a horizontal across all of Data Cloud, which includes databases, data analytics across Google, which is a few teams, just because of the scale of Google. It's like tens of teams. So we sat down with all of them. A few people from our team came from those teams, so they already had knowledge about the common problems that they would have.\n\nAnd based out of both their experiences and talking to the leads across these teams is when we started seeing patterns in trends or in workflows. Like, oh, your director every month is going to ask a report on what was the progress on x type of toil. And it was a manual task to have engineers.\n\nSome teams, they would even dedicate a full-time engineer and give them a KR for the entire quarter to manually tag all of their bugs and then generate this analysis. So that's where we saw the opportunity of freeing up the time of an SRE as much as we could so that they could actually do the planning work, the design coding work that's one of the biggest values of an SRE, instead of having to read through all bugs and ensure they were tagged properly or manually tag them themselves.\n\n**STEVE MCGHEE:** This is really striking a chord with me, just thinking automation-- like automation, automation, automation. This is our business model since day one. SREs try to automate themselves out of their own work. But usually with automation, when you go to your customer with an automation objective, they look at you a little funny, like, whoa, wait, whoa, I kind of want you to be looking at this manually before you hand it to them.\n\n**MATT SIEGLER:** Yeah, it's important.\n\n**STEVE MCGHEE:** --automate or-- yeah, my stuff is very precious. What are you doing?\n\n**MATT SIEGLER:** Mine is better. It's more--\n\n**STEVE MCGHEE:** Yeah, it deserves your personal attention. So let's think a bit about not only automating. You're now adding intelligent automation to it. So there must be occasionally some resistance or a little bit of skepticism.\n\nHow do you manage some of that? And how do you push through that, or maybe even back off from some of those things? And were there some pitfalls? Was there a negotiation through that process?\n\n**DENIA:** Yeah, well, we do not force our users to adopt us at all. So if anything, what you're mentioning is exactly what we noticed at the beginning stages, like during our consultation phases.\n\nSo what we did is take notes. So we built the tool to be dynamic. So when people say, these are the tags that are specific to me, and this is how my humans tag them, and we're like, this is great. So give me your list, and we're going to make sure that when we analyze all of the bugs in your components, all of the tickets from your customer support cases, we're going to use your tags. So this is where AI, like your LLMs, are phenomenal, because we embed all of those custom tags that they have as part of the instruction.\n\nThe tricky part then comes with validation, because sometimes what is obvious to a tenured engineer in a team and common terminology for them might not be as relevant to the LLM. So especially in that very first cases after adoption, we notice people are dissatisfied with the results because they might not be accurate enough. So usually that takes a couple of rounds of prompt tuning, making sure that we clarify terminology or clarify different scenarios when a tag should be applied and when it shouldn't so the LLM learns.\n\nAnd then we do validation. So for that, I do not trust this tool. Usually, teams tend to have what we call our golden data sets, which is what, back in the day, when they were still tagging things manually, we compare the results that the LLM handles against their manual results for the exact same bugs, and that's how we measure how accurate our labeling is against their tags.\n\n**STEVE MCGHEE:** Yeah, that's really important. That's awesome that you had that, because without that it would be much harder, I have a feeling.\n\nOn the same vein, backing up a second, you're on a team that is, like you said, it's horizontal. It's kind of developing these tools or systems that are solving problems for neighboring teams. Is that about right? Based on your interviews your making the solutions match what they're used to, and so it's a little bit more-- I don't know, feels a little white glove, which is nice. It's not just like, go use this thing you've never heard of. It sounds like it's pleasant, which is great.\n\nSo once you have these solutions in place, and you're getting client teams to use them, how do you judge if it's working? What are the metrics for success that you, as this tools developing team, how do you know it's working? How do you know you're successful? Do you get points or something, or is there-- I don't know, I'm just curious.\n\n**DENIA:** So it depends on the tool. So we have three main products for now. One of them is the early outage detection that I was mentioning through looking at support cases. The other is for analysis. And then the latter is similarity. So the way that you gauge success really depends. So for early outage detection, if you detected the outage before the team did, that is success to us.\n\n**STEVE MCGHEE:** You being like-- if the tool detects it before the human--\n\n**DENIA:** Before the automation.\n\n**STEVE MCGHEE:** --gets paged or something?\n\n**DENIA:** Yes, before a traditional SRE-alerting configuration would detect that as an OMG or as an incident.\n\n**STEVE MCGHEE:** It's a race.\n\n**DENIA:** Then that's how we qualify success in that regard. Then for the second is adoption of our dashboard in the regular workflows. So when teams tell us, oh, we loved your tool, we're now using it for planning, or we use it every week to analyze the trends of toil in our production reviews, that would be the second. And then for similarity is satisfaction with the results. So if we surface how similar a given incident might be to past incidents, so when those are high in accuracy, when teams give us feedback or when an individual gives feedback that it was successful.\n\n**STEVE MCGHEE:** That's cool. Are you able to then roll those learnings back into the system to make it more accurate, more faster? I presume that's a goal, but does it work? Can you actually do that?\n\n**DENIA:** Well, we're actually working on that right now. We're working on our pipelines.\n\n**STEVE MCGHEE:** OK, that's very cool.\n\n**MATT SIEGLER:** Yeah, I was curious how this talk about toil reduction. You are now getting some early signals, giving people things to look at specifically earlier than just hunting around their usual dashboards, which I'm sure they've cultivated carefully on their own. But now they might have some early signals that are actually maybe a little bit more specific to what's actually going on. Are you measuring toil reduction? And how is that going?\n\n**DENIA:** Well, each team measures toil reduction independently, and they have different targets. Our team ourselves, we have relatively little toil, just because our services are so new. But from their end, they usually come with toil reduction targets. They have specific cues that have high volume of tickets. So most of the time, they want to reduce the volume of the incoming tickets. Other times, they just want to get better understanding of their tickets just because they are poorly documented.\n\nAnd we do some context retrieval as well, where if a bug is related to a different ticket or to an OMG or to a postmortem, then we retrieve those contents to improve the tagging, which is similar to when a human would go in, read through a bug, try to figure out what happened, and label it.\n\nSo I think for us, we mostly set the general direction for the team. In the dashboards that we create, it's supposed to give them like a bird's eye view of what their toil looked like on any given period of time. It could be over the last year, over the last quarter, last month, last week. And we leave it up to them on what they want to prioritize.\n\nWe just surface the clusters that tend to be the most popular, just purely based on their own tickets. What were the most common root causes for the issues? And what were the most common fixes? The other interesting area is the ones that were-- the root causes are not known, that they might have auto-resolved. Why are you getting all of these tickets that ended up just being automatically closed or labeled as obsolete?\n\n**STEVE MCGHEE:** Are you finding those to be fairly uniform objectives across your customers? They're all kind of targeting towards the same burndowns, they want to close tickets faster. No, you're shaking your head.\n\n**DENIA:** No. Everyone seems to have-- they do have a goal of, we want to reduce our toil, but the how you reduce your toil or where in their journey they are to better understand their toil, it's all over the place. Some teams might have a better picture of their toil just because they dedicate so many resources to tagging and monitoring that through time.\n\nAnd other teams are just starting to do that because now they're like, oh, we have AI that can do this automatically for us. That is so cool. Before, we were just overloaded with all of these alerts, we can barely stay over water, and they just feel like they're drowning. So this is starting to provide them with better insights, and it's taking them through the journey of should we remove alerts? Should we split some of them, or tier the alerts in how they get triggered? And others are going through the journey of, we should be documenting our tickets better.\n\n**STEVE MCGHEE:** Yeah, teams go through these life cycles. And I would imagine that not everyone is going to use the system that you guys are building in the same way at the same time. It depends on context, it turns out. Context is important. Context-- who knew?\n\n**DENIA:** Context is very important, yes.\n\n**STEVE MCGHEE:** Speaking of context, how do you think that this process that you're talking about-- if you could magically transport it to be outside of Google, to be out in the world that doesn't have a borg, but instead has several clouds and Terraform and Kubernetes and words like that, does it still work? At the highest level, at the abstract level, say you transform it all to be working with whatever else is out there. Is this a transferable concept?\n\n**DENIA:** The concept itself, yes. But our current tooling, I don't think it's a mature enough to be widely deployed. However, the concept itself, as long as the team that wants to deploy it has a relatively centralized or just a handful of data sources to pull from. So we're not looking, for example, specific board jobs and how they behave now. We're looking at what was reported in your tracking ticket after the alert fired. So if those systems are-- it's just one that it's ideal because then your integration is very easy. At Google, we do not have that. We report OMGs in one place, tickets in another, customer cases in another system. So it's just a matter of pulling--\n\n**STEVE MCGHEE:** I think that's pretty common. I think a lot of teams are like that. But are you saying that the data that you're ingesting to do this analysis is like-- it's almost like second party data. Maybe it was originally meant for humans to look at, and you're ingesting it with an LLM. So it's the type of data where you're not querying an API and getting all the metadata from all the things, but it's more like, read the ticket that we have chosen not to read because they're super boring or there's too many of them or something like that.\n\n**DENIA:** Yes, that is correct. There are efforts within Google-- I believe that you had Ramon, and they talked about the production agent. And then agents like that are designed to be more-- to analyze one ticket at a time. You're looking at an OMG and you're trying to analyze it and see what the current metrics are, what the current jobs are running. I think that type of integration with your job management services, that's more tailored to that.\n\nWhat we are doing a lot more is like that post hoc analysis. So you resolved your bug. What went wrong? How did you fix it? And then for teams that are interested in also analyzing their incoming still open bugs, we also do that. We just do not surface details, like what resolved it, because it's still open. But at least we can highlight, oh, this was similar to these past bugs that you had.\n\n**STEVE MCGHEE:** Got you. Cool.\n\n**MATT SIEGLER:** Yeah, what's something fascinating about your input material is just language. It's just talking. It's humans meant for humans, although sometimes stultifyingly boring content for humans, so much that they don't actually read them. But that's the deal. It's like, here's a bunch of business data, but the LLMs have the patience of a saint, so it's just going to read them all and then learn things.\n\nAnd I imagine there's some pretty surprising insights that come from reading all your things. And you're like, wow, you really figured that out. And wow, that's really interesting. So what are some surprising things that you've noticed that it can discover from reading all the human things that have been written about all the things? And it comes up with magic, surprisingly so. I imagine you have some anecdotes you could share, at least one or two.\n\n**DENIA:** Unfortunately, I don't have as much as you would think, because their tagging is so discrete. Like I mentioned how teams can bring in their own labels, and then we apply labels from even on the default cases, that people are like, oh, just take my bugs. I just want to use-- I'll take whatever tags you have. They are still a very discrete set of tags. And then for privacy reasons, we do not store that contents of the original data sources in our tables. So we only get to see details of, it was this bug, and these were the tags that were applied because of so and so thing.\n\nSo we have to go back to the teams OK, these were the results. Do you have a golden data set? Let me compare. And in the cases where they don't, then you just learn about teams' configurations. I think that's probably, from a personal level, what I've learned the most is, oh, so pub/sub tends to have these two different queues. That is interesting.\n\nAnd some of them, they tend to have this type of issues, whereas this other one doesn't tend to have that type of problem. Or in the context of, say, cloud pub/sub, then these labels are applicable, but these ones aren't. So it's more nuance like that, rather than getting the deets or the juice from what's happening in the system **[INAUDIBLE]** much of that.\n\n**STEVE MCGHEE:** Well, so it sounds like your team is kind of attacking a pretty significant slice of the problem space that is SRE work. So I'm curious, let's presume that continues or you finished-- I know you can't finish, but presume that gets significantly improved. What would be next? So a bunch of people have thought about this, and there's a bunch of things you could possibly work on as an SRE or have help from an AI or an LLM as necessary.\n\nSo there's just writing code, there's dealing with incidents directly, there's root cause analysis of-- I guess that's part of dealing with incidents is actually fundamentally looking at what's going on-- and then there's design of new systems. There's all sorts of things that you could go to. Where would you go next if you wanted to do that? What do you think is the most either interesting or maybe the most fruitful and impactful? Where would you say it would be a good growth area to continue this type of work?\n\n**DENIA:** It is interesting because I think, right now, the horizontal view, if I was in a regular team, and I would be thinking of, oh, I wonder how I can automate-- or reduce the toil-- some tasks in my team. I would then want to evangelize it and make it a horizontal effort. So our current goal is to help reduce the toil across this area at Google.\n\nSo I think the next stage where you can take that-- because part of what we do is not just surfacing the information, but we're starting to get into a space of deploying agents that rely on our information, because then you currently have teams that may ask, oh, this dashboard is amazing, but I want to understand why during this week we had so many incidents of this type. Can you tell me a summary about that? So we usually, when we get questions like that, we have to go back, modify the dashboards, or modify the prompt in some ways, which is maybe like an hour task, tops.\n\nBut by bringing agents, they don't even have to come to us. They can go straight to the agent and ask that information of the agent. We can customize it with custom SQL queries. But the agent also can come up with ad hoc ones displayed to the user, run them on their behalf, and then help them come up with that analysis. So I think the next part after doing this would probably see or try to see if we could deploy something similar to that for our external customers.\n\n**STEVE MCGHEE:** This sounds to me a lot like a business intelligence role, but it's for production, which is, I think, pretty cool. It reminds me of a joke I saw recently, where someone was wearing a shirt or a hat or something and said, \"as a kid, I always wanted to transform structured data into actionable business intelligence,\" which I think is pretty funny. Like, no one dreams about that. But it turns out it's actually pretty important. But now you're doing it in a more automated way, specifically about production, which is pretty cool, I think.\n\nCool. Well, thank you very much. This has been great. Is there anything that you want to make sure you get out there. Do you have a favorite Strava route that you want to tell the world about, or is there socials that you want to promote or anything like that? What do you want people to know?\n\n**DENIA:** I don't use my socials very much. I do have a LinkedIn.\n\n**STEVE MCGHEE:** That's totally fine.\n\n**DENIA:** **[INAUDIBLE]** But beyond that, I think especially in a world where AI is starting to-- everybody uses AI, from my kids, companies, and obviously in tech-- I think the approach that we're starting to take with applying AI to SRE, or ensuring that SRE is involved in the AI conversation is incredibly important, because it's a way to apply those guardrails that many people are scared of.\n\nA lot of people have hesitation with AI or distrust, and I think the strategies that I talked about today, it's a step on how you can help build that trust on your products, both for your customers but also within your organization. At the end of the day, it's like a step forward to making AI more secure.\n\n**STEVE MCGHEE:** Yeah, I would say even people who have distrust with just doing stuff to production. Am I doing the right thing? Can I even-- should we try this thing? Having a way to give yourself a little bit more confidence in, like, this comes from data. There's a reason for us to try this direction of travel. I think that is really helpful as well.\n\n**MATT SIEGLER:** Yeah, thank you very much. You're describing a very measured and cautious and really rational approach, which is really a breath of fresh air.\n\n**STEVE MCGHEE:** Cool. Thank you, DENIA. Have a good day. Have a good week. Have a good season, I guess. Thanks for coming on the podcast.\n\n**DENIA:** My pleasure. See you.\n\n**MATT SIEGLER:** Take care.\n\n**DENIA:** Bye-bye.\n\n**STEVE MCGHEE:** OK, bye.\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virgi. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**[STATICKY VOICE]**", "znaku_textu": 27717, "slov": 5022, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:05", "sha256": "c230941ce3fa58b8bd4fe41219e7f7cfe98d5203922c18979813244618a8b1d1", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-05", "titulek": "The One with Shannon Brady and Operating Systems", "h1": "The One with Shannon Brady and Operating Systems", "popis": "In this episode of the Prodcast, guest Shannon Brady speaks with hosts Jordan Greenberg and Florian Rathgeber about managing Google’s vast fleet of internal devices. Shannon explains how Google’s Linux platform uses core SRE principles—specifically testing, canarying, and monitoring—for weekly stage rollouts of its Debian-based distribution. Configuration is efficiently managed using Puppet to ensure the right setup for a diverse user base. The conversation pivots to ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Shannon Brady and Operating Systems"}], "markdown": "# The One with Shannon Brady and Operating Systems\n\nIn this episode of the Prodcast, guest Shannon Brady speaks with hosts Jordan Greenberg and Florian Rathgeber about managing Google’s vast fleet of internal devices. Shannon explains how Google’s Linux platform uses core SRE principles—specifically testing, canarying, and monitoring—for weekly stage rollouts of its Debian-based distribution. Configuration is efficiently managed using Puppet to ensure the right setup for a diverse user base. The conversation pivots to \"the year of Linux everything,\" underscoring its widespread adoption. Discussing AI, Shannon identifies its greatest utility for SREs in rapidly analyzing signals and generating complex queries to resolve outages. This episode reinforces that practicing SRE fundamentals is paramount, demonstrating that you can be an SRE at heart, regardless of your official title.\n\n**[MECHANICAL VOICE]**\n\n**SPEAKER:** Welcome to season five of the Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way, so happy listening and may all your incidents be novel.\n\n**[MECHANICAL VOICE]**\n\n**JORDAN GREENBERG:** Welcome to this episode of season five of the Prodcast, Google's podcast on site reliability engineering. My name is Jordan Greenberg, and I am here with my co-host Florian. Say hi, Florian.\n\n**JORDAN GREENBERG:** Hey, folks.\n\n**JORDAN GREENBERG:** Long time listeners may remember our guest today from season two, Life of An SRE, where she told us about her path into SRE. Now, she's not an SRE anymore. Who are you and what happened?\n\n**SHANNON BRADY:** I'm Shannon from the gLinux team here at Google. What happened is I'm still on the same team doing Linux at Google, but I just have a new job title. Essentially, our team structure changed, and so while my team aren't technically SREs anymore, we are still SREs very much at heart, and we are still driven by the same principles that are the backbone of SRE that we've always had.\n\n**JORDAN GREENBERG:** And if you can remind us just a little bit about the gLinux platform team and what that's like for you in your day to day, so our listeners have some context, if they haven't listened to the last episode.\n\n**SHANNON BRADY:** Of course. So Google actually has their own version of a Linux distribution called gLinux. Previously, it was called gBuntu, but we've switched from an Ubuntu based distribution to Debian a few years ago.\n\ngLinux is kind of a combination of internal packages, R configurations, and things that are available on Debian upstream that a lot of Googlers and engineers use in their day to day work.\n\n**JORDAN GREENBERG:** Thanks, Shannon. That's interesting context. So as far as I'm aware, gLinux is, of course, used on a bunch of devices that Googlers use in their day to day. And your team is managing that, in some description. So how do you manage a large fleet of devices efficiently? And also, security presumably plays quite a big important role here, how do you keep them secure?\n\n**SHANNON BRADY:** It's no easy or small task, but the backbone is testing, canarying, and monitoring with a little bit of puppet thrown in there.\n\n**JORDAN GREENBERG:** You have birds and puppets?\n\n**SHANNON BRADY:** Yeah.\n\n**JORDAN GREENBERG:** Oh my gosh.\n\n**SHANNON BRADY:** Yeah.\n\n**JORDAN GREENBERG:** gLinux sounds kind of cool.\n\n**SHANNON BRADY:** It's awesome, actually. I think it's awesome. So essentially, our philosophy is that testing is super important because you want to catch as many issues as possible when you're testing a potential release rather than when users already start to experience these issues.\n\nObviously, testing can't catch everything. But the second best option is to impact a small number of people who have opted into being testers of gLinux and who might give you a heads up when something is failing. And so the best problem is a problem users never know about. The second best problem is a problem that the vast majority of your users will never know about.\n\n**JORDAN GREENBERG:** So you're applying the classic SRE principles of you shift left and you do stage rollouts and whatnot.\n\n**SHANNON BRADY:** Yep, we have that classic stage rollout philosophy for pushing new releases every week to our users. And so once something has hit testing and we're relatively sure that it's in a good state, then we can marry it out slowly to the fleet using, of course, monitoring as a part of our rollouts to help prevent issues and then recognize them as soon as possible. Monitoring is super important.\n\n**JORDAN GREENBERG:** Yeah, that makes a lot of sense. So presumably, the kind of changes that you test in this way would be like, if there's a new upstream kernel, things like that?\n\n**SHANNON BRADY:** Yep. So that could be anything from a new kernel to a new package to anything, really.\n\n**JORDAN GREENBERG:** Even like a config change you make to it.\n\n**SHANNON BRADY:** Yeah, so it's everything from security tools to a kernel to just configuration changes that we want to push out to our users. Really, anything can go wrong, so we want to anticipate whatever can go wrong.\n\n**JORDAN GREENBERG:** OK, so you talked about the canaries, which are you have opted into testing unstable or beta builds, whatever you might call them. Can you tell us about the puppets? Everybody loves puppets.\n\n**SHANNON BRADY:** Puppet is a really powerful tool that we use on gLinux. And it's used to enforce both configuration or just set defaults that our users can change on our fleet. Puppet is a configuration language. And the best thing about it is that it's very flexible, allowing us to target different configurations on our fleets or just subsets of it.\n\nBecause the gLinux user base is extremely diverse. And we have lots of different hardware and lots of different setups. And we want to make sure that the right people are having the right configurations.\n\n**JORDAN GREENBERG:** That makes total sense, because if I have my config set up, I don't necessarily want to have it changed every week if some update happens.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** Helpful.\n\n**JORDAN GREENBERG:** Surely, Linux users are among the most opinionated people you can find anywhere. So yeah, I'm sure that is super important.\n\n**SHANNON BRADY:** Yeah, but that's a blessing as someone on the gLinux team. The great thing about Googlers is that they're Googley. And so we get a lot of really constructive feedback from our users about what doesn't work in their setups or what they would like to see. And that can really help us drive innovation on our platform and really understand what we can do to make gLinux better for everybody.\n\n**JORDAN GREENBERG:** Nice.\n\n**JORDAN GREENBERG:** Win-win all around. That sounds great.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** So do you think, then, we have already passed the year of the Linux on the desktop/laptop, because that has been a thing at Google, certainly, for a while. So are we now in the year of Linux in the cloud.\n\n**SHANNON BRADY:** No. I think, in general, we are really in the year of Linux everything. And that's both at Google and outside of Google. I've been using Linux since I was a child, which makes sense because my dad was actually a Unix engineer. So it runs in the family. And it's been a really long time since my first Linux installation CD.\n\nAnd it's been just so amazing to see how over the years Linux has evolved and grown and how every year, every change, it continues to get better and more user friendly. And the fantastic thing about the year of the Linux everything is that we have a lot of Linux users that don't even know they're Linux users.\n\n**JORDAN GREENBERG:** Yes.\n\n**SHANNON BRADY:** So did you know that things like the Steam Deck or Chromebooks are actually powered by Linux, so they are Linux at their core.\n\n**JORDAN GREENBERG:** Absolutely. I think this is so special for people to learn and understand. Linux used to be kind of scary, and you used to send your friend into a bad time by telling them, hey, you should try installing Arch, right?\n\nNow, instead of it being year of the desktop, I think year of the Linux everything does apply. Form factors for things have changed. So example, many PCs are coming out. They're this big. Steam just made an announcement about their new hardware lineup, definitely will be running on Linux.\n\n**SHANNON BRADY:** Oh, I did hear about that.\n\n**JORDAN GREENBERG:** Yes. So that just makes Linux approachable for people. And hopefully, they can realize that it's the coat of paint that they put over a powerful operating system, is actually something that's really helpful in their day to day.\n\n**JORDAN GREENBERG:** Yeah, we shouldn't forget, in fact, about the huge fleet of mobile devices running Linux under the hood in form of Android, which is-- still runs the Linux kernel, even though the rest is maybe not as recognizable as the Linux system anymore.\n\n**JORDAN GREENBERG:** Absolutely.\n\n**JORDAN GREENBERG:** If we take that into account, we are certainly in the year of Linux everywhere, which is great.\n\n**SHANNON BRADY:** That is also the beauty of Linux is that some people may not be ready for a [? gen2, ?] and that's OK. And other people, that is exactly the kind of customization that they want that drives them. And the beauty of Linux is that it can be anything for anyone. If you want something, make it. That, for the most part, open source code is just workable.\n\nIf you want to make your own Ubuntu flavor, go for it.\n\n**JORDAN GREENBERG:** Absolutely. You want to have your home server so that you can share your pictures to grandma, or if you want to have it so that you can host your team's D&D session in your own foundry instance or something like that, do it, because Linux is easy. It is made for you.\n\n**SHANNON BRADY:** Yeah, it's made for everybody.\n\n**JORDAN GREENBERG:** And now, post-Linux commercial break. I have a question to you about how AI has impacted your work or device requirements because it's not like we're going to be running Steam Deck at the corporate.\n\n**SHANNON BRADY:** Yeah, that would be nice, though.\n\n**JORDAN GREENBERG:** It would be nice. Has the work or the requirements for devices changed in the age of AI, and how does the way that you secure them change?\n\n**SHANNON BRADY:** Users having computers that enabled them to do their best work and have all of the different hardware requirements that they need has been something that my team has been involved in for a long time, even before the rise of AI.\n\nAI engineers, who are working in these fields, definitely have unique hardware requirements and unique software requirements in order to be able to effectively do their jobs. And who better to help us understand those needs than the people who work with those engineers every day.\n\nSo when we're looking into choosing a device or seeing what's going to work on gLinux, we talk to people at DeepMind, we talk to people who are going to be using these devices and say, hey, what do you need? What is going to enable you to do your best work?\n\nAdditionally, something that we look for is choosing a device that is very flexible. So choosing a device that is inherently very flexible allows us to have a base unit that we could build on, and that we have a good base unit of specs that will, by and large, cover most of our users, but with the flexibility of changing things for specific teams, or specific needs, including our AI engineers.\n\n**JORDAN GREENBERG:** Speaking of AI, maybe, in a slightly different context, if you want to tell us about your own experience. What would you call the single most important use of AI in your day-to-day SRE work?\n\n**SHANNON BRADY:** Well, that's a very hard question. In my opinion, AI is really such a powerful and multifaceted tool, and there isn't one single most important use of it. Different teams and even different individual engineers will find different things useful. Like, something that I need to do very frequently is analyzing signals and analyzing exported logs from our internal fleet.\n\nNaturally, these are logged to different databases, and they're structured in entirely different ways. And in order to be able to detect issues and determine the impact of our users, we really need to put all of these signals together in an easy-to-use way.\n\nAnd AI allows us to be able to more quickly and easily build queries that we need across all of these different sources to get the answers that we need and respond to potential problems. Because the last thing you want to do when there's an outage is be messing around with an SQL query trying to get your join correct.\n\n**JORDAN GREENBERG:** Oh, yeah.\n\n**JORDAN GREENBERG:** Yeah. But presumably, you don't want to give all that control to the AI. Do you see any risks that AI may pose in the context of decision making in SRE?\n\n**SHANNON BRADY:** Of course. The biggest risk for AI, in this context, is having an overreliance on what it's telling us. And that can be an overreliance on the queries it makes, the alerts it's flagging to us, and the recommendations for potential workarounds that it's giving.\n\nAI won't always be correct, and it's up to us as engineers to ensure that we're checking our results and we're maintaining the institutional knowledge of our teams and our products in order to be able to correctly interpret what we're seeing from the AI. AI is at its most powerful and most useful when it's used by a skilled engineer as a part of their toolkit, not as a whole toolkit.\n\n**JORDAN GREENBERG:** Yeah, that is very good advice.\n\n**JORDAN GREENBERG:** Very smart. And just so we touch on it briefly, too, the tasks that SREs need to do are pretty similar to tasks that people in other fields might need to do, too. So example we use AI in my team for data formatting and building out spreadsheets. All of these things can leverage AI to make them a little bit more efficiently done and take some of the burden off of us.\n\nI did want to switch gears a little bit just because I was thinking about your title change and how SREs, they have a few different identities, or hats, we might call them, that they may wear. What would you say is the hat that you wear most frequently in your current role? And do you think that it's best if an SRE is very specific, or if they are able to adapt and context switch, and wear a different hat one day? What kind of mix do you think is effective?\n\n**SHANNON BRADY:** I think a lot of people end up wearing multiple hats over the course of their career. That's not something that's unique to SRE. And being able to grow in your role and grow as an engineer frequently means changing out your hats. And the best part about that is that, when you get a new hat, you don't just throw away the old one. It's still there for when you need it. It's still there kind of as an old reliable.\n\nI'm wearing mostly the systems engineer's hat, so a lot of what I do is way more Linux focused than coding focused. But I've also had other hats. So for example, I used to work in tech support, and that was a hat I wore for a long time.\n\n**JORDAN GREENBERG:** Yeah. And there's different flavors of that, too. There's software engineering, systems administration, systems engineering, like you were saying. And we also just had Jen on, security SRE, so we know that there are very strange types SREs. And in concert, we work together to make such a beautiful situation happen.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** So in the context of that, what is a typical week looking like for you, outside of an on call?\n\n**SHANNON BRADY:** A typical day or a typical week is different week by week for me. But overall, I work tons with our internal partners, especially with our support staff, to really make sure that they're both able to give the best support possible to our internal Linux users, but also to hear their feedback so that we can know and we can listen to what they're telling us about what they're seeing, what our users are seeing that we may have not otherwise known about.\n\nIt comes back to the mantra of, not everything is caught in testing.\n\n**JORDAN GREENBERG:** Right. Exactly.\n\n**SHANNON BRADY:** Outside of working with our internal partners and being a people person, I'm pretty involved in working on improving and maintaining the testing infrastructure that gLinux has. gLinux does weekly releases, as we've touched on before. And that includes new and updated packages from Debian, internal packages from Google, configurations, et cetera, et cetera.\n\nAnd so having a reliable test infrastructure is really super important because it allows us to have more confidence in the release. Having unreliable tests and having unreliable infrastructure means that, not only does an engineer need to potentially spend more time investigating a failure, but it also creates a kind of alert fatigue. And that could lead us to easily mistaking a real failure for just another flaky test.\n\nBecause the first 10 times, it could have just been the-- it wasn't really a failure. And then, you'll pass in, oh my god, all of our machines are broken.\n\n**JORDAN GREENBERG:** Yeah, let's avoid that if we can.\n\n**JORDAN GREENBERG:** Yeah, that is all super important work, but I'm presuming that some companies-- someone might argue that, hey, we don't need to hire SREs for this job. So in your opinion, what is or when is the right time to add SREs to your company, and what might influence someone to hire an SRE or put someone in a similar job function like yourself?\n\n**SHANNON BRADY:** The right time is going to be different for every company. For some companies, it's going to be best to bring an SRE from the ground up. And for others, it's going to be the right time to bring in an SRE when the company really starts to scale up or starts introducing more complexity into their operations.\n\nI think having SRE roles, or at the very least, practicing SRE fundamentals, like monitoring, disaster resilience testing, incident response, from the very beginning, can really set companies up for success, whether or not they have the SRE job title officially or not. Stability and reliability go hand in hand with development and innovation.\n\n**JORDAN GREENBERG:** That's a great way to put it. Some people don't know that they're SREs, and some people don't have the title of SRE. But hopefully, hearing from you, they know that their work is exactly what an SRE does.\n\n**SHANNON BRADY:** I wouldn't get too hung up on the title. It's just another hat that they're wearing. Anybody can be an SRE if they're engineering like an SRE. When you follow these best practices, when you follow these SRE principles, it doesn't really matter if your job title is DevOps or sys end or system administration or IT support, you are practicing SRE fundamentals, you're practicing as an SRE.\n\n**JORDAN GREENBERG:** Love that.\n\n**JORDAN GREENBERG:** Exactly. Yeah, you can be the SRE at heart even if you don't have that job title.\n\n**SHANNON BRADY:** [INAUDIBLE] I'm proof of that.\n\n**JORDAN GREENBERG:** Totally. So one thing that we've noticed over the last years is that we've increasingly been using services more online rather than on our devices and whatnot. Do you think that as society in general, do you think we should depend on online services more or less, or is it fine the way it is today? What do you think?\n\n**SHANNON BRADY:** Both of those things can be true in different ways. There are lots of everyday services that really do and many that would actually benefit from digitalization and from increased connectivity. Lots of people lead very busy lives, and being able to interact with the services that they need on their own schedule from their own house is incredible.\n\nBut I think, at the same time, it's really important to think about the digital divide here and people's personal preferences as well. We need to ensure that the people that may not regularly use or have consistent access to the internet can still get what they need to have done done and also have a good experience without needing the internet.\n\nLikewise, it's super important when designing connected products to also think about the offline experience. So will it still work and function without the internet? And how would I use this product if it was never connected to the internet in the first place?\n\n**JORDAN GREENBERG:** Really good point. I appreciate this so much, Shannon. You're helping us think about SRE in the ways that only a person who works with the platform and thinks about things so holistically, from the user perspective, from the hardware perspective, from the supplier perspective, the reliability liability perspective molded into one can tell us.\n\nThank you, again, for being an iconic guest. And that's it for this episode of the Prodcast. Thank you to our listeners for hanging on with us, and we'll be back with some more soon. Have a great day.\n\n**SHANNON BRADY:** Thank you so much for having me.\n\n**JORDAN GREENBERG:** Thank you.\n\n**JORDAN GREENBERG:** Thanks, Shannon. That was great.\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[MECHANICAL VOICE]**", "znaku_textu": 21581, "slov": 3771, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:04", "sha256": "e5490cd0e9d630d0cceaf0f5fe93cf3e0a25bec357fe209729d8f9e21db08eda", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-05/", "titulek": "The One with Shannon Brady and Operating Systems", "h1": "The One with Shannon Brady and Operating Systems", "popis": "In this episode of the Prodcast, guest Shannon Brady speaks with hosts Jordan Greenberg and Florian Rathgeber about managing Google’s vast fleet of internal devices. Shannon explains how Google’s Linux platform uses core SRE principles—specifically testing, canarying, and monitoring—for weekly stage rollouts of its Debian-based distribution. Configuration is efficiently managed using Puppet to ensure the right setup for a diverse user base. The conversation pivots to ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Shannon Brady and Operating Systems"}], "markdown": "# The One with Shannon Brady and Operating Systems\n\nIn this episode of the Prodcast, guest Shannon Brady speaks with hosts Jordan Greenberg and Florian Rathgeber about managing Google’s vast fleet of internal devices. Shannon explains how Google’s Linux platform uses core SRE principles—specifically testing, canarying, and monitoring—for weekly stage rollouts of its Debian-based distribution. Configuration is efficiently managed using Puppet to ensure the right setup for a diverse user base. The conversation pivots to \"the year of Linux everything,\" underscoring its widespread adoption. Discussing AI, Shannon identifies its greatest utility for SREs in rapidly analyzing signals and generating complex queries to resolve outages. This episode reinforces that practicing SRE fundamentals is paramount, demonstrating that you can be an SRE at heart, regardless of your official title.\n\n**[MECHANICAL VOICE]**\n\n**SPEAKER:** Welcome to season five of the Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way, so happy listening and may all your incidents be novel.\n\n**[MECHANICAL VOICE]**\n\n**JORDAN GREENBERG:** Welcome to this episode of season five of the Prodcast, Google's podcast on site reliability engineering. My name is Jordan Greenberg, and I am here with my co-host Florian. Say hi, Florian.\n\n**JORDAN GREENBERG:** Hey, folks.\n\n**JORDAN GREENBERG:** Long time listeners may remember our guest today from season two, Life of An SRE, where she told us about her path into SRE. Now, she's not an SRE anymore. Who are you and what happened?\n\n**SHANNON BRADY:** I'm Shannon from the gLinux team here at Google. What happened is I'm still on the same team doing Linux at Google, but I just have a new job title. Essentially, our team structure changed, and so while my team aren't technically SREs anymore, we are still SREs very much at heart, and we are still driven by the same principles that are the backbone of SRE that we've always had.\n\n**JORDAN GREENBERG:** And if you can remind us just a little bit about the gLinux platform team and what that's like for you in your day to day, so our listeners have some context, if they haven't listened to the last episode.\n\n**SHANNON BRADY:** Of course. So Google actually has their own version of a Linux distribution called gLinux. Previously, it was called gBuntu, but we've switched from an Ubuntu based distribution to Debian a few years ago.\n\ngLinux is kind of a combination of internal packages, R configurations, and things that are available on Debian upstream that a lot of Googlers and engineers use in their day to day work.\n\n**JORDAN GREENBERG:** Thanks, Shannon. That's interesting context. So as far as I'm aware, gLinux is, of course, used on a bunch of devices that Googlers use in their day to day. And your team is managing that, in some description. So how do you manage a large fleet of devices efficiently? And also, security presumably plays quite a big important role here, how do you keep them secure?\n\n**SHANNON BRADY:** It's no easy or small task, but the backbone is testing, canarying, and monitoring with a little bit of puppet thrown in there.\n\n**JORDAN GREENBERG:** You have birds and puppets?\n\n**SHANNON BRADY:** Yeah.\n\n**JORDAN GREENBERG:** Oh my gosh.\n\n**SHANNON BRADY:** Yeah.\n\n**JORDAN GREENBERG:** gLinux sounds kind of cool.\n\n**SHANNON BRADY:** It's awesome, actually. I think it's awesome. So essentially, our philosophy is that testing is super important because you want to catch as many issues as possible when you're testing a potential release rather than when users already start to experience these issues.\n\nObviously, testing can't catch everything. But the second best option is to impact a small number of people who have opted into being testers of gLinux and who might give you a heads up when something is failing. And so the best problem is a problem users never know about. The second best problem is a problem that the vast majority of your users will never know about.\n\n**JORDAN GREENBERG:** So you're applying the classic SRE principles of you shift left and you do stage rollouts and whatnot.\n\n**SHANNON BRADY:** Yep, we have that classic stage rollout philosophy for pushing new releases every week to our users. And so once something has hit testing and we're relatively sure that it's in a good state, then we can marry it out slowly to the fleet using, of course, monitoring as a part of our rollouts to help prevent issues and then recognize them as soon as possible. Monitoring is super important.\n\n**JORDAN GREENBERG:** Yeah, that makes a lot of sense. So presumably, the kind of changes that you test in this way would be like, if there's a new upstream kernel, things like that?\n\n**SHANNON BRADY:** Yep. So that could be anything from a new kernel to a new package to anything, really.\n\n**JORDAN GREENBERG:** Even like a config change you make to it.\n\n**SHANNON BRADY:** Yeah, so it's everything from security tools to a kernel to just configuration changes that we want to push out to our users. Really, anything can go wrong, so we want to anticipate whatever can go wrong.\n\n**JORDAN GREENBERG:** OK, so you talked about the canaries, which are you have opted into testing unstable or beta builds, whatever you might call them. Can you tell us about the puppets? Everybody loves puppets.\n\n**SHANNON BRADY:** Puppet is a really powerful tool that we use on gLinux. And it's used to enforce both configuration or just set defaults that our users can change on our fleet. Puppet is a configuration language. And the best thing about it is that it's very flexible, allowing us to target different configurations on our fleets or just subsets of it.\n\nBecause the gLinux user base is extremely diverse. And we have lots of different hardware and lots of different setups. And we want to make sure that the right people are having the right configurations.\n\n**JORDAN GREENBERG:** That makes total sense, because if I have my config set up, I don't necessarily want to have it changed every week if some update happens.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** Helpful.\n\n**JORDAN GREENBERG:** Surely, Linux users are among the most opinionated people you can find anywhere. So yeah, I'm sure that is super important.\n\n**SHANNON BRADY:** Yeah, but that's a blessing as someone on the gLinux team. The great thing about Googlers is that they're Googley. And so we get a lot of really constructive feedback from our users about what doesn't work in their setups or what they would like to see. And that can really help us drive innovation on our platform and really understand what we can do to make gLinux better for everybody.\n\n**JORDAN GREENBERG:** Nice.\n\n**JORDAN GREENBERG:** Win-win all around. That sounds great.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** So do you think, then, we have already passed the year of the Linux on the desktop/laptop, because that has been a thing at Google, certainly, for a while. So are we now in the year of Linux in the cloud.\n\n**SHANNON BRADY:** No. I think, in general, we are really in the year of Linux everything. And that's both at Google and outside of Google. I've been using Linux since I was a child, which makes sense because my dad was actually a Unix engineer. So it runs in the family. And it's been a really long time since my first Linux installation CD.\n\nAnd it's been just so amazing to see how over the years Linux has evolved and grown and how every year, every change, it continues to get better and more user friendly. And the fantastic thing about the year of the Linux everything is that we have a lot of Linux users that don't even know they're Linux users.\n\n**JORDAN GREENBERG:** Yes.\n\n**SHANNON BRADY:** So did you know that things like the Steam Deck or Chromebooks are actually powered by Linux, so they are Linux at their core.\n\n**JORDAN GREENBERG:** Absolutely. I think this is so special for people to learn and understand. Linux used to be kind of scary, and you used to send your friend into a bad time by telling them, hey, you should try installing Arch, right?\n\nNow, instead of it being year of the desktop, I think year of the Linux everything does apply. Form factors for things have changed. So example, many PCs are coming out. They're this big. Steam just made an announcement about their new hardware lineup, definitely will be running on Linux.\n\n**SHANNON BRADY:** Oh, I did hear about that.\n\n**JORDAN GREENBERG:** Yes. So that just makes Linux approachable for people. And hopefully, they can realize that it's the coat of paint that they put over a powerful operating system, is actually something that's really helpful in their day to day.\n\n**JORDAN GREENBERG:** Yeah, we shouldn't forget, in fact, about the huge fleet of mobile devices running Linux under the hood in form of Android, which is-- still runs the Linux kernel, even though the rest is maybe not as recognizable as the Linux system anymore.\n\n**JORDAN GREENBERG:** Absolutely.\n\n**JORDAN GREENBERG:** If we take that into account, we are certainly in the year of Linux everywhere, which is great.\n\n**SHANNON BRADY:** That is also the beauty of Linux is that some people may not be ready for a [? gen2, ?] and that's OK. And other people, that is exactly the kind of customization that they want that drives them. And the beauty of Linux is that it can be anything for anyone. If you want something, make it. That, for the most part, open source code is just workable.\n\nIf you want to make your own Ubuntu flavor, go for it.\n\n**JORDAN GREENBERG:** Absolutely. You want to have your home server so that you can share your pictures to grandma, or if you want to have it so that you can host your team's D&D session in your own foundry instance or something like that, do it, because Linux is easy. It is made for you.\n\n**SHANNON BRADY:** Yeah, it's made for everybody.\n\n**JORDAN GREENBERG:** And now, post-Linux commercial break. I have a question to you about how AI has impacted your work or device requirements because it's not like we're going to be running Steam Deck at the corporate.\n\n**SHANNON BRADY:** Yeah, that would be nice, though.\n\n**JORDAN GREENBERG:** It would be nice. Has the work or the requirements for devices changed in the age of AI, and how does the way that you secure them change?\n\n**SHANNON BRADY:** Users having computers that enabled them to do their best work and have all of the different hardware requirements that they need has been something that my team has been involved in for a long time, even before the rise of AI.\n\nAI engineers, who are working in these fields, definitely have unique hardware requirements and unique software requirements in order to be able to effectively do their jobs. And who better to help us understand those needs than the people who work with those engineers every day.\n\nSo when we're looking into choosing a device or seeing what's going to work on gLinux, we talk to people at DeepMind, we talk to people who are going to be using these devices and say, hey, what do you need? What is going to enable you to do your best work?\n\nAdditionally, something that we look for is choosing a device that is very flexible. So choosing a device that is inherently very flexible allows us to have a base unit that we could build on, and that we have a good base unit of specs that will, by and large, cover most of our users, but with the flexibility of changing things for specific teams, or specific needs, including our AI engineers.\n\n**JORDAN GREENBERG:** Speaking of AI, maybe, in a slightly different context, if you want to tell us about your own experience. What would you call the single most important use of AI in your day-to-day SRE work?\n\n**SHANNON BRADY:** Well, that's a very hard question. In my opinion, AI is really such a powerful and multifaceted tool, and there isn't one single most important use of it. Different teams and even different individual engineers will find different things useful. Like, something that I need to do very frequently is analyzing signals and analyzing exported logs from our internal fleet.\n\nNaturally, these are logged to different databases, and they're structured in entirely different ways. And in order to be able to detect issues and determine the impact of our users, we really need to put all of these signals together in an easy-to-use way.\n\nAnd AI allows us to be able to more quickly and easily build queries that we need across all of these different sources to get the answers that we need and respond to potential problems. Because the last thing you want to do when there's an outage is be messing around with an SQL query trying to get your join correct.\n\n**JORDAN GREENBERG:** Oh, yeah.\n\n**JORDAN GREENBERG:** Yeah. But presumably, you don't want to give all that control to the AI. Do you see any risks that AI may pose in the context of decision making in SRE?\n\n**SHANNON BRADY:** Of course. The biggest risk for AI, in this context, is having an overreliance on what it's telling us. And that can be an overreliance on the queries it makes, the alerts it's flagging to us, and the recommendations for potential workarounds that it's giving.\n\nAI won't always be correct, and it's up to us as engineers to ensure that we're checking our results and we're maintaining the institutional knowledge of our teams and our products in order to be able to correctly interpret what we're seeing from the AI. AI is at its most powerful and most useful when it's used by a skilled engineer as a part of their toolkit, not as a whole toolkit.\n\n**JORDAN GREENBERG:** Yeah, that is very good advice.\n\n**JORDAN GREENBERG:** Very smart. And just so we touch on it briefly, too, the tasks that SREs need to do are pretty similar to tasks that people in other fields might need to do, too. So example we use AI in my team for data formatting and building out spreadsheets. All of these things can leverage AI to make them a little bit more efficiently done and take some of the burden off of us.\n\nI did want to switch gears a little bit just because I was thinking about your title change and how SREs, they have a few different identities, or hats, we might call them, that they may wear. What would you say is the hat that you wear most frequently in your current role? And do you think that it's best if an SRE is very specific, or if they are able to adapt and context switch, and wear a different hat one day? What kind of mix do you think is effective?\n\n**SHANNON BRADY:** I think a lot of people end up wearing multiple hats over the course of their career. That's not something that's unique to SRE. And being able to grow in your role and grow as an engineer frequently means changing out your hats. And the best part about that is that, when you get a new hat, you don't just throw away the old one. It's still there for when you need it. It's still there kind of as an old reliable.\n\nI'm wearing mostly the systems engineer's hat, so a lot of what I do is way more Linux focused than coding focused. But I've also had other hats. So for example, I used to work in tech support, and that was a hat I wore for a long time.\n\n**JORDAN GREENBERG:** Yeah. And there's different flavors of that, too. There's software engineering, systems administration, systems engineering, like you were saying. And we also just had Jen on, security SRE, so we know that there are very strange types SREs. And in concert, we work together to make such a beautiful situation happen.\n\n**SHANNON BRADY:** Oh, definitely.\n\n**JORDAN GREENBERG:** So in the context of that, what is a typical week looking like for you, outside of an on call?\n\n**SHANNON BRADY:** A typical day or a typical week is different week by week for me. But overall, I work tons with our internal partners, especially with our support staff, to really make sure that they're both able to give the best support possible to our internal Linux users, but also to hear their feedback so that we can know and we can listen to what they're telling us about what they're seeing, what our users are seeing that we may have not otherwise known about.\n\nIt comes back to the mantra of, not everything is caught in testing.\n\n**JORDAN GREENBERG:** Right. Exactly.\n\n**SHANNON BRADY:** Outside of working with our internal partners and being a people person, I'm pretty involved in working on improving and maintaining the testing infrastructure that gLinux has. gLinux does weekly releases, as we've touched on before. And that includes new and updated packages from Debian, internal packages from Google, configurations, et cetera, et cetera.\n\nAnd so having a reliable test infrastructure is really super important because it allows us to have more confidence in the release. Having unreliable tests and having unreliable infrastructure means that, not only does an engineer need to potentially spend more time investigating a failure, but it also creates a kind of alert fatigue. And that could lead us to easily mistaking a real failure for just another flaky test.\n\nBecause the first 10 times, it could have just been the-- it wasn't really a failure. And then, you'll pass in, oh my god, all of our machines are broken.\n\n**JORDAN GREENBERG:** Yeah, let's avoid that if we can.\n\n**JORDAN GREENBERG:** Yeah, that is all super important work, but I'm presuming that some companies-- someone might argue that, hey, we don't need to hire SREs for this job. So in your opinion, what is or when is the right time to add SREs to your company, and what might influence someone to hire an SRE or put someone in a similar job function like yourself?\n\n**SHANNON BRADY:** The right time is going to be different for every company. For some companies, it's going to be best to bring an SRE from the ground up. And for others, it's going to be the right time to bring in an SRE when the company really starts to scale up or starts introducing more complexity into their operations.\n\nI think having SRE roles, or at the very least, practicing SRE fundamentals, like monitoring, disaster resilience testing, incident response, from the very beginning, can really set companies up for success, whether or not they have the SRE job title officially or not. Stability and reliability go hand in hand with development and innovation.\n\n**JORDAN GREENBERG:** That's a great way to put it. Some people don't know that they're SREs, and some people don't have the title of SRE. But hopefully, hearing from you, they know that their work is exactly what an SRE does.\n\n**SHANNON BRADY:** I wouldn't get too hung up on the title. It's just another hat that they're wearing. Anybody can be an SRE if they're engineering like an SRE. When you follow these best practices, when you follow these SRE principles, it doesn't really matter if your job title is DevOps or sys end or system administration or IT support, you are practicing SRE fundamentals, you're practicing as an SRE.\n\n**JORDAN GREENBERG:** Love that.\n\n**JORDAN GREENBERG:** Exactly. Yeah, you can be the SRE at heart even if you don't have that job title.\n\n**SHANNON BRADY:** [INAUDIBLE] I'm proof of that.\n\n**JORDAN GREENBERG:** Totally. So one thing that we've noticed over the last years is that we've increasingly been using services more online rather than on our devices and whatnot. Do you think that as society in general, do you think we should depend on online services more or less, or is it fine the way it is today? What do you think?\n\n**SHANNON BRADY:** Both of those things can be true in different ways. There are lots of everyday services that really do and many that would actually benefit from digitalization and from increased connectivity. Lots of people lead very busy lives, and being able to interact with the services that they need on their own schedule from their own house is incredible.\n\nBut I think, at the same time, it's really important to think about the digital divide here and people's personal preferences as well. We need to ensure that the people that may not regularly use or have consistent access to the internet can still get what they need to have done done and also have a good experience without needing the internet.\n\nLikewise, it's super important when designing connected products to also think about the offline experience. So will it still work and function without the internet? And how would I use this product if it was never connected to the internet in the first place?\n\n**JORDAN GREENBERG:** Really good point. I appreciate this so much, Shannon. You're helping us think about SRE in the ways that only a person who works with the platform and thinks about things so holistically, from the user perspective, from the hardware perspective, from the supplier perspective, the reliability liability perspective molded into one can tell us.\n\nThank you, again, for being an iconic guest. And that's it for this episode of the Prodcast. Thank you to our listeners for hanging on with us, and we'll be back with some more soon. Have a great day.\n\n**SHANNON BRADY:** Thank you so much for having me.\n\n**JORDAN GREENBERG:** Thank you.\n\n**JORDAN GREENBERG:** Thanks, Shannon. That was great.\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[MECHANICAL VOICE]**", "znaku_textu": 21581, "slov": 3771, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:05", "sha256": "e5490cd0e9d630d0cceaf0f5fe93cf3e0a25bec357fe209729d8f9e21db08eda", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06", "titulek": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "h1": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "popis": "This episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06"}, "headline": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "description": "This episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.", "image": "https://kstatic.googleusercontent.com/files/12861fb5f8c8b39055c21394f1aab06ee02fab344b884a738e60285e11fe71ee4ceba80dcd9080da8eb4f997013d77315203c66ee364fd7076219d47a184eb5e", "author": [{"@type": "Person", "name": "Shannon Brady"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI"}], "markdown": "# The One with Parker Barnes, Felipe Tiengo Ferreira, and AI\n\nThis episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability, engineering, and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**(ELECTRONIC VOICE)** You missed a page from Telebot.\n\n**MATT SIEGLER:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE in production software. I'm Matt Siegler, and today we have a lot of folks with us. Let's start with my co-host, Steve. Who are you?\n\n**STEVE MCGHEE:** I'm Steve still. I still remain Steve. How's it going, Matt?\n\n**MATT SIEGLER:** That's good. Thank you. Great. And also, today we have two guests. Introduce yourselves, please.\n\n**FELIPE:** Hi. Yes, my name is Felipe. I am a tech lead in the Gemini safety team. And I'm a jack of all trades, doing everything I can to help everyone, everywhere, all at once.\n\n**STEVE MCGHEE:** Nice. I like that.\n\n**PARKER:** And I'm Parker. I'm a product manager working with Felipe on model level safety. So we work on the Gemini family of models, but also on some of our generative media models, like Veo, and Nano Banana, or otherwise known as Gemini Flash Image Generation Version 2.0, or whatever it's called.\n\n**STEVE MCGHEE:** Let's stick with the banana one. That's a much better name.\n\n**PARKER:** Yeah, exactly.\n\n**MATT SIEGLER:** Dang, that's a cool name.\n\n**PARKER:** And we work on basically ensuring that our models output content that is hopefully helpful to people and safe. And we collaborate with a lot of teams across Google to bring the models to users in all kinds of different product experiences.\n\n**MATT SIEGLER:** All right, let's get right out of the gates some terminology, rather. What do you mean by safe? I think I know what that word means, but let's have our audience some clarity. Exactly--\n\n**STEVE MCGHEE:** It does not cause fires. Is that it?\n\n**MATT SIEGLER:** Yep, that's right.\n\n**PARKER:** That's one definition.\n\n**MATT SIEGLER:** Easy.\n\n**PARKER:** Yeah, I can take that. So safe breaks down in a bunch of different ways for us. Probably the simplest to start with is we do have product policies that have been defined by our trust and safety teams about all kinds of content that we do not want our models to generate. These are things like the worst of the worst, which could be even illegal content around child safety type of things, also dangerous content, so instructions for how to build bombs and do things like that. But also, depending on the modality, it can also be things like nudity or other kinds of image or videos that we--\n\n**STEVE MCGHEE:** Like diagrams on how to build bombs, that kind of stuff too?\n\n**PARKER:** These days, we're getting more into that territory, where the models now have a lot of more world knowledge than they once did.\n\n**STEVE MCGHEE:** Crazy.\n\n**PARKER:** But then also, it has to do with other dimensions of safety, which we call-- so one category of safety that is very important, even under certain regulations in Europe, are what we call frontier safety. And this has to do with the ways in which models could be used to harm people in a more fundamental way. That could be around cybersecurity risks, but also things like CBRN, which is a long acronym for chemical, biological, radiological, and nuclear weapons, and related issues. So we have a whole framework around that, which is our internal policy that we also have shared with the world called the frontier safety framework that specs out that area of safety.\n\n**FELIPE:** Yeah, I feel like safety in this new world has been quite changed from the place I was before. So I spent a long time in search ranking. And at that point it was much easier to define the boundary of what is working on safety versus what is working on ranking and quality. And it was somewhat deterministic, and the lines were well defined. You know what you want to show, what you can show, what you cannot show. And the interaction between the user and the machine and your product, it was well defined. But now I feel like with those models, the interaction is open-ended and unbounded. So then the safety definition becomes very squishy and a continuum.\n\nSo what do you call safety? What do you call quality of the model? Is a model that is sycophantic, is it a safety issue? Is it a quality issue? And I think right now-- that's why I said I'm a jack of all trades because I'm not working only on safety. When you work on safety, you work on everything. So it touches so many aspects of the model that it's hard for you to define with few words, this is what safety is. And it's also not something that you know when you see. It's not like that. You really have to have some experience and have other people show you. It's not something you just get it. It's quite squishy in some ways.\n\n**PARKER:** It's a polarizing topic too. I'll just add, Steve, that a lot of people, some of the loudest voices on the internet, would prefer models that are maximally free to use, meaning they don't quote unquote \"censor,\" or they follow instructions to the T. So there's a tension there between--\n\n**STEVE MCGHEE:** Yeah, so I can see how this very quickly gets away from a research program, where we have-- how do we even stop it from doing x or y? And it gets pretty quickly into product decisions, which is, I'm guessing, why Parker's here. And then my other question about how this works in terms of safety for consumers is there's billions of them. And we're in production, and it's no longer research. It's out in the world. We've moved from research into production. So just to remind ourselves, this is an SRE-adjacent podcast.\n\nAnd so this is, I think, where it gets real funny or really tricky is-- yeah, so in the research world, in the lab we can say we can hamper down certain types of responses. But how does it change when it gets into production? How do we know it's actually working? How do we know that the quality is actually at whatever bar it is that we want, whether it's safety or other measures of quality, for the end users every day and next week and the week after that and the week after that? What's the work that goes into making sure that the production user-facing system actually continues to hit these-- once we've drawn the line for safety, how do we know we're actually hitting it over time? That seems really, really hard to me.\n\n**FELIPE:** Yeah, I feel like this is the classic changing the wheel while the bus is running because you really cannot predict all possible failure modes because of this factor I said before, where everything is-- so much of it is subjective and squishy, where the lines have to be drawn as you see new things happening. So you might decide that the model is not behaving the way that you wanted, and you decide that this is unaligned with what you want. And then you have to fix the model on the fly. And can you then predict and check for all possible dimensions and all possibilities of how the model will fail beforehand?\n\nWe try to have as much benchmarks and as much evals as we can, but there's always this constant watching after the fact as well if the model is behaving how we want. And that's where I think the research goes because it puts the researchers right at the line of duty where you have to be there at the frontiers, watching the model behave and fixing the model as it goes as fast as possible; as opposed to the way that research used to be, where you have plenty of time to test things out and then run experiments on your back end and then wait.\n\nAnd then a week later, you got some interesting paper out of it. But this brings also this problem of the loop. As you see new things happening, you try to fix them. And then something else happened because you try to fix, and so on and so forth. So being able to do all of this, the entire loop very, very quickly, it's part of my job. It's part of what me and Parker does is designing and putting in place the systems that enables us to react so quickly and fix things on the fly like this.\n\n**PARKER:** I'll just add a little bit. To some extent, there's all of the classic approaches to trying to keep a pulse on how users are experiencing the product. So there's in-product user feedback. So people can do the thumbs down thing and give us feedback via comments. Obviously, we also keep a keen eye on social media, and what people are sharing about the models, and their experiences with products that use the models. But those are really just very partial glimpse into what people are actually experiencing. And what Felipe is saying is absolutely right.\n\nThink about the Gemini app or a ChatGPT-type of experience, where people are doing all sorts of different things. It's a very general purpose tool. And they can have very, very long conversations, which even if you were to look into the logs and try to understand them, there's a lot of additional context there across multiple sessions with the user. So it's a really tricky problem of how to monitor these systems effectively, even for known risks, much less new risks that might be coming up that we're not as aware of out of the box.\n\nI do want to say just plus one to what Felipe was saying. Before we launch a new model, we do as much offline testing as we can, including what we affectionately call ART, so Automated Red Teaming, where you're looking in a more exploratory way at all the different ways in which the model might react to different kinds of inputs, some of it adversarial, intentionally trying to jailbreak the model in different ways, others just more benign, just trying to mimic real good-faith users, and just seeing how the model responds because a lot of this is just, like Felipe said, the fact that the output space is infinite here and input space as well. How do you explore that in a way that hopefully gets to the most egregious stuff before you even put these things out? So there's a lot of work that we've tried to do in that.\n\n**MATT SIEGLER:** And I want to go a little bit back to something Steve called out, which is-- and then you guys have echoed, which is researchers and SREs are getting ever closer to working in concert in ways here that they've never before, which is, to me, a very personally exciting thing. And I think you and I, Parker, have personally worked together in this for many years. And I think this is now becoming fruitful. And I'd like to ask you to reflect upon what is novel tooling that you can speak about that's happening, that is noteworthy, that is not just shopping carts don't work.\n\nThat is happening here. We have something going on where we're deploying a suite of tools that are being used by people. And they're used by people, and we want them to work well. And we need feedback loops for when they misbehave or do things we don't want them to do that we can feedback and go, alert and do, nope, we don't like the quality we're showing to these people. We'd like to make quick changes. We have something go red, and then someone wakes up and goes, oh, yep, we need to do something.\n\nOr something automatically happens, and we make a quick intervention. And we quickly change something rather than going back to a workbench on a researcher's desk. And they come in on a Monday and go, oh yeah, we need to quickly tune in and deploy a new version. So something new is happening. Talk about how that something new is actually doing something faster than over iterations of weeks or months or quarters or cycles of journals.\n\n**FELIPE:** Yeah, I think we can speak about the whole spectrum of fixing a model on the fly like this. And sometimes it's not on the fly because it's a model. It's really hard to train. It takes a long time to train. Even after it's fully trained, you can do certain kinds of tail patch post training and get the model fixed in that particular issue that you have. Even just the tail patch post training, which is a very small iteration on top of the post training that already happened, it still takes like weeks, right?\n\nSo it's not something-- not because of the time of the training, but just the time of designing the steps you have to do for training-- creating data sets, and then running the GPUs, and then deploying the model. Even deploying the model, releasing the binary-- it takes several hours or days, depending on which model. So it's not feasible to do that very quickly, but that's one side of the spectrum. And on the other side is a super dumb strategy where you just match the exact query of the user.\n\nSo if the user has found a jailbreak and you just match the exact jailbreak, the classic then kind of jailbreak. And you can do that. That's very brittle, kind of dumb. It will work only for that exact phrasing and that exact-- but it's very quick. It's very quick for us to deploy and just block it. But what it goes in the middle is where it gets interesting. And that's where a lot of the innovation has been happening in the past couple of years. And those tools that we have right now to try to fix the model on the fly without having to do the full retraining and to only train on very specific slices of the model, that's where most of the innovation happens.\n\nOf course, I'm not going to be able to speak of all the details because a lot of it is IP from GDM. But there is very interesting things that we've been developing so far that can be done very surgically-- changes to either knowledge of the model or understanding of larger issues that the model has. And the model can self-monitor. So the model will know that this is-- I now understand, I've been told that this is dangerous, and I have to steer away. Or I have to behave in a different way for this particular kind of query, or for this particular topic, or this particular response that I generate.\n\nAnd you can do that in a shorter time frame. It's not like weeks. But it's also not a couple of minutes, like you do in a regular expression, like matching the query. It takes a couple of hours for us to do this type of training, and deploy takes another couple of hours. But it's at least a middle ground where you can react quickly and then change that type of behavior. And it's also a little bit more, way more flexible and non-brittle, where the model has the understanding of its own thoughts and can react for different types of inputs. It's not just matching a single input.\n\n**STEVE MCGHEE:** It kind of reminds me-- tell me if I'm getting this wrong, but it reminds me of early DOS protection. It was like, let's just look for this exact string. And that worked for some things. And then later we developed these better algorithms where it was a lot more about more subtle signals and looking at broader concepts. It's not the same actual system, obviously, but we started with the very direct things, and then we got to that chewy middle. And that's where the real fun is.\n\n**PARKER:** I'll just add two minor things on top of what Felipe said. But really, practically speaking, for any company that is deploying these models and wants to have an initial toolkit of what to do about safety, I think you need to think about system instructions or developer instructions, which is basically instructions that you give the model about what your definition of safe means. And minimally, that will help the model understand this is one of-- in addition to giving the model a persona and explaining what is the model actually doing for the user in whatever context it's being deployed.\n\nYou may have some safety guidelines, which is to say, look at the query, think about these things. And if it goes against these rules, either respond in this way or don't respond at all, however you want them to do that. Think about what those should be, and those can be updated at any time really cheaply, right? Now, of course, not every model follows every instruction to the T so it's not 100% guaranteed as an enforcement technique.\n\nThe other thing is just classic filters, things that you can either-- a lot of companies obviously already have content moderation filters that they can repurpose for Gen AI products. The other approach is just to take other LLMs and use them as a prompted classifier, which is very, very common these days, which is just to say, ask Gemini or your model of choice, is this piece of content that I'm showing you right now, does it violate one of these rules?\n\nIf so, we will not show it to the user, that kind of thing. Those are two very, very practical, and frankly, easy things to do that can be updated more or less on the fly, adjusting what the filters can do. And that's leveraging LLMs to do the work. Now, of course, second order and third-order questions about can these things be jailbroken? Yes, these are all risks. And this is where we're dealing with, it's going to be an arms race, effectively, trying to get to better and better protections.\n\n**STEVE MCGHEE:** So while your teams are doing things like this, where you're setting up defensive structures and filtering and retraining, and then also having other LLMs come in and, hey, was that good in this way, in this particular definition of good before it makes its way out? So it feels like a multi-layered defense scenario, which is great. This tends to work when we have not just a hard shell but many layers of things when it comes to defensive systems. I have a question about that.\n\nIf you're all doing all that, and that's great, should users of these systems also be adding more layers? Should they be, on top of that, saying, yo, LLM, I want to build this app which does this creative thing and then comes up with something else? By the way, layer, layer, layer. So my question is if an SRE out in the world who's listening to this wants to use an LLM for something, and they don't want to delete the root file system of a production cluster, for example, I'm not sure that's going to be in your training data. Hey, remember, never suggest that we delete the root file system off of a production system.\n\nWhat's some advice to someone who's out there who is trying to use an LLM to generate code or systems or something on their system? It's a weird circular question, I guess. But I think this is on the topic of a lot of SREs' minds these days of I want to generate a bunch of code to help me do my job, but oh, god, it's a little scary. What do we do to make sure the system itself is-- the LLM itself is safe, but also the thing that it's guarding or building or fixing, like AcmeCorpService.com, that thing stays safe also? Is that something that you guys think about or that you give advice about?\n\n**FELIPE:** Yeah, I think every once in a while I speak to the folks in cloud that are dealing with the clients, and this touches the problem of alignment. Alignment is not a constant. It is different between person to person, between company to company, between industries, governments, and so on. So if you have a different client, if your client is, for example, a hospital and you're doing certain kinds of queries that are deep questions about medicine and how to do certain kinds of procedures that you might not want to show that to a regular user or an underage user you don't know, but for that client you should.\n\nSo you can have different kinds of policies. And some other clients might have even higher restrictions. If you're a game developer and you want to show this to underage users, then you have to have different guidelines there. So far, the types of systems that are available for the clients, they're still maturing.\n\nSo as things mature, I feel like we will see more and more those other kinds of systems where even the clients have access to and do a sliver of training on the model just to show this is the stuff that you need to pay attention to. And if you are deep into the weeds there, if you're good as a developer and you have AI engineers working for your company there, you can get that done by using open source models and then doing some sort of post training on top of it, or using LoRAs or other techniques.\n\nBut it gets complicated and hard to maintain very quickly. Every time, for a new model, you're going to have to do the whole pipeline again. So maintenance and long-term updateability is a big concern. And I think that with those other kinds of systems that you're training the model, it gets expensive and high maintenance very quickly. So that's why I feel like it's still in its infancy. I think there is a lot for us to do there, where improving long-term maintainability and cost of maintenance there.\n\n**PARKER:** I'm going to add a couple of things. One thing is for SREs, because I think this community is amazing at this, is thinking about all the ways things might go wrong and designing smoke tests, at both the model level and at the product end-to-end level, of even if few queries that are really targeted at things that if they go wrong, we're in bad place. And run those every time. You know what I mean? Have your own-- these things are often affectionately called vibe tests. People are checking for all kinds of vibes-- security vibes, safety vibes, quality vibes, good feels, humor, all these things. And I think SRE just has people who are just amazing at imagining all of the different ways in which this could go sideways.\n\nThe other thing that I think is really important is I think SREs need to have visibility into the, for lack of a better term, all the traces. What is actually being shown to the model? Because a lot of the times people don't realize how complicated that gets in a production system, that we're layering on lots of different instructions, lots of different contexts being pulled in from all these different data sources, which could confuse and distract the model, lead it to weird edge cases.\n\nAnd so having that observability, which I think is, again, a very deep SRE principle of can we actually see from the model's point of view what it is being instructed to do and help potentially root cause issues that might be caused by this weird composition of the context window, which is essentially, that is the model's entire world. It knows nothing that is not in that context window because these are not continuously trained systems.\n\nSo I think having that observability, having the SREs be a participant in thinking through what is a rational context to give the model for the purposes and to avoid a situation where the model is being asked to do two opposite things, which I think, in certain situations, that happens unintentionally, where you have multiple people contributing parts of the instructions or the SIs. Yeah.\n\n**STEVE MCGHEE:** Can I throw out a phrase I learned the other day, which is drift detection? I think I understand this a little bit, maybe. I don't know. But basically, we think it's doing the right thing for a while and then later we're like, oh, god, it's not doing the thing anymore. What's happening? And this isn't necessarily about safety. Sometimes it's just alignment with your company's economic desires or something like that. Or just like, are we actually helping the customer with foo. Is this a term that people should be aware of, and do they need to be defensive about it? Or do they just wait for the foundational models to become perfect? What do you think?\n\n**PARKER:** Drift detection, that concept, MLOps-- I'm laughing because Matt and I were talking about this like 10 years ago.\n\n**MATT SIEGLER:** Yeah, it's not new.\n\n**PARKER:** It's not a new concept, but no, no, no, no, but in a good way in the sense that, yes, you should be monitoring as much as you can. It's challenging to do so. But for example, if you have filters in place, you should be monitoring the rate of those filters. And you should probably be sampling some of the examples. And looking at-- the filter is just a classifier, so just do your confusion matrix.\n\nWhat is the false positive rate on this classifier? What is the true positive rate? How can we continuously improve that part of the system? And that's one fuzzy drift detection mechanism, Steve, right? If your filter rate all of a sudden pops from 5% to 10%, or whatever it is, probably something has changed. So those kinds of principles absolutely apply.\n\n**MATT SIEGLER:** Thank you for calling out the character traits that we think are particularly well suited to being scrutinous of quality. It's only recently that we now have something rapidly being used in production by billions of people at scale, which is suitable for this work. Until recently, it was novelty. It didn't have outcomes that were valuable enough to bother pointing SREs at. But here we are. And I think ML is about to have its kind of golden era. But I'd like to see the transferable skills actually transfer, but we're just inventing something new, and it's ill-defined.\n\nBut we just called a second ago about what is DevOps when ML code from the brain of the organism is generating? And you're like, well, how are we going to review this stuff? And how are we going to launch this stuff? And how are we going to iterate on this stuff? And then how are we going to review its proposed propositions? And it's weird and wild and new. But I do think the same principles apply, which is alignment with the objectives of our users, having really strong values.\n\nI don't think-- that's not new at all. That's the stuff that we've been doing for 20 years, so awesome. But I think a lot of our audience is curious about how they're going to do what they're doing right now, which is keeping shopping carts working to doing what you just described. So do you have any ideas how they can even get going? They're out there doing that. They want to be doing what you're talking about, and they've got to get there from here. Thoughts?\n\n**FELIPE:** Yeah, I there's what's happening right now in the present and what I think is going to happen in the future. I was just reading this blog post from LessWrong recently, and they were talking about how improvements on everything, including AI, usually happens in step-by-step mode in somewhat, not linear, but somewhat incrementally over the time. But the perceived quality, the perceived usefulness is a step function, where suddenly becomes useful. It's because when you get to that threshold of I cannot trust my AI to write the code for me because I have to check every line of my AI agent.\n\nThat's because there is a 20% chance that it's going to use a horrible bug in one of the lines, so I have to check every line. So that's not useful. So I'm going to have to spend as much time checking as I would have spent writing the code myself. But then suddenly, if that becomes a much lower probability that a horrible bug is going to be introduced in any given line, then I'm going to maybe not check every line anymore. And it's going to become useful.\n\nSo that step happens all of a sudden, while the AI has been improving over time. And in the present, we're still in the middle of this. I think we're close to that step function, but we're still in the middle of this, where I have to check the code, right? And the problem that is happening right now is that, well, it is really easy to write a lot of code, way more code than I ever wrote my whole life.\n\nSTEVE: Yep.\n\n**FELIPE:** And that's true for all of the engineers, and it's true for people who are non-engineers, and it's true for people that never touched an IDE before. So what's happening right now in the present is we have a lot more code being produced, and still the same amount of people who are experienced as code reviewers. So what this means is that we are probably introducing a lot more bugs everywhere in all of our systems if you're not reviewing them.\n\nSo what do you do? You just hire a bunch of code reviewers? I don't think that's necessarily what should happen, right? But I do agree with that point on the blog post. I don't agree with the whole post, but I agree in that point of I think in the future we will cross the line where it becomes reliable to the point that you will not necessarily have to review all of the code.\n\nBut meanwhile, it should work like a factory, where every step of the factory, you have to have a quality control. You don't have a quality control only on the end. You do at every step that is important. And this could be code reviews. This could be monitoring. This could be automated monitoring. This could be automated monitoring on your network to see if there's a new unforeseen activity that shouldn't be there. And that might mean that a new bug was introduced or something. So I think right now at the present, we still need this type of checks that you guys were mentioning and Parker was mentioning before as well.\n\n**PARKER:** I mean it. The only thing I can say is I always love working with SREs because I think the pressure to ship fast is everywhere right now, for all the reasons Felipe just said too. It's easier than ever to just throw together a new product. Look at how quickly OpenAI built, which was it? They were like six weeks to build this massive new feature and shipped it. And with that comes an enormous amount of pressure on the teams who are actually responsible for maintaining it. And so I think, to some extent SREs' time to shine is here, both in terms of just keeping these new products up, but also managing these risks and not burying our heads in the sand until something explodes.\n\nSo I feel like there's also the question of how do you use these models as part of SRE to do your jobs better or more easily, or faster, or at more scale. I have no special knowledge about that one. But I think every single person right now is having to think through that question of how do I use these models? How much can I trust them to be a part of my core toolkit? And so I think it's a pretty exciting time to be doing this work.\n\n**MATT SIEGLER:** Wow.\n\n**FELIPE:** I also feel like we are the wrong kind of person to ask that kind of question because we're always so-- or maybe we are the right people because we're always thinking about what can possibly go wrong.\n\n**PARKER:** That's true.\n\n**FELIPE:** I think the models are doing stupid things right now. We have to fix them, and they're not reliable. But if you ask other people, they're going to say, well, have you seen what happened the last two years? The models are really reliable right now if you compare to two years ago. Yeah, OK. But there's still room for improvement.\n\n**MATT SIEGLER:** Well, great. We're just about running out of time. I'd like to ask an open-ended question we like to do with our guests at the end of the episode. What's something that concerns you about where we're going right now, big picture, either culturally within or within the industry, that we're not keeping our eyes on the ball about, that we need to really care about the value to make sure we work hard to-- but that we are using our forces to keep from doing so, that we do?\n\n**STEVE MCGHEE:** What's in the shadows? What's the scary part right now?\n\n**FELIPE:** Yeah.\n\n**[LAUGHTER]**\n\n**PARKER:** I think that the speed makes it very challenging to exercise foresight across the industry about where this is all going. And that is the thing that I think keeps me up at night is, how do we deal with the problems we have today and that have been created by things that have been shipped yesterday, while also preferably skating to where the puck is likely to be and where we can probably tell it's going to be in six months? But there are not enough hours in the day to be trying to solve the future problems and today's problems.\n\nI guess at Google and at DeepMind were spoiled in that we have research teams whose job it is to think ahead. But I think about that as an industry-wide challenge. I can imagine me doing a similar job at a company that doesn't have the kind of research bench that the labs do, trying to think about how to get ahead of these things. Whereas, when we're shipping at a slower pace, there was more opportunity to think about how do you automate things that should be automated, and how do you do more thorough checks before you launch?\n\nI also think that there's an element of education, for lack of a better word, around what risks are out there. You know there's the whole AI Twittersphere, the AI safety Twitter. If you tune in, they're talking about all kinds of things that I think it would be hard to follow for somebody who's just trying to ship a great product. There's just such a long list, depending on what kinds of models you're using, what modalities, like Agentic and not Agentic, and just the permutations of all the things that could, in theory, go wrong. There's no way to tune in and have a full sense of them.\n\nAnd so I'm curious-- maybe it's less of a concern and more of a hope-- that product people, SRE, all the engineering leadership will take time to also learn about these things, and that we'll have a better shared vocabulary for how to communicate about these things. And just as an industry realize that, yeah, we are in it together. That's one of the wonderful things about SRE and safety. It's like, we have to get this right. Sorry, that's a little bit of a rah rah.\n\n**MATT SIEGLER:** Awesome. I knew you'd be optimistic, Parker. It's wonderful.\n\n**FELIPE:** Yeah, I wanted to plus one on the pace of change, the velocity that has been happening over the last couple of years. If you think about when I joined GDM, and before that, when I was working on Bart and all this stuff, we were quite separate between the team doing today's safety, what the model is doing something stupid today, versus the team that is doing the next level safety, the next model, the frontier safety. Those were two separate teams. One is doing research long-term, the story about what's going to happen in the future. The other is what we have to do right now to fix the stupid model that is doing something stupid today.\n\nAnd I feel like today, since two years ago, has changed so much that right now, the two teams are working together because we are right there, very, very close to each other. And this is what actually worries me is that the pace of the evolution was so fast that the long-term research that we had to do, now, we don't have enough time to do long-term research because we have to do that long-term research for the model is going to come up in six months. So you don't have two years to do research. You have a few months only. And by the time that that model comes out, you have to be ready. You have to deploy all the ideas that you had.\n\nSo that's why we are now living in a world where engineering, deployment, and research is happening at the same time. And if we don't help each other-- I'm not a researcher from my background, but I have to do research together with the researchers because I have to deploy things that are needed right now.\n\n**MATT SIEGLER:** This has been great. Wow. Thank you so much. Really appreciate you giving your time today. It's been a wonderful episode. Thanks, Steve. Thank you, Felipe, Parker.\n\n**PARKER:** Thank you, guys.\n\n**MATT SIEGLER:** Have a good one.\n\n**PARKER:** Great to talk.\n\n**FELIPE:** Thank you.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**(ELECTRONIC VOICE)** You missed a page from] Telebot.", "znaku_textu": 36662, "slov": 6720, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:02", "sha256": "9a24844b1a2aba560547ed4d2c0cb1292cfef085f960a9f4f6c8083e0194d8a2", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06/", "titulek": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "h1": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "popis": "This episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06"}, "headline": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI", "description": "This episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.", "image": "https://kstatic.googleusercontent.com/files/12861fb5f8c8b39055c21394f1aab06ee02fab344b884a738e60285e11fe71ee4ceba80dcd9080da8eb4f997013d77315203c66ee364fd7076219d47a184eb5e", "author": [{"@type": "Person", "name": "Shannon Brady"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Parker Barnes, Felipe Tiengo Ferreira, and AI"}], "markdown": "# The One with Parker Barnes, Felipe Tiengo Ferreira, and AI\n\nThis episode of the Prodcast tackles the challenges of maintaining AI safety and alignment in production. Guests Felipe Tiengo Ferreira and Parker Barnes join hosts Matt Siegler and Steve McGhee to discuss AI model safety, from examining content to emerging security risks. The discussion emphasizes the vital role of SREs in managing safety at scale, detailing multi-layered defenses, including system instructions, LLM classifiers, and Automated Red Teaming (ART). Felipe and Parker dive into the evolving world of AI safety, from core product policies to the groundbreaking Frontier Safety Framework. The guests explore the need for SRE principles like drift detection and context observability. Finally, they raise concerns about the velocity of AI development compressing long-term research, urging the industry to collaborate and share vocabulary to address rapidly emerging risks.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability, engineering, and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**(ELECTRONIC VOICE)** You missed a page from Telebot.\n\n**MATT SIEGLER:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE in production software. I'm Matt Siegler, and today we have a lot of folks with us. Let's start with my co-host, Steve. Who are you?\n\n**STEVE MCGHEE:** I'm Steve still. I still remain Steve. How's it going, Matt?\n\n**MATT SIEGLER:** That's good. Thank you. Great. And also, today we have two guests. Introduce yourselves, please.\n\n**FELIPE:** Hi. Yes, my name is Felipe. I am a tech lead in the Gemini safety team. And I'm a jack of all trades, doing everything I can to help everyone, everywhere, all at once.\n\n**STEVE MCGHEE:** Nice. I like that.\n\n**PARKER:** And I'm Parker. I'm a product manager working with Felipe on model level safety. So we work on the Gemini family of models, but also on some of our generative media models, like Veo, and Nano Banana, or otherwise known as Gemini Flash Image Generation Version 2.0, or whatever it's called.\n\n**STEVE MCGHEE:** Let's stick with the banana one. That's a much better name.\n\n**PARKER:** Yeah, exactly.\n\n**MATT SIEGLER:** Dang, that's a cool name.\n\n**PARKER:** And we work on basically ensuring that our models output content that is hopefully helpful to people and safe. And we collaborate with a lot of teams across Google to bring the models to users in all kinds of different product experiences.\n\n**MATT SIEGLER:** All right, let's get right out of the gates some terminology, rather. What do you mean by safe? I think I know what that word means, but let's have our audience some clarity. Exactly--\n\n**STEVE MCGHEE:** It does not cause fires. Is that it?\n\n**MATT SIEGLER:** Yep, that's right.\n\n**PARKER:** That's one definition.\n\n**MATT SIEGLER:** Easy.\n\n**PARKER:** Yeah, I can take that. So safe breaks down in a bunch of different ways for us. Probably the simplest to start with is we do have product policies that have been defined by our trust and safety teams about all kinds of content that we do not want our models to generate. These are things like the worst of the worst, which could be even illegal content around child safety type of things, also dangerous content, so instructions for how to build bombs and do things like that. But also, depending on the modality, it can also be things like nudity or other kinds of image or videos that we--\n\n**STEVE MCGHEE:** Like diagrams on how to build bombs, that kind of stuff too?\n\n**PARKER:** These days, we're getting more into that territory, where the models now have a lot of more world knowledge than they once did.\n\n**STEVE MCGHEE:** Crazy.\n\n**PARKER:** But then also, it has to do with other dimensions of safety, which we call-- so one category of safety that is very important, even under certain regulations in Europe, are what we call frontier safety. And this has to do with the ways in which models could be used to harm people in a more fundamental way. That could be around cybersecurity risks, but also things like CBRN, which is a long acronym for chemical, biological, radiological, and nuclear weapons, and related issues. So we have a whole framework around that, which is our internal policy that we also have shared with the world called the frontier safety framework that specs out that area of safety.\n\n**FELIPE:** Yeah, I feel like safety in this new world has been quite changed from the place I was before. So I spent a long time in search ranking. And at that point it was much easier to define the boundary of what is working on safety versus what is working on ranking and quality. And it was somewhat deterministic, and the lines were well defined. You know what you want to show, what you can show, what you cannot show. And the interaction between the user and the machine and your product, it was well defined. But now I feel like with those models, the interaction is open-ended and unbounded. So then the safety definition becomes very squishy and a continuum.\n\nSo what do you call safety? What do you call quality of the model? Is a model that is sycophantic, is it a safety issue? Is it a quality issue? And I think right now-- that's why I said I'm a jack of all trades because I'm not working only on safety. When you work on safety, you work on everything. So it touches so many aspects of the model that it's hard for you to define with few words, this is what safety is. And it's also not something that you know when you see. It's not like that. You really have to have some experience and have other people show you. It's not something you just get it. It's quite squishy in some ways.\n\n**PARKER:** It's a polarizing topic too. I'll just add, Steve, that a lot of people, some of the loudest voices on the internet, would prefer models that are maximally free to use, meaning they don't quote unquote \"censor,\" or they follow instructions to the T. So there's a tension there between--\n\n**STEVE MCGHEE:** Yeah, so I can see how this very quickly gets away from a research program, where we have-- how do we even stop it from doing x or y? And it gets pretty quickly into product decisions, which is, I'm guessing, why Parker's here. And then my other question about how this works in terms of safety for consumers is there's billions of them. And we're in production, and it's no longer research. It's out in the world. We've moved from research into production. So just to remind ourselves, this is an SRE-adjacent podcast.\n\nAnd so this is, I think, where it gets real funny or really tricky is-- yeah, so in the research world, in the lab we can say we can hamper down certain types of responses. But how does it change when it gets into production? How do we know it's actually working? How do we know that the quality is actually at whatever bar it is that we want, whether it's safety or other measures of quality, for the end users every day and next week and the week after that and the week after that? What's the work that goes into making sure that the production user-facing system actually continues to hit these-- once we've drawn the line for safety, how do we know we're actually hitting it over time? That seems really, really hard to me.\n\n**FELIPE:** Yeah, I feel like this is the classic changing the wheel while the bus is running because you really cannot predict all possible failure modes because of this factor I said before, where everything is-- so much of it is subjective and squishy, where the lines have to be drawn as you see new things happening. So you might decide that the model is not behaving the way that you wanted, and you decide that this is unaligned with what you want. And then you have to fix the model on the fly. And can you then predict and check for all possible dimensions and all possibilities of how the model will fail beforehand?\n\nWe try to have as much benchmarks and as much evals as we can, but there's always this constant watching after the fact as well if the model is behaving how we want. And that's where I think the research goes because it puts the researchers right at the line of duty where you have to be there at the frontiers, watching the model behave and fixing the model as it goes as fast as possible; as opposed to the way that research used to be, where you have plenty of time to test things out and then run experiments on your back end and then wait.\n\nAnd then a week later, you got some interesting paper out of it. But this brings also this problem of the loop. As you see new things happening, you try to fix them. And then something else happened because you try to fix, and so on and so forth. So being able to do all of this, the entire loop very, very quickly, it's part of my job. It's part of what me and Parker does is designing and putting in place the systems that enables us to react so quickly and fix things on the fly like this.\n\n**PARKER:** I'll just add a little bit. To some extent, there's all of the classic approaches to trying to keep a pulse on how users are experiencing the product. So there's in-product user feedback. So people can do the thumbs down thing and give us feedback via comments. Obviously, we also keep a keen eye on social media, and what people are sharing about the models, and their experiences with products that use the models. But those are really just very partial glimpse into what people are actually experiencing. And what Felipe is saying is absolutely right.\n\nThink about the Gemini app or a ChatGPT-type of experience, where people are doing all sorts of different things. It's a very general purpose tool. And they can have very, very long conversations, which even if you were to look into the logs and try to understand them, there's a lot of additional context there across multiple sessions with the user. So it's a really tricky problem of how to monitor these systems effectively, even for known risks, much less new risks that might be coming up that we're not as aware of out of the box.\n\nI do want to say just plus one to what Felipe was saying. Before we launch a new model, we do as much offline testing as we can, including what we affectionately call ART, so Automated Red Teaming, where you're looking in a more exploratory way at all the different ways in which the model might react to different kinds of inputs, some of it adversarial, intentionally trying to jailbreak the model in different ways, others just more benign, just trying to mimic real good-faith users, and just seeing how the model responds because a lot of this is just, like Felipe said, the fact that the output space is infinite here and input space as well. How do you explore that in a way that hopefully gets to the most egregious stuff before you even put these things out? So there's a lot of work that we've tried to do in that.\n\n**MATT SIEGLER:** And I want to go a little bit back to something Steve called out, which is-- and then you guys have echoed, which is researchers and SREs are getting ever closer to working in concert in ways here that they've never before, which is, to me, a very personally exciting thing. And I think you and I, Parker, have personally worked together in this for many years. And I think this is now becoming fruitful. And I'd like to ask you to reflect upon what is novel tooling that you can speak about that's happening, that is noteworthy, that is not just shopping carts don't work.\n\nThat is happening here. We have something going on where we're deploying a suite of tools that are being used by people. And they're used by people, and we want them to work well. And we need feedback loops for when they misbehave or do things we don't want them to do that we can feedback and go, alert and do, nope, we don't like the quality we're showing to these people. We'd like to make quick changes. We have something go red, and then someone wakes up and goes, oh, yep, we need to do something.\n\nOr something automatically happens, and we make a quick intervention. And we quickly change something rather than going back to a workbench on a researcher's desk. And they come in on a Monday and go, oh yeah, we need to quickly tune in and deploy a new version. So something new is happening. Talk about how that something new is actually doing something faster than over iterations of weeks or months or quarters or cycles of journals.\n\n**FELIPE:** Yeah, I think we can speak about the whole spectrum of fixing a model on the fly like this. And sometimes it's not on the fly because it's a model. It's really hard to train. It takes a long time to train. Even after it's fully trained, you can do certain kinds of tail patch post training and get the model fixed in that particular issue that you have. Even just the tail patch post training, which is a very small iteration on top of the post training that already happened, it still takes like weeks, right?\n\nSo it's not something-- not because of the time of the training, but just the time of designing the steps you have to do for training-- creating data sets, and then running the GPUs, and then deploying the model. Even deploying the model, releasing the binary-- it takes several hours or days, depending on which model. So it's not feasible to do that very quickly, but that's one side of the spectrum. And on the other side is a super dumb strategy where you just match the exact query of the user.\n\nSo if the user has found a jailbreak and you just match the exact jailbreak, the classic then kind of jailbreak. And you can do that. That's very brittle, kind of dumb. It will work only for that exact phrasing and that exact-- but it's very quick. It's very quick for us to deploy and just block it. But what it goes in the middle is where it gets interesting. And that's where a lot of the innovation has been happening in the past couple of years. And those tools that we have right now to try to fix the model on the fly without having to do the full retraining and to only train on very specific slices of the model, that's where most of the innovation happens.\n\nOf course, I'm not going to be able to speak of all the details because a lot of it is IP from GDM. But there is very interesting things that we've been developing so far that can be done very surgically-- changes to either knowledge of the model or understanding of larger issues that the model has. And the model can self-monitor. So the model will know that this is-- I now understand, I've been told that this is dangerous, and I have to steer away. Or I have to behave in a different way for this particular kind of query, or for this particular topic, or this particular response that I generate.\n\nAnd you can do that in a shorter time frame. It's not like weeks. But it's also not a couple of minutes, like you do in a regular expression, like matching the query. It takes a couple of hours for us to do this type of training, and deploy takes another couple of hours. But it's at least a middle ground where you can react quickly and then change that type of behavior. And it's also a little bit more, way more flexible and non-brittle, where the model has the understanding of its own thoughts and can react for different types of inputs. It's not just matching a single input.\n\n**STEVE MCGHEE:** It kind of reminds me-- tell me if I'm getting this wrong, but it reminds me of early DOS protection. It was like, let's just look for this exact string. And that worked for some things. And then later we developed these better algorithms where it was a lot more about more subtle signals and looking at broader concepts. It's not the same actual system, obviously, but we started with the very direct things, and then we got to that chewy middle. And that's where the real fun is.\n\n**PARKER:** I'll just add two minor things on top of what Felipe said. But really, practically speaking, for any company that is deploying these models and wants to have an initial toolkit of what to do about safety, I think you need to think about system instructions or developer instructions, which is basically instructions that you give the model about what your definition of safe means. And minimally, that will help the model understand this is one of-- in addition to giving the model a persona and explaining what is the model actually doing for the user in whatever context it's being deployed.\n\nYou may have some safety guidelines, which is to say, look at the query, think about these things. And if it goes against these rules, either respond in this way or don't respond at all, however you want them to do that. Think about what those should be, and those can be updated at any time really cheaply, right? Now, of course, not every model follows every instruction to the T so it's not 100% guaranteed as an enforcement technique.\n\nThe other thing is just classic filters, things that you can either-- a lot of companies obviously already have content moderation filters that they can repurpose for Gen AI products. The other approach is just to take other LLMs and use them as a prompted classifier, which is very, very common these days, which is just to say, ask Gemini or your model of choice, is this piece of content that I'm showing you right now, does it violate one of these rules?\n\nIf so, we will not show it to the user, that kind of thing. Those are two very, very practical, and frankly, easy things to do that can be updated more or less on the fly, adjusting what the filters can do. And that's leveraging LLMs to do the work. Now, of course, second order and third-order questions about can these things be jailbroken? Yes, these are all risks. And this is where we're dealing with, it's going to be an arms race, effectively, trying to get to better and better protections.\n\n**STEVE MCGHEE:** So while your teams are doing things like this, where you're setting up defensive structures and filtering and retraining, and then also having other LLMs come in and, hey, was that good in this way, in this particular definition of good before it makes its way out? So it feels like a multi-layered defense scenario, which is great. This tends to work when we have not just a hard shell but many layers of things when it comes to defensive systems. I have a question about that.\n\nIf you're all doing all that, and that's great, should users of these systems also be adding more layers? Should they be, on top of that, saying, yo, LLM, I want to build this app which does this creative thing and then comes up with something else? By the way, layer, layer, layer. So my question is if an SRE out in the world who's listening to this wants to use an LLM for something, and they don't want to delete the root file system of a production cluster, for example, I'm not sure that's going to be in your training data. Hey, remember, never suggest that we delete the root file system off of a production system.\n\nWhat's some advice to someone who's out there who is trying to use an LLM to generate code or systems or something on their system? It's a weird circular question, I guess. But I think this is on the topic of a lot of SREs' minds these days of I want to generate a bunch of code to help me do my job, but oh, god, it's a little scary. What do we do to make sure the system itself is-- the LLM itself is safe, but also the thing that it's guarding or building or fixing, like AcmeCorpService.com, that thing stays safe also? Is that something that you guys think about or that you give advice about?\n\n**FELIPE:** Yeah, I think every once in a while I speak to the folks in cloud that are dealing with the clients, and this touches the problem of alignment. Alignment is not a constant. It is different between person to person, between company to company, between industries, governments, and so on. So if you have a different client, if your client is, for example, a hospital and you're doing certain kinds of queries that are deep questions about medicine and how to do certain kinds of procedures that you might not want to show that to a regular user or an underage user you don't know, but for that client you should.\n\nSo you can have different kinds of policies. And some other clients might have even higher restrictions. If you're a game developer and you want to show this to underage users, then you have to have different guidelines there. So far, the types of systems that are available for the clients, they're still maturing.\n\nSo as things mature, I feel like we will see more and more those other kinds of systems where even the clients have access to and do a sliver of training on the model just to show this is the stuff that you need to pay attention to. And if you are deep into the weeds there, if you're good as a developer and you have AI engineers working for your company there, you can get that done by using open source models and then doing some sort of post training on top of it, or using LoRAs or other techniques.\n\nBut it gets complicated and hard to maintain very quickly. Every time, for a new model, you're going to have to do the whole pipeline again. So maintenance and long-term updateability is a big concern. And I think that with those other kinds of systems that you're training the model, it gets expensive and high maintenance very quickly. So that's why I feel like it's still in its infancy. I think there is a lot for us to do there, where improving long-term maintainability and cost of maintenance there.\n\n**PARKER:** I'm going to add a couple of things. One thing is for SREs, because I think this community is amazing at this, is thinking about all the ways things might go wrong and designing smoke tests, at both the model level and at the product end-to-end level, of even if few queries that are really targeted at things that if they go wrong, we're in bad place. And run those every time. You know what I mean? Have your own-- these things are often affectionately called vibe tests. People are checking for all kinds of vibes-- security vibes, safety vibes, quality vibes, good feels, humor, all these things. And I think SRE just has people who are just amazing at imagining all of the different ways in which this could go sideways.\n\nThe other thing that I think is really important is I think SREs need to have visibility into the, for lack of a better term, all the traces. What is actually being shown to the model? Because a lot of the times people don't realize how complicated that gets in a production system, that we're layering on lots of different instructions, lots of different contexts being pulled in from all these different data sources, which could confuse and distract the model, lead it to weird edge cases.\n\nAnd so having that observability, which I think is, again, a very deep SRE principle of can we actually see from the model's point of view what it is being instructed to do and help potentially root cause issues that might be caused by this weird composition of the context window, which is essentially, that is the model's entire world. It knows nothing that is not in that context window because these are not continuously trained systems.\n\nSo I think having that observability, having the SREs be a participant in thinking through what is a rational context to give the model for the purposes and to avoid a situation where the model is being asked to do two opposite things, which I think, in certain situations, that happens unintentionally, where you have multiple people contributing parts of the instructions or the SIs. Yeah.\n\n**STEVE MCGHEE:** Can I throw out a phrase I learned the other day, which is drift detection? I think I understand this a little bit, maybe. I don't know. But basically, we think it's doing the right thing for a while and then later we're like, oh, god, it's not doing the thing anymore. What's happening? And this isn't necessarily about safety. Sometimes it's just alignment with your company's economic desires or something like that. Or just like, are we actually helping the customer with foo. Is this a term that people should be aware of, and do they need to be defensive about it? Or do they just wait for the foundational models to become perfect? What do you think?\n\n**PARKER:** Drift detection, that concept, MLOps-- I'm laughing because Matt and I were talking about this like 10 years ago.\n\n**MATT SIEGLER:** Yeah, it's not new.\n\n**PARKER:** It's not a new concept, but no, no, no, no, but in a good way in the sense that, yes, you should be monitoring as much as you can. It's challenging to do so. But for example, if you have filters in place, you should be monitoring the rate of those filters. And you should probably be sampling some of the examples. And looking at-- the filter is just a classifier, so just do your confusion matrix.\n\nWhat is the false positive rate on this classifier? What is the true positive rate? How can we continuously improve that part of the system? And that's one fuzzy drift detection mechanism, Steve, right? If your filter rate all of a sudden pops from 5% to 10%, or whatever it is, probably something has changed. So those kinds of principles absolutely apply.\n\n**MATT SIEGLER:** Thank you for calling out the character traits that we think are particularly well suited to being scrutinous of quality. It's only recently that we now have something rapidly being used in production by billions of people at scale, which is suitable for this work. Until recently, it was novelty. It didn't have outcomes that were valuable enough to bother pointing SREs at. But here we are. And I think ML is about to have its kind of golden era. But I'd like to see the transferable skills actually transfer, but we're just inventing something new, and it's ill-defined.\n\nBut we just called a second ago about what is DevOps when ML code from the brain of the organism is generating? And you're like, well, how are we going to review this stuff? And how are we going to launch this stuff? And how are we going to iterate on this stuff? And then how are we going to review its proposed propositions? And it's weird and wild and new. But I do think the same principles apply, which is alignment with the objectives of our users, having really strong values.\n\nI don't think-- that's not new at all. That's the stuff that we've been doing for 20 years, so awesome. But I think a lot of our audience is curious about how they're going to do what they're doing right now, which is keeping shopping carts working to doing what you just described. So do you have any ideas how they can even get going? They're out there doing that. They want to be doing what you're talking about, and they've got to get there from here. Thoughts?\n\n**FELIPE:** Yeah, I there's what's happening right now in the present and what I think is going to happen in the future. I was just reading this blog post from LessWrong recently, and they were talking about how improvements on everything, including AI, usually happens in step-by-step mode in somewhat, not linear, but somewhat incrementally over the time. But the perceived quality, the perceived usefulness is a step function, where suddenly becomes useful. It's because when you get to that threshold of I cannot trust my AI to write the code for me because I have to check every line of my AI agent.\n\nThat's because there is a 20% chance that it's going to use a horrible bug in one of the lines, so I have to check every line. So that's not useful. So I'm going to have to spend as much time checking as I would have spent writing the code myself. But then suddenly, if that becomes a much lower probability that a horrible bug is going to be introduced in any given line, then I'm going to maybe not check every line anymore. And it's going to become useful.\n\nSo that step happens all of a sudden, while the AI has been improving over time. And in the present, we're still in the middle of this. I think we're close to that step function, but we're still in the middle of this, where I have to check the code, right? And the problem that is happening right now is that, well, it is really easy to write a lot of code, way more code than I ever wrote my whole life.\n\nSTEVE: Yep.\n\n**FELIPE:** And that's true for all of the engineers, and it's true for people who are non-engineers, and it's true for people that never touched an IDE before. So what's happening right now in the present is we have a lot more code being produced, and still the same amount of people who are experienced as code reviewers. So what this means is that we are probably introducing a lot more bugs everywhere in all of our systems if you're not reviewing them.\n\nSo what do you do? You just hire a bunch of code reviewers? I don't think that's necessarily what should happen, right? But I do agree with that point on the blog post. I don't agree with the whole post, but I agree in that point of I think in the future we will cross the line where it becomes reliable to the point that you will not necessarily have to review all of the code.\n\nBut meanwhile, it should work like a factory, where every step of the factory, you have to have a quality control. You don't have a quality control only on the end. You do at every step that is important. And this could be code reviews. This could be monitoring. This could be automated monitoring. This could be automated monitoring on your network to see if there's a new unforeseen activity that shouldn't be there. And that might mean that a new bug was introduced or something. So I think right now at the present, we still need this type of checks that you guys were mentioning and Parker was mentioning before as well.\n\n**PARKER:** I mean it. The only thing I can say is I always love working with SREs because I think the pressure to ship fast is everywhere right now, for all the reasons Felipe just said too. It's easier than ever to just throw together a new product. Look at how quickly OpenAI built, which was it? They were like six weeks to build this massive new feature and shipped it. And with that comes an enormous amount of pressure on the teams who are actually responsible for maintaining it. And so I think, to some extent SREs' time to shine is here, both in terms of just keeping these new products up, but also managing these risks and not burying our heads in the sand until something explodes.\n\nSo I feel like there's also the question of how do you use these models as part of SRE to do your jobs better or more easily, or faster, or at more scale. I have no special knowledge about that one. But I think every single person right now is having to think through that question of how do I use these models? How much can I trust them to be a part of my core toolkit? And so I think it's a pretty exciting time to be doing this work.\n\n**MATT SIEGLER:** Wow.\n\n**FELIPE:** I also feel like we are the wrong kind of person to ask that kind of question because we're always so-- or maybe we are the right people because we're always thinking about what can possibly go wrong.\n\n**PARKER:** That's true.\n\n**FELIPE:** I think the models are doing stupid things right now. We have to fix them, and they're not reliable. But if you ask other people, they're going to say, well, have you seen what happened the last two years? The models are really reliable right now if you compare to two years ago. Yeah, OK. But there's still room for improvement.\n\n**MATT SIEGLER:** Well, great. We're just about running out of time. I'd like to ask an open-ended question we like to do with our guests at the end of the episode. What's something that concerns you about where we're going right now, big picture, either culturally within or within the industry, that we're not keeping our eyes on the ball about, that we need to really care about the value to make sure we work hard to-- but that we are using our forces to keep from doing so, that we do?\n\n**STEVE MCGHEE:** What's in the shadows? What's the scary part right now?\n\n**FELIPE:** Yeah.\n\n**[LAUGHTER]**\n\n**PARKER:** I think that the speed makes it very challenging to exercise foresight across the industry about where this is all going. And that is the thing that I think keeps me up at night is, how do we deal with the problems we have today and that have been created by things that have been shipped yesterday, while also preferably skating to where the puck is likely to be and where we can probably tell it's going to be in six months? But there are not enough hours in the day to be trying to solve the future problems and today's problems.\n\nI guess at Google and at DeepMind were spoiled in that we have research teams whose job it is to think ahead. But I think about that as an industry-wide challenge. I can imagine me doing a similar job at a company that doesn't have the kind of research bench that the labs do, trying to think about how to get ahead of these things. Whereas, when we're shipping at a slower pace, there was more opportunity to think about how do you automate things that should be automated, and how do you do more thorough checks before you launch?\n\nI also think that there's an element of education, for lack of a better word, around what risks are out there. You know there's the whole AI Twittersphere, the AI safety Twitter. If you tune in, they're talking about all kinds of things that I think it would be hard to follow for somebody who's just trying to ship a great product. There's just such a long list, depending on what kinds of models you're using, what modalities, like Agentic and not Agentic, and just the permutations of all the things that could, in theory, go wrong. There's no way to tune in and have a full sense of them.\n\nAnd so I'm curious-- maybe it's less of a concern and more of a hope-- that product people, SRE, all the engineering leadership will take time to also learn about these things, and that we'll have a better shared vocabulary for how to communicate about these things. And just as an industry realize that, yeah, we are in it together. That's one of the wonderful things about SRE and safety. It's like, we have to get this right. Sorry, that's a little bit of a rah rah.\n\n**MATT SIEGLER:** Awesome. I knew you'd be optimistic, Parker. It's wonderful.\n\n**FELIPE:** Yeah, I wanted to plus one on the pace of change, the velocity that has been happening over the last couple of years. If you think about when I joined GDM, and before that, when I was working on Bart and all this stuff, we were quite separate between the team doing today's safety, what the model is doing something stupid today, versus the team that is doing the next level safety, the next model, the frontier safety. Those were two separate teams. One is doing research long-term, the story about what's going to happen in the future. The other is what we have to do right now to fix the stupid model that is doing something stupid today.\n\nAnd I feel like today, since two years ago, has changed so much that right now, the two teams are working together because we are right there, very, very close to each other. And this is what actually worries me is that the pace of the evolution was so fast that the long-term research that we had to do, now, we don't have enough time to do long-term research because we have to do that long-term research for the model is going to come up in six months. So you don't have two years to do research. You have a few months only. And by the time that that model comes out, you have to be ready. You have to deploy all the ideas that you had.\n\nSo that's why we are now living in a world where engineering, deployment, and research is happening at the same time. And if we don't help each other-- I'm not a researcher from my background, but I have to do research together with the researchers because I have to deploy things that are needed right now.\n\n**MATT SIEGLER:** This has been great. Wow. Thank you so much. Really appreciate you giving your time today. It's been a wonderful episode. Thanks, Steve. Thank you, Felipe, Parker.\n\n**PARKER:** Thank you, guys.\n\n**MATT SIEGLER:** Have a good one.\n\n**PARKER:** Great to talk.\n\n**FELIPE:** Thank you.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**(ELECTRONIC VOICE)** You missed a page from] Telebot.", "znaku_textu": 36662, "slov": 6720, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:06", "sha256": "9a24844b1a2aba560547ed4d2c0cb1292cfef085f960a9f4f6c8083e0194d8a2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-07", "titulek": "The One with Carla Geisser and Crisis Engineering", "h1": "The One with Carla Geisser and Crisis Engineering", "popis": "Join us for a discussion with Carla Geisser of Layer Aleph, a company focused on ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Carla Geisser and Crisis Engineering"}], "markdown": "# The One with Carla Geisser and Crisis Engineering\n\nJoin us for a discussion with Carla Geisser of Layer Aleph, a company focused on \"crisis engineering\". Carla distinguishes a crisis from a standard incident by noting that a crisis is novel and lacks a playbook. She outlines five criteria for a true crisis: fundamental surprise, broken critical functions, high visibility, a rigid deadline (unlike internal tech deadlines), and perception breakdown. Crises often arise in organizations that struggle to admit computers control core decisions, leading to complex, glued-together systems. Carla emphasizes that SRE-adjacent skills are essential for connecting the dots and exposing the full system. The key takeaway for SREs is to recognize when a true crisis is happening, as leadership will only be willing to \"break rules\" and enable substantive change once three of these criteria are met.\n\n**[THEME MUSIC]**\n\n**SPEAKER 1:** Welcome to season five of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from New technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**SPEAKER 2:** You missed a page from Telebot.\n\n**STEVE MCGHEE:** Welcome back, everyone, to the Prodcast. This is Google's podcast and I guess video thing, videocast, about SRE and production engineering. And we're live in New York, even. Amazing.\n\n**FLORIAN RATHGEBER:** For the first time, we're recording in person.\n\n**STEVE MCGHEE:** That's right. It's pretty cool. I'm Steve. I've been here a bunch. Florian you know as well. Florian's been here a bunch. We have a new friend. Who are you, new friend?\n\n**CARLA GEISSER:** My name is Carla Geisser. I worked at Google as a site reliability engineer from 2004 until 2015-ish, mostly on storage systems. There's a quote from me in the SRE book. And now I run a company that does what we are calling crisis engineering. The company is called Layer Aleph.\n\n**STEVE MCGHEE:** Cool. What is a crisis and how do you engineer it? What's going on with that?\n\n**CARLA GEISSER:** So we made up this term because we needed a thing to call what we had done for our careers, including at Google, which was enter a situation full of ambiguity, full of circumstances that were surprising to people, and perhaps information that was noisy and use a combination of management type skills and software engineering and systems engineering skills to find a way out of the maze. And we needed a word for that, because that took me 30 seconds to say. And so we described it as crisis engineering.\n\n**FLORIAN RATHGEBER:** That's interesting, because what you just said to me somehow also seems to apply to a regular, quote unquote, incident. So what makes a crisis then different from an incident as an SRE might know it?\n\n**CARLA GEISSER:** The place that I draw the boundary is that an incident is a thing where there is probably some set of instructions you can pull off the shelf that is maybe a similar thing that has happened before, or even a full on playbook, because it happens often enough. And you can turn to page 37 in the manual and say, now I'm going to follow these steps, obviously with modifications, because it's not going to be quite the same.\n\nBut there is a playbook that exists typically for a thing that is an incident but not yet a crisis. **FLORIAN RATHGEBER:** Cool. So an incident is something you either have a playbook or you could reasonably have a playbook. And for a crisis, you couldn't.\n\n**CARLA GEISSER:** Yes. And we have a taxonomy for the elements that we think are necessary to be in a situation that is a crisis. There are five of them. The first one is fundamental surprise, which is, this is a thing that is a novel experience for everyone, and it has to be truly novel. So the place that this term kind of gets used most is actually in science fiction writing, because it's a great setup for a science fiction novel. Your cat wakes you up one morning, that part's normal, and tells you that the Earth is about to be invaded and invites you onto their spaceship to evacuate.\n\n**STEVE MCGHEE:** That's novel.\n\n**CARLA GEISSER:** That is fundamental surprise.\n\n**STEVE MCGHEE:** Got it.\n\n**CARLA GEISSER:** So fundamental surprises, one. Broken critical functions is another one. That one's the one we typically have in any crisis and in most incidents. Something that is core to your business is not happening right now. That one's easy. The other one is high visibility. So people are watching the outcome of this thing. And that can be either an internal thing or an external thing, particularly inside a large organization.\n\nThe thing you might start to experience is that every meeting becomes about this incident, even if it originally was not meant to be about this incident. If the news media is involved, obviously that is definite high visibility. So that is another criteria. A rigid deadline, like a real, actual deadline. Holiday shopping season, streaming for the Super Bowl, launching a satellite. Those are real deadlines. Internal tech company deadlines don't count.\n\n**STEVE MCGHEE:** They don't count. OK, good to know.\n\n**CARLA GEISSER:** Yeah, those are fake and made up, and they move all the time, as we know. So rigid timeline. And then the final one is hard to talk about. It's what we call perception breakdown or a failure of sense making. This is when the people are unable to produce a useful picture of what is going on, because either the information they're getting is late, or it's noisy, or it's overwhelming, or different parts of the organization are seeing different things happening. The simplest version is it works on my machine. That's the beginning of perception breakdown. And then we go from there.\n\n**FLORIAN RATHGEBER:** It feels a bit like headless chicken syndrome.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** Yeah, and it feels fundamental surprise. And the last one seemed quite related as well. In an organization who maybe thinks they understand production but actually doesn't. Is that a common thing that you've seen?\n\n**CARLA GEISSER:** Yes. In particular in-- we increasingly like to say that the core of modern civilization now has computers in it, whether we like it or not, but a lot of organizations have not yet admitted that to themselves. And so you get a lot of organizations, especially in government, where they're processing health care benefits or unemployment claims, and they haven't yet gotten to the place where they understand that the computer is actually controlling all the decisions. They still think there is a policy working group that can control what is happening. And it can, but first, you have to tell the computer what the policy working group decided.\n\n**FLORIAN RATHGEBER:** Is it a matter of them not admitting to themselves, or could they actually be genuinely unaware?\n\n**CARLA GEISSER:** It's often a little of both.\n\n**STEVE MCGHEE:** I know that we've seen this-- so we work in more of the cloud space, less of the government space, of course, but a thing that we see a lot is the people in charge are the people who used to be doing the job. And so often, they'll assume that the system is clearly just the same as it used to be, only bigger or something, whereas fundamentally it's far more complex or something fundamentally is different about it. And so they'll attack the problem as if it's the old one. But in reality, it's something totally different. Is that a similar kind of vibe?\n\n**CARLA GEISSER:** Yes, and one of the kinds of perception breakdown you see is information that is out of date or stale, and that is a version of that where the people who think they have their hands on the controls are holding the controller from five iterations ago. And so it's not actually connected to anything that drives anymore.\n\n**STEVE MCGHEE:** Yeah. The example that we use a lot is if you have a modern distributed system, but you're thinking about sort of a static stack of things, your responses to failure are very different. And also your demands of your expectations of this thing can't be expected to fail versus a distributed system, which is like, it's made to fail. It's OK to fail. That's the whole point of it. You're just looking through the wrong lens entirely. So that seems really common.\n\n**CARLA GEISSER:** Yeah, a version of that that we see a lot in our work with government is what volume of data is considered too hard for a computer to deal with? And people often have a extremely low estimate of that, because they're used to what will fit on a spreadsheet on their laptop, when in fact, reprocessing 10 million unemployment records might actually be very possible for the mainframe. You can just do that, but it's not inside people's belief of a way you could deal with the system.\n\n**FLORIAN RATHGEBER:** Back in the olden days, when the term big data was sort of becoming popular, I seem to remember there was this story of the three V's, wasn't it? Volume, velocity, voracity, something like that. Does that ring a bell?\n\n**CARLA GEISSER:** It sounds like a real thing. I'll believe you.\n\n**STEVE MCGHEE:** So let's back up a little bit. So this all came out of experiences that you all have had. So this is Layer Aleph. Did I say that right? And that came out of your work with what? Take it from there. Where did this come from?\n\n**CARLA GEISSER:** So it came from our work initially on the healthcare.gov crisis, which at this point probably nobody remembers.\n\n**STEVE MCGHEE:** I remember.\n\n**CARLA GEISSER:** You remember it. When the federal government launched a website to allow people to sign up for health care, and it did not work. And then Mikey built a team to help resolve that, which was a combination of managing contractors and then also debugging this hilariously complex distributed system.\n\n**STEVE MCGHEE:** And there are videos of talks that came later which describe that whole thing. So we can link to those so people can review that, because it's part of the record. It's a good part of the story for sure.\n\n**FLORIAN RATHGEBER:** Yeah, and even as a non-US citizen, I have memories of that. Or I have a-- yeah, I have heard of this.\n\n**STEVE MCGHEE:** The best part of that, I recall, is the monitoring system was CNN. I think that kind of tells the story of the first day. I think that was--\n\n**FLORIAN RATHGEBER:** Enough said.\n\n**STEVE MCGHEE:** Enough said. Yeah. So then what? Clearly time has passed since then.\n\n**CARLA GEISSER:** Yes, time has passed. After that, we did a series of similar projects inside the federal government and then also with various state governments. And somewhere along the way, we formed this company, which I think is about seven years old now. And we now sell this sort of technical crisis management incident response thing to anyone who wants to use it, which typically is often state governments.\n\nIt's sometimes private companies who are encountering what we would call a planned crisis. The version of this that we did that I had a lot of fun on was a company, a very small startup that was about to be acquired, and they needed their systems to not fall over during the finalization of that acquisition contract. But they knew that there would be a big PR around it, and they knew that--\n\n**STEVE MCGHEE:** The date. That's the number three, I think.\n\n**CARLA GEISSER:** Exactly. There was a date and there was a clear consequence.\n\n**FLORIAN RATHGEBER:** Heightened scrutiny.\n\n**CARLA GEISSER:** Heightened scrutiny.\n\n**FLORIAN RATHGEBER:** Attention.\n\n**STEVE MCGHEE:** Visibility.\n\n**FLORIAN RATHGEBER:** High visibility.\n\n**CARLA GEISSER:** Yes, definitely high visibility. And because they had been operating on a very small budget for a very long time, the set of people who actually knew how the systems worked was very small. And so there wasn't really anyone who knew whether it could scale, how it could scale, whether it would survive this upcoming increase in attention. And so we worked on that with them.\n\n**STEVE MCGHEE:** Maybe this is a silly question, but are the things that you end up fixing always technical or never technical? I know the three of the four of you in the company, I've met at least three of you, and you're all former SREs. I don't know if the fourth one maybe also is too. But is it an SRE thing by nature, or is this just a coincidence that you're here?\n\n**CARLA GEISSER:** I think the part of it that is SRE by nature is the ability to look at a very big system and start to connect the dots with no information. And the system includes the people often. So a lot of the work we do is--\n\n**FLORIAN RATHGEBER:** Does it ever not?\n\n**CARLA GEISSER:** It almost always includes--\n\n**STEVE MCGHEE:** That was a leading question. Of course it includes--\n\n**CARLA GEISSER:** It always includes the people. So a lot of the work we end up doing is technical, in that we are helping with visibility of the technical systems that exist. So things like building database queries that tell you actually how fast is data flowing through the system, and where are particular kinds of records getting stuck in this pipeline, which is often something-- there's a breakdown of perception.\n\nDifferent people in an organization will look at a complicated process, like applying for unemployment benefits, and they'll say, well, clearly it's the people over there who are blocking all the applications. And you can just look in the database and see where stuff is getting stuck, but nobody has.\n\n**STEVE MCGHEE:** So having the technical capabilities helps you uncover some of these problems, which may not even be technical to begin with, at least. And then maybe it's a coupling of other things down there as well.\n\n**CARLA GEISSER:** So yeah, a lot of the technical work we do is about exposing the full system to the people who can then make better decisions, I would say.\n\n**STEVE MCGHEE:** Right. It's all just software, as we like to say.\n\n**CARLA GEISSER:** Yes, it's all just software.\n\n**STEVE MCGHEE:** That's all it is. Come on. It's not that hard.\n\n**FLORIAN RATHGEBER:** And presumably, this may be the first time that these people see that system end to end through this lens.\n\n**CARLA GEISSER:** Almost always. That is actually the value we are providing as part of the thing we call crisis engineering is building them a very clear map of what is going on right now from the beginning to the end of whatever their process is.\n\n**STEVE MCGHEE:** I like to say that when I left Google, I left Google and came back at a point, and that was when I left Google was-- well, I worked basically from university to Google to somewhere else and then back again. And during that somewhere else is where I learned the phrase stay in your lane. I had never heard that before. And my response was, please do not tell an SRE to stay in their lane. This doesn't work in our brains. This sounds kind of similar to that kind of concept.\n\n**FLORIAN RATHGEBER:** SREs are looking left and right.\n\n**STEVE MCGHEE:** Yeah, exactly. Yeah. Instead, yeah, we're actually encouraged to look in other lanes.\n\n**CARLA GEISSER:** Yes. And I think that is a unique skill, especially in larger companies and larger organizations. And so that is a huge thing that we bring into the problem space. Plus the technical ability to look at a computer system and either say this is good or this is a problem.\n\n**STEVE MCGHEE:** Gotcha.\n\n**CARLA GEISSER:** Which a lot of the decision makers won't have that instantaneous reflex to be like, oh, this thing is actually fine, even though everyone's whining. They're whining for good reasons, but it's perfectly good computers in there. Versus this thing is a liability, and we need to fix it in order to take the next step.\n\n**STEVE MCGHEE:** Gotcha. Are there cases along the way that you can talk about more, like examples of things where you saw this isn't just a one off? This is a pattern that keeps happening.\n\n**CARLA GEISSER:** I would say the pattern in government, and to some degree in large corporations, is everyone really, really wants to blame the oldest computer system they have for all of their problems, and they are frequently in the middle of some decade-long transition away from that thing, which is often a mainframe. And our attitude is the mainframe is actually fine.\n\nAnd what instead they have built is a stack of complexity where about every five years, they take whatever is the hot new technology, build a few new things in that, and then get distracted and never complete that migration. So now they have basically one of each kind of technology that has ever been popular over the last 20 years.\n\n**STEVE MCGHEE:** Wow.\n\n**CARLA GEISSER:** And that happens all the time.\n\n**FLORIAN RATHGEBER:** Is it also that they keep building? They don't want to change that old system, and they keep building stuff around it to deal with the quirks of the old system? Because I had that exact experience at a previous job.\n\n**CARLA GEISSER:** It's a little of-- usually the place they have started is they have a grand modernization scheme where they are definitely going to replace the old thing. And so then they start with maybe a little piece, if you're lucky, or sometimes they start with the grand modernisation plan and get about 60% of the way through. And then you just have a hodgepodge of stuff that's glued onto the side. And you still have the original system, and now you have this other stuff. And we do it again and again and again.\n\nAnd so drilling through that complexity, I think, is also a skill that tends to coincide with people who describe themselves as SREs. We don't care what kind of computer is in there, as long as we can follow a chain of events. Anyone can run tcpdump. Anyone can look at a log file. It doesn't matter who created the log file. It's all just computers.\n\n**FLORIAN RATHGEBER:** As long as we can reason about the system and we can understand it, then we don't care what the system is.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** So the type of people who watch or listen or whatever to this thing, this podcast video thingy that we do, tend to be SREs who don't work at Google or SRE-adjacent folk. So what should they do with these ideas? Is it once they go to work for some large federal government that needs trouble, or is it more applicable than that?\n\n**CARLA GEISSER:** I think the most useful part of these ideas for anybody who's just coming to work and doing their job is figuring out if a crisis is actually happening. Because if a crisis is happening, you can do interesting and novel things, because leadership is going to be willing to do-- they're going to be willing to break rules. They're going to be willing to move faster. They're going to be willing to approve exceptions if you're in a real crisis using those criteria I described earlier. If you're not in a real crisis.\n\n**FLORIAN RATHGEBER:** Yes, that's the one.\n\n**CARLA GEISSER:** You just have to do your job like a normal person. And you can be mad at everything that's going on that is definitely going to be a crisis someday. But nothing special is going to happen until you hit that tipping point. And so I think that is the both useful and also pragmatic and depressing advice we give to a lot of people where they can see the sky about to fall and they're like, if we just get everybody to care about it, we can prevent the sky from falling. And you can't.\n\n**STEVE MCGHEE:** So this is the don't-waste-your-time advice.\n\n**CARLA GEISSER:** This is the don't-waste-your-time advice. You can absolutely take notes and start to learn how the system works and build up your allies who will help you when the crisis actually happens. But until you hit three of those five criteria, nobody's behavior is going to change.\n\n**STEVE MCGHEE:** Got it.\n\n**FLORIAN RATHGEBER:** Right. So you mentioned hitting that tipping point. Who actually decides when it starts being a crisis? And who declares? Is there someone that declares the crisis?\n\n**STEVE MCGHEE:** Is there a crisis commander?\n\n**FLORIAN RATHGEBER:** Yeah, exactly. Or is it just everyone instantly knows it's a crisis? How do you decide?\n\n**CARLA GEISSER:** I mean, the way we decide is, because we are external consultants, is somebody has decided to pay the four of us to come help them. And that is enough of a signal.\n\n**FLORIAN RATHGEBER:** Straightforward criteria.\n\n**CARLA GEISSER:** Well, it's interesting, because we often have to talk to clients about this, about their willingness to do that and what it will entail once we start working with them. So that's our signal. Within an organization, there has to be someone who is, frankly, scared enough to be willing to break rules. And so you can nudge them using the information you have. But ultimately, someone who has the levers on power needs to be willing to do something new.\n\n**FLORIAN RATHGEBER:** So once you are engaged, by definition, it's already in a crisis state?\n\n**CARLA GEISSER:** Or close enough that people are willing to do something new and interesting.\n\n**STEVE MCGHEE:** I presume that you learned these rules by when it didn't work. You got engaged and you're like, it's not moving, or like we keep getting frozen out or whatever.\n\n**CARLA GEISSER:** Exactly. Yeah, we kind of back computed the crisis criteria from the experience of places where someone said, this is really important, we definitely need to do something. And we were like, OK, we will definitely help you do something. And then nothing changed.\n\n**STEVE MCGHEE:** So this is a good way to determine if it's worth continuing or not kind of thing. But we're not trying to encourage people for, oh, if you have two out of three, just cause the third or the fourth one to necessarily.\n\n**CARLA GEISSER:** I personally do not like that approach. I consider it to be kind of a dark art.\n\n**STEVE MCGHEE:** Yeah, OK, fair.\n\n**CARLA GEISSER:** I suspect you all and many people listening to this have worked for leadership who is willing to create a crisis for their own ends. A version that I have seen actually be successful is we're moving everything to the cloud. We have ended our contract with our data center provider two years from now.\n\n**STEVE MCGHEE:** You just made a hard deadline.\n\n**CARLA GEISSER:** Congratulations. You have a hard deadline.\n\n**STEVE MCGHEE:** We made one. Great.\n\n**CARLA GEISSER:** And sure, you could extend that contract, but it's going to cost four times as much. I don't know if that works, but it's definitely a thing that people try to do to get their migrations to go faster.\n\n**STEVE MCGHEE:** Motivation.\n\n**CARLA GEISSER:** Right.\n\n**STEVE MCGHEE:** OK, well, this is really good. I think this also calls in the phrase never waste a good crisis. Similar kind of thing.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** I hope you put that on all your literature as you go forward. I'm sure I'm not the first person to suggest that.\n\n**CARLA GEISSER:** No. I mean, a upside down version of the way we think about this is, great, you shouldn't waste a good crisis. So in that moment, what exactly are you doing? And that's the rest of the story, which we are not talking about right in this moment. But maybe Mikey can fill you in on part two.\n\n**STEVE MCGHEE:** It sounds pretty good.\n\n**FLORIAN RATHGEBER:** It's also a bit like when you transition from somebody should do something, we must do something right now.\n\n**CARLA GEISSER:** Yes.\n\n**FLORIAN RATHGEBER:** Kind of moment.\n\n**CARLA GEISSER:** And usually the we must do something right now, because of that taxonomy I described, is everybody gets that feeling at roughly the same time, because it becomes impossible to ignore.\n\n**FLORIAN RATHGEBER:** So I found the example interesting that you mentioned with we have this migration to the cloud and then we cancel the contract with our DC provider. Are you saying that this is basically, at this point, it becomes a manufactured crisis?\n\n**CARLA GEISSER:** I mean, it is a management technique that senior leaders definitely try to get the migration to move faster, and it can become a manufactured crisis. I think the risk there is that everybody saw you do it. And so it might work once and then it burns any trust with the people in leadership after that.\n\n**STEVE MCGHEE:** But people will do that for other reasons as well, which spins off this thing which we now have a word for, which it is a crisis due to the fact that it was already visible. Now there's this deadline, blah, blah, blah. That totally makes sense. I think we're almost at time.\n\nThank you very much, Carla, for coming all the way over here from part of New York to another part of New York. It was fun. We had trouble finding this studio in a maze full of elevators. So if you're ever in New York, there are so many elevators in this town. I cannot believe it. It's pretty amazing. Is there any extra things you want to say to the world, the audience, about what to focus on or how to follow you on Strava or anything weird like that?\n\n**CARLA GEISSER:** I guess just one final thought for this crisis thing is, there's a bunch of crises that are going to happen that you can predict, and you should just assume that you will have a brief suspension of the rules of engagement during that moment. So organizations that do the holiday shopping season, which they might be starting to prepare for now.\n\n**FLORIAN RATHGEBER:** They better do.\n\n**CARLA GEISSER:** They better do it right now. That is all of the circumstances of crisis. And you know they're going to happen.\n\n**STEVE MCGHEE:** Every year.\n\n**FLORIAN RATHGEBER:** Yes, exactly.\n\n**CARLA GEISSER:** And frequently, your leadership will write you a ticket in advance that says, you are allowed to enforce and break the following rules in order to hit this special time of the year. So I think that is a useful thing to rely on. When we say crisis, people get kind of spun up that it's definitely surprising or it's definitely big and newsworthy, and sometimes it's just an alignment of circumstances that you know is going to happen. But you should use that alignment of circumstances.\n\n**FLORIAN RATHGEBER:** Does it then actually fit the novelty criteria?\n\n**CARLA GEISSER:** Doesn't have to. You only need most of them, not all of them.\n\n**FLORIAN RATHGEBER:** Yeah, that makes sense.\n\n**CARLA GEISSER:** It's definitely not novel, but it's high visibility, definitely deadline, and probably going to cause a breakdown in understanding of how your system works. Pretty likely. And risk of broken core functions also always there. So you got most of them.\n\n**STEVE MCGHEE:** I have a random question, and then we can finally close. I already said goodbye. Do you think there are well-functioning companies that just don't have crises on the regular? Or is this a pervasive thing? Does everyone come across this? They just already have this capability in-house potentially without calling it what they're calling it.\n\n**FLORIAN RATHGEBER:** So I guess could there be a company that cannot hit enough of the criteria? Is that what you're saying?\n\n**STEVE MCGHEE:** Or they just regularly handle it.\n\n**CARLA GEISSER:** I think my take, and you'll have to ask Mikey, is that this is actually part of the cycle of change inside of an organization. You have to go through these moments periodically for anything substantive to change.\n\n**STEVE MCGHEE:** So if you're not having crises, maybe you're not something.\n\n**CARLA GEISSER:** Yes. I think, basically, the big stuff requires this set of circumstances and a set of brief suspension of normal behavior in order to then get to a new place.\n\n**STEVE MCGHEE:** Gotcha.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** All right. Thank you very much. Yeah. The end.\n\n**FLORIAN RATHGEBER:** Thanks, everyone.\n\n**CARLA GEISSER:** Nice talking to you.\n\n**STEVE MCGHEE:** You, too.\n\n**SPEAKER 1:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER 2:** You missed a page from Telebot.", "znaku_textu": 28087, "slov": 4959, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:00", "sha256": "ee0d11b31a78c29a47e5b565fb49e77100940a06e2e7cf1ca2bf8fabf65866cd", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-07/", "titulek": "The One with Carla Geisser and Crisis Engineering", "h1": "The One with Carla Geisser and Crisis Engineering", "popis": "Join us for a discussion with Carla Geisser of Layer Aleph, a company focused on ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One with Carla Geisser and Crisis Engineering"}], "markdown": "# The One with Carla Geisser and Crisis Engineering\n\nJoin us for a discussion with Carla Geisser of Layer Aleph, a company focused on \"crisis engineering\". Carla distinguishes a crisis from a standard incident by noting that a crisis is novel and lacks a playbook. She outlines five criteria for a true crisis: fundamental surprise, broken critical functions, high visibility, a rigid deadline (unlike internal tech deadlines), and perception breakdown. Crises often arise in organizations that struggle to admit computers control core decisions, leading to complex, glued-together systems. Carla emphasizes that SRE-adjacent skills are essential for connecting the dots and exposing the full system. The key takeaway for SREs is to recognize when a true crisis is happening, as leadership will only be willing to \"break rules\" and enable substantive change once three of these criteria are met.\n\n**[THEME MUSIC]**\n\n**SPEAKER 1:** Welcome to season five of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from New technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**SPEAKER 2:** You missed a page from Telebot.\n\n**STEVE MCGHEE:** Welcome back, everyone, to the Prodcast. This is Google's podcast and I guess video thing, videocast, about SRE and production engineering. And we're live in New York, even. Amazing.\n\n**FLORIAN RATHGEBER:** For the first time, we're recording in person.\n\n**STEVE MCGHEE:** That's right. It's pretty cool. I'm Steve. I've been here a bunch. Florian you know as well. Florian's been here a bunch. We have a new friend. Who are you, new friend?\n\n**CARLA GEISSER:** My name is Carla Geisser. I worked at Google as a site reliability engineer from 2004 until 2015-ish, mostly on storage systems. There's a quote from me in the SRE book. And now I run a company that does what we are calling crisis engineering. The company is called Layer Aleph.\n\n**STEVE MCGHEE:** Cool. What is a crisis and how do you engineer it? What's going on with that?\n\n**CARLA GEISSER:** So we made up this term because we needed a thing to call what we had done for our careers, including at Google, which was enter a situation full of ambiguity, full of circumstances that were surprising to people, and perhaps information that was noisy and use a combination of management type skills and software engineering and systems engineering skills to find a way out of the maze. And we needed a word for that, because that took me 30 seconds to say. And so we described it as crisis engineering.\n\n**FLORIAN RATHGEBER:** That's interesting, because what you just said to me somehow also seems to apply to a regular, quote unquote, incident. So what makes a crisis then different from an incident as an SRE might know it?\n\n**CARLA GEISSER:** The place that I draw the boundary is that an incident is a thing where there is probably some set of instructions you can pull off the shelf that is maybe a similar thing that has happened before, or even a full on playbook, because it happens often enough. And you can turn to page 37 in the manual and say, now I'm going to follow these steps, obviously with modifications, because it's not going to be quite the same.\n\nBut there is a playbook that exists typically for a thing that is an incident but not yet a crisis. **FLORIAN RATHGEBER:** Cool. So an incident is something you either have a playbook or you could reasonably have a playbook. And for a crisis, you couldn't.\n\n**CARLA GEISSER:** Yes. And we have a taxonomy for the elements that we think are necessary to be in a situation that is a crisis. There are five of them. The first one is fundamental surprise, which is, this is a thing that is a novel experience for everyone, and it has to be truly novel. So the place that this term kind of gets used most is actually in science fiction writing, because it's a great setup for a science fiction novel. Your cat wakes you up one morning, that part's normal, and tells you that the Earth is about to be invaded and invites you onto their spaceship to evacuate.\n\n**STEVE MCGHEE:** That's novel.\n\n**CARLA GEISSER:** That is fundamental surprise.\n\n**STEVE MCGHEE:** Got it.\n\n**CARLA GEISSER:** So fundamental surprises, one. Broken critical functions is another one. That one's the one we typically have in any crisis and in most incidents. Something that is core to your business is not happening right now. That one's easy. The other one is high visibility. So people are watching the outcome of this thing. And that can be either an internal thing or an external thing, particularly inside a large organization.\n\nThe thing you might start to experience is that every meeting becomes about this incident, even if it originally was not meant to be about this incident. If the news media is involved, obviously that is definite high visibility. So that is another criteria. A rigid deadline, like a real, actual deadline. Holiday shopping season, streaming for the Super Bowl, launching a satellite. Those are real deadlines. Internal tech company deadlines don't count.\n\n**STEVE MCGHEE:** They don't count. OK, good to know.\n\n**CARLA GEISSER:** Yeah, those are fake and made up, and they move all the time, as we know. So rigid timeline. And then the final one is hard to talk about. It's what we call perception breakdown or a failure of sense making. This is when the people are unable to produce a useful picture of what is going on, because either the information they're getting is late, or it's noisy, or it's overwhelming, or different parts of the organization are seeing different things happening. The simplest version is it works on my machine. That's the beginning of perception breakdown. And then we go from there.\n\n**FLORIAN RATHGEBER:** It feels a bit like headless chicken syndrome.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** Yeah, and it feels fundamental surprise. And the last one seemed quite related as well. In an organization who maybe thinks they understand production but actually doesn't. Is that a common thing that you've seen?\n\n**CARLA GEISSER:** Yes. In particular in-- we increasingly like to say that the core of modern civilization now has computers in it, whether we like it or not, but a lot of organizations have not yet admitted that to themselves. And so you get a lot of organizations, especially in government, where they're processing health care benefits or unemployment claims, and they haven't yet gotten to the place where they understand that the computer is actually controlling all the decisions. They still think there is a policy working group that can control what is happening. And it can, but first, you have to tell the computer what the policy working group decided.\n\n**FLORIAN RATHGEBER:** Is it a matter of them not admitting to themselves, or could they actually be genuinely unaware?\n\n**CARLA GEISSER:** It's often a little of both.\n\n**STEVE MCGHEE:** I know that we've seen this-- so we work in more of the cloud space, less of the government space, of course, but a thing that we see a lot is the people in charge are the people who used to be doing the job. And so often, they'll assume that the system is clearly just the same as it used to be, only bigger or something, whereas fundamentally it's far more complex or something fundamentally is different about it. And so they'll attack the problem as if it's the old one. But in reality, it's something totally different. Is that a similar kind of vibe?\n\n**CARLA GEISSER:** Yes, and one of the kinds of perception breakdown you see is information that is out of date or stale, and that is a version of that where the people who think they have their hands on the controls are holding the controller from five iterations ago. And so it's not actually connected to anything that drives anymore.\n\n**STEVE MCGHEE:** Yeah. The example that we use a lot is if you have a modern distributed system, but you're thinking about sort of a static stack of things, your responses to failure are very different. And also your demands of your expectations of this thing can't be expected to fail versus a distributed system, which is like, it's made to fail. It's OK to fail. That's the whole point of it. You're just looking through the wrong lens entirely. So that seems really common.\n\n**CARLA GEISSER:** Yeah, a version of that that we see a lot in our work with government is what volume of data is considered too hard for a computer to deal with? And people often have a extremely low estimate of that, because they're used to what will fit on a spreadsheet on their laptop, when in fact, reprocessing 10 million unemployment records might actually be very possible for the mainframe. You can just do that, but it's not inside people's belief of a way you could deal with the system.\n\n**FLORIAN RATHGEBER:** Back in the olden days, when the term big data was sort of becoming popular, I seem to remember there was this story of the three V's, wasn't it? Volume, velocity, voracity, something like that. Does that ring a bell?\n\n**CARLA GEISSER:** It sounds like a real thing. I'll believe you.\n\n**STEVE MCGHEE:** So let's back up a little bit. So this all came out of experiences that you all have had. So this is Layer Aleph. Did I say that right? And that came out of your work with what? Take it from there. Where did this come from?\n\n**CARLA GEISSER:** So it came from our work initially on the healthcare.gov crisis, which at this point probably nobody remembers.\n\n**STEVE MCGHEE:** I remember.\n\n**CARLA GEISSER:** You remember it. When the federal government launched a website to allow people to sign up for health care, and it did not work. And then Mikey built a team to help resolve that, which was a combination of managing contractors and then also debugging this hilariously complex distributed system.\n\n**STEVE MCGHEE:** And there are videos of talks that came later which describe that whole thing. So we can link to those so people can review that, because it's part of the record. It's a good part of the story for sure.\n\n**FLORIAN RATHGEBER:** Yeah, and even as a non-US citizen, I have memories of that. Or I have a-- yeah, I have heard of this.\n\n**STEVE MCGHEE:** The best part of that, I recall, is the monitoring system was CNN. I think that kind of tells the story of the first day. I think that was--\n\n**FLORIAN RATHGEBER:** Enough said.\n\n**STEVE MCGHEE:** Enough said. Yeah. So then what? Clearly time has passed since then.\n\n**CARLA GEISSER:** Yes, time has passed. After that, we did a series of similar projects inside the federal government and then also with various state governments. And somewhere along the way, we formed this company, which I think is about seven years old now. And we now sell this sort of technical crisis management incident response thing to anyone who wants to use it, which typically is often state governments.\n\nIt's sometimes private companies who are encountering what we would call a planned crisis. The version of this that we did that I had a lot of fun on was a company, a very small startup that was about to be acquired, and they needed their systems to not fall over during the finalization of that acquisition contract. But they knew that there would be a big PR around it, and they knew that--\n\n**STEVE MCGHEE:** The date. That's the number three, I think.\n\n**CARLA GEISSER:** Exactly. There was a date and there was a clear consequence.\n\n**FLORIAN RATHGEBER:** Heightened scrutiny.\n\n**CARLA GEISSER:** Heightened scrutiny.\n\n**FLORIAN RATHGEBER:** Attention.\n\n**STEVE MCGHEE:** Visibility.\n\n**FLORIAN RATHGEBER:** High visibility.\n\n**CARLA GEISSER:** Yes, definitely high visibility. And because they had been operating on a very small budget for a very long time, the set of people who actually knew how the systems worked was very small. And so there wasn't really anyone who knew whether it could scale, how it could scale, whether it would survive this upcoming increase in attention. And so we worked on that with them.\n\n**STEVE MCGHEE:** Maybe this is a silly question, but are the things that you end up fixing always technical or never technical? I know the three of the four of you in the company, I've met at least three of you, and you're all former SREs. I don't know if the fourth one maybe also is too. But is it an SRE thing by nature, or is this just a coincidence that you're here?\n\n**CARLA GEISSER:** I think the part of it that is SRE by nature is the ability to look at a very big system and start to connect the dots with no information. And the system includes the people often. So a lot of the work we do is--\n\n**FLORIAN RATHGEBER:** Does it ever not?\n\n**CARLA GEISSER:** It almost always includes--\n\n**STEVE MCGHEE:** That was a leading question. Of course it includes--\n\n**CARLA GEISSER:** It always includes the people. So a lot of the work we end up doing is technical, in that we are helping with visibility of the technical systems that exist. So things like building database queries that tell you actually how fast is data flowing through the system, and where are particular kinds of records getting stuck in this pipeline, which is often something-- there's a breakdown of perception.\n\nDifferent people in an organization will look at a complicated process, like applying for unemployment benefits, and they'll say, well, clearly it's the people over there who are blocking all the applications. And you can just look in the database and see where stuff is getting stuck, but nobody has.\n\n**STEVE MCGHEE:** So having the technical capabilities helps you uncover some of these problems, which may not even be technical to begin with, at least. And then maybe it's a coupling of other things down there as well.\n\n**CARLA GEISSER:** So yeah, a lot of the technical work we do is about exposing the full system to the people who can then make better decisions, I would say.\n\n**STEVE MCGHEE:** Right. It's all just software, as we like to say.\n\n**CARLA GEISSER:** Yes, it's all just software.\n\n**STEVE MCGHEE:** That's all it is. Come on. It's not that hard.\n\n**FLORIAN RATHGEBER:** And presumably, this may be the first time that these people see that system end to end through this lens.\n\n**CARLA GEISSER:** Almost always. That is actually the value we are providing as part of the thing we call crisis engineering is building them a very clear map of what is going on right now from the beginning to the end of whatever their process is.\n\n**STEVE MCGHEE:** I like to say that when I left Google, I left Google and came back at a point, and that was when I left Google was-- well, I worked basically from university to Google to somewhere else and then back again. And during that somewhere else is where I learned the phrase stay in your lane. I had never heard that before. And my response was, please do not tell an SRE to stay in their lane. This doesn't work in our brains. This sounds kind of similar to that kind of concept.\n\n**FLORIAN RATHGEBER:** SREs are looking left and right.\n\n**STEVE MCGHEE:** Yeah, exactly. Yeah. Instead, yeah, we're actually encouraged to look in other lanes.\n\n**CARLA GEISSER:** Yes. And I think that is a unique skill, especially in larger companies and larger organizations. And so that is a huge thing that we bring into the problem space. Plus the technical ability to look at a computer system and either say this is good or this is a problem.\n\n**STEVE MCGHEE:** Gotcha.\n\n**CARLA GEISSER:** Which a lot of the decision makers won't have that instantaneous reflex to be like, oh, this thing is actually fine, even though everyone's whining. They're whining for good reasons, but it's perfectly good computers in there. Versus this thing is a liability, and we need to fix it in order to take the next step.\n\n**STEVE MCGHEE:** Gotcha. Are there cases along the way that you can talk about more, like examples of things where you saw this isn't just a one off? This is a pattern that keeps happening.\n\n**CARLA GEISSER:** I would say the pattern in government, and to some degree in large corporations, is everyone really, really wants to blame the oldest computer system they have for all of their problems, and they are frequently in the middle of some decade-long transition away from that thing, which is often a mainframe. And our attitude is the mainframe is actually fine.\n\nAnd what instead they have built is a stack of complexity where about every five years, they take whatever is the hot new technology, build a few new things in that, and then get distracted and never complete that migration. So now they have basically one of each kind of technology that has ever been popular over the last 20 years.\n\n**STEVE MCGHEE:** Wow.\n\n**CARLA GEISSER:** And that happens all the time.\n\n**FLORIAN RATHGEBER:** Is it also that they keep building? They don't want to change that old system, and they keep building stuff around it to deal with the quirks of the old system? Because I had that exact experience at a previous job.\n\n**CARLA GEISSER:** It's a little of-- usually the place they have started is they have a grand modernization scheme where they are definitely going to replace the old thing. And so then they start with maybe a little piece, if you're lucky, or sometimes they start with the grand modernisation plan and get about 60% of the way through. And then you just have a hodgepodge of stuff that's glued onto the side. And you still have the original system, and now you have this other stuff. And we do it again and again and again.\n\nAnd so drilling through that complexity, I think, is also a skill that tends to coincide with people who describe themselves as SREs. We don't care what kind of computer is in there, as long as we can follow a chain of events. Anyone can run tcpdump. Anyone can look at a log file. It doesn't matter who created the log file. It's all just computers.\n\n**FLORIAN RATHGEBER:** As long as we can reason about the system and we can understand it, then we don't care what the system is.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** So the type of people who watch or listen or whatever to this thing, this podcast video thingy that we do, tend to be SREs who don't work at Google or SRE-adjacent folk. So what should they do with these ideas? Is it once they go to work for some large federal government that needs trouble, or is it more applicable than that?\n\n**CARLA GEISSER:** I think the most useful part of these ideas for anybody who's just coming to work and doing their job is figuring out if a crisis is actually happening. Because if a crisis is happening, you can do interesting and novel things, because leadership is going to be willing to do-- they're going to be willing to break rules. They're going to be willing to move faster. They're going to be willing to approve exceptions if you're in a real crisis using those criteria I described earlier. If you're not in a real crisis.\n\n**FLORIAN RATHGEBER:** Yes, that's the one.\n\n**CARLA GEISSER:** You just have to do your job like a normal person. And you can be mad at everything that's going on that is definitely going to be a crisis someday. But nothing special is going to happen until you hit that tipping point. And so I think that is the both useful and also pragmatic and depressing advice we give to a lot of people where they can see the sky about to fall and they're like, if we just get everybody to care about it, we can prevent the sky from falling. And you can't.\n\n**STEVE MCGHEE:** So this is the don't-waste-your-time advice.\n\n**CARLA GEISSER:** This is the don't-waste-your-time advice. You can absolutely take notes and start to learn how the system works and build up your allies who will help you when the crisis actually happens. But until you hit three of those five criteria, nobody's behavior is going to change.\n\n**STEVE MCGHEE:** Got it.\n\n**FLORIAN RATHGEBER:** Right. So you mentioned hitting that tipping point. Who actually decides when it starts being a crisis? And who declares? Is there someone that declares the crisis?\n\n**STEVE MCGHEE:** Is there a crisis commander?\n\n**FLORIAN RATHGEBER:** Yeah, exactly. Or is it just everyone instantly knows it's a crisis? How do you decide?\n\n**CARLA GEISSER:** I mean, the way we decide is, because we are external consultants, is somebody has decided to pay the four of us to come help them. And that is enough of a signal.\n\n**FLORIAN RATHGEBER:** Straightforward criteria.\n\n**CARLA GEISSER:** Well, it's interesting, because we often have to talk to clients about this, about their willingness to do that and what it will entail once we start working with them. So that's our signal. Within an organization, there has to be someone who is, frankly, scared enough to be willing to break rules. And so you can nudge them using the information you have. But ultimately, someone who has the levers on power needs to be willing to do something new.\n\n**FLORIAN RATHGEBER:** So once you are engaged, by definition, it's already in a crisis state?\n\n**CARLA GEISSER:** Or close enough that people are willing to do something new and interesting.\n\n**STEVE MCGHEE:** I presume that you learned these rules by when it didn't work. You got engaged and you're like, it's not moving, or like we keep getting frozen out or whatever.\n\n**CARLA GEISSER:** Exactly. Yeah, we kind of back computed the crisis criteria from the experience of places where someone said, this is really important, we definitely need to do something. And we were like, OK, we will definitely help you do something. And then nothing changed.\n\n**STEVE MCGHEE:** So this is a good way to determine if it's worth continuing or not kind of thing. But we're not trying to encourage people for, oh, if you have two out of three, just cause the third or the fourth one to necessarily.\n\n**CARLA GEISSER:** I personally do not like that approach. I consider it to be kind of a dark art.\n\n**STEVE MCGHEE:** Yeah, OK, fair.\n\n**CARLA GEISSER:** I suspect you all and many people listening to this have worked for leadership who is willing to create a crisis for their own ends. A version that I have seen actually be successful is we're moving everything to the cloud. We have ended our contract with our data center provider two years from now.\n\n**STEVE MCGHEE:** You just made a hard deadline.\n\n**CARLA GEISSER:** Congratulations. You have a hard deadline.\n\n**STEVE MCGHEE:** We made one. Great.\n\n**CARLA GEISSER:** And sure, you could extend that contract, but it's going to cost four times as much. I don't know if that works, but it's definitely a thing that people try to do to get their migrations to go faster.\n\n**STEVE MCGHEE:** Motivation.\n\n**CARLA GEISSER:** Right.\n\n**STEVE MCGHEE:** OK, well, this is really good. I think this also calls in the phrase never waste a good crisis. Similar kind of thing.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** I hope you put that on all your literature as you go forward. I'm sure I'm not the first person to suggest that.\n\n**CARLA GEISSER:** No. I mean, a upside down version of the way we think about this is, great, you shouldn't waste a good crisis. So in that moment, what exactly are you doing? And that's the rest of the story, which we are not talking about right in this moment. But maybe Mikey can fill you in on part two.\n\n**STEVE MCGHEE:** It sounds pretty good.\n\n**FLORIAN RATHGEBER:** It's also a bit like when you transition from somebody should do something, we must do something right now.\n\n**CARLA GEISSER:** Yes.\n\n**FLORIAN RATHGEBER:** Kind of moment.\n\n**CARLA GEISSER:** And usually the we must do something right now, because of that taxonomy I described, is everybody gets that feeling at roughly the same time, because it becomes impossible to ignore.\n\n**FLORIAN RATHGEBER:** So I found the example interesting that you mentioned with we have this migration to the cloud and then we cancel the contract with our DC provider. Are you saying that this is basically, at this point, it becomes a manufactured crisis?\n\n**CARLA GEISSER:** I mean, it is a management technique that senior leaders definitely try to get the migration to move faster, and it can become a manufactured crisis. I think the risk there is that everybody saw you do it. And so it might work once and then it burns any trust with the people in leadership after that.\n\n**STEVE MCGHEE:** But people will do that for other reasons as well, which spins off this thing which we now have a word for, which it is a crisis due to the fact that it was already visible. Now there's this deadline, blah, blah, blah. That totally makes sense. I think we're almost at time.\n\nThank you very much, Carla, for coming all the way over here from part of New York to another part of New York. It was fun. We had trouble finding this studio in a maze full of elevators. So if you're ever in New York, there are so many elevators in this town. I cannot believe it. It's pretty amazing. Is there any extra things you want to say to the world, the audience, about what to focus on or how to follow you on Strava or anything weird like that?\n\n**CARLA GEISSER:** I guess just one final thought for this crisis thing is, there's a bunch of crises that are going to happen that you can predict, and you should just assume that you will have a brief suspension of the rules of engagement during that moment. So organizations that do the holiday shopping season, which they might be starting to prepare for now.\n\n**FLORIAN RATHGEBER:** They better do.\n\n**CARLA GEISSER:** They better do it right now. That is all of the circumstances of crisis. And you know they're going to happen.\n\n**STEVE MCGHEE:** Every year.\n\n**FLORIAN RATHGEBER:** Yes, exactly.\n\n**CARLA GEISSER:** And frequently, your leadership will write you a ticket in advance that says, you are allowed to enforce and break the following rules in order to hit this special time of the year. So I think that is a useful thing to rely on. When we say crisis, people get kind of spun up that it's definitely surprising or it's definitely big and newsworthy, and sometimes it's just an alignment of circumstances that you know is going to happen. But you should use that alignment of circumstances.\n\n**FLORIAN RATHGEBER:** Does it then actually fit the novelty criteria?\n\n**CARLA GEISSER:** Doesn't have to. You only need most of them, not all of them.\n\n**FLORIAN RATHGEBER:** Yeah, that makes sense.\n\n**CARLA GEISSER:** It's definitely not novel, but it's high visibility, definitely deadline, and probably going to cause a breakdown in understanding of how your system works. Pretty likely. And risk of broken core functions also always there. So you got most of them.\n\n**STEVE MCGHEE:** I have a random question, and then we can finally close. I already said goodbye. Do you think there are well-functioning companies that just don't have crises on the regular? Or is this a pervasive thing? Does everyone come across this? They just already have this capability in-house potentially without calling it what they're calling it.\n\n**FLORIAN RATHGEBER:** So I guess could there be a company that cannot hit enough of the criteria? Is that what you're saying?\n\n**STEVE MCGHEE:** Or they just regularly handle it.\n\n**CARLA GEISSER:** I think my take, and you'll have to ask Mikey, is that this is actually part of the cycle of change inside of an organization. You have to go through these moments periodically for anything substantive to change.\n\n**STEVE MCGHEE:** So if you're not having crises, maybe you're not something.\n\n**CARLA GEISSER:** Yes. I think, basically, the big stuff requires this set of circumstances and a set of brief suspension of normal behavior in order to then get to a new place.\n\n**STEVE MCGHEE:** Gotcha.\n\n**CARLA GEISSER:** Yes.\n\n**STEVE MCGHEE:** All right. Thank you very much. Yeah. The end.\n\n**FLORIAN RATHGEBER:** Thanks, everyone.\n\n**CARLA GEISSER:** Nice talking to you.\n\n**STEVE MCGHEE:** You, too.\n\n**SPEAKER 1:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER 2:** You missed a page from Telebot.", "znaku_textu": 28087, "slov": 4959, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:08", "sha256": "ee0d11b31a78c29a47e5b565fb49e77100940a06e2e7cf1ca2bf8fabf65866cd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-08", "titulek": "The One With Damion Yates and Building AI systems", "h1": "The One With Damion Yates and Building AI systems", "popis": "How do you introduce Site Reliability Engineering to an AI research lab, bringing concepts of scale to engineers who are at the leading edge of AI systems?\n\nIn the latest episode of The Prodcast, hosts Steve McGhee and Florian Rathgeber chat with Damion Yates, who helped establish the reliability engineering culture at Google DeepMind. Damion shares his journey of bringing scalable infrastructure to DeepMind, supporting massive machine learning experiments.\n\nDiscover the unique challenges of supporting AI research, such as managing highly expensive ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Damion Yates and Building AI systems"}], "markdown": "# The One With Damion Yates and Building AI systems\n\nHow do you introduce Site Reliability Engineering to an AI research lab, bringing concepts of scale to engineers who are at the leading edge of AI systems?\n\nIn the latest episode of The Prodcast, hosts Steve McGhee and Florian Rathgeber chat with Damion Yates, who helped establish the reliability engineering culture at Google DeepMind. Damion shares his journey of bringing scalable infrastructure to DeepMind, supporting massive machine learning experiments.\n\nDiscover the unique challenges of supporting AI research, such as managing highly expensive \"lockstep\" training models where a single machine failure halts the entire process. Damion also explains why he believes \"luck is our enemy\" in systems engineering, and why protecting a research scientist's time is the ultimate metric for success.\n\n**Prodcast Season 5 Episode 8**\n\nGuest: Damion Yates, Google DeepMind\n\nHosts: Florian Rathgeber, Steve McGhee\n\n[THEME MUSIC]\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE and production engineering. I am in the morning in the US. And our guests are in the evening in a different part of the world, I think. Florian, you're here. How's it going, man?\n\n**FLORIAN RATHGEBER:** Hey, everyone. Good to be back. My name is Florian. And I'm calling in from Switzerland.\n\n**STEVE MCGHEE:** Oh, man. It must be a whole different time zone over there. Is that-- is that true? Or is that just a myth?\n\n**FLORIAN RATHGEBER:** That could be true unless there is only one time zone, and we've all been lied to.\n\n**STEVE MCGHEE:** I think the Earth might be flat, but I'm not sure. And we have another guest in a whole different time zone kind of between us, yeah, pretty much between us. Dear secret guest, who are you exactly? And where in the world are you?\n\n**DAMION YATES:** So I'm Damion, Damion Yates. And I'm based in London, have been the whole time I've been working at Google. And, yes, it's pitch black outside, different time zone.\n\n**STEVE MCGHEE:** OK, cool. So you're on the round Earth part of the theory? Is that right? You don't subscribe to the flat Earth, no time zones theory that we just came up with?\n\n**DAMION YATES:** I do think that we should have just BST and everyone just sort of has a concept of going to work at 2:00 in the morning in certain countries, or 8:00 PM. It would make commuting much easier if we just had one time zone, but you just change your times.\n\n**STEVE MCGHEE:** Let's just do metric UTC. Let's just do it all.\n\n**FLORIAN RATHGEBER:** Yeah, no.\n\n**DAMION YATES:** Yeah metric and UTC. Well, no GMT, but let's point out that Greenwich is where time started.\n\n**STEVE MCGHEE:** Classic, cool, well, thanks for coming on The Prodcast. This is going to be a fun one. Actually, Damion and I worked together a long time ago. And by a long time ago, I mean, at least some unnamed number of years ago in the London office. So it's nice to see you again. What are you doing now, man? What group are you--\n\n**DAMION YATES:** I think it's 19 years.\n\n**STEVE MCGHEE:** Listen, we don't need to count numbers. This is unnecessary. But where are you now? Tell us which part of the company you're in now. What is it that you're doing?\n\n**DAMION YATES:** So I'm in what is now known as Google DeepMind. I moved into DeepMind, it'll be 10 years in a month or so from a department aligned with where you were. And in the last 2 and 1/2, 3 years after merging with a different part of a Google Brain, Google DeepMind was formed. And I've been there since.\n\n**STEVE MCGHEE:** So when you joined, it was just called DeepMind. And I think was it a separate company but under Alphabet or something like this? Is that how it went? Or does it matter? Maybe it doesn't matter.\n\n**DAMION YATES:** That's complicated and spicy.\n\n**STEVE MCGHEE:** Fair.\n\n**DAMION YATES:** Let's just say not really, but we looked at becoming quite a separate bet, and then we didn't. And now we're definitely just a bit of Google, but we're a different unit. And I don't think it's interesting, but we're not classified separately.\n\n**STEVE MCGHEE:** Gotcha. Certainly not now, now we're all happy, friendly family.\n\n**STEVE MCGHEE:** One really important question, have you played chess with Demis yet?\n\n**DAMION YATES:** I have not played chess with Demis. I know the rules. I know how the horse and castle move. But one of my team did win the chess championship recently at an off-site. Because Demis was off doing multiplayer, when you play lots and lots of people at the same time? So there were people doing that. And he took the opportunity to do a competition and won. I'm really proud of him.\n\n**STEVE MCGHEE:** That's excellent. Very cool. From what I remember, when you started, there was not a lot of SRE going on in DeepMind. In fact, I think you would say it was almost more of a laboratory than a production-- there was no Gmail-sized service that you needed to support or anything like that. Is that right?\n\n**DAMION YATES:** Yes, it is quite an interesting beginning. So DeepMind were acquired, I think it's 12 years ago. They formed two years prior to that. And they did have some ex-Googlers, some of whom were in the SRE org inside Google, join the team. But they were typically working on various bits of infrastructure related to whatever training or machine learning research that was taking place.\n\nSo there was no coordinated reliability engineering model for the company. And I was brought in initially into a team called the systems team, who ran a data center external to the Google ones for some of the legacy DeepMind research that had taken place before acquisition.\n\nAnd that team had been there from the start and looked after their own accelerators in a data center, lots of machines. But they weren't familiar with the Google way of doing things and hired me into that team. And so there was a lot of use of the Google infra, but there was nobody coordinating and looking at any reliability engineering side of things, or best practice, or any concept of resilience.\n\nIt was, for example, whenever a new resource came along, or if you had an entire other data center available to you in the Google infra, rather than build some sort of resilience between your experiments across one and the other, they just doubled all their capacity and did more experimentation. So it was just more and more points of failure.\n\nSo the beginning was entertaining. And I essentially set up the idea of a reliability engineering team in an org that didn't have any public services, didn't serve to the public, and an outage there would mean, we would-- Demis told us AGI was 10 years out. And if we were down for an hour, then it was 10 years plus an hour.\n\nSo it didn't seem that critical. But there were keen researchers, their entire day job was to run experiments and do this. And nobody could work if there were situations that caused that. So it was quite immediately obvious that this was a valid thing to exist. And I think it took both me and DeepMind a bit of a surprise, like, I can't believe we didn't do this before. And so things grew from there. I got a whole team and churned forward, building a sort of an infra behind providing increased reliability to experimentation.\n\n**STEVE MCGHEE:** That's cool.\n\n**FLORIAN RATHGEBER:** So effectively, your initial job was introducing reliability concepts at a research org, as you said. So compared to how you did things before, what were the changes? Or how did you need to change your approach, I suppose?\n\n**DAMION YATES:** So what I will first say is I wasn't brought in exactly to do that. I determined that was the best way forward. It was more like an xy problem. Damion, can you come in, and just increase quota when we keep running out? And I, initially of course, what's the expression? When you're constantly playing catch up, or you're reactively fixing things as they occur, that is what I would do.\n\nThey didn't know the commands to increase the resource availability. And so I realized very quickly that instead of being the case that a researcher tries to launch an experiment on the Google infrastructure and is told-- it returns back and says no more GPUs or TPUs, rather than them just waving their hand to the 100 other people in the company at the time and saying this place is full, let's start using the other one, which was just embarrassingly poor way of running things, I measured utilization-- added tooling to measure utilization of this, had warning emails when things were approaching capacity, and realized that this could be turned into an entire discipline.\n\nSo from the start, for the first six months or so, I was just useful. And everyone was like, oh, it's really useful. We got someone to unblock us. But I also was like, this is just unsustainable and silly. And we could do a much better job of this and not run out.\n\nAnd so I built a monitoring infrastructure. Maybe it's a little bit too much detail, but the accelerators in the infrastructure, they were newer. And they weren't measured as much. The sort of existing tooling wasn't there. So I had to build from the ground up. The rest of Google's infrastructure was absolutely rock hard and had been there for a decade or more when I joined.\n\nBut the accelerators were a sort of a new element to this. And so it was sort of a little bit of a forgotten resource. The dashboards to go and see how your job was running would show memory utilization and CPU utilization, and then there'd be nothing for how much GPU you were using. So I found ways to pull those stats and then built a system around that.\n\nFlorian, you mentioned enthusiastically setting up a sort of reliability mindset. That was an economy of scale thing I came up with. I realized that-- it's like the whole teach people to fish rather than do the fishing for them idea.\n\nI built some training courses. I made them optional and didn't get very many applicants. I wanted to explain, to have this mindset of-- for example, you're running an experiment, you want to query out to a system and grab back some results and then carry on processing. And the code was written just to request. And if it didn't work, the thing just crashed and gave up.\n\nAnd I said, these services are-- they're designed for en masse, large Google bits of infra-- Search, Gmail, et cetera. And they deal with failure. And they'll retry. They can't always guarantee full availability. And all you need to do is a retry on your experiment. And it doesn't crash. And you have to wait for it to restart, et cetera.\n\nAnd they're like, oh, that's a genius idea. And I'm like, it seems straightforward to a reliability engineer, but this is the influence I was able to have as the company grew and grew and my team was small, it became training courses, little bits of influence, engagements. So at scale, yes, slowly, trying to encourage this mindset worked well.\n\n**STEVE MCGHEE:** That was going to be my question. Did you do trainings? Or was it just like you being helpful and people just figured it out? Or were you explicit? Also, for our guests, our guests are SRE who don't work at Google. So they are folks out in the world. And so they might be experiencing something like this.\n\nHow did you-- I don't want to say like exert your influence, exactly-- but how did you get this secret skill into the brains of everyone around you, who it wasn't their job? But you needed to somehow stick it in their heads? What worked for you, especially in this research-oriented organization?\n\n**DAMION YATES:** So there were multiple techniques. I think one of the best ones I came up with was to talk to the new starter team and add the gist of the infrastructure, how to run production things on this system. So when any engineer or any tech role, so a research scientist or a software engineer, research engineer started, and maybe a technical program manager, on those particular roles, the new starter team would give them a big curriculum of training courses. And mine was slotted in there quite early on.\n\nWe eventually, after a few years, had a tool for launching experiments which simplified and took the friction and edge off dealing directly with how to launch on this. And it would help, before that call, I said do mine first, so that they know what they're running on.\n\nSo for example, understanding the concept of containerization and things like that in terms of your limits and being mindful of network capacity limitations if you-- or the size of machines. So a research scientist may want to just increase the number of CPUs, make the thing go quicker and quicker. And I would explain that you really want to be scaling horizontally, have multiple instances and connect between them. But be mindful of the fact that you're going to be limited.\n\nThere are priorities for network traffic and things, distance, locality. These are all settings. I wouldn't give them all the information in the one hour training. I would say, bear in mind that this is a concept you can go and look up or ping me later. And I can point you at docs to increase your quality of service, flag settings to increase the likelihood of your job communicating quicker or constrained, if you like, closer to the same rack, so that the network works better for them.\n\nI will just throw in, actually, the defaults in the Google infrastructure are to spread it a little bit for domain failure and such, like in any given cell, so you can ignore that completely if you're happy that your experiment will just fail to work if there's a power outage in your rack. But that's fine.\n\nI've mentioned, you're delaying the onset of AGI by 10 years and plus an hour or two that your things out. But you do want it to function as quickly as possible when it's running. So we would do things that are not normally best practice in the typical serving style, but I would optimize for speed for their experimentation. So that was one was getting the new starters to have their-- slotting my training in there.\n\nThe other one was-- I didn't complete this program, but we were planning to roll through the whole company\n\n**DAMION YATES:** We had the concept of a training on scale. If you wanted your experiment to grow, you could just add some zeros to the replica count and make the thing absolutely huge. But I wanted people to realize that although we had touted this as huge amount of infrastructure, we are using hilariously large amounts of resource. And somebody upping their replica count can have knock-on effects.\n\nSo if they notice that everything's running slowly, and then they're getting pings from SREs in different teams going, is that-- did you start this? I've said stop your job. Yours is just an-- if you just started it, stop it again. And if everyone goes oh, that's better, then leave it stopped and talk to my team. Talk to an SRE in DeepMind, reliability engineer.\n\nIf stopping it had no impact, then the SRE in, say, Gmail was wrong, and they maybe just picked on somebody. And their experiment can carry on. These experiments were important to them. It was their day job.\n\nSo I wanted to run through and give a sort of running on infrastructure license. And then we would gate access to the group that would allow you to launch jobs. So I was going to roll that through. We slowly started to collect names. But the company grew faster than I could do training. So we'd be getting new starters who'd gone through this.\n\nAnd I think as we grew, we'd gained, I'd say enough software engineers rather than research scientists that there was already a semblance of awareness of building for scale, building for resilience. There was a growing improvement, I would say, that decreased the necessity for me to enforce a training.\n\n**STEVE MCGHEE:** Cool, that's good.\n\n**DAMION YATES:** I think it was fairly common for you to maybe have-- maybe you'd have a local GPU in your machine. Or you might, in the lab, have potentially dozens, maybe 100 machines. Let's say you could have some way of connecting to-- I'm trying to remember the various-- Slurm, something like that, some sort of external product to allow scheduling.\n\nAnd they were used to-- you'd launch and run. And an outage might occur because of power network, or crash, or something. But you were pretty much the only user at your time in the lab. Or you may have agreed verbally with someone next to you who's using 50 of the machines, you're using the other 50.\n\nAnd at the scale that Google run at, it's like confidentially large numbers of machines. And it has to be more fungible. You have to share and move. And so weirdly, it's less reliable. And you should expect failure.\n\nSo one thing we taught heavily in our course was to checkpoint your progress, assume failure. And this will help you out. It is difficult to build in checkpointing code, pick all the variables your thing is persisting, and reliably have it come back.\n\nThis is quite rare, but I do remember some people admitting I'm just not going to do it. I will just hope it works. If it doesn't work, I'll run it again.\n\n**STEVE MCGHEE:** Damion, you told us something very funny recently, where you talked about luck. Can you tell us your line about luck? I loved it.\n\n**DAMION YATES:** Well, OK, that's-- so earlier on, I mentioned that I didn't want us to work reactively. And if there's an outage, we fix it, and everyone's clapping. That, to me, that's a failure. As a reliability engineer, I'm not doing my job well enough if I haven't had telemetry tell me in advance and then I fix it silently, they don't know.\n\nThe downside to that, and I'm sure this will ring true for many people, is that you doing your job really well, makes you completely invisible. There's no impact at all. There's an avoidance of huge negative impact, but there's no outages is you going yay. And everyone else going, what team?\n\nAnd so I've used the expression for years that I've said luck is our enemy. I don't like luck, because if a team builds something, it's not-- by the way, it's not all experimental. I mentioned the experiment launching system that was built. So there are services that run.\n\nAnd if they only build features. And they don't build any mechanisms behind it for monitoring, logging, debugging, or resilience, and auto fixing, and it just functions, if they're really lucky, it will just be fine. And when I'm claiming, saying, maybe you should consider x and y to fix this, they're like, why? It's perfectly OK? So yeah, I don't know if this is funny. It's just sad that luck can be a really bad thing.\n\n**STEVE MCGHEE:** It can be both. Yeah, I think it's funny and sad.\n\n**FLORIAN RATHGEBER:** It can be.\n\n**DAMION YATES:** Luck is what you want when you know it's about to fall apart. I've worked somewhere previously that had a machine that had been up for, I think, 11 years in Telehouse Liverpool Street in London. I can't believe they managed to retain power for 11 years. So this machine had never rebooted.\n\nNow, that's obviously a security concern and other things. But the disk had died ages ago. It was throwing SCSI errors left and right. But it was running in RAM. And it was acting as the main pack server for proxy configuration for the entire company. And there wasn't a fix that wouldn't have required an outage. So yeah, I love luck in some situations. So crossing fingers is a part of the role, I guess.\n\n**FLORIAN RATHGEBER:** Yeah, I also had at a previous job, I discovered that there was-- several months after a colleague had left, there was still a task running they had started on a GPU also because the machine had just been sitting there idle for that long time.\n\nBut you already teased what I was going to ask next, which is the different jobs that you and your team were sort of taking on as time evolves. So you started with a lot of training, but then you also mentioned that you were building this experiment launching tool, so there's feature development, there's training, there's advocacy. What other hats do reliability engineers at DeepMind wear?\n\n**DAMION YATES:** Oh, I like this question. So from the beginning, the company was quite small. I can't remember the exact number, something like 100, 150, maybe 200. It depends. I'd have to go and look to check.\n\nSo the company was small enough that most people either did things themselves following some documentation, or it just wasn't happening in any sort of conformed way. For example, any consideration around group management, or security, or as I mentioned, the ceilings resource, the quotas needed for resource allocation was very ad hoc and broken.\n\nAnd so taking that just made sense and was quite scalable for a small size. As we grew, the group management, which production group you're in, we'd set this up with an automated internal system that, I suppose, it checks the configurations in. There's tooling that allows you to configure group memberships in a semi-automated way.\n\nAnd you run your own stack to keep that functioning. And it pulls sort of configs to know whether to adjust groups. So we took ownership of that. There's the consultation side that I'd mentioned, the training. There was any sort of security incident, we did handle some escalations. Sometimes at night, we join-- what do they call it? A panic room video conference and discuss replacing lots of libraries if there's some sort of famous outbreak.\n\nGoogle do a lot of stuff in-house. Most of the stuff we write is our own. But there's occasional use of certain things. And we would be involved heavily in security incidents, so security, group management.\n\nLet me think, maybe, I can't easily enumerate the entire list off the top of my head, but yeah, we-- oh, what would the non-Google term for this be? The allocation of resources to people. We didn't have a compute planning team initially, so we basically had that.\n\nAnd yes, there was a very big list of this. And it carried on after the company grew and grew. And actually, to this day, we're in 2026, and we're still receiving bugs for things that there's another team for this now. For example, we have at least 50 person strong security team.\n\nAnd I think we still get things that are kind of that team's role.\n\nAnd that team grew. And I'm like, oh, there's now a security team. And I've contacted them, and they're like, yeah, that does sound the thing we're doing, but we're a bit busy. We're doing this thing with-- we're using AI to build security, Damion. But your team seem to be coping. We're like five people. You're 50. Yeah, yeah, yeah, but it's still-- so we're struggling to move everything off.\n\nBut the hats, yeah, there's a lot of hats in the team. And there's an element of heroism, I guess. Let's go back to that sort of reactive thing. That's not an ideal way of running a reliability engineering team, by reactively fixing things. You need to be able to scale. And you need to-- sometimes, letting things fail is OK.\n\nAgain, like I've mentioned, with luck, an outage, visible outages, much as I'm upset about it, when we fix it, we look amazing. They give us a bonus. I'm like, no, you're doing it wrong. But OK, I'll take the money.\n\n**STEVE MCGHEE:** Not a good plan.\n\n**DAMION YATES:** And then, of course, they're like, oh, do you want more headcount so this doesn't happen again? I'm like, yes, finally. So outages can be a good thing. Decreasing heroism. There is a Google thing with no heroes. That's actually a good idea. And it remains, to this day, a difficult thing to get to that mentality. But yeah, maybe we should-- maybe we should let things not work and no longer be the-- have so many hats.\n\n**FLORIAN RATHGEBER:** Yeah, and outages are always learning opportunities as well, so yeah.\n\n**STEVE MCGHEE:** So given all that allowing things to fail a little bit, to some level, within the SRE community, we talk about SLOs and an error budget. And like we know we don't aim for 100%. And you can allow some things.\n\nBut one of the most interesting things that I've heard talking to you in the past and in this conversation is that you're in a research organization. And as you've mentioned already, some of the things you were working on were like batch jobs. And they're allowed to-- they don't need to be up, up, up all the time, 100%, which is good. We want to have that flexibility, like we said.\n\nBut at what point, how did you make that distinction of this stuff over here, quote, \"gets SRE support\" and this stuff over here doesn't, or didn't, or shouldn't, or won't in the future? Do you, as DeepMind, do have a demarcation line that you can distinguish these things? Or is it like luck of the draw? Or is it whoever is best friends with Damion? Or how does it work? Are there things that don't need to be managed by the SRE team?\n\n**DAMION YATES:** So due to scale, I mean, I think there's 6,000 people now, and we haven't grown very much. So we had to prioritize. And I did come up with a categorization for this. Obviously, Gemini is critically important. And our team support the training of that.\n\nNow, there's an importance level there. It isn't serving to the public. I think Google instant, everything you tap onto a keyboard these days is looking up search results for you. And if that doesn't work, they have graceful degradation. It just waits for the whole string and sends it. But there's levels of criticality, but there's importance as well.\n\nAnd the style most language models use for training is kind of everything in lockstep. So this will horrify SREs who aren't familiar with this. But instead of having more machines meaning more resilience and some sort of load balancing and failover, it's every single one is critical, and if one of them goes slow or stops, everything has to wait. So it's worse when you make it bigger.\n\nAnd the size of these jobs is confidentially large. And so an outage there is, in fact, quite serious. I mentioned fungibility earlier, and you might think other jobs could start. But actually, you can have that, but there's delays.\n\nIt's quicker to get a machine to reboot and come back, or a job to just be restarted and get everything in lockstep moving again than it is for lots of things to move out of the way and someone else's experiment of lower importance to start. So we tend to have the threshold set to give us an hour to get back, and so other people can't use this space, which means if you have an hour outage of a large number of chips, is large enough that it's like one of the actual serving production systems that people look after.\n\nSo there's a cost factor in size of job. So the engagement, whether we engage criteria of importance, leadership saying it's important because we don't always know. I don't know what the latest, greatest thing is. So we need to be told that. That's the number one thing.\n\nIf the team involved has themselves tried quite hard to engineer reliability into their system, but they just need help and guidance, they've won brownie points, if you like. And we will favor them over a team that has not bothered at all, just on features, and then wants to throw over a fence or hand-wave away, your team are SRE, can you come and just build monitoring for our system? They don't score very well on the ranking.\n\nWe do have to prioritize. And that's not a great move. We have still engaged in those situations. We've given them a headcount that didn't do the work, and then very much spent the entire time teaching them to fish.\n\nAnd this engagement actually went very well. They were very pleased with the outcome, because members of their SWE team were like, OK, we can do this. It's not that difficult. And it should be treated as a feature. Your system being up should be one of the criteria of top features, rather than just assuming it's up, and relying on luck, and then having the features people asked for in its way.\n\nSo yeah, there's limited team size limits our engagement options through the company of this size now. We're in DeepMind itself, so the role we're doing is basically the same as an SRE style role. But we call ourselves the reliability engineering team.\n\nAnd there is a-- Google have SRE teams that would look after elements that are made use of for training, the infrastructure itself has underlying engineers that look after that, that we would liaise with. That experiment launching system, that was built by my adjacent team that I reported within the-- we built a platform.\n\nIt was known for a while as the platform team. That was sort of when GA became generally available and then gained a Google SRE team to look after it. So there's actual Google org SREs involved. And they're recently now, even more involved looking after some of the serving side of things.\n\nThe actual serving of Gemini, my team don't do that at all. But we work with the Gemini infra team who've built this lockstep infra. And we support that side of things.\n\n**STEVE MCGHEE:** That's cool.\n\n**DAMION YATES:** So yeah, the prioritization of engagement is complicated, and I think has been for a while. We've dealt with this, as I mentioned, with a high value, low contact things like a training course and advice rather than choosing to on board. There's less of that. But we have looked after service systems-- serving systems a little bit better over the years as well.\n\n**STEVE MCGHEE:** Cool.\n\n**FLORIAN RATHGEBER:** Yeah, cool. Well, a storied history and lots of useful advice and interesting anecdotes you've shared with us. So I think that was really awesome. I think our listeners will appreciate the insight into reliability in a research org, because that's probably a little bit unusual, especially at the scale, of course, that DeepMind operates at.\n\n**DAMION YATES:** Can I just throw in that-- I mentioned chips functioning being very expensive. A few years ago, I was told, Damion, our most expensive resource are research scientists. Now, I'm not saying they're paid a lot of money, but even them not being able to build code, so like a test failure would sometimes come under our domain. That's another hat we sort of shared to an aligning EngProd team.\n\nSo I want to mention that because it's a key difference between research-- a research organization and a live serving thing is look at your most expensive resource. And for many years, that was a team of people pushing towards building what you have today. If you've used Gemini, that is years of research. And those researchers needed to not be just twiddling thumbs because they couldn't build, or they couldn't launch for outages and capacity things. So yeah, importance comes into this. It's not just is it up instantly like Search? But yeah, that's a thing.\n\n**FLORIAN RATHGEBER:** No, no, totally. I guess that's the nature of a system that only serves internal users, that obviously, these users are also paid by your organization. So you want to keep them as productive as you can.\n\n**STEVE MCGHEE:** Yeah, totally.\n\n**DAMION YATES:** Indeed.\n\n**STEVE MCGHEE:** Well, thank you, Damion. This was enlightening, as I'd hoped. No surprise there. And I'm sorry that this California kid has kept both of you awake on a Friday night, but I think it was-- it was worthwhile. Thank you very much for hanging out with us for however long that was. It was a good conversation.\n\n**DAMION YATES:** Absolutely fine.\n\n**STEVE MCGHEE:** All right, cool.\n\n**FLORIAN RATHGEBER:** Totally worth it. Damion, thanks for joining us. Thanks for sharing your wisdom with our listeners. And looking forward to future episodes of The Prodcast.\n\n**STEVE MCGHEE:** All right, thanks a lot.\n\n**DAMION YATES:** Thank you very much.\n\n**SPEAKER:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virgi. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n[THEME MUSIC]", "znaku_textu": 32254, "slov": 5776, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:58", "sha256": "d51bb7ae34060c9c9b36e618ced1d2ba82c137af33aa081b26423c26e149f751", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-05-08/", "titulek": "The One With Damion Yates and Building AI systems", "h1": "The One With Damion Yates and Building AI systems", "popis": "How do you introduce Site Reliability Engineering to an AI research lab, bringing concepts of scale to engineers who are at the leading edge of AI systems?\n\nIn the latest episode of The Prodcast, hosts Steve McGhee and Florian Rathgeber chat with Damion Yates, who helped establish the reliability engineering culture at Google DeepMind. Damion shares his journey of bringing scalable infrastructure to DeepMind, supporting massive machine learning experiments.\n\nDiscover the unique challenges of supporting AI research, such as managing highly expensive ", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-05-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The One With Damion Yates and Building AI systems"}], "markdown": "# The One With Damion Yates and Building AI systems\n\nHow do you introduce Site Reliability Engineering to an AI research lab, bringing concepts of scale to engineers who are at the leading edge of AI systems?\n\nIn the latest episode of The Prodcast, hosts Steve McGhee and Florian Rathgeber chat with Damion Yates, who helped establish the reliability engineering culture at Google DeepMind. Damion shares his journey of bringing scalable infrastructure to DeepMind, supporting massive machine learning experiments.\n\nDiscover the unique challenges of supporting AI research, such as managing highly expensive \"lockstep\" training models where a single machine failure halts the entire process. Damion also explains why he believes \"luck is our enemy\" in systems engineering, and why protecting a research scientist's time is the ultimate metric for success.\n\n**Prodcast Season 5 Episode 8**\n\nGuest: Damion Yates, Google DeepMind\n\nHosts: Florian Rathgeber, Steve McGhee\n\n[THEME MUSIC]\n\n**SPEAKER:** Welcome to season five of The Prodcast, Google's podcast about site reliability engineering and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening and may all your incidents be novel.\n\n**STEVE MCGHEE:** Hey, everyone. Welcome back to The Prodcast, Google's podcast on SRE and production engineering. I am in the morning in the US. And our guests are in the evening in a different part of the world, I think. Florian, you're here. How's it going, man?\n\n**FLORIAN RATHGEBER:** Hey, everyone. Good to be back. My name is Florian. And I'm calling in from Switzerland.\n\n**STEVE MCGHEE:** Oh, man. It must be a whole different time zone over there. Is that-- is that true? Or is that just a myth?\n\n**FLORIAN RATHGEBER:** That could be true unless there is only one time zone, and we've all been lied to.\n\n**STEVE MCGHEE:** I think the Earth might be flat, but I'm not sure. And we have another guest in a whole different time zone kind of between us, yeah, pretty much between us. Dear secret guest, who are you exactly? And where in the world are you?\n\n**DAMION YATES:** So I'm Damion, Damion Yates. And I'm based in London, have been the whole time I've been working at Google. And, yes, it's pitch black outside, different time zone.\n\n**STEVE MCGHEE:** OK, cool. So you're on the round Earth part of the theory? Is that right? You don't subscribe to the flat Earth, no time zones theory that we just came up with?\n\n**DAMION YATES:** I do think that we should have just BST and everyone just sort of has a concept of going to work at 2:00 in the morning in certain countries, or 8:00 PM. It would make commuting much easier if we just had one time zone, but you just change your times.\n\n**STEVE MCGHEE:** Let's just do metric UTC. Let's just do it all.\n\n**FLORIAN RATHGEBER:** Yeah, no.\n\n**DAMION YATES:** Yeah metric and UTC. Well, no GMT, but let's point out that Greenwich is where time started.\n\n**STEVE MCGHEE:** Classic, cool, well, thanks for coming on The Prodcast. This is going to be a fun one. Actually, Damion and I worked together a long time ago. And by a long time ago, I mean, at least some unnamed number of years ago in the London office. So it's nice to see you again. What are you doing now, man? What group are you--\n\n**DAMION YATES:** I think it's 19 years.\n\n**STEVE MCGHEE:** Listen, we don't need to count numbers. This is unnecessary. But where are you now? Tell us which part of the company you're in now. What is it that you're doing?\n\n**DAMION YATES:** So I'm in what is now known as Google DeepMind. I moved into DeepMind, it'll be 10 years in a month or so from a department aligned with where you were. And in the last 2 and 1/2, 3 years after merging with a different part of a Google Brain, Google DeepMind was formed. And I've been there since.\n\n**STEVE MCGHEE:** So when you joined, it was just called DeepMind. And I think was it a separate company but under Alphabet or something like this? Is that how it went? Or does it matter? Maybe it doesn't matter.\n\n**DAMION YATES:** That's complicated and spicy.\n\n**STEVE MCGHEE:** Fair.\n\n**DAMION YATES:** Let's just say not really, but we looked at becoming quite a separate bet, and then we didn't. And now we're definitely just a bit of Google, but we're a different unit. And I don't think it's interesting, but we're not classified separately.\n\n**STEVE MCGHEE:** Gotcha. Certainly not now, now we're all happy, friendly family.\n\n**STEVE MCGHEE:** One really important question, have you played chess with Demis yet?\n\n**DAMION YATES:** I have not played chess with Demis. I know the rules. I know how the horse and castle move. But one of my team did win the chess championship recently at an off-site. Because Demis was off doing multiplayer, when you play lots and lots of people at the same time? So there were people doing that. And he took the opportunity to do a competition and won. I'm really proud of him.\n\n**STEVE MCGHEE:** That's excellent. Very cool. From what I remember, when you started, there was not a lot of SRE going on in DeepMind. In fact, I think you would say it was almost more of a laboratory than a production-- there was no Gmail-sized service that you needed to support or anything like that. Is that right?\n\n**DAMION YATES:** Yes, it is quite an interesting beginning. So DeepMind were acquired, I think it's 12 years ago. They formed two years prior to that. And they did have some ex-Googlers, some of whom were in the SRE org inside Google, join the team. But they were typically working on various bits of infrastructure related to whatever training or machine learning research that was taking place.\n\nSo there was no coordinated reliability engineering model for the company. And I was brought in initially into a team called the systems team, who ran a data center external to the Google ones for some of the legacy DeepMind research that had taken place before acquisition.\n\nAnd that team had been there from the start and looked after their own accelerators in a data center, lots of machines. But they weren't familiar with the Google way of doing things and hired me into that team. And so there was a lot of use of the Google infra, but there was nobody coordinating and looking at any reliability engineering side of things, or best practice, or any concept of resilience.\n\nIt was, for example, whenever a new resource came along, or if you had an entire other data center available to you in the Google infra, rather than build some sort of resilience between your experiments across one and the other, they just doubled all their capacity and did more experimentation. So it was just more and more points of failure.\n\nSo the beginning was entertaining. And I essentially set up the idea of a reliability engineering team in an org that didn't have any public services, didn't serve to the public, and an outage there would mean, we would-- Demis told us AGI was 10 years out. And if we were down for an hour, then it was 10 years plus an hour.\n\nSo it didn't seem that critical. But there were keen researchers, their entire day job was to run experiments and do this. And nobody could work if there were situations that caused that. So it was quite immediately obvious that this was a valid thing to exist. And I think it took both me and DeepMind a bit of a surprise, like, I can't believe we didn't do this before. And so things grew from there. I got a whole team and churned forward, building a sort of an infra behind providing increased reliability to experimentation.\n\n**STEVE MCGHEE:** That's cool.\n\n**FLORIAN RATHGEBER:** So effectively, your initial job was introducing reliability concepts at a research org, as you said. So compared to how you did things before, what were the changes? Or how did you need to change your approach, I suppose?\n\n**DAMION YATES:** So what I will first say is I wasn't brought in exactly to do that. I determined that was the best way forward. It was more like an xy problem. Damion, can you come in, and just increase quota when we keep running out? And I, initially of course, what's the expression? When you're constantly playing catch up, or you're reactively fixing things as they occur, that is what I would do.\n\nThey didn't know the commands to increase the resource availability. And so I realized very quickly that instead of being the case that a researcher tries to launch an experiment on the Google infrastructure and is told-- it returns back and says no more GPUs or TPUs, rather than them just waving their hand to the 100 other people in the company at the time and saying this place is full, let's start using the other one, which was just embarrassingly poor way of running things, I measured utilization-- added tooling to measure utilization of this, had warning emails when things were approaching capacity, and realized that this could be turned into an entire discipline.\n\nSo from the start, for the first six months or so, I was just useful. And everyone was like, oh, it's really useful. We got someone to unblock us. But I also was like, this is just unsustainable and silly. And we could do a much better job of this and not run out.\n\nAnd so I built a monitoring infrastructure. Maybe it's a little bit too much detail, but the accelerators in the infrastructure, they were newer. And they weren't measured as much. The sort of existing tooling wasn't there. So I had to build from the ground up. The rest of Google's infrastructure was absolutely rock hard and had been there for a decade or more when I joined.\n\nBut the accelerators were a sort of a new element to this. And so it was sort of a little bit of a forgotten resource. The dashboards to go and see how your job was running would show memory utilization and CPU utilization, and then there'd be nothing for how much GPU you were using. So I found ways to pull those stats and then built a system around that.\n\nFlorian, you mentioned enthusiastically setting up a sort of reliability mindset. That was an economy of scale thing I came up with. I realized that-- it's like the whole teach people to fish rather than do the fishing for them idea.\n\nI built some training courses. I made them optional and didn't get very many applicants. I wanted to explain, to have this mindset of-- for example, you're running an experiment, you want to query out to a system and grab back some results and then carry on processing. And the code was written just to request. And if it didn't work, the thing just crashed and gave up.\n\nAnd I said, these services are-- they're designed for en masse, large Google bits of infra-- Search, Gmail, et cetera. And they deal with failure. And they'll retry. They can't always guarantee full availability. And all you need to do is a retry on your experiment. And it doesn't crash. And you have to wait for it to restart, et cetera.\n\nAnd they're like, oh, that's a genius idea. And I'm like, it seems straightforward to a reliability engineer, but this is the influence I was able to have as the company grew and grew and my team was small, it became training courses, little bits of influence, engagements. So at scale, yes, slowly, trying to encourage this mindset worked well.\n\n**STEVE MCGHEE:** That was going to be my question. Did you do trainings? Or was it just like you being helpful and people just figured it out? Or were you explicit? Also, for our guests, our guests are SRE who don't work at Google. So they are folks out in the world. And so they might be experiencing something like this.\n\nHow did you-- I don't want to say like exert your influence, exactly-- but how did you get this secret skill into the brains of everyone around you, who it wasn't their job? But you needed to somehow stick it in their heads? What worked for you, especially in this research-oriented organization?\n\n**DAMION YATES:** So there were multiple techniques. I think one of the best ones I came up with was to talk to the new starter team and add the gist of the infrastructure, how to run production things on this system. So when any engineer or any tech role, so a research scientist or a software engineer, research engineer started, and maybe a technical program manager, on those particular roles, the new starter team would give them a big curriculum of training courses. And mine was slotted in there quite early on.\n\nWe eventually, after a few years, had a tool for launching experiments which simplified and took the friction and edge off dealing directly with how to launch on this. And it would help, before that call, I said do mine first, so that they know what they're running on.\n\nSo for example, understanding the concept of containerization and things like that in terms of your limits and being mindful of network capacity limitations if you-- or the size of machines. So a research scientist may want to just increase the number of CPUs, make the thing go quicker and quicker. And I would explain that you really want to be scaling horizontally, have multiple instances and connect between them. But be mindful of the fact that you're going to be limited.\n\nThere are priorities for network traffic and things, distance, locality. These are all settings. I wouldn't give them all the information in the one hour training. I would say, bear in mind that this is a concept you can go and look up or ping me later. And I can point you at docs to increase your quality of service, flag settings to increase the likelihood of your job communicating quicker or constrained, if you like, closer to the same rack, so that the network works better for them.\n\nI will just throw in, actually, the defaults in the Google infrastructure are to spread it a little bit for domain failure and such, like in any given cell, so you can ignore that completely if you're happy that your experiment will just fail to work if there's a power outage in your rack. But that's fine.\n\nI've mentioned, you're delaying the onset of AGI by 10 years and plus an hour or two that your things out. But you do want it to function as quickly as possible when it's running. So we would do things that are not normally best practice in the typical serving style, but I would optimize for speed for their experimentation. So that was one was getting the new starters to have their-- slotting my training in there.\n\nThe other one was-- I didn't complete this program, but we were planning to roll through the whole company\n\n**DAMION YATES:** We had the concept of a training on scale. If you wanted your experiment to grow, you could just add some zeros to the replica count and make the thing absolutely huge. But I wanted people to realize that although we had touted this as huge amount of infrastructure, we are using hilariously large amounts of resource. And somebody upping their replica count can have knock-on effects.\n\nSo if they notice that everything's running slowly, and then they're getting pings from SREs in different teams going, is that-- did you start this? I've said stop your job. Yours is just an-- if you just started it, stop it again. And if everyone goes oh, that's better, then leave it stopped and talk to my team. Talk to an SRE in DeepMind, reliability engineer.\n\nIf stopping it had no impact, then the SRE in, say, Gmail was wrong, and they maybe just picked on somebody. And their experiment can carry on. These experiments were important to them. It was their day job.\n\nSo I wanted to run through and give a sort of running on infrastructure license. And then we would gate access to the group that would allow you to launch jobs. So I was going to roll that through. We slowly started to collect names. But the company grew faster than I could do training. So we'd be getting new starters who'd gone through this.\n\nAnd I think as we grew, we'd gained, I'd say enough software engineers rather than research scientists that there was already a semblance of awareness of building for scale, building for resilience. There was a growing improvement, I would say, that decreased the necessity for me to enforce a training.\n\n**STEVE MCGHEE:** Cool, that's good.\n\n**DAMION YATES:** I think it was fairly common for you to maybe have-- maybe you'd have a local GPU in your machine. Or you might, in the lab, have potentially dozens, maybe 100 machines. Let's say you could have some way of connecting to-- I'm trying to remember the various-- Slurm, something like that, some sort of external product to allow scheduling.\n\nAnd they were used to-- you'd launch and run. And an outage might occur because of power network, or crash, or something. But you were pretty much the only user at your time in the lab. Or you may have agreed verbally with someone next to you who's using 50 of the machines, you're using the other 50.\n\nAnd at the scale that Google run at, it's like confidentially large numbers of machines. And it has to be more fungible. You have to share and move. And so weirdly, it's less reliable. And you should expect failure.\n\nSo one thing we taught heavily in our course was to checkpoint your progress, assume failure. And this will help you out. It is difficult to build in checkpointing code, pick all the variables your thing is persisting, and reliably have it come back.\n\nThis is quite rare, but I do remember some people admitting I'm just not going to do it. I will just hope it works. If it doesn't work, I'll run it again.\n\n**STEVE MCGHEE:** Damion, you told us something very funny recently, where you talked about luck. Can you tell us your line about luck? I loved it.\n\n**DAMION YATES:** Well, OK, that's-- so earlier on, I mentioned that I didn't want us to work reactively. And if there's an outage, we fix it, and everyone's clapping. That, to me, that's a failure. As a reliability engineer, I'm not doing my job well enough if I haven't had telemetry tell me in advance and then I fix it silently, they don't know.\n\nThe downside to that, and I'm sure this will ring true for many people, is that you doing your job really well, makes you completely invisible. There's no impact at all. There's an avoidance of huge negative impact, but there's no outages is you going yay. And everyone else going, what team?\n\nAnd so I've used the expression for years that I've said luck is our enemy. I don't like luck, because if a team builds something, it's not-- by the way, it's not all experimental. I mentioned the experiment launching system that was built. So there are services that run.\n\nAnd if they only build features. And they don't build any mechanisms behind it for monitoring, logging, debugging, or resilience, and auto fixing, and it just functions, if they're really lucky, it will just be fine. And when I'm claiming, saying, maybe you should consider x and y to fix this, they're like, why? It's perfectly OK? So yeah, I don't know if this is funny. It's just sad that luck can be a really bad thing.\n\n**STEVE MCGHEE:** It can be both. Yeah, I think it's funny and sad.\n\n**FLORIAN RATHGEBER:** It can be.\n\n**DAMION YATES:** Luck is what you want when you know it's about to fall apart. I've worked somewhere previously that had a machine that had been up for, I think, 11 years in Telehouse Liverpool Street in London. I can't believe they managed to retain power for 11 years. So this machine had never rebooted.\n\nNow, that's obviously a security concern and other things. But the disk had died ages ago. It was throwing SCSI errors left and right. But it was running in RAM. And it was acting as the main pack server for proxy configuration for the entire company. And there wasn't a fix that wouldn't have required an outage. So yeah, I love luck in some situations. So crossing fingers is a part of the role, I guess.\n\n**FLORIAN RATHGEBER:** Yeah, I also had at a previous job, I discovered that there was-- several months after a colleague had left, there was still a task running they had started on a GPU also because the machine had just been sitting there idle for that long time.\n\nBut you already teased what I was going to ask next, which is the different jobs that you and your team were sort of taking on as time evolves. So you started with a lot of training, but then you also mentioned that you were building this experiment launching tool, so there's feature development, there's training, there's advocacy. What other hats do reliability engineers at DeepMind wear?\n\n**DAMION YATES:** Oh, I like this question. So from the beginning, the company was quite small. I can't remember the exact number, something like 100, 150, maybe 200. It depends. I'd have to go and look to check.\n\nSo the company was small enough that most people either did things themselves following some documentation, or it just wasn't happening in any sort of conformed way. For example, any consideration around group management, or security, or as I mentioned, the ceilings resource, the quotas needed for resource allocation was very ad hoc and broken.\n\nAnd so taking that just made sense and was quite scalable for a small size. As we grew, the group management, which production group you're in, we'd set this up with an automated internal system that, I suppose, it checks the configurations in. There's tooling that allows you to configure group memberships in a semi-automated way.\n\nAnd you run your own stack to keep that functioning. And it pulls sort of configs to know whether to adjust groups. So we took ownership of that. There's the consultation side that I'd mentioned, the training. There was any sort of security incident, we did handle some escalations. Sometimes at night, we join-- what do they call it? A panic room video conference and discuss replacing lots of libraries if there's some sort of famous outbreak.\n\nGoogle do a lot of stuff in-house. Most of the stuff we write is our own. But there's occasional use of certain things. And we would be involved heavily in security incidents, so security, group management.\n\nLet me think, maybe, I can't easily enumerate the entire list off the top of my head, but yeah, we-- oh, what would the non-Google term for this be? The allocation of resources to people. We didn't have a compute planning team initially, so we basically had that.\n\nAnd yes, there was a very big list of this. And it carried on after the company grew and grew. And actually, to this day, we're in 2026, and we're still receiving bugs for things that there's another team for this now. For example, we have at least 50 person strong security team.\n\nAnd I think we still get things that are kind of that team's role.\n\nAnd that team grew. And I'm like, oh, there's now a security team. And I've contacted them, and they're like, yeah, that does sound the thing we're doing, but we're a bit busy. We're doing this thing with-- we're using AI to build security, Damion. But your team seem to be coping. We're like five people. You're 50. Yeah, yeah, yeah, but it's still-- so we're struggling to move everything off.\n\nBut the hats, yeah, there's a lot of hats in the team. And there's an element of heroism, I guess. Let's go back to that sort of reactive thing. That's not an ideal way of running a reliability engineering team, by reactively fixing things. You need to be able to scale. And you need to-- sometimes, letting things fail is OK.\n\nAgain, like I've mentioned, with luck, an outage, visible outages, much as I'm upset about it, when we fix it, we look amazing. They give us a bonus. I'm like, no, you're doing it wrong. But OK, I'll take the money.\n\n**STEVE MCGHEE:** Not a good plan.\n\n**DAMION YATES:** And then, of course, they're like, oh, do you want more headcount so this doesn't happen again? I'm like, yes, finally. So outages can be a good thing. Decreasing heroism. There is a Google thing with no heroes. That's actually a good idea. And it remains, to this day, a difficult thing to get to that mentality. But yeah, maybe we should-- maybe we should let things not work and no longer be the-- have so many hats.\n\n**FLORIAN RATHGEBER:** Yeah, and outages are always learning opportunities as well, so yeah.\n\n**STEVE MCGHEE:** So given all that allowing things to fail a little bit, to some level, within the SRE community, we talk about SLOs and an error budget. And like we know we don't aim for 100%. And you can allow some things.\n\nBut one of the most interesting things that I've heard talking to you in the past and in this conversation is that you're in a research organization. And as you've mentioned already, some of the things you were working on were like batch jobs. And they're allowed to-- they don't need to be up, up, up all the time, 100%, which is good. We want to have that flexibility, like we said.\n\nBut at what point, how did you make that distinction of this stuff over here, quote, \"gets SRE support\" and this stuff over here doesn't, or didn't, or shouldn't, or won't in the future? Do you, as DeepMind, do have a demarcation line that you can distinguish these things? Or is it like luck of the draw? Or is it whoever is best friends with Damion? Or how does it work? Are there things that don't need to be managed by the SRE team?\n\n**DAMION YATES:** So due to scale, I mean, I think there's 6,000 people now, and we haven't grown very much. So we had to prioritize. And I did come up with a categorization for this. Obviously, Gemini is critically important. And our team support the training of that.\n\nNow, there's an importance level there. It isn't serving to the public. I think Google instant, everything you tap onto a keyboard these days is looking up search results for you. And if that doesn't work, they have graceful degradation. It just waits for the whole string and sends it. But there's levels of criticality, but there's importance as well.\n\nAnd the style most language models use for training is kind of everything in lockstep. So this will horrify SREs who aren't familiar with this. But instead of having more machines meaning more resilience and some sort of load balancing and failover, it's every single one is critical, and if one of them goes slow or stops, everything has to wait. So it's worse when you make it bigger.\n\nAnd the size of these jobs is confidentially large. And so an outage there is, in fact, quite serious. I mentioned fungibility earlier, and you might think other jobs could start. But actually, you can have that, but there's delays.\n\nIt's quicker to get a machine to reboot and come back, or a job to just be restarted and get everything in lockstep moving again than it is for lots of things to move out of the way and someone else's experiment of lower importance to start. So we tend to have the threshold set to give us an hour to get back, and so other people can't use this space, which means if you have an hour outage of a large number of chips, is large enough that it's like one of the actual serving production systems that people look after.\n\nSo there's a cost factor in size of job. So the engagement, whether we engage criteria of importance, leadership saying it's important because we don't always know. I don't know what the latest, greatest thing is. So we need to be told that. That's the number one thing.\n\nIf the team involved has themselves tried quite hard to engineer reliability into their system, but they just need help and guidance, they've won brownie points, if you like. And we will favor them over a team that has not bothered at all, just on features, and then wants to throw over a fence or hand-wave away, your team are SRE, can you come and just build monitoring for our system? They don't score very well on the ranking.\n\nWe do have to prioritize. And that's not a great move. We have still engaged in those situations. We've given them a headcount that didn't do the work, and then very much spent the entire time teaching them to fish.\n\nAnd this engagement actually went very well. They were very pleased with the outcome, because members of their SWE team were like, OK, we can do this. It's not that difficult. And it should be treated as a feature. Your system being up should be one of the criteria of top features, rather than just assuming it's up, and relying on luck, and then having the features people asked for in its way.\n\nSo yeah, there's limited team size limits our engagement options through the company of this size now. We're in DeepMind itself, so the role we're doing is basically the same as an SRE style role. But we call ourselves the reliability engineering team.\n\nAnd there is a-- Google have SRE teams that would look after elements that are made use of for training, the infrastructure itself has underlying engineers that look after that, that we would liaise with. That experiment launching system, that was built by my adjacent team that I reported within the-- we built a platform.\n\nIt was known for a while as the platform team. That was sort of when GA became generally available and then gained a Google SRE team to look after it. So there's actual Google org SREs involved. And they're recently now, even more involved looking after some of the serving side of things.\n\nThe actual serving of Gemini, my team don't do that at all. But we work with the Gemini infra team who've built this lockstep infra. And we support that side of things.\n\n**STEVE MCGHEE:** That's cool.\n\n**DAMION YATES:** So yeah, the prioritization of engagement is complicated, and I think has been for a while. We've dealt with this, as I mentioned, with a high value, low contact things like a training course and advice rather than choosing to on board. There's less of that. But we have looked after service systems-- serving systems a little bit better over the years as well.\n\n**STEVE MCGHEE:** Cool.\n\n**FLORIAN RATHGEBER:** Yeah, cool. Well, a storied history and lots of useful advice and interesting anecdotes you've shared with us. So I think that was really awesome. I think our listeners will appreciate the insight into reliability in a research org, because that's probably a little bit unusual, especially at the scale, of course, that DeepMind operates at.\n\n**DAMION YATES:** Can I just throw in that-- I mentioned chips functioning being very expensive. A few years ago, I was told, Damion, our most expensive resource are research scientists. Now, I'm not saying they're paid a lot of money, but even them not being able to build code, so like a test failure would sometimes come under our domain. That's another hat we sort of shared to an aligning EngProd team.\n\nSo I want to mention that because it's a key difference between research-- a research organization and a live serving thing is look at your most expensive resource. And for many years, that was a team of people pushing towards building what you have today. If you've used Gemini, that is years of research. And those researchers needed to not be just twiddling thumbs because they couldn't build, or they couldn't launch for outages and capacity things. So yeah, importance comes into this. It's not just is it up instantly like Search? But yeah, that's a thing.\n\n**FLORIAN RATHGEBER:** No, no, totally. I guess that's the nature of a system that only serves internal users, that obviously, these users are also paid by your organization. So you want to keep them as productive as you can.\n\n**STEVE MCGHEE:** Yeah, totally.\n\n**DAMION YATES:** Indeed.\n\n**STEVE MCGHEE:** Well, thank you, Damion. This was enlightening, as I'd hoped. No surprise there. And I'm sorry that this California kid has kept both of you awake on a Friday night, but I think it was-- it was worthwhile. Thank you very much for hanging out with us for however long that was. It was a good conversation.\n\n**DAMION YATES:** Absolutely fine.\n\n**STEVE MCGHEE:** All right, cool.\n\n**FLORIAN RATHGEBER:** Totally worth it. Damion, thanks for joining us. Thanks for sharing your wisdom with our listeners. And looking forward to future episodes of The Prodcast.\n\n**STEVE MCGHEE:** All right, thanks a lot.\n\n**DAMION YATES:** Thank you very much.\n\n**SPEAKER:** You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virgi. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n[THEME MUSIC]", "znaku_textu": 32254, "slov": 5776, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-05-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:09", "sha256": "d51bb7ae34060c9c9b36e618ced1d2ba82c137af33aa081b26423c26e149f751", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01", "titulek": "This is Fine! with Colette Alexander and Clint Byrum", "h1": "This is Fine! with Colette Alexander and Clint Byrum", "popis": "What’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast live at SREcon in Seattle.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01"}, "headline": "This is Fine! with Colette Alexander and Clint Byrum", "description": "What’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast live at SREcon in Seattle.", "image": "https://kstatic.googleusercontent.com/files/b57785503b29b52032d42e169f47aa0a16be3c693d088c34b2476447baf041c708eb3f314fb3c35a9cb6359047bfabaea182215fd4bab2e8372532d8da5e253c", "author": [{"@type": "Person", "name": "Colette Alexander"}, {"@type": "Person", "name": "Clint Byrum"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "This is Fine! with Colette Alexander and Clint Byrum"}], "markdown": "# This is Fine! with Colette Alexander and Clint Byrum\n\nWhat’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast *live* at SREcon in Seattle.\n\n[00:00:00.00] **SPEAKER 1:** Tele-- Telebot.\n\n[00:00:00.99] **[THEME MUSIC]**\n\n[00:00:03.43] You missed a page from Telebot.\n\n[00:00:05.88] **SPEAKER 2:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the\n\nconference …\n\n[00:00:31.02] **SPEAKER 1:** You missed a page from Telebot.\n\n[00:00:33.10] **STEVE MCGHEE:** All right, so we're live in Seattle. This is the Prodcast. I'm a podcast host. You're a podcast host. You're a\n\npodcast host. Don't we have any guests? What are we doing here?\n\n[00:00:43.14] **CLINT BYRUM:** Everyone's a podcast host.\n\n[00:00:44.58] **STEVE MCGHEE:** Oh, this is just what we do. Is this what podcasters do? This is so obnoxious. What have we done?\n\n[00:00:50.64] **CLINT BYRUM:** Well, there weren't enough strangers to talk to. So we have to talk to each other.\n\n[00:00:53.50] **STEVE MCGHEE:** We're warming up the podcast. That's what it is. We have to make sure the mics work and things like that. Well,\n\nwelcome. I'm Steve. Who are you two fine folk? Can you introduce yourself?\n\n[00:01:01.54] **CLINT BYRUM:** I'm Clint Byram, and we had you on our podcast.\n\n[00:01:04.65] **STEVE MCGHEE:** That's true. That was like over a year ago?\n\n[00:01:07.11] **CLINT BYRUM:** A while ago, yeah.\n\n[00:01:07.55] **COLETTE ALEXANDER:** Way too long ago.\n\n[00:01:08.69] **STEVE MCGHEE:** Way too long ago?\n\n[00:01:09.87] **CLINT BYRUM:** Yeah, which is called This is Fine!\n\n[00:01:11.19] **STEVE MCGHEE:** That's right.\n\n[00:01:11.93] **CLINT BYRUM:** A podcast about resilience engineering. And I'm also an SRE, and I am enjoying the SRE therapy session that we have\n\nevery year around this time.\n\n[00:01:22.71] **STEVE MCGHEE:** It is a bit of a therapy session. I appreciate that for sure. And you?\n\n[00:01:26.77] **COLETTE ALEXANDER:** I'm Colette Alexander. I also co-host This is Fine!, a podcast about resilience engineering. And yeah, I'm the\n\npresident of the Resilience in Software Foundation, too. We're having a big party tonight-- very excited.\n\n[00:01:40.91] **CLINT BYRUM:** We are.\n\n[00:01:41.23] **COLETTE ALEXANDER:** Yeah.\n\n[00:01:41.57] **STEVE MCGHEE:** Can you tell our fair listeners, what is this foundation, and what does it even?\n\n[00:01:47.41] **COLETTE ALEXANDER:** What does it even?\n\n[00:01:48.51] [LAUGHTER]\n\n[00:01:49.21] Well, so we're a bunch of nerds that hang out and talk about resilience engineering in the software domain, mostly, although there are some folks\n\nwho are not of the software domain who grace us with their-- really, an awesome presence.\n\n[00:02:03.96] **CLINT BYRUM:** It's pretty cool.\n\n[00:02:04.66] **COLETTE ALEXANDER:** Yeah, I love that part about. So we have a Slack, and you can go to resilienceinsoftware.org to become a member.\n\nAnd becoming a member gets you access to that Slack and free access to all of our events. We also do events for the public, too.\n\n[00:02:18.28] So if you have a little money to spare, just to cover our Zoom costs, you can come to-- we have a FRAM training coming up next month, for example. But we do all kinds of things. We also do-- when Clint and I have episodes that are like-- we do like paper-talk episodes, we often do like AMAs for the community\n\nand stuff there.\n\n[00:02:35.92] **STEVE MCGHEE:** Yeah, one thing that I've found about the community is I get a lot of references to papers, and I read them, and then\n\nI go, what? So the paper talks really helped me a lot.\n\n[00:02:44.80] **COLETTE ALEXANDER:** Oh, I'm so glad.\n\n[00:02:45.62] **STEVE MCGHEE:** I did go to grad school. And I read papers on purpose for a while, but that was years-- at least four years ago,\n\nmaybe more.\n\n[00:02:53.14] **COLETTE ALEXANDER:** I had so much cruft to brush off my brain--\n\n[00:02:56.06] **STEVE MCGHEE:** It's tough.\n\n[00:02:56.26] **COLETTE ALEXANDER:** --when I went back to London. It's a lot of work to do that.\n\n[00:02:59.08] **STEVE MCGHEE:** So having buddies to talk about it with is very helpful.\n\n[00:03:02.72] **COLETTE ALEXANDER:** Absolutely.\n\n[00:03:03.82] **CLINT BYRUM:** Does the Resilience in Software Foundation have merch, Colette?\n\n[00:03:08.07] **COLETTE ALEXANDER:** Why, yes, we do. I'm so glad you asked. If you go to resilienceinsoftware.org, you can also see a shop. And you\n\ncan get things like this hoodie, the Anti Complexity Complexity Club.\n\n[00:03:20.09] **STEVE MCGHEE:** So we don't like complexity. Is that what you're saying?\n\n[00:03:22.45] **COLETTE ALEXANDER:** But you can only fight complexity with complexity due to the law of requisite variety. Sorry, that's like super\n\ncray.\n\n[00:03:29.63] **STEVE MCGHEE:** That sounds like a paper-content thing, the opinion--\n\n[00:03:31.35] **CLINT BYRUM:** Is there a paper for that one, actually?\n\n[00:03:34.07] **COLETTE ALEXANDER:** There must-- Dr. Woods must have written it, David Woods. Right?\n\n[00:03:38.27] **CLINT BYRUM:** He's the master of complexity, for sure.\n\n[00:03:40.29] **STEVE MCGHEE:** I'd just like to point out that a monorail just went by the window just now.\n\n[00:03:43.81] **CLINT BYRUM:** Monorail?\n\n[00:03:43.99] **STEVE MCGHEE:** I don't know if you guys saw it. We could sing the song if you'd like.\n\n[00:03:46.65] **CLINT BYRUM:** It glides as softly as a cloud.\n\n[00:03:48.63] **STEVE MCGHEE:** That's right. That's right.\n\n[00:03:49.97] **COLETTE ALEXANDER:** [LAUGHS]\n\n[00:03:51.55] **STEVE MCGHEE:** So can you give me a couple top moments so far of the conf? Like, anything hit real good? What do you think?\n\n[00:03:58.87] **COLETTE ALEXANDER:** So I will be-- can I-- you can cut this in the edit. It's fine if you're--\n\n[00:04:04.03] **STEVE MCGHEE:** It can be up. It can be down.\n\n[00:04:05.24] **COLETTE ALEXANDER:** Yeah, I was really-- you saw my reaction. I was really upset at the return of MTTR. What the heck, man?\n\n[00:04:12.90] **STEVE MCGHEE:** It happens.\n\n[00:04:13.00] **COLETTE ALEXANDER:** I thought we got rid of it, and it came back.\n\n[00:04:15.42] **STEVE MCGHEE:** Words are sticky. I don't know.\n\n[00:04:16.34] **COLETTE ALEXANDER:** They really are. I would like to move to-- I mean, I think here's the thing, right? It's like I want us to have real conversations about it. I don't want us to just have lectures about it from the podium. Like, let's talk about what's working, what's not working, but I was\n\na little-- that upset me a little bit.\n\n[00:04:32.12] **CLINT BYRUM:** Yeah, I thought we had contained that to the expo hall.\n\n[00:04:34.52] **COLETTE ALEXANDER:** [LAUGHS]\n\n[00:04:36.48] **CLINT BYRUM:** Like, I expected over there. I understand those things take time, but to have a keynote, not just bring it out, whatever. Some people are still learning how not to say it, but, yeah, it's sort of been a deconstruction process for me. Dr. Forsgren’s work was like seminal in\n\nbringing me into a modern--\n\n[00:04:53.24] **STEVE MCGHEE:** Absolutely.\n\n[00:04:53.64] **CLINT BYRUM:** --history perspective. I think a lot of people would say Accelerate was important and still is important. But that\n\npart, just like all good science, some of it falls to the wayside as new research is done, like Stepan Davidovic killed it, and yet the zombie rises again.\n\n[00:05:13.10] **STEVE MCGHEE:** Yeah. I mean, I think we have to-- we appreciate, I appreciate-- I believe you also appreciate-- the fact that people still do say it, and they still do make decisions based on it, even though it doesn't make any sense. So presenting it, in some cases, to that audience might be\n\nhelpful in some way, as long as it's also like-- if we can then talk about it afterwards.\n\n[00:05:34.58] **COLETTE ALEXANDER:** Also, let's have a conversation about it.\n\n[00:05:36.24] **STEVE MCGHEE:** Yeah, exactly. So I get why it's still happening, but I would really love it if it was like, we're talking about this. By the way, a better way to think about this is blah, blah, blah, blah, blah. So briefly, if you can do it for our audience again, why not MTTR? Can you? We\n\ncould also go get all these people out in the world who will come out and yell, but I trust you guys to not be yelling about this and be--\n\n[00:05:59.72] **CLINT BYRUM:** Yeah, and I'm--\n\n[00:06:00.40] [INTERPOSING VOICES]\n\n[00:06:00.56] **CLINT BYRUM:** --definitely of the, like, I need something to move my house onto off the sandy beach that I didn't realize it was sandy at first. I did see there was a talk on CAST, which is an interesting adjustment, more attuned to replacing root-cause analysis. I didn't know much about\n\nCAST before. I've now got some books to read. So that's an exciting-- like, OK, here's a new model.\n\n[00:06:22.83] But for MTTR, the thing that I've been like sending to executives and sending to engineers is like, no, it's dead. Like, there's a bunch of hyperlinks and documents I write that are like-- and the times in incidents are not related to each other enough to statistically matter. And I link to Stepan Davidovic's very free paper where it explains the math. And he did these Monte Carlo simulations that-- I think if anybody goes and reads those and has the time, which I know many executives do not-- if you have the time to think about it, it presents itself very clearly. You can't move it enough to make it matter\n\nstatistically.\n\n[00:07:00.61] **COLETTE ALEXANDER:** I also want to say-- and this is how I explained it to somebody when I was walking in the hallway with them. And I just said, look, there is an intuitive thing here too that you can grab on to, which is you've had an incident that's lasted three hours, three days, three weeks that might not have impacted your business very much. And you've had an incident that's lasted 10 minutes, I bet, that has-- (WHISPERING) --really sucked\n\nfor your business.\n\n[00:07:24.62] (SPEAKING) And so the other piece that MTTR leaves out is what is the business impact? What are the other elements, besides time, of an incident that actually do materially matter to you? And is chasing the time bunny down the rabbit hole really how you want to spend your time when you're constructing all\n\nof the tooling, all of the automation, all of the whatevers you're going to do to try to lessen that time? Is that really how you want to do it?\n\n[00:07:54.14] **STEVE MCGHEE:** Yeah. I mean, this is another nail in the coffin maybe. We'll hope. I don't know. Do you have a final point?\n\n[00:08:00.14] **CLINT BYRUM:** Very briefly. I also had discussions where similarly to your talk about DR and the lies we tell. Similarly, we have to\n\ngo and say these things publicly, and we need to invite people to come and talk to us.\n\n[00:08:12.61] **STEVE MCGHEE:** Even if they're uncomfortable.\n\n[00:08:13.37] **CLINT BYRUM:** So we're inviting you to come and talk to us if you see us at the next SRE con or at thisisfinepod.com. You could\n\nsubmit a question about this. Why you still maybe--\n\n[00:08:22.03] **STEVE MCGHEE:** Good pitch.\n\n[00:08:22.35] **CLINT BYRUM:** --believe in MTTR.\n\n[00:08:23.75] **STEVE MCGHEE:** Cool. Well, thank you very much, my fellow podcasting friends. That was great.\n\n[00:08:27.57] **COLETTE ALEXANDER:** Thanks, Prodcast. We love you.\n\n[00:08:29.05] **STEVE MCGHEE:** I can't believe you let me wear this hat this whole time. This is very silly.\n\n[00:08:31.69] **CLINT BYRUM:** [LAUGHS] OK, thanks, Steve.\n\n[00:08:34.35] **SPEAKER 2:** You've been listening to the Prodcast, Google's podcast on site-reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virgi. The\n\nProdcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n[00:09:08.55] **SPEAKER 1:** You missed a page from Telebot.", "znaku_textu": 11829, "slov": 2014, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:30", "sha256": "7c83b4a938bee71e12dc65fec5f142596ff206bc7b2b6868dbbbbc6966bfac19", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01/", "titulek": "This is Fine! with Colette Alexander and Clint Byrum", "h1": "This is Fine! with Colette Alexander and Clint Byrum", "popis": "What’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast live at SREcon in Seattle.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01"}, "headline": "This is Fine! with Colette Alexander and Clint Byrum", "description": "What’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast live at SREcon in Seattle.", "image": "https://kstatic.googleusercontent.com/files/b57785503b29b52032d42e169f47aa0a16be3c693d088c34b2476447baf041c708eb3f314fb3c35a9cb6359047bfabaea182215fd4bab2e8372532d8da5e253c", "author": [{"@type": "Person", "name": "Colette Alexander"}, {"@type": "Person", "name": "Clint Byrum"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "This is Fine! with Colette Alexander and Clint Byrum"}], "markdown": "# This is Fine! with Colette Alexander and Clint Byrum\n\nWhat’s happening in the world of SRE and Resilience Engineering? Join us as we catch up with fellow podcast hosts Colette Alexander and Clint Byrum of the “This Is Fine!” podcast *live* at SREcon in Seattle.\n\n[00:00:00.00] **SPEAKER 1:** Tele-- Telebot.\n\n[00:00:00.99] **[THEME MUSIC]**\n\n[00:00:03.43] You missed a page from Telebot.\n\n[00:00:05.88] **SPEAKER 2:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the\n\nconference …\n\n[00:00:31.02] **SPEAKER 1:** You missed a page from Telebot.\n\n[00:00:33.10] **STEVE MCGHEE:** All right, so we're live in Seattle. This is the Prodcast. I'm a podcast host. You're a podcast host. You're a\n\npodcast host. Don't we have any guests? What are we doing here?\n\n[00:00:43.14] **CLINT BYRUM:** Everyone's a podcast host.\n\n[00:00:44.58] **STEVE MCGHEE:** Oh, this is just what we do. Is this what podcasters do? This is so obnoxious. What have we done?\n\n[00:00:50.64] **CLINT BYRUM:** Well, there weren't enough strangers to talk to. So we have to talk to each other.\n\n[00:00:53.50] **STEVE MCGHEE:** We're warming up the podcast. That's what it is. We have to make sure the mics work and things like that. Well,\n\nwelcome. I'm Steve. Who are you two fine folk? Can you introduce yourself?\n\n[00:01:01.54] **CLINT BYRUM:** I'm Clint Byram, and we had you on our podcast.\n\n[00:01:04.65] **STEVE MCGHEE:** That's true. That was like over a year ago?\n\n[00:01:07.11] **CLINT BYRUM:** A while ago, yeah.\n\n[00:01:07.55] **COLETTE ALEXANDER:** Way too long ago.\n\n[00:01:08.69] **STEVE MCGHEE:** Way too long ago?\n\n[00:01:09.87] **CLINT BYRUM:** Yeah, which is called This is Fine!\n\n[00:01:11.19] **STEVE MCGHEE:** That's right.\n\n[00:01:11.93] **CLINT BYRUM:** A podcast about resilience engineering. And I'm also an SRE, and I am enjoying the SRE therapy session that we have\n\nevery year around this time.\n\n[00:01:22.71] **STEVE MCGHEE:** It is a bit of a therapy session. I appreciate that for sure. And you?\n\n[00:01:26.77] **COLETTE ALEXANDER:** I'm Colette Alexander. I also co-host This is Fine!, a podcast about resilience engineering. And yeah, I'm the\n\npresident of the Resilience in Software Foundation, too. We're having a big party tonight-- very excited.\n\n[00:01:40.91] **CLINT BYRUM:** We are.\n\n[00:01:41.23] **COLETTE ALEXANDER:** Yeah.\n\n[00:01:41.57] **STEVE MCGHEE:** Can you tell our fair listeners, what is this foundation, and what does it even?\n\n[00:01:47.41] **COLETTE ALEXANDER:** What does it even?\n\n[00:01:48.51] [LAUGHTER]\n\n[00:01:49.21] Well, so we're a bunch of nerds that hang out and talk about resilience engineering in the software domain, mostly, although there are some folks\n\nwho are not of the software domain who grace us with their-- really, an awesome presence.\n\n[00:02:03.96] **CLINT BYRUM:** It's pretty cool.\n\n[00:02:04.66] **COLETTE ALEXANDER:** Yeah, I love that part about. So we have a Slack, and you can go to resilienceinsoftware.org to become a member.\n\nAnd becoming a member gets you access to that Slack and free access to all of our events. We also do events for the public, too.\n\n[00:02:18.28] So if you have a little money to spare, just to cover our Zoom costs, you can come to-- we have a FRAM training coming up next month, for example. But we do all kinds of things. We also do-- when Clint and I have episodes that are like-- we do like paper-talk episodes, we often do like AMAs for the community\n\nand stuff there.\n\n[00:02:35.92] **STEVE MCGHEE:** Yeah, one thing that I've found about the community is I get a lot of references to papers, and I read them, and then\n\nI go, what? So the paper talks really helped me a lot.\n\n[00:02:44.80] **COLETTE ALEXANDER:** Oh, I'm so glad.\n\n[00:02:45.62] **STEVE MCGHEE:** I did go to grad school. And I read papers on purpose for a while, but that was years-- at least four years ago,\n\nmaybe more.\n\n[00:02:53.14] **COLETTE ALEXANDER:** I had so much cruft to brush off my brain--\n\n[00:02:56.06] **STEVE MCGHEE:** It's tough.\n\n[00:02:56.26] **COLETTE ALEXANDER:** --when I went back to London. It's a lot of work to do that.\n\n[00:02:59.08] **STEVE MCGHEE:** So having buddies to talk about it with is very helpful.\n\n[00:03:02.72] **COLETTE ALEXANDER:** Absolutely.\n\n[00:03:03.82] **CLINT BYRUM:** Does the Resilience in Software Foundation have merch, Colette?\n\n[00:03:08.07] **COLETTE ALEXANDER:** Why, yes, we do. I'm so glad you asked. If you go to resilienceinsoftware.org, you can also see a shop. And you\n\ncan get things like this hoodie, the Anti Complexity Complexity Club.\n\n[00:03:20.09] **STEVE MCGHEE:** So we don't like complexity. Is that what you're saying?\n\n[00:03:22.45] **COLETTE ALEXANDER:** But you can only fight complexity with complexity due to the law of requisite variety. Sorry, that's like super\n\ncray.\n\n[00:03:29.63] **STEVE MCGHEE:** That sounds like a paper-content thing, the opinion--\n\n[00:03:31.35] **CLINT BYRUM:** Is there a paper for that one, actually?\n\n[00:03:34.07] **COLETTE ALEXANDER:** There must-- Dr. Woods must have written it, David Woods. Right?\n\n[00:03:38.27] **CLINT BYRUM:** He's the master of complexity, for sure.\n\n[00:03:40.29] **STEVE MCGHEE:** I'd just like to point out that a monorail just went by the window just now.\n\n[00:03:43.81] **CLINT BYRUM:** Monorail?\n\n[00:03:43.99] **STEVE MCGHEE:** I don't know if you guys saw it. We could sing the song if you'd like.\n\n[00:03:46.65] **CLINT BYRUM:** It glides as softly as a cloud.\n\n[00:03:48.63] **STEVE MCGHEE:** That's right. That's right.\n\n[00:03:49.97] **COLETTE ALEXANDER:** [LAUGHS]\n\n[00:03:51.55] **STEVE MCGHEE:** So can you give me a couple top moments so far of the conf? Like, anything hit real good? What do you think?\n\n[00:03:58.87] **COLETTE ALEXANDER:** So I will be-- can I-- you can cut this in the edit. It's fine if you're--\n\n[00:04:04.03] **STEVE MCGHEE:** It can be up. It can be down.\n\n[00:04:05.24] **COLETTE ALEXANDER:** Yeah, I was really-- you saw my reaction. I was really upset at the return of MTTR. What the heck, man?\n\n[00:04:12.90] **STEVE MCGHEE:** It happens.\n\n[00:04:13.00] **COLETTE ALEXANDER:** I thought we got rid of it, and it came back.\n\n[00:04:15.42] **STEVE MCGHEE:** Words are sticky. I don't know.\n\n[00:04:16.34] **COLETTE ALEXANDER:** They really are. I would like to move to-- I mean, I think here's the thing, right? It's like I want us to have real conversations about it. I don't want us to just have lectures about it from the podium. Like, let's talk about what's working, what's not working, but I was\n\na little-- that upset me a little bit.\n\n[00:04:32.12] **CLINT BYRUM:** Yeah, I thought we had contained that to the expo hall.\n\n[00:04:34.52] **COLETTE ALEXANDER:** [LAUGHS]\n\n[00:04:36.48] **CLINT BYRUM:** Like, I expected over there. I understand those things take time, but to have a keynote, not just bring it out, whatever. Some people are still learning how not to say it, but, yeah, it's sort of been a deconstruction process for me. Dr. Forsgren’s work was like seminal in\n\nbringing me into a modern--\n\n[00:04:53.24] **STEVE MCGHEE:** Absolutely.\n\n[00:04:53.64] **CLINT BYRUM:** --history perspective. I think a lot of people would say Accelerate was important and still is important. But that\n\npart, just like all good science, some of it falls to the wayside as new research is done, like Stepan Davidovic killed it, and yet the zombie rises again.\n\n[00:05:13.10] **STEVE MCGHEE:** Yeah. I mean, I think we have to-- we appreciate, I appreciate-- I believe you also appreciate-- the fact that people still do say it, and they still do make decisions based on it, even though it doesn't make any sense. So presenting it, in some cases, to that audience might be\n\nhelpful in some way, as long as it's also like-- if we can then talk about it afterwards.\n\n[00:05:34.58] **COLETTE ALEXANDER:** Also, let's have a conversation about it.\n\n[00:05:36.24] **STEVE MCGHEE:** Yeah, exactly. So I get why it's still happening, but I would really love it if it was like, we're talking about this. By the way, a better way to think about this is blah, blah, blah, blah, blah. So briefly, if you can do it for our audience again, why not MTTR? Can you? We\n\ncould also go get all these people out in the world who will come out and yell, but I trust you guys to not be yelling about this and be--\n\n[00:05:59.72] **CLINT BYRUM:** Yeah, and I'm--\n\n[00:06:00.40] [INTERPOSING VOICES]\n\n[00:06:00.56] **CLINT BYRUM:** --definitely of the, like, I need something to move my house onto off the sandy beach that I didn't realize it was sandy at first. I did see there was a talk on CAST, which is an interesting adjustment, more attuned to replacing root-cause analysis. I didn't know much about\n\nCAST before. I've now got some books to read. So that's an exciting-- like, OK, here's a new model.\n\n[00:06:22.83] But for MTTR, the thing that I've been like sending to executives and sending to engineers is like, no, it's dead. Like, there's a bunch of hyperlinks and documents I write that are like-- and the times in incidents are not related to each other enough to statistically matter. And I link to Stepan Davidovic's very free paper where it explains the math. And he did these Monte Carlo simulations that-- I think if anybody goes and reads those and has the time, which I know many executives do not-- if you have the time to think about it, it presents itself very clearly. You can't move it enough to make it matter\n\nstatistically.\n\n[00:07:00.61] **COLETTE ALEXANDER:** I also want to say-- and this is how I explained it to somebody when I was walking in the hallway with them. And I just said, look, there is an intuitive thing here too that you can grab on to, which is you've had an incident that's lasted three hours, three days, three weeks that might not have impacted your business very much. And you've had an incident that's lasted 10 minutes, I bet, that has-- (WHISPERING) --really sucked\n\nfor your business.\n\n[00:07:24.62] (SPEAKING) And so the other piece that MTTR leaves out is what is the business impact? What are the other elements, besides time, of an incident that actually do materially matter to you? And is chasing the time bunny down the rabbit hole really how you want to spend your time when you're constructing all\n\nof the tooling, all of the automation, all of the whatevers you're going to do to try to lessen that time? Is that really how you want to do it?\n\n[00:07:54.14] **STEVE MCGHEE:** Yeah. I mean, this is another nail in the coffin maybe. We'll hope. I don't know. Do you have a final point?\n\n[00:08:00.14] **CLINT BYRUM:** Very briefly. I also had discussions where similarly to your talk about DR and the lies we tell. Similarly, we have to\n\ngo and say these things publicly, and we need to invite people to come and talk to us.\n\n[00:08:12.61] **STEVE MCGHEE:** Even if they're uncomfortable.\n\n[00:08:13.37] **CLINT BYRUM:** So we're inviting you to come and talk to us if you see us at the next SRE con or at thisisfinepod.com. You could\n\nsubmit a question about this. Why you still maybe--\n\n[00:08:22.03] **STEVE MCGHEE:** Good pitch.\n\n[00:08:22.35] **CLINT BYRUM:** --believe in MTTR.\n\n[00:08:23.75] **STEVE MCGHEE:** Cool. Well, thank you very much, my fellow podcasting friends. That was great.\n\n[00:08:27.57] **COLETTE ALEXANDER:** Thanks, Prodcast. We love you.\n\n[00:08:29.05] **STEVE MCGHEE:** I can't believe you let me wear this hat this whole time. This is very silly.\n\n[00:08:31.69] **CLINT BYRUM:** [LAUGHS] OK, thanks, Steve.\n\n[00:08:34.35] **SPEAKER 2:** You've been listening to the Prodcast, Google's podcast on site-reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virgi. The\n\nProdcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n[00:09:08.55] **SPEAKER 1:** You missed a page from Telebot.", "znaku_textu": 11829, "slov": 2014, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-01", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:10", "sha256": "7c83b4a938bee71e12dc65fec5f142596ff206bc7b2b6868dbbbbc6966bfac19", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02", "titulek": "Mikey Dickerson and Crisis Engineering", "h1": "Mikey Dickerson and Crisis Engineering", "popis": "Crisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02"}, "headline": "Mikey Dickerson and Crisis Engineering", "description": "Crisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.", "image": "https://kstatic.googleusercontent.com/files/05053aeb02a4655bcec9fcc596dd68710b4b4f86392c9f574775aace843980a75bc2bce3aa8dd03bdf670ad33f02d7c06c6fb40b6aab650a7e83e649cb0e862f", "author": [{"@type": "Person", "name": "Mikey Dickerson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Mikey Dickerson and Crisis Engineering"}], "markdown": "# Mikey Dickerson and Crisis Engineering\n\nCrisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**SPEAKER:** You missed a page from Telebot.\n\nWelcome to the Prodcast, Google's podcast on site reliability engineering and production software. My name is Jordan Greenberg, and with me is my host--\n\n**MATT SIEGLER:** Matt Siegler.\n\n**JORDAN GREENBERG:** And today, we have an awesome guest who has worked on things that you've probably used if you're based in the USA. Would you introduce yourself?\n\n**MIKEY DICKERSON:** Sure. My name's Mikey Dickerson. Thank you so much for having me. I worked at Google from 2006 to 2014. I left in 2013 temporarily to work on healthcare.gov, was a US-- it was part of the Affordable Care Act, the Obama administration's kind of signature effort. And then that led to me leaving permanently from California in 2014. I worked at the White House for two and a half years till the end of the Obama administration. Since then, until now, I have a company called Layer Aleph, which is just four of us. Three of us are former Googlers. So you had Carla. Carla Geiser was on your show.\n\n**MATT SIEGLER:** That's true.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** It's a little while ago. She's one of the business partners. She's better at these interviews than I am, so you should probably watch that one instead. And Matt Weaver, who's our--\n\n**JORDAN GREENBERG:** Both, both.\n\n**MIKEY DICKERSON:** Both, yes. That's what I mean to say. Watch both for sure. And Matt Weaver is the other former Googler who is part of our company. And then the fourth partner's name is Marina Nitze. She's the one who did not work at Google.\n\n**JORDAN GREENBERG:** OK. And where do you currently work?\n\n**MIKEY DICKERSON:** That's all we do for money is the consulting company. We do short-term jobs. We ended up specializing in crisis situations, appropriately enough, and that was the next step that seemed to make sense after we had spent 5 to 10 years in SRE at Google. And then the role we did in the federal government was similar-ish. It was interventions in situations that were in crisis. Government. really hates to call it that, but that's what we would call it.\n\n**MATT SIEGLER:** Go ahead for our audience to help us define what you're calling a crisis in your own vernacular.\n\n**MIKEY DICKERSON:** So--\n\n**JORDAN GREENBERG:** Tornado?\n\n**MIKEY DICKERSON:** --right. So if I get to define it, the way we use it and go and define it in our book is we're trying to-- no, right. So no, not necessarily like tornado, although that would qualify, or wildfire or those kinds of things. We've worked in that kind of situation, but it's not common. We're mostly people that fix computer problems. And for the most part, if there's a wildfire, computer problem, it's not high on the list, although--\n\n**JORDAN GREENBERG:** Unless the computer is in--\n\n**MIKEY DICKERSON:** Yeah. I mean, yeah, I won't go on a whole tangent, but the fires in Palisades in Altadena in California a year and a half ago, we didn't do much. But I did hang around with the state government for a couple of days trying to help them figure out how to put the pieces back together. That was in a later stage, so at that point, it was distributing aid. It was trying to set up temporary offices so people could replace lost, burned documents, that kind of thing. Because if you've lost everything all at once and you don't have your credit cards or your passport or your driver's license or your birth certificate, now you got a problem.\n\nSo like that part, yeah, computers got involved. But anyway, your question was, how would we define a crisis? So we would like to kind of strip it of the panicky, negative connotations. And the way we use it means more like a short window of time in which dramatic change is possible. And we go to great lengths in the book to talk about what makes that true. But I guess a capsule version would be that most of the time, you are running on autopilot. Most of the decisions you make are automatic. They're just based on surface impressions and habits and ingrained behaviors.\n\nAnd that's how we get through our day almost all the time. And it's only rarely when something is very disruptive that you're forced to find new scripts and roles and habits, because if you don't, something unacceptable will happen. That short period of time is what we would call a crisis. And it works the same for a big organization as it does for an individual person, because you got to overcome everybody's ingrained habits all at once. And that's why you usually can't do it. It doesn't work most of the time.\n\n**JORDAN GREENBERG:** I see. So I'm still thinking of making this analogy here, so forgive me for that. But in one of the crisis situations where you've been called in to help somebody make a change that will affect the way that their business runs, how their software works, a person who is an EMT might have triage tools or a multi-tool or something like that. And you talked a bit in the past about some of those tools for you, maybe sensemaking is a tool. What are some of the tools that you have to combat these crises?\n\n**MIKEY DICKERSON:** Yeah, I mean, you're right to be thinking about those comparisons. That's the kind of very early discussions that eventually became our company, became this book. We're sitting around at Google and SRE, and I haven't been there in a long time. I don't know. In those days, we noticed it was really conspicuous how very many of the people that showed up in this job had this assortment of oddball backgrounds.\n\nThere were a lot of EMTs. There were a lot of volunteer firefighters. There were a lot of people who did theater tech, for some reason. There are a few things that were-- there you go. So there were a few things that were overrepresented in the data. And we wondered why that might be and decided that it's because a lot of that mindset, it generalizes. It isn't specific. If you like to work on that kind of thing as an EMT, if you like to be a first responder, then you probably will like being a computer first responder, which is kind of what SRE was once upon a time.\n\nSo you said, what are some of those tools? There's a lot, obviously. There's a lot that you develop over time. A thing that we didn't particularly cover in the book that I think is probably at the foundation of all of them, is honestly, just learning to listen will go a long way. We do consulting work now, and we charge a lot of money for it. And two-thirds of what we do is just listen to what people are saying.\n\nOftentimes, things that they've been saying a lot of times for a long time and not being heard. But also underneath the surface of that, there's always a lot more that they would say if they felt like there was any place to say it. So for consulting, that goes a long way. And then you mentioned sensemaking, and that's most of the book ends up organized around actions you can take. So we're starting kind of from the premise that you are in or at least imagining a situation like this where nobody knows what to do. Like, what is the concrete set of things that you do to get out of that, since that seemed like the most useful thing we put down in a book?\n\nAnd that ends up organized around-- I think this is Weaver's words. This ends up organized around what we call the Crisis Engineering Center, which you would recognize as the war room or various names. People don't like to call it a war room. So we change it to Crisis Engineering Center or whatever, which are also words that we made up, but it's a recognizable structure. And we have a bunch of specific tactics that make that more effective.\n\n**MATT SIEGLER:** I'd like to hear a bit about your engagement with an organization. So something quite wonderful about the allegory, if you will, of treating an organization like a human that has a crisis of their own. And you do in the book discuss this allegory at some length. And it is quite relatable that you have an identity crisis of sorts. You encounter a situation that is unchangeable using the methods that you've been employed. And this is the opportunity to learn something new.\n\nAnd so you, an outside consultant, come in, say, as a teacher. Here is some new methods. And the way you've been working, as you say, autopilot isn't going to happen. It's not going to work this way. You can't use your own methods to solve them. They are clearly not working for you right now. You're faced with outside changes that are affecting you. And it's all broken, or it's on fire, as they say. And here's what we're going to do. We're going to ask you a lot of questions, and we're going to listen. And we're going to help you take it apart, and we're going to triage all the things that you can't change and help you make some changes that you can do.\n\nAnd you, the outside, have this wonderful moment of clarity that they haven't had themselves. So I have so many questions that I want to ask you right now, but let's talk about the way you approach the problem from the assessment. Let's just talk about assessment. How do you do that assessment vertically and horizontally at the same time, whether they're a small or large organization?\n\n**MIKEY DICKERSON:** Yes. Can I talk about that human allegory for just a second?\n\n**MATT SIEGLER:** Yeah, please.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** Yeah, you may know it or not, but kind of in the deep background of the book, another influence on us as we put this together is the really obvious. And whether we wanted to or not, we learned a lot about crisis in individual people's lives. Without getting into anybody's business too much, some of us are close to people who have struggled with addiction, for example. And a lot of the words you just said would be extremely recognizable in a 12-step program or--\n\n**MATT SIEGLER:** Yes.\n\n**MIKEY DICKERSON:** --as you're aware. So it all starts with, I think, the lines from the AA manual or something like, our lives had become unmanageable.\n\n**MATT SIEGLER:** Unmanageable,\n\n**MIKEY DICKERSON:** Yep. And whether you are interested in that specific sequence of steps, which is pretty effective for making dramatic change in somebody's life, whether you're interested in that specific set of steps or not, it starts in exactly the same place, which is nothing's going to work until you have yourself decided to find willingness to make changes. And for almost everybody, that won't happen until you have no other choice, until your old script unambiguously has stopped working. The so-called rock bottom.\n\nAnd so our extension of that to organizations is very similar. It's organizations do not change until they are forced to. And then when they're forced to, it's not super pleasant. And now to what your question actually was, what's the assessment process like? So our favorite time to show up is in that moment of total disintegration when people are not sure what to do next, because you have the most opportunity to get something done.\n\n**JORDAN GREENBERG:** Right. There's the motivation in there that's like, we know things aren't right. We want to make changes, and we're open to making these changes. So being in that position as kind of a guiding force is basically how you then are able to see this problem. Now, just echoing that question, when you do go into these businesses and you see their team being out of sorts, and they describe to you their problems, what are some strategies to see the horizontal and the vertical? And how do you lay them out in a way that makes sense for them to understand?\n\n**MIKEY DICKERSON:** So Carla specializes in this. And the section of the book about so-called mapping the system is a lot of her work. She probably talked about it on the podcast, too, where what works for us is to get as many different points of view as we can. So we're going to start with a meeting where the customer, which means whoever the executives-- the CIO, CTO, CEO, or-- in government, all have different titles, but it will be the same-- division head, I don't know, deputy secretary, whatever.\n\nThe executives will get their version of the story first. We can't not, because they're the ones who had to decide to hire us. And so we've met with them. We're going to the first day of meetings is always going to be with them. They're going to tell us everything that's wrong with the whole department. Say, OK, interesting. Very good. Write all this down. There's a lot of grief processing. One of you mentioned one of the things that--\n\n**JORDAN GREENBERG:** Oh, definitely.\n\n**MIKEY DICKERSON:** Yeah, one of the things that was implied in that like, we've reached the state of dissolution where we don't know what we're supposed to do next. There's going to be a lot of frustration and what ultimately is just plain grief over the job I used to do, stopped working. Maybe it isn't a job anymore. This is everybody's fear right now is this AI, blah, blah, blah, everything--\n\n**MATT SIEGLER:** We'll get there.\n\n**JORDAN GREENBERG:** Oh, yeah.\n\n**MIKEY DICKERSON:** Oh, great.\n\n**MATT SIEGLER:** We'll get there.\n\n**MIKEY DICKERSON:** I thought we might.\n\n**MATT SIEGLER:** We were required to.\n\n**MIKEY DICKERSON:** Yes, that's my experience, too. It's against the law to talk without including AI at this point. Anyway, so the executives will give us their point of view. And we'll say, that's interesting. Now we would like to talk to somebody who opens the mail and reads the applications. And the executives never like this because they don't talk to the person who opens the mail. They don't know what they're going to say.\n\nThey're already losing control of the situation, which is why we have to come when they have already lost control of the situation, or else we'll be dead in the water right there. But when they're desperate, when they're grasping at straws, they'll be like, — do we use, can we use profanity here? you can edit that part if you want — the executive is going to say, I don't know why the fuck they want to talk to the person who opens the mail.\n\nBut they're expensive, and we hired them so that we could say we did something, which is more or less the process in their head. So like, fine, whatever they say. And we'll go talk to the person who opens the mail, and we will, within five minutes, learn a completely different set of problems of what is wrong with the organization because the person who opens the mail-- I'm making this up. This is not a real example, but it's not very different from a real example.\n\nThe person who opens the mail has for 10 years been getting this form, and the form doesn't have a space on it for the thing that the person was trying to express. So they will include a written letter, or they'll cross out part of-- whatever. There'll be some sense in which the form didn't accommodate the situation, and the person who opens the mail is the only one who knows that because they just look at that. Their job is to type it into the computer.\n\nThe computer doesn't have a space for you to put the handwritten note that was written in. So the note goes in the trash. And that's been happening for years. The executive had no idea that it was going on.\n\n**JORDAN GREENBERG:** That's how noisy alerts feel.\n\n**MIKEY DICKERSON:** Yeah.\n\n**MATT SIEGLER:** [LAUGHS]\n\n**MIKEY DICKERSON:** And we'll do that five more times with the people at different levels of the organization. And there are all these organizational boundaries that are always all screwed up, where a similar thing will happen at the handover between the first adjudication and the appeal. For us, there's a huge number of things that are structured that way. It's like a decision and then an appeal.\n\n**MATT SIEGLER:** Oh, so there are legal things that show up of--\n\n**MIKEY DICKERSON:** Always.\n\n**MATT SIEGLER:** OK.\n\n**MIKEY DICKERSON:** Yes. Yes, yes, yes. **MATT SIEGLER:** I don't even know how to ask questions about that.\n\n**JORDAN GREENBERG:** You can skip that.\n\n[LAUGHTER]\n\n**MIKEY DICKERSON:** It's not that different. It's just always entangled with-- it's always entangled in the same kinds of ways. And we're not lawyers either. Our contract has all these disclaimers that are like, we don't give medical advice, legal advice, cybersecurity advice, investing advice. Anything that is regulated, we don't do. We do all the-- we fill in all the gaps.\n\n**MATT SIEGLER:** But you're effectively giving psychosocial advice and counseling to a body of individuals.\n\n**BOTH:** Yes.\n\n**MATT SIEGLER:** Interpersonally, in a way, a cultural kind of refactor.\n\n**MIKEY DICKERSON:** Yes, yes. This--\n\n**MATT SIEGLER:** And you're analyzing them. They're open because they've had this crisis happen to them. The way you pose it in the book is very effective in the way you-- this is your moment of clarity. Here we are. And we're ready for-- if you're ready, we're ready. That's the way you're posing it here.\n\n**MIKEY DICKERSON:** Yep.\n\n**MATT SIEGLER:** And you're saying, well, can we look at your whole organization and all of its dysfunction, why you got here? And the way you just presented is you're running on autopilot using your old methods, and they're not working. And then part of why it wasn't working is why you got here, perhaps. Or there's just new things on the ground that you weren't ready for.\n\n**MIKEY DICKERSON:** Yep, yep. I mean, it's--\n\n**MATT SIEGLER:** So how do we-- OK, so you've introduced new things. Now my follow-up here is, great. You're going to do these new things or introduce some new behaviors or a new role. How is that going to continue after you've left, or how is the new factor is going to suddenly not just go right back to where they were before?\n\n**MIKEY DICKERSON:** Our kind of premise is things won't go back to the way they were before because they can't. If they could, then this wasn't really an existential crisis.\n\n**JORDAN GREENBERG:** They weren't ready yet.\n\n**MIKEY DICKERSON:** Or they weren't ready, or they just fail. We do the best we can, and we think we're reasonably good at it. But not every organization-- we wouldn't call every crisis outcome a success that we've worked with.\n\n**MATT SIEGLER:** There's a quote in your book of the Marine quote, \"all bleeding stops eventually.\"\n\n**MIKEY DICKERSON:** Yes, exactly. That's right. That's the right model is like, if the disruption was enough, then there's only three things that can happen. You have the organization adapts. And there are good adaptations. There are maladaptations, since we're talking about psychotherapy a minute ago.\n\nAnd what we pitch ourselves as is giving you the opportunity to steer in the direction of good adaptations that will serve you better in the long term, because you're going to adapt. That's case 1. That's if you survive. Case 2, the organization may just not survive. That's easier for a private company than it is for a public sector agency because they--\n\n**MATT SIEGLER:** Fair point.\n\n**JORDAN GREENBERG:** Yeah\n\n**MIKEY DICKERSON:** --kind of can't just go out of business because they're not making money anymore. It turns out, nature does eventually adapt around you even if you don't. So anyway, that's case 2 is the organization doesn't exist anymore. And that's most corporate bankruptcies, whatever.\n\nCase 3 is kind of the most common case by far. And it's the one that you just kind of muddle through, which means that you maybe have some kind of half-implemented, half-thought-out adaptations that survive. But mostly, the crisis burns itself out. All bleeding stops eventually, yes. The wildfire will not go on forever. Even if we do absolutely nothing, even if we're so bad at fighting the wildfire that we're pouring gasoline on it, which is the equivalent of what a lot of organizations do, the fire still won't burn forever. It will eventually stop.\n\nAnd the memory of it will become this fossilized organizational-- it'll become this massive scar that never really heals. And we see those, especially in government customers and government organizations, because many of them have been around for so long without really any serious corrective pressure, like we were saying a second ago.\n\nMany agencies we go to, we will find things that are nonsensical. This entire division manages a backlog, which is infinity long and will never go away. And it's been doing that since before I was born. And we're like, how, why? Like, nope, that's just how it is. We're not touching it. When you hear a story like that, that is the evidence that there was a crisis about 50 years ago that we did not win.\n\n**JORDAN GREENBERG:** I see.\n\n**MIKEY DICKERSON:** And it's still here.\n\n**JORDAN GREENBERG:** This is actually very interesting because I'm thinking to myself, in business, what are the things that are crisis-shaped that I saw? How did they resolve? So one thing that maybe we could give to our listeners is sort of like detection skills. What are some signals that you could see that are like, this is heading in a way that, without some abrupt and thoughtful change, might make it difficult for us to continue operating at this rate? So I'm thinking like bug bankruptcy. You have so much stuff in your backlog. And should you not say, we just can't prioritize all of this work? This is our framework criteria of how we made this change. We're going to go about it this way and say, this work we can do. This is what we can't do. All of a sudden, this improves the overall health because then some things have been closed. Some things are still being worked on.\n\nSo if we have scenarios like that in business for smaller scale or bigger scale for teams that are like, I see something, I feel something is wrong, what are tools or thoughts that they can tap into to know a crisis is coming, we should be prepared?\n\n**MIKEY DICKERSON:** The bug bankruptcy is a good example and I'm sure will be very relatable to a lot of people that will hear us. And I know you're a TPM, so that probably has left you in a situation more than once where it is your job to care about something like a bug backlog that nobody else seems to care about.\n\n**JORDAN GREENBERG:** So hard.\n\n**MIKEY DICKERSON:** That is an extremely common circumstance for people. And one thing, it's kind of a side effect of our book and our speaking tours and whatever. We didn't intend this, but it's still gratifying sometimes to hear. Sometimes people find our book kind of just a comfort as far as we're just saying that, yes, this happens to everybody all the time. And sometimes there is nothing you can do about it because it depends on conditions that you can't control.\n\nI was an SRE middle manager in my glory days, and I had any number of teams with infinitely growing bug backlogs. And what we would offer that you probably have figured out on your own, but it might help to hear somebody say out loud, is, one, there is no power on Earth that can make somebody care about something that they don't care about. This goes to the 12-step program again.\n\nIf I can see-- and it will be easier for me to see standing as an outsider outside the frame-- if I can see that your whatever, your coping strategies, your life, your organizational practices are unsustainable, but you don't think that yourself, then what I think will not matter. I could be a therapist. I could be a preacher. I could be a coach. I could be a cop. I still cannot make you care. You have to decide to care yourself.\n\nAnd to your question about when you might see that the opportunity for people to care is coming, we have this list-- and I think it's mostly Marina and Weaver's work as we put the book together. We have this list of the indicators of a useful crisis. And some of them, you can-- well, I guess I'll get to that question when we get to it. But the indicators that we put down in the book are, there's an external shock, a surprise, a fundamental surprise, which, to skip another lengthy thing in the book, just means something has happened that you didn't think was possible to happen, basically. It's different from everyday surprise.\n\nThere's a deadline. That's really where we fall down on bug bankruptcy a lot of time, in my experience, is because there isn't any deadline, not really. Like, I can make one up, but now I'm telling people to care again. And it doesn't work. There has to be a deadline that is not just something I made up, that everybody can see is there really is a meteor coming or whatever it is, and we can't avoid it. So--\n\n**MATT SIEGLER:** This is what release dates are for.\n\n**MIKEY DICKERSON:** Yeah, release dates are that. And even that--\n\n**MATT SIEGLER:** Public release dates.\n\n**MIKEY DICKERSON:** Right, and even that, I'm sure you guys, in your roles, know how to do this. But even a release date is a little bit made up because the company could change it if it wants to. But in order to make the engineering team treat it as real, you have to be like, there is nothing we can do.\n\n**MATT SIEGLER:** Like, a paycheck is always payday.\n\n**MIKEY DICKERSON:** Yes, exactly.\n\n**MATT SIEGLER:** Payday is not changeable.\n\n**MIKEY DICKERSON:** Right, precisely. And tax day is not changeable. So for the IRS, if things aren't working and April 15 is coming--\n\n**MATT SIEGLER:** Wow.\n\n**MIKEY DICKERSON:** An election is even less changeable than tax day. Like, I could imagine a set of circumstances. And in fact, the pandemic was a set of circumstances in which the IRS was able to say to some people in some circumstances, like, oh, the deadline's just moved. It's going to be in--\n\n**MATT SIEGLER:** Yeah, we found out that was--\n\n**JORDAN GREENBERG:** And extensions.\n\n**MATT SIEGLER:** --something was off deadline.\n\n**MIKEY DICKERSON:** Yes.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** Yeah, it turns out that can be moved. Like, an election, even less movable. That's in the actual Constitution when that is.\n\n**MIKEY DICKERSON:** But the pandemic is something that was like natural forces that you have to squint a little bit to say that for the last 100 years, the field of public health did have a hard deadline that was immovable. It didn't know when it was.\n\n**JORDAN GREENBERG:** Right. Nobody told them.\n\n**MIKEY DICKERSON:** Because, right, they didn't get informed that the release date for COVID-19 was like November 2019, right?\n\n**JORDAN GREENBERG:** Hey, we're patching this. Just like, I mean, we're going to test your crisis systems, your response. And it's not going to be good. No postmortem on that one, by the way.\n\n**MATT SIEGLER:** I have a question about-- you said especially about can't make you care about things. You have a remarkable insight about when you interview all these people in these organizations. Do you find a disorderly level of care about non-overlapping cares in these organizations? Like, this person thinks this is the most important thing. This person thinks this is the most important thing. And organizationally, they've distributed the values so poorly that no one cares about the right things in the same direction?\n\n**MIKEY DICKERSON:** Yeah, absolutely.\n\n**MATT SIEGLER:** And can you help fix that, or is that not fixable? Can that be fixed by anybody?\n\n**MIKEY DICKERSON:** The crisis is what fixes that, is my claim. And this, yes, the starting condition that you described, that is absolutely normal operations in any big organization of any kind. Talk to 10 different people, ask them what's the most important thing. And to give them a fighting chance, ask them, what are the three most important things?\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** And you'll get-- if you're lucky, everybody will include one thing the same-ish. When Google was smaller-- I don't know, you can tell me what it's like now, but when Google was smaller, it was people really believed in a few of the things like focus on the user, don't be evil, blah, blah, blah. You would get-- if you asked randomly selected 10 people out of the 5,000-person company what the three most important things were, there's a good chance you'd hear 30% overlap, something like that. And that was a very good case.\n\nIn an older company, in a company that doesn't face what they perceive as intense competition. And I'm saying that in order to not just be only talking about government organizations, because they for sure exhibit this, but companies where there isn't a lot of sense of urgency or this too, if you ask 10 randomly selected people from the 20,000-person company, you're very likely going to hear that the things on the top of everybody's mind is the standing war with the other division, which is across the hall.\n\nAnd that's what they're spending all their energy on. It's what they've been spending all their energy on their whole careers. They've never seen it any other way. Can that be fixed? There may be a different book somewhere that talks about some extraordinarily effective leader that can just walk in cold and make that happen, but I can't say I've really seen it with my eyes. And I've worked for people that I think are pretty strong leaders. I've worked for President Obama and his chief of staff, Denis McDonough. And I didn't-- Weaver did more than I did, worked with General McChrystal, who ran-- I may screw this up, ran JSOC, Joint Special Operations Command, in Afghanistan.\n\nSo like, I feel like probably there aren't just a better tier of leaders out there that I haven't ever run across. You probably have worked with the kind of top shelf and the middle shelf and the bottom shelf. But what we see is really effective leaders are those that can take something that has the potential to kind of-- I don't have good words for this analogy. Kind of like a magnet becomes a magnet because all the domains are aligned, right? And that only happens when an external field of overpowering strength happens. Otherwise, they point in random directions. That's the company in normal times.\n\nIf a crisis is the external field that lines everything up, at least temporarily, and leaders can now take the organization they want it to go if they see that and know how to exploit. I mean, I don't mean exploit in the usual negative sense-- take advantage of, make use of, not waste the opportunity that is presented to them. But I don't know, my claim is that the crisis is a necessary ingredient. I don't think it happens otherwise.\n\n**JORDAN GREENBERG:** Gotcha.\n\n**MATT SIEGLER:** So let's tie this back to where we started a bit about SRE. You said SRE seems to be an organization that's natively the right ladder, if you will, for the kinds of people who seem to be fit for this mission.\n\n**JORDAN GREENBERG:** Mm-hmm.\n\n**MATT SIEGLER:** Our audience is SRE, SRE adjacent. Why do you think this is true? If you say it is true, do you have any idea of why? What's drawing them into this field?\n\n**MIKEY DICKERSON:** That's a good question and not one that I prepared for. So let's see. I'll do my best. I guess the first thing that comes to mind is SRE as I knew it-- I hinted at this before-- tended to attract all the people that didn't quite fit in anywhere else. And even when you put them all together in one room, it's not like they now all fit in with each other either. There's still a bunch of weirdos and oddballs. And there's--\n\n**JORDAN GREENBERG:** Us?\n\n**MIKEY DICKERSON:** As I say, that's how I experienced it. Your listeners', viewers' experience may be different now.\n\n**MATT SIEGLER:** That came out of your mouth, by the way.\n\n**MIKEY DICKERSON:** All right, yes. So I'm the one saying that it used to be a bunch of oddballs. And that is a valuable role for the organization to have, even though it is a tough one to play for the person experiencing it a lot of the time, because it is one of these people that is going to say when the emperor has no clothes. And boy, are there situations like that in the tech industry right now.\n\nAnd people who have a little bit of a contrarian streak-- and I'm projecting some because I perhaps have a little bit of a contrarian streak myself, I've been told-- that's necessary. And thinking of things, one of our favorite ancient holy textbooks is this thing called Inside Bureaucracy. It's by this guy Anthony Downs. It was a RAND Corporation publication from 1960, 1962, I don't know, something like that.\n\nAnd he neatly categorizes all the bureaucrats in the government into there are statesmen who mostly just want everybody to get along. There are conservers who just want everything to stay the same way it is. There are climbers who want their career to advance. And then there are zealots who care about something for some reason, God only knows why. And yes, you're laughing because you know these characters inside SRE, inside Google, inside every-- and tell me if I'm wrong, but an unusual concentration of zealots who care about something that God only knows why ended up in SRE. I know you--\n\n**MATT SIEGLER:** Productive zealotry can be a force for good if it doesn't overlap too much.\n\n**MIKEY DICKERSON:** Yes, yes.\n\n**JORDAN GREENBERG:** If the thing that they care about is keeping the lights on?\n\n**MATT SIEGLER:** Yeah.\n\n**JORDAN GREENBERG:** Oh, that is a perfect fit.\n\n**MATT SIEGLER:** And customers can access your thing.\n\n**JORDAN GREENBERG:** Yes, yes.\n\n**MIKEY DICKERSON:** And when that is the thing that they latch onto as their oddball value system, that's why it delivers real value to the overall engineering company, because somebody has to care about keeping the lights on.\n\n**MATT SIEGLER:** At all costs. Well, at most costs.\n\n**JORDAN GREENBERG:** Some costs.\n\n**MIKEY DICKERSON:** At most costs.\n\n**MATT SIEGLER:** At measured costs, like specific number of nines costs.\n\n**MIKEY DICKERSON:** Right, right. I mean, yes, in a tech company, we're talking about keeping a website up for the most part. It's not like flying a plane, but nobody's going to die to keep the web search availability above a certain number. But they probably are going to stay up all night to keep web search availability above a certain number. They probably are going to miss family obligations. And like, we don't love that. We try to plan around that, but somebody has to care that much, or it won't happen.\n\n**JORDAN GREENBERG:** Right, absolutely.\n\n**MATT SIEGLER:** So in the book, you suggest that we can't really automate human behavior just yet. And we're now seeing, as you said, a role reversal in some cases where we're having humans work for a machine with some AI introductions. How have you seen any of that in your first-hand experiences?\n\n**MIKEY DICKERSON:** I mean, it seems to be impossible to talk about anything even remotely technology related, which is most of what I do. So it seems to be impossible to talk about anything remotely technology related without talking about your opinions on AI these days. So do we see it everywhere? Yes. Do we get that question everywhere? Yes.\n\nI have a project besides the book which comes out today. I have a project that's more about preparing for a future presidential administration that I don't want to be about AI. And yet the question is, every room that we go to is, what about AI? What about AI? I mean, I'm going to talk with way less confidence about the future than I can about the past, which, as we covered, is how sensemaking works. It's retrospective, but where I'm at, I can only give my opinion. So here it is.\n\nWhere I'm at is I think we are learning interesting things that are not fully articulated yet and will probably be more clear in 10 or 20 years about what the limitations of what we're now calling AI still are and what makes that interesting and different from what humans can do. I have a whole talk which I won't subject you to right now, but I have a whole talk where I try to get government people to understand the context of changes that are happening now.\n\nAnd one of the points that I make is that AI isn't two words that were invented three years ago. People were talking about it since before they built the computers that could even run the algorithms on. Alan Turing and people in that generation were asking these questions. What about when machines can think? And one interesting fact about the last 70 years is that we can't build a machine to replicate how people think, because we have no idea how people think. We don't know what intelligence is.\n\nSo we keep making up a definition out of thin air. For a long time, all the serious people agreed that if we could build a machine that could play chess, that would prove it was intelligence. And if you're sitting around in 1955 or 1960--\n\n**MATT SIEGLER:** It's plausible.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** This is what people agreed on. I wasn't there. I don't know what I would have said if I was there, but no one would ask me, is the reality. But everyone who thought about these things could not imagine a situation in which you could build a machine that could play chess and win and wasn't thinking.\n\n**MATT SIEGLER:** Right.\n\n**MIKEY DICKERSON:** But then we did that. We built a machine that plays chess. And when we saw that solution, we were like, this is not interesting. This machine is not thinking.\n\n**MATT SIEGLER:** Whoops, that was wrong.\n\n**MIKEY DICKERSON:** Right, that was the wrong problem. Like, we just all agreed. There wasn't really an argument about it. When Deep Blue finally won, like 1994 or whatever it was, '96 maybe, no one had a big philosophical debate about whether this machine was sentient. They knew it was just doing a brute force search of a red-black tree, basically. And they're like, well, that's not-- all right, wrong problem. Now, if a machine could have a conversation--\n\n**MATT SIEGLER:** Aha, voila.\n\n**MIKEY DICKERSON:** And then we went through other stages too, but I'm abbreviating. The Turing test, which we thought up a long time ago. Everyone agreed that if a machine could have a conversation that could speak English so well that you couldn't tell it wasn't a person, then that would definitely be thinking. Well, now we've built that. It's called an LLM, and it does, in fact, fool a whole lot of people.\n\n**JORDAN GREENBERG:** That's true.\n\n**MIKEY DICKERSON:** Famously, one at Google earlier than it was cool who quit and made a lot of noise--\n\n**MATT SIEGLER:** That's true.\n\n**MIKEY DICKERSON:** --believing that one of the very early DeepMind models was conscious, was thinking. And it does fool a lot of people, but I think-- we're speaking here in 2026. I think the consensus amongst AI researchers, everybody is that no, Claude and ChatGPT and the models that we have right now, they're not conscious, they don't have feelings. They don't have a reasoning process. We can see exactly how they work. They're just really big.\n\nIt's a matrix. It does a big multiplication. It does some fancy sauce on top, and it produces a string of words. But that's not really thinking either. So I think the most interesting thing that we're learning about 70 years of AI is we're learning how little we understand how humans think. And I won't be the one to do it because I'm not expert enough in this, but someone eventually will connect the kind of core ideas that we think are important in our book, like sensemaking and the so-called System 1.\n\nI think I mentioned this in passing, but Daniel Kahneman has this book Thinking Fast and Slow, which is very famous. He says that we think-- he finally threw up his hands and said, we just have two different machines, basically, running in our head. One of them is called System 1, and it just makes decisions on autopilot based on impressions and habits and so forth. And the other one is really slow and expensive, and it's the one that can do matrix multiplication by hand and can learn an algorithm and can reason. That's your System 2 brain, and it burns a ton of calories. And we really hate using it, and we'll do anything to avoid using it if we can.\n\n**JORDAN GREENBERG:** That's true.\n\n**MATT SIEGLER:** Is that the system that an organization needs to use in order to improve itself?\n\n**MIKEY DICKERSON:** Well, that's a good question because it gets kind of paradoxical. I would claim that what the crisis does is temporarily gives the System 1 brain-- disables the System 1 brain because it's got too many-- it can't work. Your habits are no longer functional, so you have no choice. That's why I say, we really hate doing this, and we'll do anything to avoid it. But you have no choice but to think and find new ways to get things done.\n\nAnd AI, as it's been imagined up to this point, as far as I know, is almost entirely trying to replicate that System 2 brain. Like, it's never even thought about that first thing. Nobody anywhere that I've ever read about is building a machine and trying to start with getting it to feel unhappy or--\n\n**JORDAN GREENBERG:** Certainly.\n\n**MATT SIEGLER:** Like, we're trying to get it to think and reason and talk and blah, blah, blah.\n\n**JORDAN GREENBERG:** I think kind of what you're saying is people now are using AI for the System 2 thinking, but they want it at System 1 speed so that the decision that their System 1 brain wants to make, they can do that gut check against an LLM and say, am I right, or is this right? Am I going to do this, this, or this? And then a machine will do the System 2 thinking, a billion calculations a second, a shortened amount of that, put it in front of you. And then you can continue your System 1 thinking-- what am I going to do next?\n\n**MIKEY DICKERSON:** Yeah, that's right. I think the point that I was very slowly making my way around to is what people want and what would actually be able to replace so many jobs and cause all this disruption, all the doomsday prophecies, what people really want is a machine that can do all the things a human does. We can't define artificial general intelligence either, but it's approximately what I just said-- we want a machine that can do everything that a human does.\n\nAnd I suspect that the path we're on, which is only attempting to re-implement the calculator part of a person, will never do that, because that other part of a person is no less important in the fact that it's embodied in an--\n\n**MATT SIEGLER:** Interesting.\n\n**MIKEY DICKERSON:** I'm not the first person to think this up, but it's the embodiment hypothesis, I think, which is to say that it's not actually the case, that I could scoop your brain out, put it in a jar, hook up a bunch of Elon Musk's Neuralink wires to it, and still have a recognizable person. It's just not true. You aren't a person without all of the rest of your central nervous system, your sensory organs, everything else that makes you a person. That's also a non-negotiable part of the package.\n\n**MATT SIEGLER:** There's a lot to chew on here.\n\n**JORDAN GREENBERG:** It is a lot to chew on. And--\n\n**MIKEY DICKERSON:** I know.\n\n**JORDAN GREENBERG:** --while we do that, maybe we can talk about where we can find you on the internet. And what is this? Something that you referred to a couple of times.\n\n**MATT SIEGLER:** Yeah, there's a book.\n\n**MIKEY DICKERSON:** This artifact you're holding is a book called Crisis Engineering and is by me, Matt Weaver, and Marina Nitze. It is available today. This is April 7 we're taping, I assume I can say.\n\n**MATT SIEGLER:** Yeah.\n\n**MIKEY DICKERSON:** And today is the day that it is released, which I assume means that if you go to any bookstore in the country, you will see a huge pile of them at the front table.\n\n**MATT SIEGLER:** Every airport.\n\n**MIKEY DICKERSON:** Every airport, yep.\n\n**JORDAN GREENBERG:** Yeah. For some light airport reading, yeah.\n\n**MIKEY DICKERSON:** I am going to write some very angry letters if I don't see it at every airport bookstore I walk by on my way home.\n\n**JORDAN GREENBERG:** You heard it here first.\n\n**MIKEY DICKERSON:** Yep.\n\n**JORDAN GREENBERG:** Where else can we find you on the internet?\n\n**MIKEY DICKERSON:** The most consistent place-- I don't like this answer, but the most consistent place where you can keep up with what I'm doing is on LinkedIn. It's just Mikey Dickerson. I don't think it's hard to find. And then from there, I occasionally put things on Medium. I have a couple of other newsletters that I'm connected to. And our company website is layeraleph.com, where aleph is A-L-E-P-H.\n\n**MATT SIEGLER:** Cool.\n\n**JORDAN GREENBERG:** Sounds good to me. Any other last questions before we go?\n\n**MATT SIEGLER:** No, if I ask any more questions, I think I'll start too many things.\n\n**JORDAN GREENBERG:** It'll be a seven-hour episode.\n\n**MATT SIEGLER:** Thank you.\n\n**JORDAN GREENBERG:** So with that, we have been Jordan and Matt, co-hosts of the Prodcast. Thank you for listening. This has been--\n\n**MIKEY DICKERSON:** I'm Mikey Dickerson, and glad to have been here.\n\n**JORDAN GREENBERG:** Thank you so much for coming.\n\n**MIKEY DICKERSON:** Thank you.\n\n**JORDAN GREENBERG:** Have a great day, everybody.\n\nYou've been listening to the Prodcast, Google's podcast on site reliability engineering and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER:** You missed a page from Telebot.", "znaku_textu": 45376, "slov": 8154, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:28", "sha256": "922b4b89cc0c4decbda4ad70e65d3664fd3397f7f42e84d5985af3a7c1cbe7db", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02/", "titulek": "Mikey Dickerson and Crisis Engineering", "h1": "Mikey Dickerson and Crisis Engineering", "popis": "Crisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02"}, "headline": "Mikey Dickerson and Crisis Engineering", "description": "Crisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.", "image": "https://kstatic.googleusercontent.com/files/05053aeb02a4655bcec9fcc596dd68710b4b4f86392c9f574775aace843980a75bc2bce3aa8dd03bdf670ad33f02d7c06c6fb40b6aab650a7e83e649cb0e862f", "author": [{"@type": "Person", "name": "Mikey Dickerson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Mikey Dickerson and Crisis Engineering"}], "markdown": "# Mikey Dickerson and Crisis Engineering\n\nCrisis Engineer Mikey Dickerson joins us to talk about what constitutes a crisis. Mikey draws on his broad experience across industry and the public sector, as well as on work with his team of systems fixers.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**SPEAKER:** You missed a page from Telebot.\n\nWelcome to the Prodcast, Google's podcast on site reliability engineering and production software. My name is Jordan Greenberg, and with me is my host--\n\n**MATT SIEGLER:** Matt Siegler.\n\n**JORDAN GREENBERG:** And today, we have an awesome guest who has worked on things that you've probably used if you're based in the USA. Would you introduce yourself?\n\n**MIKEY DICKERSON:** Sure. My name's Mikey Dickerson. Thank you so much for having me. I worked at Google from 2006 to 2014. I left in 2013 temporarily to work on healthcare.gov, was a US-- it was part of the Affordable Care Act, the Obama administration's kind of signature effort. And then that led to me leaving permanently from California in 2014. I worked at the White House for two and a half years till the end of the Obama administration. Since then, until now, I have a company called Layer Aleph, which is just four of us. Three of us are former Googlers. So you had Carla. Carla Geiser was on your show.\n\n**MATT SIEGLER:** That's true.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** It's a little while ago. She's one of the business partners. She's better at these interviews than I am, so you should probably watch that one instead. And Matt Weaver, who's our--\n\n**JORDAN GREENBERG:** Both, both.\n\n**MIKEY DICKERSON:** Both, yes. That's what I mean to say. Watch both for sure. And Matt Weaver is the other former Googler who is part of our company. And then the fourth partner's name is Marina Nitze. She's the one who did not work at Google.\n\n**JORDAN GREENBERG:** OK. And where do you currently work?\n\n**MIKEY DICKERSON:** That's all we do for money is the consulting company. We do short-term jobs. We ended up specializing in crisis situations, appropriately enough, and that was the next step that seemed to make sense after we had spent 5 to 10 years in SRE at Google. And then the role we did in the federal government was similar-ish. It was interventions in situations that were in crisis. Government. really hates to call it that, but that's what we would call it.\n\n**MATT SIEGLER:** Go ahead for our audience to help us define what you're calling a crisis in your own vernacular.\n\n**MIKEY DICKERSON:** So--\n\n**JORDAN GREENBERG:** Tornado?\n\n**MIKEY DICKERSON:** --right. So if I get to define it, the way we use it and go and define it in our book is we're trying to-- no, right. So no, not necessarily like tornado, although that would qualify, or wildfire or those kinds of things. We've worked in that kind of situation, but it's not common. We're mostly people that fix computer problems. And for the most part, if there's a wildfire, computer problem, it's not high on the list, although--\n\n**JORDAN GREENBERG:** Unless the computer is in--\n\n**MIKEY DICKERSON:** Yeah. I mean, yeah, I won't go on a whole tangent, but the fires in Palisades in Altadena in California a year and a half ago, we didn't do much. But I did hang around with the state government for a couple of days trying to help them figure out how to put the pieces back together. That was in a later stage, so at that point, it was distributing aid. It was trying to set up temporary offices so people could replace lost, burned documents, that kind of thing. Because if you've lost everything all at once and you don't have your credit cards or your passport or your driver's license or your birth certificate, now you got a problem.\n\nSo like that part, yeah, computers got involved. But anyway, your question was, how would we define a crisis? So we would like to kind of strip it of the panicky, negative connotations. And the way we use it means more like a short window of time in which dramatic change is possible. And we go to great lengths in the book to talk about what makes that true. But I guess a capsule version would be that most of the time, you are running on autopilot. Most of the decisions you make are automatic. They're just based on surface impressions and habits and ingrained behaviors.\n\nAnd that's how we get through our day almost all the time. And it's only rarely when something is very disruptive that you're forced to find new scripts and roles and habits, because if you don't, something unacceptable will happen. That short period of time is what we would call a crisis. And it works the same for a big organization as it does for an individual person, because you got to overcome everybody's ingrained habits all at once. And that's why you usually can't do it. It doesn't work most of the time.\n\n**JORDAN GREENBERG:** I see. So I'm still thinking of making this analogy here, so forgive me for that. But in one of the crisis situations where you've been called in to help somebody make a change that will affect the way that their business runs, how their software works, a person who is an EMT might have triage tools or a multi-tool or something like that. And you talked a bit in the past about some of those tools for you, maybe sensemaking is a tool. What are some of the tools that you have to combat these crises?\n\n**MIKEY DICKERSON:** Yeah, I mean, you're right to be thinking about those comparisons. That's the kind of very early discussions that eventually became our company, became this book. We're sitting around at Google and SRE, and I haven't been there in a long time. I don't know. In those days, we noticed it was really conspicuous how very many of the people that showed up in this job had this assortment of oddball backgrounds.\n\nThere were a lot of EMTs. There were a lot of volunteer firefighters. There were a lot of people who did theater tech, for some reason. There are a few things that were-- there you go. So there were a few things that were overrepresented in the data. And we wondered why that might be and decided that it's because a lot of that mindset, it generalizes. It isn't specific. If you like to work on that kind of thing as an EMT, if you like to be a first responder, then you probably will like being a computer first responder, which is kind of what SRE was once upon a time.\n\nSo you said, what are some of those tools? There's a lot, obviously. There's a lot that you develop over time. A thing that we didn't particularly cover in the book that I think is probably at the foundation of all of them, is honestly, just learning to listen will go a long way. We do consulting work now, and we charge a lot of money for it. And two-thirds of what we do is just listen to what people are saying.\n\nOftentimes, things that they've been saying a lot of times for a long time and not being heard. But also underneath the surface of that, there's always a lot more that they would say if they felt like there was any place to say it. So for consulting, that goes a long way. And then you mentioned sensemaking, and that's most of the book ends up organized around actions you can take. So we're starting kind of from the premise that you are in or at least imagining a situation like this where nobody knows what to do. Like, what is the concrete set of things that you do to get out of that, since that seemed like the most useful thing we put down in a book?\n\nAnd that ends up organized around-- I think this is Weaver's words. This ends up organized around what we call the Crisis Engineering Center, which you would recognize as the war room or various names. People don't like to call it a war room. So we change it to Crisis Engineering Center or whatever, which are also words that we made up, but it's a recognizable structure. And we have a bunch of specific tactics that make that more effective.\n\n**MATT SIEGLER:** I'd like to hear a bit about your engagement with an organization. So something quite wonderful about the allegory, if you will, of treating an organization like a human that has a crisis of their own. And you do in the book discuss this allegory at some length. And it is quite relatable that you have an identity crisis of sorts. You encounter a situation that is unchangeable using the methods that you've been employed. And this is the opportunity to learn something new.\n\nAnd so you, an outside consultant, come in, say, as a teacher. Here is some new methods. And the way you've been working, as you say, autopilot isn't going to happen. It's not going to work this way. You can't use your own methods to solve them. They are clearly not working for you right now. You're faced with outside changes that are affecting you. And it's all broken, or it's on fire, as they say. And here's what we're going to do. We're going to ask you a lot of questions, and we're going to listen. And we're going to help you take it apart, and we're going to triage all the things that you can't change and help you make some changes that you can do.\n\nAnd you, the outside, have this wonderful moment of clarity that they haven't had themselves. So I have so many questions that I want to ask you right now, but let's talk about the way you approach the problem from the assessment. Let's just talk about assessment. How do you do that assessment vertically and horizontally at the same time, whether they're a small or large organization?\n\n**MIKEY DICKERSON:** Yes. Can I talk about that human allegory for just a second?\n\n**MATT SIEGLER:** Yeah, please.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** Yeah, you may know it or not, but kind of in the deep background of the book, another influence on us as we put this together is the really obvious. And whether we wanted to or not, we learned a lot about crisis in individual people's lives. Without getting into anybody's business too much, some of us are close to people who have struggled with addiction, for example. And a lot of the words you just said would be extremely recognizable in a 12-step program or--\n\n**MATT SIEGLER:** Yes.\n\n**MIKEY DICKERSON:** --as you're aware. So it all starts with, I think, the lines from the AA manual or something like, our lives had become unmanageable.\n\n**MATT SIEGLER:** Unmanageable,\n\n**MIKEY DICKERSON:** Yep. And whether you are interested in that specific sequence of steps, which is pretty effective for making dramatic change in somebody's life, whether you're interested in that specific set of steps or not, it starts in exactly the same place, which is nothing's going to work until you have yourself decided to find willingness to make changes. And for almost everybody, that won't happen until you have no other choice, until your old script unambiguously has stopped working. The so-called rock bottom.\n\nAnd so our extension of that to organizations is very similar. It's organizations do not change until they are forced to. And then when they're forced to, it's not super pleasant. And now to what your question actually was, what's the assessment process like? So our favorite time to show up is in that moment of total disintegration when people are not sure what to do next, because you have the most opportunity to get something done.\n\n**JORDAN GREENBERG:** Right. There's the motivation in there that's like, we know things aren't right. We want to make changes, and we're open to making these changes. So being in that position as kind of a guiding force is basically how you then are able to see this problem. Now, just echoing that question, when you do go into these businesses and you see their team being out of sorts, and they describe to you their problems, what are some strategies to see the horizontal and the vertical? And how do you lay them out in a way that makes sense for them to understand?\n\n**MIKEY DICKERSON:** So Carla specializes in this. And the section of the book about so-called mapping the system is a lot of her work. She probably talked about it on the podcast, too, where what works for us is to get as many different points of view as we can. So we're going to start with a meeting where the customer, which means whoever the executives-- the CIO, CTO, CEO, or-- in government, all have different titles, but it will be the same-- division head, I don't know, deputy secretary, whatever.\n\nThe executives will get their version of the story first. We can't not, because they're the ones who had to decide to hire us. And so we've met with them. We're going to the first day of meetings is always going to be with them. They're going to tell us everything that's wrong with the whole department. Say, OK, interesting. Very good. Write all this down. There's a lot of grief processing. One of you mentioned one of the things that--\n\n**JORDAN GREENBERG:** Oh, definitely.\n\n**MIKEY DICKERSON:** Yeah, one of the things that was implied in that like, we've reached the state of dissolution where we don't know what we're supposed to do next. There's going to be a lot of frustration and what ultimately is just plain grief over the job I used to do, stopped working. Maybe it isn't a job anymore. This is everybody's fear right now is this AI, blah, blah, blah, everything--\n\n**MATT SIEGLER:** We'll get there.\n\n**JORDAN GREENBERG:** Oh, yeah.\n\n**MIKEY DICKERSON:** Oh, great.\n\n**MATT SIEGLER:** We'll get there.\n\n**MIKEY DICKERSON:** I thought we might.\n\n**MATT SIEGLER:** We were required to.\n\n**MIKEY DICKERSON:** Yes, that's my experience, too. It's against the law to talk without including AI at this point. Anyway, so the executives will give us their point of view. And we'll say, that's interesting. Now we would like to talk to somebody who opens the mail and reads the applications. And the executives never like this because they don't talk to the person who opens the mail. They don't know what they're going to say.\n\nThey're already losing control of the situation, which is why we have to come when they have already lost control of the situation, or else we'll be dead in the water right there. But when they're desperate, when they're grasping at straws, they'll be like, — do we use, can we use profanity here? you can edit that part if you want — the executive is going to say, I don't know why the fuck they want to talk to the person who opens the mail.\n\nBut they're expensive, and we hired them so that we could say we did something, which is more or less the process in their head. So like, fine, whatever they say. And we'll go talk to the person who opens the mail, and we will, within five minutes, learn a completely different set of problems of what is wrong with the organization because the person who opens the mail-- I'm making this up. This is not a real example, but it's not very different from a real example.\n\nThe person who opens the mail has for 10 years been getting this form, and the form doesn't have a space on it for the thing that the person was trying to express. So they will include a written letter, or they'll cross out part of-- whatever. There'll be some sense in which the form didn't accommodate the situation, and the person who opens the mail is the only one who knows that because they just look at that. Their job is to type it into the computer.\n\nThe computer doesn't have a space for you to put the handwritten note that was written in. So the note goes in the trash. And that's been happening for years. The executive had no idea that it was going on.\n\n**JORDAN GREENBERG:** That's how noisy alerts feel.\n\n**MIKEY DICKERSON:** Yeah.\n\n**MATT SIEGLER:** [LAUGHS]\n\n**MIKEY DICKERSON:** And we'll do that five more times with the people at different levels of the organization. And there are all these organizational boundaries that are always all screwed up, where a similar thing will happen at the handover between the first adjudication and the appeal. For us, there's a huge number of things that are structured that way. It's like a decision and then an appeal.\n\n**MATT SIEGLER:** Oh, so there are legal things that show up of--\n\n**MIKEY DICKERSON:** Always.\n\n**MATT SIEGLER:** OK.\n\n**MIKEY DICKERSON:** Yes. Yes, yes, yes. **MATT SIEGLER:** I don't even know how to ask questions about that.\n\n**JORDAN GREENBERG:** You can skip that.\n\n[LAUGHTER]\n\n**MIKEY DICKERSON:** It's not that different. It's just always entangled with-- it's always entangled in the same kinds of ways. And we're not lawyers either. Our contract has all these disclaimers that are like, we don't give medical advice, legal advice, cybersecurity advice, investing advice. Anything that is regulated, we don't do. We do all the-- we fill in all the gaps.\n\n**MATT SIEGLER:** But you're effectively giving psychosocial advice and counseling to a body of individuals.\n\n**BOTH:** Yes.\n\n**MATT SIEGLER:** Interpersonally, in a way, a cultural kind of refactor.\n\n**MIKEY DICKERSON:** Yes, yes. This--\n\n**MATT SIEGLER:** And you're analyzing them. They're open because they've had this crisis happen to them. The way you pose it in the book is very effective in the way you-- this is your moment of clarity. Here we are. And we're ready for-- if you're ready, we're ready. That's the way you're posing it here.\n\n**MIKEY DICKERSON:** Yep.\n\n**MATT SIEGLER:** And you're saying, well, can we look at your whole organization and all of its dysfunction, why you got here? And the way you just presented is you're running on autopilot using your old methods, and they're not working. And then part of why it wasn't working is why you got here, perhaps. Or there's just new things on the ground that you weren't ready for.\n\n**MIKEY DICKERSON:** Yep, yep. I mean, it's--\n\n**MATT SIEGLER:** So how do we-- OK, so you've introduced new things. Now my follow-up here is, great. You're going to do these new things or introduce some new behaviors or a new role. How is that going to continue after you've left, or how is the new factor is going to suddenly not just go right back to where they were before?\n\n**MIKEY DICKERSON:** Our kind of premise is things won't go back to the way they were before because they can't. If they could, then this wasn't really an existential crisis.\n\n**JORDAN GREENBERG:** They weren't ready yet.\n\n**MIKEY DICKERSON:** Or they weren't ready, or they just fail. We do the best we can, and we think we're reasonably good at it. But not every organization-- we wouldn't call every crisis outcome a success that we've worked with.\n\n**MATT SIEGLER:** There's a quote in your book of the Marine quote, \"all bleeding stops eventually.\"\n\n**MIKEY DICKERSON:** Yes, exactly. That's right. That's the right model is like, if the disruption was enough, then there's only three things that can happen. You have the organization adapts. And there are good adaptations. There are maladaptations, since we're talking about psychotherapy a minute ago.\n\nAnd what we pitch ourselves as is giving you the opportunity to steer in the direction of good adaptations that will serve you better in the long term, because you're going to adapt. That's case 1. That's if you survive. Case 2, the organization may just not survive. That's easier for a private company than it is for a public sector agency because they--\n\n**MATT SIEGLER:** Fair point.\n\n**JORDAN GREENBERG:** Yeah\n\n**MIKEY DICKERSON:** --kind of can't just go out of business because they're not making money anymore. It turns out, nature does eventually adapt around you even if you don't. So anyway, that's case 2 is the organization doesn't exist anymore. And that's most corporate bankruptcies, whatever.\n\nCase 3 is kind of the most common case by far. And it's the one that you just kind of muddle through, which means that you maybe have some kind of half-implemented, half-thought-out adaptations that survive. But mostly, the crisis burns itself out. All bleeding stops eventually, yes. The wildfire will not go on forever. Even if we do absolutely nothing, even if we're so bad at fighting the wildfire that we're pouring gasoline on it, which is the equivalent of what a lot of organizations do, the fire still won't burn forever. It will eventually stop.\n\nAnd the memory of it will become this fossilized organizational-- it'll become this massive scar that never really heals. And we see those, especially in government customers and government organizations, because many of them have been around for so long without really any serious corrective pressure, like we were saying a second ago.\n\nMany agencies we go to, we will find things that are nonsensical. This entire division manages a backlog, which is infinity long and will never go away. And it's been doing that since before I was born. And we're like, how, why? Like, nope, that's just how it is. We're not touching it. When you hear a story like that, that is the evidence that there was a crisis about 50 years ago that we did not win.\n\n**JORDAN GREENBERG:** I see.\n\n**MIKEY DICKERSON:** And it's still here.\n\n**JORDAN GREENBERG:** This is actually very interesting because I'm thinking to myself, in business, what are the things that are crisis-shaped that I saw? How did they resolve? So one thing that maybe we could give to our listeners is sort of like detection skills. What are some signals that you could see that are like, this is heading in a way that, without some abrupt and thoughtful change, might make it difficult for us to continue operating at this rate? So I'm thinking like bug bankruptcy. You have so much stuff in your backlog. And should you not say, we just can't prioritize all of this work? This is our framework criteria of how we made this change. We're going to go about it this way and say, this work we can do. This is what we can't do. All of a sudden, this improves the overall health because then some things have been closed. Some things are still being worked on.\n\nSo if we have scenarios like that in business for smaller scale or bigger scale for teams that are like, I see something, I feel something is wrong, what are tools or thoughts that they can tap into to know a crisis is coming, we should be prepared?\n\n**MIKEY DICKERSON:** The bug bankruptcy is a good example and I'm sure will be very relatable to a lot of people that will hear us. And I know you're a TPM, so that probably has left you in a situation more than once where it is your job to care about something like a bug backlog that nobody else seems to care about.\n\n**JORDAN GREENBERG:** So hard.\n\n**MIKEY DICKERSON:** That is an extremely common circumstance for people. And one thing, it's kind of a side effect of our book and our speaking tours and whatever. We didn't intend this, but it's still gratifying sometimes to hear. Sometimes people find our book kind of just a comfort as far as we're just saying that, yes, this happens to everybody all the time. And sometimes there is nothing you can do about it because it depends on conditions that you can't control.\n\nI was an SRE middle manager in my glory days, and I had any number of teams with infinitely growing bug backlogs. And what we would offer that you probably have figured out on your own, but it might help to hear somebody say out loud, is, one, there is no power on Earth that can make somebody care about something that they don't care about. This goes to the 12-step program again.\n\nIf I can see-- and it will be easier for me to see standing as an outsider outside the frame-- if I can see that your whatever, your coping strategies, your life, your organizational practices are unsustainable, but you don't think that yourself, then what I think will not matter. I could be a therapist. I could be a preacher. I could be a coach. I could be a cop. I still cannot make you care. You have to decide to care yourself.\n\nAnd to your question about when you might see that the opportunity for people to care is coming, we have this list-- and I think it's mostly Marina and Weaver's work as we put the book together. We have this list of the indicators of a useful crisis. And some of them, you can-- well, I guess I'll get to that question when we get to it. But the indicators that we put down in the book are, there's an external shock, a surprise, a fundamental surprise, which, to skip another lengthy thing in the book, just means something has happened that you didn't think was possible to happen, basically. It's different from everyday surprise.\n\nThere's a deadline. That's really where we fall down on bug bankruptcy a lot of time, in my experience, is because there isn't any deadline, not really. Like, I can make one up, but now I'm telling people to care again. And it doesn't work. There has to be a deadline that is not just something I made up, that everybody can see is there really is a meteor coming or whatever it is, and we can't avoid it. So--\n\n**MATT SIEGLER:** This is what release dates are for.\n\n**MIKEY DICKERSON:** Yeah, release dates are that. And even that--\n\n**MATT SIEGLER:** Public release dates.\n\n**MIKEY DICKERSON:** Right, and even that, I'm sure you guys, in your roles, know how to do this. But even a release date is a little bit made up because the company could change it if it wants to. But in order to make the engineering team treat it as real, you have to be like, there is nothing we can do.\n\n**MATT SIEGLER:** Like, a paycheck is always payday.\n\n**MIKEY DICKERSON:** Yes, exactly.\n\n**MATT SIEGLER:** Payday is not changeable.\n\n**MIKEY DICKERSON:** Right, precisely. And tax day is not changeable. So for the IRS, if things aren't working and April 15 is coming--\n\n**MATT SIEGLER:** Wow.\n\n**MIKEY DICKERSON:** An election is even less changeable than tax day. Like, I could imagine a set of circumstances. And in fact, the pandemic was a set of circumstances in which the IRS was able to say to some people in some circumstances, like, oh, the deadline's just moved. It's going to be in--\n\n**MATT SIEGLER:** Yeah, we found out that was--\n\n**JORDAN GREENBERG:** And extensions.\n\n**MATT SIEGLER:** --something was off deadline.\n\n**MIKEY DICKERSON:** Yes.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** Yeah, it turns out that can be moved. Like, an election, even less movable. That's in the actual Constitution when that is.\n\n**MIKEY DICKERSON:** But the pandemic is something that was like natural forces that you have to squint a little bit to say that for the last 100 years, the field of public health did have a hard deadline that was immovable. It didn't know when it was.\n\n**JORDAN GREENBERG:** Right. Nobody told them.\n\n**MIKEY DICKERSON:** Because, right, they didn't get informed that the release date for COVID-19 was like November 2019, right?\n\n**JORDAN GREENBERG:** Hey, we're patching this. Just like, I mean, we're going to test your crisis systems, your response. And it's not going to be good. No postmortem on that one, by the way.\n\n**MATT SIEGLER:** I have a question about-- you said especially about can't make you care about things. You have a remarkable insight about when you interview all these people in these organizations. Do you find a disorderly level of care about non-overlapping cares in these organizations? Like, this person thinks this is the most important thing. This person thinks this is the most important thing. And organizationally, they've distributed the values so poorly that no one cares about the right things in the same direction?\n\n**MIKEY DICKERSON:** Yeah, absolutely.\n\n**MATT SIEGLER:** And can you help fix that, or is that not fixable? Can that be fixed by anybody?\n\n**MIKEY DICKERSON:** The crisis is what fixes that, is my claim. And this, yes, the starting condition that you described, that is absolutely normal operations in any big organization of any kind. Talk to 10 different people, ask them what's the most important thing. And to give them a fighting chance, ask them, what are the three most important things?\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** And you'll get-- if you're lucky, everybody will include one thing the same-ish. When Google was smaller-- I don't know, you can tell me what it's like now, but when Google was smaller, it was people really believed in a few of the things like focus on the user, don't be evil, blah, blah, blah. You would get-- if you asked randomly selected 10 people out of the 5,000-person company what the three most important things were, there's a good chance you'd hear 30% overlap, something like that. And that was a very good case.\n\nIn an older company, in a company that doesn't face what they perceive as intense competition. And I'm saying that in order to not just be only talking about government organizations, because they for sure exhibit this, but companies where there isn't a lot of sense of urgency or this too, if you ask 10 randomly selected people from the 20,000-person company, you're very likely going to hear that the things on the top of everybody's mind is the standing war with the other division, which is across the hall.\n\nAnd that's what they're spending all their energy on. It's what they've been spending all their energy on their whole careers. They've never seen it any other way. Can that be fixed? There may be a different book somewhere that talks about some extraordinarily effective leader that can just walk in cold and make that happen, but I can't say I've really seen it with my eyes. And I've worked for people that I think are pretty strong leaders. I've worked for President Obama and his chief of staff, Denis McDonough. And I didn't-- Weaver did more than I did, worked with General McChrystal, who ran-- I may screw this up, ran JSOC, Joint Special Operations Command, in Afghanistan.\n\nSo like, I feel like probably there aren't just a better tier of leaders out there that I haven't ever run across. You probably have worked with the kind of top shelf and the middle shelf and the bottom shelf. But what we see is really effective leaders are those that can take something that has the potential to kind of-- I don't have good words for this analogy. Kind of like a magnet becomes a magnet because all the domains are aligned, right? And that only happens when an external field of overpowering strength happens. Otherwise, they point in random directions. That's the company in normal times.\n\nIf a crisis is the external field that lines everything up, at least temporarily, and leaders can now take the organization they want it to go if they see that and know how to exploit. I mean, I don't mean exploit in the usual negative sense-- take advantage of, make use of, not waste the opportunity that is presented to them. But I don't know, my claim is that the crisis is a necessary ingredient. I don't think it happens otherwise.\n\n**JORDAN GREENBERG:** Gotcha.\n\n**MATT SIEGLER:** So let's tie this back to where we started a bit about SRE. You said SRE seems to be an organization that's natively the right ladder, if you will, for the kinds of people who seem to be fit for this mission.\n\n**JORDAN GREENBERG:** Mm-hmm.\n\n**MATT SIEGLER:** Our audience is SRE, SRE adjacent. Why do you think this is true? If you say it is true, do you have any idea of why? What's drawing them into this field?\n\n**MIKEY DICKERSON:** That's a good question and not one that I prepared for. So let's see. I'll do my best. I guess the first thing that comes to mind is SRE as I knew it-- I hinted at this before-- tended to attract all the people that didn't quite fit in anywhere else. And even when you put them all together in one room, it's not like they now all fit in with each other either. There's still a bunch of weirdos and oddballs. And there's--\n\n**JORDAN GREENBERG:** Us?\n\n**MIKEY DICKERSON:** As I say, that's how I experienced it. Your listeners', viewers' experience may be different now.\n\n**MATT SIEGLER:** That came out of your mouth, by the way.\n\n**MIKEY DICKERSON:** All right, yes. So I'm the one saying that it used to be a bunch of oddballs. And that is a valuable role for the organization to have, even though it is a tough one to play for the person experiencing it a lot of the time, because it is one of these people that is going to say when the emperor has no clothes. And boy, are there situations like that in the tech industry right now.\n\nAnd people who have a little bit of a contrarian streak-- and I'm projecting some because I perhaps have a little bit of a contrarian streak myself, I've been told-- that's necessary. And thinking of things, one of our favorite ancient holy textbooks is this thing called Inside Bureaucracy. It's by this guy Anthony Downs. It was a RAND Corporation publication from 1960, 1962, I don't know, something like that.\n\nAnd he neatly categorizes all the bureaucrats in the government into there are statesmen who mostly just want everybody to get along. There are conservers who just want everything to stay the same way it is. There are climbers who want their career to advance. And then there are zealots who care about something for some reason, God only knows why. And yes, you're laughing because you know these characters inside SRE, inside Google, inside every-- and tell me if I'm wrong, but an unusual concentration of zealots who care about something that God only knows why ended up in SRE. I know you--\n\n**MATT SIEGLER:** Productive zealotry can be a force for good if it doesn't overlap too much.\n\n**MIKEY DICKERSON:** Yes, yes.\n\n**JORDAN GREENBERG:** If the thing that they care about is keeping the lights on?\n\n**MATT SIEGLER:** Yeah.\n\n**JORDAN GREENBERG:** Oh, that is a perfect fit.\n\n**MATT SIEGLER:** And customers can access your thing.\n\n**JORDAN GREENBERG:** Yes, yes.\n\n**MIKEY DICKERSON:** And when that is the thing that they latch onto as their oddball value system, that's why it delivers real value to the overall engineering company, because somebody has to care about keeping the lights on.\n\n**MATT SIEGLER:** At all costs. Well, at most costs.\n\n**JORDAN GREENBERG:** Some costs.\n\n**MIKEY DICKERSON:** At most costs.\n\n**MATT SIEGLER:** At measured costs, like specific number of nines costs.\n\n**MIKEY DICKERSON:** Right, right. I mean, yes, in a tech company, we're talking about keeping a website up for the most part. It's not like flying a plane, but nobody's going to die to keep the web search availability above a certain number. But they probably are going to stay up all night to keep web search availability above a certain number. They probably are going to miss family obligations. And like, we don't love that. We try to plan around that, but somebody has to care that much, or it won't happen.\n\n**JORDAN GREENBERG:** Right, absolutely.\n\n**MATT SIEGLER:** So in the book, you suggest that we can't really automate human behavior just yet. And we're now seeing, as you said, a role reversal in some cases where we're having humans work for a machine with some AI introductions. How have you seen any of that in your first-hand experiences?\n\n**MIKEY DICKERSON:** I mean, it seems to be impossible to talk about anything even remotely technology related, which is most of what I do. So it seems to be impossible to talk about anything remotely technology related without talking about your opinions on AI these days. So do we see it everywhere? Yes. Do we get that question everywhere? Yes.\n\nI have a project besides the book which comes out today. I have a project that's more about preparing for a future presidential administration that I don't want to be about AI. And yet the question is, every room that we go to is, what about AI? What about AI? I mean, I'm going to talk with way less confidence about the future than I can about the past, which, as we covered, is how sensemaking works. It's retrospective, but where I'm at, I can only give my opinion. So here it is.\n\nWhere I'm at is I think we are learning interesting things that are not fully articulated yet and will probably be more clear in 10 or 20 years about what the limitations of what we're now calling AI still are and what makes that interesting and different from what humans can do. I have a whole talk which I won't subject you to right now, but I have a whole talk where I try to get government people to understand the context of changes that are happening now.\n\nAnd one of the points that I make is that AI isn't two words that were invented three years ago. People were talking about it since before they built the computers that could even run the algorithms on. Alan Turing and people in that generation were asking these questions. What about when machines can think? And one interesting fact about the last 70 years is that we can't build a machine to replicate how people think, because we have no idea how people think. We don't know what intelligence is.\n\nSo we keep making up a definition out of thin air. For a long time, all the serious people agreed that if we could build a machine that could play chess, that would prove it was intelligence. And if you're sitting around in 1955 or 1960--\n\n**MATT SIEGLER:** It's plausible.\n\n**JORDAN GREENBERG:** Yeah.\n\n**MIKEY DICKERSON:** This is what people agreed on. I wasn't there. I don't know what I would have said if I was there, but no one would ask me, is the reality. But everyone who thought about these things could not imagine a situation in which you could build a machine that could play chess and win and wasn't thinking.\n\n**MATT SIEGLER:** Right.\n\n**MIKEY DICKERSON:** But then we did that. We built a machine that plays chess. And when we saw that solution, we were like, this is not interesting. This machine is not thinking.\n\n**MATT SIEGLER:** Whoops, that was wrong.\n\n**MIKEY DICKERSON:** Right, that was the wrong problem. Like, we just all agreed. There wasn't really an argument about it. When Deep Blue finally won, like 1994 or whatever it was, '96 maybe, no one had a big philosophical debate about whether this machine was sentient. They knew it was just doing a brute force search of a red-black tree, basically. And they're like, well, that's not-- all right, wrong problem. Now, if a machine could have a conversation--\n\n**MATT SIEGLER:** Aha, voila.\n\n**MIKEY DICKERSON:** And then we went through other stages too, but I'm abbreviating. The Turing test, which we thought up a long time ago. Everyone agreed that if a machine could have a conversation that could speak English so well that you couldn't tell it wasn't a person, then that would definitely be thinking. Well, now we've built that. It's called an LLM, and it does, in fact, fool a whole lot of people.\n\n**JORDAN GREENBERG:** That's true.\n\n**MIKEY DICKERSON:** Famously, one at Google earlier than it was cool who quit and made a lot of noise--\n\n**MATT SIEGLER:** That's true.\n\n**MIKEY DICKERSON:** --believing that one of the very early DeepMind models was conscious, was thinking. And it does fool a lot of people, but I think-- we're speaking here in 2026. I think the consensus amongst AI researchers, everybody is that no, Claude and ChatGPT and the models that we have right now, they're not conscious, they don't have feelings. They don't have a reasoning process. We can see exactly how they work. They're just really big.\n\nIt's a matrix. It does a big multiplication. It does some fancy sauce on top, and it produces a string of words. But that's not really thinking either. So I think the most interesting thing that we're learning about 70 years of AI is we're learning how little we understand how humans think. And I won't be the one to do it because I'm not expert enough in this, but someone eventually will connect the kind of core ideas that we think are important in our book, like sensemaking and the so-called System 1.\n\nI think I mentioned this in passing, but Daniel Kahneman has this book Thinking Fast and Slow, which is very famous. He says that we think-- he finally threw up his hands and said, we just have two different machines, basically, running in our head. One of them is called System 1, and it just makes decisions on autopilot based on impressions and habits and so forth. And the other one is really slow and expensive, and it's the one that can do matrix multiplication by hand and can learn an algorithm and can reason. That's your System 2 brain, and it burns a ton of calories. And we really hate using it, and we'll do anything to avoid using it if we can.\n\n**JORDAN GREENBERG:** That's true.\n\n**MATT SIEGLER:** Is that the system that an organization needs to use in order to improve itself?\n\n**MIKEY DICKERSON:** Well, that's a good question because it gets kind of paradoxical. I would claim that what the crisis does is temporarily gives the System 1 brain-- disables the System 1 brain because it's got too many-- it can't work. Your habits are no longer functional, so you have no choice. That's why I say, we really hate doing this, and we'll do anything to avoid it. But you have no choice but to think and find new ways to get things done.\n\nAnd AI, as it's been imagined up to this point, as far as I know, is almost entirely trying to replicate that System 2 brain. Like, it's never even thought about that first thing. Nobody anywhere that I've ever read about is building a machine and trying to start with getting it to feel unhappy or--\n\n**JORDAN GREENBERG:** Certainly.\n\n**MATT SIEGLER:** Like, we're trying to get it to think and reason and talk and blah, blah, blah.\n\n**JORDAN GREENBERG:** I think kind of what you're saying is people now are using AI for the System 2 thinking, but they want it at System 1 speed so that the decision that their System 1 brain wants to make, they can do that gut check against an LLM and say, am I right, or is this right? Am I going to do this, this, or this? And then a machine will do the System 2 thinking, a billion calculations a second, a shortened amount of that, put it in front of you. And then you can continue your System 1 thinking-- what am I going to do next?\n\n**MIKEY DICKERSON:** Yeah, that's right. I think the point that I was very slowly making my way around to is what people want and what would actually be able to replace so many jobs and cause all this disruption, all the doomsday prophecies, what people really want is a machine that can do all the things a human does. We can't define artificial general intelligence either, but it's approximately what I just said-- we want a machine that can do everything that a human does.\n\nAnd I suspect that the path we're on, which is only attempting to re-implement the calculator part of a person, will never do that, because that other part of a person is no less important in the fact that it's embodied in an--\n\n**MATT SIEGLER:** Interesting.\n\n**MIKEY DICKERSON:** I'm not the first person to think this up, but it's the embodiment hypothesis, I think, which is to say that it's not actually the case, that I could scoop your brain out, put it in a jar, hook up a bunch of Elon Musk's Neuralink wires to it, and still have a recognizable person. It's just not true. You aren't a person without all of the rest of your central nervous system, your sensory organs, everything else that makes you a person. That's also a non-negotiable part of the package.\n\n**MATT SIEGLER:** There's a lot to chew on here.\n\n**JORDAN GREENBERG:** It is a lot to chew on. And--\n\n**MIKEY DICKERSON:** I know.\n\n**JORDAN GREENBERG:** --while we do that, maybe we can talk about where we can find you on the internet. And what is this? Something that you referred to a couple of times.\n\n**MATT SIEGLER:** Yeah, there's a book.\n\n**MIKEY DICKERSON:** This artifact you're holding is a book called Crisis Engineering and is by me, Matt Weaver, and Marina Nitze. It is available today. This is April 7 we're taping, I assume I can say.\n\n**MATT SIEGLER:** Yeah.\n\n**MIKEY DICKERSON:** And today is the day that it is released, which I assume means that if you go to any bookstore in the country, you will see a huge pile of them at the front table.\n\n**MATT SIEGLER:** Every airport.\n\n**MIKEY DICKERSON:** Every airport, yep.\n\n**JORDAN GREENBERG:** Yeah. For some light airport reading, yeah.\n\n**MIKEY DICKERSON:** I am going to write some very angry letters if I don't see it at every airport bookstore I walk by on my way home.\n\n**JORDAN GREENBERG:** You heard it here first.\n\n**MIKEY DICKERSON:** Yep.\n\n**JORDAN GREENBERG:** Where else can we find you on the internet?\n\n**MIKEY DICKERSON:** The most consistent place-- I don't like this answer, but the most consistent place where you can keep up with what I'm doing is on LinkedIn. It's just Mikey Dickerson. I don't think it's hard to find. And then from there, I occasionally put things on Medium. I have a couple of other newsletters that I'm connected to. And our company website is layeraleph.com, where aleph is A-L-E-P-H.\n\n**MATT SIEGLER:** Cool.\n\n**JORDAN GREENBERG:** Sounds good to me. Any other last questions before we go?\n\n**MATT SIEGLER:** No, if I ask any more questions, I think I'll start too many things.\n\n**JORDAN GREENBERG:** It'll be a seven-hour episode.\n\n**MATT SIEGLER:** Thank you.\n\n**JORDAN GREENBERG:** So with that, we have been Jordan and Matt, co-hosts of the Prodcast. Thank you for listening. This has been--\n\n**MIKEY DICKERSON:** I'm Mikey Dickerson, and glad to have been here.\n\n**JORDAN GREENBERG:** Thank you so much for coming.\n\n**MIKEY DICKERSON:** Thank you.\n\n**JORDAN GREENBERG:** Have a great day, everybody.\n\nYou've been listening to the Prodcast, Google's podcast on site reliability engineering and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER:** You missed a page from Telebot.", "znaku_textu": 45376, "slov": 8154, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-02", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:11", "sha256": "922b4b89cc0c4decbda4ad70e65d3664fd3397f7f42e84d5985af3a7c1cbe7db", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03", "titulek": "Handling Burnout with Sam Anderson", "h1": "Handling Burnout with Sam Anderson", "popis": "Sam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03"}, "headline": "Handling Burnout with Sam Anderson", "description": "Sam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.", "image": "https://kstatic.googleusercontent.com/files/143ac6394bc47e0c0c20f3ed5dbee8f79a7093a3255a84300aeff36217e8009a97a9eec60b7292367740abc6956cdc72817878cdfad85329ffbe4432f9061a89", "author": [{"@type": "Person", "name": "Sam Anderson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Handling Burnout with Sam Anderson"}], "markdown": "# Handling Burnout with Sam Anderson\n\nSam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the conference …\n\n**ELECTRONIC VOICE:** You missed a page from Telebot.\n\n**MATT SIEGLER:** Welcome back to the Prodcast. We're going to try something a little unorthodox today, from a workshop's-- was it, what, a discussion? What was it, a workshop?\n\n**SAM ANDERSON:** Yeah, it was a discussion track here at SREcon.\n\n**MATT SIEGLER:** I'm Matt here with--\n\n**SAM ANDERSON:** Sam Anderson.\n\n**MATT SIEGLER:** --Sam, great. And the workshop was on burnout.\n\n**SAM ANDERSON:** Yes.\n\n**MATT SIEGLER:** Ooh, a topic not near and dear to anyone, but definitely, unfortunately, very close to us in operations-type work. And SREs are, of course near that all the time. So we're going to try this. so I'm going to read these prompts.\n\n**SAM ANDERSON:** Yep.\n\n**MATT SIEGLER:** And you're going to respond.\n\n**SAM ANDERSON:** Yeah. And specifically, in this context, I mean, I think it's important for most SREs or people that live in production to be very, very cognitive of burnout. And so, yeah.\n\n**MATT SIEGLER:** All right. Let's go. Let's roll with it.\n\n**SAM ANDERSON:** Sure.\n\n**MATT SIEGLER:** All right. All right, Sam, what does burnout mean to you?\n\n**SAM ANDERSON:** Burnout, to me, and signs that are there-- so you have lowered motivation in a role. Burnout is more akin to PTSD. You stop taking care of yourself. You potentially get a short temper. You have failure to launch syndrome, even the big D word, depression and despair.You need to rest. The tunnel becomes dark. It's not light like you normally want to be, especially in our line of industry. You feel trapped, and it's hard to accept help.\n\n**MATT SIEGLER:** That last one really grabbed me. So a lot of introverted behavior in our industry as it is.\n\n**SAM ANDERSON:** Yep.\n\n**MATT SIEGLER:** Managers might not be able to even spot what's going on. Say a little bit more about the last two there, especially the last one.\n\n**SAM ANDERSON:** So the feeling trapped and hard to accept help, right? So let me give you some context about maybe how I personally like to operate. And specifically, I prefer to lean into the positivity of things in general.\n\nAnd so what I want to do, by way of this, is help shine a light to the tunnel for folks. Whoever this reaches, please make sure that you reach out for help, et cetera. But in the hard to accept help, be willing, maybe, even to accept help in that context.\n\nAnd the feeling trapped-- if you're in a system from the SRE space, what do you do in a major incident? You look and you diagnose. And you look, typically, outside the system. You understand some of the architecture that's involved. And so, yeah, I mean, does that maybe help answer that question?\n\n**MATT SIEGLER:** Yeah, I think so. And I think the alone part really grabbed me because what this conference is all about is about ecosystems. And sometimes, you're in an organization that is just fledgling with SRE, and ecosystem hasn't even been created.\n\nYou may be the one building it, and so you could be doing that alone. I mean, you have peers, but they might not be signing on for what's necessary to support you and your function.\n\nLet's try this next one. Have you ever recovered from burnout? What are some strategies?\n\n**SAM ANDERSON:** Yeah, so in general, the recovery from burnout, so think of it by way of SRE space. So you first need to stop the bleeding, right? You need to mitigate the incident, OK?\n\nSo in this context, you need to potentially horizontally scale, right? And so what that looks like is maybe adding additional people to your team by talking to your manager or something along those lines.\n\nThen once you've fixed the DDoS impact or whatever in this context, then you need to move on to the PRB space. You need to try to understand the root cause, and then deploy mitigation actions.\n\nSo what that looks specifically is go to the gym. Take care of your body better. Build a system to prevent.\n\nCreate another reliable system to where, that way, you can easier detect the signs of burnout before you go down that dark tunnel. You need to have peace. I mean, you may even need to change your job, or just environment, or even overall career, right?\n\nOne thing that I've considered, at certain points-- I've been in the industry for quite a while-- is what does it look like whenever I'm, ultimately, going to retire from tech, right? And so what that looks like for me is spending more time with my family, specifically my lovely wife-- hello, Kelsey-- and just changing your environment.\n\nAnd so, get a hobby, socialize, so going to events like SREcon. And then, ultimately, if you're incapable of actually seeking those help or building that strategy, go to therapy. Therapy is very, very helpful.\n\nMaybe even-- back to SRE space-- create a severity matrix. Understand what levels of intake that you're receiving and go from there, right? And on the other side of as far as whenever you are experiencing burnout, try to detect that better.\n\nAnd what I mean here is whenever it's hard to accept help, be open to receiving help. And so I think that those are strategies, really, to be capable of recovery of burnout.\n\n**MATT SIEGLER:** Something you said that really caught my attention is treating yourself like a system, that you are measuring signals, taking actions on, triaging, and taking yourself seriously as a system rather than-- and that burnout is when you aren't, perhaps.\n\n**SAM ANDERSON:** Exactly. And I think what that really does-- I think from the psychology perspective, I mean, I'm no expert here but, basically, I think what that means is you have to compartmentalize the burnout to be capable of looking outside the system, so yeah.\n\n**MATT SIEGLER:** Yeah. You mentioned-- how about some signs you're getting close, though?\n\n**SAM ANDERSON:** Sure. So I mean, it's back to you being able to compartmentalize, and then being capable better, actually-- that's a good topic. So are people not engaging with you? Do you feel alone? Really take inventory, maybe, of your own personal self.\n\nHow to detect-- I mean, really, maybe just create an SLI, right? Understanding from the SRE space, what are the indicators? Take an inventory and do the whole inventory of making SLI to SLO.\n\n**MATT SIEGLER:** Interesting. All right. What unmet needs do you have? How does that manifest as stress in your life?\n\n**SAM ANDERSON:** So I think instead of answering that question, what I'm going to do is maybe just tell a personal story of how I experienced burnout. And my hope here is that whoever is listening here, that they really hear it and are more capable of identification of overall burnout out, and really, really maybe even use this as a runbook.\n\nAnd so, for myself, I've been in the industry for a while. I've worked for many different companies, et cetera. So this is not specific to my current lived experience whatsoever.\n\nSo with that, there was a period of time where I became very unhealthy. And that was maybe one of my SLIs or that was one of my indicators of an issue here.\n\nAnd so, finally, I got to a point where I was just actually completely burnt out and completely done. Didn't want to get out of bed, the whole nine yards. So this was multiple signals that I had to\n\nsynthesize to really understand and identify that I was actually experiencing burnout in this perspective.\n\nI was receiving help from my wife. She was capable of detecting it. And so she's like, OK, well, how can we fix this? And so I use a systems engineering approach. I was like, OK, well, what does good look like for me?\n\nAnd what that meant to me is I started accepting help, asking for help, and getting more physically fit, changing my environment, employed the help of a personal trainer-- thanks, Victoria and Mark-- and set a whole process to where-- so whether I was remote or in office, at the time, I enforced myself to create a commute.\n\nSo what that looks like for me, now that I've actually recovered from that really deep pit, is I make sure that I go to the gym every morning. I drive. It's a 15 minute drive back and forth, and go to the gym, connect with people, be in a different environment, maybe even get some work done there, too. That's fine.\n\nYou have to. Obviously, if you're in a working profession, you have to. And so, yeah, basically creating a system to where that way, you can actually prevent an incident.\n\nAnd so instead of in burnout-- and back in context, in SRE, right-- you're leaning more into the proactive side and fixing your own system at a level to where you're no longer responding to the next incident. You're no longer getting paged in your brain or even concerned about the next page. And so, yeah.\n\n**MATT SIEGLER:** Fascinating. Well, we're going to have to wrap here.\n\n**SAM ANDERSON:** Sure.\n\n**MATT SIEGLER:** This is incredible. I never thought that you're always on call for the system that is you.\n\n**SAM ANDERSON:** Yes.\n\n**MATT SIEGLER:** So please, be careful out there. Thank you.\n\n**SAM ANDERSON:** Thank you.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**ELECTRONIC VOICE:** You missed a page from Telebot.", "znaku_textu": 9967, "slov": 1759, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:26", "sha256": "5e8a453dba32f4e33efc0c5edc7f60a746a3560777574be3ff0dbe215901103d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03/", "titulek": "Handling Burnout with Sam Anderson", "h1": "Handling Burnout with Sam Anderson", "popis": "Sam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03"}, "headline": "Handling Burnout with Sam Anderson", "description": "Sam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.", "image": "https://kstatic.googleusercontent.com/files/143ac6394bc47e0c0c20f3ed5dbee8f79a7093a3255a84300aeff36217e8009a97a9eec60b7292367740abc6956cdc72817878cdfad85329ffbe4432f9061a89", "author": [{"@type": "Person", "name": "Sam Anderson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Handling Burnout with Sam Anderson"}], "markdown": "# Handling Burnout with Sam Anderson\n\nSam Anderson shares his experiences with burnout, and how to support yourself as a reliable system. Sam provides guidance on how to deal with burnout, and some suggestions on how to avoid burnout through understanding yourself and finding the help and support you need.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the conference …\n\n**ELECTRONIC VOICE:** You missed a page from Telebot.\n\n**MATT SIEGLER:** Welcome back to the Prodcast. We're going to try something a little unorthodox today, from a workshop's-- was it, what, a discussion? What was it, a workshop?\n\n**SAM ANDERSON:** Yeah, it was a discussion track here at SREcon.\n\n**MATT SIEGLER:** I'm Matt here with--\n\n**SAM ANDERSON:** Sam Anderson.\n\n**MATT SIEGLER:** --Sam, great. And the workshop was on burnout.\n\n**SAM ANDERSON:** Yes.\n\n**MATT SIEGLER:** Ooh, a topic not near and dear to anyone, but definitely, unfortunately, very close to us in operations-type work. And SREs are, of course near that all the time. So we're going to try this. so I'm going to read these prompts.\n\n**SAM ANDERSON:** Yep.\n\n**MATT SIEGLER:** And you're going to respond.\n\n**SAM ANDERSON:** Yeah. And specifically, in this context, I mean, I think it's important for most SREs or people that live in production to be very, very cognitive of burnout. And so, yeah.\n\n**MATT SIEGLER:** All right. Let's go. Let's roll with it.\n\n**SAM ANDERSON:** Sure.\n\n**MATT SIEGLER:** All right. All right, Sam, what does burnout mean to you?\n\n**SAM ANDERSON:** Burnout, to me, and signs that are there-- so you have lowered motivation in a role. Burnout is more akin to PTSD. You stop taking care of yourself. You potentially get a short temper. You have failure to launch syndrome, even the big D word, depression and despair.You need to rest. The tunnel becomes dark. It's not light like you normally want to be, especially in our line of industry. You feel trapped, and it's hard to accept help.\n\n**MATT SIEGLER:** That last one really grabbed me. So a lot of introverted behavior in our industry as it is.\n\n**SAM ANDERSON:** Yep.\n\n**MATT SIEGLER:** Managers might not be able to even spot what's going on. Say a little bit more about the last two there, especially the last one.\n\n**SAM ANDERSON:** So the feeling trapped and hard to accept help, right? So let me give you some context about maybe how I personally like to operate. And specifically, I prefer to lean into the positivity of things in general.\n\nAnd so what I want to do, by way of this, is help shine a light to the tunnel for folks. Whoever this reaches, please make sure that you reach out for help, et cetera. But in the hard to accept help, be willing, maybe, even to accept help in that context.\n\nAnd the feeling trapped-- if you're in a system from the SRE space, what do you do in a major incident? You look and you diagnose. And you look, typically, outside the system. You understand some of the architecture that's involved. And so, yeah, I mean, does that maybe help answer that question?\n\n**MATT SIEGLER:** Yeah, I think so. And I think the alone part really grabbed me because what this conference is all about is about ecosystems. And sometimes, you're in an organization that is just fledgling with SRE, and ecosystem hasn't even been created.\n\nYou may be the one building it, and so you could be doing that alone. I mean, you have peers, but they might not be signing on for what's necessary to support you and your function.\n\nLet's try this next one. Have you ever recovered from burnout? What are some strategies?\n\n**SAM ANDERSON:** Yeah, so in general, the recovery from burnout, so think of it by way of SRE space. So you first need to stop the bleeding, right? You need to mitigate the incident, OK?\n\nSo in this context, you need to potentially horizontally scale, right? And so what that looks like is maybe adding additional people to your team by talking to your manager or something along those lines.\n\nThen once you've fixed the DDoS impact or whatever in this context, then you need to move on to the PRB space. You need to try to understand the root cause, and then deploy mitigation actions.\n\nSo what that looks specifically is go to the gym. Take care of your body better. Build a system to prevent.\n\nCreate another reliable system to where, that way, you can easier detect the signs of burnout before you go down that dark tunnel. You need to have peace. I mean, you may even need to change your job, or just environment, or even overall career, right?\n\nOne thing that I've considered, at certain points-- I've been in the industry for quite a while-- is what does it look like whenever I'm, ultimately, going to retire from tech, right? And so what that looks like for me is spending more time with my family, specifically my lovely wife-- hello, Kelsey-- and just changing your environment.\n\nAnd so, get a hobby, socialize, so going to events like SREcon. And then, ultimately, if you're incapable of actually seeking those help or building that strategy, go to therapy. Therapy is very, very helpful.\n\nMaybe even-- back to SRE space-- create a severity matrix. Understand what levels of intake that you're receiving and go from there, right? And on the other side of as far as whenever you are experiencing burnout, try to detect that better.\n\nAnd what I mean here is whenever it's hard to accept help, be open to receiving help. And so I think that those are strategies, really, to be capable of recovery of burnout.\n\n**MATT SIEGLER:** Something you said that really caught my attention is treating yourself like a system, that you are measuring signals, taking actions on, triaging, and taking yourself seriously as a system rather than-- and that burnout is when you aren't, perhaps.\n\n**SAM ANDERSON:** Exactly. And I think what that really does-- I think from the psychology perspective, I mean, I'm no expert here but, basically, I think what that means is you have to compartmentalize the burnout to be capable of looking outside the system, so yeah.\n\n**MATT SIEGLER:** Yeah. You mentioned-- how about some signs you're getting close, though?\n\n**SAM ANDERSON:** Sure. So I mean, it's back to you being able to compartmentalize, and then being capable better, actually-- that's a good topic. So are people not engaging with you? Do you feel alone? Really take inventory, maybe, of your own personal self.\n\nHow to detect-- I mean, really, maybe just create an SLI, right? Understanding from the SRE space, what are the indicators? Take an inventory and do the whole inventory of making SLI to SLO.\n\n**MATT SIEGLER:** Interesting. All right. What unmet needs do you have? How does that manifest as stress in your life?\n\n**SAM ANDERSON:** So I think instead of answering that question, what I'm going to do is maybe just tell a personal story of how I experienced burnout. And my hope here is that whoever is listening here, that they really hear it and are more capable of identification of overall burnout out, and really, really maybe even use this as a runbook.\n\nAnd so, for myself, I've been in the industry for a while. I've worked for many different companies, et cetera. So this is not specific to my current lived experience whatsoever.\n\nSo with that, there was a period of time where I became very unhealthy. And that was maybe one of my SLIs or that was one of my indicators of an issue here.\n\nAnd so, finally, I got to a point where I was just actually completely burnt out and completely done. Didn't want to get out of bed, the whole nine yards. So this was multiple signals that I had to\n\nsynthesize to really understand and identify that I was actually experiencing burnout in this perspective.\n\nI was receiving help from my wife. She was capable of detecting it. And so she's like, OK, well, how can we fix this? And so I use a systems engineering approach. I was like, OK, well, what does good look like for me?\n\nAnd what that meant to me is I started accepting help, asking for help, and getting more physically fit, changing my environment, employed the help of a personal trainer-- thanks, Victoria and Mark-- and set a whole process to where-- so whether I was remote or in office, at the time, I enforced myself to create a commute.\n\nSo what that looks like for me, now that I've actually recovered from that really deep pit, is I make sure that I go to the gym every morning. I drive. It's a 15 minute drive back and forth, and go to the gym, connect with people, be in a different environment, maybe even get some work done there, too. That's fine.\n\nYou have to. Obviously, if you're in a working profession, you have to. And so, yeah, basically creating a system to where that way, you can actually prevent an incident.\n\nAnd so instead of in burnout-- and back in context, in SRE, right-- you're leaning more into the proactive side and fixing your own system at a level to where you're no longer responding to the next incident. You're no longer getting paged in your brain or even concerned about the next page. And so, yeah.\n\n**MATT SIEGLER:** Fascinating. Well, we're going to have to wrap here.\n\n**SAM ANDERSON:** Sure.\n\n**MATT SIEGLER:** This is incredible. I never thought that you're always on call for the system that is you.\n\n**SAM ANDERSON:** Yes.\n\n**MATT SIEGLER:** So please, be careful out there. Thank you.\n\n**SAM ANDERSON:** Thank you.\n\n**[MUSIC PLAYING]**\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.Google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**ELECTRONIC VOICE:** You missed a page from Telebot.", "znaku_textu": 9967, "slov": 1759, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-03", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:12", "sha256": "5e8a453dba32f4e33efc0c5edc7f60a746a3560777574be3ff0dbe215901103d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04", "titulek": "Matt Zelesko and the Future of SRE", "h1": "Matt Zelesko and the Future of SRE", "popis": "We sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04"}, "headline": "Matt Zelesko and the Future of SRE", "description": "We sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.", "image": "https://kstatic.googleusercontent.com/files/143ac6394bc47e0c0c20f3ed5dbee8f79a7093a3255a84300aeff36217e8009a97a9eec60b7292367740abc6956cdc72817878cdfad85329ffbe4432f9061a89", "author": [{"@type": "Person", "name": "Sam Anderson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Matt Zelesko and the Future of SRE"}], "markdown": "# Matt Zelesko and the Future of SRE\n\nWe sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and\n\nproduction software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of\n\npsychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we\n\nmade along the way. Happy listening, and may all your incidents be novel.\n\n**MATT SIEGLER:** Welcome back to the podcast, Google's podcast on SRE and production software. I've got a special guest in\n\nperson today. I'm Matt Siegler. This is--\n\n**MATT ZELESKO:** Matt Zelesko.\n\n**MATT SIEGLER:** What are you? What do you do here?\n\n**MATT ZELESKO:** I lead SRE teams for Google globally.\n\n**MATT SIEGLER:** How long has that been now?\n\n**MATT ZELESKO:** It's been a little over four years.\n\n**MATT SIEGLER:** That's right. And you were here just 10 months ago.\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** And the SRE book is now 10 years old.\n\n**MATT ZELESKO:** It's amazing.\n\n**MATT SIEGLER:** And in 10 months, so much has happened. What has happened in 10 months? Let's start with you.\n\n**MATT ZELESKO:** Yes. Well, first of all, the SRE book is 10 years old. We've had small things like the invention of cloud\n\nand hyperscalers and now AI that have all happened after the book. So I think we're really mindful that the industry and\n\nthe landscape has changed a lot. And we need to change with it. What has happened over the last few months is a real\n\nshift in how we interact with AI and large language models.\n\nThis was generally a dialogue-based interaction. You were talking to the model. You were chatting with the model. It has\n\nnow shifted over to agents and agentic workflows. And that's really only been over a few months, but we are already\n\nseeing really dramatic impacts as a result of that. And I'll say, and I probably said this 10 months ago, it's hard to\n\nguess how fast this is moving. But I think it's very clear that the role of software developers is changing and changing\n\nright now. And the role of SREs is changing and has to change right now as well.\n\n**MATT SIEGLER:** I like how you put that. Last time you were here, you called AI the buddy, the buddy sitting next to the\n\nSRE, maybe like in the passenger seat, but now it's like the buddy's become a lot more autonomous. Let's reflect on what\n\nSRE's role is in this increasing velocity of that buddy now. What's buddy doing now?\n\n**MATT ZELESKO:** Yeah, so I think you're absolutely right. It's going from human-centric work to human-supervised work in a\n\nlot of ways, which means that buddy or actually, it's like buddies that are doing a bunch of work on your behalf. And\n\nwhat this means is that the pace at which we are creating code, the pace at which we are changing production, is\n\nincreasing dramatically.\n\nAnd that changes a whole lot of the stuff around the role and what we have to do as SREs. And look, I always think that\n\nthere's going to be a human element here. We have a judgment and oversight and a wisdom that is still very much\n\nrequired. But a lot of the other work can be done by agents. And we're seeing more and more of that happening.\n\n**MATT SIEGLER:** Yeah, you mentioned last time we talked SRE will always be in the operations role, and AI is just shifting\n\nwhat our operations role can do, maybe changing the scale, maybe changing when they take action.\n\n**MATT ZELESKO:** Yeah.\n\n**MATT SIEGLER:** That implies a lot of complexity.\n\n**MATT ZELESKO:** It does.\n\n**MATT SIEGLER:** Increased complexity. I know that SRE role and mindset is to be comfortable in that complexity. Do you\n\nthink that's a role suitable to this new world that we're entering into? I think that's what you're saying, but--\n\n**MATT ZELESKO:** I'm saying a few things there. I think, number 1, you are absolutely right that there is a notion that\n\nSREs pride themselves on having really deep domain expertise. And I think in the future, we are going to prioritize\n\ngeneralist capabilities. So I think we'll still have expertise in areas, but I think we're going to really emphasize\n\nthis need to be able to generalize across a bunch of different domains, to not be as restricted in terms of the\n\nexpertise we have today.\n\nAt Google, we have really deep domain expertise simply because the scale is massive, and we almost have to. But I think\n\nas agents take on more and more of both the software creation and the production operation, we start to expand out and\n\nwe each need to have a lot more broad domain expertise as opposed to specific.\n\n**MATT SIEGLER:** Yeah, it's this expertise point. It's interesting to me. Let's do some before and after, like zip back a\n\nfew years. Not all the way back to the beginning, but--\n\n**MATT ZELESKO:** Sure.\n\n**MATT SIEGLER:** --enough back in time where it felt like expertise could be focused and you could still get your job done\n\nand that would be enough. But I think you're talking about maybe broadening one's experience. Let's think outside of\n\nGoogle, maybe industry as a whole. What would you like people to be skilling up, maybe? What they need to be doing to\n\nprepare for this?\n\n**MATT ZELESKO:** Yeah. Well, one thing I would say is we've already seen a transition like this inside of Google, and we\n\nmay have talked about this on the Prodcast, but there's been a real concerted effort over the last five years to get on\n\nto common production platforms for things like rollouts and observability, capacity management. Incident response.\n\nBecause prior to that, we had many systems that did those things, and there was real power that was unlocked when we\n\nsaid, hey, everybody's going to get onto the same systems.\n\nThat, in and of itself, helped us expand the knowledge base of the typical SRE and the systems that they could actually\n\nmanage. So if everything is running on the same production platforms, that means if I'm an SRE in one area supporting\n\nYouTube, I can go and support Workspace because I understand all the platforms, I understand all the tools. So we've\n\nalready had a model here where we've seen a real uplift in our ability to be productive and productive across multiple\n\ndomains when we start sharing common tools. And I think this is another example of that as well.\n\nIn terms of what I would suggest somebody in the industry does, start using these things as quickly as possible. It's\n\nwhat we implore our teams to do,And so what we've really encouraged is start using this thing. Just use it in the things\n\nthat you do every day. And there's a responsibility on us here, leadership in saying, we are going to grant you the time\n\nand space to do that. We understand that adopting anything has a bit of a productivity dip at the beginning.\n\nAnd then you presumably get a lot more productive. And so we've got to give the team space to go and explore and\n\nexperiment with these. And I think we also have to provide the team with safe and useful default ways to do it, but\n\nparticularly when you're talking about managing production.\n\n**MATT SIEGLER:** Yeah, I hear that, especially this exploratory, it does feel like although we want something right now.\n\nWe're still trying to figure out what the thing is, and the thing keeps changing. How are you helping your teams figure\n\nout how to control the variables on this? Like, explore this, but also you still need to get your work done. Try this\n\nout, but also you still have to roll out safely.\n\nWhat are the parameters here? How do other engineering managers and their directors and their CEOs make good decisions\n\nabout letting that into their system, but also confine it so they can explore this? Because they know they're going to\n\nhave to deal with it later. And they'd like to adopt it, but not all want to go. What's the strategy for this?\n\n**MATT ZELESKO:** So I think there's a bunch of different aspects, and we've actually tried to break it down into some of\n\nthe different parts of the role and how you apply it there. So when you think about making changes in production, you\n\nhave the rollout and supervision around that rollout. And then something goes wrong, so you have an investigation phase\n\nto try and understand what's going wrong. And then you have a mitigate phase, where you take actions to actually fix it.\n\nAnd so we are thinking about each one of those elements separately. And so investigation is something that you can do\n\nrelatively safely. You're not mutating production state. You're not doing anything else. And so we want really broad\n\nexperimentation and adoption with investigation, having AI-assisted investigation. Mitigation, where you're actually\n\ngoing and changing stuff in production, we definitely want a human in the loop at this point. And we also are fairly\n\nlimited in the types of things that we're going to allow agents to do in production today.\n\nSo we're trying to take different elements of the job and the role and say, here's where we think you can really lean\n\nin, and here's where we've got a lot more work collectively to do in order to make those things safe and reliable for\n\nmanaging production. And I really mean \"we\" in the sense that I don't think it's a central team that builds these\n\nthings. I think it is really-- everyone in SRE figuring out, what are the right sets of skills that work for them, and\n\nthen starting to learn and generate common skills that everyone can use as a result of the learning that we have on the\n\nground.\n\n**MATT SIEGLER:** Yeah, I like how you called attention to this common skills, because one of the things that SRE as a\n\nconcept, even internally, externally is this mindset of being able to really be down in the body of the work and having\n\nintuition for, oh, I think this reminds me of something that bothered me yesterday. And that kind of skill, that deep\n\nintuition of this deep in the stack and this concern that letting more and more automation alone, automation, not just\n\nAI, take hands on the wheel will blur if not deaden our ability to this intuition.\n\nWhat do we do to preserve this intuition that we still want the hands on the wheel on occasion, because we get too much\n\nautomation? Eventually, we'll be unable to address the complexity. We'll be, oh, it's reached the state, I can no longer\n\naddress. The machine is handed back to a human in this loop and they go, actually, I don't have any experience here. I\n\ndon't know what to do. We don't want that to happen. So how do we keep these skills sharp?\n\n**MATT ZELESKO:** Yes, so you definitely still want to retain knowledge about the production infrastructure. As I said, that\n\nmay be abstracted up a few levels from where we have that knowledge now. And that's, I think, OK. That enables us to\n\nlook at a much broader landscape. So you still want to preserve some of that. I actually think that AI can help us with\n\nthat because it can teach us about what the architecture is. It can sort of keep a repository of the information that we\n\nneed and have it accessible whenever you need that. So I think there's actually ways in which AI can help us in being\n\nbetter experts at those things.\n\n**MATT SIEGLER:** Yeah, so actually, there's some tension here. Role clarity and role specificity is something that SRE has\n\nclaimed to have for quite some time now and has actually identified itself. And going to conferences, I was at SREcon a\n\nfew weeks ago, it was very delightful to see people celebrating that, and also the idea that you can put someone on\n\nincident response, even in another company and with a little bit of time actually makes sense of what's going on. And\n\nthat, as you mentioned earlier, even within teams or across projects, is an incredible superpower for an organization.\n\nAt Google, that is certainly true. But as you describe this sort of proliferation of different kinds of production\n\nsurfaces, maybe everyone has their own unique way of solving the problem, different kind of software stacks. That's a\n\nreturn to the way things were before, and I don't think that's necessarily what we want. Maybe in the service of\n\ninnovation, that would be delightful. But how do you see working this tension out? Like, what are we going to do?\n\n**MATT ZELESKO:** Yeah, I mean, we're talking a lot about the risks, but I also think about, what are the huge opportunities\n\nhere, right? And I think here's some of them. There's a lot of times that we choose not to refactor code or rewrite\n\ncode, because we just understand what a giant task that is. And it could be something that would help the reliability\n\ndramatically, but we're just not willing to invest in it today. I think that is going to change. Like, our ability to\n\nrewrite code, refactor code is going to increase dramatically.\n\nI think the same thing, when we run something across Google, we tend to call it horizontals. We have an initiative where\n\nwe go, OK, we need every team to adopt this certain thing. And we try and have a rule that if you have a horizontal, the\n\ncentral team, whoever's running the horizontal, is doing most of the work so that we're not putting work on all of the\n\nteams across Google that need to implement this horizontal. But the reality is all the teams wind up doing a lot of\n\nwork. I think we have an opportunity here to say, if we ship a horizontal, we're going to ship skills with it so that\n\nevery team can just use agents to do the work to satisfy that horizontal.\n\n**MATT SIEGLER:** Remind us for those audience listeners what those things that may not be familiar with the skill of an\n\nagent, how they work together.\n\n**MATT ZELESKO:** Oh, so skills are essentially just capabilities on top of the coding harness, whether we use Antigravity,\n\nwhich is Google's product. And skills are essentially very specialized capabilities that you can write. It's essentially\n\nways that you can create new techniques or uses from just the base AI harness. And so give you an example, we have\n\nrecently-- a lot of people have probers because it's a big part of SLIs and SLOs, and we want to deprecate one kind of\n\nprober and in favor of another kind of prober.\n\nHistorically, we would have gone to every team and said, OK, you've got to change your code, and here's the guide of how\n\nyou should change it, and go and change your code to do that. Now, we can ship a skill that you just run on the code\n\nbase, and it changes everything for you, right? So I think there's an opportunity to get things done and get things done\n\nat scale actually goes up really dramatically.\n\nThe other big thing I'm excited about is I think we aren't always in the room at the right time, and particularly in the\n\nroom early in the process of designing a system. And so a lot of the reliability, knowledge, and expertise isn't always\n\nconsidered at the points where the architecture is being set or the software design is being set. Now with AI, I think\n\nwe have the ability to essentially have things that are automatically comparing designs against our production\n\nprinciples and catching reliability considerations much earlier and much more upstream of where we tend to catch them\n\ntoday.\n\n**MATT SIEGLER:** I was going to ask you that, but I'm so glad you brought me to that, because last time, you mentioned that\n\nSLOs were just a trailing indicator of reliability rather than leading. And how do we retool SRE for this role, which is\n\neffectively almost a product management role, which is defining by default reliability-- by default, I guess, is the\n\nexpression?\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** How do we get them earlier into the design phase and using these techniques that you just described right\n\nfrom the start? And you're saying your idea is to use AI to help actually indicate where they're missing?\n\n**MATT ZELESKO:** Absolutely, because I think as we look at the agentic impact on software development, it means that our\n\nsoftware engineers are going to spend a lot more time defining the best spec they can for what they are trying to\n\ncreate, and the agents are going to create a lot of the code. And so when we are investing that much in that spec\n\ndevelopment time, there's a real opportunity to inject reliability and reliability thinking into that spec as well, in a\n\nway that I don't think we do today, or at least we don't do it uniformly.\n\nAnd so, at the time that we are creating the specifications that our agents are going to use to go write the code,\n\nhaving additional skills that go in and look at the spec and assess it for-- identify risks with it, right? If\n\navailability is the trailing indicator, risks are the leading indicator, right? We try and identify the risks associated\n\nin a system. And we have some great mechanisms like STPA and other things that are ways for us to do that today. Today,\n\nthat is fairly human intensive, but you can imagine risk identification agents that are just running all the time and\n\nlooking at this and trying to find things in the code. So whether it's at spec time or even at commit time, they are\n\ngoing and assessing the production risk of the changes that are being made.\n\n**MATT SIEGLER:** Yes, this is a very design-heavy conversation we're having. If I'm building an architecture or even\n\nrevising a very large foundational architecture or moving along its life span, I imagine there are large architectures\n\nthat have designs that are heavily departed from where they are in reality right now. And that's just what happens.\n\nThat's life, right.\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** And this is an opportunity to go back and see what's happened and maybe go identify that as an opportunity\n\nfor revise. Now is that happening now or are we actually going and finding out, oh, this is not what's really going on\n\nanymore? In fact, we've just discovered this? This is an AI opportunity?\n\n**MATT ZELESKO:** I think it absolutely is an AI opportunity. And it is one where to your point, it's not a point in time\n\nspec, but it's ideally like a living diagram and understanding of the dependencies. And I talked about this before a\n\nlittle bit. But I think dependency mapping in this new world, particularly with much larger numbers of services, much\n\nlarger production surface area, you've got to have a real time understanding of the systems and how they work together\n\nand how they depend on each other, and I think AI can do a lot of that for us.\n\n**MATT SIEGLER:** Yeah, I'm going to be repetitive on this point, but it is, of course, the Prodcast. Why again, do you\n\nthink SRE as a collective, as a culture is especially suitable to this role? We have so many development engineers, and\n\nSRE has been training for this particular job, apparently. And why are you trying to post position us for this? It seems\n\nlike you are. Tell me why you think that we are culturally suitable for it at this moment. Like, make you--\n\n**MATT ZELESKO:** So a few things I will say, number 1, and this went back to the original SRE book, SREs' job is to\n\nautomate ourselves out of a job. It has always been about identifying, What are the difficult manual steps, the toilsome\n\nsteps? and essentially automating them away into the next thing. And so when we say automating ourselves out of a job,\n\nit takes on a different tone today, I think.\n\n**MATT SIEGLER:** I think.\n\n**MATT ZELESKO:** And so we've been talking a lot more about automating ourselves into jobs. And I think in that case, it is\n\nall about, what are SREs the best at? They're best at reliability engineering, having really good understandings of how\n\nto build reliable, resilient systems. And, yes, we also do a bunch of toilsome work. And we are on-call, and those are\n\naspects of the job. But I think at its core, we are reliability experts. And in any agentic future, you still need\n\nreliability experts.\n\nAnd so in some ways, I feel like this shift to agents and agents writing software is just the next step in the\n\nautomation of a lot of the work that we do. And SRE has been doing that from the beginning. We understand how to\n\nidentify toil or tasks that are ripe for automation and then going off and doing that. And I think that's going to be\n\nthe same and very true over the next 10 years as well as we look forward.\n\n**MATT SIEGLER:** I think you pointed out some areas of production that even a small shop can take action on, especially in\n\nthe anomaly detection and mitigation, not necessarily in the rollouts, but these are things that even the smallest shop\n\ncan do right now.\n\n**MATT ZELESKO:** Yeah.\n\n**MATT SIEGLER:** What are the things that are surprising you right now that you've seen happening around the world? What is\n\nsomething that you did not expect that is happening?\n\n**MATT ZELESKO:** I did not expect how fast we would make this shift. And I suspect I'm not alone there, but just the pace\n\nat which we went from, as we talked about 10 months ago, AI as the companion helping us out to AI really taking the lead\n\nrole in a bunch of the work that we are doing today. And I've been frankly shocked by its capabilities. I was a software\n\nengineer. I think we actually even talked about that on the first Prodcast, but I hadn't written code for a while.\n\nAnd as I've implored the team to spend more time with these things, I spent time with the system. I went and picked a\n\nbug that had been sitting there for a while, and I worked with Antigravity to go through and fix that bug. And it was\n\nprobably the first time that I had created software in a really long time. And what surprised me was how good that\n\ncollaboration and interaction was and how good the results were that came out of it.\n\nAnd also I got a little bit of that sense of wonder and fascination with things that are possible. It really opens up\n\nlike a whole new world of possibilities. And I think until you start to play with it, you don't quite understand how\n\namazing it is.\n\n**MATT SIEGLER:** And how about where are you going from here? Like, some places that you dream big? What's something--\n\nextrapolate your way out. What would you like to see in 2028--\n\n**MATT ZELESKO:** Well, look, as I said before, today, we are looking at, what are the safe non-mutating parts of production\n\nwhere agents can have an impact? I think that is a period of time. And if we do project ou. And so you step back from\n\nthat and say, generally, SREs are going to be on-call a lot less than they are today.\n\nAnd why that's exciting is because we have structured so many things around SREs being on-call, even down to the way we\n\nstructure our teams. So if we create a team, an SRE team for a service, that is two sister teams and two geographically\n\ndistributed locations, so we can do around the clock very easily. What does this unlock for the organization if on-call\n\nisn't the grounding for so many of those decisions we make?\n\nThat starts to get really exciting, right? And it doesn't mean that we aren't still the stewards of production, and we\n\naren't responsible for the reliability and resilience of the systems, but the way that we do it, I think, can be a lot\n\nmore empowering.\n\n**MATT SIEGLER:** I like the sound of that. Maybe we won't get so many pages at 2:00 in the morning.\n\n**MATT ZELESKO:** [LAUGHS]\n\n**MATT SIEGLER:** All right, well, that's all the time we have from the Pittsburgh office of Google. Matt Zelesko, I'm Matt\n\nSiegler for the Prodcast, Google's podcast on the SRE and production software. Thank you for joining us.\n\n**MATT ZELESKO:** Oh, happy to be here.\n\n**JORDAN GREENBERG:** You've been listening to the Prodcast, Google's podcast on site reliability engineering and production\n\nsoftware. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with\n\ncontributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The\n\nProdcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER:** You missed a page from Telebot.", "znaku_textu": 23800, "slov": 4318, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:24", "sha256": "cd5f2dc48e134344e330a4d097e2bb250bb68f767372dd2dccd880dead8deaf3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04/", "titulek": "Matt Zelesko and the Future of SRE", "h1": "Matt Zelesko and the Future of SRE", "popis": "We sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04"}, "headline": "Matt Zelesko and the Future of SRE", "description": "We sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.", "image": "https://kstatic.googleusercontent.com/files/143ac6394bc47e0c0c20f3ed5dbee8f79a7093a3255a84300aeff36217e8009a97a9eec60b7292367740abc6956cdc72817878cdfad85329ffbe4432f9061a89", "author": [{"@type": "Person", "name": "Sam Anderson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Matt Zelesko and the Future of SRE"}], "markdown": "# Matt Zelesko and the Future of SRE\n\nWe sit down with Matt Zelesko, VP of SRE at Google, for a candid talk about how AI is changing SRE — and how it’s not.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and\n\nproduction software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of\n\npsychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we\n\nmade along the way. Happy listening, and may all your incidents be novel.\n\n**MATT SIEGLER:** Welcome back to the podcast, Google's podcast on SRE and production software. I've got a special guest in\n\nperson today. I'm Matt Siegler. This is--\n\n**MATT ZELESKO:** Matt Zelesko.\n\n**MATT SIEGLER:** What are you? What do you do here?\n\n**MATT ZELESKO:** I lead SRE teams for Google globally.\n\n**MATT SIEGLER:** How long has that been now?\n\n**MATT ZELESKO:** It's been a little over four years.\n\n**MATT SIEGLER:** That's right. And you were here just 10 months ago.\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** And the SRE book is now 10 years old.\n\n**MATT ZELESKO:** It's amazing.\n\n**MATT SIEGLER:** And in 10 months, so much has happened. What has happened in 10 months? Let's start with you.\n\n**MATT ZELESKO:** Yes. Well, first of all, the SRE book is 10 years old. We've had small things like the invention of cloud\n\nand hyperscalers and now AI that have all happened after the book. So I think we're really mindful that the industry and\n\nthe landscape has changed a lot. And we need to change with it. What has happened over the last few months is a real\n\nshift in how we interact with AI and large language models.\n\nThis was generally a dialogue-based interaction. You were talking to the model. You were chatting with the model. It has\n\nnow shifted over to agents and agentic workflows. And that's really only been over a few months, but we are already\n\nseeing really dramatic impacts as a result of that. And I'll say, and I probably said this 10 months ago, it's hard to\n\nguess how fast this is moving. But I think it's very clear that the role of software developers is changing and changing\n\nright now. And the role of SREs is changing and has to change right now as well.\n\n**MATT SIEGLER:** I like how you put that. Last time you were here, you called AI the buddy, the buddy sitting next to the\n\nSRE, maybe like in the passenger seat, but now it's like the buddy's become a lot more autonomous. Let's reflect on what\n\nSRE's role is in this increasing velocity of that buddy now. What's buddy doing now?\n\n**MATT ZELESKO:** Yeah, so I think you're absolutely right. It's going from human-centric work to human-supervised work in a\n\nlot of ways, which means that buddy or actually, it's like buddies that are doing a bunch of work on your behalf. And\n\nwhat this means is that the pace at which we are creating code, the pace at which we are changing production, is\n\nincreasing dramatically.\n\nAnd that changes a whole lot of the stuff around the role and what we have to do as SREs. And look, I always think that\n\nthere's going to be a human element here. We have a judgment and oversight and a wisdom that is still very much\n\nrequired. But a lot of the other work can be done by agents. And we're seeing more and more of that happening.\n\n**MATT SIEGLER:** Yeah, you mentioned last time we talked SRE will always be in the operations role, and AI is just shifting\n\nwhat our operations role can do, maybe changing the scale, maybe changing when they take action.\n\n**MATT ZELESKO:** Yeah.\n\n**MATT SIEGLER:** That implies a lot of complexity.\n\n**MATT ZELESKO:** It does.\n\n**MATT SIEGLER:** Increased complexity. I know that SRE role and mindset is to be comfortable in that complexity. Do you\n\nthink that's a role suitable to this new world that we're entering into? I think that's what you're saying, but--\n\n**MATT ZELESKO:** I'm saying a few things there. I think, number 1, you are absolutely right that there is a notion that\n\nSREs pride themselves on having really deep domain expertise. And I think in the future, we are going to prioritize\n\ngeneralist capabilities. So I think we'll still have expertise in areas, but I think we're going to really emphasize\n\nthis need to be able to generalize across a bunch of different domains, to not be as restricted in terms of the\n\nexpertise we have today.\n\nAt Google, we have really deep domain expertise simply because the scale is massive, and we almost have to. But I think\n\nas agents take on more and more of both the software creation and the production operation, we start to expand out and\n\nwe each need to have a lot more broad domain expertise as opposed to specific.\n\n**MATT SIEGLER:** Yeah, it's this expertise point. It's interesting to me. Let's do some before and after, like zip back a\n\nfew years. Not all the way back to the beginning, but--\n\n**MATT ZELESKO:** Sure.\n\n**MATT SIEGLER:** --enough back in time where it felt like expertise could be focused and you could still get your job done\n\nand that would be enough. But I think you're talking about maybe broadening one's experience. Let's think outside of\n\nGoogle, maybe industry as a whole. What would you like people to be skilling up, maybe? What they need to be doing to\n\nprepare for this?\n\n**MATT ZELESKO:** Yeah. Well, one thing I would say is we've already seen a transition like this inside of Google, and we\n\nmay have talked about this on the Prodcast, but there's been a real concerted effort over the last five years to get on\n\nto common production platforms for things like rollouts and observability, capacity management. Incident response.\n\nBecause prior to that, we had many systems that did those things, and there was real power that was unlocked when we\n\nsaid, hey, everybody's going to get onto the same systems.\n\nThat, in and of itself, helped us expand the knowledge base of the typical SRE and the systems that they could actually\n\nmanage. So if everything is running on the same production platforms, that means if I'm an SRE in one area supporting\n\nYouTube, I can go and support Workspace because I understand all the platforms, I understand all the tools. So we've\n\nalready had a model here where we've seen a real uplift in our ability to be productive and productive across multiple\n\ndomains when we start sharing common tools. And I think this is another example of that as well.\n\nIn terms of what I would suggest somebody in the industry does, start using these things as quickly as possible. It's\n\nwhat we implore our teams to do,And so what we've really encouraged is start using this thing. Just use it in the things\n\nthat you do every day. And there's a responsibility on us here, leadership in saying, we are going to grant you the time\n\nand space to do that. We understand that adopting anything has a bit of a productivity dip at the beginning.\n\nAnd then you presumably get a lot more productive. And so we've got to give the team space to go and explore and\n\nexperiment with these. And I think we also have to provide the team with safe and useful default ways to do it, but\n\nparticularly when you're talking about managing production.\n\n**MATT SIEGLER:** Yeah, I hear that, especially this exploratory, it does feel like although we want something right now.\n\nWe're still trying to figure out what the thing is, and the thing keeps changing. How are you helping your teams figure\n\nout how to control the variables on this? Like, explore this, but also you still need to get your work done. Try this\n\nout, but also you still have to roll out safely.\n\nWhat are the parameters here? How do other engineering managers and their directors and their CEOs make good decisions\n\nabout letting that into their system, but also confine it so they can explore this? Because they know they're going to\n\nhave to deal with it later. And they'd like to adopt it, but not all want to go. What's the strategy for this?\n\n**MATT ZELESKO:** So I think there's a bunch of different aspects, and we've actually tried to break it down into some of\n\nthe different parts of the role and how you apply it there. So when you think about making changes in production, you\n\nhave the rollout and supervision around that rollout. And then something goes wrong, so you have an investigation phase\n\nto try and understand what's going wrong. And then you have a mitigate phase, where you take actions to actually fix it.\n\nAnd so we are thinking about each one of those elements separately. And so investigation is something that you can do\n\nrelatively safely. You're not mutating production state. You're not doing anything else. And so we want really broad\n\nexperimentation and adoption with investigation, having AI-assisted investigation. Mitigation, where you're actually\n\ngoing and changing stuff in production, we definitely want a human in the loop at this point. And we also are fairly\n\nlimited in the types of things that we're going to allow agents to do in production today.\n\nSo we're trying to take different elements of the job and the role and say, here's where we think you can really lean\n\nin, and here's where we've got a lot more work collectively to do in order to make those things safe and reliable for\n\nmanaging production. And I really mean \"we\" in the sense that I don't think it's a central team that builds these\n\nthings. I think it is really-- everyone in SRE figuring out, what are the right sets of skills that work for them, and\n\nthen starting to learn and generate common skills that everyone can use as a result of the learning that we have on the\n\nground.\n\n**MATT SIEGLER:** Yeah, I like how you called attention to this common skills, because one of the things that SRE as a\n\nconcept, even internally, externally is this mindset of being able to really be down in the body of the work and having\n\nintuition for, oh, I think this reminds me of something that bothered me yesterday. And that kind of skill, that deep\n\nintuition of this deep in the stack and this concern that letting more and more automation alone, automation, not just\n\nAI, take hands on the wheel will blur if not deaden our ability to this intuition.\n\nWhat do we do to preserve this intuition that we still want the hands on the wheel on occasion, because we get too much\n\nautomation? Eventually, we'll be unable to address the complexity. We'll be, oh, it's reached the state, I can no longer\n\naddress. The machine is handed back to a human in this loop and they go, actually, I don't have any experience here. I\n\ndon't know what to do. We don't want that to happen. So how do we keep these skills sharp?\n\n**MATT ZELESKO:** Yes, so you definitely still want to retain knowledge about the production infrastructure. As I said, that\n\nmay be abstracted up a few levels from where we have that knowledge now. And that's, I think, OK. That enables us to\n\nlook at a much broader landscape. So you still want to preserve some of that. I actually think that AI can help us with\n\nthat because it can teach us about what the architecture is. It can sort of keep a repository of the information that we\n\nneed and have it accessible whenever you need that. So I think there's actually ways in which AI can help us in being\n\nbetter experts at those things.\n\n**MATT SIEGLER:** Yeah, so actually, there's some tension here. Role clarity and role specificity is something that SRE has\n\nclaimed to have for quite some time now and has actually identified itself. And going to conferences, I was at SREcon a\n\nfew weeks ago, it was very delightful to see people celebrating that, and also the idea that you can put someone on\n\nincident response, even in another company and with a little bit of time actually makes sense of what's going on. And\n\nthat, as you mentioned earlier, even within teams or across projects, is an incredible superpower for an organization.\n\nAt Google, that is certainly true. But as you describe this sort of proliferation of different kinds of production\n\nsurfaces, maybe everyone has their own unique way of solving the problem, different kind of software stacks. That's a\n\nreturn to the way things were before, and I don't think that's necessarily what we want. Maybe in the service of\n\ninnovation, that would be delightful. But how do you see working this tension out? Like, what are we going to do?\n\n**MATT ZELESKO:** Yeah, I mean, we're talking a lot about the risks, but I also think about, what are the huge opportunities\n\nhere, right? And I think here's some of them. There's a lot of times that we choose not to refactor code or rewrite\n\ncode, because we just understand what a giant task that is. And it could be something that would help the reliability\n\ndramatically, but we're just not willing to invest in it today. I think that is going to change. Like, our ability to\n\nrewrite code, refactor code is going to increase dramatically.\n\nI think the same thing, when we run something across Google, we tend to call it horizontals. We have an initiative where\n\nwe go, OK, we need every team to adopt this certain thing. And we try and have a rule that if you have a horizontal, the\n\ncentral team, whoever's running the horizontal, is doing most of the work so that we're not putting work on all of the\n\nteams across Google that need to implement this horizontal. But the reality is all the teams wind up doing a lot of\n\nwork. I think we have an opportunity here to say, if we ship a horizontal, we're going to ship skills with it so that\n\nevery team can just use agents to do the work to satisfy that horizontal.\n\n**MATT SIEGLER:** Remind us for those audience listeners what those things that may not be familiar with the skill of an\n\nagent, how they work together.\n\n**MATT ZELESKO:** Oh, so skills are essentially just capabilities on top of the coding harness, whether we use Antigravity,\n\nwhich is Google's product. And skills are essentially very specialized capabilities that you can write. It's essentially\n\nways that you can create new techniques or uses from just the base AI harness. And so give you an example, we have\n\nrecently-- a lot of people have probers because it's a big part of SLIs and SLOs, and we want to deprecate one kind of\n\nprober and in favor of another kind of prober.\n\nHistorically, we would have gone to every team and said, OK, you've got to change your code, and here's the guide of how\n\nyou should change it, and go and change your code to do that. Now, we can ship a skill that you just run on the code\n\nbase, and it changes everything for you, right? So I think there's an opportunity to get things done and get things done\n\nat scale actually goes up really dramatically.\n\nThe other big thing I'm excited about is I think we aren't always in the room at the right time, and particularly in the\n\nroom early in the process of designing a system. And so a lot of the reliability, knowledge, and expertise isn't always\n\nconsidered at the points where the architecture is being set or the software design is being set. Now with AI, I think\n\nwe have the ability to essentially have things that are automatically comparing designs against our production\n\nprinciples and catching reliability considerations much earlier and much more upstream of where we tend to catch them\n\ntoday.\n\n**MATT SIEGLER:** I was going to ask you that, but I'm so glad you brought me to that, because last time, you mentioned that\n\nSLOs were just a trailing indicator of reliability rather than leading. And how do we retool SRE for this role, which is\n\neffectively almost a product management role, which is defining by default reliability-- by default, I guess, is the\n\nexpression?\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** How do we get them earlier into the design phase and using these techniques that you just described right\n\nfrom the start? And you're saying your idea is to use AI to help actually indicate where they're missing?\n\n**MATT ZELESKO:** Absolutely, because I think as we look at the agentic impact on software development, it means that our\n\nsoftware engineers are going to spend a lot more time defining the best spec they can for what they are trying to\n\ncreate, and the agents are going to create a lot of the code. And so when we are investing that much in that spec\n\ndevelopment time, there's a real opportunity to inject reliability and reliability thinking into that spec as well, in a\n\nway that I don't think we do today, or at least we don't do it uniformly.\n\nAnd so, at the time that we are creating the specifications that our agents are going to use to go write the code,\n\nhaving additional skills that go in and look at the spec and assess it for-- identify risks with it, right? If\n\navailability is the trailing indicator, risks are the leading indicator, right? We try and identify the risks associated\n\nin a system. And we have some great mechanisms like STPA and other things that are ways for us to do that today. Today,\n\nthat is fairly human intensive, but you can imagine risk identification agents that are just running all the time and\n\nlooking at this and trying to find things in the code. So whether it's at spec time or even at commit time, they are\n\ngoing and assessing the production risk of the changes that are being made.\n\n**MATT SIEGLER:** Yes, this is a very design-heavy conversation we're having. If I'm building an architecture or even\n\nrevising a very large foundational architecture or moving along its life span, I imagine there are large architectures\n\nthat have designs that are heavily departed from where they are in reality right now. And that's just what happens.\n\nThat's life, right.\n\n**MATT ZELESKO:** Yes.\n\n**MATT SIEGLER:** And this is an opportunity to go back and see what's happened and maybe go identify that as an opportunity\n\nfor revise. Now is that happening now or are we actually going and finding out, oh, this is not what's really going on\n\nanymore? In fact, we've just discovered this? This is an AI opportunity?\n\n**MATT ZELESKO:** I think it absolutely is an AI opportunity. And it is one where to your point, it's not a point in time\n\nspec, but it's ideally like a living diagram and understanding of the dependencies. And I talked about this before a\n\nlittle bit. But I think dependency mapping in this new world, particularly with much larger numbers of services, much\n\nlarger production surface area, you've got to have a real time understanding of the systems and how they work together\n\nand how they depend on each other, and I think AI can do a lot of that for us.\n\n**MATT SIEGLER:** Yeah, I'm going to be repetitive on this point, but it is, of course, the Prodcast. Why again, do you\n\nthink SRE as a collective, as a culture is especially suitable to this role? We have so many development engineers, and\n\nSRE has been training for this particular job, apparently. And why are you trying to post position us for this? It seems\n\nlike you are. Tell me why you think that we are culturally suitable for it at this moment. Like, make you--\n\n**MATT ZELESKO:** So a few things I will say, number 1, and this went back to the original SRE book, SREs' job is to\n\nautomate ourselves out of a job. It has always been about identifying, What are the difficult manual steps, the toilsome\n\nsteps? and essentially automating them away into the next thing. And so when we say automating ourselves out of a job,\n\nit takes on a different tone today, I think.\n\n**MATT SIEGLER:** I think.\n\n**MATT ZELESKO:** And so we've been talking a lot more about automating ourselves into jobs. And I think in that case, it is\n\nall about, what are SREs the best at? They're best at reliability engineering, having really good understandings of how\n\nto build reliable, resilient systems. And, yes, we also do a bunch of toilsome work. And we are on-call, and those are\n\naspects of the job. But I think at its core, we are reliability experts. And in any agentic future, you still need\n\nreliability experts.\n\nAnd so in some ways, I feel like this shift to agents and agents writing software is just the next step in the\n\nautomation of a lot of the work that we do. And SRE has been doing that from the beginning. We understand how to\n\nidentify toil or tasks that are ripe for automation and then going off and doing that. And I think that's going to be\n\nthe same and very true over the next 10 years as well as we look forward.\n\n**MATT SIEGLER:** I think you pointed out some areas of production that even a small shop can take action on, especially in\n\nthe anomaly detection and mitigation, not necessarily in the rollouts, but these are things that even the smallest shop\n\ncan do right now.\n\n**MATT ZELESKO:** Yeah.\n\n**MATT SIEGLER:** What are the things that are surprising you right now that you've seen happening around the world? What is\n\nsomething that you did not expect that is happening?\n\n**MATT ZELESKO:** I did not expect how fast we would make this shift. And I suspect I'm not alone there, but just the pace\n\nat which we went from, as we talked about 10 months ago, AI as the companion helping us out to AI really taking the lead\n\nrole in a bunch of the work that we are doing today. And I've been frankly shocked by its capabilities. I was a software\n\nengineer. I think we actually even talked about that on the first Prodcast, but I hadn't written code for a while.\n\nAnd as I've implored the team to spend more time with these things, I spent time with the system. I went and picked a\n\nbug that had been sitting there for a while, and I worked with Antigravity to go through and fix that bug. And it was\n\nprobably the first time that I had created software in a really long time. And what surprised me was how good that\n\ncollaboration and interaction was and how good the results were that came out of it.\n\nAnd also I got a little bit of that sense of wonder and fascination with things that are possible. It really opens up\n\nlike a whole new world of possibilities. And I think until you start to play with it, you don't quite understand how\n\namazing it is.\n\n**MATT SIEGLER:** And how about where are you going from here? Like, some places that you dream big? What's something--\n\nextrapolate your way out. What would you like to see in 2028--\n\n**MATT ZELESKO:** Well, look, as I said before, today, we are looking at, what are the safe non-mutating parts of production\n\nwhere agents can have an impact? I think that is a period of time. And if we do project ou. And so you step back from\n\nthat and say, generally, SREs are going to be on-call a lot less than they are today.\n\nAnd why that's exciting is because we have structured so many things around SREs being on-call, even down to the way we\n\nstructure our teams. So if we create a team, an SRE team for a service, that is two sister teams and two geographically\n\ndistributed locations, so we can do around the clock very easily. What does this unlock for the organization if on-call\n\nisn't the grounding for so many of those decisions we make?\n\nThat starts to get really exciting, right? And it doesn't mean that we aren't still the stewards of production, and we\n\naren't responsible for the reliability and resilience of the systems, but the way that we do it, I think, can be a lot\n\nmore empowering.\n\n**MATT SIEGLER:** I like the sound of that. Maybe we won't get so many pages at 2:00 in the morning.\n\n**MATT ZELESKO:** [LAUGHS]\n\n**MATT SIEGLER:** All right, well, that's all the time we have from the Pittsburgh office of Google. Matt Zelesko, I'm Matt\n\nSiegler for the Prodcast, Google's podcast on the SRE and production software. Thank you for joining us.\n\n**MATT ZELESKO:** Oh, happy to be here.\n\n**JORDAN GREENBERG:** You've been listening to the Prodcast, Google's podcast on site reliability engineering and production\n\nsoftware. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with\n\ncontributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The\n\nProdcast theme is Telebot by Javi Beltran and Jordan Greenberg.\n\n**SPEAKER:** You missed a page from Telebot.", "znaku_textu": 23800, "slov": 4318, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-04", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:13", "sha256": "cd5f2dc48e134344e330a4d097e2bb250bb68f767372dd2dccd880dead8deaf3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05", "titulek": "The SRE At Home", "h1": "The SRE At Home", "popis": "We speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05"}, "headline": "The SRE At Home", "description": "We speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.", "image": "https://kstatic.googleusercontent.com/files/4b2f02c576229682f0a1f6fb4cc0c67737e96ff1a33aa3fcbdfbeafc2d0567e9d1a9d1877b37ecd24183134d8ef84b95458641d270a2a7165d489ef64f211e54", "author": [{"@type": "Person", "name": "Ricard Bejarano"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The SRE At Home"}], "markdown": "# The SRE At Home\n\nWe speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.\n\n[00:00:00.00] **[MUSIC PLAYING]**\n\n[00:00:05.39] **JORDAN:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the conference …\n\n[00:00:30.52] **ROBOTIC VOICE:** You missed a page from Telebot.\n\n[00:00:33.22] **JORDAN:** Welcome to The Prodcast, Google's podcast, on site reliability engineering and software. And see, that time, I did it perfect. Thank you. We'll put applause in later. My name is Jordan and I have with me from Cisco--\n\n[00:00:48.72] **RICARD BEJARANO:** My name is Ricard. I'm a lead site reliability engineer at Cisco's ThousandEyes, and we're here to talk about Homelab.\n\n[00:00:54.70] **JORDAN:** Awesome. Yeah. So what would you call a person who is the SRE, but in their house.\n\n[00:01:01.28] **RICARD BEJARANO:** Well, it's myself, so it's hard to say.\n\n[00:01:03.32] **JORDAN:** Yeah, what would your title be?\n\n[00:01:05.16] **RICARD BEJARANO:** Homelabber.\n\n[00:01:06.04] **JORDAN:** Homelabber, OK.\n\n[00:01:06.78] **RICARD BEJARANO:** I think that takes it all because it's all-- you own all the stack.\n\n[00:01:10.18] **JORDAN:** Yeah.\n\n[00:01:10.56] **RICARD BEJARANO:** So you could call yourself whatever you want. You can be the CEO.\n\n[00:01:13.76] **JORDAN:** CEO sounds good. I'll take that one, too. So for anyone who doesn't have a home lab, why do they want one? And what can you do with them?\n\n[00:01:22.76] **RICARD BEJARANO:** Well, for a lot of reasons, one of the main ones, which is what got me started, is just pure tinkering. So if you're the kind of people that-- or person that loves tinkering with computers, that loves building stuff, that wonders how does a website work, how does google.com translate to computers somewhere where I connect and I can modify my Excel sheet or Google Sheets. So if you're that kind of person that's driven by curiosity and learning about how computers work, that's one reason.\n\n[00:01:53.34] Another reason is just learning in general and driving your career. There's a lot of people who are building resumes who are scaling what they do. They're basically growing professionally by practicing at home and then bringing that expertise at work.\n\n[00:02:08.72] **JORDAN:** So tell me a little bit more about that, because some people think that Homelab is just like, I have a place I can store my pictures and I can send it to myself, or I want to host an email server because nothing could go wrong if you host your own email server. But a lot of people, especially who are in our audience, they have a lot of technical skills. What ones in particular might get upleveled if they practice tinkering with their Homelab?\n\n[00:02:34.90] **RICARD BEJARANO:** Well, I learned Kubernetes through the topic. I'm giving a talk here at SRE-con this week.\n\n[00:02:40.06] **JORDAN:** Wow.\n\n[00:02:40.56] **RICARD BEJARANO:** Through Homelabbing, through running Kubernetes at home because I grew out of Docker at the time.\n\n[00:02:45.68] **JORDAN:** No shade on Docker. Docker is great.\n\n[00:02:47.64] **RICARD BEJARANO:** Docker's great, but Kubernetes is a more employable skill because it's more popular in the enterprise. So I took the decision to switch to Kubernetes, and that landed also jobs for me. So you can do all sorts of stuff professionally, but also on the side, one of the things around my Homelab is home assistant.\n\n[00:03:03.02] **JORDAN:** Yeah.\n\n[00:03:03.20] **RICARD BEJARANO:** And I have the whole home automated. I can watch the dogs remotely.\n\n[00:03:08.08] **JORDAN:** This is the most important thing you can do with a home.\n\n[00:03:10.24] **RICARD BEJARANO:** Right? So it's great. You con do that. You can host your own website if you want to take control of your public image and don't want to rely on social media, which comes and goes, or if you want to run a blog. I run my own blog posts, as well, and on my website, and that's where I link to everything. And I can post articles with the freedom that doing whatever you want gives you, because you don't depend on meeting anyone's rules or on anyone's uptime. You can also, if you think you can beat one of the big ones, you can perhaps do that, as well.\n\n[00:03:40.10] And in the process, you'll learn a lot, all of these skills which are very much employable and which can boost your career.\n\n[00:03:47.82] **JORDAN:** Yeah, definitely. I think there's a lot of different opportunities that people can use home labs for. For example, my family has a Dungeons & Dragons game, and we self-host the ability for everybody to connect to it because sometimes the service that we used to use isn't super reliable, or slow or whatever. And so while that could be just for fun and family stuff, but you could also make a career of doing that for other people. So there's a million different ways to get there.\n\n[00:04:17.54] So if somebody was really interested in learning more about Homelabbing, where would they go?\n\n[00:04:23.64] **RICARD BEJARANO:** Well, later in September, they will be able to buy my book. I'm writing a book on Homelabbing with O'Reilly. That's due to come out September. I'm halfway through writing it yet. But in the meantime, we're about to go with the early access. But in the meantime, you can go to the Homelab subreddit. That's a big community. It's probably the biggest one out there.\n\n[00:04:41.10] **JORDAN:** Yeah.\n\n[00:04:41.34] **RICARD BEJARANO:** There's plenty of YouTube channels that do Homelab content. I won't name names. You can just look it up. But there's plenty of them.\n\n[00:04:47.82] **JORDAN:** Yeah.\n\n[00:04:48.10] **RICARD BEJARANO:** And they're all growing, and they have very high quality content with detailed walkthroughs. It's not as scary as it might have been years ago.\n\n[00:04:54.18] **JORDAN:** Yeah.\n\n[00:04:54.58] **RICARD BEJARANO:** The walkthroughs and the documentation are slowly coming to a level where you don't even have to be a super expert, and it's not so much a hard topic.\n\n[00:05:02.76] **JORDAN:** What's really interesting about Homelabbing is that it always has come from humble roots of like, oh, I had an old computer. What can I use it for? What can I use the parts for? And there are a lot of ways now that you can use any hardware and slap it into your Homelab, and just resurrect something that, instead of like in Toy Story where it was like, I don't want to play with you anymore. But now it's like, oh, that can have a new use again. And especially during a time when electronics and components are so expensive, it's a really good thing.\n\n[00:05:34.54] **RICARD BEJARANO:** Oh, yeah.\n\n[00:05:35.12] **JORDAN:** Should our Homelabbers always want to do that? Or are there platforms of hardware or software that are super helpful to them to start out?\n\n[00:05:45.00] **RICARD BEJARANO:** Well, Docker and containerization engines in general have enabled the use of lower-end hardware, stuff you get found on a drawer that you had from a long time ago, or that you get used or refurbished for very cheap. This sort of container engines have made that very much possible because it doesn't have as much overhead as VMs had, which was an issue on the enterprise. But it also was a very big blocker at home because you needed a lot of machine to run just a couple of services. Now you can have a cheap Raspberry Pi or an old Intel NUC you got off the internet.\n\n[00:06:18.60] Or my latest acquisition is a Mac Mini that I rescued used that had a broken Bluetooth board. And so the seller was selling it cheap because it wasn't useful for him anymore. And I don't need Bluetooth for my services, so now it's running my OpenClaw instance.\n\n[00:06:32.08] **JORDAN:** Wow, yeah.\n\n[00:06:33.52] **RICARD BEJARANO:** So yeah.\n\n[00:06:34.12] **JORDAN:** That's amazing. Where can we find you on the internet?\n\n[00:06:37.44] **RICARD BEJARANO:** Well, my website is bejarano.io, which is my surname dot io. And everything is there. The link to the book will be there once it's published. Right now, it points to a form. So if you have a Homelab, we're looking for real-world examples of Homelabs that might get featured on the book.\n\n[00:06:52.24] **JORDAN:** Cool.\n\n[00:06:52.36] **RICARD BEJARANO:** So if you want to take the chance and maybe get that opportunity to be on the first published book about Homelabbing, go take it.\n\n[00:06:58.25] **JORDAN:** And what's the book called?\n\n[00:07:00.24] **RICARD BEJARANO:** The book is The Homelab Handbook, which is the definitive guide to self-hosting.\n\n[00:07:04.46] **JORDAN:** Awesome. Well, thank you very much. This has been the Prodcast. Have a great day.\n\n[00:07:09.88] You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verjee. The Prodcast theme is \"Telebot\" by Joey Beltran and Jordan Greenberg.\n\n[00:07:43.14] **[MUSIC PLAYING]**\n\n[00:07:44.08] **ROBOTIC VOICE:** You missed a page from Telebot.\n\n[00:07:46.40]", "znaku_textu": 9242, "slov": 1570, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:22", "sha256": "a10c40c7b0b03c0acc2946997642cc3beff3e1f9772651f859108b67a81abc73", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05/", "titulek": "The SRE At Home", "h1": "The SRE At Home", "popis": "We speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05"}, "headline": "The SRE At Home", "description": "We speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.", "image": "https://kstatic.googleusercontent.com/files/4b2f02c576229682f0a1f6fb4cc0c67737e96ff1a33aa3fcbdfbeafc2d0567e9d1a9d1877b37ecd24183134d8ef84b95458641d270a2a7165d489ef64f211e54", "author": [{"@type": "Person", "name": "Ricard Bejarano"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The SRE At Home"}], "markdown": "# The SRE At Home\n\nWe speak with Ricard Bejarano about being an SRE at home, discussing Home Lab systems.\n\n[00:00:00.00] **[MUSIC PLAYING]**\n\n[00:00:05.39] **JORDAN:** Welcome to season 6 of the Prodcast, Google's podcast about site-reliability engineering and production software. Earlier this year, The Prodcast team recorded short sessions with par ticipants at SREcon Americas 2026. Here’s what we learned talking with people at the conference …\n\n[00:00:30.52] **ROBOTIC VOICE:** You missed a page from Telebot.\n\n[00:00:33.22] **JORDAN:** Welcome to The Prodcast, Google's podcast, on site reliability engineering and software. And see, that time, I did it perfect. Thank you. We'll put applause in later. My name is Jordan and I have with me from Cisco--\n\n[00:00:48.72] **RICARD BEJARANO:** My name is Ricard. I'm a lead site reliability engineer at Cisco's ThousandEyes, and we're here to talk about Homelab.\n\n[00:00:54.70] **JORDAN:** Awesome. Yeah. So what would you call a person who is the SRE, but in their house.\n\n[00:01:01.28] **RICARD BEJARANO:** Well, it's myself, so it's hard to say.\n\n[00:01:03.32] **JORDAN:** Yeah, what would your title be?\n\n[00:01:05.16] **RICARD BEJARANO:** Homelabber.\n\n[00:01:06.04] **JORDAN:** Homelabber, OK.\n\n[00:01:06.78] **RICARD BEJARANO:** I think that takes it all because it's all-- you own all the stack.\n\n[00:01:10.18] **JORDAN:** Yeah.\n\n[00:01:10.56] **RICARD BEJARANO:** So you could call yourself whatever you want. You can be the CEO.\n\n[00:01:13.76] **JORDAN:** CEO sounds good. I'll take that one, too. So for anyone who doesn't have a home lab, why do they want one? And what can you do with them?\n\n[00:01:22.76] **RICARD BEJARANO:** Well, for a lot of reasons, one of the main ones, which is what got me started, is just pure tinkering. So if you're the kind of people that-- or person that loves tinkering with computers, that loves building stuff, that wonders how does a website work, how does google.com translate to computers somewhere where I connect and I can modify my Excel sheet or Google Sheets. So if you're that kind of person that's driven by curiosity and learning about how computers work, that's one reason.\n\n[00:01:53.34] Another reason is just learning in general and driving your career. There's a lot of people who are building resumes who are scaling what they do. They're basically growing professionally by practicing at home and then bringing that expertise at work.\n\n[00:02:08.72] **JORDAN:** So tell me a little bit more about that, because some people think that Homelab is just like, I have a place I can store my pictures and I can send it to myself, or I want to host an email server because nothing could go wrong if you host your own email server. But a lot of people, especially who are in our audience, they have a lot of technical skills. What ones in particular might get upleveled if they practice tinkering with their Homelab?\n\n[00:02:34.90] **RICARD BEJARANO:** Well, I learned Kubernetes through the topic. I'm giving a talk here at SRE-con this week.\n\n[00:02:40.06] **JORDAN:** Wow.\n\n[00:02:40.56] **RICARD BEJARANO:** Through Homelabbing, through running Kubernetes at home because I grew out of Docker at the time.\n\n[00:02:45.68] **JORDAN:** No shade on Docker. Docker is great.\n\n[00:02:47.64] **RICARD BEJARANO:** Docker's great, but Kubernetes is a more employable skill because it's more popular in the enterprise. So I took the decision to switch to Kubernetes, and that landed also jobs for me. So you can do all sorts of stuff professionally, but also on the side, one of the things around my Homelab is home assistant.\n\n[00:03:03.02] **JORDAN:** Yeah.\n\n[00:03:03.20] **RICARD BEJARANO:** And I have the whole home automated. I can watch the dogs remotely.\n\n[00:03:08.08] **JORDAN:** This is the most important thing you can do with a home.\n\n[00:03:10.24] **RICARD BEJARANO:** Right? So it's great. You con do that. You can host your own website if you want to take control of your public image and don't want to rely on social media, which comes and goes, or if you want to run a blog. I run my own blog posts, as well, and on my website, and that's where I link to everything. And I can post articles with the freedom that doing whatever you want gives you, because you don't depend on meeting anyone's rules or on anyone's uptime. You can also, if you think you can beat one of the big ones, you can perhaps do that, as well.\n\n[00:03:40.10] And in the process, you'll learn a lot, all of these skills which are very much employable and which can boost your career.\n\n[00:03:47.82] **JORDAN:** Yeah, definitely. I think there's a lot of different opportunities that people can use home labs for. For example, my family has a Dungeons & Dragons game, and we self-host the ability for everybody to connect to it because sometimes the service that we used to use isn't super reliable, or slow or whatever. And so while that could be just for fun and family stuff, but you could also make a career of doing that for other people. So there's a million different ways to get there.\n\n[00:04:17.54] So if somebody was really interested in learning more about Homelabbing, where would they go?\n\n[00:04:23.64] **RICARD BEJARANO:** Well, later in September, they will be able to buy my book. I'm writing a book on Homelabbing with O'Reilly. That's due to come out September. I'm halfway through writing it yet. But in the meantime, we're about to go with the early access. But in the meantime, you can go to the Homelab subreddit. That's a big community. It's probably the biggest one out there.\n\n[00:04:41.10] **JORDAN:** Yeah.\n\n[00:04:41.34] **RICARD BEJARANO:** There's plenty of YouTube channels that do Homelab content. I won't name names. You can just look it up. But there's plenty of them.\n\n[00:04:47.82] **JORDAN:** Yeah.\n\n[00:04:48.10] **RICARD BEJARANO:** And they're all growing, and they have very high quality content with detailed walkthroughs. It's not as scary as it might have been years ago.\n\n[00:04:54.18] **JORDAN:** Yeah.\n\n[00:04:54.58] **RICARD BEJARANO:** The walkthroughs and the documentation are slowly coming to a level where you don't even have to be a super expert, and it's not so much a hard topic.\n\n[00:05:02.76] **JORDAN:** What's really interesting about Homelabbing is that it always has come from humble roots of like, oh, I had an old computer. What can I use it for? What can I use the parts for? And there are a lot of ways now that you can use any hardware and slap it into your Homelab, and just resurrect something that, instead of like in Toy Story where it was like, I don't want to play with you anymore. But now it's like, oh, that can have a new use again. And especially during a time when electronics and components are so expensive, it's a really good thing.\n\n[00:05:34.54] **RICARD BEJARANO:** Oh, yeah.\n\n[00:05:35.12] **JORDAN:** Should our Homelabbers always want to do that? Or are there platforms of hardware or software that are super helpful to them to start out?\n\n[00:05:45.00] **RICARD BEJARANO:** Well, Docker and containerization engines in general have enabled the use of lower-end hardware, stuff you get found on a drawer that you had from a long time ago, or that you get used or refurbished for very cheap. This sort of container engines have made that very much possible because it doesn't have as much overhead as VMs had, which was an issue on the enterprise. But it also was a very big blocker at home because you needed a lot of machine to run just a couple of services. Now you can have a cheap Raspberry Pi or an old Intel NUC you got off the internet.\n\n[00:06:18.60] Or my latest acquisition is a Mac Mini that I rescued used that had a broken Bluetooth board. And so the seller was selling it cheap because it wasn't useful for him anymore. And I don't need Bluetooth for my services, so now it's running my OpenClaw instance.\n\n[00:06:32.08] **JORDAN:** Wow, yeah.\n\n[00:06:33.52] **RICARD BEJARANO:** So yeah.\n\n[00:06:34.12] **JORDAN:** That's amazing. Where can we find you on the internet?\n\n[00:06:37.44] **RICARD BEJARANO:** Well, my website is bejarano.io, which is my surname dot io. And everything is there. The link to the book will be there once it's published. Right now, it points to a form. So if you have a Homelab, we're looking for real-world examples of Homelabs that might get featured on the book.\n\n[00:06:52.24] **JORDAN:** Cool.\n\n[00:06:52.36] **RICARD BEJARANO:** So if you want to take the chance and maybe get that opportunity to be on the first published book about Homelabbing, go take it.\n\n[00:06:58.25] **JORDAN:** And what's the book called?\n\n[00:07:00.24] **RICARD BEJARANO:** The book is The Homelab Handbook, which is the definitive guide to self-hosting.\n\n[00:07:04.46] **JORDAN:** Awesome. Well, thank you very much. This has been the Prodcast. Have a great day.\n\n[00:07:09.88] You've been listening to The Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verjee. The Prodcast theme is \"Telebot\" by Joey Beltran and Jordan Greenberg.\n\n[00:07:43.14] **[MUSIC PLAYING]**\n\n[00:07:44.08] **ROBOTIC VOICE:** You missed a page from Telebot.\n\n[00:07:46.40]", "znaku_textu": 9242, "slov": 1570, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-05", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:14", "sha256": "a10c40c7b0b03c0acc2946997642cc3beff3e1f9772651f859108b67a81abc73", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06", "titulek": "A conversation with John Allspaw at SREcon Part 1", "h1": "A conversation with John Allspaw at SREcon Part 1", "popis": "John Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06"}, "headline": "A conversation with John Allspaw at SREcon Part 1", "description": "John Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!", "image": "https://kstatic.googleusercontent.com/files/591e2a0efb48bd6f22687a5463ad184b3d41201315a454aef981d207a895d88f47aaaacabbc87d79f9745860790358cc268b9c1a24359c901511aa3a3eb09821", "author": [{"@type": "Person", "name": "John Allspaw"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A conversation with John Allspaw at SREcon Part 1"}], "markdown": "# A conversation with John Allspaw at SREcon Part 1\n\nJohn Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**SPEAKER 1:** Welcome to season six of The Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**STEVE MCGHEE:** OK, we're here again. I'm Steve, still. This is The Prodcast, still, the podcast from Google about SRE and production software. You're John, aren't you?\n\n**JOHN ALLSPAW:** Yep, my name is John Allspaw.\n\n**STEVE MCGHEE:** Yep, cool. You've been at this conference the whole time, I think, so far, right? You spoke. You did a thing.\n\n**JOHN ALLSPAW:** Yeah. Yeah, that's true. That's true.\n\n**STEVE MCGHEE:** You did one thing which was like a workshop-y thingy, and it involved how learning works.\n\n**JOHN ALLSPAW:** Yeah.\n\n**STEVE MCGHEE:** Yeah, what was that all about? So I thought this was an SRE conference. What's going on there?\n\n**JOHN ALLSPAW:** Yeah, yeah, yeah, so it may seem strange for learning to be talking about learning.\n\n**STEVE MCGHEE:** I thought we were doing computers here. Come on.\n\n**JOHN ALLSPAW:** Exactly. Exactly. As it turns out, I think it's kind of important. And all of the reasons that make-- there's a whole bunch of stuff that companies, yours included, put together, like this sort of scaffolding that recognizes, at least implicitly, that there are people who are new to the company. There are people who have been around for the company, and in the company, have seen all kinds of different things, and they are really knowledgeable about these things. There's nothing unique about Google on that front because that's how people learn.\n\n**STEVE MCGHEE:** All companies do that, right?\n\n**JOHN ALLSPAW:** All companies do that. But what do they do? Think about it for a second. You start. If there's an expectation-- there's no expectation that, the first day you're working, you will be productive, and contributing, just like somebody who's been there for six years. So what's the difference between that and when they are recognized and being productive? It's-- out on a limb here. It's because they've learned things. And not all of what they're learning comes on the wiki and is in a formalized way.\n\n**STEVE MCGHEE:** Yeah, it ain't all book learning.\n\n**JOHN ALLSPAW:** In fact, not only is it ain't all book learning, but everybody, especially this community, recognizes that book learning-- not even book learning. Let's say wiki learning. Because I'm pretty sure there's no computer science course where, when you come out, you are going to be able to contribute to Google's code base.\n\n**STEVE MCGHEE:** Not yet. Maybe. Who knows?\n\n**JOHN ALLSPAW:** Yes, I'm not good at prediction, so I'm going to-- but we don't pay much attention. On the one hand, we spend a lot of time doing interviewing, interviewing shadowing, and constructing how we're going to interview, how many people will interview you, a new person, whatever. What is that all about? That's all about gauging, evaluating, having some understanding, some picture of what expertise this candidate has. So it's really important-- it seems like-- established, we should figure out how we keep it. How is it working?\n\nThe trick that we were talking about earlier today is that it doesn't work like computers. Computers don't have expertise. We can have analogs to it, but all analogies have laws. And so it's about time. Nothing happens. There's no success. There's actually no failure without expertise.\n\nSo it's so ubiquitous, like gravity, that it's not even really thought about. And there are people in organizations that do think about it. They're just not in engineering parts of the org. And we're usually pretty full of ourselves-- and I mean all of us-- that we know how this works. We don't.\n\n**STEVE MCGHEE:** So what's special about this-- why are you at this conference? Why aren't you at the CPA of America's conference? They also work for companies who need to learn things, I think.\n\n**JOHN ALLSPAW:** And they party hard too. So there is something that's wild. Imagine I didn't have a background in software. I would still be attracted to practitioner conferences and communities like this, for at least one reason. There's many reasons. But the one I'm going to choose to talk about is that-- or to mention, is that-- we work and get things to do what we want, the technology to behave the way we intend it, without ever seeing it happen, in the same way that we develop a runner, right, or a weightlifter, or a boxer. We don't see code run.\n\nWe see representations that tell us something about the code running. But you can't go to the data center and say, if you squint, if you look--\n\n**STEVE MCGHEE:** Show me the bits, John.\n\n**JOHN ALLSPAW:** --you're going to see, there's the request. There it is. And there's a photo. Oh, you missed it. Yeah, that's not a thing. So we create these models. It has a lot more in common with NICU, N-I-C-U, Neonatal Intensive Care, because their patients can't talk to you-- very similar. And we're so good at it. And it's as if it's reeling and concrete. That's what attracts us.\n\n**STEVE MCGHEE:** Yeah, I think some of the most interesting cases are when the graphs are lying to you, or the system is lying to you. I mean, that's what we say. It's not really lying to you, it's just that it always has been lying this whole time. Like, it's always been an interpretation game.\n\n**JOHN ALLSPAW:** And somebody on the team, or somebody that you're working with, is like, something feels weird. They can't tell you what, but it is weird. There are some people who say, ah, I don't know about this. There are some people, when they say that, everyone listens because they've got a really good track record.\n\n**STEVE MCGHEE:** Can you connect this to the concept of above the line and below the line, just in case people see this term out there in the world, like the idea of the line? What is that line?\n\n**JOHN ALLSPAW:** Yeah, my colleagues and I put together this-- it's not really a model. It's just sort of a-- description of the world, no matter what company you're in. And there's below the line. There's this line of what we call the line of representation. And below the line is all of the technical stuff, the wires, all the code, all of that. And above the line, there are all of us.\n\nAnd we only understand how things work below the line by building stories. Mental models aren't pictures, they're stories. And we build those, and we refine them over time. But we're so used to it that below the line feels concrete. But we never get to see it, really, in any way. But it is still good-- we're still good, shockingly, at understanding it.\n\n**STEVE MCGHEE:** So is this not happening in the CPA's world? Or is it happening less? I mean, it seems like it would happen in medicine.\n\n**JOHN ALLSPAW:** It is happening in medicine, absolutely. There's lots of kinds of differences and similarities. The world of accounting, which I don't know very much, absolutely, there's certainty, uncertainty, and ambiguity. But I just can't imagine that it's as dynamic. I could be wrong. But if things are changing all the time, your ability to influence those things are finite. And by the time you could possibly get a map, it would be stale. So don't even try.\n\n**STEVE MCGHEE:** That sounds familiar.\n\n**JOHN ALLSPAW:** Whereas GAAP accounting guidelines, maybe they're not as static as-- actually, no, time zones are actually not very static, are they? But they're a bit more static.\n\n**STEVE MCGHEE:** Yeah, money doesn't flow at gigahertz speeds, probably, I'm guessing.\n\n**JOHN ALLSPAW:** It does not flow at gigahertz speeds.\n\n**STEVE MCGHEE:** Well, on that, thank you very much, John. That was fun. That was a quick one. I hope you enjoy the rest of the conference.\n\n**JOHN ALLSPAW:** I hope you enjoy the rest of the conference as well. Thank you.\n\n**STEVE MCGHEE:** Sounds good.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**SPEAKER 1:** You've been listening to The Prodcast, Google's podcast on site reliability, engineering, and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verjee. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.", "znaku_textu": 8767, "slov": 1530, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:18", "sha256": "d6f5a70222995b1a7a58bf00d2796d72877fe621434aeb7ab74f8eca3fa8db84", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06/", "titulek": "A conversation with John Allspaw at SREcon Part 1", "h1": "A conversation with John Allspaw at SREcon Part 1", "popis": "John Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06"}, "headline": "A conversation with John Allspaw at SREcon Part 1", "description": "John Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!", "image": "https://kstatic.googleusercontent.com/files/591e2a0efb48bd6f22687a5463ad184b3d41201315a454aef981d207a895d88f47aaaacabbc87d79f9745860790358cc268b9c1a24359c901511aa3a3eb09821", "author": [{"@type": "Person", "name": "John Allspaw"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A conversation with John Allspaw at SREcon Part 1"}], "markdown": "# A conversation with John Allspaw at SREcon Part 1\n\nJohn Allspaw of Adaptive Capacity Labs talks with the Prodcast about the challenges of dynamic systems, the value of learning, and more — in two parts, live from SREcon!\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**SPEAKER 1:** Welcome to season six of The Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**STEVE MCGHEE:** OK, we're here again. I'm Steve, still. This is The Prodcast, still, the podcast from Google about SRE and production software. You're John, aren't you?\n\n**JOHN ALLSPAW:** Yep, my name is John Allspaw.\n\n**STEVE MCGHEE:** Yep, cool. You've been at this conference the whole time, I think, so far, right? You spoke. You did a thing.\n\n**JOHN ALLSPAW:** Yeah. Yeah, that's true. That's true.\n\n**STEVE MCGHEE:** You did one thing which was like a workshop-y thingy, and it involved how learning works.\n\n**JOHN ALLSPAW:** Yeah.\n\n**STEVE MCGHEE:** Yeah, what was that all about? So I thought this was an SRE conference. What's going on there?\n\n**JOHN ALLSPAW:** Yeah, yeah, yeah, so it may seem strange for learning to be talking about learning.\n\n**STEVE MCGHEE:** I thought we were doing computers here. Come on.\n\n**JOHN ALLSPAW:** Exactly. Exactly. As it turns out, I think it's kind of important. And all of the reasons that make-- there's a whole bunch of stuff that companies, yours included, put together, like this sort of scaffolding that recognizes, at least implicitly, that there are people who are new to the company. There are people who have been around for the company, and in the company, have seen all kinds of different things, and they are really knowledgeable about these things. There's nothing unique about Google on that front because that's how people learn.\n\n**STEVE MCGHEE:** All companies do that, right?\n\n**JOHN ALLSPAW:** All companies do that. But what do they do? Think about it for a second. You start. If there's an expectation-- there's no expectation that, the first day you're working, you will be productive, and contributing, just like somebody who's been there for six years. So what's the difference between that and when they are recognized and being productive? It's-- out on a limb here. It's because they've learned things. And not all of what they're learning comes on the wiki and is in a formalized way.\n\n**STEVE MCGHEE:** Yeah, it ain't all book learning.\n\n**JOHN ALLSPAW:** In fact, not only is it ain't all book learning, but everybody, especially this community, recognizes that book learning-- not even book learning. Let's say wiki learning. Because I'm pretty sure there's no computer science course where, when you come out, you are going to be able to contribute to Google's code base.\n\n**STEVE MCGHEE:** Not yet. Maybe. Who knows?\n\n**JOHN ALLSPAW:** Yes, I'm not good at prediction, so I'm going to-- but we don't pay much attention. On the one hand, we spend a lot of time doing interviewing, interviewing shadowing, and constructing how we're going to interview, how many people will interview you, a new person, whatever. What is that all about? That's all about gauging, evaluating, having some understanding, some picture of what expertise this candidate has. So it's really important-- it seems like-- established, we should figure out how we keep it. How is it working?\n\nThe trick that we were talking about earlier today is that it doesn't work like computers. Computers don't have expertise. We can have analogs to it, but all analogies have laws. And so it's about time. Nothing happens. There's no success. There's actually no failure without expertise.\n\nSo it's so ubiquitous, like gravity, that it's not even really thought about. And there are people in organizations that do think about it. They're just not in engineering parts of the org. And we're usually pretty full of ourselves-- and I mean all of us-- that we know how this works. We don't.\n\n**STEVE MCGHEE:** So what's special about this-- why are you at this conference? Why aren't you at the CPA of America's conference? They also work for companies who need to learn things, I think.\n\n**JOHN ALLSPAW:** And they party hard too. So there is something that's wild. Imagine I didn't have a background in software. I would still be attracted to practitioner conferences and communities like this, for at least one reason. There's many reasons. But the one I'm going to choose to talk about is that-- or to mention, is that-- we work and get things to do what we want, the technology to behave the way we intend it, without ever seeing it happen, in the same way that we develop a runner, right, or a weightlifter, or a boxer. We don't see code run.\n\nWe see representations that tell us something about the code running. But you can't go to the data center and say, if you squint, if you look--\n\n**STEVE MCGHEE:** Show me the bits, John.\n\n**JOHN ALLSPAW:** --you're going to see, there's the request. There it is. And there's a photo. Oh, you missed it. Yeah, that's not a thing. So we create these models. It has a lot more in common with NICU, N-I-C-U, Neonatal Intensive Care, because their patients can't talk to you-- very similar. And we're so good at it. And it's as if it's reeling and concrete. That's what attracts us.\n\n**STEVE MCGHEE:** Yeah, I think some of the most interesting cases are when the graphs are lying to you, or the system is lying to you. I mean, that's what we say. It's not really lying to you, it's just that it always has been lying this whole time. Like, it's always been an interpretation game.\n\n**JOHN ALLSPAW:** And somebody on the team, or somebody that you're working with, is like, something feels weird. They can't tell you what, but it is weird. There are some people who say, ah, I don't know about this. There are some people, when they say that, everyone listens because they've got a really good track record.\n\n**STEVE MCGHEE:** Can you connect this to the concept of above the line and below the line, just in case people see this term out there in the world, like the idea of the line? What is that line?\n\n**JOHN ALLSPAW:** Yeah, my colleagues and I put together this-- it's not really a model. It's just sort of a-- description of the world, no matter what company you're in. And there's below the line. There's this line of what we call the line of representation. And below the line is all of the technical stuff, the wires, all the code, all of that. And above the line, there are all of us.\n\nAnd we only understand how things work below the line by building stories. Mental models aren't pictures, they're stories. And we build those, and we refine them over time. But we're so used to it that below the line feels concrete. But we never get to see it, really, in any way. But it is still good-- we're still good, shockingly, at understanding it.\n\n**STEVE MCGHEE:** So is this not happening in the CPA's world? Or is it happening less? I mean, it seems like it would happen in medicine.\n\n**JOHN ALLSPAW:** It is happening in medicine, absolutely. There's lots of kinds of differences and similarities. The world of accounting, which I don't know very much, absolutely, there's certainty, uncertainty, and ambiguity. But I just can't imagine that it's as dynamic. I could be wrong. But if things are changing all the time, your ability to influence those things are finite. And by the time you could possibly get a map, it would be stale. So don't even try.\n\n**STEVE MCGHEE:** That sounds familiar.\n\n**JOHN ALLSPAW:** Whereas GAAP accounting guidelines, maybe they're not as static as-- actually, no, time zones are actually not very static, are they? But they're a bit more static.\n\n**STEVE MCGHEE:** Yeah, money doesn't flow at gigahertz speeds, probably, I'm guessing.\n\n**JOHN ALLSPAW:** It does not flow at gigahertz speeds.\n\n**STEVE MCGHEE:** Well, on that, thank you very much, John. That was fun. That was a quick one. I hope you enjoy the rest of the conference.\n\n**JOHN ALLSPAW:** I hope you enjoy the rest of the conference as well. Thank you.\n\n**STEVE MCGHEE:** Sounds good.\n\n**[JAVI BELTRAN & JORDAN GREENBERG, \"TELEBOT\"]**\n\n**SPEAKER 1:** You've been listening to The Prodcast, Google's podcast on site reliability, engineering, and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Verjee. The Prodcast theme is Telebot by Javi Beltran and Jordan Greenberg.", "znaku_textu": 8767, "slov": 1530, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-06", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:15", "sha256": "d6f5a70222995b1a7a58bf00d2796d72877fe621434aeb7ab74f8eca3fa8db84", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07", "titulek": "A conversation with John Allspaw at SREcon Part 2", "h1": "A conversation with John Allspaw at SREcon Part 2", "popis": "", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07"}, "headline": "A conversation with John Allspaw at SREcon Part 2", "description": "", "image": "https://kstatic.googleusercontent.com/files/360f5f4a7314fea739e010efbc81ecaf817659f79edb5debd7eefd6aa80e14da7dc1151286b7a082972af09caae20461c5a91bfdea98f42ac948b49bd022b86e", "author": [{"@type": "Person", "name": "John Allspaw "}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A conversation with John Allspaw at SREcon Part 2"}], "markdown": "# A conversation with John Allspaw at SREcon Part 2\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** Welcome to season six of the Prodcast, Google's podcast about site reliability engineering and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**FLORIAN:** Welcome back to the Prodcast, Google's podcast on site reliability, engineering, and production software. We're live from the SREcon Americas in Seattle today. And with us, we have a very special guest.\n\n**JOHN:** Hello. Thank you. My name is John.\n\n**MATT:**I'm Matt.\n\n**FLORIAN:** I'm Florian. So John, some of our listeners may know you as someone who cares about resilience and learning from failure.\n\n**JOHN:** Yeah, accurate.\n\n**FLORIAN:** Do you want to tell us what your main takeaways were from this year's conference compared to previous years, given that you are also a veteran of this institution?\n\n**JOHN:** Sure. Yeah. There's always something that is omnipresent and continually present, I think, in all the SREcons that I've been to. I guess I have been to a number of them. It's a practitioner conference.\n\nA long time ago, before SREcon, I was chair of a conference called the Velocity Conference, also a practitioner conference, which meant that you all know software engineers that have contact and experience familiarity with production is just a different perspective than those who don't. Don't suffer any bullshit. Can I swear?\n\n**FLORIAN:** Sure.\n\n**JOHN:** It just-- You see right through it. And this is a community that sees right through bullshit. And that's so amazing. It's so great, because what's real is the messy world. No matter what we want to do to model and scrunch things into-- [INAUDIBLE] said earlier today, to compress them into tiny little boxes and neat, nice, orderly things. There's incidents. And there's these phases. And you do these things.\n\nAnd doesn't matter what the incident is. They can fit in these boxes, and our thinking can fit in these boxes. And all of the lines are-- and the angles are at 90 degrees and ooh, ooh. But that, of course, our experience in handling things or even when there's not any sort of time pressure, it's a big mess. We should be super curious about why it's working at all. And so it doesn't have much, really. On paper, it shouldn't be working nearly as well as it does.\n\nAnd that's why I come back around to the thing that's omnipresent, what I always appreciate, is the no-bullshit tolerance is when speakers-- and it resonates with this community-- is when they say out loud, yeah, it's messy. And even the thing that's really wild to me is you're amazing at it even if it's messy and you don't know how are amazing at it. The resilience is coming. Wearing pants and shirts. The resilience isn't coming from cables and hard drives.\n\n**MATT:**So what are some traits of the individuals you see who are proficient in working in these environments? Because I'm sure they're horizontally effective in this way, and that discriminates them from the other people who select themselves out of these communities. Because you come here. You see the same kinds of people doing the same kinds of things, and they speak to each other. And what are these characteristics you see in these people doing these things?\n\n**JOHN:** Yeah. Characteristics is a better term than traits, I would say. It's really no different than any other specific practitioner crowd or community. It just so happens to be, for the most part, online software. Every now and then, a little bit other. But it's all software. But the same thing is in place, these characteristics that I'll get to.\n\nBut there's the same thing in medical and aviation. And there's a reason I have heard that Google's quite interested in STPA, and STAMP, and CAST. There's some talks here. Amazing. It's new, but only to this domain, really. I think Akamai would argue that they were first, easily. But it is new to this community. That's amazing.\n\nBut what's great about that example is that didn't start in software. I mean, it did, but I don't think you would say avionics is the same of what we do here. And so what's common in all these practitioner worlds, communities is, shorthand, you could relay a story very quickly that will make absolutely no sense to somebody outside of the community. You will do it very efficiently.\n\nBut what if I say this-- Let me just look around the room. Missing where clause. So I can get a reaction out of anybody in this room. And there are people who are in this hotel right now who have no idea why that's funny, weird, or scary. And I had to say three words. That's like a hallmark. This is how you know it is a genuine thing. And I think that there's-- that can scare people away. I think as far as communities go, we're not nearly the scariest, in my experience. So I think it's more like those characteristics come from expertise. Expertise is exposure to experiences that are really broad, agnostic of the time those experiences take. So we would sometimes think of them as equated, like, oh, it's because you've got experience. As a shorthand, that totally works, colloquially. Expertise is really what most people think, because expertise is what makes us amazing and, ironically, weirdly unable to understand how good we are at it.\n\n**MATT:**Fair.\n\n**JOHN:** And so it's real. And so that's what I-- I'm always attracted to what makes this work hard and what makes them good at it. That's it. And that's why I keep coming. I've been going to SREcons since the '70s. I mean, whatever, since-- 2015, I was in Dublin, but so yeah. That's my amazingly long answer.\n\n**FLORIAN:** So earlier in a session, you also mentioned that these experienced practitioners sometimes need to do heroic acts and that we shouldn't fault them for it, because SRE also has this no-heroes culture.\n\n**JOHN:** Yeah, yeah. The context there is that-- The comment I made was that we tend to think of heroes as a word that's just not-- it's always negative, universally. And when you have it, it must mean something's terrible. First, what's heroic is context-specific. And the other thing is, well, OK, what if you don't have them? Well, things are going to be worse. Would you rather have a hero or not have a hero?\n\nIf it's a shorthand for demonstration and proof that you're not doing enough to letting other people or supporting other people to be involved, then this one person, or an alternative is that this person is really selfish and/or territorial, blah, blah, blah. I just find it, sure, that's possible. But it's not the norm.\n\nI think the norm is that some people are just really intuitive. They have a feel for things that others don't largely, again, because of expertise. And thank God you have them, because, yeah, if you would like for them to be worse off, those incidents to be less well handled, then, great, get rid of them. I don't think your competitors will be doing that.\n\n**FLORIAN:** You heard it here first. Heroes welcome, but not as strategy.\n\n**JOHN:** But see, that's a great line. I'm not very good at marketing. That's good.\n\n**FLORIAN:** All right. Well, that's about it.\n\n**JOHN:** Cool.\n\n**MATT:**I think that's a good point to close it. Thank you very much, John. That was great.\n\n**JOHN:** Thanks for having me.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**", "znaku_textu": 7995, "slov": 1394, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:20", "sha256": "3927574c45e8a9504e6de07b7461d0d5b0d23f6a452745e99cc7640f12ea99db", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07/", "titulek": "A conversation with John Allspaw at SREcon Part 2", "h1": "A conversation with John Allspaw at SREcon Part 2", "popis": "", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07"}, "headline": "A conversation with John Allspaw at SREcon Part 2", "description": "", "image": "https://kstatic.googleusercontent.com/files/360f5f4a7314fea739e010efbc81ecaf817659f79edb5debd7eefd6aa80e14da7dc1151286b7a082972af09caae20461c5a91bfdea98f42ac948b49bd022b86e", "author": [{"@type": "Person", "name": "John Allspaw "}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A conversation with John Allspaw at SREcon Part 2"}], "markdown": "# A conversation with John Allspaw at SREcon Part 2\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** Welcome to season six of the Prodcast, Google's podcast about site reliability engineering and production software. This season we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And of course, the most important part is the friends we made along the way. So happy listening, and may all your incidents be novel.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**FLORIAN:** Welcome back to the Prodcast, Google's podcast on site reliability, engineering, and production software. We're live from the SREcon Americas in Seattle today. And with us, we have a very special guest.\n\n**JOHN:** Hello. Thank you. My name is John.\n\n**MATT:**I'm Matt.\n\n**FLORIAN:** I'm Florian. So John, some of our listeners may know you as someone who cares about resilience and learning from failure.\n\n**JOHN:** Yeah, accurate.\n\n**FLORIAN:** Do you want to tell us what your main takeaways were from this year's conference compared to previous years, given that you are also a veteran of this institution?\n\n**JOHN:** Sure. Yeah. There's always something that is omnipresent and continually present, I think, in all the SREcons that I've been to. I guess I have been to a number of them. It's a practitioner conference.\n\nA long time ago, before SREcon, I was chair of a conference called the Velocity Conference, also a practitioner conference, which meant that you all know software engineers that have contact and experience familiarity with production is just a different perspective than those who don't. Don't suffer any bullshit. Can I swear?\n\n**FLORIAN:** Sure.\n\n**JOHN:** It just-- You see right through it. And this is a community that sees right through bullshit. And that's so amazing. It's so great, because what's real is the messy world. No matter what we want to do to model and scrunch things into-- [INAUDIBLE] said earlier today, to compress them into tiny little boxes and neat, nice, orderly things. There's incidents. And there's these phases. And you do these things.\n\nAnd doesn't matter what the incident is. They can fit in these boxes, and our thinking can fit in these boxes. And all of the lines are-- and the angles are at 90 degrees and ooh, ooh. But that, of course, our experience in handling things or even when there's not any sort of time pressure, it's a big mess. We should be super curious about why it's working at all. And so it doesn't have much, really. On paper, it shouldn't be working nearly as well as it does.\n\nAnd that's why I come back around to the thing that's omnipresent, what I always appreciate, is the no-bullshit tolerance is when speakers-- and it resonates with this community-- is when they say out loud, yeah, it's messy. And even the thing that's really wild to me is you're amazing at it even if it's messy and you don't know how are amazing at it. The resilience is coming. Wearing pants and shirts. The resilience isn't coming from cables and hard drives.\n\n**MATT:**So what are some traits of the individuals you see who are proficient in working in these environments? Because I'm sure they're horizontally effective in this way, and that discriminates them from the other people who select themselves out of these communities. Because you come here. You see the same kinds of people doing the same kinds of things, and they speak to each other. And what are these characteristics you see in these people doing these things?\n\n**JOHN:** Yeah. Characteristics is a better term than traits, I would say. It's really no different than any other specific practitioner crowd or community. It just so happens to be, for the most part, online software. Every now and then, a little bit other. But it's all software. But the same thing is in place, these characteristics that I'll get to.\n\nBut there's the same thing in medical and aviation. And there's a reason I have heard that Google's quite interested in STPA, and STAMP, and CAST. There's some talks here. Amazing. It's new, but only to this domain, really. I think Akamai would argue that they were first, easily. But it is new to this community. That's amazing.\n\nBut what's great about that example is that didn't start in software. I mean, it did, but I don't think you would say avionics is the same of what we do here. And so what's common in all these practitioner worlds, communities is, shorthand, you could relay a story very quickly that will make absolutely no sense to somebody outside of the community. You will do it very efficiently.\n\nBut what if I say this-- Let me just look around the room. Missing where clause. So I can get a reaction out of anybody in this room. And there are people who are in this hotel right now who have no idea why that's funny, weird, or scary. And I had to say three words. That's like a hallmark. This is how you know it is a genuine thing. And I think that there's-- that can scare people away. I think as far as communities go, we're not nearly the scariest, in my experience. So I think it's more like those characteristics come from expertise. Expertise is exposure to experiences that are really broad, agnostic of the time those experiences take. So we would sometimes think of them as equated, like, oh, it's because you've got experience. As a shorthand, that totally works, colloquially. Expertise is really what most people think, because expertise is what makes us amazing and, ironically, weirdly unable to understand how good we are at it.\n\n**MATT:**Fair.\n\n**JOHN:** And so it's real. And so that's what I-- I'm always attracted to what makes this work hard and what makes them good at it. That's it. And that's why I keep coming. I've been going to SREcons since the '70s. I mean, whatever, since-- 2015, I was in Dublin, but so yeah. That's my amazingly long answer.\n\n**FLORIAN:** So earlier in a session, you also mentioned that these experienced practitioners sometimes need to do heroic acts and that we shouldn't fault them for it, because SRE also has this no-heroes culture.\n\n**JOHN:** Yeah, yeah. The context there is that-- The comment I made was that we tend to think of heroes as a word that's just not-- it's always negative, universally. And when you have it, it must mean something's terrible. First, what's heroic is context-specific. And the other thing is, well, OK, what if you don't have them? Well, things are going to be worse. Would you rather have a hero or not have a hero?\n\nIf it's a shorthand for demonstration and proof that you're not doing enough to letting other people or supporting other people to be involved, then this one person, or an alternative is that this person is really selfish and/or territorial, blah, blah, blah. I just find it, sure, that's possible. But it's not the norm.\n\nI think the norm is that some people are just really intuitive. They have a feel for things that others don't largely, again, because of expertise. And thank God you have them, because, yeah, if you would like for them to be worse off, those incidents to be less well handled, then, great, get rid of them. I don't think your competitors will be doing that.\n\n**FLORIAN:** You heard it here first. Heroes welcome, but not as strategy.\n\n**JOHN:** But see, that's a great line. I'm not very good at marketing. That's good.\n\n**FLORIAN:** All right. Well, that's about it.\n\n**JOHN:** Cool.\n\n**MATT:**I think that's a good point to close it. Thank you very much, John. That was great.\n\n**JOHN:** Thanks for having me.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**\n\n**SPEAKER:** You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The podcast is produced by Paul Guglielmino and Salim Virji. The podcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[JAVI BELTRAN, \"TELEBOT\"]**", "znaku_textu": 7995, "slov": 1394, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-07", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:16", "sha256": "3927574c45e8a9504e6de07b7461d0d5b0d23f6a452745e99cc7640f12ea99db", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08", "titulek": "Courtney Nash on Complex Systems", "h1": "Courtney Nash on Complex Systems", "popis": "Courtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08"}, "headline": "Courtney Nash on Complex Systems", "description": "Courtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.", "image": "https://kstatic.googleusercontent.com/files/360f5f4a7314fea739e010efbc81ecaf817659f79edb5debd7eefd6aa80e14da7dc1151286b7a082972af09caae20461c5a91bfdea98f42ac948b49bd022b86e", "author": [{"@type": "Person", "name": "Courtney Nash"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Courtney Nash on Complex Systems"}], "markdown": "# Courtney Nash on Complex Systems\n\nCourtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.\n\n**[MUSIC PLAYING]**\n\nSPEAKER: Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And, of course, the most important part is the friends we made along the way. So happy\n\nlistening, and may all your incidents be novel.\n\n**[MUSIC PLAYING]**\n\n**FLORIAN RATHGEBER:** Welcome back to the Prodcast, Google's podcast on site reliability and production engineering. We are\n\nlive from SREcon in Seattle today. And with me, I have Courtney.\n\n**COURTNEY NASH:** Hi.\n\n**FLORIAN RATHGEBER:** Do you want to introduce yourself and--\n\n**COURTNEY NASH:** Sure.\n\n**FLORIAN RATHGEBER:** --tell us your hot take?\n\n**COURTNEY NASH:** My hot take. OK, so my name is Courtney Nash. I am the cofounder of the VOID, which does incident research. And so I, like most of you, think about incidents a lot, but I tend to think less about the technology of the incidents and\n\nmore of the people and the systems of the incidents.\n\nAnd a thing that has been vexing me lately that has come up a bunch here at SREcon-- we've talked about it. We talked about\n\nit in a workshop-- is-- well, let me start by asking you a question. Do you think you're an expert in anything?\n\n**FLORIAN RATHGEBER:** That's a tricky one. Well, one phrase that I like is I have approximate knowledge of many things.\n\n**COURTNEY NASH:** [LAUGHS] OK. Do you feel like there's something you're pretty damn good at? Don't be shy.\n\n**FLORIAN RATHGEBER:** Well, I think I have a good attention to detail, but yeah, it's always hard to self-evaluate.\n\n**COURTNEY NASH:** Yeah, well, it's hard to understand your own performance, right?\n\n**FLORIAN RATHGEBER:** Exactly. Yeah.\n\n**COURTNEY NASH:** And maybe we also try to be humble, right? We want to be humble.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** Being humble is good. I'm an expert in a couple things. And one of the things I'm an expert in is cognitive science stuff. And the thing that vexes me is that we-- you all-- run these incredibly complex systems. And I'll pose you\n\nanother question. We talk a lot about failures and a lot about incidents. Why do things go well at Google when they go\n\nwell?\n\n**FLORIAN RATHGEBER:** Well, I think because a lot of smart people put a lot of thought into how to do things.\n\n**COURTNEY NASH:** Right. So experts make things happen. Experts make things work.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** So we talk about AI a lot right now. So my hot take is we need experts. The more AI we have, the more experts\n\nwe need, which sounds like a problem because AI is going to make everything easier? Yes?\n\n**FLORIAN RATHGEBER:** But yeah.\n\n**COURTNEY NASH:** Maybe?\n\n**FLORIAN RATHGEBER:** Who evaluates the evaluators?\n\n**COURTNEY NASH:** And when things don't work, who fixes things? So I was in this really cool talk about metastable failures.\n\nDid you go to that one?\n\n**FLORIAN RATHGEBER:** No, I did not.\n\n**COURTNEY NASH:** That was a cool one. I love metastable failures. And he's talking through all of this, and it's deeply technical, deeply complex stuff. And he says, so we sort of, like, stumbled upon a bunch of solutions. Here are the\n\nsolutions. And I was like, brrt, wait, please. What? Stumbled upon?\n\nAnd so I put the questions-- and I asked in Slack. They answered the question, how did you stumble upon these solutions, as though some magical ideas came down from above. And the TL;DR of his answer was some really smart people showed up and\n\nfigured out how to fix it.\n\nAnd I don't think we talk about that enough. I think we talk about AI and what AI is going to do and all of these things, which I'm not an AI hater, but I think we're focused on the wrong things. So my hot take is the more we have AI, the more we\n\nneed people, and especially experts.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** I don't know if you need more than that for a hot take.\n\n**FLORIAN RATHGEBER:** Makes sense. So should we then not have a \"where we got lucky\" in our post-mortem?\n\n**COURTNEY NASH:** No, you should not. So that'll be my other hot take. Did you get lucky? What's luck? What is luck in that\n\nsystem or that situation, yeah?\n\n**FLORIAN RATHGEBER:** So we count that as things that went well.\n\n**COURTNEY NASH:** Yeah, well, went well-- why did they go well? Yeah, you might be surprised that something went well, but that's not luck, right? That's just something diverging from what you were expecting to happen. So I would argue instead of how we got lucky in postmortems or in any of these things you write up, I would much rather see what we did that was pretty\n\nawesome. You could call it whatever else you want to. You could make it snappy or make an acronym. I don't know.\n\nBut so much of why we don't have incidents is experts. And then when we have incidents, the way we get out of them is\n\nexperts. So therefore, by logical deduction, we need experts.\n\n**FLORIAN RATHGEBER:** Cool, all right. So we should be a little less humble, trust our expertise--\n\n**COURTNEY NASH:** And help other people become experts. Share how we know those things. So what was the other cool one that I picked up today in Paul Read's talk on AI, something he heard? So I'm giving third hand. He heard it from somebody who heard it from somebody in a discussion track here. But this is what's so great about us all getting together and talking about\n\nthese things.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** Some company has a TIL channel in Slack, and I think they wrote a Slack bot for this. I think it's actually automated. I like automation, too. Automation is cool. And anytime somebody shares something that they learned, like, oh, the other day I learned that the Kafka thing, it does this, and somebody does the little TIL emoji on that, they automate\n\nthat. And they pull that all into a channel that anyone can go and look at.\n\nAnd I was like, that's the cool-- because nerds like me and John Allspaw and people are always talking about disseminating learning through your-- so get the experts to talk about what they know. They're not always good at explaining how they're experts or why they know what they know. But when they tell you something, and somebody goes, whoa, I didn't know that, that's cool, now you're taking something and helping someone else start to become more of an expert in that. So these little\n\nthings that we can do can help share our expertise, can help develop those instincts in other people.\n\nAnd third hot take, I guess I'll say, that will save your ass in an incident. Can I swear on the Google Prodcast? That will save your ass in an incident far more than almost anything we like to talk about about auto-scaling and capacity planning and, like, mrr, mrr, mrr. That stuff's important, but we don't focus enough on expertise, learning, how we can share that\n\nwith each other. Those are the things that make the incidents less painful or not happen at all.\n\n**FLORIAN RATHGEBER:** Awesome. Well, I think that's a good point to close. Thank you very much.\n\n**COURTNEY NASH:** Thank you for having me.\n\n**FLORIAN RATHGEBER:** That was great.\n\nSPEAKER: You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.\n\ngoogle, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast\n\ntheme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[MUSIC PLAYING]**", "znaku_textu": 7795, "slov": 1387, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:16", "sha256": "b2d48acf3ba247fb99806178e37d6d55966c370cc4bdd88036cf98281122035c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08/", "titulek": "Courtney Nash on Complex Systems", "h1": "Courtney Nash on Complex Systems", "popis": "Courtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08"}, "headline": "Courtney Nash on Complex Systems", "description": "Courtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.", "image": "https://kstatic.googleusercontent.com/files/360f5f4a7314fea739e010efbc81ecaf817659f79edb5debd7eefd6aa80e14da7dc1151286b7a082972af09caae20461c5a91bfdea98f42ac948b49bd022b86e", "author": [{"@type": "Person", "name": "Courtney Nash"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Courtney Nash on Complex Systems"}], "markdown": "# Courtney Nash on Complex Systems\n\nCourtney Nash of The VOID discusses the role of human expertise in managing complex systems, and how SREs continue to bring critical value even as technology and AI evolve.\n\n**[MUSIC PLAYING]**\n\nSPEAKER: Welcome to season 6 of the Prodcast, Google's podcast about site reliability, engineering, and production software. This season, we are continuing our theme of friends and trends. It's all about what's coming up in the SRE space, from new technology to modernizing processes. And, of course, the most important part is the friends we made along the way. So happy\n\nlistening, and may all your incidents be novel.\n\n**[MUSIC PLAYING]**\n\n**FLORIAN RATHGEBER:** Welcome back to the Prodcast, Google's podcast on site reliability and production engineering. We are\n\nlive from SREcon in Seattle today. And with me, I have Courtney.\n\n**COURTNEY NASH:** Hi.\n\n**FLORIAN RATHGEBER:** Do you want to introduce yourself and--\n\n**COURTNEY NASH:** Sure.\n\n**FLORIAN RATHGEBER:** --tell us your hot take?\n\n**COURTNEY NASH:** My hot take. OK, so my name is Courtney Nash. I am the cofounder of the VOID, which does incident research. And so I, like most of you, think about incidents a lot, but I tend to think less about the technology of the incidents and\n\nmore of the people and the systems of the incidents.\n\nAnd a thing that has been vexing me lately that has come up a bunch here at SREcon-- we've talked about it. We talked about\n\nit in a workshop-- is-- well, let me start by asking you a question. Do you think you're an expert in anything?\n\n**FLORIAN RATHGEBER:** That's a tricky one. Well, one phrase that I like is I have approximate knowledge of many things.\n\n**COURTNEY NASH:** [LAUGHS] OK. Do you feel like there's something you're pretty damn good at? Don't be shy.\n\n**FLORIAN RATHGEBER:** Well, I think I have a good attention to detail, but yeah, it's always hard to self-evaluate.\n\n**COURTNEY NASH:** Yeah, well, it's hard to understand your own performance, right?\n\n**FLORIAN RATHGEBER:** Exactly. Yeah.\n\n**COURTNEY NASH:** And maybe we also try to be humble, right? We want to be humble.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** Being humble is good. I'm an expert in a couple things. And one of the things I'm an expert in is cognitive science stuff. And the thing that vexes me is that we-- you all-- run these incredibly complex systems. And I'll pose you\n\nanother question. We talk a lot about failures and a lot about incidents. Why do things go well at Google when they go\n\nwell?\n\n**FLORIAN RATHGEBER:** Well, I think because a lot of smart people put a lot of thought into how to do things.\n\n**COURTNEY NASH:** Right. So experts make things happen. Experts make things work.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** So we talk about AI a lot right now. So my hot take is we need experts. The more AI we have, the more experts\n\nwe need, which sounds like a problem because AI is going to make everything easier? Yes?\n\n**FLORIAN RATHGEBER:** But yeah.\n\n**COURTNEY NASH:** Maybe?\n\n**FLORIAN RATHGEBER:** Who evaluates the evaluators?\n\n**COURTNEY NASH:** And when things don't work, who fixes things? So I was in this really cool talk about metastable failures.\n\nDid you go to that one?\n\n**FLORIAN RATHGEBER:** No, I did not.\n\n**COURTNEY NASH:** That was a cool one. I love metastable failures. And he's talking through all of this, and it's deeply technical, deeply complex stuff. And he says, so we sort of, like, stumbled upon a bunch of solutions. Here are the\n\nsolutions. And I was like, brrt, wait, please. What? Stumbled upon?\n\nAnd so I put the questions-- and I asked in Slack. They answered the question, how did you stumble upon these solutions, as though some magical ideas came down from above. And the TL;DR of his answer was some really smart people showed up and\n\nfigured out how to fix it.\n\nAnd I don't think we talk about that enough. I think we talk about AI and what AI is going to do and all of these things, which I'm not an AI hater, but I think we're focused on the wrong things. So my hot take is the more we have AI, the more we\n\nneed people, and especially experts.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** I don't know if you need more than that for a hot take.\n\n**FLORIAN RATHGEBER:** Makes sense. So should we then not have a \"where we got lucky\" in our post-mortem?\n\n**COURTNEY NASH:** No, you should not. So that'll be my other hot take. Did you get lucky? What's luck? What is luck in that\n\nsystem or that situation, yeah?\n\n**FLORIAN RATHGEBER:** So we count that as things that went well.\n\n**COURTNEY NASH:** Yeah, well, went well-- why did they go well? Yeah, you might be surprised that something went well, but that's not luck, right? That's just something diverging from what you were expecting to happen. So I would argue instead of how we got lucky in postmortems or in any of these things you write up, I would much rather see what we did that was pretty\n\nawesome. You could call it whatever else you want to. You could make it snappy or make an acronym. I don't know.\n\nBut so much of why we don't have incidents is experts. And then when we have incidents, the way we get out of them is\n\nexperts. So therefore, by logical deduction, we need experts.\n\n**FLORIAN RATHGEBER:** Cool, all right. So we should be a little less humble, trust our expertise--\n\n**COURTNEY NASH:** And help other people become experts. Share how we know those things. So what was the other cool one that I picked up today in Paul Read's talk on AI, something he heard? So I'm giving third hand. He heard it from somebody who heard it from somebody in a discussion track here. But this is what's so great about us all getting together and talking about\n\nthese things.\n\n**FLORIAN RATHGEBER:** Yeah.\n\n**COURTNEY NASH:** Some company has a TIL channel in Slack, and I think they wrote a Slack bot for this. I think it's actually automated. I like automation, too. Automation is cool. And anytime somebody shares something that they learned, like, oh, the other day I learned that the Kafka thing, it does this, and somebody does the little TIL emoji on that, they automate\n\nthat. And they pull that all into a channel that anyone can go and look at.\n\nAnd I was like, that's the cool-- because nerds like me and John Allspaw and people are always talking about disseminating learning through your-- so get the experts to talk about what they know. They're not always good at explaining how they're experts or why they know what they know. But when they tell you something, and somebody goes, whoa, I didn't know that, that's cool, now you're taking something and helping someone else start to become more of an expert in that. So these little\n\nthings that we can do can help share our expertise, can help develop those instincts in other people.\n\nAnd third hot take, I guess I'll say, that will save your ass in an incident. Can I swear on the Google Prodcast? That will save your ass in an incident far more than almost anything we like to talk about about auto-scaling and capacity planning and, like, mrr, mrr, mrr. That stuff's important, but we don't focus enough on expertise, learning, how we can share that\n\nwith each other. Those are the things that make the incidents less painful or not happen at all.\n\n**FLORIAN RATHGEBER:** Awesome. Well, I think that's a good point to close. Thank you very much.\n\n**COURTNEY NASH:** Thank you for having me.\n\n**FLORIAN RATHGEBER:** That was great.\n\nSPEAKER: You've been listening to the Prodcast, Google's podcast on site reliability engineering. Visit us on the web at SRE.\n\ngoogle, where you can find books, papers, workshops, videos, and more about SRE.\n\nThis season is brought to you by our hosts, Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast\n\ntheme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[MUSIC PLAYING]**", "znaku_textu": 7795, "slov": 1387, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-08", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:16", "sha256": "b2d48acf3ba247fb99806178e37d6d55966c370cc4bdd88036cf98281122035c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09", "titulek": "Adam Kramer", "h1": "Adam Kramer discusses Incident Response", "popis": "Google's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09"}, "headline": "Adam Kramer discusses Incident Response", "description": "Google's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.", "image": "https://kstatic.googleusercontent.com/files/d2d0d348764d333b8b05ae2b041e10ef6de97c3998daa4e33378bc3235617d324f5fefb5a9be2093367c899db33bca5a0c2449848ade6fe26fe34371d42c2101", "author": [{"@type": "Person", "name": "Adam Kramer "}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Adam Kramer discusses Incident Response"}], "markdown": "# Adam Kramer discusses Incident Response\n\nGoogle's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.\n\n**[THEME MUSIC]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability engineering and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**[THEME MUSIC]**\n\n**[MUSIC PLAYING] STEVE:** Hello, everyone. I'm Steve.\n\n**MATT:** I'm Matt.\n\n**STEVE:** He's Matt.\n\n**ADAM:** Adam.\n\n**STEVE:** He's Adam. I hope you can hear this because we're trying this kind of on the fly. This is the podcast. This is the podcast about SRE and production software here at Google. We're on site.\n\n**MATT:** On site. First time.\n\n**STEVE:** Where are we? What city are we in?\n\n**ADAM:** Seattle.\n\n**STEVE:** Seattle. Yeah. None of us live here except for this guy.\n\n**ADAM:** I don't live here either. I live about 25 miles away.\n\n**STEVE:** OK, he doesn't even live here. It's great. So today we're going to be talking with a few different SREs. Adam is the first one, so we're kind of figuring out what it is that we're going to talk about. So I'm guessing we're going to talk about the cloud. This is Cloud City, after all, right?\n\n**MATT:** No.\n\n**ADAM:** It's cloudy.\n\n**STEVE:** Bespin, is that what we call this place? Something like that Adam has been working on, what, cloud compute and things. How would you describe what you work on?\n\n**ADAM:** Google Compute Engine.\n\n**STEVE:** Google Compute Engine. That's the one with VMs, right?\n\n**ADAM:** Yes. For 13 years now.\n\n**STEVE:** 13 years.\n\n**ADAM:** Yeah.\n\n**MATT:** On clouds.\n\n**STEVE:** You want to?\n\n**MATT:** Yeah, so tell us about the engine and what computes do in it and stuff.\n\n**ADAM:** So it is Google's attempt at selling virtual machines to the rest of the world. So taking the infrastructure we have and virtualizing it so that we can sell little bits of computers to people or whole computers, depending on what you want to buy.\n\n**MATT:** I take it's gone through a few iterations and we're at the latest one?\n\n**ADAM:** Yeah, it's an incremental upgrades of things over time. It's a ship of Theseus. It has not-- There's never been a version increment, really. It's pieces are tacked on over time and bits are rewritten.\n\nThere's been multiple iterations of the control plane, multiple iterations of virtualization software. But it's still the same product, as far as people are concerned.\n\n**MATT:** Tell us a bit about your role in that right now.\n\n**ADAM:** I'm one of the tech leads on the compute SRE team. So we manage GCE as best we can, from an SRE perspective.\n\n**MATT:** That sounds challenging. I bet the use cases are pretty diverse for computers.\n\n**ADAM:** Yes, it is more than just computers. I guess it's worth pointing out. It's a data center in a box. So you end up with virtual networks, firewalls, computers, disks, load balancers, all of the things you would want.\n\n**MATT:** As an SRE myself, I usually have to focus on one of those. Tell us about supporting them all.\n\n**ADAM:** You don't end up with a deep knowledge of each individual piece. There's-- one of the teams manages the API, and generally the customer experience on the API itself doesn't necessarily know how the business logic works. Other teams deal with individual networking components, like load balancers or the virtual network, or things like the virtual machines or disks.\n\nThere's multiple teams for all of these things. And that's just SRE.\n\n**STEVE:** Yeah, so there's these product teams that build the systems or adapt the systems over time, I suppose. And I think-- so one piece of context that's important is that the people who listen to this podcast or watch the video, or whatever it is, are like SREs who don't work at Google. That's the idea. Or SRE adjacent folks, production teams or DevOps, things like that.\n\nSo I think a lot of them will have read things about Google internally. Like, They know about this idea of this thing called borg. So is Compute Engine just like a different borg, or is it like just an exposure of borg? Like, that doesn't sound that hard, Adam. Surely, it's just a matter of opening a firewall to the computers or something, right? He says.\n\n**ADAM:** If only it was that simple. Yeah. I mean, yes, Compute Engine runs on borg, but trying to expose virtual machines on a cluster scheduling system that was designed for machines to be completely replaceable and dispensable is part of the complexity.\n\n**STEVE:** And then what about, like, we want to offer just a raw computer to end customers.\n\n**ADAM:** We do offer that as a feature, actually.\n\n**STEVE:** I mean, generally customers don't necessarily want exactly that.\n\n**ADAM:** They don't want--\n\n**STEVE:** They may ask for it, but it's not actually, not actually the best plan.\n\n**ADAM:** Yes.\n\n**STEVE:** Could you elaborate on why that is not a good plan and why customers might--\n\n**ADAM:** One of the significant benefits of the cloud is you don't have to think about hardware. You give us tell us you want the virtual machine, and if the hardware it's running on fails, we will run it somewhere else. You get redundant computers out of one computer. Obviously, if you want true redundancy, run more than one virtual machine. But on the whole, your VMs will stay running even if the underlying hardware fails.\n\n**STEVE:** So you've been working on this product for a while now, I would say.\n\n**ADAM:** It's been a while.\n\n**STEVE:** It's been a while, has it, I don't know, gotten bigger at all?\n\n**ADAM:** Just a little.\n\n**STEVE:** Has demand grown?\n\n**ADAM:** Yes. So I've been on the project since before it was GA, so I remember when it was not really usable.\n\n**ADAM:** Yeah. No, so in the beginning, you couldn't even boot off of a persistent disk. So persistent disk is the reliable storage that virtual machines have. At the beginning, we just exposed the disks that machines were on as well, and that was what you had to boot off of. That's an example of the way it's changed over time.\n\nThat is not an option anymore. Now you have to boot off of a persistent disk so that if the underlying host crashes, you still have your virtual machine.\n\n**STEVE:** You mentioned something a little while ago, which is a term that I think people have heard about but may not know deeply. Like, you mentioned the control plane. So you said that there is a control plane for GCE or just for this data center product. How would you describe a control plane and let alone this control plane to our listeners?\n\n**ADAM:** Yeah, there's-- of course, there's more than one. There's layers of control planes.\n\n**STEVE:** Perfect.\n\n**ADAM:** So when I say control plane, I'm talking about the API endpoint that people talk to mutate their Compute Engine resources. So this is compute.googleapis.com is the host name. That is the HTTP server that people talk to and change things. That turns into a very large amount of business logic and a bunch of different systems to actuate what people ask.\n\nBut the control plane, as we think of it, is the thing that holds the knowledge of the resources that exist and allows you to mutate them.\n\n**STEVE:** So it's like it has a database, it knows what's going on in the world. You can tell it, I want one more of those things, please, or one less of those things, et cetera. And--\n\n**ADAM:** It makes that happen.\n\n**STEVE:** And it makes that happen. But the interesting part, I think, around it is that it's not just about the VMs themselves. Like you said, it's firewalls and network and storage and all these other things as well.\n\n**ADAM:** What data center in a box means is still evolving. This is changing with AI drastically as well, with the large amounts of storage, bandwidth, memory, interconnect, everything that people want.\n\n**STEVE:** Accelerators.\n\n**ADAM:** Yes. And locality matters a lot more all of a sudden. There's-- the product is changing constantly. The requirements are changing. The old requirements never really go away either.\n\n**MATT:** Speaking of scale, imagine I'm trying to draw by analogies. Something you've done, we've done a massive planet scale. I'm trying to think of what I do in my tiny little company, which I'm doing it at small scale. What's something that actually isn't any different, even though it's planet scale compared to my small business?\n\nI'm cloudifying my thing, or not even that, but I have to do something a little larger. What's a support story you still have to do that looks like what you would have done at a millionth of the scale?\n\n**ADAM:** Actually understand what your customers need. It's very easy, with a big company, with a lot of customers and enormous scale to forget that when someone is saying they have a problem, they probably are actually having a problem that can be traced back through the system into what's actually happening. Kind of breaking through all those layers and figuring that out is hard. But I think the same, regardless of the size of a company.\n\n**MATT:** And do you think that this the same this is the same story over and over again, which is getting good at understanding what is needed, how to prioritize it, how to make it actionable, responding to it. Are these the tools that we're still using the same muscles in our brain and going a little bit faster with some of the tooling? How is that-- something that's actually changed in the last year, if I'm not mistaken.\n\n**ADAM:** I feel like you're trying to lead me somewhere, but I'm not sure where.\n\n**MATT:** Well, he just asked a question about AI's influence, like anomaly detection.\n\n**ADAM:** Oh, yeah. It feels like this stuff is changing faster than I could keep up with it. But there is-- over the course of the last year, I've seen computers go from things where if a human had not suggested all of the relevant dashboards, all of the relevant information, there was no additional-- there was no added information when something went wrong. But there's a lot. Like the aggregation and correlation abilities of these systems is improving.\n\n**MATT:** From what I could tell in my small business, I need a lot of the automated anomaly detection because I don't have the time to dedicate one person to look at all the dashboards. Because they're probably swapping disks around and also responding to customer phone calls and all these things at the same time. So that tooling is fantastic for me. And at scale, yeah, I can devote a team of people to respond to things manually, but probably they want that automation too.\n\nAnd that's kind of happening all at the same time. What are you seeing in triage ticketing right now? Like, this is clearly happening right now.\n\n**ADAM:** Yeah. So, I mean, agents are pretty good at triaging bugs. So the summarizing, triaging and routing of things.\n\n**MATT:** That's pretty interesting to me.\n\n**STEVE:** I want to turn the corner a little bit into something adjacent. So you're on a couple teams, we call them IRT teams. They're Incident Response Teams. They're kind of like an escalated incident response team. So when people are in trouble, they can, like, ah, it's bigger than I thought or I'm not sure what to, exactly how to, they can basically page this team or engage this team in some way. Can you tell us about why did you choose to do this or what is it that-- how would you summarize this type of work?\n\n**ADAM:** So it's my favorite part of the job, honestly, which feels a little weird because you're only summoned when there's a disaster going on. So IRT teams are-- incident response teams deal with incident management, incident command, and in general, just being around and helping to make things better when everything is going wrong.\n\nGenerally, they're comprised of the people who can't help but try to help when things are broken. And it's not a matter of wanting to rubberneck or of watch the fire burn. But the thought, maybe I can make it better in some way if I sit on the sidelines and watch and learn what's going on. That turns into, once you get enough skill and you stop, you don't get cortisol spikes when you're nervous about that.\n\n**STEVE:** It helps.\n\n**ADAM:** You can start taking command of these incidents.\n\n**STEVE:** Would you say that's a good approach to take? Like, if someone finds themselves in this position and they want to get better at it and they want to be-- for example, I'm on a team that's just like this and I'm trying to get better at it. And I know that you've been in this position for a long time.\n\nHow do I get better at being a member of an IRT team? What's a good path to take or things to think about?\n\n**ADAM:** Everyone needs to be aware of who is actually in control of the incident and defer to them. So there's, regardless of position in a company, regardless of level, managerial relationships or the like, someone is in charge and they should be listened to and it should be treated as a temporary leadership position. I don't know what the right way to describe it is.\n\n**STEVE:** Yeah, temporal, for sure. Like, it's during the course of the incident.\n\n**ADAM:** Yes.\n\n**STEVE:** I heard one phrase got passed around, which is if someone is encroaching, maybe, a simple phrase is would you like to take over as IC?\n\n**ADAM:** I have literally done that.\n\n**STEVE:** That's a good one.\n\n**ADAM:** And the person stopped. Because that is another aspect of this, is you show up largely because you were asked to, and it's not a favor because it's part of one's role at a company. But you are there because it is necessary for you to be there.\n\n**STEVE:** Yeah.\n\n**MATT:** This goes all the way back to where the first episode of last season. Or second episode, which is an industry principle, which is clarity of role, horizontal access, and openness and clear communication globally and solving problems together, as people. And I love hearing these stories, and also know that this is a part time work for many people.\n\nSome cloud, IRT for some people is not a full time gig. It is something you do when there's only an incident, and it doesn't need to be a full time gig. It can be, in a big organization, where there needs to be a full time response. But as far as I can tell, there are people who only do that when it's called for.\n\nWhat's it like when an incident happens all of a sudden? How is it self-organized or partially organized? Describe a life of an incident. Go through a--\n\n**STEVE:** A big one, though.\n\n**ADAM:** A big one?\n\n**MATT:** Make it more--\n\n**STEVE:** Make it exciting.\n\n**MATT:** Yeah, exactly.\n\n**ADAM:** So I can speak-- I'll speak for tech IRT because those are even bigger. If too many incidents are opened in too short a period of time, tech IRT is alerted to say, you should probably look and see what's going on because there might be something wrong.\n\nSo there's-- often that is the start of realizing that something is broken. This results in seeing what's broken, finding the on calls that have already been paged because they've already opened incidents, assuming that that's the case, and dragging everyone together, usually into a video conference, because I found that's the highest bandwidth way of getting people on the same page and making sure that you aren't duplicating roles and you've got the right people in the room.\n\nI think it usually very quickly turns into, do we understand what is wrong and who are the right people to be working on this and let's get them here right now, at any cost. And, ideally, you can get that all going within about 10 minutes or so. Depending on the scope of the outage, that's either good or bad. Because if-- sometimes if cooling is failing, that needs to be faster than that. But those are much smaller, more constrained incidents in terms of who needs to respond.\n\n**STEVE:** This is an interesting, like the way this is spoken about in external, more academic circles is like this is a case of what we call adaptive capacity, and it's the ability for a team to be able to borrow capacity from someone else, in this case, you and your friends, to come in and provide some capability or some knowledge or just like connective tissue, almost, with other teams, things like this.\n\nOr just simply just like, hey, how about I just take over for you. Even that level, I think, does a lot for teams like that. So can you imagine the case where incidents like you've seen before were happening and IRT did not exist? Like, besides, just the actual access control that you might have to be able to change a load balancer or change a board job or something like that. Do you think that just this ability to step in and say, hey, we're here to help, just that alone, does that help the situation?\n\n**ADAM:** I've seen it repeatedly help situations. There's, there's a level of feeling of responsibility for something but not knowing what to do that can make people vapor lock or deadlock, almost, in responding to things.\n\n**MATT:** This sounds like, what's it, psychological safety here is really paramount. Being safe saying you don't know the answer is the only way to make progress here. It's like, I don't know, and I need to have the following things in order to know. And then having an incident commander say, OK, well, you need to go either tell me who to go find out that for you or delegate that to someone else.\n\n**STEVE:** So has anyone ever gotten in trouble for asking for help from IRT?\n\n**ADAM:** No.\n\n**STEVE:** Leading question. I was really hoping you were going to say no.\n\n**ADAM:** The attitude is if we're paged for a completely specious thing, the attitude is please don't page us for that next time, but feel free to page us with new problems, because don't let the problem sit and simmer if you don't know what to do.\n\n**STEVE:** Yeah, it's better to apologize for a page than to apologize for not a page.\n\n**ADAM:** Yes.\n\n**STEVE:** I would say. Like, if you just let it just blow up and you didn't ask for help, that would be real bad. Thank you for coming. This was really fun.\n\nAnd do you have anything you want to add? What do you want to say to the SREs who don't work at this company? Anything. Or do you want to share any social connections or where you, formerly known as tweet, or anything like that. Do you like--\n\n**ADAM:** [LAUGHS]\n\n**STEVE:** Fair enough, yeah.\n\n**ADAM:** Yeah. I don't know, keep playing with fun, reliable software.\n\n**STEVE:** Fair enough, cool.\n\n**MATT:** Thank you.\n\n**STEVE:** Thanks very much.\n\n**ADAM:** Thanks.\n\n**STEVE:** Bye.\n\n**[MUSIC PLAYING]**\n\n**JORDAN GREENBERG:** You've been listening to the Prodcast, Google's podcast on site reliability engineering and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[THEME MUSIC]**", "znaku_textu": 19037, "slov": 3416, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:14", "sha256": "c177cd06c1ee2b59e8f459b265a21fae8109c635f4d539335cb3e228edd8bf4b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09/", "titulek": "Adam Kramer", "h1": "Adam Kramer discusses Incident Response", "popis": "Google's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.", "klicova_slova": "", "kanonicka": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09"}, "headline": "Adam Kramer discusses Incident Response", "description": "Google's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.", "image": "https://kstatic.googleusercontent.com/files/d2d0d348764d333b8b05ae2b041e10ef6de97c3998daa4e33378bc3235617d324f5fefb5a9be2093367c899db33bca5a0c2449848ade6fe26fe34371d42c2101", "author": [{"@type": "Person", "name": "Adam Kramer "}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Adam Kramer discusses Incident Response"}], "markdown": "# Adam Kramer discusses Incident Response\n\nGoogle's Tech Incident Response Team (IRT) manages the complex production environment during times of intensive change. In this episode, IRT member Adam Kramer talks about the importance of psychological safety to ensure that engineers can communicate effectively.\n\n**[THEME MUSIC]**\n\n**JORDAN GREENBERG:** Welcome to season 6 of the Prodcast, Google's podcast about site reliability engineering and production software. This season, we met with SREs in person to hear what's on their minds, to explore the importance of psychological safety, and to learn what's coming next for SRE. And of course, the most important part is the friends we made along the way. Happy listening, and may all your incidents be novel.\n\n**[THEME MUSIC]**\n\n**[MUSIC PLAYING] STEVE:** Hello, everyone. I'm Steve.\n\n**MATT:** I'm Matt.\n\n**STEVE:** He's Matt.\n\n**ADAM:** Adam.\n\n**STEVE:** He's Adam. I hope you can hear this because we're trying this kind of on the fly. This is the podcast. This is the podcast about SRE and production software here at Google. We're on site.\n\n**MATT:** On site. First time.\n\n**STEVE:** Where are we? What city are we in?\n\n**ADAM:** Seattle.\n\n**STEVE:** Seattle. Yeah. None of us live here except for this guy.\n\n**ADAM:** I don't live here either. I live about 25 miles away.\n\n**STEVE:** OK, he doesn't even live here. It's great. So today we're going to be talking with a few different SREs. Adam is the first one, so we're kind of figuring out what it is that we're going to talk about. So I'm guessing we're going to talk about the cloud. This is Cloud City, after all, right?\n\n**MATT:** No.\n\n**ADAM:** It's cloudy.\n\n**STEVE:** Bespin, is that what we call this place? Something like that Adam has been working on, what, cloud compute and things. How would you describe what you work on?\n\n**ADAM:** Google Compute Engine.\n\n**STEVE:** Google Compute Engine. That's the one with VMs, right?\n\n**ADAM:** Yes. For 13 years now.\n\n**STEVE:** 13 years.\n\n**ADAM:** Yeah.\n\n**MATT:** On clouds.\n\n**STEVE:** You want to?\n\n**MATT:** Yeah, so tell us about the engine and what computes do in it and stuff.\n\n**ADAM:** So it is Google's attempt at selling virtual machines to the rest of the world. So taking the infrastructure we have and virtualizing it so that we can sell little bits of computers to people or whole computers, depending on what you want to buy.\n\n**MATT:** I take it's gone through a few iterations and we're at the latest one?\n\n**ADAM:** Yeah, it's an incremental upgrades of things over time. It's a ship of Theseus. It has not-- There's never been a version increment, really. It's pieces are tacked on over time and bits are rewritten.\n\nThere's been multiple iterations of the control plane, multiple iterations of virtualization software. But it's still the same product, as far as people are concerned.\n\n**MATT:** Tell us a bit about your role in that right now.\n\n**ADAM:** I'm one of the tech leads on the compute SRE team. So we manage GCE as best we can, from an SRE perspective.\n\n**MATT:** That sounds challenging. I bet the use cases are pretty diverse for computers.\n\n**ADAM:** Yes, it is more than just computers. I guess it's worth pointing out. It's a data center in a box. So you end up with virtual networks, firewalls, computers, disks, load balancers, all of the things you would want.\n\n**MATT:** As an SRE myself, I usually have to focus on one of those. Tell us about supporting them all.\n\n**ADAM:** You don't end up with a deep knowledge of each individual piece. There's-- one of the teams manages the API, and generally the customer experience on the API itself doesn't necessarily know how the business logic works. Other teams deal with individual networking components, like load balancers or the virtual network, or things like the virtual machines or disks.\n\nThere's multiple teams for all of these things. And that's just SRE.\n\n**STEVE:** Yeah, so there's these product teams that build the systems or adapt the systems over time, I suppose. And I think-- so one piece of context that's important is that the people who listen to this podcast or watch the video, or whatever it is, are like SREs who don't work at Google. That's the idea. Or SRE adjacent folks, production teams or DevOps, things like that.\n\nSo I think a lot of them will have read things about Google internally. Like, They know about this idea of this thing called borg. So is Compute Engine just like a different borg, or is it like just an exposure of borg? Like, that doesn't sound that hard, Adam. Surely, it's just a matter of opening a firewall to the computers or something, right? He says.\n\n**ADAM:** If only it was that simple. Yeah. I mean, yes, Compute Engine runs on borg, but trying to expose virtual machines on a cluster scheduling system that was designed for machines to be completely replaceable and dispensable is part of the complexity.\n\n**STEVE:** And then what about, like, we want to offer just a raw computer to end customers.\n\n**ADAM:** We do offer that as a feature, actually.\n\n**STEVE:** I mean, generally customers don't necessarily want exactly that.\n\n**ADAM:** They don't want--\n\n**STEVE:** They may ask for it, but it's not actually, not actually the best plan.\n\n**ADAM:** Yes.\n\n**STEVE:** Could you elaborate on why that is not a good plan and why customers might--\n\n**ADAM:** One of the significant benefits of the cloud is you don't have to think about hardware. You give us tell us you want the virtual machine, and if the hardware it's running on fails, we will run it somewhere else. You get redundant computers out of one computer. Obviously, if you want true redundancy, run more than one virtual machine. But on the whole, your VMs will stay running even if the underlying hardware fails.\n\n**STEVE:** So you've been working on this product for a while now, I would say.\n\n**ADAM:** It's been a while.\n\n**STEVE:** It's been a while, has it, I don't know, gotten bigger at all?\n\n**ADAM:** Just a little.\n\n**STEVE:** Has demand grown?\n\n**ADAM:** Yes. So I've been on the project since before it was GA, so I remember when it was not really usable.\n\n**ADAM:** Yeah. No, so in the beginning, you couldn't even boot off of a persistent disk. So persistent disk is the reliable storage that virtual machines have. At the beginning, we just exposed the disks that machines were on as well, and that was what you had to boot off of. That's an example of the way it's changed over time.\n\nThat is not an option anymore. Now you have to boot off of a persistent disk so that if the underlying host crashes, you still have your virtual machine.\n\n**STEVE:** You mentioned something a little while ago, which is a term that I think people have heard about but may not know deeply. Like, you mentioned the control plane. So you said that there is a control plane for GCE or just for this data center product. How would you describe a control plane and let alone this control plane to our listeners?\n\n**ADAM:** Yeah, there's-- of course, there's more than one. There's layers of control planes.\n\n**STEVE:** Perfect.\n\n**ADAM:** So when I say control plane, I'm talking about the API endpoint that people talk to mutate their Compute Engine resources. So this is compute.googleapis.com is the host name. That is the HTTP server that people talk to and change things. That turns into a very large amount of business logic and a bunch of different systems to actuate what people ask.\n\nBut the control plane, as we think of it, is the thing that holds the knowledge of the resources that exist and allows you to mutate them.\n\n**STEVE:** So it's like it has a database, it knows what's going on in the world. You can tell it, I want one more of those things, please, or one less of those things, et cetera. And--\n\n**ADAM:** It makes that happen.\n\n**STEVE:** And it makes that happen. But the interesting part, I think, around it is that it's not just about the VMs themselves. Like you said, it's firewalls and network and storage and all these other things as well.\n\n**ADAM:** What data center in a box means is still evolving. This is changing with AI drastically as well, with the large amounts of storage, bandwidth, memory, interconnect, everything that people want.\n\n**STEVE:** Accelerators.\n\n**ADAM:** Yes. And locality matters a lot more all of a sudden. There's-- the product is changing constantly. The requirements are changing. The old requirements never really go away either.\n\n**MATT:** Speaking of scale, imagine I'm trying to draw by analogies. Something you've done, we've done a massive planet scale. I'm trying to think of what I do in my tiny little company, which I'm doing it at small scale. What's something that actually isn't any different, even though it's planet scale compared to my small business?\n\nI'm cloudifying my thing, or not even that, but I have to do something a little larger. What's a support story you still have to do that looks like what you would have done at a millionth of the scale?\n\n**ADAM:** Actually understand what your customers need. It's very easy, with a big company, with a lot of customers and enormous scale to forget that when someone is saying they have a problem, they probably are actually having a problem that can be traced back through the system into what's actually happening. Kind of breaking through all those layers and figuring that out is hard. But I think the same, regardless of the size of a company.\n\n**MATT:** And do you think that this the same this is the same story over and over again, which is getting good at understanding what is needed, how to prioritize it, how to make it actionable, responding to it. Are these the tools that we're still using the same muscles in our brain and going a little bit faster with some of the tooling? How is that-- something that's actually changed in the last year, if I'm not mistaken.\n\n**ADAM:** I feel like you're trying to lead me somewhere, but I'm not sure where.\n\n**MATT:** Well, he just asked a question about AI's influence, like anomaly detection.\n\n**ADAM:** Oh, yeah. It feels like this stuff is changing faster than I could keep up with it. But there is-- over the course of the last year, I've seen computers go from things where if a human had not suggested all of the relevant dashboards, all of the relevant information, there was no additional-- there was no added information when something went wrong. But there's a lot. Like the aggregation and correlation abilities of these systems is improving.\n\n**MATT:** From what I could tell in my small business, I need a lot of the automated anomaly detection because I don't have the time to dedicate one person to look at all the dashboards. Because they're probably swapping disks around and also responding to customer phone calls and all these things at the same time. So that tooling is fantastic for me. And at scale, yeah, I can devote a team of people to respond to things manually, but probably they want that automation too.\n\nAnd that's kind of happening all at the same time. What are you seeing in triage ticketing right now? Like, this is clearly happening right now.\n\n**ADAM:** Yeah. So, I mean, agents are pretty good at triaging bugs. So the summarizing, triaging and routing of things.\n\n**MATT:** That's pretty interesting to me.\n\n**STEVE:** I want to turn the corner a little bit into something adjacent. So you're on a couple teams, we call them IRT teams. They're Incident Response Teams. They're kind of like an escalated incident response team. So when people are in trouble, they can, like, ah, it's bigger than I thought or I'm not sure what to, exactly how to, they can basically page this team or engage this team in some way. Can you tell us about why did you choose to do this or what is it that-- how would you summarize this type of work?\n\n**ADAM:** So it's my favorite part of the job, honestly, which feels a little weird because you're only summoned when there's a disaster going on. So IRT teams are-- incident response teams deal with incident management, incident command, and in general, just being around and helping to make things better when everything is going wrong.\n\nGenerally, they're comprised of the people who can't help but try to help when things are broken. And it's not a matter of wanting to rubberneck or of watch the fire burn. But the thought, maybe I can make it better in some way if I sit on the sidelines and watch and learn what's going on. That turns into, once you get enough skill and you stop, you don't get cortisol spikes when you're nervous about that.\n\n**STEVE:** It helps.\n\n**ADAM:** You can start taking command of these incidents.\n\n**STEVE:** Would you say that's a good approach to take? Like, if someone finds themselves in this position and they want to get better at it and they want to be-- for example, I'm on a team that's just like this and I'm trying to get better at it. And I know that you've been in this position for a long time.\n\nHow do I get better at being a member of an IRT team? What's a good path to take or things to think about?\n\n**ADAM:** Everyone needs to be aware of who is actually in control of the incident and defer to them. So there's, regardless of position in a company, regardless of level, managerial relationships or the like, someone is in charge and they should be listened to and it should be treated as a temporary leadership position. I don't know what the right way to describe it is.\n\n**STEVE:** Yeah, temporal, for sure. Like, it's during the course of the incident.\n\n**ADAM:** Yes.\n\n**STEVE:** I heard one phrase got passed around, which is if someone is encroaching, maybe, a simple phrase is would you like to take over as IC?\n\n**ADAM:** I have literally done that.\n\n**STEVE:** That's a good one.\n\n**ADAM:** And the person stopped. Because that is another aspect of this, is you show up largely because you were asked to, and it's not a favor because it's part of one's role at a company. But you are there because it is necessary for you to be there.\n\n**STEVE:** Yeah.\n\n**MATT:** This goes all the way back to where the first episode of last season. Or second episode, which is an industry principle, which is clarity of role, horizontal access, and openness and clear communication globally and solving problems together, as people. And I love hearing these stories, and also know that this is a part time work for many people.\n\nSome cloud, IRT for some people is not a full time gig. It is something you do when there's only an incident, and it doesn't need to be a full time gig. It can be, in a big organization, where there needs to be a full time response. But as far as I can tell, there are people who only do that when it's called for.\n\nWhat's it like when an incident happens all of a sudden? How is it self-organized or partially organized? Describe a life of an incident. Go through a--\n\n**STEVE:** A big one, though.\n\n**ADAM:** A big one?\n\n**MATT:** Make it more--\n\n**STEVE:** Make it exciting.\n\n**MATT:** Yeah, exactly.\n\n**ADAM:** So I can speak-- I'll speak for tech IRT because those are even bigger. If too many incidents are opened in too short a period of time, tech IRT is alerted to say, you should probably look and see what's going on because there might be something wrong.\n\nSo there's-- often that is the start of realizing that something is broken. This results in seeing what's broken, finding the on calls that have already been paged because they've already opened incidents, assuming that that's the case, and dragging everyone together, usually into a video conference, because I found that's the highest bandwidth way of getting people on the same page and making sure that you aren't duplicating roles and you've got the right people in the room.\n\nI think it usually very quickly turns into, do we understand what is wrong and who are the right people to be working on this and let's get them here right now, at any cost. And, ideally, you can get that all going within about 10 minutes or so. Depending on the scope of the outage, that's either good or bad. Because if-- sometimes if cooling is failing, that needs to be faster than that. But those are much smaller, more constrained incidents in terms of who needs to respond.\n\n**STEVE:** This is an interesting, like the way this is spoken about in external, more academic circles is like this is a case of what we call adaptive capacity, and it's the ability for a team to be able to borrow capacity from someone else, in this case, you and your friends, to come in and provide some capability or some knowledge or just like connective tissue, almost, with other teams, things like this.\n\nOr just simply just like, hey, how about I just take over for you. Even that level, I think, does a lot for teams like that. So can you imagine the case where incidents like you've seen before were happening and IRT did not exist? Like, besides, just the actual access control that you might have to be able to change a load balancer or change a board job or something like that. Do you think that just this ability to step in and say, hey, we're here to help, just that alone, does that help the situation?\n\n**ADAM:** I've seen it repeatedly help situations. There's, there's a level of feeling of responsibility for something but not knowing what to do that can make people vapor lock or deadlock, almost, in responding to things.\n\n**MATT:** This sounds like, what's it, psychological safety here is really paramount. Being safe saying you don't know the answer is the only way to make progress here. It's like, I don't know, and I need to have the following things in order to know. And then having an incident commander say, OK, well, you need to go either tell me who to go find out that for you or delegate that to someone else.\n\n**STEVE:** So has anyone ever gotten in trouble for asking for help from IRT?\n\n**ADAM:** No.\n\n**STEVE:** Leading question. I was really hoping you were going to say no.\n\n**ADAM:** The attitude is if we're paged for a completely specious thing, the attitude is please don't page us for that next time, but feel free to page us with new problems, because don't let the problem sit and simmer if you don't know what to do.\n\n**STEVE:** Yeah, it's better to apologize for a page than to apologize for not a page.\n\n**ADAM:** Yes.\n\n**STEVE:** I would say. Like, if you just let it just blow up and you didn't ask for help, that would be real bad. Thank you for coming. This was really fun.\n\nAnd do you have anything you want to add? What do you want to say to the SREs who don't work at this company? Anything. Or do you want to share any social connections or where you, formerly known as tweet, or anything like that. Do you like--\n\n**ADAM:** [LAUGHS]\n\n**STEVE:** Fair enough, yeah.\n\n**ADAM:** Yeah. I don't know, keep playing with fun, reliable software.\n\n**STEVE:** Fair enough, cool.\n\n**MATT:** Thank you.\n\n**STEVE:** Thanks very much.\n\n**ADAM:** Thanks.\n\n**STEVE:** Bye.\n\n**[MUSIC PLAYING]**\n\n**JORDAN GREENBERG:** You've been listening to the Prodcast, Google's podcast on site reliability engineering and production software. Visit us on the web at sre.google, where you can find books, papers, workshops, videos, and more about SRE. This season is brought to you by hosts Jordan Greenberg, Steve McGhee, Florian Rathgeber, and Matt Siegler, with contributions from many SREs behind the scenes. The Prodcast is produced by Paul Guglielmino and Salim Virji. The Prodcast theme is \"Telebot\" by Javi Beltran and Jordan Greenberg.\n\n**[THEME MUSIC]**", "znaku_textu": 19037, "slov": 3416, "odkazu": 41, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/prodcast/transcripts/sre-prodcast-06-09", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:18", "sha256": "c177cd06c1ee2b59e8f459b265a21fae8109c635f4d539335cb3e228edd8bf4b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/prodverbs/", "titulek": "Google SRE - Capture sre beliefs: Prodverbs by Perry Lorier", "h1": "Prodverbs", "popis": "Prodverbs capture key principles of SRE, offering insights into running production services. Explore this first collection, with more to come in the future.", "klicova_slova": "", "kanonicka": "https://sre.google/prodverbs/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Prodverbs"}, {"uroven": 2, "text": "Curated by Perry Lorier, Staff Site Reliability Engineer"}, {"uroven": 3, "text": "Cascading failures happen, so guard against them."}, {"uroven": 3, "text": "Production is never homogenous."}, {"uroven": 3, "text": "An empty config doesn’t mean you should delete everything."}, {"uroven": 3, "text": "Every single point of failure fails eventually."}, {"uroven": 3, "text": "First mitigate, then diagnose, then fix."}, {"uroven": 3, "text": "If two systems must agree for them to work, someday they will inevitably disagree."}, {"uroven": 3, "text": "Decrease variance, increase mean."}, {"uroven": 3, "text": "Backups are only as good as the last restore."}, {"uroven": 3, "text": "If you have no SLOs, toil is your job."}, {"uroven": 3, "text": "Hope is not a strategy."}, {"uroven": 3, "text": "Scale maintenance sublinearly with the growth of the service."}, {"uroven": 3, "text": "May all your incidents be novel."}], "markdown": "# Prodverbs\n\n## Curated by Perry Lorier, Staff Site Reliability Engineer\n\nThese \"prodverbs\" (aka production proverbs) capture general beliefs that SREs have (or, IMHO, should have) that I've collected over the past few years. These prodverbs provide insight into running services in production, and working as an SRE. Each prodverb links to a talk or article that describes the principles in more detail. This is our first collection of prodverbs — look for more here in the coming months!\n\n[Cascading failures happen, so guard against them.](https://sre.google/sre-book/addressing-cascading-failures/#:~:text=the%20snowball%20effect.-,Preventing%20Server%20Overload,-The%20following%20list)\n\n[Production is never homogenous.](https://sre.google/workbook/simplicity/#:~:text=and%20encourage%20simplicity.-,Measuring%20Complexity,-Measuring%20the%20complexity)\n\n[An empty config doesn’t mean you should delete everything.](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production#:~:text=partial%20content)\n\n[Every single point of failure fails eventually.](https://sre.google/workbook/non-abstract-design/#:~:text=Ignoring%20our%20calculations,impact%20our%20users)\n\n[First mitigate, then diagnose, then fix.](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/)\n\n[If two systems must agree for them to work, someday they will inevitably disagree.](https://sre.google/sre-book/managing-critical-state/)\n\n[Decrease variance, increase mean.](https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons)\n\n[Backups are only as good as the last restore.](https://sre.google/sre-book/data-integrity/)\n\n[If you have no SLOs, toil is your job.](https://sre.google/workbook/implementing-slos/)\n\n[Hope is not a strategy.](https://sre.google/resources/practices-and-processes/twenty-years-of-sre-lessons-learned/)\n\n[Scale maintenance sublinearly with the growth of the service.](https://sre.google/sre-book/eliminating-toil/)\n\n[May all your incidents be novel.](https://sre.google/sre-book/postmortem-culture/)", "znaku_textu": 2080, "slov": 213, "odkazu": 89, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:18", "sha256": "3ae7339a8a8d3b1013425c964784fe65a052d4d93c6fb5d2fa1a48ddffb8c1f5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production", "https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons", "https://twitter.com/intent/tweet?text=Cascading+failures+happen%2C+so+guard+against+them.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D1%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Cascading+failures+happen%2C+so+guard+against+them.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D1%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Production+is+never+homogenous.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D2%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Production+is+never+homogenous.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D2%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=An+empty+config+doesn%E2%80%99t+mean+you+should+delete+everything.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D3%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=An+empty+config+doesn%E2%80%99t+mean+you+should+delete+everything.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D3%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Every+single+point+of+failure+fails+eventually.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D4%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Every+single+point+of+failure+fails+eventually.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D4%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=First+mitigate%2C+then+diagnose%2C+then+fix.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D5%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=First+mitigate%2C+then+diagnose%2C+then+fix.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D5%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=If+two+systems+must+agree+for+them+to+work%2C+someday+they+will+inevitably+disagree.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D6%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=If+two+systems+must+agree+for+them+to+work%2C+someday+they+will+inevitably+disagree.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D6%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Decrease+variance%2C+increase+mean.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D7%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Decrease+variance%2C+increase+mean.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D7%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Backups+are+only+as+good+as+the+last+restore.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D8%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Backups+are+only+as+good+as+the+last+restore.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D8%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=If+you+have+no+SLOs%2C+toil+is+your+job.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D9%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=If+you+have+no+SLOs%2C+toil+is+your+job.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D9%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Hope+is+not+a+strategy.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D10%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Hope+is+not+a+strategy.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D10%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=Scale+maintenance+sublinearly+with+the+growth+of+the+service.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D11%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=Scale+maintenance+sublinearly+with+the+growth+of+the+service.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D11%0Acc%3A%40googlesre", "https://twitter.com/intent/tweet?text=May+all+your+incidents+be+novel.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D12%0Acc%3A%40googlesre", "https://www.linkedin.com/shareArticle?url=May+all+your+incidents+be+novel.+https%3A%2F%2Fsre.google%2Fprodverbs%2F%3Fslide%3D12%0Acc%3A%40googlesre", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/", "titulek": "Google SRE: Digital Library, Books and Resources Hub", "h1": "The SRE resource library", "popis": "The SRE resource library offers curated learning paths, site reliability books, videos and SRE resources for all levels of expertise-supporting your SRE journey.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "The SRE resource library"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Why Heroism is Bad"}, {"uroven": 2, "text": "Online Training"}, {"uroven": 2, "text": "SRE Fundamentals online course"}, {"uroven": 2, "text": "Online Training"}, {"uroven": 2, "text": "SRE Classroom: Distributed PubSub"}, {"uroven": 2, "text": "Online Training"}, {"uroven": 2, "text": "USENIX SREcon Conferences"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Anatomy of an Incident"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Enterprise Roadmap to SRE"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Efficient Machine Learning Inference"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Incident Metrics in SRE"}, {"uroven": 2, "text": "Book"}, {"uroven": 2, "text": "Practical Guide to Cloud Migration"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Reliable Data Processing with Minimal Toil"}, {"uroven": 2, "text": "Online Training"}, {"uroven": 2, "text": "The Art of SLOs"}, {"uroven": 2, "text": "Book"}, {"uroven": 2, "text": "Building Secure and Reliable Systems"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Complexities of Capacity Management for Distributed Services"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "SRE As A Team Sport"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "SRE Best Practices for Capacity Management"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "A Case Study in Community-Driven Software Adoption"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Cloud CRE Production Maturity Assessment"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Deploying SRE Training Best Practices to Production: How We SRE'ed Our SRE Education Program"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "How to Get Started with Site Reliability Engineering"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Multi-single-tenant architectures in Cloud"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Reduce Toil Through Better Alerting"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Taming Chaos: Preparing for Your Next Incident"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "The Calculus of Service Availability"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "A Brief Guide to Running ML Systems in Production"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Canary Analysis Service"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Case Studies in Infrastructure Change Management"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Creating a Production Launch Plan"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Google's Production Environment Tech Talk"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "SRE YouTube Playlist"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "The Cybersecurity Canon Hall of Famers"}, {"uroven": 2, "text": "Book"}, {"uroven": 2, "text": "The Site Reliability Workbook"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Postmortem Action Items: Plan the Work and Work the Plan"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "SLO Adoption and Usage in SRE"}, {"uroven": 2, "text": "Book"}, {"uroven": 2, "text": "Site Reliability Engineering"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Interrupt Reduction Projects"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Invent More, Toil Less"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "(Un)Reliability Budgets: Finding Balance between Innovation and Reliability"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "10 Years of Crashing Google"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Bad Machinery— Managing Interrupts Under Load"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Being an On-Call Engineer: A Google SRE Perspective"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Capacity Planning"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Continuous Pipelines at Google"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Distributed Consensus Algorithms for Extreme Reliability"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Error Budgets and Risks"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Hiring Site Reliability Engineers"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "How Container Clusters Like Kubernetes Change Operations"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Incident Analysis"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Managing Incidents"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Reliable Cron across the Planet"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "The System Engineering Side of Site Reliability Engineering"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "BeyondCorp: A New Approach to Enterprise Security"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "Keys to SRE"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Making “Push on Green” a Reality"}, {"uroven": 2, "text": "Video"}, {"uroven": 2, "text": "PostOps: A Non-Surgical Tale of Software, Fragility, and Reliability"}, {"uroven": 2, "text": "Article"}, {"uroven": 2, "text": "Weathering the Unexpected"}], "markdown": "# The SRE resource library\n\nSRE represents a mindset, engineering practices, and a job function. Here you will find articles, videos, and guides to help you implement SRE principles and run reliable production systems.\n\nExplore All Resources\n\nStart your journey by exploring\n\nMachine Learning in Production\n\n[Read now](https://goo.gle/reliable-ml)\n\nContinue your journey by reading\n\nEfficient Machine Learning Inference\n\n[Read now](https://goo.gle/efficient-ml-inference)\n\nExtend your journey by watching\n\nMachine Learning at Scale\n\n[Watch now](https://www.oreilly.com/live-events/spotlight-on-data-machine-learning-in-production-at-google-scale-with-todd-underwood/0636920309208/0636920309192/)\n\n- Building Secure & Reliable Systems Can a system be considered truly reliable if it isn't fundamentally secure? Or can it be considered secure if it's unreliable? Security is crucial to the design and operation of scalable systems in production, as it plays an important part in product quality, performance, and availability. In this book, experts from Google share best practices to help your organization design scalable and reliable systems that are fundamentally secure. **Edited by:** Heather Adkins, Betsy Beyer, Paul Blankinship, Ana Oprea, Piotr Lewandowski, Adam Stubblefield\n- The Site Reliability Workbook The Site Reliability Workbook is the hands-on companion to the bestselling Site Reliability Engineering book and uses concrete examples to show how to put SRE principles and practices to work. This book contains practical examples from Google’s experiences and case studies from Google’s Cloud Platform customers. Evernote, The Home Depot, The New York Times, and other companies outline hard-won experiences of what worked for them and what didn’t. **Edited by:** Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara and Stephen Thorne\n- Site Reliability Engineering Members of the SRE team explain how their engagement with the entire software lifecycle has enabled Google to build, deploy, monitor, and maintain some of the largest software systems in the world. **Edited by:** Betsy Beyer, Chris Jones, Jennifer Petoff and Niall Richard Murphy\n\nBegin by reading\n\nImplementing SLOs\n\n[Read now](https://sre.google/workbook/implementing-slos/)\n\nDig deeper by exploring\n\nAlerting on SLOs\n\n[Read now](https://sre.google/workbook/alerting-on-slos/)\n\nBuild your skills with\n\nArt of SLOs\n\n[View Details](/resources/practices-and-processes/art-of-slos/)\n\nLearn the basics by reading\n\nIntroducing Non-Abstract Large System Design\n\n[Read now](https://sre.google/workbook/non-abstract-design/)\n\nDevelop fundamentals by exploring\n\nSRE Classroom: Distribued ImageServer\n\n[Read now](/classroom/imageserver/)\n\nBuild advanced skills with this video workshop\n\nHow to Design a Distributed System\n\n[Watch now](https://www.youtube.com/watch?v=ohtqI3AHR0k)\n\nFilter by:\n\nSLO\n\nTraining\n\nNALSD\n\nSystems Engineering\n\nProgram Management\n\nIncident Management\n\nEnterprise\n\nSecurity\n\nDistributed Systems\n\nCapacity Planning\n\nToil\n\nMachine Learning\n\nSoftware Development\n\n[Article Why Heroism is Bad](practices-and-processes/no-heroes/)\n\n[Online Training SRE Fundamentals online course](https://uplimit.com/course/sre-fundamentals-with-google?utm_campaign=sre-fundamentals-with-google&utm_medium=SOCIAL_MEDIA&utm_source=LINKEDIN&utm_term=salim)\n\n[Online Training SRE Classroom: Distributed PubSub](/classroom/distributed-pubsub/)\n\n[Online Training USENIX SREcon Conferences](https://www.usenix.org/conferences/byname/925)\n\n[Article Anatomy of an Incident](https://goo.gle/sre-aoai)\n\n[Article Enterprise Roadmap to SRE](practices-and-processes/enterprise-roadmap-to-sre/)\n\n[Article Efficient Machine Learning Inference](https://goo.gle/efficient-ml-inference)\n\n[Article Incident Metrics in SRE](https://goo.gle/incident-metrics-in-sre)\n\n[Book Practical Guide to Cloud Migration](https://goo.gle/cloud-migration-guide)\n\n[Article Reliable Data Processing with Minimal Toil](https://goo.gle/reliable-data-processing-with-minimal-toil)\n\n[Online Training The Art of SLOs](practices-and-processes/art-of-slos/)\n\n[Book Building Secure and Reliable Systems](/books/building-secure-reliable-systems/)\n\n[Video Complexities of Capacity Management for Distributed Services](https://www.youtube.com/watch?v=pOo0oKNM9I8)\n\n[Article SRE As A Team Sport](https://www.oreilly.com/content/sre-as-a-team-sport/)\n\n[Article SRE Best Practices for Capacity Management](/static/pdf/login_winter20_10_torres.pdf)\n\n[Article A Case Study in Community-Driven Software Adoption](practices-and-processes/community-driven-software-adoption/)\n\n[Article Cloud CRE Production Maturity Assessment](/static/pdf/cloud-cre-production-maturity-assessment.pdf)\n\n[Video Deploying SRE Training Best Practices to Production: How We SRE'ed Our SRE Education Program](https://www.usenix.org/conference/srecon19emea/presentation/petoff)\n\n[Article Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications](https://goo.gle/reliable-mobile-applications)\n\n[Article How to Get Started with Site Reliability Engineering](https://www.oreilly.com/ideas/how-to-get-started-with-site-reliability-engineering-sre)\n\n[Article Multi-single-tenant architectures in Cloud](https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/)\n\n[Article Reduce Toil Through Better Alerting](https://www.oreilly.com/ideas/reduce-toil-through-better-alerting)\n\n[Article Taming Chaos: Preparing for Your Next Incident](https://soundcloud.com/oreilly-radar/taming-chaos-preparing-for-your-next-incident)\n\n[Article The Calculus of Service Availability](/static/pdf/calculus_of.pdf)\n\n[Article A Brief Guide to Running ML Systems in Production](https://goo.gle/reliable-ml)\n\n[Article Canary Analysis Service](/static/pdf/canary_analysis.pdf)\n\n[Article Case Studies in Infrastructure Change Management](practices-and-processes/infrastructure-change-management/)\n\n[Article Creating a Production Launch Plan](practices-and-processes/production-launch-planning/)\n\n[Video Google's Production Environment Tech Talk](https://www.youtube.com/watch?v=dhTVVWzpc4Q)\n\n[Video SRE YouTube Playlist](https://www.youtube.com/playlist?list=PLIivdWyY5sqJrKl7D2u-gmis8h9K66qoj)\n\n[Article The Cybersecurity Canon Hall of Famers](https://www.paloaltonetworks.com/blog/2018/05/announcing-the-2018-cybersecurity-canon-hall-of-famers/)\n\n[Book The Site Reliability Workbook](https://sre.google/workbook/table-of-contents/)\n\n[Article Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program](https://goo.gle/sre-training-guide)\n\n[Article Postmortem Action Items: Plan the Work and Work the Plan](/static/pdf/login_spring17_09_lunney.pdf)\n\n[Article SLO Adoption and Usage in SRE](practices-and-processes/slo-adoption-and-usage/)\n\n[Book Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/)\n\n[Article Interrupt Reduction Projects](/static/pdf/45764.pdf)\n\n[Article Invent More, Toil Less](/static/pdf/45765.pdf)\n\n[Article (Un)Reliability Budgets: Finding Balance between Innovation and Reliability](https://www.usenix.org/publications/login/aug15/roth)\n\n[Video 10 Years of Crashing Google](https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan)\n\n[Video Bad Machinery— Managing Interrupts Under Load](https://www.usenix.org/conference/srecon15europe/program/presentation/oconnor)\n\n[Article Being an On-Call Engineer: A Google SRE Perspective](https://www.usenix.org/publications/login/oct15/spadaccini)\n\n[Article Capacity Planning](https://www.usenix.org/publications/login/feb15/capacity-planning)\n\n[Video Continuous Pipelines at Google](https://www.usenix.org/conference/srecon15europe/program/presentation/dennison)\n\n[Video Distributed Consensus Algorithms for Extreme Reliability](https://www.usenix.org/conference/srecon15europe/program/presentation/nolan)\n\n[Video Error Budgets and Risks](https://www.usenix.org/conference/srecon15/program/presentation/alvidrez)\n\n[Article Hiring Site Reliability Engineers](https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers)\n\n[Video How Container Clusters Like Kubernetes Change Operations](https://www.usenix.org/conference/srecon15europe/program/presentation/burns)\n\n[Video Incident Analysis](https://www.usenix.org/conference/srecon15/program/presentation/lueder)\n\n[Article Managing Incidents](https://www.usenix.org/publications/login/apr15/stribblehill)\n\n[Article Reliable Cron across the Planet](https://queue.acm.org/detail.cfm?id=2745840)\n\n[Article The System Engineering Side of Site Reliability Engineering](https://www.usenix.org/publications/login/june15/hixson)\n\n[Article BeyondCorp: A New Approach to Enterprise Security](https://www.usenix.org/publications/login/dec14/ward)\n\n[Video Keys to SRE](https://www.usenix.org/conference/srecon14/technical-sessions/presentation/keys-sre)\n\n[Article Making “Push on Green” a Reality](https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality)\n\n[Video PostOps: A Non-Surgical Tale of Software, Fragility, and Reliability](https://www.usenix.org/conference/lisa13/technical-sessions/plenary/underwood)\n\n[Article Weathering the Unexpected](https://queue.acm.org/detail.cfm?id=2371516)\n\nSorry, no available at the moment.", "znaku_textu": 9207, "slov": 907, "odkazu": 108, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:19", "sha256": "7c45305cee84d4be30275696ec4b0f35b6f8eb25b01f60e3ddc2dcb26f25fd7f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://goo.gle/reliable-ml", "https://goo.gle/efficient-ml-inference", "https://www.oreilly.com/live-events/spotlight-on-data-machine-learning-in-production-at-google-scale-with-todd-underwood/0636920309208/0636920309192/", "https://www.google.com/books/edition/Building_Secure_and_Reliable_Systems/Kn7UxwEACAAJ?hl=en", "https://google.github.io/building-secure-and-reliable-systems/raw/toc.html", "https://books.google.com/books?id=fElmDwAAQBAJ", "https://books.google.com/books?id=81UrjwEACAAJ", "https://www.youtube.com/watch?v=ohtqI3AHR0k", "https://uplimit.com/course/sre-fundamentals-with-google", "https://www.usenix.org/conferences/byname/925", "https://goo.gle/sre-aoai", "https://goo.gle/incident-metrics-in-sre", "https://goo.gle/cloud-migration-guide", "https://goo.gle/reliable-data-processing-with-minimal-toil", "https://www.youtube.com/watch?v=pOo0oKNM9I8", "https://www.oreilly.com/content/sre-as-a-team-sport/", "https://www.usenix.org/conference/srecon19emea/presentation/petoff", "https://goo.gle/reliable-mobile-applications", "https://www.oreilly.com/ideas/how-to-get-started-with-site-reliability-engineering-sre", "https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/", "https://www.oreilly.com/ideas/reduce-toil-through-better-alerting", "https://soundcloud.com/oreilly-radar/taming-chaos-preparing-for-your-next-incident", "https://www.youtube.com/watch?v=dhTVVWzpc4Q", "https://www.youtube.com/playlist?list=PLIivdWyY5sqJrKl7D2u-gmis8h9K66qoj", "https://www.paloaltonetworks.com/blog/2018/05/announcing-the-2018-cybersecurity-canon-hall-of-famers/", "https://goo.gle/sre-training-guide", "https://www.usenix.org/publications/login/aug15/roth", "https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan", "https://www.usenix.org/conference/srecon15europe/program/presentation/oconnor", "https://www.usenix.org/publications/login/oct15/spadaccini", "https://www.usenix.org/publications/login/feb15/capacity-planning", "https://www.usenix.org/conference/srecon15europe/program/presentation/dennison", "https://www.usenix.org/conference/srecon15europe/program/presentation/nolan", "https://www.usenix.org/conference/srecon15/program/presentation/alvidrez", "https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers", "https://www.usenix.org/conference/srecon15europe/program/presentation/burns", "https://www.usenix.org/conference/srecon15/program/presentation/lueder", "https://www.usenix.org/publications/login/apr15/stribblehill", "https://queue.acm.org/detail.cfm?id=2745840", "https://www.usenix.org/publications/login/june15/hixson", "https://www.usenix.org/publications/login/dec14/ward", "https://www.usenix.org/conference/srecon14/technical-sessions/presentation/keys-sre", "https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality", "https://www.usenix.org/conference/lisa13/technical-sessions/plenary/underwood", "https://queue.acm.org/detail.cfm?id=2371516", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/", "titulek": "Google SRE - SRE Books For Site Reliability Engineering", "h1": "SRE Book Updates, by Topic", "popis": "Read Fundamentals of SRE with this SRE book. For managing production environments, ensuring service reliability, and embracing automatio.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/"}, "headline": "SRE Book Updates, by Topic", "description": "Click on a chapter thumbnail to see relevant publications, conference talks, and workshops by Google SREs.", "image": "https://lh3.googleusercontent.com/7OjraspJMmVmTxSmjVX3lo3irVfjowp2xzXIGIdGAJ8cxARbHVQCUS9do8G3gWw9Pgxdlk7h7-sL6cSag-JOQk18ooPfFOyijK9EHnnAmOygxxWv5Pc", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Book Updates, by Topic"}], "markdown": "# SRE Book Updates, by Topic\n\nClick on a chapter thumbnail to see relevant publications, conference talks, and workshops by Google SREs.\n\n[**2.** The Production Environment at Google, from the Viewpoint of an SRE](/resources/book-update/production-environment/)\n\n[**3.** Embracing Risk](/resources/book-update/embracing-risk/)\n\n[**4.** Service Level Objectives](/resources/book-update/slos/)\n\n[**5.** Eliminating Toil](/resources/book-update/eliminating-toil/)\n\n[**6.** Monitoring Distributed Systems](/resources/book-update/monitoring-distributed-systems/)\n\n[**7.** The Evolution of Automation at Google](/resources/book-update/automation-at-google/)\n\n[**8.** Release Engineering](/resources/book-update/release-engineering/)\n\n[**9.** Simplicity](/resources/book-update/simplicity/)\n\n[**10.** Practical Alerting](/resources/book-update/practical-alerting/)\n\n[**11.** Being On-Call](/resources/book-update/being-on-call/)\n\n[**12.** Effective Troubleshooting](/resources/book-update/effective-troubleshooting/)\n\n[**13.** Emergency Response](/resources/book-update/emergency-response/)\n\n[**14.** Managing Incidents](/resources/book-update/managing-incidents/)\n\n[**15.** Postmortem Culture: Learning from Failure](/resources/book-update/postmortem-culture/)\n\n[**16.** Tracking Outages](/resources/book-update/tracking-outages/)\n\n[**17.** Testing for Reliability](/resources/book-update/testing-for-reliability/)\n\n[**18.** Software Engineering in SRE](/resources/book-update/software-engineering-in-sre/)\n\n[**19.** Load Balancing at the Frontend](/resources/book-update/load-balancing-at-the-frontend/)\n\n[**20.** Load Balancing in the Datacenter](/resources/book-update/load-balancing-in-the-datacenter/)\n\n[**21.** Handling Overload](/resources/book-update/handling-overload/)\n\n[**22.** Addressing Cascading Failures](/resources/book-update/addressing-cascading-failures/)\n\n[**23.** Managing Critical State: Distributed Consensus for Reliability](/resources/book-update/distributed-consensus/)\n\n[**24.** Distributed Periodic Scheduling with Cron](/resources/book-update/distributed-periodic-scheduling-with-cron/)\n\n[**25.** Data Processing Pipelines](/resources/book-update/data-processing-pipelines/)\n\n[**26.** Data Integrity: What You Read Is What You Wrote](/resources/book-update/data-integrity/)\n\n[**27.** Reliable Product Launches at Scale](/resources/book-update/reliable-product-launches-at-scale/)\n\n[**28.** Accelerating SREs to On-Call and Beyond](/resources/book-update/accelerating-sres-to-on-call-and-beyond/)\n\n[**29.** Dealing with Interrupts](/resources/book-update/dealing-with-interrupts/)\n\n[**30.** Embedding an SRE to Recover from Operational Overload](/resources/book-update/embedding-an-sre-to-recover-from-operational-overload/)\n\n[**31.** Communication and Collaboration in SRE](/resources/book-update/communication-and-collaboration-in-sre/)\n\n[**32.** The Evolving SRE Engagement Model](/resources/book-update/the-evolving-sre-engagement-model/)\n\n[**33.** Lessons Learned from Other Industries](/resources/book-update/lessons-learned-from-other-industries/)", "znaku_textu": 2945, "slov": 320, "odkazu": 73, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:20", "sha256": "1d8a9263e52ef1270feb2a10e55c1085140e8050528f90dd63a914c622727d16", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/accelerating-sres-to-on-call-and-beyond/", "titulek": "Google SRE - Accelerating on call sre and beyond", "h1": "28. Accelerating SREs to On-Call and Beyond", "popis": "Accelerating SRE to on-call & beyond, discover best practices for on-call sre roles, Google sre training & sre onboarding to accelerate engineer's reliability skills.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/accelerating-sres-to-on-call-and-beyond/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/accelerating-sres-to-on-call-and-beyond/"}, "headline": "28. Accelerating SREs to On-Call and Beyond", "description": "Read Accelerating SREs to On-Call and Beyond from the SRE Book.", "image": "https://lh3.googleusercontent.com/xuCfsPVMYm7jYWwPagfJ9RV5q22wFWJpC5TO_7_dIRGenpwRLmvh7Xu5xC-A8PbQ2kMYTH0M6Hj7JOjnYPXHZLdU_FvUwUUaoJ_j105x9e81_vuqtQ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "28. Accelerating SREs to On-Call and Beyond"}], "markdown": "# **28.** Accelerating SREs to On-Call and Beyond\n\nRead [Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/) from the SRE Book.", "znaku_textu": 146, "slov": 24, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:47", "sha256": "4c31eab7c5ae47cc28adcc06d883be214666fb68afd5a916db19a358ca6f4c92", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/adventures-in-sre-land-welcome-to-google-mission-control", "https://www.usenix.org/conference/srecon21/presentation/panel-engineering-onboarding", "https://www.youtube.com/watch?v=xvN6eU8Nj5k", "https://www.usenix.org/conference/srecon19emea/presentation/petoff", "https://www.usenix.org/conference/srecon18europe/presentation/petoff", "https://www.usenix.org/conference/srecon17americas/program/presentation/training-new-sres", "https://www.usenix.org/conference/srecon18asia/presentation/kirsch-interviewing", "https://www.usenix.org/conference/srecon16/program/presentation/krishnan", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/addressing-cascading-failures/", "titulek": "Google SRE - Introducing non-abstract large system design", "h1": "22. Addressing Cascading Failures", "popis": "Introducing non-abstract large system design: Learn how non-abstract large system design helps in addressing cascading failures for scalable, resilient systems.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/addressing-cascading-failures/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/addressing-cascading-failures/"}, "headline": "22. Addressing Cascading Failures", "description": "Read Addressing Cascading Failures from the SRE Book.", "image": "https://lh3.googleusercontent.com/bpy7hjA8u957gpw0ZhWijM8ThnoTjBdjpkb5rJCP4a33jTtSJJ0vO9eRXHup009I52KgnbLDjcA15lg45hD6lcFnSYklKOldjuBCIiHxTK1xWygnDoM", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "22. Addressing Cascading Failures"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **22.** Addressing Cascading Failures\n\nRead [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 12 - Introducing Non-Abstract Large System Design](/workbook/non-abstract-design/)", "znaku_textu": 249, "slov": 28, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:41", "sha256": "bc941e3b1fa914b6b4e6f4fdca823022b81056dbbc3e26e8b04c58d0dd40ca4b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/automation-at-google/", "titulek": "Google SRE - SRE automation best practices book update", "h1": "7. The Evolution of Automation at Google", "popis": "Automation book: SRE leverages automation to enhance site reliability. Explore the evolution of automation and its impact on sre automation practices.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/automation-at-google/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/automation-at-google/"}, "headline": "7. The Evolution of Automation at Google", "description": "Read The Evolution of Automation at Google from the SRE Book.", "image": "https://lh3.googleusercontent.com/HFQSWLeFWikZ0h3mnh-UoYo_n2sXiQZmyN43fRU1m54vKjm77wFxO4_1GkBy66vrZCBzrHQ6gT6jkXR2C3LeYEdPST4u7-IqjpmtX-boCaafEPqk4YVE", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "7. The Evolution of Automation at Google"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **7.** The Evolution of Automation at Google\n\nRead [The Evolution of Automation at Google](/sre-book/automation-at-google/) from the SRE Book.\n\n## Publications\n\n[Prodspec and Annealing](https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production)\n\n## Talks/Videos\n\n[Pragmatic Automation](https://www.usenix.org/conference/srecon19americas/presentation/luebbe)", "znaku_textu": 398, "slov": 35, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:26", "sha256": "49ba88b2a202f8414357fced198d3d780e93ddedaeeaf8975271012a3393931f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/loginonline/prodspec-and-annealing-intent-based-actuation-google-production", "https://www.usenix.org/conference/srecon19americas/presentation/luebbe", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/being-on-call/", "titulek": "Google SRE - Sre book for mastering On-Call rotations", "h1": "11. Being On-Call", "popis": "Managing on call rotations: Learn to optimize on-call schedules, improve incident response, and create more sustainable experience for on call engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/being-on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/being-on-call/"}, "headline": "11. Being On-Call", "description": "Read Being On-Call from the SRE Book.", "image": "https://lh3.googleusercontent.com/cFijr2f8U5e_aCqjxn0nvARy_q31nkr3VUa_u8m3g-IA7TwrJfiARbRTr16S6iEBfi2fWxADNgGZZbiQPVMlBZoXxISclPntrcDHtNDfeAI0W4H4KRM", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "11. Being On-Call"}], "markdown": "# **11.** Being On-Call\n\nRead [Being On-Call](/sre-book/being-on-call/) from the SRE Book.", "znaku_textu": 83, "slov": 15, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:30", "sha256": "4bf854d3e22d52c0bd1c7a5fad37f329681938fe226bab67206ee5fa80207dee", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/login/oct15/spadaccini", "https://www.usenix.org/conference/srecon19americas/presentation/lutz", "https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-bias", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/communication-and-collaboration-in-sre/", "titulek": "Google SRE book update - SRE communication & collaboration", "h1": "31. Communication and Collaboration in SRE", "popis": "Effective sre team communication & collaboration. Discover Google's approach to risk management and escalation policies to build a high-functioning SRE team.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/communication-and-collaboration-in-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/communication-and-collaboration-in-sre/"}, "headline": "31. Communication and Collaboration in SRE", "description": "Read Communication and Collaboration in SRE from the SRE Book.", "image": "https://lh3.googleusercontent.com/2CGNQOuLQkfI7OqjWndXvbAY-jofDb3b_PyNmTkCsBrSbVjJoS59o_giGsoOE0Uc27xzEgASrHT-ZEa8FeJW-qRsPf90TKAENEdEoytxLNW5GcC754o", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "31. Communication and Collaboration in SRE"}], "markdown": "# **31.** Communication and Collaboration in SRE\n\nRead [Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/) from the SRE Book.", "znaku_textu": 151, "slov": 19, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:50", "sha256": "ce71bcfab788a331b74c2c009ffe82caa5b02c2e08a25af6f1a63fcccd13f80c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/library/view/a-case-study/9781098114596/", "https://cloud.google.com/blog/products/gcp/know-thy-enemy-how-to-prioritize-and-communicate-risks-cre-life-lessons", "https://cloud.google.com/blog/products/devops-sre/good-housekeeping-error-budgetscre-life-lessons", "https://cloud.google.com/blog/products/gcp/understanding-error-budget-overspend-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/an-example-escalation-policy-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/applying-the-escalation-policy-cre-life-lessons", "https://www.coursera.org/learn/developing-a-google-sre-culture", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/data-integrity/", "titulek": "Google SRE data integrity book - A data recovery guide", "h1": "26. Data Integrity: What You Read Is What You Wrote", "popis": "Protect data with best practices for ensuring data integrity & data recoverability, minimizing the risk of data loss and ensuring business continuity.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/data-integrity/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/data-integrity/"}, "headline": "26. Data Integrity: What You Read Is What You Wrote", "description": "Read Data Integrity: What You Read Is What You Wrote from the SRE Book.", "image": "https://lh3.googleusercontent.com/mj7Ofj8-GG-WxYShxvhuipotT-9bPoBfUumI9Y-Jrgdfc0vZWYfh4YHZ0PawjKY1CPtTuIL1YqAFK9ItFi-L9VIG9K5eI6iVd7XB8TEAnlqcV-cmeA", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "26. Data Integrity: What You Read Is What You Wrote"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **26.** Data Integrity: What You Read Is What You Wrote\n\nRead [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/) from the SRE Book.\n\n## Talks/Videos\n\n[Tradeoffs in Resiliency: Managing the Burden of Data Recoverability](https://www.usenix.org/conference/srecon18europe/presentation/bennett)", "znaku_textu": 307, "slov": 36, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:45", "sha256": "98e1be02fdec722847b5f6aa7884c269d06f592c0b47268d2a3461d5ff1e8e1f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon18europe/presentation/bennett", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/data-processing-pipelines/", "titulek": "Google SRE - Building reliable data processing pipelines", "h1": "25. Data Processing Pipelines", "popis": "Data pipeline pocket reference: Learn how to design, build, and operate reliable and scalable data processing pipelines that meet your business needs.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/data-processing-pipelines/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/data-processing-pipelines/"}, "headline": "25. Data Processing Pipelines", "description": "Read Data Processing Pipelines from the SRE Book.", "image": "https://lh3.googleusercontent.com/NHhtmjH0WMyokB25ILzjxesZT-dUJwgGuNVUVzAe-IG476gIq4I90wGKmVaSYSIZFA4O9pLTlOYKYSnzPGxMxyVxQkLYwBigoAg-mxWisWjR68t2PBQ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "25. Data Processing Pipelines"}], "markdown": "# **25.** Data Processing Pipelines\n\nRead [Data Processing Pipelines](/sre-book/data-processing-pipelines/) from the SRE Book.", "znaku_textu": 119, "slov": 15, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:44", "sha256": "da5ecbbef37c751be76d4eca707d45736433340d6043382ac40a962c7b7791bf", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon21/presentation/skorikov", "https://www.usenix.org/conference/srecon21/presentation/coucke", "https://www.usenix.org/conference/srecon19americas/presentation/qiu", "https://www.usenix.org/conference/srecon18europe/presentation/panel", "https://www.usenix.org/sites/default/files/conference/protected-files/srecon18americas_slides_virji.pdf", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/dealing-with-interrupts/", "titulek": "Google SRE - Book for interrupt handling in site reliability", "h1": "29. Dealing with Interrupts", "popis": "Interrupt handling & interrupt management in SRE, effective strategies to reduce distractions, maintain focus, and maximize productivity for sre enablement.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/dealing-with-interrupts/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/dealing-with-interrupts/"}, "headline": "29. Dealing with Interrupts", "description": "Read Dealing with Interrupts from the SRE Book.", "image": "https://lh3.googleusercontent.com/JWYrcP_YveA9BSzeg2s9kMpIjUU5Gu2Ax4w_Fs_38tkqtz-qSEF0gJxiUEuQ31e-w85Gb37i055iw_Hm7xePfA6zrNS8uFUEfCIMwgGEcwn4KUGSFQ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "29. Dealing with Interrupts"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **29.** Dealing with Interrupts\n\nRead [Dealing with Interrupts](/sre-book/dealing-with-interrupts/) from the SRE Book.\n\n## Publications\n\n[Interrupt Reduction Projects](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45764.pdf)", "znaku_textu": 249, "slov": 19, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:48", "sha256": "61d10e8857f18f250986de0818c2ee814eb07166ca629464bb6713c4f80ac416", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45764.pdf", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/distributed-consensus/", "titulek": "Google SRE - Distributed Consensus for Reliability", "h1": "23. Managing Critical State: Distributed Consensus for Reliability", "popis": "Google SRE manages critical state with distributed consensus for reliability. E-books, workshops, and videos on distributed consensus algorithms.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/distributed-consensus/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/distributed-consensus/"}, "headline": "23. Managing Critical State: Distributed Consensus for Reliability", "description": "Read Managing Critical State: Distributed Consensus for Reliability from the SRE Book.", "image": "https://lh3.googleusercontent.com/dCR4YyKo3I95FEN5-Mzn13OlbkEWN89MaJgts43a_Gl9wCNBxdSyk34pF9f4NeZYE3NaljG13n-VTwGOMXf7nokZEyJ5D4J23eDKUiBkbXLCpEMc54M", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "23. Managing Critical State: Distributed Consensus for Reliability"}], "markdown": "# **23.** Managing Critical State: Distributed Consensus for Reliability\n\nRead [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/) from the SRE Book.", "znaku_textu": 191, "slov": 23, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:42", "sha256": "a42cc12c2446a1f8bbaa017ce719cc2b8eb6b6d858ebaa5307c3c84bb1d6e0e6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/multi-single-tenant-architectures-in-cloud/", "https://cloud.google.com/blog/products/devops-sre/join-sre-classroom-nalsd-workshops", "https://www.usenix.org/conference/srecon20americas/presentation/ludtke", "https://www.usenix.org/conference/srecon17asia/program/presentation/nolan", "https://www.youtube.com/watch?v=d7nAGI_NZPk", "https://www.usenix.org/conference/srecon19americas/presentation/thomas", "https://www.usenix.org/conference/srecon17europe/program/presentation/sheerin", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/distributed-periodic-scheduling-with-cron/", "titulek": "Google SRE book - Distributed scheduling with cron", "h1": "24. Distributed Periodic Scheduling with Cron", "popis": "Explores the challenges of periodic scheduling in distributed systems and how to effectively implement cron scheduling at scale to avoid common pitfalls.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/distributed-periodic-scheduling-with-cron/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/distributed-periodic-scheduling-with-cron/"}, "headline": "24. Distributed Periodic Scheduling with Cron", "description": "Read Distributed Periodic Scheduling with Cron from the SRE Book.", "image": "https://lh3.googleusercontent.com/2ZWMSKWPmECYznfwiyMGec-53PnuiReBMeAfWorrjjzsRog-Ms60vbE5kimL1IzYA3RbRiZmlX_xHqJmEI3fH8w0IgqpLxBHME8NBiqeHiWdWKnDCeKb", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "24. Distributed Periodic Scheduling with Cron"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **24.** Distributed Periodic Scheduling with Cron\n\nRead [Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/) from the SRE Book.\n\n## Publications\n\n[Reliable Cron Across the Planet](https://queue.acm.org/detail.cfm?id=2745840)", "znaku_textu": 250, "slov": 25, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:43", "sha256": "4611661d04302f07b170ee627e4ec643d176057aae9288b12868791ce349c9b6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://queue.acm.org/detail.cfm?id=2745840", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/effective-troubleshooting/", "titulek": "Google SRE - Read about effective sre troubleshooting methods", "h1": "12. Effective Troubleshooting", "popis": "Effective troubleshooting SRE book: Learn SRE troubleshooting, debugging strategies and a structured troubleshooting methodology to resolve incidents efficiently.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/effective-troubleshooting/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/effective-troubleshooting/"}, "headline": "12. Effective Troubleshooting", "description": "Read Effective Troubleshooting from the SRE Book.", "image": "https://lh3.googleusercontent.com/fa3pDldm5vMYARFSY_UnyKNCrOX8_-4amWFLOg9ReA4MFa1mPiu0nFo-g1GNQTwV6TRea3vskyLcv8mf6Zaexffq15dhVNWIJk0dkGV6kC6DSCGKbA", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "12. Effective Troubleshooting"}], "markdown": "# **12.** Effective Troubleshooting\n\nRead [Effective Troubleshooting](/sre-book/effective-troubleshooting/) from the SRE Book.", "znaku_textu": 119, "slov": 12, "odkazu": 48, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:31", "sha256": "d013511ac824e63a3cb4bb168af0e44a7a8db564556b899064c587350c90ac6b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/devops-sre/keeping-your-functions-functioning-with-monitoring-logging-and-error-reporting", "https://cloud.google.com/blog/products/gcp/troubleshooting-tips-how-to-talk-so-your-cloud-provider-will-listen-and-understand", "https://cloud.google.com/blog/products/gcp/troubleshooting-tips-help-your-cloud-provider-help-you", "https://www.usenix.org/conference/srecon19asia/presentation/sheerin", "https://www.usenix.org/conference/srecon18americas/presentation/fong-jones", "https://www.usenix.org/conference/srecon17americas/program/presentation/reilly", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/eliminating-toil/", "titulek": "Google SRE - Eliminating toil with SRE principles", "h1": "5. Eliminating Toil", "popis": "Practical guide on automating tasks & improving efficiency, principles to effectively eliminate sre toil and reduce burden of repetitive operational work.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/eliminating-toil/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/eliminating-toil/"}, "headline": "5. Eliminating Toil", "description": "Read Eliminating Toil from the SRE Book.", "image": "https://lh3.googleusercontent.com/IupXgAt-WK9J5yOx-WWZhP356nYQM5jf71tpXPnMbUVWXi8pbcdOYjdJeLLWztX_jv6HC92U41YH_QZ34hM8B1eSh08AWLr6KsOmrcTFTxw17VGHgH8", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "5. Eliminating Toil"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **5.** Eliminating Toil\n\nRead [Eliminating Toil](/sre-book/eliminating-toil/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 6 - Eliminating Toil](/sre-book/eliminating-toil/)\n\n[Invent More, Toil Less](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45765.pdf)\n\n## Talks/Videos\n\n[Pragmatic Automation (SREcon 2019)](https://www.usenix.org/conference/srecon19americas/presentation/luebbe)\n\n[Toil and Toil Budgets](https://www.youtube.com/watch?v=IvQ-15-yE_c)", "znaku_textu": 485, "slov": 36, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:24", "sha256": "2008cf5282a527b775a1ed54fed3374326b23ea90474d0237b14a55b0c303bb9", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45765.pdf", "https://www.usenix.org/conference/srecon19americas/presentation/luebbe", "https://www.youtube.com/watch?v=IvQ-15-yE_c", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/embedding-an-sre-to-recover-from-operational-overload/", "titulek": "Google SRE - Embedding SRE to tackle operational overload", "h1": "30. Embedding an SRE to Recover from Operational Overload", "popis": "Embedding SRE to recover from operational overload. Improve operational efficiency and reduce overload recovery time by leveraging the power of embedded SREs.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/embedding-an-sre-to-recover-from-operational-overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/embedding-an-sre-to-recover-from-operational-overload/"}, "headline": "30. Embedding an SRE to Recover from Operational Overload", "description": "Read Embedding an SRE to Recover from Operational Overload from the SRE Book.", "image": "https://lh3.googleusercontent.com/2LT_D13uVCXfh9Zt6meU5Fn89sjM0_SigcmO-xGHDicVVCnyINa2968FyrT5zgAEwh5hx2fjFaKYXaZuWDp08JdY9wPyvzawWyZmAAugVt5BuP4AFA", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "30. Embedding an SRE to Recover from Operational Overload"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **30.** Embedding an SRE to Recover from Operational Overload\n\nRead [Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 17 - Identifying and Recovering from Overload](/workbook/overload/)", "znaku_textu": 273, "slov": 34, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:49", "sha256": "7e5ec073188dbd1d7da973ee847f2bb585ab3004c7cd8aad3cac1f14c1cb4e45", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/embracing-risk/", "titulek": "Google SRE - Risk mitigation system, prioritize & communicate risks", "h1": "3. Embracing Risk", "popis": "Effective risk mitigation in reliability: Explore reliability risk management strategies, including how to prioritize and communicate risks for resilient systems.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/embracing-risk/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/embracing-risk/"}, "headline": "3. Embracing Risk", "description": "Read Embracing Risk from the SRE Book.", "image": "https://lh3.googleusercontent.com/_cj188L3pCpuWVQk61psJtlYZRAkAshogP2wloB8mrsDIEM8L-M-lBSshHFDk7BfbubpYI2klH05jn1QGUQ9JhhN9KDHIbfa9-7AuF_BfprTYYVYsQ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "3. Embracing Risk"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **3.** Embracing Risk\n\nRead [Embracing Risk](/sre-book/embracing-risk/) from the SRE Book.\n\n## Publications\n\n[Know thy enemy: How to prioritize and communicate risks](https://cloud.google.com/blog/products/gcp/know-thy-enemy-how-to-prioritize-and-communicate-risks-cre-life-lessons)", "znaku_textu": 273, "slov": 33, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:22", "sha256": "b884263f9db8eca5f76015394117f7e15b25049b50f1f7a072679785f5fc74e3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/know-thy-enemy-how-to-prioritize-and-communicate-risks-cre-life-lessons", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/emergency-response/", "titulek": "Google SRE incident response - Debugging distributed systems", "h1": "13. Emergency Response", "popis": "Debugging distributed systems for SREs: Explore best practices for distributed debugging and SRE incident response to ensure reliability and minimize downtime.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/emergency-response/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/emergency-response/"}, "headline": "13. Emergency Response", "description": "Read Emergency Response from the SRE Book.", "image": "https://lh3.googleusercontent.com/H8wTF5q2991FhyqIm3gxGjNqxk-1CTIgGcvesW4TpmkboP-IBj8I3Vx013tda-j_UjmyogD0KhfKzHJV_eayYd3egsI5ZRQ1Df-Wznq8-8RrKpnya1a0", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "13. Emergency Response"}], "markdown": "# **13.** Emergency Response\n\nRead [Emergency Response](/sre-book/emergency-response/) from the SRE Book.", "znaku_textu": 98, "slov": 12, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:32", "sha256": "312f1701b34c6ad2f45390e682985ed25092b19692f85f9186c765ff03afec7e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://queue.acm.org/detail.cfm?id=3404974", "https://www.usenix.org/conference/srecon19emea/presentation/czapinski", "https://www.usenix.org/conference/srecon18americas/presentation/brown", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/handling-overload/", "titulek": "Google SRE: SRE approach to handling traffic load balancing", "h1": "21. Handling Overload", "popis": "Managing Load: Handle system overload by leveraging data center load balancer and implementing load shedding software to survive success disaster.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/handling-overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/handling-overload/"}, "headline": "21. Handling Overload", "description": "Read Handling Overload from the SRE Book.", "image": "https://lh3.googleusercontent.com/vvXK23Sa63yaByqTDQKhtUPNXxzqqXbeNW1tNeBH6Ys9aG9yCeHYWmVzJw7fYH7Qz0Ryn4806M-ygrPSf0lHAla9oNe5xKsuVq_vluJWV50CJbwPLbXn", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "21. Handling Overload"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **21.** Handling Overload\n\nRead [Handling Overload](/sre-book/handling-overload/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 11 - Managing Load](/workbook/managing-load/)\n\n[Using load shedding to survive a success disaster](https://cloud.google.com/blog/products/gcp/using-load-shedding-to-survive-a-success-disaster-cre-life-lessons)\n\n## Talks/Videos\n\n[Load-Shedding: Overview of Different Methodologies](https://www.usenix.org/conference/srecon17europe/program/presentation/cruz)", "znaku_textu": 482, "slov": 45, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:40", "sha256": "f6455b28a6457cd6446ea5a0068a63f7c7124610f66f85c05e8ccb67e2a61ac7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/using-load-shedding-to-survive-a-success-disaster-cre-life-lessons", "https://www.usenix.org/conference/srecon17europe/program/presentation/cruz", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/lessons-learned-from-other-industries/", "titulek": "Google SRE - Site reliability lessons from other industries", "h1": "33. Lessons Learned from Other Industries", "popis": "Get insights of sre principles from high-reliability industries, discover common anti patterns and best practices for building resilient systems.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/lessons-learned-from-other-industries/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/lessons-learned-from-other-industries/"}, "headline": "33. Lessons Learned from Other Industries", "description": "Read Lessons Learned from Other Industries from the SRE Book.", "image": "https://lh3.googleusercontent.com/_giGCJyHGdbBFwtH8LJHvUu0y2NwDag9pTwh4JSEeHpo4n0MgLKrYG3RQGNF0Y60hgLY5fqnaC07KpstccUkXY2M7_9KJTFSZT49XnEez1V1Uzfk4fs", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "33. Lessons Learned from Other Industries"}], "markdown": "# **33.** Lessons Learned from Other Industries\n\nRead [Lessons Learned from Other Industries](/sre-book/lessons-learned/) from the SRE Book.", "znaku_textu": 133, "slov": 18, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:16", "sha256": "b89f511bb728f5c9ae31af67c7fc46eefc2d129ba5030f880c3161e74e69f236", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.youtube.com/watch?v=51_ITZcoVu8", "https://www.usenix.org/conference/srecon21/presentation/krax", "https://www.usenix.org/conference/srecon18europe/presentation/fong-jones", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/load-balancing-at-the-frontend/", "titulek": "Google SRE - SRE book for load balancing front end", "h1": "19. Load Balancing at the Frontend", "popis": "A front end load balancer ensures high availability and performance. know the best practices for selecting and configuring load balancer software.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/load-balancing-at-the-frontend/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/load-balancing-at-the-frontend/"}, "headline": "19. Load Balancing at the Frontend", "description": "Read Load Balancing at the Frontend from the SRE Book.", "image": "https://lh3.googleusercontent.com/-edV5-pwv2WZMe0gOEAXE2eRes8jyxm_xKGLs4rvjUunJyIuiD70nO5MChAW4FTdy4JdDusbU2dHyW4C50hX20cs5w8vqWQtvQHWRxLP7lmro4wPnt8", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "19. Load Balancing at the Frontend"}], "markdown": "# **19.** Load Balancing at the Frontend\n\nRead [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/) from the SRE Book.", "znaku_textu": 127, "slov": 19, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:38", "sha256": "69e3e58bd434c5bda1c415a3cf5269cc152ebb797c7a3256d73345d47e396f57", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://research.google/pubs/pub44824/", "https://cloud.google.com/blog/products/gcp/repairing-network-hardware-at-scale-with-sre-principles", "https://www.usenix.org/conference/srecon19americas/presentation/nolan-loadbalancing", "https://www.usenix.org/conference/srecon18asia/presentation/goh", "https://www.usenix.org/conference/srecon18asia/presentation/plenz", "https://www.usenix.org/conference/srecon18asia/presentation/johnson", "https://www.usenix.org/conference/srecon17europe/program/presentation/suriar-anycast", "https://www.usenix.org/conference/srecon16/program/presentation/visser", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/load-balancing-in-the-datacenter/", "titulek": "Google SRE book update - Reliable datacenter load balancing", "h1": "20. Load Balancing in the Datacenter", "popis": "Implement data center load balancing strategies for optimal system performance & reliability, Improve load balancing using modernize load balancing techniques.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/load-balancing-in-the-datacenter/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/load-balancing-in-the-datacenter/"}, "headline": "20. Load Balancing in the Datacenter", "description": "Read Load Balancing in the Datacenter from the SRE Book.", "image": "https://lh3.googleusercontent.com/971Dh11n8URvoS8MCf5ir7B74H5FDUXuHU72un4dkDetZuHQtNtd2mGw77H5g3dvfBS_D1oBEr54AWTc61ibzAw-vKlh6y01zO49SH0y-kVMCoAZtNw", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "20. Load Balancing in the Datacenter"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **20.** Load Balancing in the Datacenter\n\nRead [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 11 - Managing Load](/workbook/managing-load/)\n\n[Repairing network hardware at scale with SRE principles](https://cloud.google.com/blog/products/gcp/repairing-network-hardware-at-scale-with-sre-principles)\n\n## Talks/Videos\n\n[Help Protect Your Data Centers with Safety Constraints](https://www.usenix.org/conference/srecon18americas/presentation/schulman)", "znaku_textu": 517, "slov": 51, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:39", "sha256": "0a9638e951c23f7107ec88e66d383b0c6fa8e0b96c09d0f701a7c19f8cf8b17b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/repairing-network-hardware-at-scale-with-sre-principles", "https://www.usenix.org/conference/srecon18americas/presentation/schulman", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/managing-incidents/", "titulek": "Google SRE - Incident management sre | Incident Metrics", "h1": "14. Managing Incidents", "popis": "Learn key incident metrics in sre and strategies used for incident management at google, minimizing the impact of production incidents using SRE principles.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/managing-incidents/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/managing-incidents/"}, "headline": "14. Managing Incidents", "description": "Read Managing Incidents from the SRE Book.", "image": "https://lh3.googleusercontent.com/AnmyMdVKw_QOKLZryN8XnxwvuYDc8eu4i8S_p-ooyIyU9aouulyyzEaZW8c6j5yNckQlxO4CxMJM0zUTdLdHH3EOk09zzHv2VhgByXW_FntjXJmZoMQ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "14. Managing Incidents"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **14.** Managing Incidents\n\nRead [Managing Incidents](/sre-book/managing-incidents/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 9 - Incident Response](/workbook/incident-response/)\n\n[Generic mitigations: A philosophy of duct-tape outage resolution by Jennifer Mace](https://www.oreilly.com/content/generic-mitigations/)\n\n[Incident Metrics in SRE](https://www.oreilly.com/library/view/incident-metrics-in/9781098103163/)\n\n[Taming Choas: Preparing for Your Next Incident](https://www.oreilly.com/content/taming-chaos-preparing-for-your-next-incident/)\n\n[Shrinking the impact of production incidents using SRE principles](https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons)\n\n[Shrinking the time to mitigate production incidents](https://strategicfocus.com/2019/12/05/shrinking-the-time-to-mitigate-production-incidents-cre-life-lessons/)\n\n[How Lowe’s SRE reduced its mean time to recovery (MTTR) by over 80 percent](https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre)\n\n[Adventures in SRE-land: Incident management at Google](https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land)\n\n## Talks/Videos\n\n[Managing Misfortune for Best Results](https://www.usenix.org/conference/srecon18europe/presentation/barry)", "znaku_textu": 1376, "slov": 132, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:33", "sha256": "f7dba0a42356a540e1bcaf12a5ea3b00ba0b46a05ccf4419b3e57a4323640f34", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/generic-mitigations/", "https://www.oreilly.com/library/view/incident-metrics-in/9781098103163/", "https://www.oreilly.com/content/taming-chaos-preparing-for-your-next-incident/", "https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons", "https://strategicfocus.com/2019/12/05/shrinking-the-time-to-mitigate-production-incidents-cre-life-lessons/", "https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre", "https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land", "https://www.usenix.org/conference/srecon18europe/presentation/barry", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/monitoring-distributed-systems/", "titulek": "Google SRE book - reliable monitoring distributed systems", "h1": "6. Monitoring Distributed Systems", "popis": "Monitoring distributed systems, gain valuable insights into google sre monitoring strategies from a leading distributed systems observability book.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/monitoring-distributed-systems/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/monitoring-distributed-systems/"}, "headline": "6. Monitoring Distributed Systems", "description": "Read Monitoring Distributed Systems from the SRE Book.", "image": "https://lh3.googleusercontent.com/I0bfDmMz2ylPWQ0nwv_0ApNTdHUKPQJ6Zo9xOc1ugjMMqUH5-UEl3UfSkToqS3GrJknxAtuxkqIbBvEHj8P6vKoy8Ej67lR9N9waVqFd7Xp82NlOZVEG", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "6. Monitoring Distributed Systems"}], "markdown": "# **6.** Monitoring Distributed Systems\n\nRead [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/) from the SRE Book.", "znaku_textu": 133, "slov": 15, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:25", "sha256": "887f61a8c2f2a4166e695e4ab8907fc90135b3db7afa5f10751c290210cdfd18", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/available-or-not-that-is-the-question-cre-life-lessons", "https://medium.com/google-cloud/setting-up-cloud-operations-for-gke-a21b49979693", "https://medium.com/google-cloud-jp/sre-slo-d7c6aee1fb0e", "https://www.youtube.com/watch?v=2mw12B7W7RI", "https://www.usenix.org/conference/srecon17americas/program/presentation/wilkinson", "https://www.usenix.org/conference/srecon16europe/program/presentation/kirsch", "https://www.coursera.org/learn/logging-monitoring-observability-google-cloud", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/postmortem-culture/", "titulek": "Google SRE- Postmortem Culture Book: Train from Failure", "h1": "15. Postmortem Culture: Learning from Failure", "popis": "Postmortem Culture: Learning from Failure - book. Gain insights and learn from failures, for a culture of continuous improvement and resilience.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/postmortem-culture/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/postmortem-culture/"}, "headline": "15. Postmortem Culture: Learning from Failure", "description": "Read Postmortem Culture: Learning from Failure from the SRE Book.", "image": "https://lh3.googleusercontent.com/AP1PxF1qUThIl3S15tIuJU4AGn3RR5rBsvQUy5iCFoS6YqXUt-Z3Z29r1l1C11ewS562zZxaEh1nHrBfCkwbzu5HMot8a29pLPOX7KZhL8vXZwbzBpM", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "15. Postmortem Culture: Learning from Failure"}], "markdown": "# **15.** Postmortem Culture: Learning from Failure\n\nRead [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/) from the SRE Book.", "znaku_textu": 144, "slov": 18, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:34", "sha256": "f5cccf0f18d786ff901a7a3586f5d3f93f4b048c062330224bfeddc62a7dfd03", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://storage.googleapis.com/pub-tools-public-publication-data/pdf/3eeb4c1d9073ca5910e49f5252cb3cf648487ac2.pdf", "https://cloud.google.com/blog/products/gcp/fearless-shared-postmortems-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/getting-the-most-out-of-shared-postmortems-cre-life-lessons", "https://www.eficode.com/blog/blameless-postmortem-culture", "https://www.conf42.com/Chaos_Engineering_2021_Pranjal_Deo_postmortem_culture_blameless", "https://www.usenix.org/conference/srecon17americas/program/presentation/lueder", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/practical-alerting/", "titulek": "Google SRE - Practical alerting and sre observability guide", "h1": "10. Practical Alerting", "popis": "Google sre alerting for improved sre observability. understand how to design and implement effective alert systems that provides valuable insights.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/practical-alerting/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/practical-alerting/"}, "headline": "10. Practical Alerting", "description": "Read Practical Alerting from the SRE Book.", "image": "https://lh3.googleusercontent.com/u28XTz_U9ExfFOQt8yHsMHS62Pows8FQczYUYza_AvPok8xxa1vApOXz_M4lGKGUKsZVXxParovd-tpSpAs-45DaBvPMVq8ZCNHeDitmFHYUG9hhMg", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "10. Practical Alerting"}], "markdown": "# **10.** Practical Alerting\n\nRead [Practical Alerting](/sre-book/practical-alerting/) from the SRE Book.", "znaku_textu": 98, "slov": 12, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:29", "sha256": "a258b4555c76f369300351ed2d52f35c841062d192d011c8fa33431e5a8c5e46", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/reduce-toil-through-better-alerting/", "https://www.usenix.org/conference/srecon21/presentation/panel-observability", "https://cloud.google.com/blog/products/devops-sre/welcome-to-the-museum-of-modern-borgmon-art", "https://www.usenix.org/conference/srecon19asia/presentation/krabbe", "https://www.usenix.org/conference/srecon19asia/presentation/zhang", "https://www.usenix.org/conference/srecon18asia/presentation/wilkinson", "https://www.usenix.org/conference/srecon16europe/program/presentation/murphy", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/production-environment/", "titulek": "Google SRE - Production environment best practices", "h1": "2. The Production Environment at Google, from the Viewpoint of an SRE", "popis": "Explore aspects of managing production environment, learn best practices for operating in google datacenters and maintaining a reliable sre environment.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/production-environment/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/production-environment/"}, "headline": "2. The Production Environment at Google, from the Viewpoint of an SRE", "description": "Read The Production Environment at Google, from the Viewpoint of an SRE from the SRE Book.", "image": "https://lh3.googleusercontent.com/icLAZTZykHTNrmMP1YdTCb2B4zjdRDZIWeJ_L8bhBqatHH5I_CQdaOJtWmA3Qn4aLUXclX3W3NB3GcBID9xXkDcpi3eZ0Z22DF73moq96SeVLEwKB1qZ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "2. The Production Environment at Google, from the Viewpoint of an SRE"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **2.** The Production Environment at Google, from the Viewpoint of an SRE\n\nRead [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/) from the SRE Book.\n\n## Talks/Videos\n\n[Google's Production Environment Tech Talk (video)](https://www.youtube.com/watch?v=dhTVVWzpc4Q)", "znaku_textu": 308, "slov": 37, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:23", "sha256": "cd1143d7c8d289147e31d8ff8a23d2f19993672d7e5bf56751a09aefc6b87f85", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.youtube.com/watch?v=dhTVVWzpc4Q", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/release-engineering/", "titulek": "Google SRE - An ultimate book for Release engineering", "h1": "8. Release Engineering", "popis": "Learn about the crucial role of release engineer, this SRE book highlights key release engineer skills and best practices for designing release engineers.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/release-engineering/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/release-engineering/"}, "headline": "8. Release Engineering", "description": "Read Release Engineering from the SRE Book.", "image": "https://lh3.googleusercontent.com/v68Z-vtpH9DVq9rpVbDBzPjbKBm8LzWM1XgwDj23qZnl6KrDF51ME_YvVHQ4WzBFDzU9_2irYuRBGk0HBBd8I6FxHSGaYLRvB5zj0u9XP0nRfckL5A", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "8. Release Engineering"}], "markdown": "# **8.** Release Engineering\n\nRead [Release Engineering](/sre-book/release-engineering/) from the SRE Book.", "znaku_textu": 100, "slov": 12, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:27", "sha256": "3147b61e048f1ebb5e74c5670a2e180440c65717db23c4469b7a312accf2f5e0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality", "https://storage.googleapis.com/pub-tools-public-publication-data/pdf/24017e52c907294589604a29a86f158828eda078.pdf", "https://www.usenix.org/conference/srecon18europe/presentation/davidovic", "https://cloud.google.com/blog/products/gcp/reliable-releases-and-rollbacks-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/how-release-canaries-can-save-your-bacon-cre-life-lessons", "https://www.usenix.org/conference/srecon17europe/program/presentation/tobin", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/reliable-product-launches-at-scale/", "titulek": "Google SRE - Reliable product launch guide for success", "h1": "27. Reliable Product Launches at Scale", "popis": "Streamline your product launch process for reliable releases at scale. This essential resource guides launch engineers on achieving successful product launches.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/reliable-product-launches-at-scale/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/reliable-product-launches-at-scale/"}, "headline": "27. Reliable Product Launches at Scale", "description": "Read Reliable Product Launches at Scale from the SRE Book.", "image": "https://lh3.googleusercontent.com/tIgsV-yQf-hVH8KRJrRg8nnQGMShJSV5hRA_DuDbALsvtInUUSEfmj1N--Gfx_nnzKLeS2kCxH5ZHH_HTC8icKYAszqabvkSJPPO81z9w-UHdzyRjyc", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "27. Reliable Product Launches at Scale"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **27.** Reliable Product Launches at Scale\n\nRead [Reliable Product Launches at Scale](/sre-book/reliable-product-launches/) from the SRE Book.\n\n## Talks/Videos\n\n[Reliable Launches at Scale](https://www.usenix.org/conference/srecon17asia/program/presentation/kirsch)", "znaku_textu": 256, "slov": 24, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:46", "sha256": "7a66fdf7990b6da076fd7276c19a824b917636c4d1b926a2cd002f69c72c8763", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon17asia/program/presentation/kirsch", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/simplicity/", "titulek": "Google SRE - Importance of simple system in SRE book", "h1": "9. Simplicity", "popis": "Designing simple systems: Learn various strategies for reducing system complexity & measuring complexity to design and take operational decisions.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/simplicity/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/simplicity/"}, "headline": "9. Simplicity", "description": "Read Simplicity from the SRE Book.", "image": "https://lh3.googleusercontent.com/bW4drnj8iBT44T81wnSDUlbx4ixBYHpRXKZWzPcjDq9bTG-znC9XVRk8447Tk5aWQL04yFNsryMMN0vLSW0Xk1TQxbDADQ1i67UgoSmZIQwkCQtqYcYR", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "9. Simplicity"}], "markdown": "# **9.** Simplicity\n\nRead [Simplicity](/sre-book/simplicity/) from the SRE Book.", "znaku_textu": 73, "slov": 9, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:28", "sha256": "6997fd2a984bbee9965454bb50e5d29668e020a22e847d1c4f851fba5bc0569d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon18europe/presentation/deprez", "https://www.usenix.org/conference/srecon17europe/program/presentation/reilly", "https://www.usenix.org/conference/srecon16europe/program/presentation/fong-jones-projects", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/slos/", "titulek": "Google SRE - Implementing service level objectives pdf", "h1": "4. Service Level Objectives", "popis": "Learn about Google SRE book slo. Understand ", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/slos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/slos/"}, "headline": "4. Service Level Objectives", "description": "Read Service Level Objectives from the SRE Book.", "image": "https://lh3.googleusercontent.com/JYPSrPhk4yB9QEr_bABwSEf5YP60qdCTGsLFfumNrWbKH8YF_LmQQLQk3gxUrKglLHI4BL_KshtvdM-VllC_7ySVvEr1FG9fAf4idXqrQ3WChDlO65UZ", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "4. Service Level Objectives"}, {"uroven": 2, "text": "Publications"}, {"uroven": 2, "text": "Talks/Videos"}, {"uroven": 2, "text": "Workshops"}], "markdown": "# **4.** Service Level Objectives\n\nRead [Service Level Objectives](/sre-book/service-level-objectives/) from the SRE Book.\n\n## Publications\n\n[SRE Workbook: Chapter 2 - Implementing SLOs](/workbook/implementing-slos/)\n\n[SRE Workbook: Chapter 3 - SLO Engineering Case Studies](/workbook/slo-engineering-case-studies/)\n\n[SRE Workbook: Chapter 5 - Alerting on SLOs](/workbook/alerting-on-slos/)\n\n[SLO Adoption and Usage in SRE](/resources/)\n\n[The Calculus of Service Availability](https://storage.googleapis.com/pub-tools-public-publication-data/pdf/1eaece8509a9596255024b293cf0cba76ebd5534.pdf)\n\n[SLOs, SLIs, SLAs, oh my](https://cloud.google.com/blog/products/devops-sre/availability-part-deux-cre-life-lessons)\n\n[Building good SLOs](https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons)\n\n[Consequences of SLO violations](https://cloud.google.com/blog/products/gcp/consequences-of-slo-violations-cre-life-lessons)\n\n[Defining SLOs for services with dependencies](https://cloud.google.com/blog/products/devops-sre/defining-slos-for-services-with-dependencies-cre-life-lessons)\n\n[Tune up your SLI metrics](https://cloud.google.com/blog/products/management-tools/tune-up-your-sli-metrics-cre-life-lessons)\n\n[Learning—and teaching—the art of service-level objectives](https://cloud.google.com/blog/products/management-tools/learn-how-to-set-slos-for-an-sre-or-cre-practice)\n\n[SRE fundamentals 2021: SLIs vs SLAs vs SLOs](https://cloud.google.com/blog/products/devops-sre/sre-fundamentals-sli-vs-slo-vs-sla)\n\n[Cloud Architecture Center: Adopting SLOs](https://cloud.google.com/architecture/adopting-slos)\n\n[Cloud Architecture Center: Defining SLOs](https://cloud.google.com/architecture/adopting-slos)\n\n## Talks/Videos\n\n[Enterprise Roadmap to SRE](https://www.oreilly.com/library/view/enterprise-roadmap-to/9781098117740/)\n\n[Training SREs: What Your Organization Needs to Create a Learning Program](/resources/)\n\n[Adventures in SRE-land: Welcome to Google Mission Control](https://cloud.google.com/blog/products/gcp/adventures-in-sre-land-welcome-to-google-mission-control)\n\n[SRE: Using Error Budgets to Prioritize Work](https://www.youtube.com/watch?v=gWTUX6FLCfs)\n\n## Workshops\n\n[The Art of SLOs](/resources/practices-and-processes/art-of-slos/)\n\n[Identifying and Resolving Application Latency for Site Reliability Engineers](https://www.qwiklabs.com/)", "znaku_textu": 2330, "slov": 220, "odkazu": 58, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:21", "sha256": "121287205b9b6f79268516d55e763388f0be7a180ceb852683db30032dec83c0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://storage.googleapis.com/pub-tools-public-publication-data/pdf/1eaece8509a9596255024b293cf0cba76ebd5534.pdf", "https://cloud.google.com/blog/products/devops-sre/availability-part-deux-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/building-good-slos-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/consequences-of-slo-violations-cre-life-lessons", "https://cloud.google.com/blog/products/devops-sre/defining-slos-for-services-with-dependencies-cre-life-lessons", "https://cloud.google.com/blog/products/management-tools/tune-up-your-sli-metrics-cre-life-lessons", "https://cloud.google.com/blog/products/management-tools/learn-how-to-set-slos-for-an-sre-or-cre-practice", "https://cloud.google.com/blog/products/devops-sre/sre-fundamentals-sli-vs-slo-vs-sla", "https://cloud.google.com/architecture/adopting-slos", "https://www.oreilly.com/library/view/enterprise-roadmap-to/9781098117740/", "https://cloud.google.com/blog/products/gcp/adventures-in-sre-land-welcome-to-google-mission-control", "https://www.youtube.com/watch?v=gWTUX6FLCfs", "https://www.qwiklabs.com/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/software-engineering-in-sre/", "titulek": "Google SRE - Site reliability engineering books", "h1": "18. Software Engineering in SRE", "popis": "Master key concepts & best practices of sre software engineering for building reliable systems in this section of site reliability engineering books.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/software-engineering-in-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/software-engineering-in-sre/"}, "headline": "18. Software Engineering in SRE", "description": "Read Software Engineering in SRE from the SRE Book.", "image": "https://lh3.googleusercontent.com/KUy6Dv1IxfDxPaWPE-gCzGcTNg0Le2RRBd2ggmrUL9Lgy_Er-lrgAECP_9Ag6q1JfL6yEW4ENFsTrBkuaU5ePyga3m3KTeMJ73Wh5lxvnZsTVGtixDY", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "18. Software Engineering in SRE"}, {"uroven": 2, "text": "Publications"}], "markdown": "# **18.** Software Engineering in SRE\n\nRead [Software Engineering in SRE](/sre-book/software-engineering-in-sre/) from the SRE Book.\n\n## Publications\n\n[How to avoid a self-inflicted DDoS Attack](https://cloud.google.com/blog/products/gcp/how-to-avoid-a-self-inflicted-ddos-attack-cre-life-lessons)", "znaku_textu": 286, "slov": 37, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:37", "sha256": "99e5361b6841744284a034bc54b121fc03fd01e2efefb1c9b39fe0827398eac8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/how-to-avoid-a-self-inflicted-ddos-attack-cre-life-lessons", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/testing-for-reliability/", "titulek": "Google SRE - Reliability and life testing handbook", "h1": "17. Testing for Reliability", "popis": "Testing for reliability: Explore key concepts & best practices of what is dark launch (tool), for gaining insights on the practicalities of dark launching.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/testing-for-reliability/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/testing-for-reliability/"}, "headline": "17. Testing for Reliability", "description": "Read Testing for Reliability from the SRE Book.", "image": "https://lh3.googleusercontent.com/WuTKySR-0ceuhuWRNheCwFvh7d0KHUMOWOhzLIyFVbO12s-M0zrnFbYKYyfA1jr2vXN2J3DwZs425P7Mgx8NVSY5OUmdF3ugwg5f7xRhPXA7c8FLEbJC", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "17. Testing for Reliability"}], "markdown": "# **17.** Testing for Reliability\n\nRead [Testing for Reliability](/sre-book/testing-reliability/) from the SRE Book.", "znaku_textu": 109, "slov": 14, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:36", "sha256": "d485dc7d6128b77bdd9dfc78d8045d050e24e0ef107ade2ad8c8f5714e74270b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/cre-life-lessons-what-is-a-dark-launch-and-what-does-it-do-for-me", "https://cloud.google.com/blog/products/gcp/cre-life-lessons-practicalities-of-dark-launches", "https://cloud.google.com/blog/products/application-development/release-with-confidence-how-testing-and-cicd-can-keep-bugs-out-of-production", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/the-evolving-sre-engagement-model/", "titulek": "Google SRE - Handbook for evolving SRE engagement model", "h1": "32. The Evolving SRE Engagement Model", "popis": "Google SRE approach on how to refine the sre engagement model to foster effective collaboration and optimize the management of your sre services.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/the-evolving-sre-engagement-model/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/the-evolving-sre-engagement-model/"}, "headline": "32. The Evolving SRE Engagement Model", "description": "Read The Evolving SRE Engagement Model from the SRE Book.", "image": "https://lh3.googleusercontent.com/VrjzSMJFxUYX41X60RsN5oBg5OWmvcypxZHWOAWa89-om8Zt3o-tbrvJhRxXNkTGq8gJgeDhqCkbMhC1VekqADzVXU4J0aHyVvPds5zg2w_wVvZOZmhP", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "32. The Evolving SRE Engagement Model"}], "markdown": "# **32.** The Evolving SRE Engagement Model\n\nRead [The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/) from the SRE Book.", "znaku_textu": 139, "slov": 20, "odkazu": 48, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:51", "sha256": "494bc3e3fde76c747ee285de283d69c5190c5ef974bdfdecb7ae66f47765682b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/why-should-your-app-get-sre-support-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/how-sres-find-the-landmines-in-a-service-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/making-the-most-of-an-sre-service-takeover-cre-life-lessons", "https://www.usenix.org/conference/srecon17europe/program/presentation/suriar-early", "https://www.usenix.org/conference/srecon19emea/presentation/gleason", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/book-update/tracking-outages/", "titulek": "Google SRE - Tracking outages using outlator", "h1": "16. Tracking Outages", "popis": "Tracking outages in sre with outlator, discover how outalator helps find order in chaos, improving visibility and incident response in site reliability engineering.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/book-update/tracking-outages/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "https://sre.google/resources/book-update/tracking-outages/"}, "headline": "16. Tracking Outages", "description": "Read Tracking Outages from the SRE Book.", "image": "https://lh3.googleusercontent.com/lmKAeWjUZegAEY8jzRfuKAUr96Ps0AkcwU_zw45DJPDc7scnJeDpJF1DEPj1cDw_Td33_j8n4waHopBnlOCwq1_qaE_ifs0erdhmpdjocxYfAVEo4U0", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/KrcQam5qFi33OQKs7oELzbg4EPuCa3NDP-wJehsnlrwj7750WyQmyNva3iS2kApphd4eeRyOpPNlrrExZ5wNkdu36iNXUJhil8DwIGeFGSDeauC-vQ0"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "16. Tracking Outages"}, {"uroven": 2, "text": "Talks/Videos"}], "markdown": "# **16.** Tracking Outages\n\nRead [Tracking Outages](/sre-book/tracking-outages/) from the SRE Book.\n\n## Talks/Videos\n\n[Finding the Order in Chaos](https://www.usenix.org/conference/srecon16/program/presentation/lueder)", "znaku_textu": 207, "slov": 18, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:24:35", "sha256": "5411dfd8b8335c23a8c5ded2da804aa36dc70ce5044fad0144f676a3ff8bc4f7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon16/program/presentation/lueder", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/", "titulek": "https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/", "h1": "AI in SRE: How Google is Engineering the Future of Reliable Operations", "popis": "AI in SRE: How Google is Engineering the Future of Reliable Operations", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/ai-engineering-reliable-operations/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "AI in SRE: How Google is Engineering the Future of Reliable Operations"}, {"uroven": 3, "text": "Abstract"}, {"uroven": 3, "text": "Introduction"}, {"uroven": 3, "text": "Governing AI in Production Operations (AI-Ops)"}, {"uroven": 4, "text": "Key Challenges in Applying AI to Production Operations"}, {"uroven": 4, "text": "The Safety Trifecta"}, {"uroven": 3, "text": "SRE AI Autonomy Levels"}, {"uroven": 4, "text": "Progression and Appropriate Autonomy:"}, {"uroven": 3, "text": "Evaluation Data and Memory"}, {"uroven": 3, "text": "Generating Human Trajectories"}, {"uroven": 4, "text": "Ensuring AI Quality: The Evaluation Data Pipeline"}, {"uroven": 4, "text": "Continuous Nightly Evals and LLM-as-a-Judge"}, {"uroven": 4, "text": "Generating Golden Data"}, {"uroven": 3, "text": "AI Across the SRE Lifecycle"}, {"uroven": 4, "text": "Observing Production"}, {"uroven": 4, "text": "Case Study: Detectr"}, {"uroven": 4, "text": "Enriching Alerts"}, {"uroven": 3, "text": "L1: Human-Driven Mitigation"}, {"uroven": 4, "text": "Incident Hypothesis"}, {"uroven": 4, "text": "Investigation Dashboard"}, {"uroven": 4, "text": "Gemini-Powered CLI"}, {"uroven": 3, "text": "L3: Autonomous Mitigation"}, {"uroven": 4, "text": "Case Study: AI Operator"}, {"uroven": 5, "text": "Investigate & Mitigate"}, {"uroven": 4, "text": "Mitigation Safety Verification Agent"}, {"uroven": 3, "text": "Enabling Technologies for AI-Ops"}, {"uroven": 3, "text": "The Future of SRE: Scaling Oversight in an Agentic SDLC"}, {"uroven": 4, "text": "Scaling Human Oversight: Moving Up the Abstraction Ladder"}, {"uroven": 4, "text": "Rethinking Release: Adaptive Progressive Rollouts"}, {"uroven": 4, "text": "The Intervening Pull Request Problem and AI-Assisted Fix-Forward"}, {"uroven": 4, "text": "References"}], "markdown": "# AI in SRE: How Google is Engineering the Future of Reliable Operations\n\n**Author:** Ioannis Papapanagiotou, Stevan Malesevic, Chris Heiser & Ruslan Meshenberg\n\n### Abstract\n\nSite Reliability Engineering (SRE) is facing a paradigm shift driven by the rapid adoption of AI throughout the software development lifecycle (SDLC). As AI coding assistants dramatically accelerate code generation and deployment velocity—with organizations targeting up to a 4x increase in productivity—traditional, manual practices are becoming unsustainable. Human code review cannot scale linearly with machine-generated code volume, and standard operational responses are increasingly outpaced by the resulting system complexity. This paper presents Google's approach to reinventing SRE for the AI era. Rather than merely applying AI to automate conventional tasks, we detail how SRE is architecting a new foundation for reliability. By developing autonomous mitigation agents (AI Operator), strict execution guardrails (Actus), and continuous evaluation pipelines grounded in human operational memory (IRM Analyzer), Google is engineering the autonomous control planes required to safely govern high-velocity, agentic software development.\n\n### Introduction\n\nSite Reliability Engineering (SRE) was born at Google over two decades ago to manage the scale and complexity of our distributed systems. While the core philosophies of SLOs, error budgets, and toil reduction—detailed extensively in our [foundational SRE book series](https://sre.google/books/)—remain the industry standard, the operational landscape has reached a new inflection point.\n\nThe \"planetary scale\" of modern services, combined with the unpredictable workloads of multi-tenant platforms like Google Cloud, has created a level of complexity that traditional, deterministic automation can no longer fully address. Today, SREs operate in an environment where production mistakes are costly, the rate of change is accelerated by AI-assisted development, and observability gaps are filled with petabytes of unstructured data.\n\nTo meet these challenges, Google is integrating Artificial Intelligence (AI) not just as a tool, but as a transformative layer across the entire service lifecycle. By leveraging AI’s ability to process semantic signals, infer intent, and operate probabilistically, we are augmenting human expertise with intelligent systems capable of managing complexity. In this paper, we will examine the development of **autonomous agents** designed to handle complex on-call responsibilities and **intelligent command-line interfaces** that enable SREs to interact with production systems using natural language. We will also discuss **alert enrichment frameworks** that provide real-time context during incidents and the broader integration of **Large Language Models (LLMs)** into daily engineering workflows. Beyond the tools, we will address the governance and risk frameworks required for high-stakes production environments and reflect on how the SRE role is evolving in this AI-driven paradigm.\n\nTo address the challenges of this high-velocity agentic era, this paper details Google’s architectural and operational evolution. First, we establish the strict governance frameworks and Agentic Safety Guardrails required to securely bound AI behavior in production. Next, we explore the foundational evaluation pipelines—capturing human operational memory and leveraging continuous 'Nightly Evals'—that rigorously prove an agent's readiness. We then demonstrate how these principles are applied across the incident lifecycle, culminating in the deployment of reasoning engines (AI Operator) and physical execution control planes (Actus) for safe, autonomous mitigation. Finally, we project the future of SRE within an agentic SDLC, illustrating how human expertise must scale up the abstraction ladder from manual operations to architectural governance.\n\n### Governing AI in Production Operations (AI-Ops)\n\nWhile the potential benefits of AI in SRE are significant, deploying AI systems into Google's live production environments introduces unique and substantial risks that demand careful management. Mistakes in production are costly–unlike development sandboxes where failures are contained, an AI agent making an incorrect decision or taking a faulty action in production can lead to immediate and widespread service disruptions. The speed and scale at which AI can operate mean that the blast radius of a failure can be far larger and propagate far more quickly than with human operators.\n\n#### Key Challenges in Applying AI to Production Operations\n\nGoogle SRE has identified several key challenges in deploying AI technologies safely and effectively in production:\n\n- **Evolving Human Expertise: From Operator to Architect:** As AI assumes responsibility for low-level mitigation, attempting to artificially preserve unscalable manual intervention skills is counterproductive. Instead, SREs must move up the abstraction ladder, transitioning from direct incident responders to architects of AI safety. Future human expertise will focus on defining rigid system guardrails, curating \"Golden Data\" for evaluation, and governing autonomous agent behavior.\n- **Enhancing Explainability and Building Trust:** Rather than accepting AI models as opaque \"black boxes,\" SRE must enforce strict observability over agentic reasoning and execution. By exposing an agent's Chain of Thought (CoT) in real-time UIs and persisting deterministic actuation traces through control planes, every autonomous decision becomes fully auditable, debuggable, and subject to continuous evaluation.\n- **Ensuring Data Integrity and Mitigating Bias:** AI systems are heavily reliant on data. A significant challenge is ensuring the high quality, completeness, and impartiality of the training data and real-time input within Google's intricate production landscape to prevent skewed or harmful outcomes.\n- **Addressing Model Drift in Dynamic Environments:** Google's production systems are constantly evolving. A key challenge is designing AI systems that can adapt to these changes, ensuring models remain accurate and effective as system behaviors and patterns shift over time.\n- **Mitigating Security Vectors:** AI introduces novel security considerations. Challenges include developing defenses against adversarial attacks, data poisoning, and prompt injection that could manipulate AI behavior and compromise systems.\n- **Preventing Unintended Automation Consequences:** Ensuring AI systems, particularly those designed to react to anomalies, do not inadvertently amplify problems or trigger cascading failures. This is a challenge in Google's large-scale, interconnected systems, requiring careful design to prevent feedback loops and misinterpretations.\n\n#### The Safety Trifecta\n\nTo address these risks, Google SRE is pioneering an AI-Ops governance model built around a **\"Safety Trifecta\":**\n\n1. **Transparency:** AI actions and decisions must be observable and understandable. This means AI agents must log their \"chain of thought\"—the signals used, the hypotheses considered, the reasons for choosing a particular action, and the confidence level.\n2. **Real-time Risk Evaluation:** Every action proposed by an AI agent undergoes a risk assessment. This evaluation considers the current production context, such as ongoing deployments, error budget status, active incidents, and time of day. An action like draining a cell (removing an entry from the Load Balancer) might be low-risk under normal conditions but high-risk during a regional peak.\n3. **Progressive Authorization:** AI agents are not granted full production access from day one. We release agents to lower levels of autonomy (human approved) and scale up based on the SRE Autonomy Levels described below.\n\nTo support the Safety Trifecta and safely progress through the Autonomy Levels, SRE enforces strict architectural guardrails for any AI agent interacting with production:\n\n- **No Ambient Access & Least Privilege:** Agentic systems must not operate with the standing, human-like credentials of their developers, which poses a severe reliability risk (e.g., a single errant prompt bringing down global serving infrastructure). Agent identities must be distinct from human users, strongly authenticated, and granted access only on-demand with the necessary permissions.\n- **Agentic Circuit Breakers:** Systems must implement strict, agent-specific rate limits and automated circuit breakers to prevent runaway loops or excessive resource consumption. Any action performed by an agent must be highly interruptible.\n- **Mandatory Dry-Run Support:** Any system or API intended for agent interaction must support a declarative dry_run=true mode. This allows the agent, the safety framework, and human reviewers to accurately predict the outcome and blast radius of a proposed action before any production state is mutated.\n- **Zero-Trust, Safe-by-Default Actuation:** Agents must only interface with zero-trust tooling that possesses intrinsic, deterministic safety mechanisms. The underlying infrastructure tools must be incapable of single-handedly taking down production, regardless of who or what is calling them. For example, if an Investigation agent wants to drain a cell, it cannot directly execute a raw script; it must route the request through a delegated control plane (detailed later in this paper). Mitigation Agent deterministically verifies available capacity and enforces global rate limits. It does not care if the caller is an agent or a human; it simply ensures the action aligns with predefined safety principles before actuation occurs.\n\n### SRE AI Autonomy Levels\n\nAdopting AI in SRE is not a binary switch; it is a structured journey from standard human-operated tooling to fully autonomous systems. It involves progressing from human-operated systems to potentially more autonomous ones. To guide this evolution safely and effectively, we use a maturity model. The levels are defined by the degree of automation across key operational functions: Monitoring, Investigation, Approval, Actuation, and Self-Directed operations.\n\n| Action →\nLevel ↓ | Monitor | Investigate | Mitigate | Actuate | Self Direct |\n| --- | --- | --- | --- | --- | --- |\n| L0 - Manual | Automation | Human | Human | Human | Human |\n| L1 - Assisted | Automation | Automation | Human | Human | Human |\n| L2 - Partial | Automation | Automation | Human | Automation | Human |\n| L3 - High | Automation | Automation | Automation | Automation | Human |\n| L4 - Full | Automation | Automation | Automation | Automation | Automation |\n\nTable 1: Levels of Autonomy\n\nHere are five levels of increasing autonomy:\n\n**L0: Manual Execution:** All activities are human-driven. Humans must Investigate alerts, Approve any course of action, Actuate the changes, and handle any Multi-Step Resolution required.\n\n**L1: Assisted:** Automation extends to Monitoring and Investigation. The AI agent can analyze data and provide insights or suggestions (AI driven Incident Hypothesis), but a human is still required to Approve any action, manually Actuate it.\n\n**L2: Partial Autonomy (Human Approval):** Systems can Monitor, Investigate, and even Actuate changes. However, a human must explicitly Approve any plan before the system proceeds with an actuation. This state can happen either when a safety check fails or it is a state that is short-lived as a means to build trust in humans that safety nets are appropriate.\n\n**L3: High Autonomy:** Automation covers Monitoring, Investigation, Approval, and Actuation for specific, well-defined scenarios. The AI agent can independently detect, decide, and act without human approval for bounded actions, though humans are often notified. Humans still handle novel situations requiring Multi-Step Resolution. Safety relies heavily on technical controls and guardrails.\n\n**L4: Full Autonomy:** A system can:\n\n- Devise and execute a sequence of actions to diagnose, mitigate, and resolve incidents—especially those not covered by simple, linear playbooks.\n- Continuously monitor the impact of its interventions on the system's state and performance.\n- Adapt its strategy in real-time based on the observed outcomes. This includes the ability to attempt alternative mitigations if initial actions are ineffective, or to initiate rollbacks if an action has adverse effects.\n- Manage the entire incident lifecycle until the system is confirmed to be back in a stable and desired state, going beyond just the initial trigger and actuation.\n\n#### Progression and Appropriate Autonomy:\n\n- **L0 to L1 (Assisted):** Often gated by the mere existence and adoption of tools that can automate monitoring and investigation, providing insights to humans.\n- **L1 to L2 (Partial Autonomy):** Requires a higher level of confidence in the system's ability to reliably identify and propose correct actions, and the implementation of safe actuation pathways, even though a human still provides final approval.\n- **L2 to L3 (High Automation):** This is a critical step, gated by establishing trust and robust safety controls for the system to act autonomously for well-defined scenarios. This involves demonstrating high precision and reliability to overcome human hesitancy, as the system will be making changes without real-time human approval. The rigor here is substantially higher, proportional to the risk of unsupervised actions.\n- **L3 to L4 (Full Automation):** The transition is gated by the system's ability to perform \"Multi-Step Resolution,\" handling complex, dynamic situations beyond single, predefined actions, and managing them end-to-end.\n\n### Evaluation Data and Memory\n\nBefore AI agents can safely operate at higher levels of autonomy, they require a deep, structured understanding of production environments and rigorous frameworks for evaluation. At Google, this foundation is built on capturing human operational memory and translating it into high-quality evaluation datasets.\n\n### Generating Human Trajectories\n\nUnderstanding the step-by-step actions and decisions made by human responders during an incident is invaluable for learning and improving our incident management processes. This \"human trajectory\" is often fragmented across various unstructured sources like chat messages, incident notes, and command line entries. Manually reconstructing this timeline for analysis is time consuming and often incomplete.\n\nTo address this, we have built an AI-powered system that automatically parses and structures these disparate data sources. Leveraging Natural Language Processing, the system identifies key events, actions taken (e.g., \"drained cell xx\", \"restarted task y\"), tools used, and even hypotheses considered by the oncallers. This creates a rich, time-ordered sequence of events, effectively reconstructing the human response trajectory.\n\nThis structured timeline data is crucial for several reasons. It provides high-quality human trajectories for AI systems learning and Reinforcement Loop for our Agents. It also enables deeper analysis of incident response patterns to refine playbooks.\n\nFigure 1: IRM-Analyzer with timeline and human trajectories\n\n#### Ensuring AI Quality: The Evaluation Data Pipeline\n\nThe trajectories captured by IRM-Analyzer (IRMA) feed directly into our continuous evaluation pipelines. AI agent performance is constantly assessed against structured datasets categorized by quality:\n\n- **Bronze:** Heuristically generated by autolabelers.\n- **Silver:** Programmatically generated but mathematically calibrated for confidence against Gold data with a minimum quality threshold.\n- **Gold:** Verified by human experts.\n\nBecause evaluating an autonomous agent against imperfect Bronze data creates an \"accuracy gap,\" Google SRE uses stratified sampling to continuously surface a diverse subset of incidents for manual review, creating Gold data. This Gold dataset mathematically calibrates the Silver dataset, helping to ensure our evaluation pipelines measure True Precision versus Observed Precision, enabling statistically significant safety margins before an agent acts in production.\n\n#### Continuous Nightly Evals and LLM-as-a-Judge\n\nTo monitor agent quality and safely gate new releases, we run automated Nightly Evaluations integrated directly with Google's Everest evaluation platform. This process continuously tests agent responses against a dynamic, rolling dataset of recent, real-world Google incidents. During these runs, we employ a hybrid evaluation methodology combining \"LLM-as-a-Judge\" (or LLM Raters) with strict deterministic scoring. The LLM Rater systematically grades the qualitative aspects of the agent's intermediate reasoning, investigation trajectory, and specific tool calls against freshly curated Golden trajectories. In parallel, we use strict deterministic scoring to evaluate the final mitigation output to ensure the agent executed exactly the right action. We measure this final output using rigid precision and recall—for example, a mitigation is only scored as \"correct\" if the agent's output deterministically matches the fully actionable, exact parameters of the Golden data (e.g., the specific binary and version), rather than providing a vague, LLM-generated suggestion to \"rollback\".\n\n#### Generating Golden Data\n\nGenerating Golden data is traditionally tedious. To prevent annotator fatigue, we integrate data collection directly into the incident management workflow. When an oncaller declares an incident mitigated, the system proactively generates structured suggestions of the exact mitigations applied. By simply accepting, modifying, or rejecting these hints during their standard workflow, SREs continuously feed high-quality Golden labels back into the system, refining models and identifying edge cases without overhead.\n\nFigure 2: Structured suggestions of mitigations\n\n### AI Across the SRE Lifecycle\n\nAt Google, SRE's engagement spans the entire software development lifecycle (SDLC). Recognizing the increasing complexity and scale of its services, Google SRE has actively developed and integrated Artificial Intelligence to enhance reliability, efficiency, and the pace of innovation across this lifecycle. This section details the AI-powered tools and systems Google SRE has successfully implemented.\n\n#### Observing Production\n\nIncident detection has traditionally relied on well-established telemetry—metrics, logs, and traces. While essential, these methods are inherently limited to detecting known failure modes, as alerting logic often accumulates reactively. This conventional approach struggles to detect new issues and doesn't always capture the actual customer experience. Applying AI or traditional Machine Learning to this type of telemetry for anomaly detection has also proven challenging. Statistical anomalies in system metrics within noisy production environments don't always equate to user impact, largely because these signals lack a deep understanding of user intent. For example, a new feature launch or standard traffic shifts can easily be misread as a failure.\n\nModern agentic AI harnesses are able to collect different, richer sources. This can also be combined with user intent: customer feedback from support tickets or external posts, and forums. Historically, the unstructured nature of this data made it too slow to process for real-time operational signals. However, LLMs have overcome this barrier. AI can now analyze and cluster this qualitative feedback in near real-time, identifying emerging outages by piecing together fragmented user reports. The volume of related feedback naturally indicates severity, while the inherent effort required for a user to submit feedback acts as a filter against noise. This provides a reliable, context-rich signal for issues often missed by traditional, telemetry-based monitoring.\n\n#### Case Study: Detectr\n\nTo illustrate how these concepts move from theory to production, we look at Detectr, Google SRE’s Gemini-powered platform that analyzes and organizes user feedback to detect user-reported outages. Detectr aggregates signals across social media, customer support, product forums, and other human sources. It functions as a critical backstop to traditional monitoring and is designed to catch novel issues that slip through the metric-based net.\n\nThis is done through a multi-pass AI pipeline which generates structured outage reports:\n\n1. **Filter:** irrelevant posts are removed, and data is categorized.\n2. **Cluster:** related reports are grouped together to identify potential outages.\n3. **De-noise:** irrelevant or noisy clusters are filtered out.\n4. **Report:** a structured report is generated for triage.\n\nThis process transforms messy, unstructured user feedback into structured, actionable outage notifications that can be sent to the appropriate teams.\n\nFigure 3: A pipeline for scalably processing unstructured data\n\nDetectr has been adopted by teams across Cloud, Ads, YouTube and Search, and has successfully served as the primary method of escalation for many outages. We can measure Detectr’s value: it has reduced the impact of these events on customers by hundreds of cumulative hours thanks to earlier detection and deeper understanding.\n\n#### Enriching Alerts\n\nRaw alerts often signal a problem but lack the immediate context needed for rapid triage and diagnosis. Oncallers can lose valuable time sifting through dashboards and logs to understand the alert's impact and potential causes. To address this, Google is deploying an \"AI Alert\" system designed to intercept alerts before they reach a human. The core goal is to enrich the alert with a wealth of contextual information, making it more immediately actionable and significantly reducing the initial investigation time.\n\nUpon intercepting an alert, AI Alert agents spring into action within a very tight time budget (typically around 2 minutes). We have a tight budget constraint; any delay in the mitigation is costly. Leveraging massive parallelism, they query a wide array of data sources – including monitoring systems, logging platforms, production change logs, and dependency graphs – to gather relevant signals and context up to the moment the alert is fired. This information is then synthesized using AI to correlate related anomalies, fetch details on recent rollouts or configuration changes, identify similar past incidents, and even hypothesize potential root causes.\n\nThe enrichment is typically appended to the original alert in our incident management tool. Crucially, AI Alert focuses on providing verifiable facts and evidence-based insights rather than speculative conclusions. All findings are presented with links back to the source data, ensuring transparency and trust. This system operates in a read-only mode, distinguishing it from systems like AI Operator, which may take mitigating actions. AI Alert is designed for speed and breadth in initial data gathering, serving as a powerful first-step analysis to accelerate the human oncaller's response or to provide a rich contextual package for other AI systems like AI Operator to act upon.\n\n### L1: Human-Driven Mitigation\n\n#### Incident Hypothesis\n\nDuring an incident, oncallers are often inundated with a deluge of monitoring data, alerts, and log entries. Sifting through this information to pinpoint the root cause under time pressure is a significant challenge. The Incident Hypothesis augments the information produced by AI Alert agents. This hypothesis aims to provide the oncaller with a single, credible lead on the potential cause and suggest concrete next steps for verification.\n\nWe have developed AI systems for this purpose that analyze a wide array of contextual data using Large Language Models (LLMs) and Retrieval Augmented Generation (RAG). When an incident is declared, these systems query and synthesize information from various sources. These data sources include real-time monitoring anomalies, service playbooks, application logs, incident management data, and perhaps most importantly, patterns from similar past incidents. By synthesizing these diverse inputs, the AI can often identify likely culprits, such as a problematic rollout, a failing dependency, or a specific type of error, that a human might take much longer to piece together.\n\nAt Google, our immense scale provides the statistical rigor necessary to A/B test SRE practices like Incident Hypothesis, enabling us to measure its significant impact. Our analysis confirms that this informational assistance alone delivered a 10% reduction in Mean Time to Mitigate (MTTM) the incident, underscoring the value of even partial automation (L1) for oncallers.\n\nFigure 4: Incident hypothesis in Google's incident management platform\n\nThe AI-generated hypothesis, along with suggested verification steps and links to relevant dashboards or logs, is surfaced directly within the oncaller's primary incident response and monitoring tools. This integration ensures the insights are available with minimal context switching. This approach not only speeds up incident response but also reduces cognitive load on oncallers, allowing them to focus on mitigation.\n\n#### Investigation Dashboard\n\nDuring a production incident, oncallers can waste valuable time on a manual \"scavenger hunt\" for data across disparate, static monitoring dashboards. Sifting through this fragmented tooling to manually correlate metrics, logs, and traces elevates cognitive load and delays root cause identification.\n\nTo address this, Google SRE has developed Investigation Dashboards (InvD) - dynamic, AI-powered systems that generate an incident-specific \"single pane of glass\" on demand. Instead of forcing engineers to hunt for information, InvD automatically synthesizes the alert context, data from similar past incidents, and relevant playbook content to present the most pertinent evidence. This dynamic UI continuously adapts to both the oncaller and the specific nature of the outage, reducing the friction of the diagnostic phase.\n\nFigure 5: Automated troubleshooting graph\n\nThe intelligence powering InvD is structured across hierarchical analysis capabilities to systematically evaluate system behavior. It progresses from basic Anomaly Detection (Capability 1), where machine learning models flag visual deviations in time-series data, to Correlating changes with alert signals (Capability 2), and assessing Investigation Worthiness (Capability 3). Ultimately, InvD aims for the highest standard: Root Cause Identification (Capability 4). By applying AI reasoning, the system scrutinizes whether a promising anomaly - such as a recent rollout, experiment, or capacity shift - is genuinely the underlying cause of the incident. These InvD analysis capabilities enhance the 'Investigate' function described within the SRE Autonomy Levels. Achieving Root Cause Identification (Capability 4) provides a crucial input for systems aiming for higher SRE Autonomy Levels, but it is distinct from SRE Autonomy L4 itself, which also includes autonomous actuation and complex planning.\n\nInvD operates as an extensible ecosystem rather than a monolithic tool. It integrates over a hundred customized, domain-specific \"troubleshooters\" built by various product teams to execute automated symptom checks in parallel. Once a high-confidence root cause is identified, InvD facilitates rapid recovery by bridging the gap to mitigation, enabling the execution of remedial actions directly from integrated playbooks.\n\nThe operational impact of this AI-curated approach has been meaningful. By replacing manual data gathering with ML-based anomaly detection - which alone increased overall findings by 195% - Investigation Dashboards have delivered a roughly 44% reduction in Mean Time to Mitigate (MTTM) for supported incidents. This empowers SREs to move from initial detection to service restoration with unprecedented speed and confidence.\n\n#### Gemini-Powered CLI\n\nWhile incident information goes to Google's internal UI, SREs at Google primarily use command line interface to manage production. [Antigravity CLI](https://antigravity.google/product/antigravity-cli) is connected to production systems via a standardized agent interface called the [Production Agent](https://cloud.google.com/blog/topics/developers-practitioners/how-google-sres-use-gemini-cli-to-solve-real-world-outages). Gemini uses the Production Agent Model Context Protocol (MCP) servers to interact with our issue tracker:\n\n- **Create Bugs:** It files the Action Items as real bugs in the issue tracker.\n- **Assign Owners:** It assigns them to the relevant engineers.\n- **Export Doc:** It pushes the final Postmortem to Google Docs.\n\nThe power of this setup is significantly enhanced by a rich and growing library of **Skills**. These Skills encapsulate specific expertise and workflows, endowing the Production Agent with the ability to interact with various systems and data sources. Google SRE is actively developing and curating a common set of these production-focused Skills. This initiative ensures that SREs have a consistent, powerful, and safe way to leverage AI for complex tasks. These modular Skills act as building blocks, maintained with clear guidelines and risk considerations, allowing for sophisticated interactions with production.\n\nThis setup allows SREs oncallers to interact with production and perform L1 investigation:\n\n- Query real-time monitoring data.\n- Analyze system and application logs.\n- Fetch incident details and updates from our incident management systems.\n- Inspect service dependencies and configurations.\n- Initiate safe, policy-compliant mitigations, such as traffic drains, which are gated by a central Mitigation Safety Verification Service.\n\nThis interactive AI assistant, accessed via **Antigravity CLI**, lowers the barrier to entry for complex debugging tasks, speeds up information retrieval, and helps engineers quickly form and test hypotheses during outages.\n\nFigure 6: Antigravity CLI after competition of a subagent for incident response, proposing a mitigation action with safety evaluation passed\n\n### L3: Autonomous Mitigation\n\nWhile AI-assisted diagnostic tools (L1 Autonomy) significantly reduce cognitive load and Mean Time to Mitigate (MTTM), achieving true operational scalability requires moving beyond recommendation to direct actuation. To hold the cost of operations steady while supporting a projected 4x increase in development velocity, SRE must adopt L2+ Autonomous Mitigation—where AI agents actively mutate production state to resolve incidents. Because the cost of an erroneous action in a live production environment is exceptionally high, this phase relies heavily on our established \"Safety Trifecta\" and evaluation data pipelines. Agents are not granted full autonomy immediately. Instead, they operate within a framework of Progressive Authorization. They begin at Level 2 Autonomy, where they investigate, propose, and stage mitigations, but require explicit human approval to execute them. They only advance to Level 3 or Level 4 (High/Full Autonomy) for specific, well-bounded scenarios after demonstrating sustained, statistically significant success rates against our human-verified \"Golden\" evaluation data. The ultimate goal of this phase is to autonomously remediate routine, predictable incidents—such as localized capacity constraints or known transient task failures—freeing human SREs to focus on novel, complex systemic risks.\n\n#### Case Study: AI Operator\n\n##### Investigate & Mitigate\n\nAI Operator functions as an AI agent designed to be the first responder to production alerts. It ingests alert signals, and its Harness leverages a set of extensible modules to perform multiple parallel investigations. Its reasoning process is guided by examples derived from how human experts have effectively investigated similar past incidents. This allows the agent to form and test hypotheses to perform Root Cause Analysis (RCA). Once the RCA is complete, AI Operator can opportunistically select from a structured catalog of context: a) enrichers, which are deterministic signal boosters (e.g., an observability tool identifying an anomaly, an alert description, or a playbook); b) specialized skills defining how to mitigate the problem; and c) few-shot prompts encoded in text protos that guide the agent’s investigation strategy. AI Operator does not need all three to perform an investigation, but consumes available context dynamically.\n\nUpon completing the investigation and RCA, AI Operator selects the appropriate mitigation to resolve the incident. Currently, the system operates at L2 Autonomy (Partial Automation), requiring a human SRE to review and accept the mitigation suggestion for critical operations and in L3 Autonomy (High Automation), where AI Operator will safely execute mitigations autonomously for minor incidents. Following a mitigation attempt, AI Operator waits for a predefined period to determine if the incident has been resolved. If the alert clears, the agentic loop finishes; if the incident is still ongoing, AI Operator initiates a post-actuation investigation to formulate a new mitigation strategy.\n\nAI Operator presents its Chain of Thought (CoT) in a centralized UI. For each agentic step, the human on-caller has the ability to provide further comments or direct the agent's focus. These steps involve various investigative actions, such as processing logs, analyzing production state, and inspecting dependent jobs. To handle complex scenarios, AI Operator has the ability to spawn specialized sub-agents for deeper analysis. Crucially, the architectural design focuses on utilizing the minimum set of tokens per step; because an incident's CoT can have a very long horizon, strict token management prevents the LLM from losing context or hallucinating over time. If AI Operator cannot identify the root cause, or if the scenario falls outside its safe operating boundaries, it immediately escalates to a human operator. In parallel, it synthesizes its entire investigation history and posts it directly into Google's incident UI platform, allowing the human SRE to seamlessly pick up the investigation without starting from scratch.\n\nFigure 7: AI Operator chain of thought\n\nAI Operator has successfully run across thousands of incidents, with every execution trace stored in Spanner for rigorous debugging and continuous improvement. We have built an evaluation framework that analyzes this incident metadata and compares the agent's automated actions against ideal human responses (our \"Golden Data\"). Using an \"LLM-as-a-Judge\" technique, the system evaluates the agent's performance to identify areas for improvement, creating a continuous, self-improving feedback loop.\n\nFigure 8: AI Operator - LLM-as-a-Judge\n\nThe figure above demonstrates this evaluation loop in practice. On the left, the agent correctly diagnosed and mitigated the problem. On the right, the agent incorrectly diagnosed the root cause and failed to mitigate it. In response to the failure, the LLM-as-a-Judge automatically generated a critique of the agent's logic and filed a bug containing a concrete implementation plan to improve the AI Operator's future performance.\n\n#### Mitigation Safety Verification Agent\n\nWhile agents like AI Operator possess the reasoning capabilities to diagnose and propose mitigations, granting them direct, unilateral access to low-level infrastructure tooling presents an unacceptable reliability risk. To safely bridge the gap between an AI agent’s investigation and the physical execution of production changes, we have built an Actuation Agent.\n\nA Mitigation Safety Verification Agent or else called an Actuation Agent serves as a unified control plane and safety gateway for all autonomous production changes. When an agent formulates a mitigation strategy, it does not execute scripts directly; instead, it interfaces with Actuation Agent, which standardizes the actuation lifecycle into three phases:\n\n- **Standardized Discovery and Planning:** The Actuation Agent provides agents with a curated, dynamically filtered registry of available mitigation tools (e.g., traffic draining, capacity upsizing). When an agent submits an EvaluateAction request, Actus hydrates the necessary parameters and translates the LLM’s intent into a concrete, verifiable execution plan.\n- **Dynamic Autonomy and Safety Guardrails:** The Actuation Agent acts as the physical enforcer of our Progressive Authorization framework. Before executing any plan, the agent runs a suite of pre-flight safety validations, including mandatory dry-runs, justification verification (ensuring the action targets an open incident), and concurrent action checks. Crucially, Actus manages the caller's autonomy level in real-time. If an agent requests an L3 (High Automation) execution, but the agent detects an elevated risk score or an anomalous production state, it will automatically downgrade the request to L2 (Partial Automation), intercepting the execution and routing an approval request to a human SRE.\n- **Post-Actuation Guardians and the \"Red Button\":** The Actuation Agent maintains long-running operation (LRO) state, polling the infrastructure to verify if the mitigation succeeded or failed. Furthermore, it provides a centralized \"Guardian\" layer for human operators. This includes emergency \"Red Button\" endpoints that allow SREs to instantly pause all in-flight agentic actions, block new actions, or globally revoke L3 permissions across the fleet during catastrophic, complex outages.\n\nBy decoupling the AI's reasoning engine (AI Operator) from the execution engine, we ensure that no matter how rapidly AI models evolve, their ability to mutate production remains strictly governed by deterministic, human-controlled safety boundaries.\n\n### Enabling Technologies for AI-Ops\n\nThe successful deployment of AI in SRE at Google relies on a robust foundation of key technologies and data platforms:\n\n- **High-Quality Production Data and Metadata:** The efficacy of AI-Ops systems is directly dependent on the quality, timeliness, and accessibility of production data. This includes:\n - Real-time telemetry (metrics, logs, traces).\n - Accurate service topology and dependency graphs.\n - Historical incident data.\n - Engineering playbooks and technical documentation.\n - Service Level Objectives (SLOs) and error budget status.\n - A catalog of available production tools and their effects. Google has invested heavily in making this data available and queryable in real-time.\n- **Retrieval Augmented Generation (RAG) Platforms:** To provide AI models with the most current context, Google SRE extensively uses internal RAG platforms. These systems allow Large Language Models (LLMs) to query real-time data sources and internal documentation, grounding their responses and actions in the current state of production, rather than just their training data.\n- **Fine-tuning Models:** While general-purpose LLMs provide a strong base, Google SRE fine-tunes models with domain-specific knowledge, including Google's internal tooling, production principles, and common failure patterns. This specialization significantly improves the accuracy and relevance of AI assistance.\n- **AI-Friendly Tool Interfaces (MCP):** For AI agents to interact safely and effectively with production, tools need to expose their capabilities in a way that AI can understand and use. Google is standardizing on the **Model Context Protocol (MCP)** , an open specification for providing natural language interfaces to APIs. This allows AI agents to dynamically discover and invoke tools, from simple diagnostic commands to complex mitigation actions. A key component of our AI-Ops ecosystem is a \"Production Agent\" server. This server implements the Model Context Protocol to expose a comprehensive suite of tools for interacting with Google's production environment, including: This Production Agent server is a key enabler for interactive AI use cases, such as the engineer-driven investigations using the AI-powered CLI. Importantly, any tools exposed via this server that can alter production state are integrated with safety systems, including a **Mitigation Safety Verification Agent**, to ensure policy compliance and prevent unintended consequences. This standardized interface approach is crucial for both human-in-the-loop AI assistance and fully autonomous systems like the AI Operator.\n - **Observability:** Querying time-series monitoring data, searching logs, and using automated analysis tools for anomaly detection and root cause suggestion.\n - **Incident Management:** Interacting with our incident tooling to retrieve incident data or update status.\n - **Traffic Control:** Initiating traffic shifts or service capacity changes.\n - **Infrastructure:** Inspecting compute jobs and tasks.\n- **Robust agent identity management:** A core foundational element for safe AI-Ops is the robust management of agent identity. Agent principals must have unique, machine-distinguishable identities separate from human principals, ensuring that human-only actions are never performed by agents. This distinction is critical for maintaining auditability and non-repudiation: every autonomous agent action must be attributed to a unique agent principal with a complete, immutable record that authorized parties can use to reconstruct its activity.\n- **Inter-Agent Communication Protocols [(A2A)](https://github.com/a2aproject/A2A):** Recognizing that different AI agents will specialize in various domains (e.g., monitoring, rollouts, capacity), Google is adopting inter-agent communication protocols like Agent2Agent (A2A). This enables the creation of composite AI-Ops systems where specialized agents collaborate to achieve larger goals, similar to how microservices interact.\n\n### The Future of SRE: Scaling Oversight in an Agentic SDLC\n\nThe integration of AI into SRE is fundamentally evolving the nature of production operations. However, the most profound shift is occurring within the Software Development Lifecycle (SDLC) itself. As the SDLC transitions to an agentic model—where AI plans, writes, reviews, and submits code—engineering organizations are targeting massive productivity increases, aiming to quadruple the volume of Changelists (CLs) generated. SRE practices must adapt to manage this high-velocity, largely black-box development process.\n\n#### Scaling Human Oversight: Moving Up the Abstraction Ladder\n\nTraditional line-by-line code review does not scale with a 4x to 10x increase in code volume. Attempting to maintain this practice leads to reviewer fatigue and rubber-stamping. Instead, human oversight must \"shift left\" and move up the abstraction ladder. Engineers must focus on reviewing Designs, Intent, and Policies. By co-authoring and approving detailed specifications with AI before code generation, engineers validate the architecture and safety constraints.\n\nTo maintain the integrity of this process, SRE mandates the use of Independent Harnesses. The AI agent that generates the source code must be strictly isolated from the AI agent that defines the test cases or reviews the output. This separation prevents the transmission of cross-bias and helps to ensure that untested correctness requirements are caught mechanically rather than assumed by the authoring LLM.\n\n#### Rethinking Release: Adaptive Progressive Rollouts\n\nWith the increased rate of change, traditional soak times and standard canarying methods will become bottlenecks. SRE must invest in Adaptive Progressive Rollouts, utilizing sensitive, automated \"continuous production validation\" techniques that can evaluate system health at machine speed. This applies not just to high-QPS RPC systems, but also to complex data-producing pipelines where anomalies must be caught before propagating to downstream consumers.\n\n#### The Intervening Pull Request Problem and AI-Assisted Fix-Forward\n\nThe sheer volume of rapid, AI-generated deployments complicates traditional mitigation strategies. A simple binary rollback to a \"last known good\" version becomes highly risky when dozens of changes have been submitted in rapid succession; rolling back might inadvertently remove critical bug fixes or security patches introduced in the interim. This is known as the Intervening Pull Request Problem.\n\nTo counter this, SRE must adopt ultra-fast, granular mitigation strategies. This includes aggressive reliance on dynamic configuration and feature flags to instantly disable problematic code paths. Furthermore, as AI accelerates the creation of code, it must also accelerate resolution through AI-Assisted Fix-Forward capabilities—automatically generating and deploying targeted patches to resolve incidents safely without unwinding concurrent progress.\n\nUltimately, by shifting human oversight to architectural intent and building machine-speed compensating controls, SRE is transitioning from operating systems to architecting the safe boundaries within which autonomous agents can continuously innovate.\n\n#### References\n\n- [https://cloud.google.com/blog/topics/developers-practitioners/how-google-sres-use-gemini-cli-to-solve-real-world-outages](https://cloud.google.com/blog/topics/developers-practitioners/how-google-sres-use-gemini-cli-to-solve-real-world-outages)\n- [https://sre.google/books/](https://sre.google/books/)", "znaku_textu": 44779, "slov": 6405, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:43", "sha256": "34de50df4b3416d8d80a405b0db9e449a68c0e74ae67219c3a72c073b6cff46d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://antigravity.google/product/antigravity-cli", "https://cloud.google.com/blog/topics/developers-practitioners/how-google-sres-use-gemini-cli-to-solve-real-world-outages", "https://github.com/a2aproject/A2A", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/", "titulek": "Google SRE - Anatomy of an incident management handbook", "h1": "Anatomy of an Incident - Google - Site Reliability Engineering", "popis": "Google SRE Incident management guide | dive into stages of incident management lifecycle, get insights on building an effective incident response structure.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "When it comes to system design, failure is inevitable. Scientists and engineers implement solutions based on the available information, without a complete knowledge of the future. You can't always anticipate the next zero-day event, viral media trend, weather disaster, or shift in technology. But you can be prepared to respond when incidents like these affect your systems.", "datePublished": "2022-01-24", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/Anatomy_Of_An_Incident.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Anatomy of an Incident - Google - Site Reliability Engineering", "author": [{"@type": "Person", "name": "Ayelet Sachto"}, {"@type": "Person", "name": "Adrienne Walcer"}, {"@type": "Person", "name": "Jessie Yang"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-098-11372-8"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Anatomy of an Incident - Google - Site Reliability Engineering"}], "markdown": "# Anatomy of an Incident - Google - Site Reliability Engineering\n\nWhen it comes to system design, failure is inevitable. Scientists and engineers implement solutions based on the available information, without a complete knowledge of the future. You can’t always anticipate the next zero-day event, viral media trend, weather disaster, or shift in technology. But you can be prepared to respond when incidents like these affect your systems.\n\nWith this report, SRE and DevOps practitioners, IT managers, and engineering leaders will explore methods to help your organization prepare for, respond to, and recover from incidents. With advice from Ayelet Sachto, Adrienne Walcer, and Jessie Yang, you’ll learn how to be prepared to handle failure if and when it happens.\n\nLearn the stages of the [incident management lifecycle](https://sre.google/workbook/incident-response/): preparedness, response, recovery, and mitigation\n\n- Deal proactively with incidents: issues that escalate beyond metrics and alerts\n- Be prepared: practice disaster role playing and [incident response](https://sre.google/resources/practices-and-processes/incident-management-guide/) exercises\n- Learn the characteristics of the incident-response organizational structure\n- Examine steps to recovery and mitigation after an incident has occurred\n- Conduct postmortems to analyze what went wrong\n- Explore a real-world example from Google: The Mayan Apocalypse\n- Learn how to measure and reduce incidents impact\n- Use postmortems as a tool for prevention and psychological safety\n\n[PDF](/static/pdf/Anatomy_Of_An_Incident.pdf) [EPUB](/static/pdf/Anatomy_Of_An_Incident.epub) [MOBI](/static/pdf/Anatomy_Of_An_Incident.mobi)", "znaku_textu": 1675, "slov": 214, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:29", "sha256": "b3661294a72466d2caccb44bfc56cb9899990eadfabd95b183e7b75a6c6d0b5c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/art-of-slos/", "titulek": "Google SRE - Art of slo | customer reliability engineering", "h1": "The Art of SLOs\n This page is also available in 日本語", "popis": "The art of SLO's workshop, crafted by google's customer reliability engineering team, teaches how to measure service reliability using SLIs and SLOs hands-on.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/art-of-slos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "VideoObject", "name": "The Art of SLOs (Service Level Objectives)", "description": "Want to learn the Art of SLOs and get access to a free workshop? In this episode, Google Cloud Developer Advocate Riccardo Carlesso shares the Art of SLOs (Service Level Objectives) so you can ensure Reliability is a key feature of your service. Watch to learn about SLOs, SLIs, and choosing the right reliability target metrics for your application!", "thumbnailUrl": "https://i3.ytimg.com/vi/E3ReKuJ8ewA/maxresdefault.jpg", "uploadDate": "2022-01-26T00:00:00+00:00", "duration": "PT4M0S", "contentUrl": "https://www.youtube.com/watch?v=E3ReKuJ8ewA"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Art of SLOs\n This page is also available in 日本語"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Target Audience"}, {"uroven": 2, "text": "Workshop Materials"}, {"uroven": 2, "text": "The Art of SLOs – Slides"}, {"uroven": 2, "text": "The Art of SLOs – Participant Resources"}, {"uroven": 2, "text": "The Art of SLOs – Facilitator Resources"}, {"uroven": 2, "text": "Licensing"}], "markdown": "# The Art of SLOs\n This page is also available in [日本語](/intl/ja_jp/resources/practices-and-processes/art-of-slos/)\n\n## Introduction\n\nThe Art of SLOs is a workshop developed by Google's [Customer Reliability Engineering](https://cloud.google.com/blog/products/gcp/introducing-a-new-era-of-customer-support-google-customer-reliability-engineering) team. The goal of the workshop is to introduce participants to the way Google measures service reliability—in terms of [Service Level Indicators (SLIs) and Service Level Objectives (SLOs)](https://cloud.google.com/blog/products/gcp/availability-part-deux-CRE-life-lessons)—and give them some hands-on experience with creating these measures in practice. These are important, fundamental concepts: it is far easier to have a meaningful conversation about the reliability of a service when you have an objective way of measuring that reliability.\n\nIn the theoretical part of the workshop, participants learn how setting a target that describes the desired reliability of their services can resolve the organizational tension that so often arises between development and operations teams. They are shown how SLOs and Error Budgets can be used to measure and manage the reliability of a service in a data-driven, objective and user-focused manner. The workshop takes a technical turn as participants are given a brief introduction to the qualities that make for good SLIs. Finally, the session wraps up with an application of the four-step process for developing SLIs to a simple interaction users have with the server-side infrastructure of a fictional mobile game.\n\nThe practical part of the workshop asks participants to apply what they've learned to more complex interactions between the users of the game and its infrastructure. Each interaction has a particular twist that challenges them to think hard about what the user expects, and how to find a good proxy measure for how well the service meets those expectations. Finally, they're given example answers, which they can compare to their own progress and reasoning.\n\n## Target Audience\n\nThe workshop content is relatively technical and primarily aimed at development and operations engineers and their immediate management. However, you'll have the best results if you can include technically-minded product people and business leaders as well. SLO targets need to be set with your users in mind, and error budgets can only resolve organizational tensions if the consequences for exceeding them have executive backing.\n\nIf you don't have a whole team to educate, you might be interested in our [Measuring and Managing Reliability course on Coursera](https://goo.gle/sre-slos-coursera), which is a more thorough, self-paced dive into the world of SLIs, SLOs and error budgets.\n\n## Workshop Materials\n\n## [The Art of SLOs – Slides](https://goo.gle/sre-art-of-slos-slides)\n\nThe presentation and the backbone of the workshop. It contains the training content that prepares participants for the practical exercises. There are detailed speaker notes for presenters that make it possible to deliver the workshop with minimum preparation.\n\n[PDF version of these slides, without speaker notes](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-slides.pdf)\n\n## [The Art of SLOs – Participant Resources](https://goo.gle/sre-art-of-slos-handbook)\n\nA 28-page printable handbook to give to each workshop participant on the day of training. It contains reference material that is useful both during the workshop and more generally when creating SLOs for services, as well as the backstory and technical details of the fictional mobile game necessary for the practical exercises.\n\n[Handbook-A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-a4.pdf)\n\n[Handbook-Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-letter.pdf)\n\n[Handbook-A5](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-a5.pdf)\n\n[Handbook-Half-Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-halfletter.pdf)\n\n[SLO Worksheet](https://goo.gle/sre-art-of-slos-worksheet)\n\n[SLO Worksheet A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-worksheet-a4.pdf)\n\n[SLO Worksheet Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-worksheet-letter.pdf)\n\n[SLO Cheatsheet](https://goo.gle/sre-slo-cheatsheet)\n\n## [The Art of SLOs – Facilitator Resources](https://goo.gle/sre-art-of-slos-facilitator-handbook)\n\nThe facilitator’s handbook for planning and running an Art of SLOs workshop. It contains—spoiler alert!—long-form example SLOs, with detailed rationales for the decisions made, for two of the more complex and challenging interactions participants are asked to develop SLOs for.\n\n[Handbook A4](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-a4.pdf)\n\n[Handbook Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-letter.pdf)\n\n[Handbook A5](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-a5.pdf)\n\n[Handbook Half-Letter](https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-halfletter.pdf)\n\n## Licensing\n\nThe four documents above are released under the Creative Commons [CC-BY-4.0](http://creativecommons.org/licenses/by/4.0/) license for anyone to use and reuse—as long as Google is credited as the original author. If you want to [suggest improvements](https://issuetracker.google.com/issues/new?component=765274&template=1371896), have any [problems with the content](https://issuetracker.google.com/issues/new?component=765274&template=1371794), or just want to [ask a question](https://issuetracker.google.com/issues/new?component=765274&template=1371921) please create a bug in our [issue tracker component](https://issuetracker.google.com/issues?q=status:open%20componentid:765274).", "znaku_textu": 6033, "slov": 723, "odkazu": 66, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:30", "sha256": "58d42381e6913e06f2b72fe8ee6b68f551461c6bbeaaea1ed82b3cb07071553f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://cloud.google.com/blog/products/gcp/introducing-a-new-era-of-customer-support-google-customer-reliability-engineering", "https://cloud.google.com/blog/products/gcp/availability-part-deux-CRE-life-lessons", "https://goo.gle/sre-slos-coursera", "https://goo.gle/sre-art-of-slos-slides", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-slides.pdf", "https://goo.gle/sre-art-of-slos-handbook", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-a5.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-handbook-halfletter.pdf", "https://goo.gle/sre-art-of-slos-worksheet", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-worksheet-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-worksheet-letter.pdf", "https://goo.gle/sre-slo-cheatsheet", "https://goo.gle/sre-art-of-slos-facilitator-handbook", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-a4.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-letter.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-a5.pdf", "https://static.googleusercontent.com/media/sre.google/en//static/pdf/art-of-slos-howto-halfletter.pdf", "http://creativecommons.org/licenses/by/4.0/", "https://issuetracker.google.com/issues/new?component=765274&template=1371896", "https://issuetracker.google.com/issues/new?component=765274&template=1371794", "https://issuetracker.google.com/issues/new?component=765274&template=1371921", "https://issuetracker.google.com/issues?q=status%3Aopen+componentid%3A765274", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/community-driven-software-adoption/", "titulek": "Google SRE - A guide for community software adoption plan", "h1": "A Case Study in Community-Driven Software Adoption", "popis": "Community-driven approach can drive successful software adoption of community software within your SRE team, read effective software adoption plans.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/community-driven-software-adoption/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Within an SRE organization, teams usually develop very different automation tools and processes for accomplishing similar tasks. Some of this can be explained by the software they support: different systems require different reliability solutions. But many SRE tasks are essentially the same across all software: compiling, building, deploying, canarying, load testing, managing traffic, monitoring, and so on. There are two puzzles here: why does this diversity exist, and how can it be overcome so that SRE teams stop duplicating their development efforts?", "datePublished": "2019-06-19", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/CaseStudyInCommunityDrivenSoftwareDevelopment.pdf", "bookFormat": "http://schema.org/Ebook", "name": "A Case Study in Community-Driven Software Adoption", "author": [{"@type": "Person", "name": "Richard Bondi"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-098-11456-5"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A Case Study in Community-Driven Software Adoption"}], "markdown": "# A Case Study in Community-Driven Software Adoption\n\nWritten by:\n Richard Bondi\n\nWithin an SRE organization, teams usually develop very different automation tools and processes for accomplishing similar tasks. Some of this can be explained by the software they support: different systems require different reliability solutions. But many SRE tasks are essentially the same across all software: compiling, building, deploying, canarying, load testing, managing traffic, monitoring, and so on. There are two puzzles here: why does this diversity exist, and how can it be overcome so that SRE teams stop duplicating their development efforts?\n\nRichard Bondi has been an engineer at Google since 2011, specializing in the entire web stack and working on travel applications. In 2016 he converted to SRE, and then joined the SRE tech writer team. Before Google, and after leaving his political philosophy PhD program to join the first of many internet startups, he wrote a book on the Microsoft CryptoAPI, published by John Wiley & Sons, Inc.\n\n[PDF](/static/pdf/CaseStudyInCommunityDrivenSoftwareDevelopment.pdf) [MOBI](/static/pdf/CaseStudyInCommunityDrivenSoftwareDevelopment.mobi) [EPUB](/static/pdf/CaseStudyInCommunityDrivenSoftwareDevelopment.epub)", "znaku_textu": 1244, "slov": 165, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:22", "sha256": "47f05c801d7de998df022ed7004b23447ce363f277dd325c43915e2d1c4a33a8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/engineering-reliable-mobile-applications/", "titulek": "Google SRE application - Reliable mobile app engineering", "h1": "Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications", "popis": "Ensure client-side reliability, Build reliable sre applications using mobile app engineering best practices and sre tools to ensure client satisfaction.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/engineering-reliable-mobile-applications/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Imagine a situation where your services report healthy and serving but you receive multiple user reports of poor availability. How are these users accessing your service? Most likely, they are using your service through a client application, such as a mobile application on their phone. SRE traditionally has only supported systems and services run in datacenters rather than the code running on the client, and this can lead to issues that go unnoticed until it is too late.", "datePublished": "2019-06-17", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/EngineeringReliableMobileApplications.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications", "author": [{"@type": "Person", "name": "Kristine Chen"}, {"@type": "Person", "name": "Venkat Patnala"}, {"@type": "Person", "name": "Devin Carraway"}, {"@type": "Person", "name": "Pranjal Deo"}, {"@type": "Person", "name": "Jessie Yang"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-492-05741-3"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications"}], "markdown": "# Engineering Reliable Mobile Applications: Strategies for Developing Resilient Native Mobile Applications\n\nWritten by:\n Kristine Chen, Venkat Patnala, Devin Carraway and Pranjal Deo with Jessie Yang\n\nImagine a situation where your services report healthy and serving but you receive multiple user reports of poor availability. How are these users accessing your service? Most likely, they are using your service through a client application, such as a mobile application on their phone. SRE traditionally has only supported systems and services run in datacenters rather than the code running on the client, and this can lead to issues that go unnoticed until it is too late. This report explains the importance of client-side reliability, describes the challenges of working in such an environment, and provides a useful set of SRE concepts and potential tools to apply to your own client applications.\n\n[PDF](/static/pdf/EngineeringReliableMobileApplications.pdf) [MOBI](/static/pdf/EngineeringReliableMobileApplications.mobi) [EPUB](/static/pdf/EngineeringReliableMobileApplications.epub)", "znaku_textu": 1087, "slov": 142, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:23", "sha256": "5d015b1486793bb9cf7ab19bc44c4485a1ed27890fb888fc234dd3f369a3df92", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/", "titulek": "Google SRE - sre roadmap guide: enterprise roadmap to sre", "h1": "Enterprise Roadmap to SRE - Google - Site Reliability Engineering\n This page is also available in 日本語", "popis": "Enterprise roadmap to SRE guide, a step-by-step approach for integrating the sre function into your organization, ensuring reliable IT operations.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Despite SRE's popularity, many enterprises have experienced a significant gap between initial enthusiasm for SRE and its often modest level of adoption. If you're a product owner or have a stake in reliable services and need to know more about SRE adoption, this report will methodically guide you through the process.", "datePublished": "2022-01-20", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/enterprise-roadmap-to-sre.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Enterprise Roadmap to SRE - Google - Site Reliability Engineering", "author": [{"@type": "Person", "name": "James Brookbank"}, {"@type": "Person", "name": "Steve McGhee"}], "publisher": [{"@type": "organization", "name": "Google"}], "bookEdition": "First Edition", "isbn": "978-1-098-11771-9", "inLanguage": "en"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Enterprise Roadmap to SRE - Google - Site Reliability Engineering\n This page is also available in 日本語"}], "markdown": "# Enterprise Roadmap to SRE - Google - Site Reliability Engineering\n This page is also available in [日本語](/intl/ja_jp/resources/practices-and-processes/enterprise-roadmap-to-sre/)\n\nTwo previous O’Reilly books from Google — [Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/) and [The Site Reliability Workbook](https://sre.google/workbook/table-of-contents/) — demonstrated how and why a commitment to the entire service life cycle enables your organization to successfully build, deploy, monitor, and maintain software systems. In this detailed report, Google Cloud Reliability Advocate Steve McGhee and Google Cloud Solutions Architect James Brookbank dive deeper into the specific challenges engineers face when adopting SRE in their organization.\n\nDespite SRE’s popularity, many enterprises have experienced a significant gap between initial enthusiasm for SRE and its often modest level of adoption. If you're a product owner or have a stake in reliable services and need to know more about SRE adoption, this report will methodically guide you through the process.\n\n- Get started by evaluating your existing environment and setting expectations\n- Examine SRE’s approach to reliability—and learn why reliability is the most desired product feature\n- Learn how to map SRE’s guiding principles, such as embracing risk, to your existing organization\n- Develop a set of SRE practices for your team, based on what team members can do, what they know, and what tools they use\n- Learn tips on how to actively nurture success and keep SRE working in your organization\n\n[PDF](/static/pdf/enterprise-roadmap-to-sre.pdf) [EPUB](/static/pdf/enterprise-roadmap-to-sre.epub)", "znaku_textu": 1677, "slov": 233, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:27", "sha256": "480c17549b3880dfdf53c1f0ca99a4d4ce434333a93909f416ec59d60c479947", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/incident-management-guide/", "titulek": "Google SRE - Learn sre incident management and response", "h1": "GoogleSite Reliability Engineering:", "popis": "Google sre incident management guide, this primer provides an end-to-end overview of how Google SRE teams manage and respond sre incidents effectively.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/incident-management-guide/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "GoogleSite Reliability Engineering:"}, {"uroven": 2, "text": "Incident Management Guide"}, {"uroven": 3, "text": "Written by"}, {"uroven": 4, "text": "Introduction"}, {"uroven": 4, "text": "Prepare for incidents"}, {"uroven": 4, "text": "Respond and manage incidents"}, {"uroven": 4, "text": "Remediate and learn from incidents"}, {"uroven": 4, "text": "Further reading"}], "markdown": "# Google\nSite Reliability Engineering:\n\n## Incident Management Guide\n\n### Written by\n\nAdam Crume, Alex Cepoi, Chelsea Granados, Roxana Loza, Steve McGhee, Svetlana Gites, Trevor Mattson-Hamilton, and Vrai Stacey\n\n#### Introduction\n\nOutages are inevitable in any sufficiently complex system. When an outage happens, it is essential to have a process in place to know how to manage and respond effectively. A well-defined plan helps teams minimize the impact on users and customers, coordinate their [response to mitigate the incident faster](https://sre.google/sre-book/emergency-response/), and learn from it so that it can be prevented from happening again. Google has a long-standing, well-documented incident response process that has been developed and refined over the years. Here we present a primer of the end-to-end process.\n\n#### Prepare for incidents\n\nEffective incident response begins with preparation, which includes having in place a reliable alerting mechanism and well-defined oncall process. Alerts are an efficient way to detect system issues and notify the on-call team so they can be addressed. Here are some of the key attributes of a good alerting mechanism: **Alert in a timely manner:** Minimize the user impact prior to incident response beginning. **Cover all key user facing functionality** **Alert based on symptoms, not causes:** Alerts should be based on end-to-end measures of customer/client experience, not based on a system's internal behavior. **Be actionable:** Alerts that cannot be acted upon by an on-caller generate noise. Alerting based on SLOs (Service Level Objectives for particular functionality) is a good way to achieve the first three attributes. Some [preventive alerts](https://sre.google/sre-book/managing-incidents/) based on internal metrics may be required, such as protecting against an imminent failure due to approaching a hard resource quota, as failures of this nature can cause a system to instantaneously transition from 0% failure to 100% failure. However, the general rule is to avoid alerting on a system's internal behavior as these alerts don't accurately map to user impact, and are fragile due to being closely bound to a service's implementation at the time the alert is defined. Once you have an alerting mechanism ready, you need to ensure your oncall team is ready to respond to the alerts. As with any activity, being oncall can be made much easier with proper preparation. Having up to date playbooks with instructions on [how to debug and mitigate issues](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/) can speed up incident response significantly. Note that oncallers need to be aware of the playbooks, and other [training material](../../../resources/), for it to be effective. Regular practice through activities such as \"Wheel of Misfortune\" exercises can keep this knowledge up to date, as well as providing an opportunity for less experienced oncallers to develop their skills in a safe environment. Where possible, automating elements of incident response will free the oncallers to focus on problem solving. This can include automation of common tasks, automated analysis of key impact information (severity, affected services/locations, etc), root cause analysis, and intelligent suggestion of mitigating actions the oncaller can take.\n\n#### Respond and manage incidents\n\nGoogle's incident response system, known as IMAG, is based on the Incident Command System (ICS), a US standard for responding to emergencies, such as wildfires or earthquakes. These systems focus on the \"three Cs\" (3Cs) of incident management: coordinate, communicate, and control. IMAG organizes the incident response by establishing a hierarchical structure with clear roles, tasks, and communication channels. The main roles in Google's IMAG are Incident Commander (IC), Communications Lead (CL), and Operations Lead (OL). The IC coordinates the overall incident response. The CL provides regular updates to stakeholders and acts as a point of contact for incoming communications. This allows the OL to focus on mitigating the issue, minimize user impact, and resolving the problem. This helps balance multiple ongoing needs. As suggested by the name, these leads may delegate certain tasks to other responders. Incident roles do not follow reporting chains and instead are based on knowledge and incident context. Good incident response, like many things, is user-centric. Fixing the problem is only part of what's needed; it's just as important to ensure that your users, stakeholders, and leaders are updated about what's affected, how bad it is, what workarounds may be possible, and when the incident may be mitigated and resolved. Communicating consistently and with an appropriate level of detail for the reader builds trust and transparency. These are just as important as technical mitigations. Google has various Incident Response Teams (IRTs) which can also be activated for additional support during major incidents. The services provided by each IRT vary, but may include coordinating multiple team-level efforts, providing hands-on assistance, identifying and contacting teams that are (or should be) involved, gathering resources, assisting in escalations, activating other IRTs, and broad internal and/or external communications. Effective response means treating it as a project in its own right. This includes planning ahead, deciding who needs to be involved, and documenting what has been done. Chaos will naturally prevail unless it is actively managed.\n\n#### Remediate and learn from incidents\n\nOne of Google's core tenets of [effective incident response](https://sre.google/workbook/incident-response/) is to learn from outages and improve our systems to prevent similar incidents from happening in the future. When not possible, we strive to minimize the duration and impact of unavoidable/unanticipated outages. Left unchecked, outages tend to regularly resurface and accumulate over time. This increases the operational toil for the team and can lead to expended error budgets, eroded user trust, and impacted revenue. The most effective tool we have found for achieving that is through open and [blameless postmortem writing](https://sre.google/sre-book/postmortem-culture/). After the incident is resolved, a write-up of the incident is immediately started, seeking to fully understand and document how the incident unfolded, its impact, as well as things that went well or could be improved. It is important to look at a broad range of aspects of the incident response, not just at fixing the immediate problem or preventing it from recurring; looking at effective ways to improve detection, mitigation, coordination, or communication across teams and to impacted users is equally important. One of the core tenets of SRE's culture is that postmortems should be blameless. It's important to remember that everyone involved in the incident had good intentions. Blaming individuals for unintended consequences during the response, does not aid the learning process so instead, we focus on how we can improve our systems, procedures, and training to make them more resilient. An honest and timely [postmortem write-up](https://sre.google/workbook/postmortem-culture/) reviewed by stakeholders and shared broadly with the entire organization is key to identifying the most effective corrective action items to prevent similar incidents from happening again. Once SLOs for completion of action items are agreed with stakeholders, these feed back into the team's backlog. Teams balance these action items against feature work and prioritize informed by overall reliability. Once a postmortem writing culture is established, aggregating structured data collected across a large number of postmortems to identify [trends and organizational areas](https://sre.google/sre-book/lessons-learned/) needing larger investments becomes a great opportunity in a larger organization.\n\n#### Further reading\n\nSRE Book, Chapter 9:\n[https://sre.google/workbook/incident-response/](https://sre.google/workbook/incident-response/) \"Preparing for your next incident\" discussion (audio):\n[https://www.oreilly.com/content/taming-chaos-preparing-for-your-next-incident/](https://www.oreilly.com/content/taming-chaos-preparing-for-your-next-incident/) How Lowe's reduced its MTTR by over 80 percent:\n[https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre](https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre) Shrinking the impact of production incidents:\n[https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons](https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons) ProdEx - Google's Production Excellence Program:\n[https://videos.itrevolution.com/watch/762364173/](https://videos.itrevolution.com/watch/762364173/)\n\n[Download as PDF](/static/pdf/IncidentManagementGuide.pdf)", "znaku_textu": 9070, "slov": 1274, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:32", "sha256": "411253b4e72431caf736fe9b777bb0dcb05676b079a6e85075b59474accbdac0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.oreilly.com/content/taming-chaos-preparing-for-your-next-incident/", "https://cloud.google.com/blog/products/devops-sre/how-lowes-improved-incident-response-processes-with-sre", "https://cloud.google.com/blog/products/devops-sre/shrinking-the-impact-of-production-incidents-using-sre-principles-cre-life-lessons", "https://videos.itrevolution.com/watch/762364173/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/incident-metrics-in-sre/", "titulek": "Google SRE - Handbook for incident management metrics", "h1": "Incident Metrics in SRE - Google - Site Reliability Engineering", "popis": "Use incident metrics in SRE to measure for improvements in decision making and analysis. Track key sre metrics to enhance your incident response capabilities.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/incident-metrics-in-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Measuring improvements as a result of a process change, product purchase, or a technological change is commonplace. In reliability engineering, statistics such as mean time to recovery (MTTR) or mean time to mitigation (MTTM) are often measured. These statistics are sometimes used to evaluate improvements, or track trends.", "datePublished": "2021-03-19", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/IncidentMeticsInSre.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Incident Metrics in SRE - Google - Site Reliability Engineering", "author": [{"@type": "Person", "name": "Štěpán Davidovič"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-098-10313-2"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Metrics in SRE - Google - Site Reliability Engineering"}], "markdown": "# Incident Metrics in SRE - Google - Site Reliability Engineering\n\nWritten by:\n Štěpán Davidovič\n\nMeasuring improvements as a result of a process change, product purchase, or a technological change is commonplace. In reliability engineering, statistics such as mean time to recovery (MTTR) or mean time to mitigation (MTTM) are often measured. These statistics are sometimes used to evaluate improvements, or track trends.\n\nIn this report, we use a simple Monte Carlo simulation process (which can be applied in many other situations), as well as statistical analysis, to demonstrate that these statistics are poorly suited for decision making or trend analysis in the context of [production incidents](https://sre.google/workbook/incident-response/). To replace these, we propose better ways to achieve the same measurements for some contexts.\n\n[PDF](/static/pdf/IncidentMeticsInSre.pdf) [EPUB](/static/pdf/IncidentMeticsInSre.epub)", "znaku_textu": 923, "slov": 122, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:25", "sha256": "dd8622bcc44c5bb76f0d998dd8f077eacc61e4b24072871b6a0d2b474a193524", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/infrastructure-change-management/", "titulek": "Google SRE - Infrastructure Change Management book", "h1": "Case Studies in Infrastructure Change Management", "popis": "SRE change management: Explore controlled and reliable changes in sre infrastructure to minimize disruptions and dealing with catastrophic challenges.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/infrastructure-change-management/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Authors Wendy Look and Mark Dallman offer an overview of two long-term projects at Google: one to migrate all of Google's systems from Google File System (GFS) to its successor, Colossus, and the other to move from local disk storage to diskless compute nodes for all jobs.", "name": "Case Studies in Infrastructure Change Management", "author": [{"@type": "Person", "name": "Wendy Look"}, {"@type": "Person", "name": "Mark Dallman"}]}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Case Studies in Infrastructure Change Management"}], "markdown": "# Case Studies in Infrastructure Change Management\n\nWritten by:\n Wendy Look and Mark Dallman\n\nIf you’re rolling out a large-scale infrastructure change, you know it can be like swapping out a jet engine while flying. Staying aloft takes coordination and communication with many teams, good processes and documentation, risk identification and management, monitoring, and [tracking of the change progress](https://sre.google/workbook/organizational-change/)—not to mention dealing with the catastrophic challenges that crop up midflight. In this report, technical program managers in Google SRE take you through case studies that demonstrate how infrastructure change projects are managed at Google.\n\nAuthors Wendy Look and Mark Dallman offer an overview of two long-term projects at Google: one to migrate all of Google’s systems from Google File System (GFS) to its successor, Colossus, and the other to move from local disk storage to diskless compute nodes for all jobs. You’ll dive into the tools and processes used to manage the changes, see what worked (and what didn’t), and discover lessons learned along the way. Best of all, you’ll get a preflight checklist drawn from these experiences that will help you keep your own projects on course.\n\n[PDF](/static/pdf/CaseStudiesInfrastructureChangeManagement.pdf)", "znaku_textu": 1309, "slov": 191, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:18", "sha256": "0325402aa4d8abba462b50605a2a09543a222a722ebb77cff942ab3bcf1ec377", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/measuring-reliability/", "titulek": "Google SRE - SLOs ecosystem to measure reliability", "h1": "Measuring Reliability", "popis": "Measuring reliability with SLI and SLO, how SLIs and SLOs help in measuring reliability, answering key questions and building better reliability tools.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/measuring-reliability/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Measuring Reliability"}, {"uroven": 2, "text": "Measuring Reliability"}, {"uroven": 2, "text": "Measure reliability?"}, {"uroven": 3, "text": "\"Define your SLIs/SLOs!\""}, {"uroven": 4, "text": "...let's look at that more!"}, {"uroven": 2, "text": "Answering our reliability questions"}, {"uroven": 2, "text": "SLI/SLO model got us here, but…"}, {"uroven": 2, "text": "Know Your Tools"}, {"uroven": 2, "text": "Operationalization"}, {"uroven": 3, "text": "\"...defines a fuzzy concept so as to make it clearly distinguishable, measurable, and understandable by empirical observation...\""}, {"uroven": 2, "text": "/"}], "markdown": "# Measuring Reliability\n\nWhat got you here won't get you there\n\nThe SLOs ecosystem is just one tool we can use to measure reliability... This talk is about understanding when your tools apply for answering questions, and building new ones if you need them.\n\nRead more\n\nScroll down to explore more\n\n## Measuring Reliability\n\n...what got you here won't get you there\n\nŠtěpán Davidovič, Google\n\nfor SREcon EMEA 2022, Oct 25th-27th\n\nLagging Indicator\n\n- User's perception of how the system worked for them\n- It has already impacted the business, cannot be changed\n- It's user experience, and we should know about it\n\n\"The system didn't work an hour every day of the last week, that sucks.\"\n\nLeading Indicator\n\n- Risk property of the system as it stands\n- Not yet realized, can be changed\n\n\"The system is at 99% of disk usage. It works now, but it might break any minute!\"\n\n## Measure reliability?\n\n### \"Define your SLIs/SLOs!\"\n\n#### ...let's look at that more!\n\nService Level Indicator (SLI)\n\nTime series data which can tell us how good the level of service is. Often from logs or sampled counters.\n\nExamples:\n\n- tuple: {HTTP 500s, all HTTP responses}\n- ratio: responses under 200ms / all responses\n\nService Level Objective (SLO)\n\nPredicate on a mathematical function applied on SLI. Has free parameters. Aim is to keep this predicate true.\n\nMathematical example:\n\nOrganizational example:\n\n- \"We hit/missed our SLO last quarter\"\n\n## Answering our reliability questions\n\nWhen we say \"measure reliability\", we want our data to give us some insight. **We are answering questions, by using our available data.**\n\n**But there is no single reliability question!** An engineer oncall is in a different situation than a CEO strategizing.\n\nThe purpose of computing is insight, not numbers.\n\n- Richard Hamming\n\n1. Oncall engineer responds to and mitigates an incident. Did their action help?\n2. Team manager holds weekly production review team meetings, are there creeping problems?\n3. Customer support asks if a customer has problems?\n4. SVP wants to understand customer-perceived reliability of product portfolio before meeting with the customer.\n5. CEO wants to know if company's reliability is getting worse. Do we need to pivot?\n\nEngineer got paged with the alert \"SLI_Suddenly_Awful\".\nAfter an hour of debugging, engineer tried a mitigation.\n\n**How do they know if it helped?**\n\nIf it were me:\n\n1. Wait for a while\n2. Look at whether the SLI has recovered to above SLO (or maybe even to previous levels)\n\n**We built an intuitive, ad-hoc model to answer our question!**\n\nCEO is wondering whether reliability of the company's product is getting worse, and new reliability work needs to be prioritized.\n\n**How do they interpret the reliability data?**\n\nMaybe they compare how many SLOs were met, month to month?\n\nLet's say we have 200 SLOs. **Are we getting less reliable?**\n\nNaive answer: Yes, because 12 (6.0% of total) SLOs not met is (a lot) more than 3 (1.5%) or 4 (2%).\n\n**Better answer: We can't tell by interpreting this data this way.**\n\nIllustrating using a binomial model:\n\n- Let's say probability of not meeting SLO each month is 1/24\n- Then 95% confidence interval is from 3 to 13 SLOs not met, even if the average reliability doesn't change\n\nNaive idea was non-obviously dangerous. **The more impactful (=costly) the decisions, the more important to check your methods!**\n\nThis illustration model is very flawed (SLOs typically not IID, etc.). It's only an illustration, prompting going beyond the naive answer.\n\nIllustration by Allyssa Jill Olivan\n\n## SLI/SLO model got us here, but…\n\n**We need more models.** The examples show that SLO model alone isn't sufficient. **In practice we build ad-hoc models in our heads, intuitive but sometimes dangerously wrong.**\n\nThe SLI/SLO model helped us make good progress in reliability! But **what got us here won't get us there**. The illustrations were strawman, but the problem is real.\n\nTo figure our next steps, **let's understand some of the limitations and assumptions of SLIs and SLOs**.\n\nIllustration by Allyssa Jill Olivan\n\n**We establish our \"error budget\" based on acceptable losses**\n\n- 100% availability is fanciful\n- Since we make 1M USD, we set a failure budget 10K USD\n\n**We set our SLO to correspond to our error budget**\n\n- We make 1M USD/yr, so 10K implies 99% SLO\n\n**We measure incident impact - but inaccuracy is a problem!**\n\n- Impact assessment may be inaccurate, e.g. order of magnitude!\n- Estimate your inaccuracy: Ask three independent incident reviewers for impact estimate, and observe variance\n- This is a problem even without any black swan events!\n\n**Aggregating upwards hides bad behavior**\n\n- What if your product never works for a handful of users ?\n- For SLI/SLO, it's the same as if it didn't work a little bit for all users!\n\n**SLIs assume all requests are equal**\n\n- They can have different costs, user utility, or revenue\n- Human-curated SLI grouping helps, e.g. group by API call or location\n\n**Human-designed grouping is not always possible**\n\n- Example: Free-form SQL queries for a database, or arbitrary input video formats for video encoder\n\n**SLO model aggregates over time**\n\n- 1000x 1-minute full outages is equal to...\n- ...1x 1000-minute full-outage?\n- ...2x 1000-minute half-outages?\n\n**To your users and your business, this difference may matter**\n\nAggregation to global (or zonal) SLO \ncan hide severe problems!\n\nIllustration by Allyssa Jill Olivan\n\n**Practical SLIs are often limited to sources which have:**\n\n- High sample rate\n- Low cost to sample (and interpret)\n- Low sampling latency\n\n**We should integrate other useful sources:**\n\n- Complaints on Twitter\n- Crowdsourced outage reporting\n- Direct customer feedback\n\n**Valuable signals worth not ignoring!** Could we integrate them into our day-to-day reliability management?\n\n## Know Your Tools\n\nThis talk isn't to say SLIs or SLOs are bad - or good. **The SLOs ecosystem is only a tool.** The only question for a tool is if it fits the need.\n\n**You should understand your needs.** They might be answering questions with data, or organizational design, or many more!\n\n**This talk is about understanding when your tools apply for answering questions, and building new ones** if you need them.\n\nIllustration by Allyssa Jill Olivan\n\n## Operationalization\n\n### \"**...defines a fuzzy concept** so as **to make** it clearly distinguishable, **measurable**, and understandable by empirical observation...\"\n\n([Wikipedia](https://en.wikipedia.org/wiki/Operationalization), May 2022)\n\n1. **Identify your key reliability questions**\n - Some are generic (e.g. need to alert), many aren't\n - Be precise, and think of cost of consequent action\n2. **Build a model for each question**\n - This is creative, and hard work\n - Consider how hard it is to agree on a model to answer the question \"given this data, should we alert someone?\"\n - ML techniques are tempting, but beware their caveats\n3. **Backtest your models against historical data**\n - For boolean questions, you can get a confusion matrix\n - Identify model shortcomings, and iterate\n\n- **\"SLO alerting\" is an example of building a fresh model**\n - Input is SLI data, output is a boolean answer\n - Frequent topic of articles and discussions\n - Alerting decision is made frequently\n- **Models for identifying unusual behaviors, such as:**\n - Anomaly detection in monitoring solutions\n - SRECon'21 talk \"Beyond Goldilocks Reliability\"\n - But beware: \"unusual\" is not automatically \"bad\"!\n - Cost of being wrong drives accuracy requirements\n- **However, models for high-level decision are hard**\n - Typically very infrequent decisions\n - Not always clear what should've been done, even in hindsight\n\nIllustration by Allyssa Jill Olivan\n\n**SLI/SLO model is a helpful hammer, but not everything is a nail**\n\n- Understand what questions you need answered!\n- Match your tool to that, don't start with a tool\n\n**Build models, and backtest them (...and publish them?)**\n\n- Start with just three reliability questions\n- Backtesting is sometimes hard, \"what should we have done?\" not always accurate or available\n- Think of the cost of the answer being wrong, be ready\n\n**Include new or external data in your reliability day-to-day practice**\n\n- Complaints on Twitter as a regularly measured quantity? :-)\n- Ideally: used as input to your regularly exercised models\n\n**See also:**\n\n- [Incident metrics in SRE (O'Reilly, 2021)](../../../../../../../static/pdf/IncidentMeticsInSre.pdf)\n- [The VOID Report (Verica, 2024)](https://www.verica.io/blog/announcing-the-void/)\n- [ML for Operations (USENIX ;login:, 2020)](../../../../../../../static/pdf/login-summer20-08-ross.pdf)\n- [How to measure Anything (Wiley, 2020)](https://www.wiley.com/en-us/How+to+Measure+Anything%3A+Finding+the+Value+of+Intangibles+in+Business%2C+3rd+Edition-p-9781118836446)\n\n**Thanks to**: Ben Appleton, Kristina Bennett, Brent Bryan, Brendan Gleason, Paul Holden, Jennifer Mace, Jake McGuire, Niall Richard Murphy, Courtney Nash, Alex Rodriguez, Dylan Vener, Salim Virji\n\nFor their review and thoughts on this (or preceding) material\n\n**Illustrations by**: Allyssa Jill Olivan (@kleinebean)\n[allyssajillolivan.myportfolio.com](https://allyssajillolivan.myportfolio.com)\n\n**See also:**\n\n- [Incident metrics in SRE (O'Reilly, 2021)](../../../../../../../static/pdf/IncidentMeticsInSre.pdf)\n- [The VOID Report (Verica, 2024)](https://www.verica.io/blog/announcing-the-void/)\n- [ML for Operations (USENIX ;login:, 2020)](../../../../../../../static/pdf/login-summer20-08-ross.pdf)\n- [How to measure Anything (Wiley, 2020)](https://www.wiley.com/en-us/How+to+Measure+Anything%3A+Finding+the+Value+of+Intangibles+in+Business%2C+3rd+Edition-p-9781118836446)\n\n**Illustrations by**: Allyssa Jill Olivan (@kleinebean)\n[allyssajillolivan.myportfolio.com](https://allyssajillolivan.myportfolio.com)\n\n## /", "znaku_textu": 9530, "slov": 1419, "odkazu": 48, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:34", "sha256": "f64d97989368056a54a04b3dec02058a01d7c1cb00674cc83b259a05b1cf507e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://en.wikipedia.org/wiki/Operationalization", "https://www.verica.io/blog/announcing-the-void/", "https://www.wiley.com/en-us/How+to+Measure+Anything:+Finding+the+Value+of+Intangibles+in+Business,+3rd+Edition-p-9781118836446", "https://allyssajillolivan.myportfolio.com/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/no-heroes/", "titulek": "Why heroism is bad, and what we can do to stop it", "h1": "Why Heroism Is Bad", "popis": "Discover Site Reliability Engineering, learn about team development, SRE toil reduction", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/no-heroes/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Why Heroism Is Bad"}, {"uroven": 2, "text": "And What We Can Do To Stop It"}, {"uroven": 3, "text": "What is heroism?"}, {"uroven": 4, "text": "When there's a systemic problem or gap in a system, and an individual decides to fill that gap."}, {"uroven": 3, "text": "General pattern"}, {"uroven": 3, "text": "No matter what"}, {"uroven": 5, "text": "No matter what includes:"}, {"uroven": 5, "text": "Often also:"}, {"uroven": 3, "text": "Example #1"}, {"uroven": 3, "text": "Example #2"}, {"uroven": 3, "text": "Example #3"}, {"uroven": 3, "text": "But wait... heroism has saved us before!"}, {"uroven": 3, "text": "Is firefighting heroism?"}, {"uroven": 3, "text": "Heroism is bad for the system"}, {"uroven": 3, "text": "Heroism is bad for the team"}, {"uroven": 3, "text": "Heroism is bad for the individual"}, {"uroven": 3, "text": "Why is it hard to discourage?"}, {"uroven": 3, "text": "How to discourage heroism"}, {"uroven": 3, "text": "Explain why the behavior isn't constructive"}, {"uroven": 3, "text": "Let it break"}, {"uroven": 3, "text": "Let it break"}], "markdown": "# Why Heroism Is Bad\n\n## And What We Can Do To Stop It\n\nWhat is heroism? Why is \"the Hero\" a bad role to have on a team? In this article, learn about how to build your team to avoid heroism, and when heroics can indeed be useful.\n\nby Alexander Malmberg\n\nUse arrow keys to move to the next page\n\nSwipe to move to the next page\n\n### What is heroism?\n\n#### When there's a systemic problem or gap in a system, and an individual decides to fill that gap.\n\n### General pattern\n\nWe have a system: a service, a team, a process, a piece of automation, some combination of the above...\n\nWe want the system to have some nice property: often but not always an SLO of some kind.\n\nThe system does not have this property.\n\nThe Hero decides that, despite this, they will uphold this property, no matter what.\n\n### No matter what\n\n##### No matter what includes:\n\n- No matter how many hours they need to work.\n- No matter that they need to work evenings and weekends.\n\n##### Often also:\n\n- No matter what they're told about not doing this.\n- No matter whether this property is actually important or not.\n- No matter whether the team has \"officially\" decided to uphold this property.\n\n### Example #1\n\nTeam has a ticket queue, and a ticket rotation, with one person assigned to tickets every week.\n\nThey have a ticket SLO: all tickets will be handled within 24 hours.\n\nTicket arrival rate is so high that, most days, the tickets arriving in one day cannot be handled in a normal 8-hour working day.\n\nOur Hero is on the case, though: They start working 12-, 14-, 16-hour days to make sure the ticket SLO is upheld.\n\n### Example #2\n\nTeam has a production service and associated automation, tooling, and on-call rotation.\n\nThey have an SLO for the service: 99.99% availability.\n\nBut the service effectively does not run at 99.99% availability, due to inherent properties of the service, how it degrades, the team's release process, alerting thresholds, etc.\n\nEnter the Hero: Every day (including weekends), they look at the monitoring; they spot-check graphs. They roll back bad canaries by hand, they spot memory-use increases before alerts fire and submit CLs to fix the issues, and they spot outlier tasks and restart them to limit the damage, etc., etc.\n\n### Example #3\n\nTeam has a launch process: Follow checklists, calculate resource requirements, submit changes, run automation to push out changes.\n\nThere's explicit pressure to make launches happen quickly — after all, the launch is good for users, or might increase revenue. We don't want SREs slowing the launches down.\n\nBut the process is full of manual work, and is very time consuming. The automation is flaky and needs hand-holding.\n\nHave no fear, Hero is here: They'll work 12-hour days to get everything in place, and then hand-hold the automation over the weekend to make sure we're ready to ramp up Monday morning.\n\n### But wait... heroism has saved us before!\n\nSometimes acts of heroism really are appreciated and necessary — we've all run into situations where we had a blind spot when planning, or experienced a major outage, or something weird and unexpected happened.\n\nBut heroism shouldn't be something you plan for or rely on in the long term. If you're committing to an SLO, you should be able to meet the SLO without any heroes.\n\n### Is firefighting heroism?\n\nNot necessarily. Heroism often comes in the form of firefighting or toil. However, if you have a proper, structured approach to firefighting, with realistic expectations, no heroism is required.\n\nOn-call, when done right, does not require constant heroism.\n\n### Heroism is bad for the system\n\nBecause heroism masks systemic problems, the systemic problems are never fixed:\n\n- The team never has proper discussions about a realistic SLO.\n- The team doesn't realize that it needs to work on long-term systemic fixes that enable the system to behave the way it wants it to.\n- The system is broken, and because the team doesn't realize that it's broken, the system never improves.\n\n### Heroism is bad for the team\n\nHeroism cultivates a culture that reinforces unrealistic expectations about the amount of work and the type of work expected from team members, and about the behavior expected from our systems.\n\n### Heroism is bad for the individual\n\nThe individual performs vast quantities of uninteresting, low-impact work.\n\nThey are likely to burn out.\n\nNo matter what volume of rote work an engineer does, it's unlikely they will get promoted.\n\n### Why is it hard to discourage?\n\nHeroism is low risk, and easy to do. A hero knows they can do and complete the work. (This can be a huge temptation for anyone with any form of impostor syndrome.)\n\nAs a hero, you may receive immediate rewards: You complete a task, you feel that it's important, you often get praise from other members of your team or of a team that you helped, and you get [peer bonuses](https://opensource.google/documentation/reference/growing/peer-bonus).\n\nIt \"feels\" really important, and after all, aren't we supposed to own and care deeply about the systems we run?\n\n### How to discourage heroism\n\n- Explain why the behavior is bad for the individual, the team, and the system.\n- Tell the teammates engaging in heroism to **let the system break.**\n\n### Explain why the behavior isn't constructive\n\nHelp the Hero figure out what they should do instead. Often, they have a really good feel for where the pain points and problems in a system are, and have good but \"raw\" ideas about how to fix them. Push them to work on the long-term fixes.\n\n### Let it break\n\nThis sounds scary, but normally it isn't. Some common patterns here:\n\n- The Hero really thinks the consequences of them not saving the system will be disastrous, but they really usually aren't.\n- Sometimes the Hero is upholding some property that really isn't important, and the team (and Tech Leads, Managers, client teams, etc.) have decided that we really don't need to uphold the property—it isn't worth the cost. But the Hero won't let it go.\n\n### Let it break\n\nIf we have SLOs, we also have an error budget.\n\nA signal that a system is broken is a really valuable signal. It's worth spending some error budget to obtain that signal, and it's worth pointing this out (especially if the Hero thinks the world will end if they stop being a hero, but nobody else does).", "znaku_textu": 6166, "slov": 1073, "odkazu": 42, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:35", "sha256": "704df967e7ce56f16d73ebd6d2a45d526fa96ad846d05a2aa6208e1a59649b41", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://opensource.google/documentation/reference/growing/peer-bonus", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/", "titulek": "Google SRE - A practical guide to cloud migration services", "h1": "Practical Guide to Cloud Migration – Google - Site Reliability Engineering", "popis": "SRE's practical cloud migration guide | learn about cloud migration services and effective cloud migration solutions to execute a well-defined migration plan.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Identifying and understanding the organizational transformation that happens with a move to Cloud-based systems will set up your organization for success. As you consider a migration to Cloud …\n\nHowever, the specific needs for each enterprise will vary. In this report, we offer insight into\n\nsecurity\nbuilding and sharing Cloud-specific knowledge\npractical use of Cloud features\nExplore these dimensions with core members of Google's Cloud and Site Reliability Engineering groups.", "datePublished": "2021-02-28", "url": "https://github.com/google/googlesre/blob/main/publications/Practical_Guide_To_Cloud_Migration.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Practical Guide to Cloud Migration – Google - Site Reliability Engineering", "author": [{"@type": "Person", "name": "Kieran Broadfoot"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-492-09515-6"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Practical Guide to Cloud Migration – Google - Site Reliability Engineering"}], "markdown": "# Practical Guide to Cloud Migration – Google - Site Reliability Engineering\n\nWritten by:\n Kieran Broadfoot, with contributors from across Google Cloud\n\nIdentifying and understanding the organizational transformation that happens with a move to Cloud-based systems will set up your organization for success. As you consider a [migration to Cloud](https://sre.google/cloud/) …\n\nHowever, the specific needs for each enterprise will vary. In this report, we offer insight into\n\n- security\n- building and sharing Cloud-specific knowledge\n- practical use of Cloud features\n\nExplore these dimensions with core members of Google's Cloud and Site Reliability Engineering groups.\n\n[PDF](https://goo.gle/cmgh) [EPUB](/static/pdf/practical-guide-to-cloud-migration.epub)", "znaku_textu": 746, "slov": 98, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:24", "sha256": "f8384f51f73d3cc7d655babcd666663edc9215114b280f465ac1a1e9cff85c36", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://goo.gle/cmgh", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/product-focused-reliability-for-sre/", "titulek": "Google SRE - Product SRE, improving reliability of services", "h1": "Product-Focused Reliability for SRE", "popis": "Explore how Google SRE teams prioritize product reliability by focussing on end-user needs, redefining products and using SLO strategies for critical support.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/product-focused-reliability-for-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Product-Focused Reliability for SRE"}, {"uroven": 2, "text": "Written by"}, {"uroven": 3, "text": "Introduction"}, {"uroven": 4, "text": "Product Engagement"}, {"uroven": 3, "text": "Service support model"}, {"uroven": 3, "text": "Product support model"}, {"uroven": 3, "text": "Get Started"}, {"uroven": 4, "text": "1. Engage your Stakeholders"}, {"uroven": 4, "text": "2. Model the Product"}, {"uroven": 5, "text": "Mail service severity example"}, {"uroven": 5, "text": "Mail service product criticality example"}, {"uroven": 4, "text": "3. Measure Performance"}, {"uroven": 4, "text": "4. Manage reliability"}, {"uroven": 3, "text": "When is the product reliability model a good fit?"}, {"uroven": 4, "text": "Clear roles and responsibilities"}, {"uroven": 4, "text": "User objective and step definitions"}, {"uroven": 4, "text": "Easily maintainable servers"}, {"uroven": 4, "text": "Clear connection to user-facing functionality"}, {"uroven": 3, "text": "Conclusion"}, {"uroven": 3, "text": "References"}], "markdown": "# Product-Focused Reliability for SRE\n\n## Written by\n\nCarl Crous, Parker Roth, and Victoria Hurd\n\n### Introduction\n\nSite Reliability Engineers (SRE) traditionally support products indirectly via their services, being accountable to service level objectives (SLO), and improving the reliability of these services. However, this approach has the following limitations that can impact products and the end user experience: Services are partial solutions for user needs and business goals. Measuring the reliability of a service is only an approximation of the user need or business goal. User interfaces (UI) are increasingly complex. There are a number of layers between UIs and the services that SREs measure, resulting in a significant gap in the coverage of the product. Service growth can easily outpace the engineering growth of an organization, leading to inevitable neglect of services or team overload. Service support optimizes a small part of the product's overall reliability and performance, while significant risks exist beyond the scope of these services. Services are synchronous by nature. Asynchronous flows are often overlooked or difficult to prioritize because their success cannot be measured by a single service. This article explores these limitations and discusses how some Google SRE teams are addressing these constraints by refocusing support on the product and end user needs, instead of concentrating on infrastructure and services. We also discuss SLO strategies, we describe how Google SREs define a product, and we explain how to decide what's critical to achieving product reliability. Product Engagement To support a product, SRE needs to be familiar with how the product and its features are designed and developed. Engaging with the product also entails learning the end user's goals when using a product. To obtain product and user information, SRE needs to work with product managers and UX researchers, who define the product and features based on frameworks like Jobs to be Done [1,5] and Google's Critical User Journeys (CUJs) [2], which identify the end user's goals and desired outcomes. Using this information, SRE can identify what is important to the product and its users, and they can define reliability in the same language used to define the product.\n\n### Service support model\n\nThe core responsibilities of SREs are to be \"responsible for the availability, latency, performance, efficiency, change management, monitoring, emergency response, and capacity planning of their [SRE] service(s)\" [3]. In this model, services are the primary unit of ownership and work for an SRE team. This focus on services is how SRE teams are traditionally established, and it drives how SREs prioritize their work, measure their performance, and expand their scope to support more services. SREs traditionally excel at services-based work, enabling high availability of the services that they support. However, for the following reasons, service availability doesn't always result in user happiness with a product: The product still faces outages that impact users outside of the SRE team's scope, for example, problems that occur in a web or mobile application. The SRE team spends time responding to conditions that potentially have no user impact. For example, HTTP 404 errors might not impact users. When SRE scope is limited to a set of services, the SRE team often doesn't have enough information to solve these issues effectively. Instead, SREs are forced to assess the services with no higher level of understanding of how the services should perform. Rather than accepting accountability for service reliability, SRE teams can accept accountability for the product itself. This higher level commitment **prioritizes the product, not the service**. This approach, which we call the product support model, opens up a new way of thinking about reliability.\n\n### Product support model\n\nThe core of this new product support model focuses on SREs being accountable for the reliability of a product's critical functionality. Where SREs were once assigned a set of services, which were deemed critical at a fixed point in time, SREs are now assigned to collections of features and user outcomes. Without the fixed boundaries of traditional service ownership, SRE teams are empowered to align their priorities to business and user outcomes and tackle wider ranging and more impactful efforts at every layer of the service stack. \"If you can't measure it, you can't improve it.\" — Peter Drucker Before an engineering team can **manage** the reliability of a product, it must first be able to **measure** its reliability. Establishing a set of metrics that provide sufficient breadth and depth of coverage is critical for teams to identify the most impactful engineering efforts and avoid the temptation to over-optimize any particular system. Before a team can **measure** the reliability of a product, it must first know what to measure and how to measure it. Knowing what to measure comes from **modeling** a product as a collection of user-visible behaviors, or features, and prioritizing the behaviors in terms of the value they bring to the user. With this prioritized list in hand, a team can begin to pivot from supporting teams and services to supporting the product and its users. Fig. 1 illustrates how the ultimate goal of improving the reliability of a product starts with a solid foundation of stakeholder alignment, product modeling, and measurement. Together, these concepts enable the team to dedicate their resources toward the issues which are most impactful for the end user and the business. **Fig. 1:** Product Reliability bootstrapping workflow\n\n### Get Started\n\nIn this section, you'll learn how to implement a product-focused reliability engagement, including the following key steps: Engage your stakeholders Model the product Measure performance Manage reliability Each step lists intermediate deliverables that bring value to the SRE team and the opportunities they unlock. We encourage you to proceed in order, but we also highlight areas where you can leverage existing metrics and relationships. 1. Engage your Stakeholders As with any SRE engagement, the first step is to identify the relevant stakeholders. Where service-based engagements rely on a partnership between SRE and a developer team, product-focused engagements require a more diverse set of partners. This broader set typically includes the following: Product managers: Define product strategy and requirements. UX designers and researchers: Turn requirements into user experiences. Engineering teams: Develop the necessary features and infrastructure to implement user experiences. Support specialists: Interface with the end user via direct or written communication. To build the foundation you need to successfully manage product reliability, it's critical to identify the stakeholders responsible for each role. **Deliverable:** Documented roles and responsibilities, for example, a RACI matrix [7]. After you identify all the relevant stakeholders, meet with each stakeholder to initiate SRE's partnership with them. 2. Model the Product People use a product to achieve a real-world objective. To help product teams build products and services that facilitate user goals, you need to understand what the product's users are trying to accomplish. This section introduces two key concepts that will be important to keep in mind throughout the rest of this article: **user objectives** and **steps**. A user objective describes a user's intent and the goal that they want to achieve. For example, an objective for a mail service might be \"Communicate with people.\" Steps are the individual actions a user takes to reach their objective. The Jobs to be Done (JTBD) [1,5] framework models user objectives as jobs, while Google's Critical User Journeys (CUJs) [2] models user objectives as goals with an accompanying set of tasks or steps. Understanding the user's objective in using a product or feature is a powerful tool for software development, because it gives you a clear signal about the most important aspects of the product to focus on. The user's intent is also a powerful reliability tool that SREs can leverage. Assuming your product is built using a framework like Jobs to be Done, you will have a curated list of user objectives that the product aims to facilitate. Product managers, UX designers, and other non-engineering disciplines likely own this list (at least in part). This list, which provides high-level descriptions of what the user wants to achieve, is based on cross-functional data that provides a common language among the many disciplines involved in the software development lifecycle. Leveraging these shared user objectives as the foundation for product support is the fundamental first step in modeling your product's reliability. However, if you don't have a list of user objectives, then you might need to develop this list yourself, which comes at a significant engineering cost and results in a list that only SREs are invested in using. A better approach is to engage with and encourage product managers –who are accountable for ensuring the product meets the needs of end-users to adopt one of these frameworks and own the definition of the user objectives. User objectives are broken down into a list of steps that the user takes to accomplish the overall objective. Each step is an isolated unit of work, independent of the other steps. These steps provide the following information: An explanation of what a user is doing with a product, or the user goal. A definition of a start condition and a number of success or failure conditions for each step. A tangible list of actions that you can relate to the product's interface or infrastructure, for example, the RPCs called when a user is sending an email. The objectives are just an organizational element that groups steps together. Based on the steps, you can identify which parts of the product's interface and infrastructure are required to complete those steps. Some parts of a single interface or infrastructure service might address different objectives, and can therefore have different levels of importance. **Deliverable:** A product registry of the user objectives and steps with high-level descriptions. Mail service product definition example Let's consider an email product that lets users send and receive emails, including a few value-added features. We'll model this product in terms of the objectives and steps detailed in Table 1 and illustrated in Fig. 2. Table 1 provides the basic product model that can be used by multiple disciplines involved in the product's development and support. Compose mail Login The user authenticates themselves on the login page. Open compose dialog The user clicks the **Compose** button, and the Compose dialog is presented. Lookup addresses The user starts to type a recipient's email address. A number of matching addresses are presented for selection. Check spelling As the user types their message, spelling mistakes are highlighted. Send mail The user clicks the **Send** button. The message is queued for delivery in the mail service. Read mail Login The user authenticates themselves on the login page. Open inbox The user opens their inbox page, which lists all their email messages.. Open message The user selects an email message, and its contents are presented. Receive mail (async) When the mail service receives new messages, they are automatically displayed in the user's inbox. **Table 1:** Example user objectives and steps **Fig. 2:** Flow diagram of user objectives and steps (see Table 1) Product criticality and prioritization When you pivot to a product support model, keep in mind that SRE teams will experience a greater cognitive load as they learn this new approach. Be sure to manage the additional effort required from SRE teams by strategically choosing where and how to support the product. For example, you might want to focus a lot of support on a core user objective and its steps, instrumenting them with high cost but accurate end-to-end SLOs. In this scenario, you might choose to support less critical objectives through cheaper and more traditional server-based SLOs. Prioritizing SRE work is a challenging problem of its own. We solve this problem by defining importance based on the relationship between specific objectives and the product's key performance indicators (KPIs). These indicators are often already used by products to assess the severity of outages, so using these KPIs to prioritize SRE tasks ensures that SREs keep pace with evolving product needs. At Google, we use product-specific severity guidelines (like the scenarios listed for Google Cloud major incidents [6]) to indicate the severity and impact of an outage on a product. In Google Ads, revenue is a key indicator of outage severity, while in YouTube, severity guidelines include time users spend watching videos. See the mail service severity example to learn how you can define severity guidelines for a typical mail service. While this classification is primarily used to measure the impact of outages, it also provides a clear signal of importance that you can apply to other areas. Severity guidelines are often written in terms of the impact on users, and therefore correspond closely with the user objectives and steps. Using the severity guidelines, you can organize your user objectives and steps based on the impact that a severe outage would have on a product or feature, which is defined as the product criticality. See the mail service product criticality example to learn how you can define product criticality for a typical mail service. This criticality definition gives clear guidelines for prioritizing SRE work. Ensure that there's a good base coverage for the entire infrastructure and develop your own set of principles for assessing the ROI for more targeted efforts. Consider what level of reliability you want to achieve for your most important objectives before focusing on the less important ones. Often, teams fall into the trap of developing a new method to address a reliability concern, and then they try to apply that approach to all scenarios, regardless of suitability. However, initial instrumentation costs and the ongoing maintenance costs of deploying improvements everywhere are not always justified. For example, offline or batch traffic doesn't have the same availability and latency requirements as interactive, user-facing traffic, and therefore different SLOs are required for each of these traffic classes. Gaining a deeper understanding of what's important to the product has many benefits, from knowing where test coverage is important to better incident response. If an SRE knows an issue is severe, they will react and escalate more quickly, resulting in a faster resolution. **Deliverable:** A set of severity and criticality definitions aligned with the product's user objectives and steps. Mail service severity example Continuing the mail service product definition example, we define the product's incident severity guidelines as follows: Major Any impact to receiving or sending mail.\n> 20% impact to core features Medium > 5% impact to core features.\n> 20% impact to auxiliary features Minor > 0% impact to any feature **Table 2:** Example incident severity guidelines. In this example, *core features* are those features that are required for users to be able to read and compose emails, like the authentication system or the address book. *Auxiliary features*, like spell checking and auto-complete, add value and are nice to have, but they aren't critical to product usage. The definition of *impact* varies from product to product, based on unique user and business needs. Some products might focus purely on technical impact like percentage of failed requests or percentage of requests with latency above an acceptable threshold. Other products might focus on revenue loss, brand damage, or other concepts more directly connected with business key performance indicators (KPI). No matter which criteria you choose for a product, it's important to consider these key principles: The resulting collection should cover all aspects of user perceived behavior and business priorities. It should be possible to determine an incident's severity in a timely and sustainable manner. There should be broad alignment about the incident severity guidelines across product and engineering leadership. Mail service product criticality example Using the severity guidelines in the mail service severity example, we define the product criticality as follows: Critical Services that are responsible for mail transport and delivery, and are critical (not optional) dependencies of core features. - Compose mail\n- Read mail Important Services that are non-critical dependencies (graceful failover) of core features or are dependencies of auxiliary features. - Compose mail > Check spelling\n- Read mail > Filter spam None All other services, typically internal or unlaunched features. All other product features not identified as product priorities. **Table 3:** Example product criticality definition. You can see how the critical definition is modeled around the user's objectives (like composing and sending email) rather than how the system was implemented to address these needs. Some specific steps (like checking spelling and filtering spam) can have different criticalities if they aren't considered critical components of the objective. A number of aspects aren't explicitly listed, like authentication, since that's one of the steps in most of the objectives. Additional value While Measure performance discusses how you can use this product model as the foundation for measuring a product's performance, this is not the only value provided by the model. A clear understanding of the user goals for your product enables you to align testing strategies, product usage metrics, and other production concerns on a shared foundation of user needs. 3. Measure Performance SLOs are a key component of any SRE team, providing tangible metrics that reflect the reliability of a system. The SRE Workbook [4] is a detailed resource that defines SLOs and service level indicators (SLI) and describes how to use them, particularly with respect to services. Service-based SLOs generally don't provide adequate product coverage. There are classes of issues that cannot be measured from a single server, for example, issues that occur within a web or mobile application, or through an asynchronous action. When an SRE team discovers the gaps in using service-based SLOs, they start to expand their SLOs in a number of ways. There are three main categories of SLOs that provide broader coverage for the product: service SLOs, client-side instrumentation, and end-to-end SLOs. Service SLOs Service SLOs are the most common type of SLO. They are instrumented through measurements taken from the service itself (like application server logs or live monitoring metrics), or through the logs of a layer above the service (like a load balancer). You can also use black box monitoring results to measure service uptime. The following are the main characteristics of service SLOs: Low cost Service SLOs are common and widely used. High confidence The data obtained for service SLOs is under your control and can be provided with very high availability guarantees, like an SLO on the SLO data. Low latency You can gather and process data with a very low latency, from seconds to a few minutes. Narrow coverage These SLOs only cover what the service can see, which is improved by measuring the SLOs at a higher layer in the service stack. If the returned result is considered a success to the service, it passes the SLO. However, successful results don't always guarantee that the results are useful, for example, empty responses or new incompatible data being returned to an old client. **Table 4:** Characteristics of service SLOs Client-side instrumentation With the development of more sophisticated (and more complex) user interfaces through web and mobile applications, more SRE teams have started to support these interfaces directly. This can be achieved by retrieving telemetry directly from user interfaces. This telemetry requires some logging or monitoring side-channel that records events which can then be processed and used to define SLOs. This data typically must be batched, and is sent in the background, separately from the interactive RPC requests. When an application is closed or loses network connectivity, some telemetry might be lost. All of these factors impact the reliability of data; and some single digit percentage loss is expected. Furthermore, measuring signals on client devices also includes measuring the device's performance and internet connection. However, client-side SLOs provide helpful insights into a product's performance as experienced by the users. You can use these SLOs to provide a better user experience for users who have less reliable connections. Complexities in how the interface behaves, for example, caching, retries, and asynchronous RPC requests, are transparent when you can measure start and end conditions from the user interface. Consider all of the following characteristics when you're deciding when and how to use client-side SLOs: Moderate cost Instrumenting client-side SLOs requires additional features in the user interface to retrieve the data, and a system to receive and process the data and provide the SLOs. Low confidence There is expected data loss. Measurements can be impacted by poorly performing client devices and internet connections. Moderate latency Signals typically travel from client devices in batches. These signals require additional processing before they can be used in SLOs, resulting in delays from 15 minutes to one hour. Broad coverage The measurements from the client devices allow for SLOs that directly measure the user's experience of the product's performance and reliability. **Table 5:** Characteristics of client-side SLOs End-to-end SLOs Some product features and business metrics can't be directly measured through service or client-side instrumentation. These often require joining data from multiple sources and typically follow asynchronous tasks. For example, a user might ask to generate a report. The user interface sends an RPC request which succeeds once the report is enqueued in the system, but that doesn't mean the report is successfully generated. Some backend system dequeues the report and generates it, or fails to do so. To measure if the report is successfully generated, you need to combine the user's original RPC request with the final report generation result. An end-to-end SLO generally measures its SLIs per user interaction, and can therefore provide fairly accurate results. The implementation of an end-to-end SLO requires a fair bit of engineering effort because you need to do the following: Determine the set of data required to measure the SLI. Log and record the required data. Aggregate and join the data from multiple sources. The main characteristics of end-to-end SLOs are as follows: Very high cost Instrumenting an end-to-end SLO can require months of engineering effort. Each SLO can result in unique engineering challenges and constraints. High confidence You can use multiple data sources, and you can track missing data in any of those sources by cross-referencing them. High latency Combining signals from multiple sources can be time consuming and complex. Continuously processing new data comes at a high cost, so offline batch solutions are often favored (typically run once per day or every few hours). Narrow coverage An end-to-end SLO aims to cover a very specific feature or business metric, and it does so with the highest degree of confidence. **Table 6:** Characteristics of end-to-end SLOs Prioritization Websites, mobile applications, and other internet-connected devices are becoming increasingly complex, which has driven the rise in microservice architecture that helps to simplify and scale the services that are needed to run modern applications. The number of servers around the world has grown exponentially. Evidence of this can be seen in the growth of public cloud providers like GCP. However, the number of software engineers globally has a much smaller linear growth. It is also important to recognize that every SLO carries an ongoing cost to maintain its underlying data and respond to SLO misses. Certain product features become less important as they age, while others may remain critical for the lifetime of the product. It is inevitable that software engineers and [site reliability engineers](https://sre.google/sre-book/software-engineering-in-sre/) need to prioritize which SLOs are still relevant and where engineers should spend their time improving the reliability of a product. Product SLOs A product-level SLO is defined around a step that a user takes to achieve their objectives. Any SLO (like service, client-side, or end-to-end) can be transformed into a product-level SLO by annotating and expanding it with user objective step information. The relatively simple task of linking SLOs to user objectives gives you an understanding of what the SLO means to the user and how important the SLO is to the product. Setting the objective target or latency thresholds is notoriously challenging when the SLOs are framed around services and infrastructure. But when the SLOs have the additional context of the user's objectives, what is being measured becomes much clearer. For example, instead of asking \"How reliable and fast should the AddressLookup service on the user-data-server be?\" you might ask, \"How many errors can users tolerate when looking up email addresses and how quickly should those email addresses be returned?\" When combined with product criticality, you can validate that SLOs are set appropriately and are not unjustifiably strict. This approach gives you a broader range of SLO targets that represent what's important to the product. **Fig. 3:** Example of how product SLOs are defined around user objectives and steps. **Deliverable:** A prioritized list of product SLOs that cover different SLO types (availability, latency) and instrumentation methods (service, client-side, end-to-end). Implement the highest priority SLOs and use the lower priority SLOs to create a backlog that you can prioritize later. Telemetry Before you can implement the SLOs discussed in Product SLOs, metrics (also known as SLIs) must be available to help you track the relevant product functionality. To develop these metrics, you need to bridge the conceptual world of the product model with the product's real-world infrastructure. This capability is a key value driver of the product reliability model. Whereas a team's understanding of SLO performance was once limited to \"database writes availability is 98%,\" for example, product-focused SLOs can show that those 2% of errors are causing 100% of \"save email draft\" steps to fail. The key requirement to turn aggregate availability metrics into accurate and actionable indicators of product performance is the ability to know what product functionality is supported by each request. Beyond simple observability needs, this request-level information can also be used in traffic routing and load shedding policies to ensure that lower priority functionality doesn't harm more mission critical features. While you can associate requests with product functionality in a number of ways, there are two main methods to consider: client-side annotation and server-side annotation. Client-side annotation Update the user interface (web pages and mobile applications) to attach the user objective step metadata to the RPC requests sent to your backend services. This is technically challenging and requires your UI teams to help design and eventually own and maintain these annotations. Using client-side annotation offers the most accurate method of mapping what a user is trying to achieve with the interface they're using. The annotation is done on individual RPC requests and therefore has the highest fidelity. Server-side annotation Analyze the RPC requests that a backend server receives and infers what the user's objective step is. This method is necessary when it's too costly to modify the client, or when you don't own the client (like REST services). Server-side annotation is not as accurate as client-side annotation since a number of assumptions are needed for a server to infer which step a RPC request is serving. **Table 7:** Comparison of client-side and server-side annotation You likely won't be able to annotate all of your traffic. By following your product criticality guidelines, you can decide where the benefits are justified; you might annotate only the most critical user objectives. After you annotate an RPC request, your services will need to propagate the annotation throughout your infrastructure stack. Propagation helps you understand the user's objectives and their importance in many SRE tools and processes, including the following: Understanding issues and their impact by having the user objective steps in monitoring dashboards and application logs. Quickly determining which user objective is impacted by an issue, and therefore the severity of an incident. Identifying SLOs that only consider specific user objective steps and ignore less important requests like batch and test traffic. 4. Manage reliability Now that you've identified your stakeholders, user objectives and steps, the criticality definition, and your product SLOs, you are ready to support the product. We recommend that you start supporting a product or service on a small scale, for example, by onboarding a single objective or step with some SLOs, before iterating to expand your team's responsibility and scope. Supporting a product is an ongoing process that is repeated continually. At every stage of supporting a product, you will work with your stakeholders to determine trade-offs between the following areas of investment: Improve the metrics for the set of supported objectives to increase confidence that the objectives are meeting expectations. Expand the set of supported objectives to ensure all aspects of the product are meeting expectations. Address performance gaps highlighted by metrics produced by investment areas #1 and #2. Be sure to invest across all three areas. Not investing sufficiently in areas #1 and #2 can cause your team to miss targeting the most impactful issues in area #3. On the flipside, investing only in areas #1 and #2 won't result in any improvements that help the user and your organization's business goals. Use the information you gathered and produced during the key implementation steps to help your organization determine how much to invest in each of these areas. Onboarding Onboarding is the process in which an SRE team evaluates a product or service that they are going to assume responsibility for. This process usually involves learning about the product or service to adequately support it and ensuring that the product or service meets a set of requirements defined by the SRE team. Before an SRE team assumes responsibility for a product's user objectives and steps, the SRE team needs to define a formal onboarding process that ensures the following: The objective and steps are important enough. The steps are mapped to the services that they use, and are annotated within these services. The potential SLOs are identified and prioritized within the overall product priorities. The SLOs are stable, and supporting them would not pose an undue burden on the SRE team or the service owner. The SRE team drives this process, meets with the appropriate stakeholders, and works with product teams to resolve any deficiencies. Iterate After you complete the onboarding process for one objective and a subset of its steps, you can then iterate and improve your team's coverage in the following ways: Onboard more user objectives and steps. Refine the coverage of user objectives and steps that are already onboarded. Improve your tooling to better support the user objectives and steps. We recommend that, instead of trying to support every user objective, you set a threshold for the most important aspects of the product you're supporting. Likewise, we recommend that you decide which user objectives are instrumented with the more expensive SLO methodologies. Some user objectives might only require server-based SLOs, while others might benefit from client-side or end-to-end instrumentation. Finally, to determine where and when to invest in improved tooling, evaluate the sustainability of your support. Insufficient tooling results in scaling limits that overwhelm the SRE team with inefficient triaging, debugging, and mitigation efforts for the set of supported objectives. Offboarding To ensure that your team focuses on the right parts of the product, we recommend that your team periodically re-evaluate the user objectives, steps, and SLOs that your team supports. Some SLOs may become less important over time, and some user objectives may become obsolete. It is important to maintain a prioritized list of all the supported user objectives, steps, and SLOs. Use this list to verify that your team is spending time and resources on the most important areas. When items on the list are no longer important (or are much less important than unsupported items), consider offboarding them so that the SRE team can re-focus on the most important aspects of the product. Server support Your focus on the product must not come at the expense of the infrastructure fleet of servers that supports it. There is always a requirement to ensure that servers, and the services they provide, remain healthy. Ensuring server health is necessary regardless of how critical servers are to the product (you are, after all, spending resources to run them). The concept of providing baseline support emerged at Google before the idea of focusing on the product. Baseline support is essentially a set of standards and best practices that SREs define, which allow them to provide general support to any server without understanding the server's specific purpose. For example, baseline support can require certain libraries and frameworks to provide common functions like load balancing, inter-service communication (RPCs), or even minimal SLOs that are owned by the development team that's primarily responsible for the server. In this world, the platform rather than the SREs provide baseline reliability support, which frees SREs to focus on more impactful reliability improvements that aren't covered by basic policies. Additional support might be required for the most critical infrastructure, however, this is not a requirement. If SREs are primarily responsible for the most critical user objectives, significant failures in critical infrastructure will fail the product-level SLOs. Moreover, failures at the infrastructure level that do not impact the product SLOs will not alert SREs and can be handled by the development team that owns the service (like issues with unlaunched features and batch services that are not as critical). Focusing SREs support on product SLOs instead of focusing on services allows the SREs to support more of the product and align that support with what's most important to the product.\n\n### When is the product reliability model a good fit?\n\nThe product-focused support model isn't a good fit for all use cases. Before you implement this support model, we recommend that you assess the suitability of this model by ensuring that your project meets the following requirements. Clear roles and responsibilities This model requires a broader set of stakeholders than a traditional service-centric engagement. Whereas traditional, service-based SRE engagements are often scoped to engineering organizations, product-based engagements require interfacing with a larger set of roles (like PM and UX). Effectively engaging your stakeholders requires clear agreement about the ownership roles and responsibilities between these parties. Even a simple user action like loading a homepage means that someone must be able to define how slow is too slow, and how fast is fast enough. Without clear consensus about who is accountable for answering these questions, it is not possible to leverage the results as requirements to measure and manage the reliability of the product. User objective and step definitions As stated in Model the product, user objectives and step definitions are required to adopt the product-focused support model. SREs can try to retrofit and derive user objectives for an existing product, but without the support of the entire organization, many of the benefits of product-focused support will be lost. If the stakeholders who are responsible for making product decisions don't adopt and own the product definition, it will be inaccurate and will quickly become out of date. A product model that is owned and maintained by the right stakeholders is therefore a key requirement for the product support model. Easily maintainable servers Server support provides details about the server support that are necessary when following a product support model. A fundamental requirement is that individual servers must be relatively easy to support. This requires sufficient standards and common frameworks that allow development teams to deploy and maintain individual servers themselves, with SREs helping when necessary. If SREs spend most of their time supporting individual servers, they won't have the capacity to focus on product-level concerns. Clear connection to user-facing functionality Tracking user objectives and steps must be measured as close to the user as possible (for example, in the user interface or the servers that handle requests from the user interface) and is therefore more closely aligned with the servers at the entry points of the stack. Infrastructure servers that provide a service API that typically solves a specific problem might not be directly related to the user's objectives. For example, a data storage service might have a low-level API with simple load and store commands that aren't associated with specific user objectives. The following are options for applying a product support model to infrastructure servers: Treat infrastructure clients as users and define user objectives and steps for the infrastructure's API. This is the least desirable option because it is the same as having a product without user objectives. However, there might be situations in which the infrastructure itself can be viewed as a product. In these cases, though, the product decision-makers must define the product; this is not an SRE responsibility. Configure infrastructure clients to provide the user objective information based on user input from their end users. This option helps infrastructure teams in the following ways:\n Provides valuable information about the end user's goals. Helps infrastructure teams identify the RPC requests that are important to the end user. Do not adopt a product focus. Infrastructure services are defined by their service APIs, which might benefit from the traditional service support model. If the product support model offers benefits that you want to access, consider how you might achieve those benefits in other ways. **Table 8:** Options for applying a product support model to infrastructure servers\n\n### Conclusion\n\nThe product support model provides a framework for SRE teams to focus their support on what matters most to the users (a traditional SRE goal) and the business as a whole. This model aligns the SRE team with the rest of the organization and supports a common nomenclature and goals. The model solves a number of problems with the traditional service support model by helping SREs understand what's most important to the product, and by helping SREs use that knowledge to better cover the gaps in the service support model. Ultimately, the product support model lets the SRE team focus on the user to ensure that the product meets the end user's real-world needs.\n\n### References\n\n[1] Ulwick, A.W. and Osterwalder, A. (2016). Jobs to be done : theory to practice. [online] Idea Bite Press. Available at: [https://jobs-to-be-done-book.com/](https://jobs-to-be-done-book.com/) [2] chang, austin (2017). What To Do If Your Product Isn't Growing. [online] Initialized Capital. Available at: [https://medium.com/initialized-capital/what-to-do-if-your-product-isnt-growing-7eb9d158fc](https://medium.com/initialized-capital/what-to-do-if-your-product-isnt-growing-7eb9d158fc) [3] Beyer, B., Jones, C., Petoff, J. and Murphy, N. (2016). Site reliability engineering : How Google runs production systems. Sebastopol, Ca: O'reilly Media. [4] Beyer, B., Murphy, N., Rensin, D.K., Kawahara, K. and Thorne, S. (2018). The site reliability workbook practical ways to implement SRE. Cambridge O'reilly. [5] Kalbach, J. (2020). The jobs to be done playbook : align your markets, organizations, and strategy around customer needs. New York: Two Waves Books. [6] Google Cloud. (n.d.). Incidents and the Google Cloud Service Health Dashboard | Support Documentation. [online] Available at: [https://cloud.google.com/support/docs/dashboard#major_incident](https://cloud.google.com/support/docs/dashboard#major_incident) [Accessed 20 Apr. 2023]. [7] Wikipedia Contributors (2019). Responsibility Assignment Matrix. [online] Wikipedia. Available at: [https://en.wikipedia.org/wiki/Responsibility_assignment_matrix](https://en.wikipedia.org/wiki/Responsibility_assignment_matrix)", "znaku_textu": 41627, "slov": 6512, "odkazu": 56, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:36", "sha256": "ee80fb02f28b53f421757957c498770d6085118e5e199fe606e33b98e5e85d42", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://jobs-to-be-done-book.com/", "https://medium.com/initialized-capital/what-to-do-if-your-product-isnt-growing-7eb9d158fc", "https://cloud.google.com/support/docs/dashboard", "https://en.wikipedia.org/wiki/Responsibility_assignment_matrix", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/production-launch-planning/", "titulek": "Google SRE - Practices for launching a new product", "h1": "Creating a Production Launch Plan", "popis": "Best practices for production launch planning. Optimize your product launch strategy with google product launch sre book for successful deployments.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/production-launch-planning/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "This report presents strategies to sustain launch planning practices over time by scaling the to the size of the launch and the teams involved. Some products might launch fine with little planning, while others could require long and rigorous planning efforts. Some organizations might have small operations teams, yet others might have just one product and launch product features instead of entire products. By practicing launch planning, your organization can build up the degree of proficiency it needs.", "datePublished": "2019-11-13", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/CreatingProductionLaunchPlan.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Creating a Production Launch Plan", "author": [{"@type": "Person", "name": "Alec Warner"}, {"@type": "Person", "name": "Vitaliy Shipitsyn"}, {"@type": "Person", "name": "Carmela Quinito"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-492-07594-3"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Creating a Production Launch Plan"}], "markdown": "# Creating a Production Launch Plan\n\nWritten by:\n Alec Warner & Vitaliy Shipitsyn with Carmela Quinito\n\nThis report presents strategies to [sustain launch planning practices](https://sre.google/sre-book/service-best-practices/) over time by scaling the to the size of the launch and the teams involved. Some products might launch fine with little planning, while others could require long and rigorous planning efforts. Some organizations might have small operations teams, yet others might have just one product and launch product features instead of entire products. By practicing launch planning, your organization can build up the degree of proficiency it needs.\n\nRemember that for a successful launch, planning isn’t optional. Plan your launches and launch successfully with confidence!\n\nThis report presents different areas of launch planning, offering a selection of relevant examples based on lessons learned at Google. The authors build on these examples to develop [launch practices](https://sre.google/sre-book/reliable-product-launches/), providing a guide to help you determine where your product could use help on the way to its users. Use it as you build a launch checklist, and follow the checklist to launch successfully!\n\n[PDF](/static/pdf/CreatingProductionLaunchPlan.pdf) [MOBI](/static/pdf/CreatingProductionLaunchPlan.mobi) [EPUB](/static/pdf/CreatingProductionLaunchPlan.epub)", "znaku_textu": 1392, "slov": 183, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:21", "sha256": "efe37b19d67ce246616e017d877dc132bf5069ed2a820fa182bc0af4aea975e7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/reliable-data-processing-with-minimal-toil/", "titulek": "Google SRE - Reliable batch processing with minimal toil", "h1": "Reliable Data Processing with Minimal Toil", "popis": "Minimize toil in batch processing using efficient and reliable data processing strategies. Google SRE best practices reduces manual work for your SRE team.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/reliable-data-processing-with-minimal-toil/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "This paper discusses an approach for making data pipelines both safer and less manual. We detail how we applied well known reliability best practices from user-facing services to batch jobs that underpin many of the services that make up Google Workspace. Using validation steps, canarying, and target populations for data pipelines, we ensure that only stable versions are promoted to the next environment stage.", "datePublished": "2021-10-10", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/reliable_data_processing_with_minimal_toil.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Reliable Data Processing with Minimal Toil", "author": [{"@type": "Person", "name": "Pieter Coucke"}, {"@type": "Person", "name": "Rita Sodt"}, {"@type": "Person", "name": "Julia Lee"}, {"@type": "Person", "name": "Rich Feit"}, {"@type": "Person", "name": "Athena Vawda"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "John Lunney"}], "publisher": [{"@type": "organization", "name": "Google"}], "bookEdition": "First Edition"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Reliable Data Processing with Minimal Toil"}], "markdown": "# Reliable Data Processing with Minimal Toil\n\nLearn about how Google SRE made batch processing safer and [less toil-intensive](https://sre.google/sre-book/eliminating-toil/)\n\nThis paper discusses an approach for making data pipelines both safer and less manual. We detail how we applied well known reliability best practices from user-facing services to batch jobs that underpin many of the services that make up Google Workspace. Using validation steps, canarying, and target populations for [data pipelines](https://sre.google/workbook/data-processing/), we ensure that only stable versions are promoted to the next environment stage. By moving to a single, standardized platform we minimized duplicate effort across services. We also touch on how we optimized batch jobs for both correctness and freshness SLOs, and the benefits of batch jobs vs. async event-based processing.\n\n[PDF](/static/pdf/reliable_data_processing_with_minimal_toil.pdf) [EPUB](/static/pdf/reliable_data_processing_with_minimal_toil.epub) [Video](https://www.youtube.com/watch?v=M_a5wGRPFGQ)", "znaku_textu": 1062, "slov": 129, "odkazu": 46, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:26", "sha256": "c25bf8ec87b37798b28167921e8b840f251cf1a96b55c6357168a2d08e2b0ad7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.youtube.com/watch?v=M_a5wGRPFGQ", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/slo-adoption-and-usage/", "titulek": "Google SRE - Adoption and usage of slo with google sre", "h1": "SLO Adoption and Usage in SRE", "popis": "SRE practice with slo sre principles, this guide explores slos, including best practices for defining, measuring, and achieving SLO compliance.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/slo-adoption-and-usage/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "To realize the full benefits of SRE, organizations need well-thought out reliability targets known as service level objectives (SLOs) that are measured by service level indicators (SLIs), a quantitative measure of an aspect of the service. As examined in this report, these measurable goals set forth in an organization’s SLOs eliminate the conflicts inherent in change management and event handling that cause the pace of innovation to slow and business to suffer.", "datePublished": "2020-04-01", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/SloAdoptionAndUsageInSre.pdf", "bookFormat": "http://schema.org/Ebook", "name": "SLO Adoption and Usage in SRE", "author": [{"@type": "Person", "name": "Julie McCoy"}, {"@type": "Person", "name": "Nicole Forsgren"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-492-07534-9"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SLO Adoption and Usage in SRE"}], "markdown": "# SLO Adoption and Usage in SRE\n\nWritten by:\n Julie McCoy with Nicole Forsgren\n\nTo realize the full benefits of SRE, organizations need well-thought out reliability targets known as [service level objectives (SLOs)](https://sre.google/sre-book/service-level-objectives/) that are measured by service level indicators (SLIs), a quantitative measure of an aspect of the service. As examined in this report, these measurable goals set forth in an organization’s SLOs eliminate the conflicts inherent in change management and event handling that cause the pace of innovation to slow and business to suffer. Understanding how well your service meets expectations also gives managers valuable business perspectives. [SLO compliance](https://sre.google/resources/practices-and-processes/art-of-slos/) can inform whether you invest in making your system faster, more available, or more resilient. Or, if your system consistently meets SLOs, you may decide to invest staff time on other priorities, such as new products or features.\n\n[PDF](/static/pdf/SloAdoptionAndUsageInSre.pdf)", "znaku_textu": 1067, "slov": 147, "odkazu": 44, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:19", "sha256": "e4189654e277477a523870f9bb859b82c0d253edb7ebad73d36586c36b6bb8ee", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/sre-fundamentals-course/", "titulek": "SRE Fundamentals online course with Google", "h1": "SRE Fundamentals online course", "popis": "Site Reliability Engineering Fundamentals online course, Site Reliability Engineering, learn about Site Reliability Engineering, SRE", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/sre-fundamentals-course/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Fundamentals online course"}], "markdown": "# SRE Fundamentals online course\n\nMaster Site Reliability Engineering with [SRE Fundamentals with Google!](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) This course covers essential concepts and practical applications, including Service Level Objectives (SLOs). Learn to identify key metrics, build effective SLOs, and create alerts to maintain performance standards. Dive into Systems Design by developing systems from product specifications, assessing single points of failure, and understanding performance and capacity planning. Ideal for aspiring SREs and seasoned professionals, this course provides foundational knowledge for system reliability and operational excellence.\n\n[Sign up](https://uplimit.com/organization/google-sre/invite/sre-fundamentals-with-google) with our partner, Uplimit.", "znaku_textu": 839, "slov": 95, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:33", "sha256": "022fe8591b2b00d2da27aafbfcb9fb926449c9c36f6c35fe29785872dc1ad5fd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://uplimit.com/organization/google-sre/invite/sre-fundamentals-with-google", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/stpa/", "titulek": "Systems-Theoretic Accident Model and Processes (STAMP) at Google", "h1": "Systems-Theoretic Accident Model and Processes (STAMP) at Google", "popis": "Google is using Systems-Theoretic Accident Model and Processes, including System Theoretic Process Analysis (STPA) and Causal Analysis based on System Theory (CAST) to analyze pure software systems and discover the unknown unknowns: risks of which you are unaware and not actively seeking.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/stpa/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Systems-Theoretic Accident Model and Processes (STAMP) at Google"}, {"uroven": 3, "text": "The Case of the Misnamed Cities: CAST Analysis of a Google Maps Incident"}, {"uroven": 3, "text": "Mapping a Better Future with STPA talk from SREcon Americas 2025"}, {"uroven": 3, "text": "STPA for Software Systems -- Illuminate the Unknown Unknowns SREcon EMEA 2025"}], "markdown": "# Systems-Theoretic Accident Model and Processes (STAMP) at Google\n\nGoogle's SRE team pioneered methods to keep failures rare by engineering reliability into every part of the stack—Service Level Objectives (SLOs), error budgets, isolation strategies, thorough postmortems, progressive rollouts, and other techniques. In the face of increasing system complexity and emerging challenges: what's next? How can we continue to push the boundaries of reliability and safety?\n\nTo address these challenges, we are reexamining our beliefs about why incidents occur. Google is exploring a new causality model, Systems-Theoretic Accident Model and Processes (STAMP). We are using two methods based on this model. System Theoretic Process Analysis [(STPA)](https://sre.google/stpa/teaching/) is forward-looking. STPA enables us to analyze pure software systems and discover the unknown unknowns: risks of which you are unaware and not actively seeking. Causal Analysis based on System Theory (CAST) is retrospective, enabling us to supercharge our postmortems. Learn more about how we're using STPA and CAST in the following videos, articles, and podcast.\n\n### The Case of the Misnamed Cities: CAST Analysis of a Google Maps Incident\n\n[Learn more](https://www.usenix.org/conference/srecon26americas/presentation/barroso)\n\n### Mapping a Better Future with STPA talk from SREcon Americas 2025\n\n[Learn more](https://www.usenix.org/conference/srecon25americas/presentation/klein)\n\n### STPA for Software Systems -- Illuminate the Unknown Unknowns SREcon EMEA 2025\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/klein)\n\n| [The Evolution of SRE at Google](https://goo.gle/stpa-article) by Tim Falzone and Ben Treynor Sloss | [STPA - Teaching a new way to prevent \noutages at Google](https://goo.gle/stpa-blogpost) by Garrett Holthaus |\n| --- | --- |\n\n[Listen to the Prodcast:](/prodcast/#season4-episode7)\n\nThe One With STPA and Jeffrey and Theo", "znaku_textu": 1911, "slov": 246, "odkazu": 48, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:37", "sha256": "a49f34ff03376ab67b55d62b11bc9448938caaf951cb2dc8cf48c3b76fc36304", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon26americas/presentation/barroso", "https://www.usenix.org/conference/srecon25americas/presentation/klein", "https://www.usenix.org/conference/srecon25emea/presentation/klein", "https://goo.gle/stpa-article", "https://goo.gle/stpa-blogpost", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/", "titulek": "Training Google SREs | Training Course for any Organisation", "h1": "Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program", "popis": "How to design SRE training courses tailored to organization maturity, system knowledge and engineer experience-based on Google's proven training model.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Book", "description": "Providing training and education for Site Reliability Engineers is universally important to set them up for success in your organization.\n\nHowever, the specific training needs of each engineer varies depending on several factors:\n\nThe maturity of your organization in adopting SRE principles, practices, and culture\nThe knowledge those individuals have about your organization and infrastructure\nThe experience of the individuals being trained, both in terms of technical skill and familiarity with the SRE model\nExplore these dimensions with core members of Google's Site Reliability training programs.", "datePublished": "2019-11-15", "url": "https://static.googleusercontent.com/media/sre.google/en//static/pdf/TrainingSiteReliabilityEngineers.pdf", "bookFormat": "http://schema.org/Ebook", "name": "Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program", "author": [{"@type": "Person", "name": "Jennifer Petoff"}, {"@type": "Person", "name": "JC van Winkel"}, {"@type": "Person", "name": "Preston Yoshioka"}, {"@type": "Person", "name": "Jessie Yang"}, {"@type": "Person", "name": "Jesus Clement Collado"}, {"@type": "Person", "name": "Myk Taylor"}], "publisher": [{"@type": "organization", "name": "O'Reilly Media"}], "bookEdition": "First Edition", "isbn": "978-1-492-07598-1"}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program"}], "markdown": "# Training Site Reliability Engineers: What Your Organization Needs to Create a Learning Program\n\nWritten by:\n Jennifer Petoff, JC van Winkel & Preston Yoshioka with Jessie Yang, Jesus Climent Collado & Myk Taylor\n\nProviding [training and education for Site Reliability Engineers](https://sre.google/sre-book/software-engineering-in-sre/) is universally important to set them up for success in your organization.\n\nHowever, the specific training needs of each engineer varies depending on several factors:\n\n- The maturity of your organization in adopting SRE principles, practices, and culture\n- The knowledge those individuals have about your organization and infrastructure\n- The experience of the individuals being trained, both in terms of technical skill and familiarity with the SRE model\n\nExplore these dimensions with core members of Google's Site Reliability training programs.\n\n[PDF](/static/pdf/TrainingSiteReliabilityEngineers.pdf) [EPUB](/static/pdf/TrainingSiteReliabilityEngineers.epub) [MOBI](/static/pdf/TrainingSiteReliabilityEngineers.mobi)", "znaku_textu": 1047, "slov": 125, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:20", "sha256": "57ff2c05c1d44b71a51845fb4f4f9fd3debc119862413ae279505b09b0ebe9a7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/twenty-years-of-sre-lessons-learned/", "titulek": "Google SRE lessons - key principles of site reliability engineering", "h1": "Lessons Learned from Twenty Years of Site Reliability Engineering", "popis": "Learn about the eleven lessons, from two decades, shared by site reliability engineers at Google, essential SRE lessons and core principles of SRE.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/twenty-years-of-sre-lessons-learned/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Lessons Learned from Twenty Years of Site Reliability Engineering"}, {"uroven": 2, "text": "Or, Eleven things we have learned as Site Reliability Engineers at Google"}, {"uroven": 3, "text": "Authors"}, {"uroven": 3, "text": "Contributors"}, {"uroven": 3, "text": "Foreword"}, {"uroven": 2, "text": "1"}, {"uroven": 2, "text": "2"}, {"uroven": 2, "text": "3"}, {"uroven": 2, "text": "4"}, {"uroven": 2, "text": "5"}, {"uroven": 2, "text": "6"}, {"uroven": 2, "text": "7"}, {"uroven": 2, "text": "8"}, {"uroven": 2, "text": "9"}, {"uroven": 2, "text": "10"}, {"uroven": 2, "text": "11"}], "markdown": "# Lessons Learned from Twenty Years of Site Reliability Engineering\n\n## Or, Eleven things we have learned as Site Reliability Engineers at Google\n\n### Authors\n\nAdrienne Walcer, Kavita Guliani, Mikel Ward, Sunny Hsiao, and Vrai Stacey\n\n### Contributors\n\nAli Biber, Guy Nadler, Luisa Fearnside, Thomas Holdschick, and Trevor Mattson-Hamilton\n\n### Foreword\n\nA lot can happen in twenty years, especially when you're busy growing.\n\nTwo decades ago, Google had a pair of small datacenters, each housing a few thousand servers, connected in a ring by a pair of 2.4G network links. We ran our private cloud (though we didn't call it that at the time) using Python scripts such as \"Assigner\" and \"Autoreplacer\" and \"Babysitter\" which operated on config files full of individual server names. We had a small database of the machines (MDB) which helped keep information about individual servers organized and durable. Our small team of engineers used scripts and configs to solve some common problems automatically, and to reduce the manual labor required to manage our little fleet of servers.\n\nTime passed, Google's users came for the search and stayed for the free GB of Gmail, and our fleet and network grew with it. Today, in terms of computing power, we are over 1,000 times as large as we were 20 years ago; in network, over 10,000 times as large, and we spend far less effort per server than we used to while enjoying much better reliability from our service stack. Our tools have evolved from a collection of Python scripts, to integrated ecosystems of services, to a unified platform which offers reliability by default. And our understanding of the problems and failure modes of distributed systems also evolved, as we experienced new classes of outages. We created the [Wheel of Misfortune](https://sre.google/sre-book/accelerating-sre-on-call/), we wrote [Service Best Practices guides](https://sre.google/sre-book/service-best-practices/), we published Google's Greatest Hits, and today are horrified delighted to present:\n\n— Benjamin Treynor Sloss, Creator of Google SRE\n\nLessons learned from two decades of Site Reliability Engineering\n\nLet's start back in 2016, when YouTube was offering your favorite videos such as \"Carpool Karaoke with Adele\" and the ever-catchy \"Pen-Pineapple-Apple-Pen.\" YouTube experienced a fifteen-minute global outage, due to a bug in YouTube's distributed memory caching system, disrupting YouTube's ability to serve videos. Here are three lessons we learned from this incident.\n\n## 1\n\nThe riskiness of a mitigation should scale with the severity of the outage\n\nThere's a meme where one person posts a picture of a spider seen in their house, and the captain says, \"TIME 2 MOVE 2 A NEW HOUSE!\". The joke is that the incident (seeing a scary spider) would be responded to with a severe mitigation (abandon your current home and move to a new one). We, here in SRE, have had some interesting experiences in choosing a mitigation with more risks than the outage it's meant to resolve. During the aforementioned YouTube outage, a risky load-shedding process didn't fix the outage... it instead created a cascading failure.\n\nWe learned the hard way that during an incident, we should monitor and evaluate the severity of the situation and choose a mitigation path whose riskiness is appropriate for that severity. In a best case scenario, a risky mitigation resolves an outage. In a worst case scenario, the risky mitigation misfires and the outage is prolonged by something that was intended to fix it. Additionally, if everything is broken, you can make an informed decision to bypass standard procedures.\n\n## 2\n\nRecovery mechanisms should be fully tested before an emergency\n\nAn emergency fire evacuation in a tall city building is a terrible opportunity to use a ladder for the first time. Similarly, an outage is a terrible opportunity to try a risky load-shedding process for the first time. To keep your cool during a high-risk and high-stress situation, it's important to practice recovery mechanisms and mitigations beforehand and verify that:\n\n- they'll do what you need them to do\n- you know how to do them\n\nTesting recovery mechanisms has a fun side effect of reducing the risk of performing some of these actions. Since this messy outage, we've doubled down on testing.\n\n## 3\n\nCanary all changes\n\nAt one point, we wanted to push a caching configuration change. We were pretty sure that it would not lead to anything bad. But pretty sure is not 100% sure. Turns out, caching was a pretty critical feature for YouTube, and the config change had some unintended consequences that fully hobbled the service for 13 minutes. Had we [canaried those global changes](https://sre.google/workbook/canarying-releases/) with a progressive rollout strategy, this outage could have been curbed before it had global impact. [Read more about the canary strategy in this paper](https://storage.googleapis.com/pub-tools-public-publication-data/pdf/24017e52c907294589604a29a86f158828eda078.pdf), and [learn more in this video](https://www.usenix.org/conference/srecon18europe/presentation/davidovic).\n\nAround the same timeframe, YouTube's slightly younger sibling, Google Calendar, also experienced an outage which serves as the backdrop for the next two lessons.\n\n## 4\n\nHave a \"Big Red Button\"\n\nA \"Big Red Button\" is a unique but highly practical safety feature: it should kick off a simple, easy-to-trigger action that reverts whatever triggered the undesirable state to (ideally) shut down whatever's happening. \"Big Red Buttons\" come in many shapes and sizes—and it's important to identify what those big red buttons might be before you submit a potentially risky action. We once narrowly missed a major outage because the engineer who submitted the would-be-triggering change unplugged their desktop computer before the change could propagate. So when planning your major rollouts, consider What is my big red button? Ensure every service dependency has a \"big red button\" to exercise in an emergency. See [\"Generic Mitigations\"](https://www.oreilly.com/content/generic-mitigations/) for more!\n\n## 5\n\nUnit tests alone are not enough - integration testing is also needed\n\nAhh.... unit tests. They verify that an individual component can perform the way we need it to. Unit tests have intentionally limited scope, and are super helpful, but they also don't fully replicate the runtime environment and productionized demands that might exist. For this reason, we are big advocates of integration testing! We can use integration tests to verify that jobs and tasks can perform a cold start. Will things work the way we want them to? Will components work together the way we want them too? Will these components successfully create the system we want them to? This lesson was learned during a Calendar outage in which our testing didn't follow the same path as real use, resulting in plenty of testing... that didn't help us assess how a change would perform in reality.\n\nShifting to an incident that happened in February 2017, we find our next two lessons.\n\nFirst, unavailable OAuth tokens caused millions of users to be logged out of devices and services, and 32,000 OnHub and Google WiFi devices to perform a factory reset. Manual account recovery claims jumped by 10x because of failed logins. It took Google about 12 hours to fully recover from the outage.\n\n## 6\n\nCOMMUNICATION CHANNELS! AND BACKUP CHANNELS!! AND BACKUPS FOR THOSE BACKUP CHANNELS!!!\n\nYes, it was a bad time. You want to know what made it worse? Teams were expecting to be able to use Google Hangouts and Google Meet to manage the incident. But when 350M users were logged out of their devices and services... relying on these Google services was, in retrospect, kind of a bad call. Ensure that you have non-dependent backup communication channels, and that you have tested them.\n\nThen, the same 2017 incident led us to better understand [graceful degradation:](https://sre.google/sre-book/addressing-cascading-failures/#:~:text=Graceful%20degradation%20takes%20the%20concept,decreasing%20the%20quality%20of%20responses.)\n\n## 7\n\nIntentionally degrade performance modes\n\nIt's easy to think of availability as either \"fully up\" or \"fully down\" ... but being able to offer a continuous minimum functionality with a degraded performance mode helps to offer a more consistent user experience. So we've built degraded performance modes carefully and intentionally—so during rough patches, it might not even be user-visible (it might be happening right now!). Services should degrade gracefully and continue to function under exceptional circumstances.\n\nThis next lesson is a recommendation to ensure that your last-line-of-defense system works as expected in extreme scenarios, such as natural disasters or cyber attacks, that result in loss of productivity or service availability.\n\n## 8\n\nTest for Disaster resilience\n\nBesides unit testing and integration testing, there are other types of very important testing: disaster resilience and recovery testing. While resilience testing verifies that your service or system could survive in the event of faults, latency, or disruptions, recovery testing verifies that your service can transition back to homeostasis after a full shutdown. Both should be critical pieces of your business continuity strategy—as described in [\"Weathering the Unexpected\"](https://queue.acm.org/detail.cfm?id=2371516). A useful activity can also be sitting your team down and working through how some of these scenarios could theoretically play out—tabletop game style. This can also be a fun opportunity to explore those terrifying \"What Ifs\", for example, \"What if part of your network connectivity gets shut down unexpectedly?\".\n\n## 9\n\nAutomate your mitigations\n\nIn March of 2023, a near-simultaneous failure of multiple networking devices occurred in a few datacenters, resulting in a widespread packet loss. In this 6-day outage, an estimated 70% of services experienced varied levels of impact, depending on the location, service load, and configuration at the time of network failure.\n\nIn such instances, you can reduce your mean time to resolution (MTTR), by automating mitigating measures done by hand. If there's a clear signal that a particular failure is occurring, then why can't that mitigation be kicked off in an automated way? Sometimes it is better to use an automated mitigation first and save the root-causing for after user impact has been avoided.\n\n## 10\n\nReduce the time between rollouts, to decrease the likelihood of the rollout going wrong\n\nIn March of 2022, a widespread outage in the payments system prevented customers from completing transactions, resulting in the Pokémon GO community day being postponed. The cause was the removal of a single database field, which should have been safe as all uses of that field were removed from the code beforehand. Unfortunately, a slow rollout cadence of one part of the system meant that the field was still being used by the live system.\n\nHaving long delays between rollouts, especially in complex, multiple component systems, makes it extremely difficult to reason out the safety of a particular change. [Frequent rollouts](https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance)—with the proper testing in place— lead to fewer surprises from this class of failure.\n\n## 11\n\nA single global hardware version is a single point of failure\n\nHaving only one particular model of device to perform a critical function can make for simpler operations and maintenance. However, it means that if that model turns out to have a problem, that critical function is no longer being performed.\n\nThis happened in March 2020 when a networking device that had an undiscovered zero-day bug, encountered a change in traffic patterns that triggered that bug. As the same model and version of the device was being used across the network, a substantial regional outage ensued. What prevented this from being a total outage was the presence of multiple network backbones that allowed high-priority traffic to be routed via a still working alternative.\n\nLatent bugs in critical infrastructure can lurk undetected until a seemingly innocuous event triggers them. Maintaining a diverse infrastructure, while incurring costs of its own, can mean the difference between a troublesome outage and a total one.\n\nSo there you have it! Eleven [lessons learned, from two decades of Site Reliability Engineering at Google](../../../20/). Why eleven? Well, you see, Google Site Reliability, with our rich history, is still in our prime.\n\n[Download as PDF](/static/pdf/LessonsLearnedFromTwoDecades.pdf)", "znaku_textu": 12602, "slov": 1956, "odkazu": 52, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:38", "sha256": "8ac9731cf30c24f37f3ae59230dad8d0e791d04d03ba79a2e71c897e13f69f60", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://storage.googleapis.com/pub-tools-public-publication-data/pdf/24017e52c907294589604a29a86f158828eda078.pdf", "https://www.usenix.org/conference/srecon18europe/presentation/davidovic", "https://www.oreilly.com/content/generic-mitigations/", "https://queue.acm.org/detail.cfm?id=2371516", "https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/practices-and-processes/what-why-how/", "titulek": "Google SRE - A guide to engineering project initiation", "h1": "What, Why, How", "popis": "Learn how to initiate a project by defining objectives, requirements & value in the project initiation management phase, ensuring proper prioritization or rejection.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/practices-and-processes/what-why-how/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "What, Why, How"}, {"uroven": 2, "text": "A Guide to Engineering Project Initiation"}, {"uroven": 2, "text": "/"}, {"uroven": 3, "text": "Image credits in order of use:"}], "markdown": "# What, Why, How\n\n## A Guide to Engineering Project Initiation\n\nLearn about how to go from a project idea to a clear picture of the objective, requirements, and value proposition of the project so that it can be rejected or prioritized appropriately.\n\nGetting projects off the ground is something we all try to do all the time—from projects as small as a single change to the massive multi-year multi-engineer efforts we all know and love. For projects that take at least a week, most of us are familiar with the process of making a proposal/ticket, then a design doc, then writing the thing, then launching the thing, etc., and have probably tripped right into some of the pitfalls. I'm here, today, to talk about my theory on how to take an hour upfront so that you can start successful projects that solve the right problem in the right way and avoid some of the pitfalls.\n\nI had an internship in which I needed to build a tablet app that rendered information on a sphere using [Open GL ES](https://www.khronos.org/opengles/). The tablet OS didn't provide a matrix library, so I had to write one.\n\nI laid out the class and method names, wrote tests, coded it up, and then moved on to **the real problem.**\n\nSeveral weeks later, my triangles just weren't behaving—I mostly had a sphere but triangles would just show up in weird places or be missing entirely. I spent weeks debugging this. And eventually I realized that Open GL ES expects row-major matrices and my implemented matrix library was column-major. That intern project failed because I jumped straight into how to solve the problem without doing enough research into what the problem I was actually solving was.\n\nThis internship story is a simple version of what a lot of us do all the time and what it costs us. It costs us time, it costs us impact, it costs us reputation, and it holds us back. Specifically...\n\nThat's really easy to do. You see a problem and immediately start thinking of some ways to fix it—that's our natural instinct as engineers.\n\nSo how can we fix it?\n\nThe easiest way I have found to do this is...\n\nA week or more? That's a really short project! Yes, it is. But you know what only took a week and cost me a summer? Coding a matrix library for the wrong requirements.\n\nAnd remember: a week of development time usually becomes a month of full delivery time. And estimates are really hard, so always take your initial estimate and multiply it by two, or maybe five.\n\nFor me, in my career, I have found that a week is the right tradeoff point. The other tradeoff point I look at is \"is this risky\"—that is, \"could this break something important\" or \"am I unsure about the risk here\". If so, then I want another set of eyes anyway. Your organization or team might be different.\n\nA proposal should be a short document that explains a problem and why it needs to be solved. They are requests to prioritize projects—really, they're project initiation proposals. They aren't miniature design docs. They don't go into full details on all of the alternative implementations and tradeoffs. They aren't choosing an implementation or convincing anyone of the best solution—the goal of a proposal is...\n\nYou don't want to spend a bunch of time designing a solution for a problem that your team doesn't think needs to be solved at all.\n\nIn order to do that, we need to be able to answer a very important question: why? Arguably this is the hardest question to answer.\n\nWe'll talk more about figuring out what the problem is (you probably have a pretty good idea of that already), but let's stop for a second and talk about how to figure out if you should even try to solve a problem. Because maybe you **don't need to solve it at all or it isn't worth solving.**\n\nHere are a few questions to help you figure out why something is worth doing:\n\n1. Use the [5 Whys](https://en.wikipedia.org/wiki/Five_whys) to avoid assumptions and logic-traps and get to your real goal—why do you really want to solve this problem?\n2. Think carefully about the impact of solving a problem. What is the impact of solving the problem? What do you need to set up to know if you've completed this project successfully? What metrics do you need? If you're lucky, it's already measurable (such as \"we can reduce our compute resource usage by X\"), but if not, measure it.\n3. Sometimes I find it easier to answer \"why\" when I think about the impact on people. How does solving this benefit your customers? What about your team, org, or company? How about the world?\n\nUltimately, you want to be able to answer: what is the real reason for solving this problem? If you can't answer that, then drop the project or, if you can't drop it, find someone who can answer it. After all, why spend time on a project if you don't have a reason to solve it? So keep these questions in mind.\n\nCheck out Tanya Reilly's talk [\"Continuous\"](https://noidea.dog/continuous) for more on why \"But why?\" is such an important question and a great example of using [the 5 Whys technique](https://en.wikipedia.org/wiki/Five_whys). Simon Sinek's [\"How Great Leaders Inspire Action\"](https://www.ted.com/talks/simon_sinek_how_great_leaders_inspire_action) is also a classic example of why answering this question is important.\n\nWhat you're doing and why you're doing it translate directly into your objective and requirements.\n\nEspecially at the start of a project, during the proposal phase. This is because...\n\nA 2009 study on the impact of poor business requirements in tech projects found that tech projects with poor requirements often take more time while also missing their requirements at least half the time. Who wants to take longer for worse outcomes?\n\nSo that was 10 years ago, but it seems to still largely be true: the worse our understanding of our requirements is, the longer our projects take, even when you factor in the time to figure out those requirements.\n\nThe study also found that your development practices—agile, self-guided, waterfall, whatever—had much less impact on the project outcome than requirements maturity. How you do it is a lot less important than what you're trying to do.\n\nNot only do they waste time, but...\n\nSources: [https://www.zdnet.com/article/study-68-percent-of-it-projects-fail/](https://www.zdnet.com/article/study-68-percent-of-it-projects-fail/), [https://www.batimes.com/articles/the-impact-of-business-requirements-on-the-success-of-technology-projects.html](https://www.batimes.com/articles/the-impact-of-business-requirements-on-the-success-of-technology-projects.html), [https://www.iag.biz/resource/business-analysis-benchmark/](https://www.iag.biz/resource/business-analysis-benchmark/)\n\nAnd even worse,\n\nA lack of communication—clear communication and expectations, that is—causes a lot of weird project failures.\n\nSo we now know that the objective and requirements are important. Let's talk a bit about what bad ones look like.\n\nThis is the most common antipattern I see in design docs and proposals. It's kind of like a math proof—if your solution is the objective or is part of the objective, how does a reviewer decide if it's the right solution or even a problem worth solving?\n\nWe get away with this all the time because people reviewing our docs probably already know what we're saying, but that doesn't make for a very useful doc.\n\nHere's an easy test: if the objective is answering how something will be done, it's probably a solution, not an objective.\n\nIt's really easy to get caught up in designing the world. A castle in the sky would be pretty cool, but if what you actually need is a house with a place to park your car it won't work very well.\n\nThe castle in the picture here is actually a great example. This is Neuschwanstein, built in the late 1800s by King Ludwig II of Bavaria—also known as der Märchenkönig ('the Fairy Tale King'). Beautiful castle, inside and out, and the Disney castle is based on it. But it was so ambitious it was never finished—nobody properly lived in it and, though it was built in honor of Richard Wagner, Wagner died before visiting it. So Neuschwanstein is a perfect example of this—it was built as a tribute to Wagner, who never saw it, for Ludwig to live in, but he mysteriously died before living in it. It never fulfilled its minimum viable requirements.\n\nThat leads me to another common antipattern I see...\n\nThis is super easy to do—especially if you don't fully understand why the problem needs to be solved or what the real goals are.\n\nSo how do we do this properly?\n\nLet's talk through the process. First, set a timer for 60 minutes or less (type \"60 minute timer\" into Google Search to start a timer). We promised ourselves this would only take an hour, so let's stick to that.\n\nThen write down what you're doing and why you're doing it using a whiteboard, a notebook, a doc, or whatever medium works best for you. Take as long as you need on this step—if you don't get to the next step before the timer goes off, that's OK.\n\nHealthy brainstorming looks like this tangle of lightbulbs. Give yourself permission to come up with all the ideas and figure out which ones are good later. Healthy brainstorming means throwing all the ideas down, even the ones you know to be bad. You can note why they're bad, but you don't need to—I find I have to to make my brain shut up about them, but feel free not to.\n\nBonus points: think more about who should actually solve it and when it should be solved. Maybe the project has a prerequisite or maybe your team doesn't actually have the context needed to do it properly.\n\nStep 2 here is actually pretty critical. In general, it's really important to have someone you can bounce ideas off of—preferably someone with some context on what you work on that will help you suss out if this is worth pursuing or not before you spend any more time on this. Cultivating this kind of trust with a coworker is a phenomenal way to level up—you both end up with better results and hopefully a friend too.\n\nAnd remember: deciding not to do a project is a win too. You just spent about an hour deciding not to spend a week doing something not worthwhile and that's awesome.\n\nHere's a secret: what companies often really value is engineers who have initiative, drive, and tackle the problems that really matter. To do that, you need to think strategically instead of tactically. Writing a one-off script is a tactical choice. Figuring out that you have a class of similar problems you can automate together is a strategic one.\n\nNote: sometimes tactical solutions are the correct strategic choice. For instance, you might decide that the best thing for your team/system/etc. is to put a quick patch in now—that's a tactical fix for a strategic decision.\n\nImportant: Getting into the habit of thinking **strategically instead of tactically** is critical to your growth as an engineer—and remember you can flex those muscles when reviewing proposals and designs as well as when you write them.\n\nThank you all for reading.\n\n## /\n\n### Image credits in order of use:\n\n- [Clock by Pedro Cambra](https://flic.kr/p/aikYNY) used under [Creative Commons Attribution 2.0 Generic (CC BY 2.0)](https://creativecommons.org/licenses/by/2.0/).\n- [Neuschwanstein by Manuel Núñez Salinas](https://www.flickr.com/photos/manusascorner/9479513737/) used under [Creative Commons Attribution 2.0 Generic (CC BY 2.0)](https://creativecommons.org/licenses/by/2.0/).\n- [Antique Clock by Lucas Cobb](https://www.flickr.com/photos/cobblucas/4819051850/) used under [Creative Commons Attribution 2.0 Generic (CC BY 2.0)](https://creativecommons.org/licenses/by/2.0/).\n- [Lightbulbs by Joe Goldberg](https://www.flickr.com/photos/goldberg/107095332/) used under [Creative Commons Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0)](https://creativecommons.org/licenses/by-sa/2.0/).\n- [Stop and Think by DWRose](https://www.flickr.com/photos/dwrose/3659485835/) used under [Creative Commons Attribution 2.0 Generic (CC BY 2.0)](https://creativecommons.org/licenses/by/2.0/).", "znaku_textu": 11926, "slov": 1954, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:39", "sha256": "9860b35a675bcbd8719d1363163abd98d5943c0617bf1fa28a6e244210a24d20", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://flic.kr/p/aikYNY", "https://noidea.dog/continuous", "https://www.batimes.com/articles/the-impact-of-business-requirements-on-the-success-of-technology-projects/", "https://www.flickr.com/photos/manusascorner/9479513737/", "https://www.flickr.com/photos/pcambra/6103489580/", "https://www.flickr.com/photos/cobblucas/4819051850/", "https://www.flickr.com/photos/goldberg/107095332/", "https://www.flickr.com/photos/dwrose/3659485835/", "https://www.khronos.org/opengles/", "https://en.wikipedia.org/wiki/Five_whys", "https://www.ted.com/talks/simon_sinek_how_great_leaders_inspire_action", "https://www.zdnet.com/article/study-68-percent-of-it-projects-fail/", "https://www.batimes.com/articles/the-impact-of-business-requirements-on-the-success-of-technology-projects.html", "https://www.iag.biz/resource/business-analysis-benchmark/", "https://creativecommons.org/licenses/by/2.0/", "https://creativecommons.org/licenses/by-sa/2.0/", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/resources/videos/", "titulek": "Google SRE Video Gallery", "h1": "Google SRE Video Gallery", "popis": "The SRE digital video library to learn about SRE practices and build reliable production systems.", "klicova_slova": "", "kanonicka": "https://sre.google/resources/videos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [[{"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - Safe Client Behaviour", "description": "In this video, Ariel Goh of Google highlighted the critical role of maintaining safe client behavior in distributed systems to uphold server reliability. She elaborated on strategies for managing client-server interactions, specifically aiming to mitigate the risks of overload and errors stemming from client misbehavior. Goh stressed the significance of incorporating randomness in request timing, meticulously handling retries, and strategically shifting some control to the server to enhance overall system performance.", "thumbnailUrl": "https://lh3.googleusercontent.com/5Fkfox3ZAWZdk2GKbe-kEPsYVHgYyvA7iP2zpHBhibbTquYb-ZenZaYx-NYIkOS1mxAYp4pno9xwbooVJ7Y8yOAnzAReTcHrnXmds6SDCuuPLt6hrW4", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT31M37S", "contentUrl": "https://youtu.be/NHNZab_AzZo"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - Know Thy Enemy: How to Prioritize and Communicate Risks", "description": "This SREcon18 Asia/Australia video offers valuable insights for Site Reliability Engineers on prioritizing and effectively communicating risks. It highlights the common difficulties in intuitively assessing risks and proposes using the concept of expected cost to quantify risk. The presentation then details a practical methodology: leveraging a risk register to calculate this expected cost in terms of error budget consumption. This approach enables SREs to objectively prioritize and communicate risks, particularly those impacting Service Level Objectives (SLOs).", "thumbnailUrl": "https://lh3.googleusercontent.com/mqJFNrnyZds-Se4xbg00Tsd70ADOgGmtJpGTv_epBxkEcIOEyhi5qyp3hLWzBnxNIaxaUAkd9zFGHZiW21yuL7sAF0Werx43VGf-wDUXvtkaxNSQLU0", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT36M31S", "contentUrl": "https://www.youtube.com/watch?v=Gny_-gWBwa4"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - Productionizing Machine-Learning Services: Lessons from Google SRE", "description": "In their discussion on operationalizing machine learning services, Google's Salim Virji and Carlos Villavieja delve into the key challenges and valuable lessons learned. They underscore the paramount importance of continuous model training, maintaining high data quality, and achieving operational excellence for successful deployment and management of ML models in production.", "thumbnailUrl": "https://lh3.googleusercontent.com/IfNnil5A9ZLkJ5bp20S-9To1Rq3sEFwUdDmBzCbdYN_O5qVy775pGfMixXuv0-4n_G_8uncWTGJ6V1pOHWvl6bAeaVGfFUyM5bABkta7LOyMrjAqhSE", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT39M46S", "contentUrl": "https://www.youtube.com/watch?v=DEB8wEVxha0"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - How to Serve and Protect (with Client Isolation)", "description": "In this video, a Google Australia SRE with over three years of experience, including work on stateless front-ends and Google Search integrations, explores the complexities of client isolation within Google Maps. The speaker highlights the challenges posed by overloaded clients impacting other users and proposes strategies like load shedding, caching, and request prioritization to enhance system resilience and user experience for both external and internal users.", "thumbnailUrl": "https://lh3.googleusercontent.com/yyT4gROROreDQ4hE5LQkL5tetDqO2fG2teZ5GTl8OEzs0uK3K2lZednNqVaokhncnXrgB7t8KDBZfe5D5mZ8zL8JTZLJ7XGn662Uj0ne-F6Tx5SSKVs", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT23M51S", "contentUrl": "https://www.youtube.com/watch?v=viqiphJHZx4"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - Do Docs Better: Practical Tips on Delivering...", "description": "Riona MacNamara, a senior technical writer at Google, highlights in this video that effective documentation is far from a mere administrative chore; it's a cornerstone of successful software development. She argues that robust documentation directly impacts code quality, streamlines operational efficiency, and ultimately drives positive business outcomes. Her insights delve into the necessity of prioritizing documentation, exploring its multifaceted quality aspects (both structural and functional).", "thumbnailUrl": "https://lh3.googleusercontent.com/LEkQTy2MR7lvhS27I2vBu-RoPUJZ1T1H_EffaXJn2HfJWp_1pbp4z81f2sP43X1khs3VZhtfzqK58f0uvfHMowEfzNc8BLW9_2L1ly4Q5yZ2sq5OgmI", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT20M27S", "contentUrl": "https://www.youtube.com/watch?v=17f8elHd6aM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - Interviewing for Systems Design Skills", "description": "In this video, Google's Sebastian Kirsch, leveraging over ten years of experience, delves into the intricacies of interviewing Site Reliability Engineering (SRE) candidates for their systems design prowess. He highlights that a deep understanding of systems engineering is crucial for crafting an interview format that effectively gauges a candidate's abilities in design, management, complexity, and lifecycle considerations. Kirsch emphasizes the need to present scalable problems during these interviews to accurately assess a candidate's true capabilities. He also offers practical advice for interviewers on how to prepare questions and evaluate responses effectively.", "thumbnailUrl": "https://lh3.googleusercontent.com/IKAp8lgnXOLj8j6rjU_g5WOxb0dFoUt6-MRdrp5BDSuz3jq_4OChQswhqn9jhRRRixZgdQqJa6s5J-f3aIAp9vivu9kMiD4HZTRhEPSLSv_Ce4t7X8k", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT46M46S", "contentUrl": "https://www.youtube.com/watch?v=swfurPw8c6A"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Asia/Australia - A Theory and Practice of Alerting with Service Level Objectives", "description": "A Google Site Reliability Engineer (SRE) in Sydney shared insights on how their team tackled 'ops overload.' They achieved this by transitioning from cause-based alerts to symptom-based alerting, driven by Service Level Objectives (SLOs) and error budgets. This new approach focuses on user-visible issues, such as high latency, and triggers alerts when defined per-user SLOs are at risk. While robust observability tools remain crucial for debugging, the primary aim was to reduce unnecessary pages and enhance product quality, ultimately leading to a significant decrease in their pager load.", "thumbnailUrl": "https://lh3.googleusercontent.com/bsrl4Yzoq7PEJ2El3jeD1g2km-fsnMZs1umHMdAOHrxVb510KsOU4QI1yPWZrCFHebmOCRl--Syi9_JxS7Og98-cNShyMdFQHOvb6UR_Hq4TnA2MTUc", "uploadDate": "2018-07-11T00:00:00+00:00", "duration": "PT40M44S", "contentUrl": "https://www.youtube.com/watch?v=_2th8LDnvQk"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Americas - Building Successful SRE in Large Enterprises—One Year Later", "description": "In this SREcon18 Americas video, Dave from Google explored how Site Reliability Engineering (SRE) principles can be extended to customers, especially within platform-based systems. He stressed that user-perceived reliability is paramount, necessitating a collaborative partnership in platform environments. Drawing from the experiences of Google's Customer Reliability Engineering (CRE) group, Dave shared several key takeaways. He observed that enterprises are largely receptive to SRE, and successful adoption hinges on a willingness to change. It's crucial to begin by establishing Service Level Objectives (SLOs) and error budgets.", "thumbnailUrl": "https://lh3.googleusercontent.com/TJE7KwHuLhTtHCF_J8q8qbhEDKtEgY9ZD8wtr0HgJ4xpzH9aCalTUHtYd9Y--7lhft565rkOxQDShGbyIVPgkkhioHwOajyNn2O7_p_jk1ggAJA5bQ", "uploadDate": "2018-05-01T00:00:00+00:00", "duration": "PT40M06S", "contentUrl": "https://www.youtube.com/watch?v=7zPEkpMP4rM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Americas - When to NOT Set SLOs: Lots of Strangers Are Running My Software!", "description": "Marie, who previously worked at Pivotal, offers valuable insights from her experience in this video. Her team managed PWS, a public Platform as a Service built on Cloud Foundry. They faced the dual challenge of maintaining reliability while simultaneously fostering a learning environment for Cloud Foundry engineers. To address this, they embraced Site Reliability Engineering (SRE) principles, meticulously defining Service Level Indicators (SLIs)—metrics that directly reflect user value—and then setting SLOs as the acceptable thresholds for these crucial reliability metrics.", "thumbnailUrl": "https://lh3.googleusercontent.com/2NeZg2i4ZPzwnXHpVzJEgFx73mcEz2jg2GuzLNwvC_xQjeaS6ZQhY7fnSGsRoJyJMLy5YL513LSm1SSnP3yairhKprJXSYQY0f8_-tlW2UuGSoWZ30M", "uploadDate": "2018-05-01T00:00:00+00:00", "duration": "PT14M25S", "contentUrl": "https://www.youtube.com/watch?v=VKNLB5X66_w"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Americas - Help Protect Your Data Centers with Safety Constraints", "description": "In a discussion on data center automation, Christina Schulman and GN highlighted the critical need for safety constraints, drawing lessons from Google's past automation failures. They proposed a central mitigation mechanism within these systems to proactively prevent issues. GN elaborated on Google's Seriously system, which defines blast radii, establishes constraints based on Service Level Objectives (SLOs), and incorporates checks such as rate limits and health checks to ensure operational stability.", "thumbnailUrl": "https://lh3.googleusercontent.com/QnMle7bC7zbkuesXhK5wLrmOVbk5litDVHt0btqRvzaQLa3deIrRJR2EQ7x8P_xUpkmpBhu5V1O93z077M7GomJL4uHJ2H0c8OKo7IwTlFlmTVu5RtvU", "uploadDate": "2018-05-01T00:00:00+00:00", "duration": "PT19M37S", "contentUrl": "https://www.youtube.com/watch?v=BOP3z7uCW4w"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Americas - Resolving Outages Faster with Better Debugging Strategies", "description": "At SREcon18 Americas, Liz Fong-Jones and Adam Salter from Google Cloud presented strategies for faster outage resolution in distributed systems, focusing on improved debugging techniques. Their discussion targets those grappling with services composed of numerous microservices across multiple hosts and regions. They highlighted the challenge of pinpointing root causes from high-level alerts like 'users are seeing errors' and proposed a debugging model encompassing understanding blast radius, hypothesis formation, testing, fix development, and verification.", "thumbnailUrl": "https://lh3.googleusercontent.com/T_GVGx7vYZQsxvykfPrUX9CM2gPVA9Nxtj6k-iX0wRllsxTdDJuUgAOav9n0rO8FzK0zdbQ2wZ3aIAiM8wr6oSqfIiU8XL4FZjVZMTr0cQWO4Yd3DpA", "uploadDate": "2018-05-01T00:00:00+00:00", "duration": "PT38M38S", "contentUrl": "https://www.youtube.com/watch?v=WGoR2S410dY"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon18 Americas - Know Thy Enemy: How to Prioritize and Communicate Risks", "description": "At SREcon18 Americas, a video highlighted the critical need for Site Reliability Engineers (SREs) to understand, prioritize, and communicate risk. The speaker shared insights on the multifaceted and personal nature of risk, shaped by individual experiences. The talk explored various approaches to risk management, advocating for a balanced engagement rather than avoidance or paranoia. It also critiqued the industry's reliance on intuition for risk prioritization, exposing the psychological biases that often skew such judgments.", "thumbnailUrl": "https://lh3.googleusercontent.com/pUvGzkVHTrGUymHGHRcGdI-cJ_uyQ3a9RquesC8ol4Mh0jq5_b4hraRdHCrgPgyeFswy9uNIxVOOB7981OQkZnF8MWpUqxEsSfbzUqbLIPjXLNX8VA", "uploadDate": "2018-05-01T00:00:00+00:00", "duration": "PT40M14S", "contentUrl": "https://www.youtube.com/watch?v=CJbW24foxp0"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Asia/Australia: Distributed Consensus Algorithms", "description": "In this video from SREcon17 Asia/Australia, Laura from Google highlights the critical role of distributed consensus algorithms for Site Reliability Engineers. Drawing from her experience with a reliability-enhancing system at Google, she stresses that SREs must understand not only when to implement these algorithms but also when to avoid them, along with the operational and monitoring aspects of such systems.", "thumbnailUrl": "https://lh3.googleusercontent.com/36HvQoFSAbCwQmlyosmJS1S1NNnseqOfgxxnl7KBKUCH_6y6PQsGzcDD894dNBLyV1xhxD7D8pO15bfAEPrwCUXVwRt8CkSo1V1mKRtnD1sFQldcNhY", "uploadDate": "2017-06-16T00:00:00+00:00", "duration": "PT47M42S", "contentUrl": "https://www.youtube.com/watch?v=ikP5vHlW7nk"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Asia/Australia: Reliable Launches at Scale", "description": "Sebastian Erfane of Google outlines Google's approach to reliable product and feature launches at scale, defining a 'launch' as any new code introducing externally visible changes. To manage complexity, Google externalizes launch knowledge into a reproducible process that's lightweight, robust, thorough, adaptable, and scalable. Key to success are simplicity, fast common paths, and a high-touch strategy leveraging specialized Launch Lead Engineers.", "thumbnailUrl": "https://lh3.googleusercontent.com/3YCRiy6n9S5exZlqpLJ1-VnaNxhLU03ExVK-_tXsfafbcKA-U4pEkiIB6IaHeR6pTbQJ8RsBVg3BszXD7eaquPOQkExZpeKAj1JQvwvdSmWfiz0tvyYI", "uploadDate": "2017-06-16T00:00:00+00:00", "duration": "PT44M06S", "contentUrl": "https://www.youtube.com/watch?v=q-WmlQ3O740"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Asia/Australia: SRE Your gRPC—Building Reliable Distributed Systems Illustrated with gRPC", "description": "In this video, Gabe and Granny from Google offer practical advice on building robust distributed systems, using gRPC examples to illustrate their points. They advocate for a 'you build it, you run it' approach, sharing key principles like treating everything as a stack, sharing load, failing early, scaling gracefully, measuring everything, and understanding that 'best effort' isn't always sufficient. The presentation demonstrates these concepts by enhancing a basic greeter service with a translator backend, showcasing load balancing, RPC deadlines, and graceful degradation in action.", "thumbnailUrl": "https://lh3.googleusercontent.com/Dsf51yzF9QbPjkjfBxfMvlKIKTtE6BGAETSkTSz7FM4ve3NgytAHX0iZLZCpJBPzvVKaYUSoyM2hig3mxQCERS1q_eHx4BeFB19U87Q4fblOI_SH56g", "uploadDate": "2017-06-16T00:00:00+00:00", "duration": "PT47M29S", "contentUrl": "https://www.youtube.com/watch?v=eoy9z0UlaII"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - Care and Feeding of SRE", "description": "This video highlights how Google's Site Reliability Engineering (SRE) is built upon unique organizational values. A Google cyber liability manager discusses three critical principles: an unwavering commitment to reliability, the necessity of precise promises to uphold Service Level Objectives (SLOs), and the foundational belief in best intentions, which enables blameless post-mortems. Ultimately, these values are presented not as isolated tactics, but as the very framework of SRE's organizational design.", "thumbnailUrl": "https://lh3.googleusercontent.com/Hp2_vuGLPO-BMFsVuPOA4mmbWrMATmEutcv8z1JGoCG4uHxxrR6iWLvCbLQG6NE8kvoaQO967ZMgiwzO7lIahtojhK8CICYI71OtxZvAtzlY7yD38Bo", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT34M42S", "contentUrl": "https://www.youtube.com/watch?v=Y6dwYj3Kl9c"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - Diversity and Inclusion in SRE: A Postmortem", "description": "In this presentation, experienced SRE professional Finnerty tackles the persistent lack of diversity and inclusion within Site Reliability Engineering. Framing it as an 'ongoing incident' with significant moral, societal, and business repercussions, Finnerty highlights how the tech industry's diversity shortcomings harm individuals and carry substantial financial costs. The presentation advocates for a collective 'incident response' to address this critical challenge.", "thumbnailUrl": "https://lh3.googleusercontent.com/QdOBbUCyIGBCSlRA6wBJVwG8pMFPG3M9gKBGnaFU7Cqf0u0XGo_nLNKwdDVqrEpoE3rrfN3AL3IMHK_hTORK3856pKWuQsHGtbqDFm6YEOT_kQVrAw", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT40M58S", "contentUrl": "https://www.youtube.com/watch?v=898b7eS8RGw"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - SRE Your gRPC...", "description": "In this video, Liz and Gabe from Ads Reliable Systems shared crucial principles for crafting reliable services using gRPC and C++. They highlighted that building resilience involves proactive thought and subtle code adjustments. Key takeaways included recognizing that everything is inherently a stack, distributing load for redundancy, implementing early failure through deadlines, graceful degradation, comprehensive measurement, skepticism towards 'best effort' solutions, and understanding that these are guidelines, not rigid rules.", "thumbnailUrl": "https://lh3.googleusercontent.com/OSle_KzYcXUX26OjMS6UsG0l0wBBkCaBIE5TTLLsJe3UjeYxarvbEn1y9CyvPjrkKvqAOVbnhZUuUaSJL4Z-JdjBzF_1reZSfuuXjpD12p8CVQOBQ5Q", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT57M40S", "contentUrl": "https://www.youtube.com/watch?v=P0mAWekUo0o"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - Tech Leadership in SRE", "description": "Sean Reese's SREcon 17 presentation offers a concise look at tech leadership within Site Reliability Engineering. Drawing from his Google experience, Reese defines the tech lead (TL) role, outlining their responsibilities and offering guidance on effective collaboration and career progression. The core message emphasizes that successful SRE tech leadership hinges on empowering teams through clear vision, strong communication, and proactive problem-solving, rather than just individual technical prowess.", "thumbnailUrl": "https://lh3.googleusercontent.com/TsjO3gaK2d8azdlhPLfyGOwSRxNn5KrxlLgQIPc40uU9N-cWmJXZPJlPNm6F4P7iQQZ5AJcQ97lHP7Kv_uFj9jibUTo7GPXPAsBa2rA5UU2pXiwGt2TD", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT30M30S", "contentUrl": "https://www.youtube.com/watch?v=6G2V1xPIM64"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - Cognitive Bias and On-Call", "description": "This video explores how cognitive biases impact Site Reliability Engineers (SREs) during on-call shifts, linking these challenges to psychological concepts of System 1 (fast, intuitive) and System 2 (slow, deliberate) thinking. It specifically addresses biases such as anchoring, the availability heuristic, the conjunction fallacy, and probability weighting, and their direct implications for incident response. A survey involving over 200 SREs confirms their susceptibility to these biases. To mitigate these effects, the video recommends practical strategies like utilizing handoff documents and limiting shift durations, and advocates for automating incident remediation.", "thumbnailUrl": "https://lh3.googleusercontent.com/S25sUaZp0Tea1abVnzkDu6NoTTWpt2s9q-7G2Da5jRxpy3hADjNSnYTdE1_ttiXGYgNGWg-Z2riolQHdR3B4CT9-jAVJBVoYk_WFRbaLtSlQ7ZPSV1W8", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT57M13S", "contentUrl": "https://www.youtube.com/watch?v=jF7VLBY0ojc"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Europe/Middle East/Africa - The History of How We Came to Be", "description": "The video highlights Site Reliability Engineering (SRE) as a modern reunification of computer engineering and operations. Initially, computing roles were integrated, but the commercialization of computers led to a divergence into specialized operations and engineering functions. This split was driven by increasing complexity, commercial pressures, and, as the speaker suggests, an element of chauvinism. The rise of mini-computers and the internet further deepened this specialization, setting the stage for SRE to bridge the divide once more.", "thumbnailUrl": "https://lh3.googleusercontent.com/TfcIejI57i8ZTTph0fIZWE_gPwL_JzH8DYm0DrJm2p6Nx7isr7mfyySrE9TZnhCIhyVpt0UFPJnwiZYaMX8x-dLBbwB9f4WMmSXnM1If0SR2GCVWYac", "uploadDate": "2017-09-19T00:00:00+00:00", "duration": "PT21M11S", "contentUrl": "https://www.youtube.com/watch?v=IOkojekADlU"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - Reliability When Everything Is a Platform: Why You Need to SRE Your Customers", "description": "Dave's SREcon17 Americas talk highlights the escalating complexity of system reliability. As applications become API-driven platforms, customer-perceived reliability is now a product of both the platform's stability and the reliability of what customers build on it. This necessitates a shift from internal SRE practices to active customer engagement. Platform providers must collaborate with customers through application reliability reviews, shared monitoring, joint operational rigor, joint on-call rotations, and collaborative projects and tooling to enhance overall reliability.", "thumbnailUrl": "https://lh3.googleusercontent.com/GDx9oWCWTwlm3-JiuK3K5_XzGoxmAUYu1dJs_cN6bpEhERZORFqkG6RvnegtNuFvLuutIl1jyNHfCCfHdTyW1TmJbbKUNqRO_o2FudqD3dewqmG7WIo", "uploadDate": "2020-04-25T00:00:00+00:00", "duration": "48M54S", "contentUrl": "https://www.youtube.com/watch?v=MCeSi20T2Jo"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - Engineering Reliable Mobile Applications", "description": "This video explores applying Site Reliability Engineering (SRE) principles to mobile, recognizing its distinct challenges compared to server-side SRE. Google's Christine Chen emphasizes that while core SRE responsibilities like availability, latency, performance, efficiency, change management, monitoring, and emergency response remain crucial, mobile environments introduce complexities. These include non-uniform and uncontrollable user environments, monitoring limitations due to privacy and resource constraints, and the difficulty of rolling back releases.", "thumbnailUrl": "https://lh3.googleusercontent.com/NxbZ0eOVZc5bPjzzzlP-G478C4K4o3ZrwUTMyyw23s3IfvLJ-Ve0-V5gYM3QQK2Hiyl9IhWFjUTVsRib4spnJzPKr9XTwG3paZ6o_iugsmo_EZZvsY3s", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "23M43S", "contentUrl": "https://youtu.be/9MheBi0swoM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - How to Work with Technical Writers", "description": "In this video, Google SRE technical writer Diane Bates explains how collaborating effectively with technical writers can significantly reduce engineering time spent on user support and lead to clearer documentation. She breaks down the documentation process into three phases: planning, writing, and polishing/releasing. Bates emphasizes the importance of clear communication, setting expectations and timelines, providing necessary resources and access, designating point people for information, and conducting timely, thorough technical reviews for successful collaboration.", "thumbnailUrl": "https://lh3.googleusercontent.com/ez_NFkPlFqDBntk2a2T_7d2H13uAfwXOpcdDgYe78MOqx8-OOkD0LZ2Yjv3ZXLLSHyb4XeHgtenC9VrN1xlY5uOlVO9jrL3XQcmYVLPmqGDtgt7onA", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "30M53S", "contentUrl": "https://youtu.be/1VYb1uHVANM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - Postmortem Action Items: Plan the Work and Work the Plan", "description": "In a Google SRE video, Sue and Betsy underscore the critical need to act on post-mortem findings to truly learn from incidents. They point out common issues like lopsided action plans, mistaking symptoms for root causes, finger-pointing, and overlooking chances for mitigation. To counter this, they recommend prioritizing and assigning action items, securing executive buy-in, and regularly reviewing post-mortems. The speakers champion a balanced strategy for boosting system reliability, suggesting adaptable changes and tailoring approaches to fit team requirements.", "thumbnailUrl": "https://lh3.googleusercontent.com/ACeidpZfRJKVpSgH-47ARsfsNLx6beMboeJc6rY0vmjI5dp5JGyT9S6dSIOqo0L33m7xtxx74EroVWrpQdbdlUKr_tfr_K-ooyOtuCzkb6ZalnZX3OA", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "22M29S", "contentUrl": "https://youtu.be/wp3JySvBknM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - Traps and Cookies", "description": "'Traps and Cookies' presentation video explores frequent production system pitfalls ('traps') and their remedies ('cookies'). Tanya shares personal experiences to highlight the necessity of designing systems that account for human error. Common traps include assuming perfect users, poor documentation, threatening buttons, dangerous defaults, excessive helpfulness, misleading errors, and 'haunted graveyards.' The video champions proactive system design, documentation, and operational strategies to mitigate human error and build a more resilient and user-friendly production environment.", "thumbnailUrl": "https://lh3.googleusercontent.com/RHWLLkbT_ksVIMDO9YP1n5Khfru1m6whgx14c7sRZVrTGZh2DzqnWmDhXGKUmcjJtQnjd3idweYbIi7JrnehXgIgXLPHWh4l6JEEty0FktR2m9XHkSs", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "23M05S", "contentUrl": "https://youtu.be/C9MbQVxBdZY"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - A Practical Guide to Monitoring and Alerting with Time Series at Scale", "description": "In this video, Google's Jamie provides a practical guide to large-scale monitoring and alerting using time series data, drawing insights from Google's internal strategies and showcasing Prometheus. The presentation underscores monitoring as the bedrock of reliable services and addresses the limitations of conventional systems. Jamie outlines core principles for efficient operations, emphasizing sub-linear scaling with service expansion and minimizing operational overhead. The video differentiates four monitoring types, highlighting real-time monitoring with fine granularity.", "thumbnailUrl": "https://lh3.googleusercontent.com/2417X-mxnDJZJtW518GzahXpFLYKHu-w_BB8ZuSBOvZidkPCEsJjkhRV1jqEaV5cr9yZscvAvUVqjr9q5aQZNelVFsv0vNRJ_OmYF0h2rgGrZjRxHqA", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "40M29S", "contentUrl": "https://youtu.be/DdA-coG0DM8"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon17 Americas - Ten Persistent SRE Antipatterns Pitfalls on the Road to a Successful SRE Program", "description": "This video tackles common SRE anti-patterns, advocating a shift from reactive operations to proactive, user-centric engineering. It covers key strategies like user experience-focused alerting, automated remediation, infrastructure as code, and autonomous systems. The discussion also highlights CI/CD with rollback, defining SLOs and error budgets, fostering product team collaboration, making business-driven availability decisions, and leveraging chaos engineering for resilient infrastructure.", "thumbnailUrl": "https://lh3.googleusercontent.com/iBS0h8m6yQQ_QcnizWLjdXLfolYgiYvPdROws9rd47y8MJZRcGEFsDkw5g_T0QDL5l9FYMNxPhJtAezyyKIaUzzMr723xzW9e-wuhKfXlE77jT-JFpU", "uploadDate": "2020-05-15T00:00:00+00:00", "duration": "54M25S", "contentUrl": "https://youtu.be/7Y06GIHlZl8"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - Relieving Technical Debt through Short Projects", "description": "Liz Tom Jones from Google's Big Table team explains how SRE teams can handle urgent 'interrupt' tasks without derailing long-term projects. She identifies the core issue: unplanned work constantly disrupts crucial project time, and typical solutions often fall short. The proposed strategy involves centralizing interrupts with on-call personnel. Additionally, secondary on-call engineers dedicate time to 'interrupt reduction projects.' These projects focus on small, high-impact improvements like automating fixes, enhancing documentation, or implementing proactive measures.", "thumbnailUrl": "https://lh3.googleusercontent.com/VcHdRdkNPFdayUhz3P232MAFx1VytV2bvCXE1ych40O9JmmM8q_kTfr0Vnqh-Y9CY_8gjqq9CY15OfkmP4b9Pq4Nphr7qm04u3jmKmI4Kmp7kmUKpJBe", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "20M47S", "contentUrl": "https://youtu.be/DJhplITDb_w"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - Challenges of Machine Learning at Scale", "description": "Graeme Porter, a Google SRE, concisely details the architectural challenges of large-scale machine learning pipelines, using ad click prediction as a prime example. His talk covers scaling feature extraction, efficient distributed and online model training, and serving large models via techniques like sharding, while also addressing common pitfalls like data quality issues.", "thumbnailUrl": "https://lh3.googleusercontent.com/RYvkJTruwe03Z8OwU3tF37odmrQu8GMyOkgSODbaId6p5wDSej1vBveyXDmMhx313KMhok447AuFaQzB_uronxf-RPNSSa4w294yEdT-AFC9KjGJ2rUi", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "40M56S", "contentUrl": "https://youtu.be/3iCiMX44Z4c"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - The Structure and Interpretation of Graphs", "description": "Neil Murphy's SREcon16 Europe talk, 'SRE as a Graph Interpreting Engineer,' highlights that SREs are essentially 'graph interpreting engineers.' He stresses the need for well-designed graphs to identify anomalies and gain deeper insights into system behavior. The talk explores various graph types, provides examples of insightful interpretations, and recommends alternative visualizations like population pyramids, Sankey diagrams, and heat maps to better understand complex systems.", "thumbnailUrl": "https://lh3.googleusercontent.com/xKALk6_-L2Oa1tObZTRd1vh4DlzKoGcSGKuGAPUlc_kzJKCkgibe5K0MOI2Dyu8TklyAP6qBDmjH3KzNciTBL0AZ1QJ_I7nQ7x1mJC71zt245j5wyRQ", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT38M23S", "contentUrl": "https://youtu.be/AY3pyaQ5N5o"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - The Many Ways Your Monitoring Is Lying to You", "description": "Sebastian Kirsch, a Google SRE, explains how monitoring systems often mislead. He highlights that monitoring is merely a representation, not the actual system. Kirsch details several 'lies' in monitoring: omissions, granularity, perspective, alignment, presentation, selection, and statistics, each capable of obscuring or misrepresenting system behavior. The core message is to approach monitoring dashboards with skepticism and always investigate the raw data.", "thumbnailUrl": "https://lh3.googleusercontent.com/kReTr4n838LX5LSHcWDA3BNOKnMkHMjz9B2xQL3cDoNNmqcq6l-_8QJVZlTDGD3KTnh4N8jCO8Yo5CHxHij_XTnGUr3-KRRZpBnrDbNvvChZ_j5CgfYm", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT39M02S", "contentUrl": "https://youtu.be/msHtnV41Ynk"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe-Load Shedding—Approaches, Principles, Experiences, and Impact in Service Management", "description": "In a concise presentation, former Google SRE manager and director Ocasio Cruz distills Google's strategy for load shedding in large-scale internet services, a practice refined after the 2009 Gmail outages. The core principles involve surviving peak performance by prioritizing critical traffic, understanding the quality of service and cost of requests, and decoupling policy from mechanism. Key techniques highlighted include load balancing at every architectural layer, meticulously tracking in-flight request costs, and implementing both hard and soft limits to manage system load effectively.", "thumbnailUrl": "https://lh3.googleusercontent.com/CTAM4A6eFWVe1NoT_y91MSqk9on_FZ_aLqjRZLNYAO_1McR-X8wX_yaGa-QJqLyntUe06pIVWQKSDSryTMAyYu807rcBQXojdG7rUWTZI2KMioV7EEM", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT46M34S", "contentUrl": "https://youtu.be/fEaQsWmO5j8"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - Capacity Planning at Scale", "description": "At SREcon16 Europe, Ramón Medrano Llamas of Google presented on the intricacies of large-scale capacity planning, defining it as the complete lifecycle management of compute resources, from initial planning to active utilization. He underscored the finite nature of these resources and detailed the capacity management process, including their procurement and ongoing maintenance. Llamas emphasized SRE's crucial role in automating and optimizing resource management, along with the necessity of precise demand forecasting via time series data.", "thumbnailUrl": "https://lh3.googleusercontent.com/FWFv7QoYeZTuTOnJNmm0cBxR1H3jbT_MYHSEXjYhid9p9HVJylQubuW-koIS-Tkmu8aPe5DuseBjxkMBE7ZgtT9cKdjAYGe6aS5ZcGi6GOCBHh6P2A", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT31M05S", "contentUrl": "https://youtu.be/nmv2FSTP470"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - Managing Up and Sideways as an SRE", "description": "In this video, Google Site Reliability Manager Liz Fong-Jones explains how anyone can develop management skills and positively influence their team, regardless of their job title. Key takeaways include understanding that management is a skill, not just a job title, and that individual contributors can actively participate in management activities. These include mentoring, coaching, sponsoring colleagues, assisting with career development, and setting others up for success. Individual contributors can also significantly impact their teams by handling technical and interpersonal conflicts, mediating disagreements, and setting positive examples", "thumbnailUrl": "https://lh3.googleusercontent.com/d8S0yVZdmv5dPPLA4pZBt6qAZyoe3NRAZtX_e9DUh9TwH1mJWXjpVNnqe9wWC-R1KmszTNQLXxI6zgGe_FFUiiUdkl7tXtVzE3-7h_NZ01SE7bxqS0lO", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT23M46S", "contentUrl": "https://youtu.be/2GfYVCd0qEw"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 Europe - Doorman: Global Distributed Client Side Rate Limiting", "description": "This video introduces Doorman, Google's global client-side rate limiting system. Doorman prevents client tasks from overwhelming shared resources by enabling them to coordinate and limit their collective traffic. A central Doorman server allocates and leases capacity to clients based on defined fairness rules, with client libraries managing communication and automatic rate adjustment. Its global distribution is facilitated by a server tree architecture, where master servers at each node manage connected client states.", "thumbnailUrl": "https://lh3.googleusercontent.com/bw2cZ2C1-qFyFWajdMp6mZvcsEtoas9t2OQkii0BWRJLN85HMCJrgTzlqORAgRFo0-ZbTXRUnRUgTTRO1xZVI1a4pBuCgQQ3b8NMxeP1xfuk_trKCIEh", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT32M17S", "contentUrl": "https://youtu.be/4Ipwgcdu-sQ"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - How to Improve a Service by Roasting It", "description": "This video features Cassie Dixon and Jake Welch from Azure SRE discussing their 'service roasting' technique, an internal Microsoft Azure tool designed to understand and enhance services. Service roasting is a good-natured investigative process that uncovers service shortcomings and documents improvement areas across the entire service lifecycle, from source control to disaster recovery. This approach fosters relationships, provides valuable service insights, proactively addresses issues, boosts development manager understanding, and builds context for future improvements.", "thumbnailUrl": "https://lh3.googleusercontent.com/loDtuh_FzT0z_tbexgZ6GAZBp_UBLg03BpPEjqP9FLlosRhX3jyjHJQF3GhfzxZRNWEFHcxHBg_Jbm9Oa4Al9-twyIf3AGf5uiC2q1uM_BLz_6fqJKg", "uploadDate": "2016-05-26T00:00:00+00:00", "duration": "PT21M59S", "contentUrl": "https://youtu.be/TTAsIj_h4Jw"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Service Levels and Error Budgets", "description": "Namurfi and Chris Jones from Google advocate for decoupling Service Level Agreements (SLAs), Service Level Indicators (SLIs), and Service Level Objectives (SLOs). They explain that SLAs are primarily for management and legal purposes, while SLIs should center on user experience. SLOs, on the other hand, ought to establish realistic expectations for system performance. They also highlight how error budgets define acceptable failure thresholds, allowing teams to innovate and take calculated risks without compromising reliability.", "thumbnailUrl": "https://lh3.googleusercontent.com/Xitlbw7HgRHmT6vEp2u7PT6nfI4lJacMzGaptOkuZOwsHkWaWe2FSSP-j_m1LP6efEwOI9wpSJE9skevrrxAFwb0qF3bX22Q9OIxVi8kmFcIx1l-Mw", "uploadDate": "2016-05-26T00:00:00+00:00", "duration": "PT23M01S", "contentUrl": "https://youtu.be/iOoxtpVBQ4I"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Finding the Order in Chaos", "description": "In this video, Google SRE Program Manager Sue Lieder explains Google's approach to incident management, highlighting their reliance on data for continuous reliability improvements. Initially, manual data analysis provided insights, but its lack of scalability led to a shift towards crowdsourcing data collection and leveraging specialized tools. Google now captures essential incident details, including various timing metrics (start, trigger, detection, escalation, mitigation, and resolution), alongside crucial metadata like root cause, trigger categories, severity, detection methods, and anti-patterns.", "thumbnailUrl": "https://lh3.googleusercontent.com/bcxFf6aJDQnmsuc4E2aYxdHcj89lZek_zzz4IyN4KcK7s-gRUYi0NpZFYMgFJBgJuTWgLN5MEjAEijVzG01w-eYTCWR6WvrCSR5N42MenNglHeqUf4g", "uploadDate": "2016-05-26T00:00:00+00:00", "duration": "PT20M32S", "contentUrl": "https://youtu.be/pDV4VAqCp6Q"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Doorman: Global Distributed Client Side Rate Limiting", "description": "Doorman is a globally distributed, client-side rate limiting system open-sourced by YouTube. It tackles the issue of managing client tasks that consume shared, limited resources, especially when server-side throttling isn't feasible. Doorman works by allocating and leasing capacity to clients, which then request and receive a fair share of resources (like queries per second) based on a configurable algorithm. Designed for cooperative clients, it integrates via a client library available in multiple languages and manages capacity agnostically, tracking metrics such as QPS or in-flight transactions.", "thumbnailUrl": "https://lh3.googleusercontent.com/SkFTsSFNWIQDVhPuEQnS-hXDId2guvaqQyORYRwyphZb0Gjb8wMGtC0r5Aa-jm-1EUQ-5a2uzzmK7c5C1aWVq5VuoGRjG_FDDWctiVvLAkgS2fEQNds", "uploadDate": "2021-11-12T00:00:00+00:00", "duration": "PT25M48S", "contentUrl": "https://youtu.be/E9XkLxxlxNE"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Putting Together Great SRE Teams", "description": "Kripa from Google shares her expertise on cultivating successful Site Reliability Engineering (SRE) teams. She stresses that defined roles and responsibilities outweigh job titles, advocating for pairing complementary skills—particularly technical prowess with project management. Kripa notes that team structures must evolve with project growth, incorporating specialists alongside generalists. She emphasizes that understanding team member personalities and working styles is crucial, as even minor adjustments in composition can significantly boost productivity.", "thumbnailUrl": "https://lh3.googleusercontent.com/wHugmhWxd3iZzwIQFOooCVpQrBQ4c5jBCwLtBmK3eKpR8rSi6wOuo2Q516RF7z7ACicavEd2PyAA3y5YFTs0davk_tfEV6bRvQzfX1SwxyQ7T4z9gA", "uploadDate": "2016-05-21T00:00:00+00:00", "duration": "PT42M01S", "contentUrl": "https://youtu.be/g6O8ZNZwA6w"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Privacy Reliability Engineering: Looking at Privacy through the Lens of SRE", "description": "Amber Yuse, a Google privacy engineer, reveals the striking parallels between privacy work and Site Reliability Engineering (SRE). Drawing on her SRE background, she demonstrates how core SRE principles enhance privacy efforts, specifically through automation for privacy-by-default systems, fostering a culture of root-cause problem-solving and knowledge sharing, prioritizing relationship management and collaboration, and employing evangelism to embed privacy early in development.", "thumbnailUrl": "https://lh3.googleusercontent.com/OxoYD8PVH-JY8Aj_Ie40ns8w86v0MYN9MNu3utidFVcHMvquJ9BUHK49oUbjtmIuqxl-0i9EngbWY89jS9ORN1ZgSjiyKJhXLRfRyRmP8YZX-d97CQ", "uploadDate": "2016-05-28T00:00:00+00:00", "duration": "PT19M35S", "contentUrl": "https://youtu.be/Jx2y2yi0rZc"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon16 - Building Reliable Social Infrastructure for Google", "description": "Mark Alides, a Google Site Reliability Engineer, explains how to build robust social infrastructure for platforms such as Google+, YouTube, and Strava. He notes that common social product features often conflict with standard distributed system design. Alides details solutions for scaling social systems by managing data consistency and partitioning, resolving data storage hotspots from viral content via variable TTL caching, and ensuring low latency for global users through latency hiding and CDNs instead of geographic partitioning.", "thumbnailUrl": "https://lh3.googleusercontent.com/RCnCP_pLuCEHJjigvY8Zggz4Ot5hcoqoBMbC5_BUkTL872Pc8kTvxoiiMuuraOIqis68B79s26tl12FtUI9HGyb2n1DrPvigytmZCJD2eiWPtvRSYf4", "uploadDate": "2016-05-28T00:00:00+00:00", "duration": "PT29M09S", "contentUrl": "https://youtu.be/3d7BPE56KOw"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "From Zero to Hero: Recommended Practices for Training your Ever-Evolving SRE Teams", "description": "Andrew Wilson from Google's Web Search SRE team shares insights on effectively training new Site Reliability Engineers (SREs) and continuously educating experienced team members. He underscores that SRE learning is predominantly on-the-job, given the absence of a standardized curriculum. The video emphasizes that comprehensive training builds trust and confidence in new SREs, empowering them to take ownership and grasp their training trajectory. Wilson offers practical advice, advocating for concrete sequential learning, training in troubleshooting, and celebrating postmortems.", "thumbnailUrl": "https://lh3.googleusercontent.com/NmBSnxurvIqNyLCcarUQOLyw-iGa17yEvF5njqY1DhtympeZDIE8d9KUhUziYAJKwl98-bf7OO1LlXebQ0Eyl6mjqsxSf7Q3YqFbwGXM5gP698u-d6Oa", "uploadDate": "2015-04-13T00:00:00+00:00", "duration": "PT51M22S", "contentUrl": "https://youtu.be/pE7RLRea0MM"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon15 - Error Budgets and Risks", "description": "This video frames error budgets as a crucial tool for managing risk and speeding up software development. It explains that Service Level Agreements (SLAs) quantify risk, particularly unplanned downtime. Consistently beating SLA targets, the video argues, means you're missing chances to innovate faster. The error budget is essentially the buffer above your SLA, enabling calculated risks like phased code rollouts. The video stresses that error budgets work for more than just low-latency systems, as long as you have clear SLA thresholds, robust measurement, and a history of over-performance.", "thumbnailUrl": "https://lh3.googleusercontent.com/GQ_5tp-lfm5cRsszhWzkKuyRT-3QcmeuuJZAiNzXo5Oh6RVtGqtBV2-u8W1oMgGV_C7mW-Ww7yi5rADWGU7lkHbNC8G6ZKMfDqMvhMUHk7k4WqywzA", "uploadDate": "2021-11-24T00:00:00+00:00", "duration": "PT40M19S", "contentUrl": "https://youtu.be/zmhjJmHD8x4"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon15 - Incident Analysis", "description": "Google's Insights Program analyzes outage trends to learn from incidents, using the Goal Question Metric (GQM) methodology. The program gathers incident data from diverse sources, organizes it in Google Sheets, and analyzes timelines, root causes, and severity. Key takeaways highlight the importance of automation to reduce manual effort, mitigating single points of failure, and incorporating multiple perspectives. The program shares findings through reports and is evolving towards predictive analysis and a self-service dashboard, emphasizing accountability for action items.", "thumbnailUrl": "https://lh3.googleusercontent.com/HWmm42BzAHofav0irbN58J53IBpiX9dpXHteNC3DiJb0MsJWAM0AsKTWvHKHEpFGjxiP_jm_jHpCSpCooiNnlsC8YzfY6W40asOL6GBMLYYxViBMLxI", "uploadDate": "2015-04-13T00:00:00+00:00", "duration": "PT38M11S", "contentUrl": "https://youtu.be/3v5-IRbenHc"}, {"@context": "https://schema.org", "@type": "VideoObject", "name": "SREcon14 - Keys to SRE", "description": "This video on 'Keys to SRE' distills Google's Site Reliability Engineering practices, highlighting that a product's core objective is reliability. It advocates for a dedicated SRE team to achieve this by outlining key tenets: managing releases with error budgets to foster developer collaboration, maintaining a common coding staff, capping operational load, sharing operational work with development, establishing clear on-call guidelines, and conducting blameless postmortems.", "thumbnailUrl": "https://lh3.googleusercontent.com/EEVyPR21zDuNwLT-xNVWp0GykKt9C5cdF0rSV7cumxXo05GbRTGgOZmV6PKf4GXV_N8YXe_nkPp_hzLwx4DsLhyr16VTuQ9cOonwsgD8LG7HRo6pQsOK", "uploadDate": "2014-06-27T00:00:00+00:00", "duration": "PT55M03S", "contentUrl": "https://youtu.be/n4Wf14e2jxQ"}]], "drobecky": [], "osnova": [{"uroven": 1, "text": "Google SRE Video Gallery"}, {"uroven": 2, "text": "Featured Videos"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - SRE for [cyber]security"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - SRE for [cyber]security"}, {"uroven": 2, "text": "All videos"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - Maximizing Utilization for LLM Accelerators"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - Leader Election: Pitfalls and Alternatives"}, {"uroven": 3, "text": "SREcon25 Europe/Middle East/Africa - The Bitter and the Sweet of Running a Planet-Scale Build &..."}, {"uroven": 3, "text": "SREcon25 Americas - Mapping a Better Future with STPA"}, {"uroven": 3, "text": "SREcon24 Europe/Middle East/Africa - Get Your Non-SREs Oncall Ready!"}, {"uroven": 3, "text": "SREcon24 Americas - Frontend Design in SRE"}, {"uroven": 3, "text": "SREcon24 Americas - Product Reliability for Google Maps"}, {"uroven": 3, "text": "10 Learnings From Running Production Infrastructure at Google • Christof Leng • GOTO 2023"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - Looking at SRE Needs and Trends over Two Decades with a..."}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - Artificial Intelligence: How Much Will It Cost You?"}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - New Grads Becoming New SREs: Catalyzing a “Circle of Life”..."}, {"uroven": 3, "text": "SREcon23 Europe/Middle East/Africa - SRE for [cyber]security"}, {"uroven": 3, "text": "SREcon23 Americas - Building a Diverse SRE Talent Pipeline"}, {"uroven": 3, "text": "SREcon22 Europe/Middle East/Africa - SRE in Enterprise"}, {"uroven": 3, "text": "SREcon22 Europe/Middle East/Africa - Measuring Reliability: What Got Us Here Won't Get Us There"}, {"uroven": 3, "text": "SREcon22 Europe/Middle East/Africa - Hunting for Risky Dependencies in the World of Microservices"}, {"uroven": 3, "text": "SREcon22 Europe/Middle East/Africa - Going from 30 to 30 Million SLOs"}, {"uroven": 3, "text": "SREcon22 Europe/Middle East/Africa - SRE and ML: Why It Matters"}, {"uroven": 3, "text": "SREcon22 Americas - DO, RE, Me: Measuring the Effectiveness of Site Reliability Engineering"}, {"uroven": 3, "text": "SREcon22 Americas - Principled Performance Analytics"}, {"uroven": 3, "text": "SREcon22 Americas - History-based Latency Prober Tuning"}, {"uroven": 3, "text": "SREcon22 Americas - Beyond Distributed Tracing"}, {"uroven": 3, "text": "SREcon22 Asia/Pacific - How Can We Make Data Integrity Easy?"}, {"uroven": 3, "text": "SREcon22 Asia/Pacific - Capacity vs Efficiency: Building a Globally Scalable Cloud Database"}, {"uroven": 3, "text": "SREcon22 Asia/Pacific - Introducing the Reliability Map – r9y.dev"}, {"uroven": 3, "text": "emBO++ 21 - JC van Winkel - SRE onboarding in covid times"}, {"uroven": 3, "text": "SREcon21 - Beyond Goldilocks Reliability"}, {"uroven": 3, "text": "SREcon21 - Reliable Data Processing with Minimal Toil"}, {"uroven": 3, "text": "SREcon21 - Scaling for a Pandemic: How We Keep Ahead of Demand for Google Meet during COVID-19"}, {"uroven": 3, "text": "SREcon21 - Horizontal Data Freshness Monitoring in Complex Pipelines"}, {"uroven": 3, "text": "SREcon21 - A Political Scientist's View on Site Reliability"}, {"uroven": 3, "text": "How Google SRE and Developers Work Together • Christof Leng • GOTO 2021"}, {"uroven": 3, "text": "SREcon20 Americas - Squish Level Objectives: How SRE can Help Align Technical Work to User Benefit"}, {"uroven": 3, "text": "SREcon20 Americas - Implementing Distributed Consensus"}, {"uroven": 3, "text": "Tech Learning Series | Non-Abstract Large Systems Design, Part 1"}, {"uroven": 3, "text": "Tech Learning Series | Non-Abstract Large System Design Introduction, Part 2"}, {"uroven": 3, "text": "SREcon Conversations Europe/Middle East/Africa with Štěpán Davidovič, Google Inc."}, {"uroven": 3, "text": "SREcon Conversations Europe/Middle East/Africa with Jennifer Petoff and JC van Winkel, Google Inc."}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - The Map Is Not the Territory: How SLOs Lead Us Astray, ..."}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - All of Our ML Ideas Are Bad (and We Should Feel Bad)"}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - Deploying SRE Training Best Practices to Production: How We..."}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - Bigtable: A Journey from Binary to Service and the Lessons..."}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - Zero Touch Prod: Towards Safer and More Secure..."}, {"uroven": 3, "text": "SREcon19 Europe/Middle East/Africa - The SRE I Aspire to Be"}, {"uroven": 3, "text": "12 Aditya Sen"}, {"uroven": 3, "text": "Site Reliability Engineering (SRE) at Google • Christof Leng • GOTO 2018"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - Safe Client Behaviour"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - Know Thy Enemy: How to Prioritize and Communicate Risks"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - Productionizing Machine-Learning Services: Lessons from Google SRE"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - How to Serve and Protect (with Client Isolation)"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - Do Docs Better: Practical Tips on Delivering..."}, {"uroven": 3, "text": "SREcon18 Asia/Australia - Interviewing for Systems Design Skills"}, {"uroven": 3, "text": "SREcon18 Americas - Resolving Outages Faster with Better Debugging Strategies"}, {"uroven": 3, "text": "SREcon18 Asia/Australia - A Theory and Practice of Alerting with Service Level Objectives"}, {"uroven": 3, "text": "SREcon18 Americas - Building Successful SRE in Large Enterprises—One Year Later"}, {"uroven": 3, "text": "SREcon18 Americas - When to NOT Set SLOs: Lots of Strangers Are Running My Software!"}, {"uroven": 3, "text": "SREcon18 Americas - Help Protect Your Data Centers with Safety Constraints"}, {"uroven": 3, "text": "SREcon18 Americas - Know Thy Enemy: How to Prioritize and Communicate Risks"}, {"uroven": 3, "text": "Life of an SRE at Google - JC van Winkel - Codemotion Rome 2017"}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - Care and Feeding of SRE"}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - Diversity and Inclusion in SRE: A Postmortem"}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - SRE Your gRPC..."}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - Tech Leadership in SRE"}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - Cognitive Bias and On-Call"}, {"uroven": 3, "text": "SREcon17 Europe/Middle East/Africa - The History of How We Came to Be"}, {"uroven": 3, "text": "SREcon17 Asia/Australia: Reliable Launches at Scale"}, {"uroven": 3, "text": "SREcon17 Asia/Australia: SRE Your gRPC—Building Reliable Distributed Systems Illustrated with gRPC"}, {"uroven": 3, "text": "SREcon17 Asia/Australia: Distributed Consensus Algorithms"}, {"uroven": 3, "text": "SREcon17 Americas - Engineering Reliable Mobile Applications"}, {"uroven": 3, "text": "SREcon17 Americas - How to Work with Technical Writers"}, {"uroven": 3, "text": "SREcon17 Americas - Postmortem Action Items: Plan the Work and Work the Plan"}, {"uroven": 3, "text": "SREcon17 Americas - Traps and Cookies"}, {"uroven": 3, "text": "SREcon17 Americas - A Practical Guide to Monitoring and Alerting with Time Series at Scale"}, {"uroven": 3, "text": "SREcon17 Americas - Ten Persistent SRE Antipatterns Pitfalls on the Road to a Successful SRE Program"}, {"uroven": 3, "text": "SREcon17 Americas - Reliability When Everything Is a Platform: Why You Need to SRE Your Customers"}, {"uroven": 3, "text": "Site Reliability Engineering (SRE) at Google • Christof Leng • GOTO 2017"}, {"uroven": 3, "text": "SREcon16 Europe - Challenges of Machine Learning at Scale"}, {"uroven": 3, "text": "SREcon16 Europe - Relieving Technical Debt through Short Projects"}, {"uroven": 3, "text": "SREcon16 Europe - The Structure and Interpretation of Graphs"}, {"uroven": 3, "text": "SREcon16 Europe - The Many Ways Your Monitoring Is Lying to You"}, {"uroven": 3, "text": "SREcon16 Europe-Load Shedding—Approaches, Principles, Experiences, and Impact in Service Management"}, {"uroven": 3, "text": "SREcon16 Europe - Capacity Planning at Scale"}, {"uroven": 3, "text": "SREcon16 Europe - Managing Up and Sideways as an SRE"}, {"uroven": 3, "text": "SREcon16 Europe - Doorman: Global Distributed Client Side Rate Limiting"}, {"uroven": 3, "text": "SREcon16 - Doorman: Global Distributed Client Side Rate Limiting"}, {"uroven": 3, "text": "SREcon16 - Building Reliable Social Infrastructure for Google"}, {"uroven": 3, "text": "SREcon16 - Privacy Reliability Engineering: Looking at Privacy through the Lens of SRE"}, {"uroven": 3, "text": "SREcon16 - How to Improve a Service by Roasting It"}, {"uroven": 3, "text": "SREcon16 - Service Levels and Error Budgets"}, {"uroven": 3, "text": "SREcon16 - Finding the Order in Chaos"}, {"uroven": 3, "text": "SREcon16 - Putting Together Great SRE Teams"}, {"uroven": 3, "text": "From Zero to Hero: Recommended Practices for Training your Ever-Evolving SRE Teams"}, {"uroven": 3, "text": "SREcon15 - Error Budgets and Risks"}, {"uroven": 3, "text": "SREcon15 - Incident Analysis"}, {"uroven": 3, "text": "SREcon14 - Keys to SRE"}], "markdown": "# Google SRE Video Gallery\n\nExplore our comprehensive video library, featuring expert-led tutorials and insights on SRE best practices. Enhance your skills with in-depth discussions on performance optimization, incident management, and more.\n\n## Featured Videos\n\n### SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/klein)\n\n### SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/mcglohon)\n\n### SREcon23 Europe/Middle East/Africa - SRE for [cyber]security\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/fischbach)\n\n### SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/klein)\n\n### SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/mcglohon)\n\n### SREcon23 Europe/Middle East/Africa - SRE for [cyber]security\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/fischbach)\n\n## All videos\n\nFilter by:\n\nUSENIX\n\nAI/ML\n\nSystems\n\nOrganization\n\nDistributed Systems\n\nObservability\n\nSLOs\n\nSociotechnical\n\nAutomation\n\nEducation\n\nSecurity\n\nTraining\n\n### SREcon25 Europe/Middle East/Africa - STPA for Software Systems–Illuminate the Unknown Unknowns\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/klein)\n\n### SREcon25 Europe/Middle East/Africa - Maximizing Utilization for LLM Accelerators\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/lunney)\n\n### SREcon25 Europe/Middle East/Africa - Leader Election: Pitfalls and Alternatives\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/medworth)\n\n### SREcon25 Europe/Middle East/Africa - The Bitter and the Sweet of Running a Planet-Scale Build &...\n\n[Learn more](https://www.usenix.org/conference/srecon25emea/presentation/koczorowski)\n\n### SREcon25 Americas - Mapping a Better Future with STPA\n\n[Learn more](https://www.usenix.org/conference/srecon25americas/presentation/klein)\n\n### SREcon24 Europe/Middle East/Africa - Get Your Non-SREs Oncall Ready!\n\n[Learn more](https://www.usenix.org/conference/srecon24emea/presentation/van-winkel)\n\n### SREcon24 Americas - Frontend Design in SRE\n\n[Learn more](https://www.usenix.org/conference/srecon24americas/presentation/bobak)\n\n### SREcon24 Americas - Product Reliability for Google Maps\n\n[Learn more](https://www.usenix.org/conference/srecon24americas/presentation/lerner)\n\n### 10 Learnings From Running Production Infrastructure at Google • Christof Leng • GOTO 2023\n\n[Learn more](https://gotopia.tech/sessions/2477/ten-things-we-ve-learned-from-running-production-infrastructure-at-google)\n\n### SREcon23 Europe/Middle East/Africa - Reliable Data for Large ML Models: Principles and Practices\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/mcglohon)\n\n### SREcon23 Europe/Middle East/Africa - Looking at SRE Needs and Trends over Two Decades with a...\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/virji)\n\n### SREcon23 Europe/Middle East/Africa - Artificial Intelligence: How Much Will It Cost You?\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/underwood)\n\n### SREcon23 Europe/Middle East/Africa - New Grads Becoming New SREs: Catalyzing a “Circle of Life”...\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/petoff)\n\n### SREcon23 Europe/Middle East/Africa - SRE for [cyber]security\n\n[Learn more](https://www.usenix.org/conference/srecon23emea/presentation/fischbach)\n\n### SREcon23 Americas - Building a Diverse SRE Talent Pipeline\n\n[Learn more](https://www.usenix.org/conference/srecon23americas/presentation/virji)\n\n### SREcon22 Europe/Middle East/Africa - SRE in Enterprise\n\n[Learn more](https://www.usenix.org/conference/srecon22emea/presentation/mcghee)\n\n### SREcon22 Europe/Middle East/Africa - Measuring Reliability: What Got Us Here Won't Get Us There\n\n[Learn more](https://www.usenix.org/conference/srecon22emea/presentation/davidovic)\n\n### SREcon22 Europe/Middle East/Africa - Hunting for Risky Dependencies in the World of Microservices\n\n[Learn more](https://www.usenix.org/conference/srecon22emea/presentation/klein)\n\n### SREcon22 Europe/Middle East/Africa - Going from 30 to 30 Million SLOs\n\n[Learn more](https://www.usenix.org/conference/srecon22emea/presentation/palcuie)\n\n### SREcon22 Europe/Middle East/Africa - SRE and ML: Why It Matters\n\n[Learn more](https://www.usenix.org/conference/srecon22emea/presentation/underwood)\n\n### SREcon22 Americas - DO, RE, Me: Measuring the Effectiveness of Site Reliability Engineering\n\n[Learn more](https://www.usenix.org/conference/srecon22americas/presentation/stanke)\n\n### SREcon22 Americas - Principled Performance Analytics\n\n[Learn more](https://www.usenix.org/conference/srecon22americas/presentation/desai)\n\n### SREcon22 Americas - History-based Latency Prober Tuning\n\n[Learn more](https://www.usenix.org/conference/srecon22americas/presentation/borwey)\n\n### SREcon22 Americas - Beyond Distributed Tracing\n\n[Learn more](https://www.usenix.org/conference/srecon22americas/presentation/lee)\n\n### SREcon22 Asia/Pacific - How Can We Make Data Integrity Easy?\n\n[Learn more](https://www.usenix.org/conference/srecon22apac/presentation/ratnapala)\n\n### SREcon22 Asia/Pacific - Capacity vs Efficiency: Building a Globally Scalable Cloud Database\n\n[Learn more](https://www.usenix.org/conference/srecon22apac/presentation/marshall)\n\n### SREcon22 Asia/Pacific - Introducing the Reliability Map – r9y.dev\n\n[Learn more](https://www.usenix.org/conference/srecon22apac/presentation/bowden)\n\n### emBO++ 21 - JC van Winkel - SRE onboarding in covid times\n\n[Watch now](https://www.youtube.com/watch?v=ApgPmjW3A20)\n\n### SREcon21 - Beyond Goldilocks Reliability\n\n[Learn more](https://www.usenix.org/conference/srecon21/presentation/desai)\n\n### SREcon21 - Reliable Data Processing with Minimal Toil\n\n[Learn more](https://www.usenix.org/conference/srecon21/presentation/coucke)\n\n### SREcon21 - Scaling for a Pandemic: How We Keep Ahead of Demand for Google Meet during COVID-19\n\n[Learn more](https://www.usenix.org/conference/srecon21/presentation/schaevitz)\n\n### SREcon21 - Horizontal Data Freshness Monitoring in Complex Pipelines\n\n[Learn more](https://www.usenix.org/conference/srecon21/presentation/skorikov)\n\n### SREcon21 - A Political Scientist's View on Site Reliability\n\n[Learn more](https://www.usenix.org/conference/srecon21/presentation/krax)\n\n### How Google SRE and Developers Work Together • Christof Leng • GOTO 2021\n\n[Watch now](https://www.youtube.com/watch?v=DOQqOrHs3VY)\n\n### SREcon20 Americas - Squish Level Objectives: How SRE can Help Align Technical Work to User Benefit\n\n[Learn more](https://www.usenix.org/conference/srecon20americas/presentation/stanke)\n\n### SREcon20 Americas - Implementing Distributed Consensus\n\n[Learn more](https://www.usenix.org/conference/srecon20americas/presentation/ludtke)\n\n### Tech Learning Series | Non-Abstract Large Systems Design, Part 1\n\n[Watch now](https://www.youtube.com/watch?v=l0CCeHBc-L0)\n\n### Tech Learning Series | Non-Abstract Large System Design Introduction, Part 2\n\n[Watch now](https://www.youtube.com/watch?v=ZzvXXEePhqI)\n\n### SREcon Conversations Europe/Middle East/Africa with Štěpán Davidovič, Google Inc.\n\n[Learn more](https://www.usenix.org/srecon/conversations/20emea)\n\n### SREcon Conversations Europe/Middle East/Africa with Jennifer Petoff and JC van Winkel, Google Inc.\n\n[Learn more](https://www.usenix.org/srecon/conversations/20emea)\n\n### SREcon19 Europe/Middle East/Africa - The Map Is Not the Territory: How SLOs Lead Us Astray, ...\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/desai)\n\n### SREcon19 Europe/Middle East/Africa - All of Our ML Ideas Are Bad (and We Should Feel Bad)\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/underwood)\n\n### SREcon19 Europe/Middle East/Africa - Deploying SRE Training Best Practices to Production: How We...\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/petoff)\n\n### SREcon19 Europe/Middle East/Africa - Bigtable: A Journey from Binary to Service and the Lessons...\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/gleason)\n\n### SREcon19 Europe/Middle East/Africa - Zero Touch Prod: Towards Safer and More Secure...\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/czapinski)\n\n### SREcon19 Europe/Middle East/Africa - The SRE I Aspire to Be\n\n[Learn more](https://www.usenix.org/conference/srecon19emea/presentation/aknin)\n\n### 12 Aditya Sen\n\n[Learn more](https://devopsdays.org/events/2019-bengaluru/welcome/)\n\n### Site Reliability Engineering (SRE) at Google • Christof Leng • GOTO 2018\n\n[Learn more](https://gotoams.nl/2018/sessions/414/site-reliability-engineering-at-google)\n\n### SREcon18 Asia/Australia - Safe Client Behaviour\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/goh)\n\n### SREcon18 Asia/Australia - Know Thy Enemy: How to Prioritize and Communicate Risks\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/brown)\n\n### SREcon18 Asia/Australia - Productionizing Machine-Learning Services: Lessons from Google SRE\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/virji)\n\n### SREcon18 Asia/Australia - How to Serve and Protect (with Client Isolation)\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/johnson)\n\n### SREcon18 Asia/Australia - Do Docs Better: Practical Tips on Delivering...\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/macnamara)\n\n### SREcon18 Asia/Australia - Interviewing for Systems Design Skills\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/kirsch-interviewing)\n\n### SREcon18 Americas - Resolving Outages Faster with Better Debugging Strategies\n\n[Learn more](https://www.usenix.org/conference/srecon18americas/presentation/fong-jones)\n\n### SREcon18 Asia/Australia - A Theory and Practice of Alerting with Service Level Objectives\n\n[Learn more](https://www.usenix.org/conference/srecon18asia/presentation/wilkinson)\n\n### SREcon18 Americas - Building Successful SRE in Large Enterprises—One Year Later\n\n[Learn more](https://www.usenix.org/conference/srecon18americas/presentation/rensin)\n\n### SREcon18 Americas - When to NOT Set SLOs: Lots of Strangers Are Running My Software!\n\n[Learn more](https://www.usenix.org/conference/srecon18americas/presentation/cosgrove-davies)\n\n### SREcon18 Americas - Help Protect Your Data Centers with Safety Constraints\n\n[Learn more](https://www.usenix.org/conference/srecon18americas/presentation/schulman)\n\n### SREcon18 Americas - Know Thy Enemy: How to Prioritize and Communicate Risks\n\n[Learn more](https://www.usenix.org/conference/srecon18americas/presentation/brown)\n\n### Life of an SRE at Google - JC van Winkel - Codemotion Rome 2017\n\n[Watch now](https://www.youtube.com/watch?v=7Oe8mYPBZmw)\n\n### SREcon17 Europe/Middle East/Africa - Care and Feeding of SRE\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/desai)\n\n### SREcon17 Europe/Middle East/Africa - Diversity and Inclusion in SRE: A Postmortem\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-postmortem)\n\n### SREcon17 Europe/Middle East/Africa - SRE Your gRPC...\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/sheerin)\n\n### SREcon17 Europe/Middle East/Africa - Tech Leadership in SRE\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/rees)\n\n### SREcon17 Europe/Middle East/Africa - Cognitive Bias and On-Call\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-bias)\n\n### SREcon17 Europe/Middle East/Africa - The History of How We Came to Be\n\n[Learn more](https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-history)\n\n### SREcon17 Asia/Australia: Reliable Launches at Scale\n\n[Learn more](https://www.usenix.org/conference/srecon17asia/program/presentation/kirsch)\n\n### SREcon17 Asia/Australia: SRE Your gRPC—Building Reliable Distributed Systems Illustrated with gRPC\n\n[Learn more](https://www.usenix.org/conference/srecon17asia/program/presentation/sheerin)\n\n### SREcon17 Asia/Australia: Distributed Consensus Algorithms\n\n[Learn more](https://www.usenix.org/conference/srecon17asia/program/presentation/nolan)\n\n### SREcon17 Americas - Engineering Reliable Mobile Applications\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/chen)\n\n### SREcon17 Americas - How to Work with Technical Writers\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/bates)\n\n### SREcon17 Americas - Postmortem Action Items: Plan the Work and Work the Plan\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/lueder)\n\n### SREcon17 Americas - Traps and Cookies\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/reilly)\n\n### SREcon17 Americas - A Practical Guide to Monitoring and Alerting with Time Series at Scale\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/wilkinson)\n\n### SREcon17 Americas - Ten Persistent SRE Antipatterns Pitfalls on the Road to a Successful SRE Program\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/horowitz)\n\n### SREcon17 Americas - Reliability When Everything Is a Platform: Why You Need to SRE Your Customers\n\n[Learn more](https://www.usenix.org/conference/srecon17americas/program/presentation/rensin)\n\n### Site Reliability Engineering (SRE) at Google • Christof Leng • GOTO 2017\n\n[Watch now](https://www.youtube.com/watch?v=Cxb7a8lTv8A)\n\n### SREcon16 Europe - Challenges of Machine Learning at Scale\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/poulter)\n\n### SREcon16 Europe - Relieving Technical Debt through Short Projects\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/fong-jones-projects)\n\n### SREcon16 Europe - The Structure and Interpretation of Graphs\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/murphy)\n\n### SREcon16 Europe - The Many Ways Your Monitoring Is Lying to You\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/kirsch)\n\n### SREcon16 Europe-Load Shedding—Approaches, Principles, Experiences, and Impact in Service Management\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/cruz)\n\n### SREcon16 Europe - Capacity Planning at Scale\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/medrano-llamas)\n\n### SREcon16 Europe - Managing Up and Sideways as an SRE\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/fong-jones-managing)\n\n### SREcon16 Europe - Doorman: Global Distributed Client Side Rate Limiting\n\n[Learn more](https://www.usenix.org/conference/srecon16europe/program/presentation/visser)\n\n### SREcon16 - Doorman: Global Distributed Client Side Rate Limiting\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/visser)\n\n### SREcon16 - Building Reliable Social Infrastructure for Google\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/alvidrez)\n\n### SREcon16 - Privacy Reliability Engineering: Looking at Privacy through the Lens of SRE\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/yust)\n\n### SREcon16 - How to Improve a Service by Roasting It\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/dickson)\n\n### SREcon16 - Service Levels and Error Budgets\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/jones)\n\n### SREcon16 - Finding the Order in Chaos\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/lueder)\n\n### SREcon16 - Putting Together Great SRE Teams\n\n[Learn more](https://www.usenix.org/conference/srecon16/program/presentation/krishnan)\n\n### From Zero to Hero: Recommended Practices for Training your Ever-Evolving SRE Teams\n\n[Learn more](https://www.usenix.org/conference/srecon15/program/presentation/widdowson)\n\n### SREcon15 - Error Budgets and Risks\n\n[Learn more](https://www.usenix.org/conference/srecon15/program/presentation/alvidrez)\n\n### SREcon15 - Incident Analysis\n\n[Learn more](https://www.usenix.org/conference/srecon15/program/presentation/lueder)\n\n### SREcon14 - Keys to SRE\n\n[Learn more](https://www.usenix.org/conference/srecon14/technical-sessions/presentation/keys-sre)", "znaku_textu": 16316, "slov": 1258, "odkazu": 138, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:42", "sha256": "51b8a168f839aaccec24e8a3d231a0117dac34fd2d7671e1b3513cc8b776c114", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.usenix.org/conference/srecon25emea/presentation/klein", "https://www.usenix.org/conference/srecon23emea/presentation/mcglohon", "https://www.usenix.org/conference/srecon23emea/presentation/fischbach", "https://www.usenix.org/conference/srecon25emea/presentation/lunney", "https://www.usenix.org/conference/srecon25emea/presentation/medworth", "https://www.usenix.org/conference/srecon25emea/presentation/koczorowski", "https://www.usenix.org/conference/srecon25americas/presentation/klein", "https://www.usenix.org/conference/srecon24emea/presentation/van-winkel", "https://www.usenix.org/conference/srecon24americas/presentation/bobak", "https://www.usenix.org/conference/srecon24americas/presentation/lerner", "https://gotopia.tech/sessions/2477/ten-things-we-ve-learned-from-running-production-infrastructure-at-google", "https://www.usenix.org/conference/srecon23emea/presentation/virji", "https://www.usenix.org/conference/srecon23emea/presentation/underwood", "https://www.usenix.org/conference/srecon23emea/presentation/petoff", "https://www.usenix.org/conference/srecon23americas/presentation/virji", "https://www.usenix.org/conference/srecon22emea/presentation/mcghee", "https://www.usenix.org/conference/srecon22emea/presentation/davidovic", "https://www.usenix.org/conference/srecon22emea/presentation/klein", "https://www.usenix.org/conference/srecon22emea/presentation/palcuie", "https://www.usenix.org/conference/srecon22emea/presentation/underwood", "https://www.usenix.org/conference/srecon22americas/presentation/stanke", "https://www.usenix.org/conference/srecon22americas/presentation/desai", "https://www.usenix.org/conference/srecon22americas/presentation/borwey", "https://www.usenix.org/conference/srecon22americas/presentation/lee", "https://www.usenix.org/conference/srecon22apac/presentation/ratnapala", "https://www.usenix.org/conference/srecon22apac/presentation/marshall", "https://www.usenix.org/conference/srecon22apac/presentation/bowden", "https://www.youtube.com/watch?v=ApgPmjW3A20", "https://www.usenix.org/conference/srecon21/presentation/desai", "https://www.usenix.org/conference/srecon21/presentation/coucke", "https://www.usenix.org/conference/srecon21/presentation/schaevitz", "https://www.usenix.org/conference/srecon21/presentation/skorikov", "https://www.usenix.org/conference/srecon21/presentation/krax", "https://www.youtube.com/watch?v=DOQqOrHs3VY", "https://www.usenix.org/conference/srecon20americas/presentation/stanke", "https://www.usenix.org/conference/srecon20americas/presentation/ludtke", "https://www.youtube.com/watch?v=l0CCeHBc-L0", "https://www.youtube.com/watch?v=ZzvXXEePhqI", "https://www.usenix.org/srecon/conversations/20emea", "https://www.usenix.org/conference/srecon19emea/presentation/desai", "https://www.usenix.org/conference/srecon19emea/presentation/underwood", "https://www.usenix.org/conference/srecon19emea/presentation/petoff", "https://www.usenix.org/conference/srecon19emea/presentation/gleason", "https://www.usenix.org/conference/srecon19emea/presentation/czapinski", "https://www.usenix.org/conference/srecon19emea/presentation/aknin", "https://devopsdays.org/events/2019-bengaluru/welcome/", "https://gotoams.nl/2018/sessions/414/site-reliability-engineering-at-google", "https://www.usenix.org/conference/srecon18asia/presentation/goh", "https://www.usenix.org/conference/srecon18asia/presentation/brown", "https://www.usenix.org/conference/srecon18asia/presentation/virji", "https://www.usenix.org/conference/srecon18asia/presentation/johnson", "https://www.usenix.org/conference/srecon18asia/presentation/macnamara", "https://www.usenix.org/conference/srecon18asia/presentation/kirsch-interviewing", "https://www.usenix.org/conference/srecon18americas/presentation/fong-jones", "https://www.usenix.org/conference/srecon18asia/presentation/wilkinson", "https://www.usenix.org/conference/srecon18americas/presentation/rensin", "https://www.usenix.org/conference/srecon18americas/presentation/cosgrove-davies", "https://www.usenix.org/conference/srecon18americas/presentation/schulman", "https://www.usenix.org/conference/srecon18americas/presentation/brown", "https://www.youtube.com/watch?v=7Oe8mYPBZmw", "https://www.usenix.org/conference/srecon17europe/program/presentation/desai", "https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-postmortem", "https://www.usenix.org/conference/srecon17europe/program/presentation/sheerin", "https://www.usenix.org/conference/srecon17europe/program/presentation/rees", "https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-bias", "https://www.usenix.org/conference/srecon17europe/program/presentation/murphy-history", "https://www.usenix.org/conference/srecon17asia/program/presentation/kirsch", "https://www.usenix.org/conference/srecon17asia/program/presentation/sheerin", "https://www.usenix.org/conference/srecon17asia/program/presentation/nolan", "https://www.usenix.org/conference/srecon17americas/program/presentation/chen", "https://www.usenix.org/conference/srecon17americas/program/presentation/bates", "https://www.usenix.org/conference/srecon17americas/program/presentation/lueder", "https://www.usenix.org/conference/srecon17americas/program/presentation/reilly", "https://www.usenix.org/conference/srecon17americas/program/presentation/wilkinson", "https://www.usenix.org/conference/srecon17americas/program/presentation/horowitz", "https://www.usenix.org/conference/srecon17americas/program/presentation/rensin", "https://www.youtube.com/watch?v=Cxb7a8lTv8A", "https://www.usenix.org/conference/srecon16europe/program/presentation/poulter", "https://www.usenix.org/conference/srecon16europe/program/presentation/fong-jones-projects", "https://www.usenix.org/conference/srecon16europe/program/presentation/murphy", "https://www.usenix.org/conference/srecon16europe/program/presentation/kirsch", "https://www.usenix.org/conference/srecon16europe/program/presentation/cruz", "https://www.usenix.org/conference/srecon16europe/program/medrano-llamas", "https://www.usenix.org/conference/srecon16europe/program/presentation/fong-jones-managing", "https://www.usenix.org/conference/srecon16europe/program/presentation/visser", "https://www.usenix.org/conference/srecon16/program/presentation/visser", "https://www.usenix.org/conference/srecon16/program/presentation/alvidrez", "https://www.usenix.org/conference/srecon16/program/presentation/yust", "https://www.usenix.org/conference/srecon16/program/presentation/dickson", "https://www.usenix.org/conference/srecon16/program/presentation/jones", "https://www.usenix.org/conference/srecon16/program/presentation/lueder", "https://www.usenix.org/conference/srecon16/program/presentation/krishnan", "https://www.usenix.org/conference/srecon15/program/presentation/widdowson", "https://www.usenix.org/conference/srecon15/program/presentation/alvidrez", "https://www.usenix.org/conference/srecon15/program/presentation/lueder"]} {"url": "https://sre.google/spotlight/", "titulek": "Google SRE - Hear insights from SRE engineer experts", "h1": "Hear from SRE Experts", "popis": "Hear from SRE experts: Gain insight from experienced SRE engineers, senior site reliability engineers and SRE specialists as they share their real-world experiences.", "klicova_slova": "", "kanonicka": "https://sre.google/spotlight/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Hear from SRE Experts"}, {"uroven": 2, "text": "Jessica Theodat"}, {"uroven": 2, "text": "Jennifer Mace"}, {"uroven": 2, "text": "Pierre Palatin"}, {"uroven": 2, "text": "Megan Yin"}, {"uroven": 2, "text": "Ayelet Sachto"}, {"uroven": 2, "text": "Joan Smith"}, {"uroven": 2, "text": "Ben Treynor Sloss"}], "markdown": "# Hear from SRE Experts\n\n- SREs literally have the weight of Google services and infrastructure running on their shoulders. We are the people that keep all of the Google services up and running. That has always fascinated me, and is where I want to be: I want to be the person who gets to the root of issues. But also, I like the idea of knowing that I literally have the power of the internet in my hands. Jessica Theodat Security Tech Lead, Site Reliability [Learn more about SRE from this conversation](https://sre.google/prodcast/#season2-episode4)\n- Engineering reliability can go in a ton of different directions. And for me, that's part of why I find this discipline so fascinating. Engineering reliability is about questions. It's about asking your developers—and asking them to ask their customers—\"What does reliability mean? What about your service matters if it's up and running? What would a user consider to be broken?\". And then you focus on the work that impacts the aspects that actually matter. Jennifer Mace Staff Software Engineer [Learn more about SRE from this conversation](https://sre.google/prodcast/#season1-episode1)\n- SRE isn't necessarily about automating yourself out of a job. It's wondering what to automate so you can shift the complexity where you actually care to have it. For example, automating configuration deployment might allow you to offer more extensibility to users. Spend your complexity where your value is, not on the underlying supporting beams. Pierre Palatin Staff Software Engineer [Learn more about SRE from this conversation](https://sre.google/prodcast/#season1-episode6)\n- Early on in my SRE journey, my tech lead said something that has really stuck with me: he said that SREs are usually the people who run towards fires rather than away from them. In my experience, that has absolutely held true. It's one of the most rewarding aspects of the job—to be on the front lines of our services that billions of people use and rely upon. Megan Yin Software Engineer, Site Reliability [Learn more about SRE from this conversation](https://sre.google/prodcast/#season2-episode1)\n- We want to encourage a culture in which people are not afraid to take risks. If we want innovation, we need to take those risks. And if we want to take risks, we need to accept that failure will happen. And instead of focusing on the people, we need to focus on the system and processes that allowed it to happen. Ayelet Sachto Automation and Incident Management TL, Site Reliability [Learn more about SRE from this conversation](https://sre.google/prodcast/#season1-episode9)\n- SRE fuses the disciplines of software engineering and systems engineering with a deep understanding of how people and software interact at scale. By working across boundaries, Site Reliability Engineers drive transformational innovation in reliability and efficiency. Joan Smith Principal Engineer, Office of the CFO\n- Fundamentally, it's what happens when you ask a software engineer to design an operations function. Ben Treynor Sloss Vice President, Google Engineering, Founder of Google SRE [Learn more about SRE from this conversation](/in-conversation/)", "znaku_textu": 3158, "slov": 490, "odkazu": 48, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:40", "sha256": "2dcaaebb626c79b943b47ba6b3cd8d5bc751244aa7650c2e952d193901868bb8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://www.google.com/about/careers/applications/jobs/results/?q=%22site+reliability+engineering%22", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/sre-book/accelerating-sre-on-call", "titulek": "Google SRE Onboarding Guide with a Suggested Learning Path", "h1": "Accelerating SREs to On-Call and Beyond", "popis": "A guide to effective SRE onboarding, structured SRE learning paths, practices for aspiring on-callers and skills in reverse engineering for beginners.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/accelerating-sre-on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/accelerating-sre-on-call/"}, "headline": "Accelerating SREs to On-Call and Beyond", "description": "You've hired new employees into your organization, and they're starting as Site Reliability Engineers. Now you have to train them on the job. Investing up front in the education and technical orientation of new SREs will shape them into better engineers. Such training will accelerate them to a state of proficiency faster, while making their skill set more robust and balanced.", "image": "https://lh3.googleusercontent.com/CDwDNrtt64hQELdTIedRlPVnAJ6ZHKdWSN2ZCIJjdT-azOAnuB5jpMdUkkHM_fzDhTWkNizsvBDWe8rM78b335ZC80uWRTTB4L_o", "author": [{"@type": "Person", "name": "Andrew Widdowson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Accelerating SREs to On-Call and Beyond"}, {"uroven": 2, "text": "You’ve Hired Your Next SRE(s), Now What?"}, {"uroven": 1, "text": "Initial Learning Experiences: The Case for Structure Over Chaos"}, {"uroven": 2, "text": "Learning Paths That Are Cumulative and Orderly"}, {"uroven": 2, "text": "Targeted Project Work, Not Menial Work"}, {"uroven": 1, "text": "Creating Stellar Reverse Engineers and Improvisational Thinkers"}, {"uroven": 2, "text": "Reverse Engineers: Figuring Out How Things Work"}, {"uroven": 2, "text": "Statistical and Comparative Thinkers: Stewards of the Scientific Method Under Pressure"}, {"uroven": 2, "text": "Improv Artists: When the Unexpected Happens"}, {"uroven": 2, "text": "Tying This Together: Reverse Engineering a Production Service"}, {"uroven": 1, "text": "Five Practices for Aspiring On-Callers"}, {"uroven": 2, "text": "A Hunger for Failure: Reading and Sharing Postmortems"}, {"uroven": 2, "text": "Disaster Role Playing"}, {"uroven": 2, "text": "Break Real Things, Fix Real Things"}, {"uroven": 2, "text": "Documentation as Apprenticeship"}, {"uroven": 2, "text": "Shadow On-Call Early and Often"}, {"uroven": 6, "text": "Tip"}, {"uroven": 1, "text": "On-Call and Beyond: Rites of Passage, and Practicing Continuing Education"}, {"uroven": 1, "text": "Closing Thoughts"}], "markdown": "# Accelerating SREs to On-Call and Beyond\n\nHow Can I Strap a Jetpack to My Newbies While Keeping Senior SREs Up to Speed?\n\nWritten by Andrew WiddowsonEdited by Shylaja Nukala\n\n## You’ve Hired Your Next SRE(s), Now What?\n\nYou’ve hired new employees into your organization, and they’re starting as Site Reliability Engineers. Now you have to train them on the job. Investing up front in the education and technical orientation of new SREs will shape them into better engineers. Such training will accelerate them to a state of proficiency faster, while making their skill set more robust and balanced.\n\nSuccessful SRE teams are built on trust—in order to maintain a service consistently and globally, you need to trust that your fellow on-callers know how your system works,135 can diagnose atypical system behaviors, are comfortable with reaching out for help, and can react under pressure to save the day. It is essential, then, but not sufficient, to think of SRE education through the lens of, \"What does a newbie need to learn to go on-call?\" Given the requirements regarding trust, you also need to ask questions like:\n\n- How can my existing on-callers assess the readiness of the newbie for on-call?\n- How can we harness the enthusiasm and curiosity in our new hires to make sure that existing SREs benefit from it?\n- What activities can I commit our team to that benefit everyone’s education, but that everyone will like?\n\nStudents have a wide range of learning preferences. Recognizing that you will hire people who have a mix of these preferences, it would be shortsighted to only cater to one style at the expense of the others. Thus, there is no style of education that works best to train new SREs, and there is certainly no one magic formula that will work for all SRE teams. Table 28-1 lists recommended [training practices](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) (and their corresponding anti-patterns) that are well known to SRE at Google. These practices represent a wide range of options available for making your team well educated in SRE concepts, both now and on an ongoing basis.\n\n| Recommended patterns | Anti-patterns |\n| --- | --- |\n| Designing concrete, sequential learning experiences for students to follow | Deluging students with menial work (e.g., alert/ticket triage) to train them; \"trial by fire\" |\n| Encouraging reverse engineering, statistical thinking, and working from fundamental principles | Training strictly through operator procedures, checklists, and playbooks |\n| Celebrating the analysis of failure by suggesting postmortems for students to read | Treating outages as secrets to be buried in order to avoid blame |\n| Creating contained but realistic breakages for students to fix using real monitoring and tooling | Having the first chance to fix something only occur after a student is already on-call |\n| Role-playing theoretical disasters as a group, to intermingle a team’s problem-solving approaches | Creating experts on the team whose techniques and knowledge are compartmentalized |\n| Enabling students to shadow their on-call rotation early, comparing notes with the on-caller | Pushing students into being primary on-call before they achieve a holistic understanding of their service |\n| Pairing students with expert SREs to revise targeted sections of the on-call training plan | Treating on-call training plans as static and untouchable except by subject matter experts |\n| Carving out nontrivial project work for students to undertake, allowing them to gain partial ownership in the stack | Awarding all new project work to the most senior SREs, leaving junior SREs to pick up the scraps |\n\nThe rest of this chapter presents major themes that we have found to be effective in accelerating SREs to on-call and beyond. These concepts can be visualized in a blueprint for bootstrapping SREs (Figure 28-1).\n\nFigure 28-1. A blueprint for bootstrapping an SRE to on-call and beyond\n\nThis illustration captures best practices that SRE teams can pick from to help bootstrap new members, while keeping senior talent fresh. From the many tools here, you can pick and choose the activities that best suit your team.\n\nThe illustration has two axes:\n\n- The x-axis represents the *spectrum between different types of work* , ranging from abstract to applied activities.\n- The y-axis represents *time* . Read from the top down, new SREs have very little knowledge about the systems and services they’ll be responsible for, so postmortems detailing how these systems have failed in the past are a good starting point. New SREs can also try to reverse engineer systems from fundamentals, since they’re starting from zero. Once they understand more about their systems and have done some hands-on work, SREs are ready to shadow on-call and to start mending incomplete or out-of-date documentation.\n\nTips for interpreting this illustration:\n\n- *Going on-call* is a milestone in a new SRE’s career, after which point learning becomes a lot more nebulous, undefined, and self-directed—hence the dashed lines around activities that happen at or after the SRE goes on-call.\n- The triangular shape of *project work & ownership* indicates that project work starts out small and builds over time, becoming more complex and likely continuing well after going on-call.\n- Some of these activities and practices are very abstract/passive, and some are very applied/active. A few activities are mixes of both. It’s good to have a variety of learning modalities to suit different learning styles.\n- For maximum effect, training activities and practices should be appropriately paced: some are appropriate to undertake straightaway, some should happen right before an SRE officially goes on-call, and some should be continual and ongoing even by seasoned SREs. *Concrete learning experiences* should happen for the entire time leading up to the [SRE going on-call](../../workbook/on-call/) .\n\n# Initial Learning Experiences: The Case for Structure Over Chaos\n\nAs discussed elsewhere in this book, SRE teams undertake a natural mix of proactive136 and reactive137 work. It should be a strong goal of every SRE team to contain and reduce reactive work through ample proactivity, and the approach you take to onboarding your newbie(s) should be no exception. Consider the following all-too-common, but sadly suboptimal, onboarding process:\n\n> John is the newest member of the FooServer SRE team. Senior SREs on this team are tasked with a lot of grunt work, such as responding to tickets, dealing with alerts, and performing tedious binary rollouts. On John’s first day on the job, he is assigned all new incoming tickets. He is told that he can ask any member of the SRE team to help him obtain the background necessary to decipher a ticket. 'Sure, there will be a lot of upfront learning that you’ll have to do,' says John’s manager. 'But eventually you’ll get much faster at these tickets. One day, it will just *click* and you’ll know a lot about all of the tools we use, the procedures we follow, and the systems we maintain.' A senior team member comments, 'We’re throwing you in the deep end of the pool here.'\n\nThis \"trial by fire\" method of orienting one’s newbies is often born out of a team’s current environment; ops-driven, reactive SRE teams \"train\" their newest members by making them…well, react! Over and over again. If you’re lucky, the engineers who are already good at navigating ambiguity will crawl out of the hole you’ve put them in. But chances are, this strategy has alienated several capable engineers. While such an approach may eventually produce great operations employees, its results will fall short of the mark. The trial-by-fire approach also presumes that many or most aspects of a team can be taught strictly by doing, rather than by reasoning. If the set of work one encounters in a tickets queue will adequately provide training for said job, then this is not an SRE position.\n\nSRE students will have questions like the following:\n\n- What am I working on?\n- How much progress have I made?\n- When will these activities accumulate enough experience for me to go on-call?\n\nMaking the jump from a previous company or university, while changing job roles (from traditional software engineer or traditional systems administrator) to this nebulous *Site Reliability Engineer* role is often enough to knock students’ confidence down several times. For more introspective personalities (especially regarding questions #2 and #3), the uncertainties incurred by nebulous or less-than-clear answers can lead to slower development or retention problems. Instead, consider the approaches outlined in the following sections. These suggestions are as concrete as any ticket or alert, but they are also sequential, and thus far more rewarding.\n\n## Learning Paths That Are Cumulative and Orderly\n\nPut some amount of learning order into your system(s) so that your new SREs see a path before them. Any type of training is better than random tickets and interrupts, but do make a conscious effort to combine the right mix of theory and application: abstract concepts that will recur multiple times in a newbie’s journey should be frontloaded in their education, while the student should also receive hands-on experience as soon as practically possible.\n\nLearning about your stack(s) and subsystem(s) requires a starting point. Consider whether it makes more sense to group trainings together by similarity of purpose, or by normal-case order of execution. For example, if your team is responsible for a real-time, user-facing serving stack, consider a curriculum order like the following:\n\n1) How a query enters the system\n\nNetworking and datacenter fundamentals, frontend load balancing, proxies, etc.\n\n2) Frontend serving\n\nApplication frontend(s), query logging, user experience SLO(s), etc.\n\n3) Mid-tier services\n\nCaches, backend load balancing\n\n4) Infrastructure\n\nBackends, infrastructure, and compute resources\n\n5) Tying it all together\n\nDebugging techniques, escalation procedures, and emergency scenarios\n\nHow you choose to present the learning opportunities (informal whiteboard chats, formal lectures, or hands-on discovery exercises) is up to you and the SREs helping you structure, design, and deliver training. The Google Search SRE team structures this learning through a document called the \"on-call learning checklist.\" A simplified section of an on-call learning checklist might look like the following:\n\n| **The Results Mixing Server (\"Mixer\")** | |\n| --- | --- |\n| **Frontended by**: Frontend server **Backends called**: Results Retrieval Server, \nGeolocation Server, Personalization Database **SRE experts**: Sally W, Dave K, Jen P **Developer contacts**: Jim T, *results-team@* | **Know before moving on**: Which clusters have Mixer deployed How to roll back a Mixer release Which backends of Mixer are considered \"critical path\" and why |\n| **Read and understand the following docs**: Results Mixing Overview: \"Query execution\" section Results Mixing Overview: \"Production\" section Playbook: How to Roll Out a New Results Mixing Server A Performance Analysis of Mixer | **Comprehension questions**: Q: How does the release schedule change if a company holiday occurs on the normal release build day? Q: How can you fix a bad push of the geolocation dataset? |\n\nNote that the preceding section does not directly encode procedures, diagnostic steps, or playbooks; instead, it’s a relatively future-proof write-up focusing strictly on enumerating expert contacts, highlighting the most useful documentation resources, establishing basic knowledge you must gather and internalize, and asking probing questions that can only be answered once that basic knowledge has been absorbed. It also provides concrete outcomes, so that the student knows what kinds of knowledge and skills they will have gained from completing this section of the learning checklist.\n\nIt’s a good idea for all interested parties to get a sense of how much information the trainee is retaining. While this feedback mechanism perhaps doesn’t need to be as formal as a quiz, it is a good practice to have complete bits of homework that pose questions about how your service(s) work. Satisfactory answers, checked by a student’s mentor, are a sign that learning should continue to the next phase. Questions about the inner workings of your service might look similar to the following:\n\n- Which backends of this server are considered \"in the critical path,\" and why?\n- What aspects of this server could be simplified or automated?\n- Where do you think the first bottleneck is in this architecture? If that bottleneck were to be saturated, what steps could you take to alleviate it?\n\nDepending on how the access permissions are configured for your service, you can also consider implementing a tiered access model. The first tier of access would allow your student read-only access to the inner workings of the components, and a later tier would permit them to mutate the production state. Completing sections of the on-call learning checklist satisfactorily would earn the student progressively deeper access to the system. The Search SRE team calls these attained levels \"powerups\"138 on the route to on-call, as trainees are eventually added into the highest level of systems access.\n\n## Targeted Project Work, Not Menial Work\n\nSREs are problem solvers, so give them a hearty problem to solve! When starting out, having even a minor sense of ownership in the team’s service can do wonders for learning. In the reverse, such ownership can also make great inroads for trust building among senior colleagues, because they will approach their junior colleague to learn about the new component(s) or processes. Early opportunities for ownership are standard across Google in general: all engineers are given a starter project that’s meant to provide a tour through the infrastructure sufficient to enable them to make a small but useful contribution early. Having the new SRE split time between learning *and* project work will also give them a sense of purpose and productivity, which would not happen if they spent time only on learning *or* project work. Several starter project patterns that seem to work well include:\n\n- Making a trivial user-visible feature change in a serving stack, and subsequently shepherding the feature release all the way through to production. Understanding both the development toolchain and the binary release process encourages empathy for the developers.\n- Adding monitoring to your service where there are currently blind spots. The newbie will have to reason with the monitoring logic, while reconciling their understanding of a system with how it actually (mis)behaves.\n- Automating a pain point that isn’t quite painful enough to have been automated already, providing the new SRE with an appreciation for the value SREs place on removing toil from our day-to-day operations.\n\n# Creating Stellar Reverse Engineers and Improvisational Thinkers\n\nWe can propose a set of guidelines for *how* to train new SREs, but *what* should we train them on? [Training material](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) will depend on the technologies being used on the job, but the more important question is: what kind of engineers are we trying to create? At the scale and complexity at which SREs operate, they cannot afford to merely be operations-focused, traditional system administrators. In addition to having a large-scale engineering mindset, SREs should exhibit the following characteristics:\n\n- In the course of their jobs, they will come across systems they’ve never seen before, so they need to have *strong reverse engineering skills* .\n- At scale, there will be anomalies that are hard to detect, so they’ll need the ability to *think statistically* , rather than procedurally, to uncloak problems.\n- When standard operating procedures break down, they’ll need to be able to *improvise fully* .\n\nLet’s examine these attributes further, so that we can understand how to equip our SREs for these skills and behaviors.\n\n## Reverse Engineers: Figuring Out How Things Work\n\nEngineers are curious about how systems they’ve never seen before work—or, more likely, how the current versions of systems they used to know quite well work. By having a baseline understanding of how systems work at your company, along with a willingness to dig deep into the debugging tools, RPC boundaries, and logs of your binaries to unearth their flows, SREs will become more efficient at homing in on unexpected problems in unexpected system architectures. Teach your SREs about the diagnostic and debugging surfaces of your applications and have them practice drawing inferences from the information these surfaces reveal, so that such behavior becomes reflexive when dealing with future outages.\n\n## Statistical and Comparative Thinkers: Stewards of the Scientific Method Under Pressure\n\nYou can think of an SRE’s approach to incident response for large-scale systems as navigating through a massive decision tree unfolding in front of them. In the limited time window afforded by the demands of incident response, the SRE can take a few actions out of hundreds with the goal of mitigating the outage, either in the short term or the long term. Because time is often of the utmost importance, the SRE has to effectively and efficiently prune this decision tree. The ability to do so is partially gained through experience, which only comes with time and exposure to a breadth of production systems. This experience must be paired with careful construction of hypotheses that, when proven or disproven, even further narrow down that decision space. Put another way, tracking down system breakages is often akin to playing a game of \"which of these things is not like the other?\" where \"things\" might entail kernel version, CPU architecture, binary version(s) in your stack, regional traffic mix, or a hundred other factors. Architecturally, it’s the team’s responsibility to ensure all of these factors can be controlled for and individually analyzed and compared. However, we should also train our newest SREs to become good analysts and comparators from their earliest moments on the job.\n\n## Improv Artists: When the Unexpected Happens\n\nYou try out a fix for the breakage, but it doesn’t work. The developer(s) behind the failing system are nowhere to be found. What do you do now? You improvise! Learning multiple tools that can solve parts of your problem allows you to practice defense in depth in your own problem-solving behaviors. Being too procedural in the face of an outage, thus forgetting your analytical skills, can be the difference between getting stuck and finding the root cause. A case of bogged-down troubleshooting can be further compounded when an SRE brings too many untested assumptions about the cause of an outage into their decision making. Demonstrating that there are many analytical traps that SREs can fall into, which require \"zooming out\" and taking a different approach to resolution, is a valuable lesson for SREs to learn early on.\n\nGiven these three aspirational attributes of high-performing SREs, what courses and experiences can we provide new SREs in order to send them along a path in the right direction? You need to come up with your own course content that embodies these attributes, in addition to the other attributes specific to your SRE culture. Let’s consider one class that we believe hits all of the aforementioned points.\n\n## Tying This Together: Reverse Engineering a Production Service\n\n> When it came time to learn [part of the Google Maps stack], [a new SRE] asked if, rather than passively having someone explain the service, she could do this herself—learning everything via reverse engineering class techniques, and having the rest of us correct her/fill in the blanks for whatever she missed or got wrong. The result? Well, it was probably more correct and useful than it would have been if *I’d* given the talk, and I’ve been on-call for this for over 5 years!\n> \n> Paul Cowan, Google Site Reliability Engineer\n\nOne popular class we offer at Google is called \"Reverse Engineering a Production Service (without help from its owners).\" The problem scenario presented appears simple at first. The entire Google News Team—SRE, Software Engineers, Product Management, and so forth—has gone on a company trip: a cruise of the Bermuda Triangle. We haven’t heard from the team for 30 days, so our students are the newly appointed Google News SRE Team. They need to figure out how the serving stack works from end-to-end in order to commandeer it and keep it running.\n\nAfter being given this scenario, the students are led through interactive, purpose-driven exercises in which they trace the inbound path of their web browser’s query through Google’s infrastructure. At each stage in the process, we emphasize that it is important to learn multiple ways to discover the connectivity between production servers, so that connections are not missed. In the middle of the class, we challenge the students to find another endpoint for the incoming traffic, demonstrating that our initial assumption was too narrowly scoped. We then challenge our students to find other ways into the stack. We exploit the highly instrumented nature of our production binaries, which self-report their RPC connectivity, as well as our available white-box and black-box monitoring, to determine which path(s) users’ queries take.139 Along the way, we build a system diagram and also discuss components that are shared infrastructure that our students are likely to see again in the future.\n\nAt the end of the class, the students are charged with a task. Each student returns to their home team and asks a senior SRE to help them select a stack or slice of a stack for which they’ll be on-call. Using the skills learned in classes, the student then diagrams that stack on their own and presents their findings to the senior SRE. Undoubtedly the student will miss a few subtle details, which will make for a good discussion. It’s also likely that the senior SRE will learn something from the exercise as well, exposing drifts in their prior understanding of the ever-changing system. Because of the rapid change of production systems, it is important that your team welcome any chance to refamiliarize themselves with a system, including by learning from the newest, rather than oldest, members of the team.\n\n# Five Practices for Aspiring On-Callers\n\nBeing on-call is not the single most important purpose of any SRE, but production engineering responsibilities usually do involve some kind of urgent notification coverage. Someone who is capable of responsibly taking on-call is someone who understands the system that they work on to a reasonable depth and breadth. So we’ll use \"able to take on-call\" as a useful proxy for \"knows enough and can figure out the rest.\"\n\n## A Hunger for Failure: Reading and Sharing Postmortems\n\n> Those who cannot remember the past are condemned to repeat it.\n> \n> George Santayana, philosopher and essayist\n\nPostmortems (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)) are an important part of continuous improvement. They are a blame-free way of getting at the many root causes of a significant or visible outage. When writing a postmortem, keep in mind that its most appreciative audience might be an engineer who hasn’t yet been hired. Without radical editing, subtle changes can be made to our best postmortems to make them \"teachable\" postmortems.\n\nEven the best postmortems aren’t helpful if they languish in the bottom of a virtual filing cabinet. It then follows that your team should collect and curate valuable postmortems to serve as [educational resources](https://sre.google/resources/) for future newbies. Some postmortems are rote, but \"teachable postmortems\" that provide insights into structural or novel failures of large-scale systems are as good as gold for new students.\n\nOwnership of postmortems isn’t limited just to authorship. It’s a point of pride for many teams to have survived and documented their largest outages. Collect your best postmortems and make them prominently available for your newbies—in addition to interested parties from related and/or integrating teams—to read. Ask related teams to publish their best postmortems where you can access them.\n\nSome SRE teams at Google run \"postmortem reading clubs\" where fascinating and insightful postmortems are circulated, pre-read, and then discussed. The original author(s) of the postmortem can be the guest(s) of honor at the meeting. Other teams organize \"tales of fail\" gatherings where the postmortem author(s) semiformally present, recounting the outage and effectively driving the discussion themselves.\n\nRegular readings or presentations on outages, including trigger conditions and mitigation steps, do wonders for building a new SRE’s mental map and understanding of production and on-call response. Postmortems are also excellent fuel for future abstract disaster scenarios.\n\n## Disaster Role Playing\n\n> Once a week we have a meeting where a victim is chosen to be on the spot in front of the group, and a scenario—often a real one taken from the annals of Google history—is thrown at him or her. The victim, whom I think of as a game show contestant, tells the game show host what s/he would do or query to understand or solve the problem, and the host tells the victim what happens with each action or observation. It's like *SRE Zork*. You are in a maze of twisty monitoring consoles, all alike. You must save innocent users from slipping into the Chasm of Excessive Query Latency, save datacenters from Near-Certain Meltdown, and spare us all the embarrassment of Erroneous Google Doodle Display.\n> \n> Robert Kennedy, former Site Reliability Engineer for Google Search and healthcare.gov140\n\nWhen you have a group of SREs of wildly different experience levels, what can you do to bring them all together, and enable them to learn from each other? How do you impress the SRE culture and problem-solving nature of your team upon a newbie, while also keeping grizzled veterans apprised of new changes and features in your stack? Google SRE teams address these challenges through a time-honored tradition of regular disaster role playing. Among other names, this exercise is commonly referred to as \"Wheel of Misfortune\" or \"Walk the Plank.\" The sense of humorous danger such titles lend the exercise makes it less intimidating to freshly hired SREs.\n\nAt its best, these exercises become a weekly ritual in which every member of the group learns something. The formula is straightforward and bears some resemblance to a tabletop RPG (Role Playing Game): the \"game master\" (GM) picks two team members to be primary and secondary on-call; these two SREs join the GM at the front of the room. An incoming page is announced, and the on-call team responds with what they would do to mitigate and investigate the outage.\n\nThe GM has carefully prepared a scenario that is about to unfold. This scenario might be based upon a previous outage for which the newer team members weren’t around or that older team members have forgotten. Or perhaps the scenario is a foray into a hypothetical breakage of a new or soon-to-be-launched feature in the stack, rendering all members of the room equally unprepared to grapple with the situation. Better still, a coworker might find a new and novel breakage in production, and today’s scenario expands on this new threat.\n\nOver the next 30–60 minutes, the primary and secondary on-callers attempt to root-cause the issue. The GM happily provides additional context as the problem unfolds, perhaps informing the on-callers (and their audience) of what the graphs on their monitoring dashboard might look like during the outage. If the incident requires escalation outside of the home team, the GM pretends to be a member of that other team for the purposes of the scenario. No virtual scenario will be perfect, so at times the GM may have to steer participants back on track by redirecting the on-callers away from red herrings, introducing urgency and clarity by adding other stimuli,141 or asking urgent and pointed questions.142\n\nWhen your disaster RPG is successful, everyone will have learned something: perhaps a new tool or trick, a different perspective on how to solve a problem, or (especially gratifying to new team members) a validation that you could have solved this week’s problem if you had been picked. With some luck, this exercise will inspire teammates to eagerly look forward to next week’s adventure or to ask to become the game master for an upcoming week.\n\n## Break Real Things, Fix Real Things\n\nA newbie can learn much about SRE by reading documentation, postmortems, and taking trainings. Disaster role playing can help get a newbie’s mind into the game. However, the experience derived from hands-on experience breaking and/or fixing *real* production systems is even better. There will be plenty of time for hands-on experience once a newbie has gone on-call, but such learning should happen *before* a new SRE reaches that point. Therefore, provide for such hands-on experiences much earlier in order to develop the student’s reflexive responses for using your company’s tooling and monitoring to approach a developing outage.\n\nRealism is paramount in these interactions. Ideally, your team has a stack that is multihomed and provisioned in such a way that you have at least one instance you can divert from live traffic and temporarily loan to a learning exercise. Alternatively, you might have a smaller, but still fully featured, staging or QA instance of your stack that can be borrowed for a short time. If possible, subject the stack to synthetic load that approximates real user/client traffic, in addition to resource consumption, if possible.\n\nThe opportunities for learning from a real production system under synthetic load are abundant. Senior SREs will have experienced all sorts of troubles: misconfigurations, memory leaks, performance regressions, crashing queries, storage bottlenecks, and so forth. In this realistic but relatively risk-free environment, proctors can manipulate the job set in ways that alter the behavior of the stack, forcing new SREs to find differences, determine contributing factors, and ultimately repair systems to restore appropriate behavior.\n\nAs an alternative to the overhead of asking a senior SRE to carefully plan a specific type of breakage that the new SRE(s) must repair, you can also work in the opposite direction with an exercise that may also increase participation from the entire team: work from a known good configuration and slowly impair the stack at selected bottlenecks, observing upstream and downstream efforts through your monitoring. This exercise is valued by the Google Search SRE team, whose version of this exercise is called \"Let’s burn a search cluster to the ground!\" The exercise proceeds as follows:\n\n1. As a group, we discuss what observable performance characteristics might change as we cripple the stack.\n2. Before inflicting the planned damage, we poll the participants for their guesses and reasoning about their predictions about how the system will react.\n3. We validate assumptions and justify the reasoning behind the behaviors we see.\n\nThis exercise, which we perform on a quarterly basis, shakes out new bugs that we eagerly fix, because our systems do not always degrade as gracefully as we would expect.\n\n## Documentation as Apprenticeship\n\nMany SRE teams maintain an \"on-call learning checklist,\" which is an organized reading and comprehension list of the technologies and concepts relevant to the system(s) they maintain. This list must be internalized by a student before they’re eligible to serve as a shadow on-caller. Take a moment to revisit the example on-call learning checklist in Table 28-2. The learning checklist serves different purposes for different people:\n\n- **To the student**:\n - This doc helps establish the boundaries of the system their team supports.\n - By studying this list, the student gains a sense of what systems are most important and why. When they understand the information therein, they can move on to other topics they need to learn, rather than dwelling on learning esoteric details that can be learned over time.\n- **To mentors and managers**: Student progress through the learning checklist can be observed. The checklist answers questions such as:\n - What sections are you working on today?\n - What sections are the most confusing?\n- **To all team members**: The doc becomes a social contract by which (upon mastery) the student joins the ranks of on-call. The learning checklist sets the standard that all team members should aspire to and uphold.\n\nIn a rapidly changing environment, documentation can fall out of date quickly. Outdated documentation is less of a problem for senior SREs who are already up to speed, because they keep state on the world and its changes in their own heads. Newbie SREs are much more in need of up-to-date documentation, but may not feel empowered or knowledgeable enough to make changes. When designed with just the right amount of structure, on-call documentation can become an adaptable body of work that harnesses newbie enthusiasm and senior knowledge to keep everyone fresh.\n\nIn Search SRE, we anticipate the arrival of new team member(s) by reviewing our on-call learning checklist, and sorting its sections by how up-to-date they are. As the new team member arrives, we point them to the overall learning checklist, but also task them with overhauling one or two of the most outdated sections. As you can see in Table 28-2, we label the senior SRE and developer contacts for each technology. We encourage the student to make an early connection with those subject matter experts, so that they might learn the inner workings of the selected technology directly. Later, as they become more familiar with the scope and tone of the learning checklist, they are expected to contribute a revised learning checklist section, which must be peer-reviewed by one or more senior SREs that are listed as experts.\n\n## Shadow On-Call Early and Often\n\nUltimately, no amount of hypothetical disaster exercises or other training mechanisms will fully prepare an SRE for going on-call. At the end of the day, tackling real outages will always be more beneficial from a learning standpoint than engaging with hypotheticals. Yet it’s unfair to make newbies wait until their first real page to have a chance to learn and retain knowledge.\n\nAfter the student has made their way through all system fundamentals (by completing, for example, an on-call learning checklist), consider configuring your alerting system to copy incoming pages to your newbie, at first only during business hours. Rely on their curiosity to lead the way. These \"shadow\" on-call shifts are a great way for a mentor to gain visibility into a student’s progress, and for a student to gain visibility into the responsibilities of being on-call. By arranging for the newbie to shadow multiple members of their team, the team will become increasingly comfortable with the thought of this person entering the [on-call rotation.](https://sre.google/sre-book/being-on-call/) Instilling confidence in this manner is an effective method of building trust, allowing more senior members to detach when they aren’t on-call, thus helping to avoid team burnout.\n\nWhen a page comes in, the new SRE is not the appointed on-caller, a condition which removes any time pressure for the student. They now have a front-row seat to the outage while it unfolds, rather than after the issue is resolved. It may be that the student and the primary on-caller share a terminal session, or sit near each other to readily compare notes. At a time of mutual convenience after the outage is complete, the on-caller can review the reasoning and processes followed for the student’s benefit. This exercise will increase the shadow on-caller’s retention of what actually occurred.\n\n###### Tip\n\nShould an outage occur for which writing a postmortem is beneficial, the on-caller should include the newbie as a coauthor. *Do not dump the writeup solely on the student, because it could be mislearned that postmortems are somehow grunt work to be passed off on those most junior. It would be a mistake to create such an impression.*\n\nSome teams will also include a final step: having the experienced on-caller \"reverse shadow\" the student. The newbie will become primary on-call and own all incoming escalations, but the experienced on-caller will lurk in the shadows, independently diagnosing the situation without modifying any state. The experienced SRE will be available to provide active support, help, validation, and hints as necessary.\n\n# On-Call and Beyond: Rites of Passage, and Practicing Continuing Education\n\nAs comprehension increases, the student will reach a point in their career at which they are capable of reasoning through most of the stack comfortably, and can improvise their way through the rest. At this point, they should go on-call for their service. Some teams create a final exam of sorts that tests their students one last time before bestowing them with on-call powers and responsibilities. Other new SREs will submit their completion of the on-call learning checklist as evidence that they are ready. Regardless of how you gate this milestone, going on-call is a rite of passage and it should be celebrated as a team.\n\nDoes learning stop when a student joins the ranks of on-call? Of course not! To remain vigilant as SREs, your team will always need to be active and aware of changes to come. While your attention is elsewhere, portions of your stack may be rearchitected and extended, leaving your team’s operational knowledge as historic at best.\n\nSet up a regular learning series for your whole team, where overviews of new and upcoming changes to your stack are given as presentations by the SREs who are shepherding the changes, who can co-present with developers as needed. If you can, record the presentations so that you can build a training library for future students.\n\nWith some practice, you’ll gain much timely involvement from both SREs within your team and developers who work closely with your team, all while keeping everyone’s minds fresh about the future. There are other venues for educational engagement, too: consider having SREs give talks to your developer counterparts. The better your development peers understand your work and the challenges your team faces, the easier it will be to reach fully informed decisions on later projects.\n\n# Closing Thoughts\n\nAn upfront investment in SRE training is absolutely worthwhile, both for the students eager to grasp their production environment and for the teams grateful to welcome students into the ranks of on-call. Through the use of applicable practices outlined in this chapter, you will create well-rounded SREs faster, while sharpening team skills in perpetuity. How you apply these practices is up to you, but the charge is clear: as SRE, you have to scale your humans faster than you scale your machines. Good luck to you and your teams in creating a culture of learning and teaching!\n\n135And doesn’t work!\n\n136Examples of proactive SRE work include software automation, design consulting, and launch coordination.\n\n137Examples of reactive SRE work include debugging, troubleshooting, and handling on-call escalations.\n\n138A nod to video games of yesteryear.\n\n139This \"follow the RPC\" approach also works well for batch/pipeline systems; start with the operation that kicks off the system. For batch systems, this operation could be data arriving that needs to be processed, a transaction that needs to be validated, or many other events.\n\n140See [\"Life in the Trenches of healthcare.gov\"](https://www.thedotpost.com/2014/05/robert-kennedy-life-in-the-trenches-of-healthcare-gov).\n\n141For example: \"You’re getting paged by another team that brings you more information. Here’s what they say…\"\n\n142For example: \"We’re losing money quickly! How could you stop the bleeding in the short term?\"", "znaku_textu": 40040, "slov": 6493, "odkazu": 75, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:43", "sha256": "7b9a72f4996969765afa542f641830dbe05142c6ade44eb77fafd6c2987db1e1", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.thedotpost.com/2014/05/robert-kennedy-life-in-the-trenches-of-healthcare-gov", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/accelerating-sre-on-call/", "titulek": "Google SRE Onboarding Guide with a Suggested Learning Path", "h1": "Accelerating SREs to On-Call and Beyond", "popis": "A guide to effective SRE onboarding, structured SRE learning paths, practices for aspiring on-callers and skills in reverse engineering for beginners.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/accelerating-sre-on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/accelerating-sre-on-call/"}, "headline": "Accelerating SREs to On-Call and Beyond", "description": "You've hired new employees into your organization, and they're starting as Site Reliability Engineers. Now you have to train them on the job. Investing up front in the education and technical orientation of new SREs will shape them into better engineers. Such training will accelerate them to a state of proficiency faster, while making their skill set more robust and balanced.", "image": "https://lh3.googleusercontent.com/CDwDNrtt64hQELdTIedRlPVnAJ6ZHKdWSN2ZCIJjdT-azOAnuB5jpMdUkkHM_fzDhTWkNizsvBDWe8rM78b335ZC80uWRTTB4L_o", "author": [{"@type": "Person", "name": "Andrew Widdowson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Accelerating SREs to On-Call and Beyond"}, {"uroven": 2, "text": "You’ve Hired Your Next SRE(s), Now What?"}, {"uroven": 1, "text": "Initial Learning Experiences: The Case for Structure Over Chaos"}, {"uroven": 2, "text": "Learning Paths That Are Cumulative and Orderly"}, {"uroven": 2, "text": "Targeted Project Work, Not Menial Work"}, {"uroven": 1, "text": "Creating Stellar Reverse Engineers and Improvisational Thinkers"}, {"uroven": 2, "text": "Reverse Engineers: Figuring Out How Things Work"}, {"uroven": 2, "text": "Statistical and Comparative Thinkers: Stewards of the Scientific Method Under Pressure"}, {"uroven": 2, "text": "Improv Artists: When the Unexpected Happens"}, {"uroven": 2, "text": "Tying This Together: Reverse Engineering a Production Service"}, {"uroven": 1, "text": "Five Practices for Aspiring On-Callers"}, {"uroven": 2, "text": "A Hunger for Failure: Reading and Sharing Postmortems"}, {"uroven": 2, "text": "Disaster Role Playing"}, {"uroven": 2, "text": "Break Real Things, Fix Real Things"}, {"uroven": 2, "text": "Documentation as Apprenticeship"}, {"uroven": 2, "text": "Shadow On-Call Early and Often"}, {"uroven": 6, "text": "Tip"}, {"uroven": 1, "text": "On-Call and Beyond: Rites of Passage, and Practicing Continuing Education"}, {"uroven": 1, "text": "Closing Thoughts"}], "markdown": "# Accelerating SREs to On-Call and Beyond\n\nHow Can I Strap a Jetpack to My Newbies While Keeping Senior SREs Up to Speed?\n\nWritten by Andrew WiddowsonEdited by Shylaja Nukala\n\n## You’ve Hired Your Next SRE(s), Now What?\n\nYou’ve hired new employees into your organization, and they’re starting as Site Reliability Engineers. Now you have to train them on the job. Investing up front in the education and technical orientation of new SREs will shape them into better engineers. Such training will accelerate them to a state of proficiency faster, while making their skill set more robust and balanced.\n\nSuccessful SRE teams are built on trust—in order to maintain a service consistently and globally, you need to trust that your fellow on-callers know how your system works,135 can diagnose atypical system behaviors, are comfortable with reaching out for help, and can react under pressure to save the day. It is essential, then, but not sufficient, to think of SRE education through the lens of, \"What does a newbie need to learn to go on-call?\" Given the requirements regarding trust, you also need to ask questions like:\n\n- How can my existing on-callers assess the readiness of the newbie for on-call?\n- How can we harness the enthusiasm and curiosity in our new hires to make sure that existing SREs benefit from it?\n- What activities can I commit our team to that benefit everyone’s education, but that everyone will like?\n\nStudents have a wide range of learning preferences. Recognizing that you will hire people who have a mix of these preferences, it would be shortsighted to only cater to one style at the expense of the others. Thus, there is no style of education that works best to train new SREs, and there is certainly no one magic formula that will work for all SRE teams. Table 28-1 lists recommended [training practices](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) (and their corresponding anti-patterns) that are well known to SRE at Google. These practices represent a wide range of options available for making your team well educated in SRE concepts, both now and on an ongoing basis.\n\n| Recommended patterns | Anti-patterns |\n| --- | --- |\n| Designing concrete, sequential learning experiences for students to follow | Deluging students with menial work (e.g., alert/ticket triage) to train them; \"trial by fire\" |\n| Encouraging reverse engineering, statistical thinking, and working from fundamental principles | Training strictly through operator procedures, checklists, and playbooks |\n| Celebrating the analysis of failure by suggesting postmortems for students to read | Treating outages as secrets to be buried in order to avoid blame |\n| Creating contained but realistic breakages for students to fix using real monitoring and tooling | Having the first chance to fix something only occur after a student is already on-call |\n| Role-playing theoretical disasters as a group, to intermingle a team’s problem-solving approaches | Creating experts on the team whose techniques and knowledge are compartmentalized |\n| Enabling students to shadow their on-call rotation early, comparing notes with the on-caller | Pushing students into being primary on-call before they achieve a holistic understanding of their service |\n| Pairing students with expert SREs to revise targeted sections of the on-call training plan | Treating on-call training plans as static and untouchable except by subject matter experts |\n| Carving out nontrivial project work for students to undertake, allowing them to gain partial ownership in the stack | Awarding all new project work to the most senior SREs, leaving junior SREs to pick up the scraps |\n\nThe rest of this chapter presents major themes that we have found to be effective in accelerating SREs to on-call and beyond. These concepts can be visualized in a blueprint for bootstrapping SREs (Figure 28-1).\n\nFigure 28-1. A blueprint for bootstrapping an SRE to on-call and beyond\n\nThis illustration captures best practices that SRE teams can pick from to help bootstrap new members, while keeping senior talent fresh. From the many tools here, you can pick and choose the activities that best suit your team.\n\nThe illustration has two axes:\n\n- The x-axis represents the *spectrum between different types of work* , ranging from abstract to applied activities.\n- The y-axis represents *time* . Read from the top down, new SREs have very little knowledge about the systems and services they’ll be responsible for, so postmortems detailing how these systems have failed in the past are a good starting point. New SREs can also try to reverse engineer systems from fundamentals, since they’re starting from zero. Once they understand more about their systems and have done some hands-on work, SREs are ready to shadow on-call and to start mending incomplete or out-of-date documentation.\n\nTips for interpreting this illustration:\n\n- *Going on-call* is a milestone in a new SRE’s career, after which point learning becomes a lot more nebulous, undefined, and self-directed—hence the dashed lines around activities that happen at or after the SRE goes on-call.\n- The triangular shape of *project work & ownership* indicates that project work starts out small and builds over time, becoming more complex and likely continuing well after going on-call.\n- Some of these activities and practices are very abstract/passive, and some are very applied/active. A few activities are mixes of both. It’s good to have a variety of learning modalities to suit different learning styles.\n- For maximum effect, training activities and practices should be appropriately paced: some are appropriate to undertake straightaway, some should happen right before an SRE officially goes on-call, and some should be continual and ongoing even by seasoned SREs. *Concrete learning experiences* should happen for the entire time leading up to the [SRE going on-call](../../workbook/on-call/) .\n\n# Initial Learning Experiences: The Case for Structure Over Chaos\n\nAs discussed elsewhere in this book, SRE teams undertake a natural mix of proactive136 and reactive137 work. It should be a strong goal of every SRE team to contain and reduce reactive work through ample proactivity, and the approach you take to onboarding your newbie(s) should be no exception. Consider the following all-too-common, but sadly suboptimal, onboarding process:\n\n> John is the newest member of the FooServer SRE team. Senior SREs on this team are tasked with a lot of grunt work, such as responding to tickets, dealing with alerts, and performing tedious binary rollouts. On John’s first day on the job, he is assigned all new incoming tickets. He is told that he can ask any member of the SRE team to help him obtain the background necessary to decipher a ticket. 'Sure, there will be a lot of upfront learning that you’ll have to do,' says John’s manager. 'But eventually you’ll get much faster at these tickets. One day, it will just *click* and you’ll know a lot about all of the tools we use, the procedures we follow, and the systems we maintain.' A senior team member comments, 'We’re throwing you in the deep end of the pool here.'\n\nThis \"trial by fire\" method of orienting one’s newbies is often born out of a team’s current environment; ops-driven, reactive SRE teams \"train\" their newest members by making them…well, react! Over and over again. If you’re lucky, the engineers who are already good at navigating ambiguity will crawl out of the hole you’ve put them in. But chances are, this strategy has alienated several capable engineers. While such an approach may eventually produce great operations employees, its results will fall short of the mark. The trial-by-fire approach also presumes that many or most aspects of a team can be taught strictly by doing, rather than by reasoning. If the set of work one encounters in a tickets queue will adequately provide training for said job, then this is not an SRE position.\n\nSRE students will have questions like the following:\n\n- What am I working on?\n- How much progress have I made?\n- When will these activities accumulate enough experience for me to go on-call?\n\nMaking the jump from a previous company or university, while changing job roles (from traditional software engineer or traditional systems administrator) to this nebulous *Site Reliability Engineer* role is often enough to knock students’ confidence down several times. For more introspective personalities (especially regarding questions #2 and #3), the uncertainties incurred by nebulous or less-than-clear answers can lead to slower development or retention problems. Instead, consider the approaches outlined in the following sections. These suggestions are as concrete as any ticket or alert, but they are also sequential, and thus far more rewarding.\n\n## Learning Paths That Are Cumulative and Orderly\n\nPut some amount of learning order into your system(s) so that your new SREs see a path before them. Any type of training is better than random tickets and interrupts, but do make a conscious effort to combine the right mix of theory and application: abstract concepts that will recur multiple times in a newbie’s journey should be frontloaded in their education, while the student should also receive hands-on experience as soon as practically possible.\n\nLearning about your stack(s) and subsystem(s) requires a starting point. Consider whether it makes more sense to group trainings together by similarity of purpose, or by normal-case order of execution. For example, if your team is responsible for a real-time, user-facing serving stack, consider a curriculum order like the following:\n\n1) How a query enters the system\n\nNetworking and datacenter fundamentals, frontend load balancing, proxies, etc.\n\n2) Frontend serving\n\nApplication frontend(s), query logging, user experience SLO(s), etc.\n\n3) Mid-tier services\n\nCaches, backend load balancing\n\n4) Infrastructure\n\nBackends, infrastructure, and compute resources\n\n5) Tying it all together\n\nDebugging techniques, escalation procedures, and emergency scenarios\n\nHow you choose to present the learning opportunities (informal whiteboard chats, formal lectures, or hands-on discovery exercises) is up to you and the SREs helping you structure, design, and deliver training. The Google Search SRE team structures this learning through a document called the \"on-call learning checklist.\" A simplified section of an on-call learning checklist might look like the following:\n\n| **The Results Mixing Server (\"Mixer\")** | |\n| --- | --- |\n| **Frontended by**: Frontend server **Backends called**: Results Retrieval Server, \nGeolocation Server, Personalization Database **SRE experts**: Sally W, Dave K, Jen P **Developer contacts**: Jim T, *results-team@* | **Know before moving on**: Which clusters have Mixer deployed How to roll back a Mixer release Which backends of Mixer are considered \"critical path\" and why |\n| **Read and understand the following docs**: Results Mixing Overview: \"Query execution\" section Results Mixing Overview: \"Production\" section Playbook: How to Roll Out a New Results Mixing Server A Performance Analysis of Mixer | **Comprehension questions**: Q: How does the release schedule change if a company holiday occurs on the normal release build day? Q: How can you fix a bad push of the geolocation dataset? |\n\nNote that the preceding section does not directly encode procedures, diagnostic steps, or playbooks; instead, it’s a relatively future-proof write-up focusing strictly on enumerating expert contacts, highlighting the most useful documentation resources, establishing basic knowledge you must gather and internalize, and asking probing questions that can only be answered once that basic knowledge has been absorbed. It also provides concrete outcomes, so that the student knows what kinds of knowledge and skills they will have gained from completing this section of the learning checklist.\n\nIt’s a good idea for all interested parties to get a sense of how much information the trainee is retaining. While this feedback mechanism perhaps doesn’t need to be as formal as a quiz, it is a good practice to have complete bits of homework that pose questions about how your service(s) work. Satisfactory answers, checked by a student’s mentor, are a sign that learning should continue to the next phase. Questions about the inner workings of your service might look similar to the following:\n\n- Which backends of this server are considered \"in the critical path,\" and why?\n- What aspects of this server could be simplified or automated?\n- Where do you think the first bottleneck is in this architecture? If that bottleneck were to be saturated, what steps could you take to alleviate it?\n\nDepending on how the access permissions are configured for your service, you can also consider implementing a tiered access model. The first tier of access would allow your student read-only access to the inner workings of the components, and a later tier would permit them to mutate the production state. Completing sections of the on-call learning checklist satisfactorily would earn the student progressively deeper access to the system. The Search SRE team calls these attained levels \"powerups\"138 on the route to on-call, as trainees are eventually added into the highest level of systems access.\n\n## Targeted Project Work, Not Menial Work\n\nSREs are problem solvers, so give them a hearty problem to solve! When starting out, having even a minor sense of ownership in the team’s service can do wonders for learning. In the reverse, such ownership can also make great inroads for trust building among senior colleagues, because they will approach their junior colleague to learn about the new component(s) or processes. Early opportunities for ownership are standard across Google in general: all engineers are given a starter project that’s meant to provide a tour through the infrastructure sufficient to enable them to make a small but useful contribution early. Having the new SRE split time between learning *and* project work will also give them a sense of purpose and productivity, which would not happen if they spent time only on learning *or* project work. Several starter project patterns that seem to work well include:\n\n- Making a trivial user-visible feature change in a serving stack, and subsequently shepherding the feature release all the way through to production. Understanding both the development toolchain and the binary release process encourages empathy for the developers.\n- Adding monitoring to your service where there are currently blind spots. The newbie will have to reason with the monitoring logic, while reconciling their understanding of a system with how it actually (mis)behaves.\n- Automating a pain point that isn’t quite painful enough to have been automated already, providing the new SRE with an appreciation for the value SREs place on removing toil from our day-to-day operations.\n\n# Creating Stellar Reverse Engineers and Improvisational Thinkers\n\nWe can propose a set of guidelines for *how* to train new SREs, but *what* should we train them on? [Training material](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) will depend on the technologies being used on the job, but the more important question is: what kind of engineers are we trying to create? At the scale and complexity at which SREs operate, they cannot afford to merely be operations-focused, traditional system administrators. In addition to having a large-scale engineering mindset, SREs should exhibit the following characteristics:\n\n- In the course of their jobs, they will come across systems they’ve never seen before, so they need to have *strong reverse engineering skills* .\n- At scale, there will be anomalies that are hard to detect, so they’ll need the ability to *think statistically* , rather than procedurally, to uncloak problems.\n- When standard operating procedures break down, they’ll need to be able to *improvise fully* .\n\nLet’s examine these attributes further, so that we can understand how to equip our SREs for these skills and behaviors.\n\n## Reverse Engineers: Figuring Out How Things Work\n\nEngineers are curious about how systems they’ve never seen before work—or, more likely, how the current versions of systems they used to know quite well work. By having a baseline understanding of how systems work at your company, along with a willingness to dig deep into the debugging tools, RPC boundaries, and logs of your binaries to unearth their flows, SREs will become more efficient at homing in on unexpected problems in unexpected system architectures. Teach your SREs about the diagnostic and debugging surfaces of your applications and have them practice drawing inferences from the information these surfaces reveal, so that such behavior becomes reflexive when dealing with future outages.\n\n## Statistical and Comparative Thinkers: Stewards of the Scientific Method Under Pressure\n\nYou can think of an SRE’s approach to incident response for large-scale systems as navigating through a massive decision tree unfolding in front of them. In the limited time window afforded by the demands of incident response, the SRE can take a few actions out of hundreds with the goal of mitigating the outage, either in the short term or the long term. Because time is often of the utmost importance, the SRE has to effectively and efficiently prune this decision tree. The ability to do so is partially gained through experience, which only comes with time and exposure to a breadth of production systems. This experience must be paired with careful construction of hypotheses that, when proven or disproven, even further narrow down that decision space. Put another way, tracking down system breakages is often akin to playing a game of \"which of these things is not like the other?\" where \"things\" might entail kernel version, CPU architecture, binary version(s) in your stack, regional traffic mix, or a hundred other factors. Architecturally, it’s the team’s responsibility to ensure all of these factors can be controlled for and individually analyzed and compared. However, we should also train our newest SREs to become good analysts and comparators from their earliest moments on the job.\n\n## Improv Artists: When the Unexpected Happens\n\nYou try out a fix for the breakage, but it doesn’t work. The developer(s) behind the failing system are nowhere to be found. What do you do now? You improvise! Learning multiple tools that can solve parts of your problem allows you to practice defense in depth in your own problem-solving behaviors. Being too procedural in the face of an outage, thus forgetting your analytical skills, can be the difference between getting stuck and finding the root cause. A case of bogged-down troubleshooting can be further compounded when an SRE brings too many untested assumptions about the cause of an outage into their decision making. Demonstrating that there are many analytical traps that SREs can fall into, which require \"zooming out\" and taking a different approach to resolution, is a valuable lesson for SREs to learn early on.\n\nGiven these three aspirational attributes of high-performing SREs, what courses and experiences can we provide new SREs in order to send them along a path in the right direction? You need to come up with your own course content that embodies these attributes, in addition to the other attributes specific to your SRE culture. Let’s consider one class that we believe hits all of the aforementioned points.\n\n## Tying This Together: Reverse Engineering a Production Service\n\n> When it came time to learn [part of the Google Maps stack], [a new SRE] asked if, rather than passively having someone explain the service, she could do this herself—learning everything via reverse engineering class techniques, and having the rest of us correct her/fill in the blanks for whatever she missed or got wrong. The result? Well, it was probably more correct and useful than it would have been if *I’d* given the talk, and I’ve been on-call for this for over 5 years!\n> \n> Paul Cowan, Google Site Reliability Engineer\n\nOne popular class we offer at Google is called \"Reverse Engineering a Production Service (without help from its owners).\" The problem scenario presented appears simple at first. The entire Google News Team—SRE, Software Engineers, Product Management, and so forth—has gone on a company trip: a cruise of the Bermuda Triangle. We haven’t heard from the team for 30 days, so our students are the newly appointed Google News SRE Team. They need to figure out how the serving stack works from end-to-end in order to commandeer it and keep it running.\n\nAfter being given this scenario, the students are led through interactive, purpose-driven exercises in which they trace the inbound path of their web browser’s query through Google’s infrastructure. At each stage in the process, we emphasize that it is important to learn multiple ways to discover the connectivity between production servers, so that connections are not missed. In the middle of the class, we challenge the students to find another endpoint for the incoming traffic, demonstrating that our initial assumption was too narrowly scoped. We then challenge our students to find other ways into the stack. We exploit the highly instrumented nature of our production binaries, which self-report their RPC connectivity, as well as our available white-box and black-box monitoring, to determine which path(s) users’ queries take.139 Along the way, we build a system diagram and also discuss components that are shared infrastructure that our students are likely to see again in the future.\n\nAt the end of the class, the students are charged with a task. Each student returns to their home team and asks a senior SRE to help them select a stack or slice of a stack for which they’ll be on-call. Using the skills learned in classes, the student then diagrams that stack on their own and presents their findings to the senior SRE. Undoubtedly the student will miss a few subtle details, which will make for a good discussion. It’s also likely that the senior SRE will learn something from the exercise as well, exposing drifts in their prior understanding of the ever-changing system. Because of the rapid change of production systems, it is important that your team welcome any chance to refamiliarize themselves with a system, including by learning from the newest, rather than oldest, members of the team.\n\n# Five Practices for Aspiring On-Callers\n\nBeing on-call is not the single most important purpose of any SRE, but production engineering responsibilities usually do involve some kind of urgent notification coverage. Someone who is capable of responsibly taking on-call is someone who understands the system that they work on to a reasonable depth and breadth. So we’ll use \"able to take on-call\" as a useful proxy for \"knows enough and can figure out the rest.\"\n\n## A Hunger for Failure: Reading and Sharing Postmortems\n\n> Those who cannot remember the past are condemned to repeat it.\n> \n> George Santayana, philosopher and essayist\n\nPostmortems (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)) are an important part of continuous improvement. They are a blame-free way of getting at the many root causes of a significant or visible outage. When writing a postmortem, keep in mind that its most appreciative audience might be an engineer who hasn’t yet been hired. Without radical editing, subtle changes can be made to our best postmortems to make them \"teachable\" postmortems.\n\nEven the best postmortems aren’t helpful if they languish in the bottom of a virtual filing cabinet. It then follows that your team should collect and curate valuable postmortems to serve as [educational resources](https://sre.google/resources/) for future newbies. Some postmortems are rote, but \"teachable postmortems\" that provide insights into structural or novel failures of large-scale systems are as good as gold for new students.\n\nOwnership of postmortems isn’t limited just to authorship. It’s a point of pride for many teams to have survived and documented their largest outages. Collect your best postmortems and make them prominently available for your newbies—in addition to interested parties from related and/or integrating teams—to read. Ask related teams to publish their best postmortems where you can access them.\n\nSome SRE teams at Google run \"postmortem reading clubs\" where fascinating and insightful postmortems are circulated, pre-read, and then discussed. The original author(s) of the postmortem can be the guest(s) of honor at the meeting. Other teams organize \"tales of fail\" gatherings where the postmortem author(s) semiformally present, recounting the outage and effectively driving the discussion themselves.\n\nRegular readings or presentations on outages, including trigger conditions and mitigation steps, do wonders for building a new SRE’s mental map and understanding of production and on-call response. Postmortems are also excellent fuel for future abstract disaster scenarios.\n\n## Disaster Role Playing\n\n> Once a week we have a meeting where a victim is chosen to be on the spot in front of the group, and a scenario—often a real one taken from the annals of Google history—is thrown at him or her. The victim, whom I think of as a game show contestant, tells the game show host what s/he would do or query to understand or solve the problem, and the host tells the victim what happens with each action or observation. It's like *SRE Zork*. You are in a maze of twisty monitoring consoles, all alike. You must save innocent users from slipping into the Chasm of Excessive Query Latency, save datacenters from Near-Certain Meltdown, and spare us all the embarrassment of Erroneous Google Doodle Display.\n> \n> Robert Kennedy, former Site Reliability Engineer for Google Search and healthcare.gov140\n\nWhen you have a group of SREs of wildly different experience levels, what can you do to bring them all together, and enable them to learn from each other? How do you impress the SRE culture and problem-solving nature of your team upon a newbie, while also keeping grizzled veterans apprised of new changes and features in your stack? Google SRE teams address these challenges through a time-honored tradition of regular disaster role playing. Among other names, this exercise is commonly referred to as \"Wheel of Misfortune\" or \"Walk the Plank.\" The sense of humorous danger such titles lend the exercise makes it less intimidating to freshly hired SREs.\n\nAt its best, these exercises become a weekly ritual in which every member of the group learns something. The formula is straightforward and bears some resemblance to a tabletop RPG (Role Playing Game): the \"game master\" (GM) picks two team members to be primary and secondary on-call; these two SREs join the GM at the front of the room. An incoming page is announced, and the on-call team responds with what they would do to mitigate and investigate the outage.\n\nThe GM has carefully prepared a scenario that is about to unfold. This scenario might be based upon a previous outage for which the newer team members weren’t around or that older team members have forgotten. Or perhaps the scenario is a foray into a hypothetical breakage of a new or soon-to-be-launched feature in the stack, rendering all members of the room equally unprepared to grapple with the situation. Better still, a coworker might find a new and novel breakage in production, and today’s scenario expands on this new threat.\n\nOver the next 30–60 minutes, the primary and secondary on-callers attempt to root-cause the issue. The GM happily provides additional context as the problem unfolds, perhaps informing the on-callers (and their audience) of what the graphs on their monitoring dashboard might look like during the outage. If the incident requires escalation outside of the home team, the GM pretends to be a member of that other team for the purposes of the scenario. No virtual scenario will be perfect, so at times the GM may have to steer participants back on track by redirecting the on-callers away from red herrings, introducing urgency and clarity by adding other stimuli,141 or asking urgent and pointed questions.142\n\nWhen your disaster RPG is successful, everyone will have learned something: perhaps a new tool or trick, a different perspective on how to solve a problem, or (especially gratifying to new team members) a validation that you could have solved this week’s problem if you had been picked. With some luck, this exercise will inspire teammates to eagerly look forward to next week’s adventure or to ask to become the game master for an upcoming week.\n\n## Break Real Things, Fix Real Things\n\nA newbie can learn much about SRE by reading documentation, postmortems, and taking trainings. Disaster role playing can help get a newbie’s mind into the game. However, the experience derived from hands-on experience breaking and/or fixing *real* production systems is even better. There will be plenty of time for hands-on experience once a newbie has gone on-call, but such learning should happen *before* a new SRE reaches that point. Therefore, provide for such hands-on experiences much earlier in order to develop the student’s reflexive responses for using your company’s tooling and monitoring to approach a developing outage.\n\nRealism is paramount in these interactions. Ideally, your team has a stack that is multihomed and provisioned in such a way that you have at least one instance you can divert from live traffic and temporarily loan to a learning exercise. Alternatively, you might have a smaller, but still fully featured, staging or QA instance of your stack that can be borrowed for a short time. If possible, subject the stack to synthetic load that approximates real user/client traffic, in addition to resource consumption, if possible.\n\nThe opportunities for learning from a real production system under synthetic load are abundant. Senior SREs will have experienced all sorts of troubles: misconfigurations, memory leaks, performance regressions, crashing queries, storage bottlenecks, and so forth. In this realistic but relatively risk-free environment, proctors can manipulate the job set in ways that alter the behavior of the stack, forcing new SREs to find differences, determine contributing factors, and ultimately repair systems to restore appropriate behavior.\n\nAs an alternative to the overhead of asking a senior SRE to carefully plan a specific type of breakage that the new SRE(s) must repair, you can also work in the opposite direction with an exercise that may also increase participation from the entire team: work from a known good configuration and slowly impair the stack at selected bottlenecks, observing upstream and downstream efforts through your monitoring. This exercise is valued by the Google Search SRE team, whose version of this exercise is called \"Let’s burn a search cluster to the ground!\" The exercise proceeds as follows:\n\n1. As a group, we discuss what observable performance characteristics might change as we cripple the stack.\n2. Before inflicting the planned damage, we poll the participants for their guesses and reasoning about their predictions about how the system will react.\n3. We validate assumptions and justify the reasoning behind the behaviors we see.\n\nThis exercise, which we perform on a quarterly basis, shakes out new bugs that we eagerly fix, because our systems do not always degrade as gracefully as we would expect.\n\n## Documentation as Apprenticeship\n\nMany SRE teams maintain an \"on-call learning checklist,\" which is an organized reading and comprehension list of the technologies and concepts relevant to the system(s) they maintain. This list must be internalized by a student before they’re eligible to serve as a shadow on-caller. Take a moment to revisit the example on-call learning checklist in Table 28-2. The learning checklist serves different purposes for different people:\n\n- **To the student**:\n - This doc helps establish the boundaries of the system their team supports.\n - By studying this list, the student gains a sense of what systems are most important and why. When they understand the information therein, they can move on to other topics they need to learn, rather than dwelling on learning esoteric details that can be learned over time.\n- **To mentors and managers**: Student progress through the learning checklist can be observed. The checklist answers questions such as:\n - What sections are you working on today?\n - What sections are the most confusing?\n- **To all team members**: The doc becomes a social contract by which (upon mastery) the student joins the ranks of on-call. The learning checklist sets the standard that all team members should aspire to and uphold.\n\nIn a rapidly changing environment, documentation can fall out of date quickly. Outdated documentation is less of a problem for senior SREs who are already up to speed, because they keep state on the world and its changes in their own heads. Newbie SREs are much more in need of up-to-date documentation, but may not feel empowered or knowledgeable enough to make changes. When designed with just the right amount of structure, on-call documentation can become an adaptable body of work that harnesses newbie enthusiasm and senior knowledge to keep everyone fresh.\n\nIn Search SRE, we anticipate the arrival of new team member(s) by reviewing our on-call learning checklist, and sorting its sections by how up-to-date they are. As the new team member arrives, we point them to the overall learning checklist, but also task them with overhauling one or two of the most outdated sections. As you can see in Table 28-2, we label the senior SRE and developer contacts for each technology. We encourage the student to make an early connection with those subject matter experts, so that they might learn the inner workings of the selected technology directly. Later, as they become more familiar with the scope and tone of the learning checklist, they are expected to contribute a revised learning checklist section, which must be peer-reviewed by one or more senior SREs that are listed as experts.\n\n## Shadow On-Call Early and Often\n\nUltimately, no amount of hypothetical disaster exercises or other training mechanisms will fully prepare an SRE for going on-call. At the end of the day, tackling real outages will always be more beneficial from a learning standpoint than engaging with hypotheticals. Yet it’s unfair to make newbies wait until their first real page to have a chance to learn and retain knowledge.\n\nAfter the student has made their way through all system fundamentals (by completing, for example, an on-call learning checklist), consider configuring your alerting system to copy incoming pages to your newbie, at first only during business hours. Rely on their curiosity to lead the way. These \"shadow\" on-call shifts are a great way for a mentor to gain visibility into a student’s progress, and for a student to gain visibility into the responsibilities of being on-call. By arranging for the newbie to shadow multiple members of their team, the team will become increasingly comfortable with the thought of this person entering the [on-call rotation.](https://sre.google/sre-book/being-on-call/) Instilling confidence in this manner is an effective method of building trust, allowing more senior members to detach when they aren’t on-call, thus helping to avoid team burnout.\n\nWhen a page comes in, the new SRE is not the appointed on-caller, a condition which removes any time pressure for the student. They now have a front-row seat to the outage while it unfolds, rather than after the issue is resolved. It may be that the student and the primary on-caller share a terminal session, or sit near each other to readily compare notes. At a time of mutual convenience after the outage is complete, the on-caller can review the reasoning and processes followed for the student’s benefit. This exercise will increase the shadow on-caller’s retention of what actually occurred.\n\n###### Tip\n\nShould an outage occur for which writing a postmortem is beneficial, the on-caller should include the newbie as a coauthor. *Do not dump the writeup solely on the student, because it could be mislearned that postmortems are somehow grunt work to be passed off on those most junior. It would be a mistake to create such an impression.*\n\nSome teams will also include a final step: having the experienced on-caller \"reverse shadow\" the student. The newbie will become primary on-call and own all incoming escalations, but the experienced on-caller will lurk in the shadows, independently diagnosing the situation without modifying any state. The experienced SRE will be available to provide active support, help, validation, and hints as necessary.\n\n# On-Call and Beyond: Rites of Passage, and Practicing Continuing Education\n\nAs comprehension increases, the student will reach a point in their career at which they are capable of reasoning through most of the stack comfortably, and can improvise their way through the rest. At this point, they should go on-call for their service. Some teams create a final exam of sorts that tests their students one last time before bestowing them with on-call powers and responsibilities. Other new SREs will submit their completion of the on-call learning checklist as evidence that they are ready. Regardless of how you gate this milestone, going on-call is a rite of passage and it should be celebrated as a team.\n\nDoes learning stop when a student joins the ranks of on-call? Of course not! To remain vigilant as SREs, your team will always need to be active and aware of changes to come. While your attention is elsewhere, portions of your stack may be rearchitected and extended, leaving your team’s operational knowledge as historic at best.\n\nSet up a regular learning series for your whole team, where overviews of new and upcoming changes to your stack are given as presentations by the SREs who are shepherding the changes, who can co-present with developers as needed. If you can, record the presentations so that you can build a training library for future students.\n\nWith some practice, you’ll gain much timely involvement from both SREs within your team and developers who work closely with your team, all while keeping everyone’s minds fresh about the future. There are other venues for educational engagement, too: consider having SREs give talks to your developer counterparts. The better your development peers understand your work and the challenges your team faces, the easier it will be to reach fully informed decisions on later projects.\n\n# Closing Thoughts\n\nAn upfront investment in SRE training is absolutely worthwhile, both for the students eager to grasp their production environment and for the teams grateful to welcome students into the ranks of on-call. Through the use of applicable practices outlined in this chapter, you will create well-rounded SREs faster, while sharpening team skills in perpetuity. How you apply these practices is up to you, but the charge is clear: as SRE, you have to scale your humans faster than you scale your machines. Good luck to you and your teams in creating a culture of learning and teaching!\n\n135And doesn’t work!\n\n136Examples of proactive SRE work include software automation, design consulting, and launch coordination.\n\n137Examples of reactive SRE work include debugging, troubleshooting, and handling on-call escalations.\n\n138A nod to video games of yesteryear.\n\n139This \"follow the RPC\" approach also works well for batch/pipeline systems; start with the operation that kicks off the system. For batch systems, this operation could be data arriving that needs to be processed, a transaction that needs to be validated, or many other events.\n\n140See [\"Life in the Trenches of healthcare.gov\"](https://www.thedotpost.com/2014/05/robert-kennedy-life-in-the-trenches-of-healthcare-gov).\n\n141For example: \"You’re getting paged by another team that brings you more information. Here’s what they say…\"\n\n142For example: \"We’re losing money quickly! How could you stop the bleeding in the short term?\"", "znaku_textu": 40040, "slov": 6493, "odkazu": 75, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/accelerating-sre-on-call", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:38", "sha256": "7b9a72f4996969765afa542f641830dbe05142c6ade44eb77fafd6c2987db1e1", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.thedotpost.com/2014/05/robert-kennedy-life-in-the-trenches-of-healthcare-gov", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/addressing-cascading-failures/", "titulek": "Google SRE - Cascading Failures: Reducing System Outage", "h1": "Addressing Cascading Failures", "popis": "Discover strategies to prevent and mitigate cascading failures, ensuring system stability and reliability, potentially preventing system outages.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/addressing-cascading-failures/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/addressing-cascading-failures/"}, "headline": "Addressing Cascading Failures", "description": "A cascading failure is a failure that grows over time as a result of positive feedback.It can occur when a portion of an overall system fails, increasing the probability that other portions of the system fail.", "image": "https://lh3.googleusercontent.com/MipjJEYiskndm_vX2vrZmT_TYoNfK47sJ-q7HkAa6TF0UQOHLCw3lLREoLISKxR03ZxDfHjyEyVZLiKGRH_Cq8KnltzYiaPcsxC66A", "author": [{"@type": "Person", "name": "Mike Ulrich"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Addressing Cascading Failures"}, {"uroven": 2, "text": "Causes of Cascading Failures and Designing to Avoid Them"}, {"uroven": 2, "text": "Server Overload"}, {"uroven": 2, "text": "Resource Exhaustion"}, {"uroven": 3, "text": "CPU"}, {"uroven": 3, "text": "Memory"}, {"uroven": 3, "text": "Threads"}, {"uroven": 3, "text": "File descriptors"}, {"uroven": 3, "text": "Dependencies among resources"}, {"uroven": 2, "text": "Service Unavailability"}, {"uroven": 1, "text": "Preventing Server Overload"}, {"uroven": 2, "text": "Queue Management"}, {"uroven": 2, "text": "Load Shedding and Graceful Degradation"}, {"uroven": 2, "text": "Retries"}, {"uroven": 2, "text": "Latency and Deadlines"}, {"uroven": 3, "text": "Picking a deadline"}, {"uroven": 3, "text": "Missing deadlines"}, {"uroven": 3, "text": "Deadline propagation"}, {"uroven": 3, "text": "Cancellation propagation"}, {"uroven": 3, "text": "Bimodal latency"}, {"uroven": 1, "text": "Slow Startup and Cold Caching"}, {"uroven": 2, "text": "Always Go Downward in the Stack"}, {"uroven": 1, "text": "Triggering Conditions for Cascading Failures"}, {"uroven": 2, "text": "Process Death"}, {"uroven": 2, "text": "Process Updates"}, {"uroven": 2, "text": "New Rollouts"}, {"uroven": 2, "text": "Organic Growth"}, {"uroven": 2, "text": "Planned Changes, Drains, or Turndowns"}, {"uroven": 3, "text": "Request profile changes"}, {"uroven": 3, "text": "Resource limits"}, {"uroven": 1, "text": "Testing for Cascading Failures"}, {"uroven": 2, "text": "Test Until Failure and Beyond"}, {"uroven": 2, "text": "Test Popular Clients"}, {"uroven": 2, "text": "Test Noncritical Backends"}, {"uroven": 1, "text": "Immediate Steps to Address Cascading Failures"}, {"uroven": 2, "text": "Increase Resources"}, {"uroven": 2, "text": "Stop Health Check Failures/Deaths"}, {"uroven": 2, "text": "Restart Servers"}, {"uroven": 2, "text": "Drop Traffic"}, {"uroven": 2, "text": "Enter Degraded Modes"}, {"uroven": 2, "text": "Eliminate Batch Load"}, {"uroven": 2, "text": "Eliminate Bad Traffic"}, {"uroven": 5, "text": "Cascading Failure and Shakespeare"}, {"uroven": 1, "text": "Closing Remarks"}], "markdown": "# Addressing Cascading Failures\n\nWritten by Mike Ulrich\n\n> If at first you don't succeed, back off exponentially.\n> \n> Dan Sandler, Google Software Engineer\n\n> Why do people always forget that you need to add a little jitter?\n> \n> Ade Oshineye, Google Developer Advocate\n\nA cascading failure is a failure that grows over time as a result of positive feedback.107 It can occur when a portion of an overall system fails, increasing the probability that other portions of the system fail. For example, a single replica for a service can fail due to overload, increasing load on remaining replicas and increasing their probability of failing, causing a domino effect that takes down all the replicas for a service.\n\nWe’ll use the Shakespeare search service discussed in [Shakespeare: A Sample Service](/sre-book/production-environment#xref_production-environment_shakespeare) as an example throughout this chapter. Its production configuration might look something like Figure 22-1.\n\nFigure 22-1. Example production configuration for the Shakespeare search service\n\n## Causes of Cascading Failures and Designing to Avoid Them\n\nWell-thought-out system design should take into account a few typical scenarios that account for the majority of cascading failures.\n\n## Server Overload\n\nThe most common cause of cascading failures is overload. Most cascading failures described here are either directly due to server overload, or due to extensions or variations of this scenario.\n\nSuppose the frontend in cluster A is handling 1,000 requests per second (QPS), as in Figure 22-2.\n\nFigure 22-2. Normal server load distribution between clusters A and B\n\nIf cluster B fails (Figure 22-3), requests to cluster A increase to 1,200 QPS. The frontends in A are not able to handle requests at 1,200 QPS, and therefore start running out of resources, which causes them to crash, miss deadlines, or otherwise misbehave. As a result, the rate of successfully handled requests in A dips well below 1,000 QPS.\n\nFigure 22-3. Cluster B fails, sending all traffic to cluster A\n\nThis reduction in the rate of useful work being done can spread into other failure domains, potentially spreading globally. For example, local overload in one cluster may lead to its servers crashing; in response, the load balancing controller sends requests to other clusters, overloading their servers, leading to a service-wide overload failure. It may not take long for these events to transpire (e.g., on the order of a couple minutes), because the [load balancer](https://sre.google/sre-book/handling-overload/) and task scheduling systems involved may act very quickly.\n\n## Resource Exhaustion\n\nRunning out of a resource can result in higher latency, elevated error rates, or the substitution of lower-quality results. These are in fact desired effects of running out of resources: something eventually needs to give as the load increases beyond what a server can handle.\n\nDepending on what resource becomes exhausted in a server and how the server is built, resource exhaustion can render the server less efficient or cause the server to crash, prompting the load balancer to distribute the resource problems to other servers. When this happens, the rate of successfully handled requests can drop and possibly send the cluster or an entire service into a cascade failure.\n\nDifferent types of resources can be exhausted, resulting in varying effects on servers.\n\n### CPU\n\nIf there is insufficient CPU to handle the request load, typically all requests become slower. This scenario can result in various secondary effects, including the following:\n\nIncreased number of in-flight requests\n\nBecause requests take longer to handle, more requests are handled concurrently (up to a possible maximum capacity at which queuing may occur). This affects almost all resources, including memory, number of active threads (in a thread-per-request server model), number of file descriptors, and backend resources (which in turn can have other effects).\n\nExcessively long queue lengths\n\nIf there is insufficient capacity to handle all the requests at steady state, the server will saturate its queues. This means that latency increases (the requests are queued for longer amounts of time) and the queue uses more memory. See Queue Management for a discussion of mitigation strategies.\n\nThread starvation\n\nWhen a thread can’t make progress because it’s waiting for a lock, health checks may fail if the health check endpoint can’t be served in time.\n\nCPU or request starvation\n\nInternal watchdogs108 in the server detect that the server isn’t making progress, causing the servers to crash due to CPU starvation, or due to request starvation if watchdog events are triggered remotely and processed as part of the request queue.\n\nMissed RPC deadlines\n\nAs a server becomes overloaded, its responses to RPCs from its clients arrive later, which may exceed any deadlines those clients set. The work the server did to respond is then wasted, and clients may retry the RPCs, leading to even more overload.\n\nReduced CPU caching benefits\n\nAs more CPU is used, the chance of spilling on to more cores increases, resulting in decreased usage of local caches and decreased CPU efficiency.\n\n### Memory\n\nIf nothing else, more in-flight requests consume more RAM from allocating the request, response, and RPC objects. Memory exhaustion can cause the following effects:\n\nDying tasks\n\nFor example, a task might be evicted by the container manager (VM or otherwise) for exceeding available resource limits, or application-specific crashes may cause tasks to die.\n\nIncreased rate of garbage collection (GC) in Java, resulting in increased CPU usage\n\nA vicious cycle can occur in this scenario: less CPU is available, resulting in slower requests, resulting in increased RAM usage, resulting in more GC, resulting in even lower availability of CPU. This is known colloquially as the “GC death spiral.”\n\nReduction in cache hit rates\n\nReduction in available RAM can reduce application-level cache hit rates, resulting in more RPCs to the backends, which can possibly cause the backends to become overloaded.\n\n### Threads\n\nThread starvation can directly cause errors or lead to health check failures. If the server adds threads as needed, thread overhead can use too much RAM. In extreme cases, thread starvation can also cause you to run out of process IDs.\n\n### File descriptors\n\nRunning out of file descriptors can lead to the inability to initialize network connections, which in turn can cause health checks to fail.\n\n### Dependencies among resources\n\nNote that many of these resource exhaustion scenarios feed from one another—a [service experiencing overload](../../workbook/overload/) often has a host of secondary symptoms that can look like the root cause, making debugging difficult.\n\nFor example, imagine the following scenario:\n\n1. A Java frontend has poorly tuned garbage collection (GC) parameters.\n2. Under high (but expected) load, the frontend runs out of CPU due to GC.\n3. CPU exhaustion slows down completion of requests.\n4. The increased number of in-progress requests causes more RAM to be used to process the requests.\n5. Memory pressure due to requests, in combination with a fixed memory allocation for the frontend process as a whole, leaves less RAM available for caching.\n6. The reduced cache size means fewer entries in the cache, in addition to a lower hit rate.\n7. The increase in cache misses means that more requests fall through to the backend for servicing.\n8. The backend, in turn, runs out of CPU or threads.\n9. Finally, the lack of CPU causes basic health checks to fail, starting a cascading failure.\n\nIn situations as complex as the preceding scenario, it’s unlikely that the causal chain will be fully diagnosed during an outage. It might be very hard to determine that the backend crash was caused by a decrease in the cache rate in the frontend, particularly if the frontend and backend components have different owners.\n\n## Service Unavailability\n\nResource exhaustion can lead to servers crashing; for example, servers might crash when too much RAM is allocated to a container. Once a couple of servers crash on overload, the load on the remaining servers can increase, causing them to crash as well. The problem tends to snowball and soon all servers begin to crash-loop. It’s often difficult to escape this scenario because as soon as servers come back online they’re bombarded with an extremely high rate of requests and fail almost immediately.\n\nFor example, if a service was healthy at 10,000 QPS, but started a cascading failure due to crashes at 11,000 QPS, dropping the load to 9,000 QPS will almost certainly not stop the crashes. This is because the service will be handling increased demand with reduced capacity; only a small fraction of servers will usually be healthy enough to handle requests. The fraction of servers that will be healthy depends on a few factors: how quickly the system is able to start the tasks, how quickly the binary can start serving at full capacity, and how long a freshly started task is able to survive the load. In this example, if 10% of the servers are healthy enough to handle requests, the request rate would need to drop to about 1,000 QPS in order for the system to stabilize and recover.\n\nSimilarly, servers can appear unhealthy to the load balancing layer, resulting in reduced load balancing capacity: servers may go into “lame duck” state (see [A Robust Approach to Unhealthy Tasks: Lame Duck State](/sre-book/load-balancing-datacenter#robust_approach_lame_duck)) or fail health checks without crashing. The effect can be very similar to crashing: more servers appear unhealthy, the healthy servers tend to accept requests for a very brief period of time before becoming unhealthy, and fewer servers participate in handling requests.\n\nLoad balancing policies that avoid servers that have served errors can exacerbate problems further—a few backends serve some errors, so they don’t contribute to the available capacity for the service. This increases the load on the remaining servers, starting the snowball effect.\n\n# Preventing Server Overload\n\nThe following list presents strategies for [avoiding server overload](../../sre-book/handling-overload/) in rough priority order:\n\nLoad test the server’s capacity limits, and test the failure mode for overload\n\nThis is the most important exercise you should conduct in order to prevent server overload. Unless you test in a realistic environment, it’s very hard to predict exactly which resource will be exhausted and how that resource exhaustion will manifest. For details, see Testing for Cascading Failures.\n\nServe degraded results\n\nServe lower-quality, cheaper-to-compute results to the user. Your strategy here will be service-specific. See Load Shedding and Graceful Degradation.\n\nInstrument the server to reject requests when overloaded\n\nServers should protect themselves from becoming overloaded and crashing. When overloaded at either the frontend or backend layers, fail early and cheaply. For details, see Load Shedding and Graceful Degradation.\n\nInstrument higher-level systems to reject requests, rather than overloading servers\n\nNote that because rate limiting often doesn’t take overall service health into account, it may not be able to stop a failure that has already begun. Simple rate-limiting implementations are also likely to leave capacity unused. Rate limiting can be implemented in a number of places:\n\n*At the reverse proxies*, by limiting the volume of requests by criteria such as IP address to mitigate attempted denial-of-service attacks and abusive clients. *At the load balancers*, by dropping requests when the service enters global overload. Depending on the nature and complexity of the service, this rate limiting can be indiscriminate (“drop all traffic above X requests per second”) or more selective (“drop requests that aren’t from users who have recently interacted with the service” or “drop requests for low-priority operations like background synchronization, but keep serving interactive user sessions”). *At individual tasks*, to prevent random fluctuations in load balancing from overwhelming the server.\n\nPerform capacity planning\n\nGood capacity planning can reduce the probability that a cascading failure will occur. Capacity planning should be coupled with performance testing to determine the load at which the service will fail. For instance, if every cluster’s breaking point is 5,000 QPS, the load is evenly spread across clusters,109 and the service’s peak load is 19,000 QPS, then approximately six clusters are needed to run the service at *N* + 2.\n\nCapacity planning reduces the probability of triggering a cascading failure, but it is not sufficient to protect the service from cascading failures. When you lose major parts of your infrastructure during a planned or unplanned event, no amount of capacity planning may be sufficient to prevent cascading failures. Load balancing problems, network partitions, or unexpected traffic increases can create pockets of high load beyond what was planned. Some systems can grow the number of tasks for your service on demand, which may prevent overload; however, proper capacity planning is still needed.\n\n## Queue Management\n\nMost thread-per-request servers use a queue in front of a thread pool to handle requests. Requests come in, they sit on a queue, and then threads pick requests off the queue and perform the actual work (whatever actions are required by the server). Usually, if the queue is full, the server will reject new requests.\n\nIf the request rate and latency of a given task is constant, there is no reason to queue requests: a constant number of threads should be occupied. Under this idealized scenario, requests will only be queued if the steady state rate of incoming requests exceeds the rate at which the server can process requests, which results in saturation of both the thread pool and the queue.\n\nQueued requests consume memory and increase latency. For example, if the queue size is 10x the number of threads, the time to handle the request on a thread is 100 milliseconds. If the queue is full, then a request will take 1.1 seconds to handle, most of which time is spent on the queue.\n\nFor a system with fairly steady traffic over time, it is usually better to have small queue lengths relative to the thread pool size (e.g., 50% or less), which results in the server rejecting requests early when it can’t sustain the rate of incoming requests. For example, Gmail often uses queueless servers, relying instead on failover to other server tasks when the threads are full. On the other end of the spectrum, systems with “bursty” load for which traffic patterns fluctuate drastically may do better with a queue size based on the current number of threads in use, processing time for each request, and the size and frequency of bursts.\n\n## Load Shedding and Graceful Degradation\n\n*Load shedding* drops some proportion of load by dropping traffic as the server approaches overload conditions. The goal is to keep the server from running out of RAM, failing health checks, serving with extremely high latency, or any of the other symptoms associated with overload, while still doing as much useful work as it can.\n\nOne straightforward way to shed load is to do per-task throttling based on CPU, memory, or queue length; limiting queue length as discussed in Queue Management is a form of this strategy. For example, one effective approach is to return an HTTP 503 (service unavailable) to any incoming request when there are more than a given number of client requests in flight.\n\nChanging the queuing method from the standard *first-in, first-out* (FIFO) to *last-in, first-out* (LIFO) or using the *controlled delay* (CoDel) algorithm [[Nic12]](/sre-book/bibliography#Nic12) or similar approaches can reduce load by removing requests that are unlikely to be worth processing [[Mau15]](/sre-book/bibliography#Mau15). If a user’s web search is slow because an RPC has been queued for 10 seconds, there’s a good chance the user has given up and refreshed their browser, issuing another request: there’s no point in responding to the first one, since it will be ignored! This strategy works well when combined with propagating RPC deadlines throughout the stack, described in Latency and Deadlines.\n\nMore sophisticated approaches include identifying clients to be more selective about what work is dropped, or picking requests that are more important and prioritizing. Such strategies are more likely to be needed for shared services.\n\n*Graceful degradation* takes the concept of load shedding one step further by reducing the amount of work that needs to be performed. In some applications, it’s possible to significantly decrease the amount of work or time needed by decreasing the quality of responses. For instance, a search application might only search a subset of data stored in an in-memory cache rather than the full on-disk database or use a less-accurate (but faster) ranking algorithm when overloaded.\n\nWhen evaluating load shedding or graceful degradation options for your service, consider the following:\n\n- Which metrics should you use to determine when load shedding or graceful degradation should kick in (e.g,. CPU usage, latency, queue length, number of threads used, whether your service enters degraded mode automatically or if manual intervention is necessary)?\n- What actions should be taken when the server is in degraded mode?\n- At what layer should load shedding and graceful degradation be implemented? Does it make sense to implement these strategies at every layer in the stack, or is it sufficient to have a high-level choke-point?\n\nAs you evaluate options and deploy, keep the following in mind:\n\n- Graceful degradation shouldn’t trigger very often—usually in cases of a capacity planning failure or unexpected load shift. Keep the system simple and understandable, particularly if it isn’t used often.\n- Remember that the code path you never use is the code path that (often) doesn’t work. In steady-state operation, graceful degradation mode won’t be used, implying that you’ll have much less operational experience with this mode and any of its quirks, which *increases* the level of risk. You can make sure that graceful degradation stays working by regularly running a small subset of servers near overload in order to exercise this code path.\n- Monitor and alert when too many servers enter these modes.\n- Complex load shedding and graceful degradation can cause problems themselves—excessive complexity may cause the server to trip into a degraded mode when it is not desired, or enter feedback cycles at undesired times. Design a way to quickly turn off complex graceful degradation or tune parameters if needed. Storing this configuration in a consistent system that each server can watch for changes, such as Chubby, can increase deployment speed, but also introduces its own risks of synchronized failure.\n\n## Retries\n\nSuppose the code in the frontend that talks to the backend implements retries naively. It retries after encountering a failure and caps the number of backend RPCs per logical request to 10. Consider this code in the frontend, using gRPC in Go:\n\n```\nfunc exampleRpcCall(client pb.ExampleClient, request pb.Request) *pb.Response {\n // Set RPC timeout to 5 seconds.\n opts := grpc.WithTimeout(5 * time.Second)\n\n // Try up to 10 times to make the RPC call.\n attempts := 10\n for attempts > 0 {\n conn, err := grpc.Dial(*serverAddr, opts...)\n if err != nil {\n // Something went wrong in setting up the connection. Try again.\n attempts--\n continue\n }\n defer conn.Close()\n\n // Create a client stub and make the RPC call.\n client := pb.NewBackendClient(conn)\n response, err := client.MakeRequest(context.Background, request)\n if err != nil {\n // Something went wrong in making the call. Try again.\n attempts--\n continue\n }\n\n return response\n }\n\n grpclog.Fatalf(\"ran out of attempts\")\n}\n```\n\nThis system can cascade in the following way:\n\n1. Assume our backend has a known limit of 10,000 QPS per task, after which point all further requests are rejected in an attempt at graceful degradation.\n2. The frontend calls `MakeRequest` at a constant rate of 10,100 QPS and overloads the backend by 100 QPS, which the backend rejects.\n3. Those 100 failed QPS are retried in `MakeRequest` every 1,000 ms, and probably succeed. But the retries are themselves adding to the requests sent to the backend, which now receives 10,200 QPS—200 QPS of which are failing due to overload .\n4. The volume of retries grows: 100 QPS of retries in the first second leads to 200 QPS, then to 300 QPS, and so on. Fewer and fewer requests are able to succeed on their first attempt, so less useful work is being performed as a fraction of requests to the backend.\n5. If the backend task is unable to handle the increase in load—which is consuming file descriptors, memory, and CPU time on the backend—it can melt down and crash under the sheer load of requests and retries. This crash then redistributes the requests it was receiving across the remaining backend tasks, in turn further overloading those tasks.\n\nSome simplifying assumptions were made here to illustrate this scenario,110 but the point remains that retries can destabilize a system. Note that both temporary load spikes and slow increases in usage can cause this effect.\n\nEven if the rate of calls to `MakeRequest` decreases to pre-meltdown levels (9,000 QPS, for example), depending on how much returning a failure costs the backend, the problem might not go away. Two factors are at play here:\n\n- If the backend spends a significant amount of resources processing requests that will ultimately fail due to overload, then the retries themselves may be keeping the backend in an overloaded mode.\n- The backend servers themselves may not be stable. Retries can amplify the effects seen in Server Overload .\n\nIf either of these conditions is true, in order to dig out of this outage, you must dramatically reduce or eliminate the load on the frontends until the retries stop and the backends stabilize.\n\nThis pattern has contributed to several cascading failures, whether the frontends and backends communicate via RPC messages, the “frontend” is client JavaScript code issuing `XmlHttpRequest` calls to an endpoint and retries on failure, or the retries originate from an offline sync protocol that retries aggressively when it encounters a failure.\n\nWhen issuing automatic retries, keep in mind the following considerations:\n\n- Most of the backend protection strategies described in Preventing Server Overload apply. In particular, testing the system can highlight problems, and graceful degradation can reduce the effect of the retries on the backend.\n- Always use randomized exponential backoff when scheduling retries. See also [\"Exponential Backoff and Jitter\"](https://www.awsarchitectureblog.com/2015/03/backoff.html) in the AWS Architecture Blog [[Bro15]](/sre-book/bibliography#Bro15) . If retries aren’t randomly distributed over the retry window, a small perturbation (e.g., a network blip) can cause retry ripples to schedule at the same time, which can then amplify themselves [[Flo94]](/sre-book/bibliography#Flo94) .\n- Limit retries per request. Don’t retry a given request indefinitely.\n- Consider having a server-wide retry budget. For example, only allow 60 retries per minute in a process, and if the retry budget is exceeded, don’t retry; just fail the request. This strategy can contain the retry effect and be the difference between a capacity planning failure that leads to some dropped queries and a global cascading failure.\n- Think about the service holistically and decide if you really need to perform retries at a given level. In particular, avoid amplifying retries by issuing retries at multiple levels: a single request at the highest layer may produce a number of attempts as large as the *product* of the number of attempts at each layer to the lowest layer. If the database can’t service requests because it’s overloaded, and the backend, frontend, and JavaScript layers all issue 3 retries (4 attempts), then a single user action may create 64 attempts ( 4^3 ) on the database. This behavior is undesirable when the database is returning those errors because it’s overloaded.\n- Use clear response codes and consider how different failure modes should be handled. For example, separate retriable and nonretriable error conditions. Don’t retry permanent errors or malformed requests in a client, because neither will ever succeed. Return a specific status when overloaded so that clients and other layers back off and do not retry.\n\nIn an emergency, it may not be obvious that an outage is due to bad retry behavior. Graphs of retry rates can be an indication of bad retry behavior, but may be confused as a symptom instead of a compounding cause. In terms of mitigation, this is a special case of the insufficient capacity problem, with the additional caveat that you must either fix the retry behavior (usually requiring a code push), reduce load significantly, or cut requests off entirely.\n\n## Latency and Deadlines\n\nWhen a frontend sends an RPC to a backend server, the frontend consumes resources waiting for a reply. RPC deadlines define how long a request can wait before the frontend gives up, limiting the time that the backend may consume the frontend’s resources.\n\n### Picking a deadline\n\nIt’s usually wise to set a deadline. Setting either no deadline or an extremely high deadline may cause short-term problems that have long since passed to continue to consume server resources until the server restarts.\n\nHigh deadlines can result in resource consumption in higher levels of the stack when lower levels of the stack are having problems. Short deadlines can cause some more expensive requests to fail consistently. Balancing these constraints to pick a good deadline can be something of an art.\n\n### Missing deadlines\n\nA common theme in many [cascading outages](https://sre.google/sre-book/tracking-outages/) is that servers spend resources handling requests that will exceed their deadlines on the client. As a result, resources are spent while no progress is made: you don’t get credit for late assignments with RPCs.\n\nSuppose an RPC has a 10-second deadline, as set by the client. The server is very overloaded, and as a result, it takes 11 seconds to move from a queue to a thread pool. At this point, the client has already given up on the request. Under most circumstances, it would be unwise for the server to attempt to handle this request, because it would be doing work for which no credit will be granted—the client doesn’t care what work the server does after the deadline has passed, because it’s given up on the request already.\n\nIf handling a request is performed over multiple stages (e.g., there are a few callbacks and RPC calls), the server should check the deadline left at each stage before attempting to perform any more work on the request. For example, if a request is split into parsing, backend request, and processing stages, it may make sense to check that there is enough time left to handle the request before each stage.\n\n### Deadline propagation\n\nRather than inventing a deadline when sending RPCs to backends, servers should employ deadline propagation.\n\nWith deadline propagation, a deadline is set high in the stack (e.g., in the frontend). The tree of RPCs emanating from an initial request will all have the same absolute deadline. For example, if server *A* selects a 30-second deadline, and processes the request for 7 seconds before sending an RPC to server *B*, the RPC from *A* to *B* will have a 23-second deadline. If server *B* takes 4 seconds to handle the request and sends an RPC to server *C*, the RPC from *B* to *C* will have a 19-second deadline, and so on. Ideally, each server in the request tree implements deadline propagation.\n\nWithout deadline propagation, the following scenario may occur:\n\n1. Server *A* sends an RPC to server *B* with a 10-second deadline.\n2. Server *B* takes 8 seconds to start processing the request and then sends an RPC to server *C* .\n3. If server *B* uses deadline propagation, it should set a 2-second deadline, but suppose it instead uses a hardcoded 20-second deadline for the RPC to server *C* .\n4. Server *C* pulls the request off its queue after 5 seconds.\n\nHad server *B* used deadline propagation, server *C* could immediately give up on the request because the 2-second deadline was exceeded. However, in this scenario, server *C* processes the request thinking it has 15 seconds to spare, but is not doing useful work, since the request from server *A* to server *B* has already exceeded its deadline.\n\nYou may want to reduce the outgoing deadline a bit (e.g., a few hundred milliseconds) to account for network transit times and post-processing in the client.\n\nAlso consider setting an upper bound for outgoing deadlines. You may want to limit how long the server waits for outgoing RPCs to noncritical backends, or for RPCs to backends that typically complete in a short duration. However, be sure to understand your traffic mix, because you might otherwise inadvertently make particular types of requests fail all the time (e.g., requests with large payloads, or requests that require responding to a lot of computation).\n\nThere are some exceptions for which servers may wish to continue processing a request after the deadline has elapsed. For example, if a server receives a request that involves performing some expensive catchup operation and periodically checkpoints the progress of the catchup, it would be a good idea to check the deadline only after writing the checkpoint, instead of after the expensive operation.\n\n### Cancellation propagation\n\nPropagating cancellations reduces unneeded or doomed work by advising servers in an RPC call stack that their efforts are no longer necessary. To reduce latency, some systems use \"hedged requests\" [[Dea13]](/sre-book/bibliography#Dea13) to send RPCs to a primary server, then some time later, send the same request to other instances of the same service in case the primary is slow in responding; once the client has received a response from any server, it sends messages to the other servers to cancel the now-superfluous requests. Those requests may themselves transitively fan out to many other servers, so cancellations should be propagated throughout the entire stack.\n\nThis approach can also be used to avoid the potential leakage that occurs if an initial RPC has a long deadline, but subsequent critical RPCs between deeper layers of the stack receive errors which can't succeed on retry, or have short deadlines and time out. Using only simple deadline propagation, the initial call continues to use server resources until it eventually times out, despite being doomed to failure. Sending fatal errors or timeouts up the stack and cancelling other RPCs in the call tree prevents unneeded work if the request as a whole can't be fulfilled.\n\n### Bimodal latency\n\nSuppose that the frontend from the preceding example consists of 10 servers, each with 100 worker threads. This means that the frontend has a total of 1,000 threads of capacity. During usual operation, the frontends perform 1,000 QPS and requests complete in 100 ms. This means that the frontends usually have 100 worker threads occupied out of the 1,000 configured worker threads (1,000 QPS * 0.1 seconds).\n\nSuppose an event causes 5% of the requests to never complete. This could be the result of the unavailability of some Bigtable row ranges, which renders the requests corresponding to that Bigtable keyspace unservable. As a result, 5% of the requests hit the deadline, while the remaining 95% of the requests take the usual 100 ms.\n\nWith a 100-second deadline, 5% of requests would consume 5,000 threads (50 QPS * 100 seconds), but the frontend doesn’t have that many threads available. Assuming no other secondary effects, the frontend will only be able to handle 19.6% of the requests (1,000 threads available / (5,000 + 95) threads’ worth of work), resulting in an 80.4% error rate.\n\nTherefore, instead of only 5% of requests receiving an error (those that didn’t complete due to keyspace unavailability), most requests receive an error.\n\nThe following guidelines can help address this class of problems:\n\n- Detecting this problem can be very hard. In particular, it may not be clear that bimodal latency is the cause of an outage when you are looking at *mean* latency. When you see a latency increase, try to look at the *distribution* of latencies in addition to the averages.\n- This problem can be avoided if the requests that don’t complete return with an error early, rather than waiting the full deadline. For example, if a backend is unavailable, it’s usually best to immediately return an error for that backend, rather than consuming resources until the backend is available. If your RPC layer supports a fail-fast option, use it.\n- Having deadlines several orders of magnitude longer than the mean request latency is usually bad. In the preceding example, a small number of requests initially hit the deadline, but the deadline was three orders of magnitude larger than the normal mean latency, leading to thread exhaustion.\n- When using shared resources that can be exhausted by some keyspace, consider either limiting in-flight requests by that keyspace or using other kinds of abuse tracking. Suppose your backend processes requests for different clients that have wildly different performance and request characteristics. You might consider only allowing 25% of your threads to be occupied by any one client in order to provide fairness in the face of heavy load by any single client misbehaving.\n\n# Slow Startup and Cold Caching\n\nProcesses are often slower at responding to requests immediately after starting than they will be in steady state. This slowness can be caused by either or both of the following:\n\nRequired initialization\n\nSetting up connections upon receiving the first request that needs a given backend\n\nRuntime performance improvements in some languages, particularly Java\n\nJust-In-Time compilation, hotspot optimization, and deferred class loading\n\nSimilarly, some binaries are less efficient when caches aren’t filled. For example, in the case of some of Google’s services, most requests are served out of caches, so requests that miss the cache are significantly more expensive. In steady-state operation with a warm cache, only a few cache misses occur, but when the cache is completely empty, 100% of requests are costly. Other services might employ caches to keep a user’s state in RAM. This might be accomplished through hard or soft stickiness between reverse proxies and service frontends.\n\nIf the service is not provisioned to handle requests under a cold cache, it’s at greater risk of outages and should take steps to avoid them.\n\nThe following scenarios can lead to a cold cache:\n\nTurning up a new cluster\n\nA recently added cluster will have an empty cache.\n\nReturning a cluster to service after maintenance\n\nThe cache may be stale.\n\nRestarts\n\nIf a task with a cache has recently restarted, filling its cache will take some time. It may be worthwhile to move caching from a server to a separate binary like memcache, which also allows cache sharing between many servers, albeit at the cost of introducing another RPC and slight additional latency.\n\nIf caching has a significant effect on the service,111 you may want to use one or some of the following strategies:\n\n- Overprovision the service. It’s important to note the distinction between a latency cache versus a capacity cache: when a latency cache is employed, the service can sustain its expected load with an empty cache, but a service using a capacity cache cannot sustain its expected load under an empty cache. Service owners should be vigilant about adding caches to their service, and make sure that any new caches are either latency caches or are sufficiently well engineered to safely function as capacity caches. Sometimes caches are added to a service to improve performance, but actually wind up being hard dependencies.\n- Employ general cascading failure prevention techniques. In particular, servers should reject requests when they’re overloaded or enter degraded modes, and testing should be performed to see how the service behaves after events such as a large restart.\n- When adding load to a cluster, slowly increase the load. The initially small request rate warms up the cache; once the cache is warm, more traffic can be added. It’s a good idea to ensure that all clusters carry nominal load and that the caches are kept warm.\n\n## Always Go Downward in the Stack\n\nIn the example Shakespeare service, the frontend talks to a backend, which in turn talks to the storage layer. A problem that manifests in the storage layer can cause problems for servers that talk to it, but fixing the storage layer will usually repair both the backend and frontend layers.\n\nHowever, suppose the backends cross-communicate amongst each other. For example, the backends might proxy requests to one another to change who owns a user when the storage layer can’t service a request. This intra-layer communication can be problematic for several reasons:\n\n- The communication is susceptible to a distributed deadlock. Backends may use the same thread pool to wait on RPCs sent to remote backends that are simultaneously receiving requests from remote backends. Suppose backend *A*’s thread pool is full. Backend *B* sends a request to backend *A* and uses a thread in backend *B* until backend *A*’s thread pool clears. This behavior can cause the thread pool saturation to spread.\n- If intra-layer communication increases in response to some kind of failure or heavy load condition (e.g., load rebalancing that is more active under high load), intra-layer communication can quickly switch from a low to high intra-layer request mode when the load increases enough. For example, suppose a user has a primary backend and a predetermined hot standby secondary backend in a different cluster that can take over the user. The primary backend proxies requests to the secondary backend as a result of errors from the lower layer or in response to heavy load on the master. If the entire system is overloaded, primary to secondary proxying will likely increase and add even more load to the system, due to the additional cost of parsing and waiting on the request to the secondary in the primary.\n- Depending on the criticality of the cross-layer communication, bootstrapping the system may become more complex. It’s usually better to avoid intra-layer communication—i.e., possible cycles in the communication path—in the user request path. Instead, have the client do the communication. For example, if a frontend talks to a backend but guesses the wrong backend, the backend should not proxy to the correct backend. Instead, the backend should tell the frontend to retry its request on the correct backend.\n\n# Triggering Conditions for Cascading Failures\n\nWhen a service is susceptible to cascading failures, there are several possible disturbances that can initiate the domino effect. This section identifies some of the factors that trigger cascading failures.\n\n## Process Death\n\nSome server tasks may die, reducing the amount of available capacity. Tasks might die because of a Query of Death (an RPC whose contents trigger a failure in the process), cluster issues, assertion failures, or a number of other reasons. A very small event (e.g., a couple of crashes or tasks rescheduled to other machines) may cause a service on the brink of falling to break.\n\n## Process Updates\n\nPushing a new version of the binary or updating its configuration may initiate a cascading failure if a large number of tasks are affected simultaneously. To prevent this scenario, either account for necessary capacity overhead when setting up the service’s update infrastructure, or push off-peak. Dynamically adjusting the number of in-flight task updates based on the volume of requests and available capacity may be a workable approach.\n\n## New Rollouts\n\nA new binary, configuration changes, or a change to the underlying infrastructure stack can result in changes to request profiles, resource usage and limits, backends, or a number of other system components that can trigger a cascading failure.\n\nDuring a cascading failure, it’s usually wise to check for recent changes and consider reverting them, particularly if those changes affected capacity or altered the request profile.\n\nYour service should implement some type of change logging, which can help quickly identify recent changes.\n\n## Organic Growth\n\nIn many cases, a cascading failure isn’t triggered by a specific service change, but because a growth in usage wasn’t accompanied by an adjustment to capacity.\n\n## Planned Changes, Drains, or Turndowns\n\nIf your service is multihomed, some of your capacity may be unavailable because of maintenance or outages in a cluster. Similarly, one of the service’s critical dependencies may be drained, resulting in a reduction in capacity for the upstream service due to drain dependencies, or an increase in latency due to having to send the requests to a more distant cluster.\n\n### Request profile changes\n\nA backend service may receive requests from different clusters because a frontend service shifted its traffic due to load balancing configuration changes, changes in the traffic mix, or cluster fullness. Also, the average cost to handle an individual payload may have changed due to frontend code or configuration changes. Similarly, the data handled by the service may have changed organically due to increased or differing usage by existing users: for instance, both the number and size of images, *per user*, for a photo storage service tend to increase over time.\n\n### Resource limits\n\nSome cluster operating systems allow resource overcommitment. CPU is a fungible resource; often, some machines have some amount of slack CPU available, which provides a bit of a safety net against CPU spikes. The availability of this slack CPU differs between cells, and also between machines within the cell.\n\nDepending upon this slack CPU as your safety net is dangerous. Its availability is entirely dependent on the behavior of the other jobs in the cluster, so it might suddenly drop out at any time. For example, if a team starts a MapReduce that consumes a lot of CPU and schedules on many machines, the aggregate amount of slack CPU can suddenly decrease and trigger CPU starvation conditions for unrelated jobs. When performing load tests, make sure that you remain within your committed resource limits.\n\n# Testing for Cascading Failures\n\nThe specific ways in which a service will fail can be very hard to predict from first principles. This section discusses testing strategies that can detect if services are susceptible to cascading failures.\n\nYou should test your service to determine how it behaves under heavy load in order to gain confidence that it won’t enter a cascading failure under various circumstances.\n\n## Test Until Failure and Beyond\n\nUnderstanding the behavior of the service under heavy load is perhaps the most important first step in avoiding cascading failures. Knowing how your system behaves when it is overloaded helps to identify what engineering tasks are the most important for long-term fixes; at the very least, this knowledge may help bootstrap the debugging process for on-call engineers when an emergency arises.\n\nLoad test components until they break. As load increases, a component typically handles requests successfully until it reaches a point at which it can’t handle more requests. At this point, the component should ideally start serving errors or degraded results in response to additional load, but not significantly reduce the rate at which it successfully handles requests. A component that is highly susceptible to a cascading failure will start crashing or serving a very high rate of errors when it becomes overloaded; a better designed component will instead be able to reject a few requests and survive.\n\nLoad testing also reveals where the breaking point is, knowledge that’s fundamental to the capacity planning process. It enables you to test for regressions, provision for worst-case thresholds, and to trade off utilization versus safety margins.\n\nBecause of caching effects, gradually ramping up load may yield different results than immediately increasing to expected load levels. Therefore, consider testing both gradual and impulse load patterns.\n\nYou should also test and understand how the component behaves as it returns to nominal load after having been pushed well beyond that load. Such testing may answer questions such as:\n\n- If a component enters a degraded mode on heavy load, is it capable of exiting the degraded mode without human intervention?\n- If a couple of servers crash under heavy load, how much does the load need to drop in order for the system to stabilize?\n\nIf you’re load testing a stateful service or a service that employs caching, your load test should track state between multiple interactions and check correctness at high load, which is often where subtle concurrency bugs hit.\n\nKeep in mind that individual components may have different breaking points, so load test each component separately. You won’t know in advance which component may hit the wall first, and you want to know how your system behaves when it does.\n\nIf you believe your system has proper protections against being overloaded, consider performing failure tests in a small slice of production to find the point at which the components in your system fail under real traffic. These limits may not be adequately reflected by synthetic load test traffic, so real traffic tests may provide more realistic results than load tests, at the risk of causing user-visible pain. Be careful when testing on real traffic: make sure that you have extra capacity available in case your automatic protections don’t work and you need to manually fail over. You might consider some of the following production tests:\n\n- Reducing task counts quickly or slowly over time, beyond expected traffic patterns\n- Rapidly losing a cluster’s worth of capacity\n- Blackholing various backends\n\n## Test Popular Clients\n\nUnderstand how large clients use your service. For example, you want to know if clients:\n\n- Can queue work while the service is down\n- Use randomized exponential backoff on errors\n- Are vulnerable to external triggers that can create large amounts of load (e.g., an externally triggered software update might clear an offline client’s cache)\n\nDepending on your service, you may or may not be in control of all the client code that talks to your service. However, it’s still a good idea to have an understanding of how large clients that interact with your service will behave.\n\nThe same principles apply to large internal clients. Stage system failures with the largest clients to see how they react. Ask internal clients how they access your service and what mechanisms they use to handle backend failure.\n\n## Test Noncritical Backends\n\nTest your noncritical backends, and make sure their unavailability does not interfere with the critical components of your service.\n\nFor example, suppose your frontend has critical and noncritical backends. Often, a given request includes both critical components (e.g., query results) and noncritical components (e.g., spelling suggestions). Your requests may significantly slow down and consume resources waiting for noncritical backends to finish.\n\nIn addition to testing behavior when the noncritical backend is unavailable, test how the frontend behaves if the noncritical backend never responds (for example, if it is blackholing requests). Backends advertised as noncritical can still cause problems on frontends when requests have long deadlines. The frontend should not start rejecting lots of requests, running out of resources, or serving with very high latency when a noncritical backend blackholes.\n\n# Immediate Steps to Address Cascading Failures\n\nOnce you have identified that your service is experiencing a cascading failure, you can use a few different strategies to remedy the situation—and of course, a cascading failure is a good opportunity to use your incident management protocol ([Managing Incidents](/sre-book/managing-incidents/)).\n\n## Increase Resources\n\nIf your system is running at degraded capacity and you have idle resources, adding tasks can be the most expedient way to recover from the outage. However, if the service has entered a death spiral of some sort, adding more resources may not be sufficient to recover.\n\n## Stop Health Check Failures/Deaths\n\nSome cluster scheduling systems, such as Borg, check the health of tasks in a job and restart tasks that are unhealthy. This practice may create a failure mode in which health-checking itself makes the service unhealthy. For example, if half the tasks aren’t able to accomplish any work because they’re starting up and the other half will soon be killed because they’re overloaded and failing health checks, temporarily disabling health checks may permit the system to stabilize until all the tasks are running.\n\nProcess health checking (“is this binary responding *at all*?”) and service health checking (“is this binary able to respond to *this class of requests* right now?”) are two conceptually distinct operations. Process health checking is relevant to the cluster scheduler, whereas service health checking is relevant to the load balancer. Clearly distinguishing between the two types of health checks can help avoid this scenario.\n\n## Restart Servers\n\nIf servers are somehow wedged and not making progress, restarting them may help. Try restarting servers when:\n\n- Java servers are in a GC death spiral\n- Some in-flight requests have no deadlines but are consuming resources, leading them to block threads, for example\n- The servers are deadlocked\n\nMake sure that you identify the source of the cascading failure before you restart your servers. Make sure that taking this action won’t simply shift around load. Canary this change, and make it slowly. Your actions may amplify an existing cascading failure if the outage is actually due to an issue like a cold cache.\n\n## Drop Traffic\n\nDropping load is a big hammer, usually reserved for situations in which you have a true cascading failure on your hands and you cannot fix it by other means. For example, if heavy load causes most servers to crash as soon as they become healthy, you can get the service up and running again by:\n\n1. Addressing the initial triggering condition (by adding capacity, for example).\n2. Reducing load enough so that the crashing stops. Consider being aggressive here—if the entire service is crash-looping, only allow, say, 1% of the traffic through.\n3. Allowing the majority of the servers to become healthy.\n4. Gradually ramping up the load.\n\nThis strategy allows caches to warm up, connections to be established, etc., before load returns to normal levels.\n\nObviously, this tactic will cause a lot of user-visible harm. Whether or not you’re able to (or if you even *should*) drop traffic indiscriminately depends on how the service is configured. If you have some mechanism to drop less important traffic (e.g., prefetching), use that mechanism first.\n\nIt is important to keep in mind that this strategy enables you to recover from a cascading outage once the underlying problem is fixed. If the issue that started the cascading failure is not fixed (e.g., insufficient global capacity), then the cascading failure may trigger shortly after all traffic returns. Therefore, before using this strategy, consider fixing (or at least papering over) the root cause or triggering condition. For example, if the service ran out of memory and is now in a death spiral, adding more memory or tasks should be your first step.\n\n## Enter Degraded Modes\n\nServe degraded results by doing less work or dropping unimportant traffic. This strategy must be engineered into your service, and can be implemented only if you know which traffic can be degraded and you have the ability to differentiate between the various payloads.\n\n## Eliminate Batch Load\n\nSome services have load that is important, but not critical. Consider turning off those sources of load. For example, if index updates, data copies, or statistics gathering consume resources of the serving path, consider turning off those sources of load during an outage.\n\n## Eliminate Bad Traffic\n\nIf some queries are creating heavy load or crashes (e.g., queries of death), consider blocking them or eliminating them via other means.\n\n##### Cascading Failure and Shakespeare\n\nA documentary about Shakespeare’s works airs in Japan, and explicitly points to our Shakespeare service as an excellent place to conduct further research. Following the broadcast, traffic to our Asian datacenter surges beyond the service’s capacity. This capacity problem is further compounded by a major update to the Shakespeare service that simultaneously occurs in that datacenter.\n\nFortunately, a number of safeguards are in place that help mitigate the potential for failure. The Production Readiness Review process identified some issues that the team already addressed. For example, the developers built graceful degradation into the service. As capacity becomes scarce, the service no longer returns pictures alongside text or small maps illustrating where a story takes place. And depending on its purpose, an RPC that times out is either not retried (for example, in the case of the aforementioned pictures), or is retried with a randomized exponential backoff. Despite these safeguards, the tasks fail one by one and are then restarted by Borg, which drives the number of working tasks down even more.\n\nAs a result, some graphs on the service dashboard turn an alarming shade of red and SRE is paged. In response, SREs temporarily add capacity to the Asian datacenter by increasing the number of tasks available for the Shakespeare job. By doing so, they’re able to restore the Shakespeare service in the Asian cluster.\n\nAfterward, the SRE team writes a postmortem detailing the chain of events, what went well, what could have gone better, and a number of action items to prevent this scenario from occurring again. For example, in the case of a service overload, the GSLB load balancer will redirect some traffic to neighboring datacenters. Also, the SRE team turns on autoscaling, so that the number of tasks automatically increases with traffic, so they don’t have to worry about this type of issue again.\n\n# Closing Remarks\n\nWhen systems are overloaded, something needs to give in order to remedy the situation. Once a service passes its breaking point, it is better to allow some user-visible errors or lower-quality results to slip through than try to fully serve every request. Understanding where those breaking points are and how the system behaves beyond them is critical for service owners who want to avoid cascading failures.\n\nWithout proper care, some system changes meant to reduce background errors or otherwise improve the steady state can expose the service to greater risk of a full outage. Retrying on failures, shifting load around from unhealthy servers, killing unhealthy servers, adding caches to improve performance or reduce latency: all of these might be implemented to improve the normal case, but can improve the chance of causing a large-scale failure. Be careful when evaluating changes to ensure that one outage is not being traded for another.\n\n107See Wikipedia, “Positive feedback,” [*https://en.wikipedia.org/wiki/Positive_feedback*](https://en.wikipedia.org/wiki/Positive_feedback).\n\n108A watchdog is often implemented as a thread that wakes up periodically to see whether work has been done since the last time it checked. If not, it assumes that the server is stuck and kills it. For instance, requests of a known type can be sent to the server at regular intervals; if one hasn’t been received or processed when expected, this may indicate failure—of the server, the system sending requests, or the intermediate network.\n\n109This is often not a good assumption due to geography; see also [Job and Data Organization](/sre-book/production-environment#xref_production-environment_job-and-data-organization).\n\n110An instructive exercise, left for the reader: write a simple simulator and see how the amount of useful work the backend can do varies with how much it’s overloaded and how many retries are permitted.\n\n111Sometimes you find that a meaningful proportion of your actual serving capacity is as a function of serving from a cache, and if you lost access to that cache, you wouldn’t actually be able to serve that many queries. A similar observation holds for latency: a cache can help you achieve latency goals (by lowering the average response time when the query is servable from cache) that you possibly couldn’t meet without that cache.", "znaku_textu": 56774, "slov": 9151, "odkazu": 84, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:36", "sha256": "f16f9a582bab016af83c9393e56d7571ba91b49e371bd6b55e7a482c041dddb3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.awsarchitectureblog.com/2015/03/backoff.html", "https://en.wikipedia.org/wiki/Positive_feedback", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/automation-at-google", "titulek": "Google SRE - Google Automation For Reliability", "h1": "The Evolution of Automation at Google", "popis": "Google leverages automation to improve consistency, create a central platform for error management, enable faster repairs, and achieve scalability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/automation-at-google/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/automation-at-google/"}, "headline": "The Evolution of Automation at Google", "description": "For SRE, automation is a force multiplier, not a panacea. Of course, just multiplying force does not naturally change the accuracy of where that force is applied: doing automation thoughtlessly can create as many problems as it solves.", "image": "https://lh3.googleusercontent.com/NyIRchwREj-PNSd9PRWkHiyp5HcslW6i84Z8vSz_D00UZWD7nu1AKAw1h1zu76M6q46uvGp1cUUjcfv1NVI_ztDrCBXibnuCxgYB9A", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "John Looney"}, {"@type": "Person", "name": "Michael Kacirek"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Evolution of Automation at Google"}, {"uroven": 2, "text": "The Value of Automation"}, {"uroven": 2, "text": "Consistency"}, {"uroven": 2, "text": "A Platform"}, {"uroven": 2, "text": "Faster Repairs"}, {"uroven": 2, "text": "Faster Action"}, {"uroven": 2, "text": "Time Saving"}, {"uroven": 1, "text": "The Value for Google SRE"}, {"uroven": 1, "text": "The Use Cases for Automation"}, {"uroven": 2, "text": "Google SRE’s Use Cases for Automation"}, {"uroven": 2, "text": "A Hierarchy of Automation Classes"}, {"uroven": 1, "text": "Automate Yourself Out of a Job: Automate ALL the Things!"}, {"uroven": 1, "text": "Soothing the Pain: Applying Automation to Cluster Turnups"}, {"uroven": 2, "text": "Detecting Inconsistencies with Prodtest"}, {"uroven": 2, "text": "Resolving Inconsistencies Idempotently"}, {"uroven": 2, "text": "The Inclination to Specialize"}, {"uroven": 2, "text": "Service-Oriented Cluster-Turnup"}, {"uroven": 1, "text": "Borg: Birth of the Warehouse-Scale Computer"}, {"uroven": 1, "text": "Reliability Is the Fundamental Feature"}, {"uroven": 1, "text": "Recommendations"}], "markdown": "# The Evolution of Automation at Google\n\nWritten by Niall Murphy with John Looney and Michael Kacirek\n\n Edited by Betsy Beyer\n\n> Besides black art, there is only automation and mechanization.\n> \n> Federico GarcĂ­a Lorca (1898–1936), Spanish poet and playwright\n\nFor SRE, automation is a force multiplier, not a panacea. Of course, just *multiplying* force does not naturally change the accuracy of where that force is applied: doing automation thoughtlessly can create as many problems as it solves. Therefore, while we believe that software-based automation is superior to manual operation in most circumstances, better than either option is a higher-level system design requiring neither of them—an *autonomous* system. Or to put it another way, the value of automation comes from both what it does and its judicious application. We’ll discuss both the value of automation and how our attitude has evolved over time.\n\n## The Value of Automation\n\nWhat exactly is the value of automation?26\n\n## Consistency\n\nAlthough scale is an obvious motivation for automation, there are many other reasons to use it. Take the example of university computing systems, where many systems engineering folks started their careers. Systems administrators of that background were generally charged with running a collection of machines or some software, and were accustomed to manually performing various actions in the discharge of that duty. One common example is creating user accounts; others include purely operational duties like making sure backups happen, managing server failover, and small data manipulations like changing the upstream DNS servers’ *resolv.conf*, DNS server zone data, and similar activities. Ultimately, however, this prevalence of manual tasks is unsatisfactory for both the organizations and indeed the people maintaining systems in this way. For a start, any action performed by a human or humans hundreds of times won’t be performed the same way each time: even with the best will in the world, very few of us will ever be as consistent as a machine. This inevitable lack of consistency leads to mistakes, oversights, issues with data quality, and, yes, reliability problems. In this domain—the execution of well-scoped, known procedures the value of consistency is in many ways the primary value of automation.\n\n## A Platform\n\nAutomation doesn’t just provide consistency. Designed and done properly, automatic systems also provide a *platform* that can be extended, applied to more systems, or perhaps even spun out for profit.27 (The alternative, no automation, is neither cost effective nor extensible: it is instead a tax levied on the operation of a system.)\n\nA platform also *centralizes mistakes*. In other words, a bug fixed in the code will be fixed there once and forever, unlike a sufficiently large set of humans performing the same procedure, as discussed previously. A platform can be extended to perform additional tasks more easily than humans can be instructed to perform them (or sometimes even realize that they have to be done). Depending on the nature of the task, it can run either continuously or much more frequently than humans could appropriately accomplish the task, or at times that are inconvenient for humans. Furthermore, a platform can export metrics about its performance, or otherwise allow you to discover details about your process you didn’t know previously, because these details are more easily measurable within the context of a platform.\n\n## Faster Repairs\n\nThere’s an additional benefit for systems where automation is used to resolve common faults in a system (a frequent situation for SRE-created automation). If automation runs regularly and successfully enough, the result is a reduced mean time to repair (MTTR) for those common faults. You can then spend your time on other tasks instead, thereby achieving increased developer velocity because you don’t have to spend time either preventing a problem or (more commonly) cleaning up after it. As is well understood in the industry, the later in the product lifecycle a problem is discovered, the more expensive it is to fix; see [Testing for Reliability](/sre-book/testing-reliability/). Generally, problems that occur in actual production are most expensive to fix, both in terms of time and money, which means that an automated system looking for problems as soon as they arise has a good chance of lowering the total cost of the system, given that the system is sufficiently large.\n\n## Faster Action\n\nIn the infrastructural situations where SRE automation tends to be deployed, humans don’t usually react as fast as machines. In most common cases, where, for example, failover or traffic switching can be well defined for a particular application, it makes no sense to effectively require a human to intermittently press a button called “Allow system to continue to run.” (Yes, it is true that sometimes automatic procedures can end up making a bad situation worse, but that is why such procedures should be scoped over well-defined domains.) Google has a large amount of automation; in many cases, the services we support could not long survive without this automation because they crossed the threshold of manageable manual operation long ago.\n\n## Time Saving\n\nFinally, time saving is an oft-quoted rationale for automation. Although people cite this rationale for automation more than the others, in many ways the benefit is often less immediately calculable. Engineers often waver over whether a particular piece of automation or code is worth writing, in terms of effort saved in not requiring a task to be performed manually versus the effort required to write it.28 It’s easy to overlook the fact that once you have encapsulated some task in automation, anyone can execute the task. Therefore, the time savings apply across anyone who would plausibly use the automation. Decoupling operator from operation is very powerful.\n\nJoseph Bironas, an SRE who led Google’s datacenter turnup efforts for a time, forcefully argued:\n\n\"If we are engineering processes and solutions that are not automatable, we continue having to staff humans to maintain the system. If we have to staff humans to do the work, we are feeding the machines with the blood, sweat, and tears of human beings. Think *The Matrix* with less special effects and more pissed off System Administrators.\"\n\n# The Value for Google SRE\n\nAll of these benefits and trade-offs apply to us just as much as anyone else, and Google does have a strong bias toward automation. Part of our preference for automation springs from our particular business challenges: the products and services we look after are planet-spanning in scale, and we don’t typically have time to engage in the same kind of machine or service hand-holding common in other organizations.29 For truly large services, the factors of consistency, quickness, and reliability dominate most conversations about the trade-offs of performing automation.\n\nAnother argument in favor of automation, particularly in the case of Google, is our complicated yet surprisingly uniform production environment, described in [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/). While other organizations might have an important piece of equipment without a readily accessible API, software for which no source code is available, or another impediment to complete control over production operations, Google generally avoids such scenarios. We have built APIs for systems when no API was available from the vendor. Even though purchasing software for a particular task would have been much cheaper in the short term, we chose to write our own solutions, because doing so produced APIs with the potential for much greater long-term benefits. We spent a lot of time overcoming obstacles to automatic system management, and then resolutely developed that automatic system management itself. Given how Google manages its source code [[Pot16]](/sre-book/bibliography#Pot16), the availability of that code for more or less any system that SRE touches also means that our mission to “own the product in production” is much easier because we control the entirety of the stack.\n\nOf course, although Google is ideologically bent upon using machines to manage machines where possible, reality requires some modification of our approach. It isn’t appropriate to automate every component of every system, and not everyone has the ability or inclination to develop automation at a particular time. Some essential systems started out as quick prototypes, not designed to last or to interface with automation. The previous paragraphs state a maximalist view of our position, but one that we have been broadly successful at putting into action within the Google context. In general, we have chosen to create platforms where we could, or to *position* ourselves so that we could create platforms over time. We view this platform-based approach as necessary for manageability and scalability.\n\n# The Use Cases for Automation\n\nIn the industry, *automation* is the term generally used for writing code to solve a wide variety of problems, although the motivations for writing this code, and the solutions themselves, are often quite different. More broadly, in this view, automation is “meta-software”—software to act on software.\n\nAs we implied earlier, there are a number of use cases for automation. Here is a non-exhaustive list of examples:\n\n- User account creation\n- Cluster turnup and turndown for services\n- Software or hardware installation preparation and decommissioning\n- Rollouts of new software versions\n- Runtime configuration changes\n- A special case of runtime config changes: changes to your dependencies\n\nThis list could continue essentially *ad infinitum*.\n\n## Google SRE’s Use Cases for Automation\n\nIn Google, we have all of the use cases just listed, and more.\n\nHowever, within Google SRE, our primary affinity has typically been for running infrastructure, as opposed to managing the quality of the data that passes over that infrastructure. This line isn’t totally clear—for example, we care deeply if half of a dataset vanishes after a push, and therefore we alert on coarse-grain differences like this, but it’s rare for us to write the equivalent of changing the properties of some arbitrary subset of accounts on a system. Therefore, the context for our automation is often automation to manage the lifecycle of systems, not their data: for example, deployments of a service in a new cluster.\n\nTo this extent, SRE’s automation efforts are not far off what many other people and organizations do, except that we use different tools to manage it and have a different focus (as we’ll discuss).\n\nWidely available tools like Puppet, Chef, cfengine, and even Perl, which all provide ways to automate particular tasks, differ mostly in terms of the level of abstraction of the components provided to help the act of automating. A full language like Perl provides POSIX-level affordances, which in theory provide an essentially unlimited scope of automation across the APIs accessible to the system,30 whereas Chef and Puppet provide out-of-the-box abstractions with which services or other higher-level entities can be manipulated. The trade-off here is classic: higher-level abstractions are easier to manage and reason about, but when you encounter a “leaky abstraction,” you fail systemically, repeatedly, and potentially inconsistently. For example, we often assume that pushing a new binary to a cluster is atomic; the cluster will either end up with the old version, or the new version. However, real-world behavior is more complicated: that cluster’s network can fail halfway through; machines can fail; communication to the cluster management layer can fail, leaving the system in an inconsistent state; depending on the situation, new binaries could be staged but not pushed, or pushed but not restarted, or restarted but not verifiable. Very few abstractions model these kinds of outcomes successfully, and most generally end up halting themselves and calling for intervention. Truly bad automation systems don’t even do that.\n\nSRE has a number of philosophies and products in the domain of automation, some of which look more like generic rollout tools without particularly detailed modeling of higher-level entities, and some of which look more like languages for describing service deployment (and so on) at a very abstract level. Work done in the latter tends to be more reusable and be more of a common platform than the former, but the complexity of our production environment sometimes means that the former approach is the most immediately tractable option.\n\n## A Hierarchy of Automation Classes\n\nAlthough all of these automation steps are valuable, and indeed an automation platform is valuable in and of itself, in an ideal world, we wouldn’t need externalized automation. In fact, instead of having a system that *has* to have external glue logic, it would be even better to have a system that needs *no glue logic at all*, not just because internalization is more efficient (although such efficiency is useful), but because it has been designed to not need glue logic in the first place. Accomplishing that involves taking the use cases for glue logic—generally “first order” manipulations of a system, such as adding accounts or performing system turnup—and finding a way to handle those use cases directly within the application.\n\nAs a more detailed example, most turnup automation at Google is problematic because it ends up being maintained separately from the core system and therefore suffers from “bit rot,” i.e., not changing when the underlying systems change. Despite the best of intentions, attempting to more tightly couple the two (turnup automation and the core system) often fails due to unaligned priorities, as product developers will, not unreasonably, resist a test deployment requirement for every change. Secondly, automation that is crucial but only executed at infrequent intervals and therefore difficult to test is often particularly fragile because of the extended feedback cycle. Cluster failover is one classic example of infrequently executed automation: failovers might only occur every few months, or infrequently enough that inconsistencies between instances are introduced. The evolution of automation follows a path:\n\n1) No automation\n\nDatabase master is failed over manually between locations.\n\n2) Externally maintained system-specific automation\n\nAn SRE has a failover script in his or her home directory.\n\n3) Externally maintained generic automation\n\nThe SRE adds database support to a \"generic failover\" script that everyone uses.\n\n4) Internally maintained system-specific automation\n\nThe database ships with its own failover script.\n\n5) Systems that don’t need any automation\n\nThe database notices problems, and automatically fails over without human intervention.\n\nSRE hates manual operations, so we obviously try to create systems that don’t require them. However, sometimes manual operations are unavoidable.\n\nThere is additionally a subvariety of automation that applies changes not across the domain of specific system-related configuration, but across the domain of production as a whole. In a highly centralized proprietary production environment like Google’s, there are a large number of changes that have a non–service-specific scope—e.g., changing upstream Chubby servers, a flag change to the Bigtable client library to make access more reliable, and so on—which nonetheless need to be safely managed and rolled back if necessary. Beyond a certain volume of changes, it is infeasible for production-wide changes to be accomplished manually, and at some time before that point, it’s a waste to have manual oversight for a process where a large proportion of the changes are either trivial or accomplished successfully by basic relaunch-and-check strategies.\n\nLet’s use internal case studies to illustrate some of the preceding points in detail. The first case study is about how, due to some diligent, far-sighted work, we managed to achieve the self-professed nirvana of SRE: to automate ourselves out of a job.\n\n# Automate Yourself Out of a Job: Automate ALL the Things!\n\nFor a long while, the Ads products at Google stored their data in a MySQL database. Because Ads data obviously has high reliability requirements, an SRE team was charged with looking after that infrastructure. From 2005 to 2008, the Ads Database mostly ran in what we considered to be a mature and managed state. For example, we had automated away the worst, but not all, of the routine work for standard replica replacements. We believed the Ads Database was well managed and that we had harvested most of the low-hanging fruit in terms of optimization and scale. However, as daily operations became comfortable, team members began to look at the next level of system development: migrating MySQL onto Google’s cluster scheduling system, Borg.\n\nWe hoped this migration would provide two main benefits:\n\n- *Completely* eliminate machine/replica maintenance: Borg would automatically handle the setup/restart of new and broken tasks.\n- Enable bin-packing of multiple MySQL instances on the same physical machine: Borg would enable more efficient use of machine resources via Containers.\n\nIn late 2008, we successfully deployed a proof of concept MySQL instance on Borg. Unfortunately, this was accompanied by a significant new difficulty. A core operating characteristic of Borg is that its tasks move around automatically. Tasks commonly move within Borg as frequently as once or twice per week. This frequency was tolerable for our database replicas, but unacceptable for our masters.\n\nAt that time, the process for master failover took 30–90 minutes per instance. Simply because we ran on shared machines and were subject to reboots for kernel upgrades, in addition to the normal rate of machine failure, we had to expect a number of otherwise unrelated failovers every week. This factor, in combination with the number of shards on which our system was hosted, meant that:\n\n- Manual failovers would consume a substantial amount of human hours and would give us best-case availability of 99% uptime, which fell short of the actual business requirements of the product.\n- In order to meet our error budgets, each failover would have to take less than 30 seconds of downtime. There was no way to optimize a human-dependent procedure to make downtime shorter than 30 seconds.\n\nTherefore, our only choice was to automate failover. Actually, we needed to automate more than just failover.\n\nIn 2009 Ads SRE completed our automated failover daemon, which we dubbed “Decider.” Decider could complete MySQL failovers for both planned and unplanned failovers in less than 30 seconds 95% of the time. With the creation of Decider, MySQL on Borg (MoB) finally became a reality. We graduated from optimizing our infrastructure for a lack of failover to embracing the idea that failure is inevitable, and therefore optimizing to recover quickly through automation.\n\nWhile automation let us achieve highly available MySQL in a world that forced up to two restarts per week, it did come with its own set of costs. All of our applications had to be changed to include significantly more failure-handling logic than before. Given that the norm in the MySQL development world is to assume that the MySQL instance will be the most stable component in the stack, this switch meant customizing software like JDBC to be more tolerant of our failure-prone environment. However, the benefits of migrating to MoB with Decider were well worth these costs. Once on MoB, the time our team spent on mundane operational tasks dropped by 95%. Our failovers were automated, so an outage of a single database task no longer paged a human.\n\nThe main upshot of this new automation was that we had a lot more free time to spend on improving other parts of the infrastructure. Such improvements had a cascading effect: the more time we saved, the more time we were able to spend on optimizing and automating other tedious work. Eventually, we were able to automate schema changes, causing the cost of total operational maintenance of the Ads Database to drop by nearly 95%. Some might say that we had successfully automated ourselves out of this job. The hardware side of our domain also saw improvement. Migrating to MoB freed up considerable resources because we could schedule multiple MySQL instances on the same machines, which improved utilization of our hardware. In total, we were able to free up about 60% of our hardware. Our team was now flush with hardware and engineering resources.\n\nThis example demonstrates the wisdom of going the extra mile to deliver a platform rather than replacing existing manual procedures. The next example comes from the cluster infrastructure group, and illustrates some of the more difficult trade-offs you might encounter on your way to automating *all* the things.\n\n# Soothing the Pain: Applying Automation to Cluster Turnups\n\nTen years ago, the Cluster Infrastructure SRE team seemed to get a new hire every few months. As it turned out, that was approximately the same frequency at which we turned up a new cluster. Because turning up a service in a new cluster gives new hires exposure to a service’s internals, this task seemed like a natural and useful training tool.\n\nThe steps taken to get a cluster ready for use were something like the following:\n\n1. Fit out a datacenter building for power and cooling.\n2. Install and configure core switches and connections to the backbone.\n3. Install a few initial racks of servers.\n4. Configure basic services such as DNS and installers, then configure a lock service, storage, and computing.\n5. Deploy the remaining racks of machines.\n6. Assign user-facing services resources, so their teams can set up the services.\n\nSteps 4 and 6 were extremely complex. While basic services like DNS are relatively simple, the storage and compute subsystems at that time were still in heavy development, so new flags, components, and optimizations were added weekly.\n\nSome services had more than a hundred different component subsystems, each with a complex web of dependencies. Failing to configure one subsystem, or configuring a system or component differently than other deployments, is a customer-impacting outage waiting to happen.\n\nIn one case, a multi-petabyte Bigtable cluster was configured to not use the first (logging) disk on 12-disk systems, for latency reasons. A year later, some automation assumed that if a machine’s first disk wasn’t being used, that machine didn’t have any storage configured; therefore, it was safe to wipe the machine and set it up from scratch. All of the Bigtable data was wiped, instantly. Thankfully we had multiple real-time replicas of the dataset, but such surprises are unwelcome. Automation needs to be careful about relying on implicit \"safety\" signals.\n\nEarly automation focused on accelerating cluster delivery. This approach tended to rely upon creative use of SSH for tedious package distribution and service initialization problems. This strategy was an initial win, but those free-form scripts became a cholesterol of technical debt.\n\n## Detecting Inconsistencies with Prodtest\n\nAs the numbers of clusters grew, some clusters required hand-tuned flags and settings. As a result, teams wasted more and more time chasing down difficult-to-spot misconfigurations. If a flag that made GFS more responsive to log processing leaked into the default templates, cells with many files could run out of memory under load. Infuriating and time-consuming misconfigurations crept in with nearly every large configuration change.\n\nThe creative—though brittle—shell scripts we used to configure clusters were neither scaling to the number of people who wanted to make changes nor to the sheer number of cluster permutations that needed to be built. These shell scripts also failed to resolve more significant concerns before declaring that a service was good to take customer-facing traffic, such as:\n\n- Were all of the service’s dependencies available and correctly configured?\n- Were all configurations and packages consistent with other deployments?\n- Could the team confirm that every configuration exception was desired?\n\nProdtest (Production Test) was an ingenious solution to these unwelcome surprises. We extended the Python unit test framework to allow for unit testing of real-world services. These unit tests have dependencies, allowing a chain of tests, and a failure in one test would quickly abort. Take the test shown in Figure 7-1 as an example.\n\nFigure 7-1. ProdTest for DNS Service, showing how one failed test aborts the subsequent chain of tests\n\nA given team’s Prodtest was given the cluster name, and it could validate that team’s services in that cluster. Later additions allowed us to generate a graph of the unit tests and their states. This functionality allowed an engineer to see quickly if their service was correctly configured in all clusters, and if not, why. The graph highlighted the failed step, and the failing Python unit test output a more verbose error message.\n\nAny time a team encountered a delay due to another team’s unexpected misconfiguration, a bug could be filed to extend their Prodtest. This ensured that a similar problem would be discovered earlier in the future. SREs were proud to be able to assure their customers that all services—both newly turned up services and existing services with new configuration—would reliably serve production traffic.\n\nFor the first time, our project managers could predict when a cluster could \"go live,\" and had a complete understanding of *why* each clusters took six or more weeks to go from \"network-ready\" to \"serving live traffic.\" Out of the blue, SRE received a mission from senior management: *In three months, five new clusters will reach *network-ready* on the same day. Please turn them up in one week.*\n\n## Resolving Inconsistencies Idempotently\n\nA \"One Week Turnup\" was a terrifying mission. We had tens of thousands of lines of shell script owned by dozens of teams. We could quickly tell how unprepared any given cluster was, but fixing it meant that the dozens of teams would have to file hundreds of bugs, and then we had to hope that these bugs would be promptly fixed.\n\nWe realized that evolving from \"Python unit tests finding misconfigurations\" to \"Python code fixing misconfigurations\" could enable us to fix these issues faster.\n\nThe unit test already knew which cluster we were examining and the specific test that was failing, so we paired each test with a fix. If each fix was written to be idempotent, and could assume that all dependencies were met, resolving the problem should have been easy—and safe—to resolve. Requiring idempotent fixes meant teams could run their \"fix script\" every 15 minutes without fearing damage to the cluster’s configuration. If the DNS team’s test was blocked on the Machine Database team’s configuration of a new cluster, as soon as the cluster appeared in the database, the DNS team’s tests and fixes would start working.\n\nTake the test shown in Figure 7-2 as an example. If `TestDnsMonitoringConfigExists` fails, as shown, we can call `FixDnsMonitoringCreateConfig`, which scrapes configuration from a database, then checks a skeleton configuration file into our revision control system. Then `TestDnsMonitoringConfigExists` passes on retry, and the `TestDnsMonitoringConfigPushed` test can be attempted. If the test fails, the `FixDnsMonitoringPushConfig` step runs. If a fix fails multiple times, the automation assumes that the fix failed and stops, notifying the user.\n\nArmed with these scripts, a small group of engineers could ensure that we could go from \"The network works, and machines are listed in the database\" to \"Serving 1% of websearch and ads traffic\" in a matter of a week or two. At the time, this seemed to be the apex of automation technology.\n\nLooking back, this approach was deeply flawed; the latency between the test, the fix, and then a second test introduced *flaky* tests that sometimes worked and sometimes failed. Not all fixes were naturally idempotent, so a flaky test that was followed by a fix might render the system in an inconsistent state.\n\nFigure 7-2. ProdTest for DNS Service, showing that one failed test resulted in only running one fix\n\n## The Inclination to Specialize\n\nAutomation processes can vary in three respects:\n\n- *Competence* , i.e., their accuracy\n- *Latency* , how quickly all steps are executed when initiated\n- *Relevance* , or proportion of real-world process covered by automation\n\nWe began with a process that was highly competent (maintained and run by the service owners), high-latency (the service owners performed the process in their spare time or assigned it to new engineers), and very relevant (the service owners knew when the real world changed, and could fix the automation).\n\nTo reduce turnup latency, many service owning teams instructed a single \"turnup team\" what automation to run. The turnup team used tickets to start each stage in the turnup so that we could track the remaining tasks, and who those tasks were assigned to. If the human interactions regarding automation modules occurred between people in the same room, cluster turnups could happen in a much shorter time. Finally, we had our competent, accurate, and timely automation process!\n\nBut this state didn’t last long. The real world is chaotic: software, configuration, data, etc. changed, resulting in over a thousand separate changes a day to affected systems. The people most affected by automation bugs were no longer domain experts, so the automation became less relevant (meaning that new steps were missed) and less competent (new flags might have caused automation to fail). However, it took a while for this drop in quality to impact velocity.\n\nAutomation code, like unit test code, dies when the maintaining team isn’t obsessive about keeping the code in sync with the codebase it covers. The world changes around the code: the DNS team adds new configuration options, the storage team changes their package names, and the networking team needs to support new devices.\n\nBy relieving teams who ran services of the responsibility to maintain and run their automation code, we created ugly organizational incentives:\n\n- A team whose primary task is to speed up the current turnup has no incentive to reduce the technical debt of the service-owning team running the service in production later.\n- A team not running automation has no incentive to build systems that are easy to automate.\n- A product manager whose schedule is not affected by low-quality automation will always prioritize new features over simplicity and automation.\n\nThe most functional tools are usually written by those who use them. A similar argument applies to why product development teams benefit from keeping at least some operational awareness of their systems in production.\n\nTurnups were again high-latency, inaccurate, and incompetent—the worst of all worlds. However, an unrelated security mandate allowed us out of this trap. Much of distributed automation relied at that time on SSH. This is clumsy from a security perspective, because people must have root on many machines to run most commands. A growing awareness of advanced, persistent security threats drove us to reduce the privileges SREs enjoyed to the absolute minimum they needed to do their jobs. We had to replace our use of sshd with an authenticated, ACL-driven, RPC-based Local Admin Daemon, also known as Admin Servers, which had permissions to perform those local changes. As a result, no one could install or modify a server without an audit trail. Changes to the Local Admin Daemon and the Package Repo were gated on code reviews, making it very difficult for someone to exceed their authority; giving someone the access to install packages would not let them view colocated logs. The Admin Server logged the RPC requestor, any parameters, and the results of all RPCs to enhance debugging and security audits.\n\n## Service-Oriented Cluster-Turnup\n\nIn the next iteration, Admin Servers became part of service teams’ workflows, both as related to the machine-specific Admin Servers (for installing packages and rebooting) and cluster-level Admin Servers (for actions like draining or turning up a service). SREs moved from writing shell scripts in their home directories to building peer-reviewed RPC servers with fine-grained ACLs.\n\nLater on, after the realization that turnup processes had to be owned by the teams that owned the services fully sank in, we saw this as a way to approach cluster turnup as a Service-Oriented Architecture (SOA) problem: service owners would be responsible for creating an Admin Server to handle cluster turnup/turndown RPCs, sent by the system that knew when clusters were ready. In turn, each team would provide the contract (API) that the turnup automation needed, while still being free to change the underlying implementation. As a cluster reached \"network-ready,\" automation sent an RPC to each Admin Server that played a part in turning up the cluster.\n\nWe now have a low-latency, competent, and accurate process; most importantly, this process has stayed strong as the rate of change, the number of teams, and the number of services seem to double each year.\n\nAs mentioned earlier, our evolution of turnup automation followed a path:\n\n1. Operator-triggered manual action (no automation)\n2. Operator-written, system-specific automation\n3. Externally maintained generic automation\n4. Internally maintained, system-specific automation\n5. Autonomous systems that need no human intervention\n\nWhile this evolution has, broadly speaking, been a success, the Borg case study illustrates another way we have come to think of the problem of automation.\n\n# Borg: Birth of the Warehouse-Scale Computer\n\nAnother way to understand the development of our attitude toward automation, and when and where that automation is best deployed, is to consider the history of the development of our cluster management systems.31 Like MySQL on Borg, which demonstrated the success of converting manual operations to automatic ones, and the cluster turnup process, which demonstrated the downside of not thinking carefully enough about where and how automation was implemented, developing cluster management also ended up demonstrating another lesson about how automation should be done. Like our previous two examples, something quite sophisticated was created as the eventual result of continuous evolution from simpler beginnings.\n\nGoogle’s clusters were initially deployed much like everyone else’s small networks of the time: racks of machines with specific purposes and heterogeneous configurations. Engineers would log in to some well-known “master” machine to perform administrative tasks; “golden” binaries and configuration lived on these masters. As we had only one colo provider, most naming logic implicitly assumed that location. As production grew, and we began to use multiple clusters, different domains (cluster names) entered the picture. It became necessary to have a file describing what each machine did, which grouped machines under some loose naming strategy. This descriptor file, in combination with the equivalent of a parallel SSH, allowed us to reboot (for example) all the search machines in one go. Around this time, it was common to get tickets like “search is done with machine `x1`, crawl can have the machine now.”\n\nAutomation development began. Initially automation consisted of simple Python scripts for operations such as the following:\n\n- Service management: keeping services running (e.g., restarts after segfaults)\n- Tracking what services were supposed to run on which machines\n- Log message parsing: SSHing into each machine and looking for regexps\n\nAutomation eventually mutated into a proper database that tracked machine state, and also incorporated more sophisticated monitoring tools. With the union set of the automation available, we could now automatically manage much of the lifecycle of machines: noticing when machines were broken, removing the services, sending them to repair, and restoring the configuration when they came back from repair.\n\nBut to take a step back, this automation was useful yet profoundly limited, due to the fact that abstractions of the system were relentlessly tied to physical machines. We needed a new approach, hence Borg [[Ver15]](/sre-book/bibliography#Ver15) was born: a system that moved away from the relatively static host/port/job assignments of the previous world, toward treating a collection of machines as a managed sea of resources. Central to its success—and its conception—was the notion of turning cluster management into an entity for which API calls could be issued, to some central coordinator. This liberated extra dimensions of efficiency, flexibility, and reliability: unlike the previous model of machine “ownership,” Borg could allow machines to schedule, for example, batch *and* user-facing tasks on the same machine.\n\nThis functionality ultimately resulted in continuous and automatic operating system upgrades with a very small amount of constant32 effort—effort that does *not* scale with the total size of production deployments. Slight deviations in machine state are now automatically fixed; brokenness and lifecycle management are essentially no-ops for SRE at this point. Thousands of machines are born, die, and go into repairs daily with no SRE effort. To echo the words of Ben Treynor Sloss: by taking the approach that this was a software problem, the initial automation bought us enough time to turn cluster management into something autonomous, as opposed to automated. We achieved this goal by bringing ideas related to data distribution, APIs, hub-and-spoke architectures, and classic distributed system software development to bear upon the domain of infrastructure management.\n\nAn interesting analogy is possible here: we can make a direct mapping between the single machine case and the development of cluster management abstractions. In this view, rescheduling on another machine looks a lot like a process moving from one CPU to another: of course, those compute resources happen to be at the other end of a network link, but to what extent does that actually matter? Thinking in these terms, rescheduling looks like an intrinsic feature of the system rather than something one would “automate”—humans couldn’t react fast enough anyway. Similarly in the case of cluster turnup: in this metaphor, cluster turnup is simply additional schedulable capacity, a bit like adding disk or RAM to a single computer. However, a single-node computer is not, in general, expected to continue operating when a large number of components fail. The global computer is—it *must* be self-repairing to operate once it grows past a certain size, due to the essentially statistically guaranteed large number of failures taking place every second. This implies that as we move systems up the hierarchy from manually triggered, to automatically triggered, to autonomous, some capacity for self-introspection is necessary to survive.\n\n# Reliability Is the Fundamental Feature\n\nOf course, for effective troubleshooting, the details of internal operation that the introspection relies upon should also be exposed to the humans managing the overall system. Analogous discussions about the impact of automation in the noncomputer domain—for example, in airplane flight33 or industrial applications—often point out the downside of highly effective automation:34 human operators are progressively more relieved of useful direct contact with the system as the automation covers more and more daily activities over time. Inevitably, then, a situation arises in which the automation fails, and the humans are now unable to successfully operate the system. The fluidity of their reactions has been lost due to lack of practice, and their mental models of what the system *should* be doing no longer reflect the reality of what it *is* doing.35 This situation arises more when the system is nonautonomous—i.e., where automation replaces manual actions, and the manual actions are presumed to be always performable and available just as they were before. Sadly, over time, this ultimately becomes false: those manual actions are not always performable because the functionality to permit them no longer exists.\n\nWe, too, have experienced situations where automation has been actively harmful on a number of occasions—see Automation: Enabling Failure at Scale—but in Google’s experience, there are more systems for which automation or autonomous behavior are no longer optional extras. As you scale, this is of course the case, but there are still strong arguments for more autonomous behavior of systems irrespective of size. Reliability is the fundamental feature, and autonomous, resilient behavior is one useful way to get that.\n\n# Recommendations\n\nYou might read the examples in this chapter and decide that you need to be Google-scale before you have anything to do with automation whatsoever. This is untrue, for two reasons: automation provides more than just time saving, so it’s worth implementing in more cases than a simple time-expended versus time-saved calculation might suggest. But the approach with the highest leverage actually occurs in the design phase: shipping and iterating rapidly might allow you to implement functionality faster, yet rarely makes for a resilient system. Autonomous operation is difficult to convincingly retrofit to sufficiently large systems, but standard good practices in software engineering will help considerably: having decoupled subsystems, introducing APIs, minimizing side effects, and so on.\n\n26For readers who already feel they precisely understand the value of automation, skip ahead to The Value for Google SRE. However, note that our description contains some nuances that might be useful to keep in mind while reading the rest of the chapter.\n\n27The expertise acquired in building such automation is also valuable in itself; engineers both deeply understand the existing processes they have automated and can later automate novel processes more quickly.\n\n28See the following XKCD cartoon: [*https://xkcd.com/1205/*](https://xkcd.com/1205/).\n\n29See, for example, [*https://blog.engineyard.com/2014/pets-vs-cattle*](https://blog.engineyard.com/2014/pets-vs-cattle).\n\n30Of course, not every system that needs to be managed actually provides callable APIs for management—forcing some tooling to use, e.g., CLI invocations or automated website clicks.\n\n31We have compressed and simplified this history to aid understanding.\n\n32As in a small, unchanging number.\n\n33See, e.g., [*https://en.wikipedia.org/wiki/Air_France_Flight_447*](https://en.wikipedia.org/wiki/Air_France_Flight_447).\n\n34See, e.g., [[Bai83]](/sre-book/bibliography#Bai83) and [[Sar97]](/sre-book/bibliography#Sar97).\n\n35This is yet another good reason for regular practice drills; see [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg).", "znaku_textu": 43298, "slov": 6795, "odkazu": 83, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:46", "sha256": "9e2420376c8d095de5daab486b6395cc3f7ab45aa6adb940c912bf1ded7945fa", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://xkcd.com/1205/", "https://blog.engineyard.com/2014/pets-vs-cattle", "https://en.wikipedia.org/wiki/Air_France_Flight_447", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/automation-at-google/", "titulek": "Google SRE - Google Automation For Reliability", "h1": "The Evolution of Automation at Google", "popis": "Google leverages automation to improve consistency, create a central platform for error management, enable faster repairs, and achieve scalability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/automation-at-google/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/automation-at-google/"}, "headline": "The Evolution of Automation at Google", "description": "For SRE, automation is a force multiplier, not a panacea. Of course, just multiplying force does not naturally change the accuracy of where that force is applied: doing automation thoughtlessly can create as many problems as it solves.", "image": "https://lh3.googleusercontent.com/NyIRchwREj-PNSd9PRWkHiyp5HcslW6i84Z8vSz_D00UZWD7nu1AKAw1h1zu76M6q46uvGp1cUUjcfv1NVI_ztDrCBXibnuCxgYB9A", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "John Looney"}, {"@type": "Person", "name": "Michael Kacirek"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Evolution of Automation at Google"}, {"uroven": 2, "text": "The Value of Automation"}, {"uroven": 2, "text": "Consistency"}, {"uroven": 2, "text": "A Platform"}, {"uroven": 2, "text": "Faster Repairs"}, {"uroven": 2, "text": "Faster Action"}, {"uroven": 2, "text": "Time Saving"}, {"uroven": 1, "text": "The Value for Google SRE"}, {"uroven": 1, "text": "The Use Cases for Automation"}, {"uroven": 2, "text": "Google SRE’s Use Cases for Automation"}, {"uroven": 2, "text": "A Hierarchy of Automation Classes"}, {"uroven": 1, "text": "Automate Yourself Out of a Job: Automate ALL the Things!"}, {"uroven": 1, "text": "Soothing the Pain: Applying Automation to Cluster Turnups"}, {"uroven": 2, "text": "Detecting Inconsistencies with Prodtest"}, {"uroven": 2, "text": "Resolving Inconsistencies Idempotently"}, {"uroven": 2, "text": "The Inclination to Specialize"}, {"uroven": 2, "text": "Service-Oriented Cluster-Turnup"}, {"uroven": 1, "text": "Borg: Birth of the Warehouse-Scale Computer"}, {"uroven": 1, "text": "Reliability Is the Fundamental Feature"}, {"uroven": 1, "text": "Recommendations"}], "markdown": "# The Evolution of Automation at Google\n\nWritten by Niall Murphy with John Looney and Michael Kacirek\n\n Edited by Betsy Beyer\n\n> Besides black art, there is only automation and mechanization.\n> \n> Federico GarcĂ­a Lorca (1898–1936), Spanish poet and playwright\n\nFor SRE, automation is a force multiplier, not a panacea. Of course, just *multiplying* force does not naturally change the accuracy of where that force is applied: doing automation thoughtlessly can create as many problems as it solves. Therefore, while we believe that software-based automation is superior to manual operation in most circumstances, better than either option is a higher-level system design requiring neither of them—an *autonomous* system. Or to put it another way, the value of automation comes from both what it does and its judicious application. We’ll discuss both the value of automation and how our attitude has evolved over time.\n\n## The Value of Automation\n\nWhat exactly is the value of automation?26\n\n## Consistency\n\nAlthough scale is an obvious motivation for automation, there are many other reasons to use it. Take the example of university computing systems, where many systems engineering folks started their careers. Systems administrators of that background were generally charged with running a collection of machines or some software, and were accustomed to manually performing various actions in the discharge of that duty. One common example is creating user accounts; others include purely operational duties like making sure backups happen, managing server failover, and small data manipulations like changing the upstream DNS servers’ *resolv.conf*, DNS server zone data, and similar activities. Ultimately, however, this prevalence of manual tasks is unsatisfactory for both the organizations and indeed the people maintaining systems in this way. For a start, any action performed by a human or humans hundreds of times won’t be performed the same way each time: even with the best will in the world, very few of us will ever be as consistent as a machine. This inevitable lack of consistency leads to mistakes, oversights, issues with data quality, and, yes, reliability problems. In this domain—the execution of well-scoped, known procedures the value of consistency is in many ways the primary value of automation.\n\n## A Platform\n\nAutomation doesn’t just provide consistency. Designed and done properly, automatic systems also provide a *platform* that can be extended, applied to more systems, or perhaps even spun out for profit.27 (The alternative, no automation, is neither cost effective nor extensible: it is instead a tax levied on the operation of a system.)\n\nA platform also *centralizes mistakes*. In other words, a bug fixed in the code will be fixed there once and forever, unlike a sufficiently large set of humans performing the same procedure, as discussed previously. A platform can be extended to perform additional tasks more easily than humans can be instructed to perform them (or sometimes even realize that they have to be done). Depending on the nature of the task, it can run either continuously or much more frequently than humans could appropriately accomplish the task, or at times that are inconvenient for humans. Furthermore, a platform can export metrics about its performance, or otherwise allow you to discover details about your process you didn’t know previously, because these details are more easily measurable within the context of a platform.\n\n## Faster Repairs\n\nThere’s an additional benefit for systems where automation is used to resolve common faults in a system (a frequent situation for SRE-created automation). If automation runs regularly and successfully enough, the result is a reduced mean time to repair (MTTR) for those common faults. You can then spend your time on other tasks instead, thereby achieving increased developer velocity because you don’t have to spend time either preventing a problem or (more commonly) cleaning up after it. As is well understood in the industry, the later in the product lifecycle a problem is discovered, the more expensive it is to fix; see [Testing for Reliability](/sre-book/testing-reliability/). Generally, problems that occur in actual production are most expensive to fix, both in terms of time and money, which means that an automated system looking for problems as soon as they arise has a good chance of lowering the total cost of the system, given that the system is sufficiently large.\n\n## Faster Action\n\nIn the infrastructural situations where SRE automation tends to be deployed, humans don’t usually react as fast as machines. In most common cases, where, for example, failover or traffic switching can be well defined for a particular application, it makes no sense to effectively require a human to intermittently press a button called “Allow system to continue to run.” (Yes, it is true that sometimes automatic procedures can end up making a bad situation worse, but that is why such procedures should be scoped over well-defined domains.) Google has a large amount of automation; in many cases, the services we support could not long survive without this automation because they crossed the threshold of manageable manual operation long ago.\n\n## Time Saving\n\nFinally, time saving is an oft-quoted rationale for automation. Although people cite this rationale for automation more than the others, in many ways the benefit is often less immediately calculable. Engineers often waver over whether a particular piece of automation or code is worth writing, in terms of effort saved in not requiring a task to be performed manually versus the effort required to write it.28 It’s easy to overlook the fact that once you have encapsulated some task in automation, anyone can execute the task. Therefore, the time savings apply across anyone who would plausibly use the automation. Decoupling operator from operation is very powerful.\n\nJoseph Bironas, an SRE who led Google’s datacenter turnup efforts for a time, forcefully argued:\n\n\"If we are engineering processes and solutions that are not automatable, we continue having to staff humans to maintain the system. If we have to staff humans to do the work, we are feeding the machines with the blood, sweat, and tears of human beings. Think *The Matrix* with less special effects and more pissed off System Administrators.\"\n\n# The Value for Google SRE\n\nAll of these benefits and trade-offs apply to us just as much as anyone else, and Google does have a strong bias toward automation. Part of our preference for automation springs from our particular business challenges: the products and services we look after are planet-spanning in scale, and we don’t typically have time to engage in the same kind of machine or service hand-holding common in other organizations.29 For truly large services, the factors of consistency, quickness, and reliability dominate most conversations about the trade-offs of performing automation.\n\nAnother argument in favor of automation, particularly in the case of Google, is our complicated yet surprisingly uniform production environment, described in [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/). While other organizations might have an important piece of equipment without a readily accessible API, software for which no source code is available, or another impediment to complete control over production operations, Google generally avoids such scenarios. We have built APIs for systems when no API was available from the vendor. Even though purchasing software for a particular task would have been much cheaper in the short term, we chose to write our own solutions, because doing so produced APIs with the potential for much greater long-term benefits. We spent a lot of time overcoming obstacles to automatic system management, and then resolutely developed that automatic system management itself. Given how Google manages its source code [[Pot16]](/sre-book/bibliography#Pot16), the availability of that code for more or less any system that SRE touches also means that our mission to “own the product in production” is much easier because we control the entirety of the stack.\n\nOf course, although Google is ideologically bent upon using machines to manage machines where possible, reality requires some modification of our approach. It isn’t appropriate to automate every component of every system, and not everyone has the ability or inclination to develop automation at a particular time. Some essential systems started out as quick prototypes, not designed to last or to interface with automation. The previous paragraphs state a maximalist view of our position, but one that we have been broadly successful at putting into action within the Google context. In general, we have chosen to create platforms where we could, or to *position* ourselves so that we could create platforms over time. We view this platform-based approach as necessary for manageability and scalability.\n\n# The Use Cases for Automation\n\nIn the industry, *automation* is the term generally used for writing code to solve a wide variety of problems, although the motivations for writing this code, and the solutions themselves, are often quite different. More broadly, in this view, automation is “meta-software”—software to act on software.\n\nAs we implied earlier, there are a number of use cases for automation. Here is a non-exhaustive list of examples:\n\n- User account creation\n- Cluster turnup and turndown for services\n- Software or hardware installation preparation and decommissioning\n- Rollouts of new software versions\n- Runtime configuration changes\n- A special case of runtime config changes: changes to your dependencies\n\nThis list could continue essentially *ad infinitum*.\n\n## Google SRE’s Use Cases for Automation\n\nIn Google, we have all of the use cases just listed, and more.\n\nHowever, within Google SRE, our primary affinity has typically been for running infrastructure, as opposed to managing the quality of the data that passes over that infrastructure. This line isn’t totally clear—for example, we care deeply if half of a dataset vanishes after a push, and therefore we alert on coarse-grain differences like this, but it’s rare for us to write the equivalent of changing the properties of some arbitrary subset of accounts on a system. Therefore, the context for our automation is often automation to manage the lifecycle of systems, not their data: for example, deployments of a service in a new cluster.\n\nTo this extent, SRE’s automation efforts are not far off what many other people and organizations do, except that we use different tools to manage it and have a different focus (as we’ll discuss).\n\nWidely available tools like Puppet, Chef, cfengine, and even Perl, which all provide ways to automate particular tasks, differ mostly in terms of the level of abstraction of the components provided to help the act of automating. A full language like Perl provides POSIX-level affordances, which in theory provide an essentially unlimited scope of automation across the APIs accessible to the system,30 whereas Chef and Puppet provide out-of-the-box abstractions with which services or other higher-level entities can be manipulated. The trade-off here is classic: higher-level abstractions are easier to manage and reason about, but when you encounter a “leaky abstraction,” you fail systemically, repeatedly, and potentially inconsistently. For example, we often assume that pushing a new binary to a cluster is atomic; the cluster will either end up with the old version, or the new version. However, real-world behavior is more complicated: that cluster’s network can fail halfway through; machines can fail; communication to the cluster management layer can fail, leaving the system in an inconsistent state; depending on the situation, new binaries could be staged but not pushed, or pushed but not restarted, or restarted but not verifiable. Very few abstractions model these kinds of outcomes successfully, and most generally end up halting themselves and calling for intervention. Truly bad automation systems don’t even do that.\n\nSRE has a number of philosophies and products in the domain of automation, some of which look more like generic rollout tools without particularly detailed modeling of higher-level entities, and some of which look more like languages for describing service deployment (and so on) at a very abstract level. Work done in the latter tends to be more reusable and be more of a common platform than the former, but the complexity of our production environment sometimes means that the former approach is the most immediately tractable option.\n\n## A Hierarchy of Automation Classes\n\nAlthough all of these automation steps are valuable, and indeed an automation platform is valuable in and of itself, in an ideal world, we wouldn’t need externalized automation. In fact, instead of having a system that *has* to have external glue logic, it would be even better to have a system that needs *no glue logic at all*, not just because internalization is more efficient (although such efficiency is useful), but because it has been designed to not need glue logic in the first place. Accomplishing that involves taking the use cases for glue logic—generally “first order” manipulations of a system, such as adding accounts or performing system turnup—and finding a way to handle those use cases directly within the application.\n\nAs a more detailed example, most turnup automation at Google is problematic because it ends up being maintained separately from the core system and therefore suffers from “bit rot,” i.e., not changing when the underlying systems change. Despite the best of intentions, attempting to more tightly couple the two (turnup automation and the core system) often fails due to unaligned priorities, as product developers will, not unreasonably, resist a test deployment requirement for every change. Secondly, automation that is crucial but only executed at infrequent intervals and therefore difficult to test is often particularly fragile because of the extended feedback cycle. Cluster failover is one classic example of infrequently executed automation: failovers might only occur every few months, or infrequently enough that inconsistencies between instances are introduced. The evolution of automation follows a path:\n\n1) No automation\n\nDatabase master is failed over manually between locations.\n\n2) Externally maintained system-specific automation\n\nAn SRE has a failover script in his or her home directory.\n\n3) Externally maintained generic automation\n\nThe SRE adds database support to a \"generic failover\" script that everyone uses.\n\n4) Internally maintained system-specific automation\n\nThe database ships with its own failover script.\n\n5) Systems that don’t need any automation\n\nThe database notices problems, and automatically fails over without human intervention.\n\nSRE hates manual operations, so we obviously try to create systems that don’t require them. However, sometimes manual operations are unavoidable.\n\nThere is additionally a subvariety of automation that applies changes not across the domain of specific system-related configuration, but across the domain of production as a whole. In a highly centralized proprietary production environment like Google’s, there are a large number of changes that have a non–service-specific scope—e.g., changing upstream Chubby servers, a flag change to the Bigtable client library to make access more reliable, and so on—which nonetheless need to be safely managed and rolled back if necessary. Beyond a certain volume of changes, it is infeasible for production-wide changes to be accomplished manually, and at some time before that point, it’s a waste to have manual oversight for a process where a large proportion of the changes are either trivial or accomplished successfully by basic relaunch-and-check strategies.\n\nLet’s use internal case studies to illustrate some of the preceding points in detail. The first case study is about how, due to some diligent, far-sighted work, we managed to achieve the self-professed nirvana of SRE: to automate ourselves out of a job.\n\n# Automate Yourself Out of a Job: Automate ALL the Things!\n\nFor a long while, the Ads products at Google stored their data in a MySQL database. Because Ads data obviously has high reliability requirements, an SRE team was charged with looking after that infrastructure. From 2005 to 2008, the Ads Database mostly ran in what we considered to be a mature and managed state. For example, we had automated away the worst, but not all, of the routine work for standard replica replacements. We believed the Ads Database was well managed and that we had harvested most of the low-hanging fruit in terms of optimization and scale. However, as daily operations became comfortable, team members began to look at the next level of system development: migrating MySQL onto Google’s cluster scheduling system, Borg.\n\nWe hoped this migration would provide two main benefits:\n\n- *Completely* eliminate machine/replica maintenance: Borg would automatically handle the setup/restart of new and broken tasks.\n- Enable bin-packing of multiple MySQL instances on the same physical machine: Borg would enable more efficient use of machine resources via Containers.\n\nIn late 2008, we successfully deployed a proof of concept MySQL instance on Borg. Unfortunately, this was accompanied by a significant new difficulty. A core operating characteristic of Borg is that its tasks move around automatically. Tasks commonly move within Borg as frequently as once or twice per week. This frequency was tolerable for our database replicas, but unacceptable for our masters.\n\nAt that time, the process for master failover took 30–90 minutes per instance. Simply because we ran on shared machines and were subject to reboots for kernel upgrades, in addition to the normal rate of machine failure, we had to expect a number of otherwise unrelated failovers every week. This factor, in combination with the number of shards on which our system was hosted, meant that:\n\n- Manual failovers would consume a substantial amount of human hours and would give us best-case availability of 99% uptime, which fell short of the actual business requirements of the product.\n- In order to meet our error budgets, each failover would have to take less than 30 seconds of downtime. There was no way to optimize a human-dependent procedure to make downtime shorter than 30 seconds.\n\nTherefore, our only choice was to automate failover. Actually, we needed to automate more than just failover.\n\nIn 2009 Ads SRE completed our automated failover daemon, which we dubbed “Decider.” Decider could complete MySQL failovers for both planned and unplanned failovers in less than 30 seconds 95% of the time. With the creation of Decider, MySQL on Borg (MoB) finally became a reality. We graduated from optimizing our infrastructure for a lack of failover to embracing the idea that failure is inevitable, and therefore optimizing to recover quickly through automation.\n\nWhile automation let us achieve highly available MySQL in a world that forced up to two restarts per week, it did come with its own set of costs. All of our applications had to be changed to include significantly more failure-handling logic than before. Given that the norm in the MySQL development world is to assume that the MySQL instance will be the most stable component in the stack, this switch meant customizing software like JDBC to be more tolerant of our failure-prone environment. However, the benefits of migrating to MoB with Decider were well worth these costs. Once on MoB, the time our team spent on mundane operational tasks dropped by 95%. Our failovers were automated, so an outage of a single database task no longer paged a human.\n\nThe main upshot of this new automation was that we had a lot more free time to spend on improving other parts of the infrastructure. Such improvements had a cascading effect: the more time we saved, the more time we were able to spend on optimizing and automating other tedious work. Eventually, we were able to automate schema changes, causing the cost of total operational maintenance of the Ads Database to drop by nearly 95%. Some might say that we had successfully automated ourselves out of this job. The hardware side of our domain also saw improvement. Migrating to MoB freed up considerable resources because we could schedule multiple MySQL instances on the same machines, which improved utilization of our hardware. In total, we were able to free up about 60% of our hardware. Our team was now flush with hardware and engineering resources.\n\nThis example demonstrates the wisdom of going the extra mile to deliver a platform rather than replacing existing manual procedures. The next example comes from the cluster infrastructure group, and illustrates some of the more difficult trade-offs you might encounter on your way to automating *all* the things.\n\n# Soothing the Pain: Applying Automation to Cluster Turnups\n\nTen years ago, the Cluster Infrastructure SRE team seemed to get a new hire every few months. As it turned out, that was approximately the same frequency at which we turned up a new cluster. Because turning up a service in a new cluster gives new hires exposure to a service’s internals, this task seemed like a natural and useful training tool.\n\nThe steps taken to get a cluster ready for use were something like the following:\n\n1. Fit out a datacenter building for power and cooling.\n2. Install and configure core switches and connections to the backbone.\n3. Install a few initial racks of servers.\n4. Configure basic services such as DNS and installers, then configure a lock service, storage, and computing.\n5. Deploy the remaining racks of machines.\n6. Assign user-facing services resources, so their teams can set up the services.\n\nSteps 4 and 6 were extremely complex. While basic services like DNS are relatively simple, the storage and compute subsystems at that time were still in heavy development, so new flags, components, and optimizations were added weekly.\n\nSome services had more than a hundred different component subsystems, each with a complex web of dependencies. Failing to configure one subsystem, or configuring a system or component differently than other deployments, is a customer-impacting outage waiting to happen.\n\nIn one case, a multi-petabyte Bigtable cluster was configured to not use the first (logging) disk on 12-disk systems, for latency reasons. A year later, some automation assumed that if a machine’s first disk wasn’t being used, that machine didn’t have any storage configured; therefore, it was safe to wipe the machine and set it up from scratch. All of the Bigtable data was wiped, instantly. Thankfully we had multiple real-time replicas of the dataset, but such surprises are unwelcome. Automation needs to be careful about relying on implicit \"safety\" signals.\n\nEarly automation focused on accelerating cluster delivery. This approach tended to rely upon creative use of SSH for tedious package distribution and service initialization problems. This strategy was an initial win, but those free-form scripts became a cholesterol of technical debt.\n\n## Detecting Inconsistencies with Prodtest\n\nAs the numbers of clusters grew, some clusters required hand-tuned flags and settings. As a result, teams wasted more and more time chasing down difficult-to-spot misconfigurations. If a flag that made GFS more responsive to log processing leaked into the default templates, cells with many files could run out of memory under load. Infuriating and time-consuming misconfigurations crept in with nearly every large configuration change.\n\nThe creative—though brittle—shell scripts we used to configure clusters were neither scaling to the number of people who wanted to make changes nor to the sheer number of cluster permutations that needed to be built. These shell scripts also failed to resolve more significant concerns before declaring that a service was good to take customer-facing traffic, such as:\n\n- Were all of the service’s dependencies available and correctly configured?\n- Were all configurations and packages consistent with other deployments?\n- Could the team confirm that every configuration exception was desired?\n\nProdtest (Production Test) was an ingenious solution to these unwelcome surprises. We extended the Python unit test framework to allow for unit testing of real-world services. These unit tests have dependencies, allowing a chain of tests, and a failure in one test would quickly abort. Take the test shown in Figure 7-1 as an example.\n\nFigure 7-1. ProdTest for DNS Service, showing how one failed test aborts the subsequent chain of tests\n\nA given team’s Prodtest was given the cluster name, and it could validate that team’s services in that cluster. Later additions allowed us to generate a graph of the unit tests and their states. This functionality allowed an engineer to see quickly if their service was correctly configured in all clusters, and if not, why. The graph highlighted the failed step, and the failing Python unit test output a more verbose error message.\n\nAny time a team encountered a delay due to another team’s unexpected misconfiguration, a bug could be filed to extend their Prodtest. This ensured that a similar problem would be discovered earlier in the future. SREs were proud to be able to assure their customers that all services—both newly turned up services and existing services with new configuration—would reliably serve production traffic.\n\nFor the first time, our project managers could predict when a cluster could \"go live,\" and had a complete understanding of *why* each clusters took six or more weeks to go from \"network-ready\" to \"serving live traffic.\" Out of the blue, SRE received a mission from senior management: *In three months, five new clusters will reach *network-ready* on the same day. Please turn them up in one week.*\n\n## Resolving Inconsistencies Idempotently\n\nA \"One Week Turnup\" was a terrifying mission. We had tens of thousands of lines of shell script owned by dozens of teams. We could quickly tell how unprepared any given cluster was, but fixing it meant that the dozens of teams would have to file hundreds of bugs, and then we had to hope that these bugs would be promptly fixed.\n\nWe realized that evolving from \"Python unit tests finding misconfigurations\" to \"Python code fixing misconfigurations\" could enable us to fix these issues faster.\n\nThe unit test already knew which cluster we were examining and the specific test that was failing, so we paired each test with a fix. If each fix was written to be idempotent, and could assume that all dependencies were met, resolving the problem should have been easy—and safe—to resolve. Requiring idempotent fixes meant teams could run their \"fix script\" every 15 minutes without fearing damage to the cluster’s configuration. If the DNS team’s test was blocked on the Machine Database team’s configuration of a new cluster, as soon as the cluster appeared in the database, the DNS team’s tests and fixes would start working.\n\nTake the test shown in Figure 7-2 as an example. If `TestDnsMonitoringConfigExists` fails, as shown, we can call `FixDnsMonitoringCreateConfig`, which scrapes configuration from a database, then checks a skeleton configuration file into our revision control system. Then `TestDnsMonitoringConfigExists` passes on retry, and the `TestDnsMonitoringConfigPushed` test can be attempted. If the test fails, the `FixDnsMonitoringPushConfig` step runs. If a fix fails multiple times, the automation assumes that the fix failed and stops, notifying the user.\n\nArmed with these scripts, a small group of engineers could ensure that we could go from \"The network works, and machines are listed in the database\" to \"Serving 1% of websearch and ads traffic\" in a matter of a week or two. At the time, this seemed to be the apex of automation technology.\n\nLooking back, this approach was deeply flawed; the latency between the test, the fix, and then a second test introduced *flaky* tests that sometimes worked and sometimes failed. Not all fixes were naturally idempotent, so a flaky test that was followed by a fix might render the system in an inconsistent state.\n\nFigure 7-2. ProdTest for DNS Service, showing that one failed test resulted in only running one fix\n\n## The Inclination to Specialize\n\nAutomation processes can vary in three respects:\n\n- *Competence* , i.e., their accuracy\n- *Latency* , how quickly all steps are executed when initiated\n- *Relevance* , or proportion of real-world process covered by automation\n\nWe began with a process that was highly competent (maintained and run by the service owners), high-latency (the service owners performed the process in their spare time or assigned it to new engineers), and very relevant (the service owners knew when the real world changed, and could fix the automation).\n\nTo reduce turnup latency, many service owning teams instructed a single \"turnup team\" what automation to run. The turnup team used tickets to start each stage in the turnup so that we could track the remaining tasks, and who those tasks were assigned to. If the human interactions regarding automation modules occurred between people in the same room, cluster turnups could happen in a much shorter time. Finally, we had our competent, accurate, and timely automation process!\n\nBut this state didn’t last long. The real world is chaotic: software, configuration, data, etc. changed, resulting in over a thousand separate changes a day to affected systems. The people most affected by automation bugs were no longer domain experts, so the automation became less relevant (meaning that new steps were missed) and less competent (new flags might have caused automation to fail). However, it took a while for this drop in quality to impact velocity.\n\nAutomation code, like unit test code, dies when the maintaining team isn’t obsessive about keeping the code in sync with the codebase it covers. The world changes around the code: the DNS team adds new configuration options, the storage team changes their package names, and the networking team needs to support new devices.\n\nBy relieving teams who ran services of the responsibility to maintain and run their automation code, we created ugly organizational incentives:\n\n- A team whose primary task is to speed up the current turnup has no incentive to reduce the technical debt of the service-owning team running the service in production later.\n- A team not running automation has no incentive to build systems that are easy to automate.\n- A product manager whose schedule is not affected by low-quality automation will always prioritize new features over simplicity and automation.\n\nThe most functional tools are usually written by those who use them. A similar argument applies to why product development teams benefit from keeping at least some operational awareness of their systems in production.\n\nTurnups were again high-latency, inaccurate, and incompetent—the worst of all worlds. However, an unrelated security mandate allowed us out of this trap. Much of distributed automation relied at that time on SSH. This is clumsy from a security perspective, because people must have root on many machines to run most commands. A growing awareness of advanced, persistent security threats drove us to reduce the privileges SREs enjoyed to the absolute minimum they needed to do their jobs. We had to replace our use of sshd with an authenticated, ACL-driven, RPC-based Local Admin Daemon, also known as Admin Servers, which had permissions to perform those local changes. As a result, no one could install or modify a server without an audit trail. Changes to the Local Admin Daemon and the Package Repo were gated on code reviews, making it very difficult for someone to exceed their authority; giving someone the access to install packages would not let them view colocated logs. The Admin Server logged the RPC requestor, any parameters, and the results of all RPCs to enhance debugging and security audits.\n\n## Service-Oriented Cluster-Turnup\n\nIn the next iteration, Admin Servers became part of service teams’ workflows, both as related to the machine-specific Admin Servers (for installing packages and rebooting) and cluster-level Admin Servers (for actions like draining or turning up a service). SREs moved from writing shell scripts in their home directories to building peer-reviewed RPC servers with fine-grained ACLs.\n\nLater on, after the realization that turnup processes had to be owned by the teams that owned the services fully sank in, we saw this as a way to approach cluster turnup as a Service-Oriented Architecture (SOA) problem: service owners would be responsible for creating an Admin Server to handle cluster turnup/turndown RPCs, sent by the system that knew when clusters were ready. In turn, each team would provide the contract (API) that the turnup automation needed, while still being free to change the underlying implementation. As a cluster reached \"network-ready,\" automation sent an RPC to each Admin Server that played a part in turning up the cluster.\n\nWe now have a low-latency, competent, and accurate process; most importantly, this process has stayed strong as the rate of change, the number of teams, and the number of services seem to double each year.\n\nAs mentioned earlier, our evolution of turnup automation followed a path:\n\n1. Operator-triggered manual action (no automation)\n2. Operator-written, system-specific automation\n3. Externally maintained generic automation\n4. Internally maintained, system-specific automation\n5. Autonomous systems that need no human intervention\n\nWhile this evolution has, broadly speaking, been a success, the Borg case study illustrates another way we have come to think of the problem of automation.\n\n# Borg: Birth of the Warehouse-Scale Computer\n\nAnother way to understand the development of our attitude toward automation, and when and where that automation is best deployed, is to consider the history of the development of our cluster management systems.31 Like MySQL on Borg, which demonstrated the success of converting manual operations to automatic ones, and the cluster turnup process, which demonstrated the downside of not thinking carefully enough about where and how automation was implemented, developing cluster management also ended up demonstrating another lesson about how automation should be done. Like our previous two examples, something quite sophisticated was created as the eventual result of continuous evolution from simpler beginnings.\n\nGoogle’s clusters were initially deployed much like everyone else’s small networks of the time: racks of machines with specific purposes and heterogeneous configurations. Engineers would log in to some well-known “master” machine to perform administrative tasks; “golden” binaries and configuration lived on these masters. As we had only one colo provider, most naming logic implicitly assumed that location. As production grew, and we began to use multiple clusters, different domains (cluster names) entered the picture. It became necessary to have a file describing what each machine did, which grouped machines under some loose naming strategy. This descriptor file, in combination with the equivalent of a parallel SSH, allowed us to reboot (for example) all the search machines in one go. Around this time, it was common to get tickets like “search is done with machine `x1`, crawl can have the machine now.”\n\nAutomation development began. Initially automation consisted of simple Python scripts for operations such as the following:\n\n- Service management: keeping services running (e.g., restarts after segfaults)\n- Tracking what services were supposed to run on which machines\n- Log message parsing: SSHing into each machine and looking for regexps\n\nAutomation eventually mutated into a proper database that tracked machine state, and also incorporated more sophisticated monitoring tools. With the union set of the automation available, we could now automatically manage much of the lifecycle of machines: noticing when machines were broken, removing the services, sending them to repair, and restoring the configuration when they came back from repair.\n\nBut to take a step back, this automation was useful yet profoundly limited, due to the fact that abstractions of the system were relentlessly tied to physical machines. We needed a new approach, hence Borg [[Ver15]](/sre-book/bibliography#Ver15) was born: a system that moved away from the relatively static host/port/job assignments of the previous world, toward treating a collection of machines as a managed sea of resources. Central to its success—and its conception—was the notion of turning cluster management into an entity for which API calls could be issued, to some central coordinator. This liberated extra dimensions of efficiency, flexibility, and reliability: unlike the previous model of machine “ownership,” Borg could allow machines to schedule, for example, batch *and* user-facing tasks on the same machine.\n\nThis functionality ultimately resulted in continuous and automatic operating system upgrades with a very small amount of constant32 effort—effort that does *not* scale with the total size of production deployments. Slight deviations in machine state are now automatically fixed; brokenness and lifecycle management are essentially no-ops for SRE at this point. Thousands of machines are born, die, and go into repairs daily with no SRE effort. To echo the words of Ben Treynor Sloss: by taking the approach that this was a software problem, the initial automation bought us enough time to turn cluster management into something autonomous, as opposed to automated. We achieved this goal by bringing ideas related to data distribution, APIs, hub-and-spoke architectures, and classic distributed system software development to bear upon the domain of infrastructure management.\n\nAn interesting analogy is possible here: we can make a direct mapping between the single machine case and the development of cluster management abstractions. In this view, rescheduling on another machine looks a lot like a process moving from one CPU to another: of course, those compute resources happen to be at the other end of a network link, but to what extent does that actually matter? Thinking in these terms, rescheduling looks like an intrinsic feature of the system rather than something one would “automate”—humans couldn’t react fast enough anyway. Similarly in the case of cluster turnup: in this metaphor, cluster turnup is simply additional schedulable capacity, a bit like adding disk or RAM to a single computer. However, a single-node computer is not, in general, expected to continue operating when a large number of components fail. The global computer is—it *must* be self-repairing to operate once it grows past a certain size, due to the essentially statistically guaranteed large number of failures taking place every second. This implies that as we move systems up the hierarchy from manually triggered, to automatically triggered, to autonomous, some capacity for self-introspection is necessary to survive.\n\n# Reliability Is the Fundamental Feature\n\nOf course, for effective troubleshooting, the details of internal operation that the introspection relies upon should also be exposed to the humans managing the overall system. Analogous discussions about the impact of automation in the noncomputer domain—for example, in airplane flight33 or industrial applications—often point out the downside of highly effective automation:34 human operators are progressively more relieved of useful direct contact with the system as the automation covers more and more daily activities over time. Inevitably, then, a situation arises in which the automation fails, and the humans are now unable to successfully operate the system. The fluidity of their reactions has been lost due to lack of practice, and their mental models of what the system *should* be doing no longer reflect the reality of what it *is* doing.35 This situation arises more when the system is nonautonomous—i.e., where automation replaces manual actions, and the manual actions are presumed to be always performable and available just as they were before. Sadly, over time, this ultimately becomes false: those manual actions are not always performable because the functionality to permit them no longer exists.\n\nWe, too, have experienced situations where automation has been actively harmful on a number of occasions—see Automation: Enabling Failure at Scale—but in Google’s experience, there are more systems for which automation or autonomous behavior are no longer optional extras. As you scale, this is of course the case, but there are still strong arguments for more autonomous behavior of systems irrespective of size. Reliability is the fundamental feature, and autonomous, resilient behavior is one useful way to get that.\n\n# Recommendations\n\nYou might read the examples in this chapter and decide that you need to be Google-scale before you have anything to do with automation whatsoever. This is untrue, for two reasons: automation provides more than just time saving, so it’s worth implementing in more cases than a simple time-expended versus time-saved calculation might suggest. But the approach with the highest leverage actually occurs in the design phase: shipping and iterating rapidly might allow you to implement functionality faster, yet rarely makes for a resilient system. Autonomous operation is difficult to convincingly retrofit to sufficiently large systems, but standard good practices in software engineering will help considerably: having decoupled subsystems, introducing APIs, minimizing side effects, and so on.\n\n26For readers who already feel they precisely understand the value of automation, skip ahead to The Value for Google SRE. However, note that our description contains some nuances that might be useful to keep in mind while reading the rest of the chapter.\n\n27The expertise acquired in building such automation is also valuable in itself; engineers both deeply understand the existing processes they have automated and can later automate novel processes more quickly.\n\n28See the following XKCD cartoon: [*https://xkcd.com/1205/*](https://xkcd.com/1205/).\n\n29See, for example, [*https://blog.engineyard.com/2014/pets-vs-cattle*](https://blog.engineyard.com/2014/pets-vs-cattle).\n\n30Of course, not every system that needs to be managed actually provides callable APIs for management—forcing some tooling to use, e.g., CLI invocations or automated website clicks.\n\n31We have compressed and simplified this history to aid understanding.\n\n32As in a small, unchanging number.\n\n33See, e.g., [*https://en.wikipedia.org/wiki/Air_France_Flight_447*](https://en.wikipedia.org/wiki/Air_France_Flight_447).\n\n34See, e.g., [[Bai83]](/sre-book/bibliography#Bai83) and [[Sar97]](/sre-book/bibliography#Sar97).\n\n35This is yet another good reason for regular practice drills; see [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg).", "znaku_textu": 43298, "slov": 6795, "odkazu": 83, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/automation-at-google", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:37", "sha256": "9e2420376c8d095de5daab486b6395cc3f7ab45aa6adb940c912bf1ded7945fa", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://xkcd.com/1205/", "https://blog.engineyard.com/2014/pets-vs-cattle", "https://en.wikipedia.org/wiki/Air_France_Flight_447", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/availability-table", "titulek": "Google SRE - Table For Service Availability", "h1": "Availability Table", "popis": "Calculate service availability using the Availability Table. Learn planned downtime, unavailability windows, and aggregate unavailability metrics.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/availability-table/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/availability-table/"}, "headline": "Availability Table", "description": "Availability is generally calculated based on how long a service was unavailable over some period.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Availability Table"}], "markdown": "# Availability Table\n\nAvailability is generally calculated based on how long a service was unavailable over some period. Assuming no planned downtime, Table 1-1 indicates how much downtime is permitted to reach a given availability level.\n\n| **Availability level** | **Allowed unavailability window** | | | | | |\n| --- | --- | --- | --- | --- | --- | --- |\n| | **per year** | **per quarter** | **per month** | **per week** | **per day** | **per hour** |\n| 90% | 36.5 days | 9 days | 3 days | 16.8 hours | 2.4 hours | 6 minutes |\n| 95% | 18.25 days | 4.5 days | 1.5 days | 8.4 hours | 1.2 hours | 3 minutes |\n| 99% | 3.65 days | 21.6 hours | 7.2 hours | 1.68 hours | 14.4 minutes | 36 seconds |\n| 99.5% | 1.83 days | 10.8 hours | 3.6 hours | 50.4 minutes | 7.20 minutes | 18 seconds |\n| 99.9% | 8.76 hours | 2.16 hours | 43.2 minutes | 10.1 minutes | 1.44 minutes | 3.6 seconds |\n| 99.95% | 4.38 hours | 1.08 hours | 21.6 minutes | 5.04 minutes | 43.2 seconds | 1.8 seconds |\n| 99.99% | 52.6 minutes | 12.96 minutes | 4.32 minutes | 60.5 seconds | 8.64 seconds | 0.36 seconds |\n| 99.999% | 5.26 minutes | 1.30 minutes | 25.9 seconds | 6.05 seconds | 0.87 seconds | 0.04 seconds |\n\nUsing an aggregate unavailability metric (i.e., \"*X*% of all operations failed\") is more useful than focusing on outage lengths for services that may be partially available—for instance, due to having multiple replicas, only some of which are unavailable—and for services whose load varies over the course of a day or week rather than remaining constant.\n\nSee Equations [Time-based availability](/sre-book/embracing-risk#risk-management_measuring-service-risk_time-availability-equation) and [Aggregate availability](/sre-book/embracing-risk#risk-management_measuring-service-risk_aggregate-availability-equation) in [Embracing Risk](/sre-book/embracing-risk/) for calculations.", "znaku_textu": 1638, "slov": 245, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:44", "sha256": "ddf6f88937f5bba867a921cef953f98645fbacb4c71b09cb310b87cfbdd71ee5", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/availability-table/", "titulek": "Google SRE - Table For Service Availability", "h1": "Availability Table", "popis": "Calculate service availability using the Availability Table. Learn planned downtime, unavailability windows, and aggregate unavailability metrics.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/availability-table/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/availability-table/"}, "headline": "Availability Table", "description": "Availability is generally calculated based on how long a service was unavailable over some period.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Availability Table"}], "markdown": "# Availability Table\n\nAvailability is generally calculated based on how long a service was unavailable over some period. Assuming no planned downtime, Table 1-1 indicates how much downtime is permitted to reach a given availability level.\n\n| **Availability level** | **Allowed unavailability window** | | | | | |\n| --- | --- | --- | --- | --- | --- | --- |\n| | **per year** | **per quarter** | **per month** | **per week** | **per day** | **per hour** |\n| 90% | 36.5 days | 9 days | 3 days | 16.8 hours | 2.4 hours | 6 minutes |\n| 95% | 18.25 days | 4.5 days | 1.5 days | 8.4 hours | 1.2 hours | 3 minutes |\n| 99% | 3.65 days | 21.6 hours | 7.2 hours | 1.68 hours | 14.4 minutes | 36 seconds |\n| 99.5% | 1.83 days | 10.8 hours | 3.6 hours | 50.4 minutes | 7.20 minutes | 18 seconds |\n| 99.9% | 8.76 hours | 2.16 hours | 43.2 minutes | 10.1 minutes | 1.44 minutes | 3.6 seconds |\n| 99.95% | 4.38 hours | 1.08 hours | 21.6 minutes | 5.04 minutes | 43.2 seconds | 1.8 seconds |\n| 99.99% | 52.6 minutes | 12.96 minutes | 4.32 minutes | 60.5 seconds | 8.64 seconds | 0.36 seconds |\n| 99.999% | 5.26 minutes | 1.30 minutes | 25.9 seconds | 6.05 seconds | 0.87 seconds | 0.04 seconds |\n\nUsing an aggregate unavailability metric (i.e., \"*X*% of all operations failed\") is more useful than focusing on outage lengths for services that may be partially available—for instance, due to having multiple replicas, only some of which are unavailable—and for services whose load varies over the course of a day or week rather than remaining constant.\n\nSee Equations [Time-based availability](/sre-book/embracing-risk#risk-management_measuring-service-risk_time-availability-equation) and [Aggregate availability](/sre-book/embracing-risk#risk-management_measuring-service-risk_aggregate-availability-equation) in [Embracing Risk](/sre-book/embracing-risk/) for calculations.", "znaku_textu": 1638, "slov": 245, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/availability-table", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:38", "sha256": "ddf6f88937f5bba867a921cef953f98645fbacb4c71b09cb310b87cfbdd71ee5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/being-on-call/", "titulek": "Google SRE - On Call Engineer Best Practices for IT Services", "h1": "Being On-Call", "popis": "Proven strategies for on-call engineers to ensure reliable services and maintain sustainable workloads in IT operations.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/being-on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/being-on-call/"}, "headline": "Being On-Call", "description": "Being on-call is a critical duty that many operations and engineering teams must undertake in order to keep their services reliable and available.", "author": [{"@type": "Person", "name": "Andrea Spadaccini"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Being On-Call"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 1, "text": "Life of an On-Call Engineer"}, {"uroven": 1, "text": "Balanced On-Call"}, {"uroven": 2, "text": "Balance in Quantity"}, {"uroven": 2, "text": "Balance in Quality"}, {"uroven": 2, "text": "Compensation"}, {"uroven": 1, "text": "Feeling Safe"}, {"uroven": 1, "text": "Avoiding Inappropriate Operational Load"}, {"uroven": 2, "text": "Operational Overload"}, {"uroven": 2, "text": "A Treacherous Enemy: Operational Underload"}, {"uroven": 1, "text": "Conclusions"}], "markdown": "# Being On-Call\n\nWritten by Andrea Spadaccini56\nEdited by Kavita Guliani\n\nBeing on-call is a critical duty that many operations and engineering teams must undertake in order to keep their services reliable and available. However, there are several pitfalls in the organization of on-call rotations and responsibilities that can lead to serious consequences for the services and for the teams if not avoided. This chapter describes the primary tenets of the approach to on-call that Google’s Site Reliability Engineers (SREs) have developed over years, and explains how that approach has led to reliable services and sustainable workload over time.\n\n## Introduction\n\nSeveral professions require employees to perform some sort of on-call duty, which entails being available for calls during both working and nonworking hours. In the IT context, on-call activities have historically been performed by dedicated Ops teams tasked with the primary responsibility of keeping the service(s) for which they are responsible in good health.\n\nMany important services in Google, e.g., Search, Ads, and Gmail, have dedicated teams of SREs responsible for the performance and reliability of these services. Thus, [SREs are on-call](../../workbook/on-call/) for the services they support. The SRE teams are quite different from purely operational teams in that they place heavy emphasis on the use of engineering to approach problems. These problems, which typically fall in the operational domain, exist at a scale that would be intractable without software engineering solutions.\n\nTo enforce this type of problem solving, Google hires people with a diverse background in systems and software engineering into SRE teams. We cap the amount of time SREs spend on purely operational work at 50%; at minimum, 50% of an SRE’s time should be allocated to engineering projects that further scale the impact of the team through automation, in addition to improving the service.\n\n# Life of an On-Call Engineer\n\nThis section describes the typical activities of an on-call engineer and provides some background for the rest of the chapter.\n\nAs the guardians of production systems, [on-call engineers](https://sre.google/workbook/on-call/) take care of their assigned operations by managing outages that affect the team and performing and/or vetting production changes.\n\nWhen on-call, an engineer is available to perform operations on production systems within minutes, according to the paging response times agreed to by the team and the business system owners. Typical values are 5 minutes for user-facing or otherwise highly time-critical services, and 30 minutes for less time-sensitive systems. The company provides the page-receiving device, which is typically a phone. Google has flexible alert delivery systems that can dispatch pages via multiple mechanisms (email, SMS, robot call, app) across multiple devices.\n\nResponse times are related to desired service availability, as demonstrated by the following simplistic example: if a user-facing system must obtain 4 nines of availability in a given quarter (99.99%), the allowed quarterly downtime is around 13 minutes ([Availability Table](/sre-book/availability-table#appendix_table-of-nines)). This constraint implies that the reaction time of on-call engineers has to be in the order of minutes (strictly speaking, 13 minutes). For systems with more relaxed SLOs, the reaction time can be on the order of tens of minutes.\n\nAs soon as a page is received and acknowledged, the on-call engineer is expected to triage the problem and work toward its resolution, possibly involving other team members and escalating as needed.\n\nNonpaging production events, such as lower priority alerts or software releases, can also be handled and/or vetted by the on-call engineer during business hours. These activities are less urgent than paging events, which take priority over almost every other task, including project work. For more insight on interrupts and other non-paging events that contribute to operational load, see [Dealing with Interrupts](/sre-book/dealing-with-interrupts/).\n\nMany teams have both a primary and a secondary on-call rotation. The distribution of duties between the primary and the secondary varies from team to team. One team might employ the secondary as a fall-through for the pages the primary on-call misses. Another team might specify that the primary on-call handles only pages, while the secondary handles all other non-urgent production activities.\n\nIn teams for which a secondary rotation is not strictly required for duty distribution, it is common for two related teams to serve as secondary on-call for each other, with fall-through handling duties. This setup eliminates the need for an exclusive secondary on-call rotation.\n\nThere are many ways to organize on-call rotations; for detailed analysis, refer to the \"Oncall\" chapter of [[Lim14]](/sre-book/bibliography#Lim14).\n\n# Balanced On-Call\n\nSRE teams have specific constraints on the quantity and quality of on-call shifts. The quantity of on-call can be calculated by the percent of time spent by engineers on on-call duties. The quality of on-call can be calculated by the number of incidents that occur during an on-call shift.\n\nSRE managers have the responsibility of keeping the on-call workload balanced and sustainable across these two axes.\n\n## Balance in Quantity\n\nWe strongly believe that the \"E\" in \"SRE\" is a defining characteristic of our organization, so we strive to invest at least 50% of SRE time into engineering: of the remainder, no more than 25% can be spent on-call, leaving up to another 25% on other types of operational, nonproject work.\n\nUsing the 25% on-call rule, we can derive the minimum number of SREs required to sustain a 24/7 on-call rotation. Assuming that there are always two people on-call (primary and secondary, with different duties), the minimum number of engineers needed for on-call duty from a single-site team is eight: assuming week-long shifts, each engineer is on-call (primary or secondary) for one week every month. For dual-site teams, a reasonable minimum size of each team is six, both to honor the 25% rule and to ensure a substantial and critical mass of engineers for the team.\n\nIf a service entails enough work to justify growing a single-site team, we prefer to create a multi-site team. A multi-site team is advantageous for two reasons:\n\n- Night shifts have detrimental effects on people’s health [[Dur05]](/sre-book/bibliography#Dur05) , and a multi-site \"follow the sun\" rotation allows teams to avoid night shifts altogether.\n- Limiting the number of engineers in the on-call rotation ensures that engineers do not lose touch with the production systems (see A Treacherous Enemy: Operational Underload ).\n\nHowever, multi-site teams incur communication and coordination overhead. Therefore, the decision to go multi-site or single-site should be based upon the trade-offs each option entails, the importance of the system, and the workload each system generates.\n\n## Balance in Quality\n\nFor each on-call shift, an engineer should have sufficient time to deal with any incidents and follow-up activities such as writing postmortems [[Loo10]](/sre-book/bibliography#Loo10). Let’s define an incident as a sequence of events and alerts that are related to the same root cause and would be discussed as part of the same postmortem. We’ve found that on average, dealing with the tasks involved in an [on-call incident](https://sre.google/sre-book/emergency-response/)—root-cause analysis, remediation, and follow-up activities like writing a postmortem and fixing bugs—takes 6 hours. It follows that the maximum number of incidents per day is 2 per 12-hour on-call shift. In order to stay within this upper bound, the distribution of paging events should be very flat over time, with a likely median value of 0: if a given component or issue causes pages every day (median incidents/day > 1), it is likely that something else will break at some point, thus causing more incidents than should be permitted.\n\nIf this limit is temporarily exceeded, e.g., for a quarter, corrective measures should be put in place to make sure that the operational load returns to a sustainable state (see Operational Overload and [Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload)).\n\n## Compensation\n\nAdequate compensation needs to be considered for out-of-hours support. Different organizations handle on-call compensation in different ways; Google offers time-off-in-lieu or straight cash compensation, capped at some proportion of overall salary. The compensation cap represents, in practice, a limit on the amount of on-call work that will be taken on by any individual. This compensation structure ensures incentivization to be involved in on-call duties as required by the team, but also promotes a balanced on-call work distribution and limits potential drawbacks of excessive on-call work, such as burnout or inadequate time for project work.\n\n# Feeling Safe\n\nAs mentioned earlier, SRE teams support Google’s most critical systems. Being an SRE on-call typically means assuming responsibility for user-facing, revenue-critical systems or for the infrastructure required to keep these systems up and running. SRE methodology for thinking about and tackling problems is vital for the appropriate operation of services.\n\nModern research identifies two distinct ways of thinking that an individual may, consciously or subconsciously, choose when faced with challenges [[Kah11]](/sre-book/bibliography#Kah11):\n\n- Intuitive, automatic, and rapid action\n- Rational, focused, and deliberate cognitive functions\n\nWhen one is dealing with the outages related to complex systems, the second of these options is more likely to produce better results and lead to well-planned incident handling.\n\nTo make sure that the engineers are in the appropriate frame of mind to leverage the latter mindset, it’s important to reduce the stress related to being on-call. The importance and the impact of the services and the consequences of potential outages can create significant pressure on the on-call engineers, damaging the well-being of individual team members and possibly prompting SREs to make incorrect choices that can endanger the availability of the service. Stress hormones like cortisol and corticotropin-releasing hormone (CRH) are known to cause behavioral consequences—including fear—that can impair cognitive functions and cause suboptimal decision making [[Chr09]](/sre-book/bibliography#Chr09).\n\nUnder the influence of these stress hormones, the more deliberate cognitive approach is typically subsumed by unreflective and unconsidered (but immediate) action, leading to potential abuse of heuristics. Heuristics are very tempting behaviors when one is on-call. For example, when the same alert pages for the fourth time in the week, and the previous three pages were initiated by an external infrastructure system, it is extremely tempting to exercise confirmation bias by automatically associating this fourth occurrence of the problem with the previous cause.\n\nWhile intuition and quick reactions can seem like desirable traits in the middle of incident management, they have downsides. Intuition can be wrong and is often less supportable by obvious data. Thus, following intuition can lead an engineer to waste time pursuing a line of reasoning that is incorrect from the start. Quick reactions are deep-rooted in habit, and habitual responses are unconsidered, which means they can be disastrous. The ideal methodology in incident management strikes the perfect balance of taking steps at the desired pace when enough data is available to make a reasonable decision while simultaneously critically examining your assumptions.\n\nIt’s important that [on-call SREs](../../sre-book/accelerating-sre-on-call/) understand that they can rely on several resources that make the experience of being on-call less daunting than it may seem. The most important on-call resources are:\n\n- Clear escalation paths\n- Well-defined incident-management procedures\n- A blameless postmortem culture ( [[Loo10]](/sre-book/bibliography#Loo10) , [[All12]](/sre-book/bibliography#All12) )\n\nThe developer teams of SRE-supported systems usually participate in a 24/7 on-call rotation, and it is always possible to escalate to these partner teams when necessary. The appropriate escalation of outages is generally a principled way to react to serious outages with significant unknown dimensions.\n\nWhen one is handling incidents, if the issue is complex enough to involve multiple teams or if, after some investigation, it is not yet possible to estimate an upper bound for the incident’s time span, it can be useful to adopt a formal incident-management protocol. Google SRE uses the protocol described in [Managing Incidents](/sre-book/managing-incidents/), which offers an easy-to-follow and well-defined set of steps that aid an on-call engineer to rationally pursue a satisfactory incident resolution with all the required help. This protocol is internally supported by a web-based tool that automates most of the incident management actions, such as handing off roles and recording and communicating status updates. This tool allows incident managers to focus on dealing with the incident, rather than spending time and cognitive effort on mundane actions such as formatting emails or updating several communication channels at once.\n\nFinally, when an incident occurs, it’s important to evaluate what went wrong, recognize what went well, and take action to prevent the same errors from recurring in the future. SRE teams must write postmortems after significant incidents and detail a full timeline of the events that occurred. By focusing on events rather than the people, these postmortems provide significant value. Rather than placing blame on individuals, they derive value from the systematic analysis of production incidents. Mistakes happen, and software should make sure that we make as few mistakes as possible. Recognizing automation opportunities is one of the best ways to prevent human errors [[Loo10]](/sre-book/bibliography#Loo10).\n\n# Avoiding Inappropriate Operational Load\n\nAs mentioned in Balanced On-Call, SREs spend at most 50% of their time on operational work. What happens if operational activities exceed this limit?\n\n## Operational Overload\n\nThe SRE team and leadership are responsible for including concrete objectives in quarterly work planning in order to make sure that the workload returns to sustainable levels. Temporarily loaning an experienced SRE to an overloaded team, discussed in [Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload/), can provide enough breathing room so that the team can make headway in addressing issues.\n\nIdeally, symptoms of operational overload should be measurable, so that the goals can be quantified (e.g., number of daily tickets < 5, paging events per shift < 2).\n\nMisconfigured monitoring is a common cause of operational overload. Paging alerts should be aligned with the symptoms that threaten a service’s SLOs. All paging alerts should also be actionable. Low-priority alerts that bother the on-call engineer every hour (or more frequently) disrupt productivity, and the fatigue such alerts induce can also cause serious alerts to be treated with less attention than necessary. See [Dealing with Interrupts](/sre-book/dealing-with-interrupts/) for further discussion.\n\nIt is also important to control the number of alerts that the on-call engineers receive for a single incident. Sometimes a single abnormal condition can generate several alerts, so it’s important to regulate the alert fan-out by ensuring that related alerts are grouped together by the monitoring or alerting system. If, for any reason, duplicate or uninformative alerts are generated during an incident, silencing those alerts can provide the necessary quiet for the on-call engineer to focus on the incident itself. Noisy alerts that systematically generate more than one alert per incident should be tweaked to approach a 1:1 alert/incident ratio. Doing so allows the on-call engineer to focus on the incident instead of triaging duplicate alerts.\n\nSometimes the changes that cause operational overload are not under the control of the SRE teams. For example, the application developers might introduce changes that cause the system to be more noisy, less reliable, or both. In this case, it is appropriate to work together with the application developers to set common goals to improve the system.\n\nIn extreme cases, SRE teams may have the option to \"give back the pager\"—SRE can ask the developer team to be exclusively on-call for the system until it meets the standards of the SRE team in question. Giving back the pager doesn’t happen very frequently, because it’s almost always possible to work with the developer team to reduce the operational load and make a given system more reliable. In some cases, though, complex or architectural changes spanning multiple quarters might be required to make a system sustainable from an operational point of view. In such cases, the SRE team should not be subject to an excessive operational load. Instead, it is appropriate to negotiate the reorganization of on-call responsibilities with the development team, possibly routing some or all paging alerts to the developer on-call. Such a solution is typically a temporary measure, during which time the SRE and developer teams work together to get the service in shape to be on-boarded by the SRE team again.\n\nThe possibility of renegotiating on-call responsibilities between SRE and product development teams attests to the balance of powers between the teams.57 This working relationship also exemplifies how the healthy tension between these two teams and the values that they represent—reliability versus feature velocity—is typically resolved by greatly benefiting the service and, by extension, the company as a whole.\n\n## A Treacherous Enemy: Operational Underload\n\nBeing on-call for a quiet system is blissful, but what happens if the system is too quiet or when SREs are not on-call often enough? An operational underload is undesirable for an SRE team. Being out of touch with production for long periods of time can lead to confidence issues, both in terms of overconfidence and underconfidence, while knowledge gaps are discovered only when an incident occurs.\n\nTo counteract this eventuality, SRE teams should be sized to allow every engineer to be on-call at least once or twice a quarter, thus ensuring that each team member is sufficiently exposed to production. \"Wheel of Misfortune\" exercises (discussed in [Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/)) are also useful team activities that can help to hone and improve troubleshooting skills and knowledge of the service. Google also has a company-wide annual disaster recovery event called DiRT (Disaster Recovery Training) that combines theoretical and practical drills to perform multiday testing of infrastructure systems and individual services; see [[Kri12]](/sre-book/bibliography#Kri12).\n\n# Conclusions\n\nThe approach to on-call described in this chapter serves as a guideline for all SRE teams in Google and is key to fostering a sustainable and manageable work environment. Google’s approach to on-call has enabled us to use engineering work as the primary means to scale production responsibilities and maintain high reliability and availability despite the increasing complexity and number of systems and services for which SREs are responsible.\n\nWhile this approach might not be immediately applicable to all contexts in which engineers need to be on-call for IT services, we believe it represents a solid model that organizations can adopt in scaling to meet a growing volume of on-call work.\n\n56An earlier version of this chapter appeared as an article in *;login:* (October 2015, vol. 40, no. 5).\n\n57For more discussion on the natural tension between SRE and product development teams, see [Introduction](/sre-book/introduction/).", "znaku_textu": 20108, "slov": 3148, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:40", "sha256": "132ba1a007fae7988eab7ee2bd2684c7aaf16f55c0681f1f903a03130aa85b8f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/bibliography", "titulek": "Google SRE - SRE Book for Must Techniques & Practices", "h1": "Bibliography", "popis": "Explore reliable and scalable systems with ", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/bibliography/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/bibliography/"}, "headline": "Bibliography", "description": "[Ada15] Bram Adams, Stephany Bellomo, Christian Bird, Tamara Marshall-Keim, Foutse Khomh, and Kim Moir, 'The Practice and Future of Release Engineering: A Roundtable with Three Release Engineers', IEEE Software, vol. 32, no. 2 (March/April 2015), pp. 42–49.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Bibliography"}], "markdown": "# Bibliography\n\n- [Ada15] Bram Adams, Stephany Bellomo, Christian Bird, Tamara Marshall-Keim, Foutse Khomh, and Kim Moir, [\"The Practice and Future of Release Engineering: A Roundtable with Three Release Engineers\"](https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=434819) , *IEEE Software* , vol. 32, no. 2 (March/April 2015), pp. 42–49.\n- [Agu10] M. K. Aguilera, [\"Stumbling over Consensus Research: Misunderstandings and Issues\"](https://dl.acm.org/citation.cfm?id=2172342) , in *Replication* , Lecture Notes in Computer Science 5959, 2010.\n- [All10] J. Allspaw and J. Robbins, *Web Operations: Keeping the Data on Time* : O’Reilly, 2010.\n- [All12] J. Allspaw, [\"Blameless PostMortems and a Just Culture\"](https://codeascraft.com/2012/05/22/blameless-postmortems/) , blog post, 2012.\n- [All15] J. Allspaw, [\"Trade-Offs Under Pressure: Heuristics and Observations of Teams Resolving Internet Service Outages\"](https://lup.lub.lu.se/student-papers/record/8084520/file/8084521.pdf) , MSc thesis, Lund University, 2015.\n- [Ana07] S. Anantharaju, [\"Automating web application security testing\"](https://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html) , blog post, July 2007.\n- [Ana13] R. Ananatharayan et al., [\"Photon: Fault-tolerant and Scalable Joining of Continuous Data Streams\"](https://research.google.com/pubs/pub41318.html) , in *SIGMOD '13* , 2013.\n- [And05] A. Andrieux, K. Czajkowski, A. Dan, et al., [\"Web Services Agreement Specification (WS-Agreement)\"](https://www.ogf.org/documents/GFD.107.pdf) , September 2005.\n- [Bai13] P. Bailis and A. Ghodsi, [\"Eventual Consistency Today: Limitations, Extensions, and Beyond\"](https://dl.acm.org/citation.cfm?id=2462076) , in *ACM Queue* , vol. 11, no. 3, 2013.\n- [Bai83] L. Bainbridge, [\"Ironies of Automation\"](https://dx.doi.org/10.1016/0005-1098(83)90046-8) , in *Automatica* , vol. 19, no. 6, November 1983.\n- [Bak11] J. Baker et al., [\"Megastore: Providing Scalable, Highly Available Storage for Interactive Services\"](https://research.google.com/pubs/pub36971.html) , in *Proceedings of the Conference on Innovative Data System Research* , 2011.\n- [Bar11] L. A. Barroso, [\"Warehouse-Scale Computing: Entering the Teenage Decade\"](https://dl.acm.org/citation.cfm?id=2019527) , talk at 38th Annual Symposium on Computer Architecture, video available online, 2011.\n- [Bar13] L. A. Barroso, J. Clidaras, and U. Hölzle, [*The Datacenter as a Computer: An Introduction to the Design of Warehouse-Scale Machines, Second Edition*](https://research.google.com/pubs/pub41606.html) , Morgan & Claypool, 2013.\n- [Ben12] C. Bennett and A. Tseitlin, [\"Chaos Monkey Released Into The Wild\"](https://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html) , blog post, July 2012.\n- [Bla14] M. Bland, [\"Goto Fail, Heartbleed, and Unit Testing Culture\"](https://martinfowler.com/articles/testing-culture.html) , blog post, June 2014.\n- [Boc15] L. Bock, [*Work Rules!*](https://www.workrules.net) , Twelve Books, 2015.\n- [Bol11] W. J. Bolosky, D. Bradshaw, R. B. Haagens, N. P. Kusters, and P. Li, [\"Paxos Replicated State Machines as the Basis of a High-Performance Data Store\"](https://www.usenix.org/legacy/event/nsdi11/tech/full_papers/Bolosky.pdf) , in *Proc. NSDI 2011* , 2011.\n- [Boy13] P. G. Boysen, [\"Just Culture: A Foundation for Balanced Accountability and Patient Safety\"](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3776518/) , in *The Ochsner Journal* , Fall 2013.\n- [Bra15] VM Brasseur, [\"Failure: Why it happens & How to benefit from it\"](https://youtu.be/DLn4fZsZsKM?t=29m05s) , YAPC 2015.\n- [Bre01] E. Brewer, [\"Lessons From Giant-Scale Services\"](https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=939450) , in *IEEE Internet Computing* , vol. 5, no. 4, July / August 2001.\n- [Bre12] E. Brewer, [\"CAP Twelve Years Later: How the \"Rules\" Have Changed\"](https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6133253) , in *Computer* , vol. 45, no. 2, February 2012.\n- [Bro15] M. Brooker, [\"Exponential Backoff and Jitter\"](https://www.awsarchitectureblog.com/2015/03/backoff.html) , on *AWS Architecture Blog* , March 2015.\n- [Bro95] F. P. Brooks Jr., \"No Silver Bullet—Essence and Accidents of Software Engineering\", in *The Mythical Man-Month* , Boston: Addison-Wesley, 1995, pp. 180–186.\n- [Bru09] J. Brutlag, [\"Speed Matters\"](https://googleresearch.blogspot.com/2009/06/speed-matters.html) , on *Google Research Blog* , June 2009.\n- [Bul80] G. M. Bull, *The Dartmouth Time-sharing System* : Ellis Horwood, 1980.\n- [Bur99] M. Burgess, *Principles of Network and System Administration* : Wiley, 1999.\n- [Bur06] M. Burrows, [\"The Chubby Lock Service for Loosely-Coupled Distributed Systems\"](https://research.google.com/archive/chubby.html) , in *OSDI '06: Seventh Symposium on Operating System Design and Implementation* , November 2006.\n- [Bur16] B. Burns, B. Grant, D. Oppenheimer, E. Brewer, and J. Wilkes, [\"Borg, Omega, and Kubernetes\"](https://dl.acm.org/citation.cfm?id=2898444) in *ACM Queue* , vol. 14, no. 1, 2016.\n- [Cas99] M. Castro and B. Liskov, [\"Practical Byzantine Fault Tolerance\"](https://www.pmg.lcs.mit.edu/papers/osdi99.pdf) , in *Proc. OSDI 1999* , 1999.\n- [Cha10] C. Chambers, A. Raniwala, F. Perry, S. Adams, R. Henry, R. Bradshaw, and N. Weizenbaum, [\"FlumeJava: Easy, Efficient Data-Parallel Pipelines\"](https://research.google.com/pubs/pub35650.html) , in *ACM SIGPLAN Conference on Programming Language Design and Implementation* , 2010.\n- [Cha96] T. D. Chandra and S. Toueg, [\"Unreliable Failure Detectors for Reliable Distributed Systems\"](https://dl.acm.org/citation.cfm?id=226647) , in *J. ACM* , 1996.\n- [Cha07] T. Chandra, R. Griesemer, and J. Redstone, [\"Paxos Made Live—An Engineering Perspective\"](https://research.google.com/archive/paxos_made_live.html) , in *PODC '07: 26th ACM Symposium on Principles of Distributed Computing* , 2007.\n- [Cha06] F. Chang et al., [\"Bigtable: A Distributed Storage System for Structured Data\"](https://research.google.com/archive/bigtable.html) , in *OSDI '06: Seventh Symposium on Operating System Design and Implementation* , November 2006.\n- [Chr09] G. P. Chrousous, [\"Stress and Disorders of the Stress System\"](https://www.ncbi.nlm.nih.gov/pubmed/19488073) , in *Nature Reviews Endocrinology* , vol 5., no. 7, 2009.\n- [Clos53] C. Clos, [\"A Study of Non-Blocking Switching Networks\"](https://dx.doi.org/10.1002/j.1538-7305.1953.tb01433.x) , in *Bell System Technical Journal* , vol. 32, no. 2, 1953.\n- [Con15] C. Contavalli, W. van der Gaast, D. Lawrence, and W. Kumari, [\"Client Subnet in DNS Queries\"](https://tools.ietf.org/html/draft-vandergaast-edns-client-subnet) , *IETF Internet-Draft* , 2015.\n- [Con63] M. E. Conway, [\"Design of a Separable Transition-Diagram Compiler\"](https://dl.acm.org/citation.cfm?id=366704) , in *Commun. ACM* 6, 7 (July 1963), 396–408.\n- [Con96] P. Conway, [\"Preservation in the Digital World\"](https://www.clir.org/pubs/reports/conway2/index.html) , report published by the Council on Library and Information Resources, 1996.\n- [Coo00] R. I. Cook, [\"How Complex Systems Fail\"](https://web.mit.edu/2.75/resources/random/How%20Complex%20Systems%20Fail.pdf) , in *Web Operations* : O’Reilly, 2010.\n- [Cor12] J. C. Corbett et al., [\"Spanner: Google’s Globally-Distributed Database\"](https://research.google.com/archive/spanner.html) , in *OSDI '12: Tenth Symposium on Operating System Design and Implementation* , October 2012.\n- [Cra10] J. Cranmer, [\"Visualizing code coverage\"](https://quetzalcoatal.blogspot.com/2010/03/visualizing-code-coverage.html) , blog post, March 2010.\n- [Dea13] J. Dean and L. A. Barroso, [\"The Tail at Scale\"](https://research.google.com/pubs/pub40801.html) , in *Communications of the ACM* , vol. 56, 2013.\n- [Dea04] J. Dean and S. Ghemawat, [\"MapReduce: Simplified Data Processing on Large Clusters\"](https://research.google.com/archive/mapreduce.html) , in *OSDI’04: Sixth Symposium on Operating System Design and Implementation* , December 2004.\n- [Dea07] J. Dean, [\"Software Engineering Advice from Building Large-Scale Distributed Systems\"](https://static.googleusercontent.com/media/research.google.com/en//people/jeff/stanford-295-talk.pdf) , Stanford CS297 class lecture, Spring 2007.\n- [Dek02] S. Dekker, [\"Reconstructing human contributions to accidents: the new view on error and performance\"](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.411.4985&rep=rep1&type=pdf) , in *Journal of Safety Research* , vol. 33, no. 3, 2002.\n- [Dek14] S. Dekker, *The Field Guide to Understanding \"Human Error\"* , 3rd edition: Ashgate, 2014.\n- [Dic14] C. Dickson, [\"How Embracing Continuous Release Reduced Change Complexity\"](https://usenix.org/conference/ures14west/summit-program/presentation/dickson) , presentation at USENIX Release Engineering Summit West 2014, video available online.\n- [Dur05] J. Durmer and D. Dinges, [\"Neurocognitive Consequences of Sleep Deprivation\"](https://www.ncbi.nlm.nih.gov/pubmed/15798944) , in *Seminars in Neurology* , vol. 25, no. 1, 2005.\n- [Eis16] D. E. Eisenbud et al., [\"Maglev: A Fast and Reliable Software Network Load Balancer\"](https://research.google.com/pubs/pub44824.html) , in NSDI '16: 13th USENIX Symposium on Networked Systems Design and Implementation, March 2016.\n- [Ere03] J. R. Erenkrantz, [\"Release Management Within Open Source Projects\"](https://www.erenkrantz.com/Geeks/Research/Publications/ReleaseManagement.pdf) , in *Proceedings of the 3rd Workshop on Open Source Software Engineering* , Portland, Oregon, May 2003.\n- [Fis85] M. J. Fischer, N. A. Lynch, and M. S. Paterson, [\"Impossibility of Distributed Consensus with One Faulty Process\"](https://dl.acm.org/citation.cfm?id=214121) , *J. ACM* , 1985.\n- [Fit12] B. W. Fitzpatrick and B. Collins-Sussman, *Team Geek: A Software Developer’s Guide to Working Well with Others* : O’Reilly, 2012.\n- [Flo94] S. Floyd and V. Jacobson, [\"The Synchronization of Periodic Routing Messages\"](https://dl.acm.org/citation.cfm?id=187045) , in IEEE/ACM Transactions on Networking, vol. 2, issue 2, April 1994, pp. 122–136.\n- [For10] D. Ford et al, [\"Availability in Globally Distributed Storage Systems\"](https://research.google.com/pubs/pub36737.html) , in *Proceedings of the 9th USENIX Symposium on Operating Systems Design and Implementation* , 2010.\n- [Fox99] A. Fox and E. A. Brewer, [\"Harvest, Yield, and Scalable Tolerant Systems\"](https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=798396) , in *Proceedings of the 7th Workshop on Hot Topics in Operating Systems* , Rio Rico, Arizona, March 1999.\n- [Fow08] M. Fowler, [\"GUI Architectures\"](https://martinfowler.com/eaaDev/uiArchs.html) , blog post, 2006.\n- [Gal78] J. Gall, *SYSTEMANTICS: How Systems Really Work and How They Fail* , 1st ed., Pocket, 1977.\n- [Gal03] J. Gall, *The Systems Bible: The Beginner’s Guide to Systems Large and Small* , 3rd ed., General Systemantics Press/Liberty, 2003.\n- [Gaw09] A. Gawande, *The Checklist Manifesto: How to Get Things Right* : Henry Holt and Company, 2009.\n- [Ghe03] S. Ghemawat, H. Gobioff, and S-T. Leung, [\"The Google File System\"](https://research.google.com/archive/gfs.html) , in *19th ACM Symposium on Operating Systems Principles* , October 2003.\n- [Gil02] S. Gilbert and N. Lynch, [\"Brewer’s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services\"](https://dl.acm.org/citation.cfm?id=564601) , in *ACM SIGACT News* , vol. 33, no. 2, 2002.\n- [Gla02] R. Glass, *Facts and Fallacies of Software Engineering* , Addison-Wesley Professional, 2002.\n- [Gol14] W. Golab et al., [\"Eventually Consistent: Not What You Were Expecting?\"](https://dl.acm.org/citation.cfm?id=2582994) , in *ACM Queue* , vol. 12, no. 1, 2014.\n- [Gra09] P. Graham, [\"Maker’s Schedule, Manager’s Schedule\"](https://paulgraham.com/makersschedule.html) , blog post, July 2009.\n- [Gup15] A. Gupta and J. Shute, [\"High-Availability at Massive Scale: Building Google’s Data Infrastructure for Ads\"](https://research.google.com/pubs/pub44686.html) , in *Workshop on Business Intelligence for the Real Time Enterprise* , 2015.\n- [Ham07] J. Hamilton, [\"On Designing and Deploying Internet-Scale Services\"](https://www.usenix.org/legacy/event/lisa07/tech/hamilton.html) , in *Proceedings of the 21st Large Installation System Administration Conference* , November 2007.\n- [Han94] S. Hanks, T. Li, D. Farinacci, and P. Traina, [\"Generic Routing Encapsulation over IPv4 networks\"](https://tools.ietf.org/html/rfc1702) , *IETF Informational RFC* , 1994.\n- [Hic11] M. Hickins, [\"Tape Rescues Google in Lost Email Scare\"](https://blogs.wsj.com/digits/2011/03/01/tape-rescues-google-in-lost-email-scare/) , in *Digits* , *Wall Street Journal* , 1 March 2011.\n- [Hix15a] D. Hixson, [\"Capacity Planning\"](https://www.usenix.org/publications/login/feb15/capacity-planning) , in *;login:* , vol. 40, no. 1, February 2015.\n- [Hix15b] D. Hixson, [\"The Systems Engineering Side of Site Reliability Engineering\"](https://www.usenix.org/publications/login/june15/hixson) , in *;login:* vol. 40, no. 3, June 2015.\n- [Hod13] J. Hodges, [\"Notes on Distributed Systems for Young Bloods\"](https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/) , blog post, 14 January 2013.\n- [Hol14] L. Holmwood, [\"Applying Cardiac Alarm Management Techniques to Your On-Call\"](https://fractio.nl/2014/08/26/cardiac-alarms-and-ops/) , blog post, 26 August 2014.\n- [Hum06] J. Humble, C. Read, D. North, \"The Deployment Production Line\", in *Proceedings of the IEEE Agile Conference* , July 2006.\n- [Hum10] J. Humble and D. Farley, *Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation* : Addison-Wesley, 2010.\n- [Hun10] P. Hunt, M. Konar, F. P. Junqueira, and B. Reed, [\"ZooKeeper: Wait-free coordination for Internet-scale systems\"](https://www.usenix.org/legacy/events/atc10/tech/full_papers/Hunt.pdf) , in *USENIX ATC* , 2010.\n- [IAEA12] International Atomic Energy Agency, [\"Safety of Nuclear Power Plants: Design, SSR-2/1\"](https://www-pub.iaea.org/MTCD/publications/PDF/Pub1534_web.pdf) , 2012.\n- [Jai13] S. Jain et al., [\"B4: Experience with a Globally-Deployed Software Defined WAN\"](https://doi.org/10.1145/2486001.2486019) , in *SIGCOMM '13* .\n- [Jon15] C. Jones, T. Underwood, and S. Nukala, [\"Hiring Site Reliability Engineers\"](https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers) , in *;login:* , vol. 40, no. 3, June 2015.\n- [Jun07] F. Junqueira, Y. Mao, and K. Marzullo, [\"Classic Paxos vs. Fast Paxos: Caveat Emptor\"](https://dl.acm.org/citation.cfm?id=1323158) , in *Proc. HotDep '07* , 2007.\n- [Jun11] F. P. Junqueira, B. C. Reid, and M. Serafini, [\"Zab: High-performance broadcast for primary-backup systems.\"](https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5958223&tag=1) , in *Dependable Systems & Networks (DSN), 2011 IEEE/IFIP 41st International Conference* on 27 Jun 2011: 245–256.\n- [Kah11] D. Kahneman, *Thinking, Fast and Slow* : Farrar, Straus and Giroux, 2011.\n- [Kar97] D. Karger et al., [\"Consistent hashing and random trees: distributed caching protocols for relieving hot spots on the World Wide Web\"](https://dl.acm.org/citation.cfm?id=258660) , in *Proc. STOC '97* , 29th annual ACM symposium on theory of computing, 1997.\n- [Kem11] C. Kemper, [\"Build in the Cloud: How the Build System Works\"](https://google-engtools.blogspot.com/2011/08/build-in-cloud-how-build-system-works.html) , *Google Engineering Tools* blog post, August 2011.\n- [Ken12] S. Kendrick, [\"What Takes Us Down?\"](https://usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down) , in *;login:* , vol. 37, no. 5, October 2012\n- [Kinc09] Kincaid, Jason. \"T-Mobile Sidekick Disaster: Danger’s Servers Crashed, And They Don’t Have A Backup.\" *Techcrunch* . n.p., 10 Oct. 2009. Web. 20 Jan. 2015, [*https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup*](https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup)\n- [Kin15] K. Kingsbury, [\"The trouble with timestamps\"](https://www.aphyr.com/posts/299-the-trouble-with-timestamps) , blog post, 2013.\n- [Kir08] J. Kirsch and Y. Amir, [\"Paxos for System Builders: An Overview\"](https://dl.acm.org/citation.cfm?id=1529979) , in *Proc. LADIS '08* , 2008.\n- [Kla12] R. Klau, [\"How Google Sets Goals: OKRs\"](https://library.gv.com/how-google-sets-goals-okrs-a1f69b0b72c7) , blog post, October 2012.\n- [Kle06] D. V. Klein, [\"A Forensic Analysis of a Distributed Two-Stage Web-Based Spam Attack\"](https://www.usenix.org/legacy/event/lisa06/tech/klein/klein_html/index.html) , in *Proceedings of the 20th Large Installation System Administration Conference* , December 2006.\n- [Kle14] D. V. Klein, D. M. Betser, and M. G. Monroe, [\"Making *Push On Green* a Reality\"](https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality) , in *;login:* , vol. 39, no. 5, October 2014.\n- [Kra08] T. Krattenmaker, [\"Make Every Meeting Matter\"](https://hbr.org/2008/02/make-every-meeting-matter) , in *Harvard Business Review* , February 27, 2008.\n- [Kre12] J. Kreps, [\"Getting Real About Distributed System Reliability\"](https://blog.empathybox.com/post/19574936361/getting-real-about-distributed-system-reliability) , blog post, 19 March 2012.\n- [Kri12] K. Krishan, [\"Weathering The Unexpected\"](https://dl.acm.org/citation.cfm?id=2366332) , in *Communications of the ACM* , vol. 55, no. 11, November 2012\n- [Kum15] A. Kumar et al., [\"BwE: Flexible, Hierarchical Bandwidth Allocation for WAN Distributed Computing\"](https://research.google.com/pubs/pub43838.html) , in *SIGCOMM '15* .\n- [Lam98] L. Lamport, [\"The Part-Time Parliament\"](https://research.microsoft.com/en-us/um/people/lamport/pubs/lamport-paxos.pdf) , in *ACM Transactions on Computer Systems 16, 2* , May 1998.\n- [Lam01] L. Lamport, [\"Paxos Made Simple\"](https://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf) , in *ACM SIGACT News* 121, December 2001.\n- [Lam06] L. Lamport, [\"Fast Paxos\"](https://research.microsoft.com/pubs/64624/tr-2005-112.pdf) , in *Distributed Computing* 19.2, October 2006.\n- [Lim14] T. A. Limoncelli, S. R. Chalup, and C. J. Hogan, *The Practice of Cloud System Administration: Designing and Operating Large Distributed Systems, Volume 2* : Addison-Wesley, 2014.\n- [Loo10] J. Loomis, \"How to Make Failure Beautiful: The Art and Science of Postmortems\", in *Web Operations* : O’Reilly, 2010.\n- [Lu15] H. Lu et al, [\"Existential Consistency: Measuring and Understanding Consistency at Facebook\"](https://sigops.org/sosp/sosp15/current/2015-Monterey/printable/240-lu.pdf) , in *SOSP* '15, 2015.\n- [Mao08] Y. Mao, F. P. Junqueira, and K. Marzullo, [\"Mencius: Building Efficient Replicated State Machines for WANs\"](https://www.usenix.org/legacy/events/osdi08/tech/full_papers/mao/mao.pdf) , in *OSDI '08* , 2008.\n- [Mas43] A. H. Maslow, \"A Theory of Human Motivation\", in *Psychological Review* 50(4), 1943.\n- [Mau15] B. Maurer, [\"Fail at Scale\"](https://dl.acm.org/citation.cfm?id=2839461) , in *ACM Queue* , vol. 13, no. 12, 2015.\n- [May09] M. Mayer, [\"*This site may harm your computer* on every search result?!?!\"](https://googleblog.blogspot.com/2009/01/this-site-may-harm-your-computer-on.html) , blog post, January 2009.\n- [McI86] M. D. McIlroy, [\"A Research Unix Reader: Annotated Excerpts from the Programmer’s Manual, 1971–1986\"](https://www.cs.dartmouth.edu/~doug/reader.pdf) .\n- [McN13] D. McNutt, [\"Maintaining Consistency in a Massively Parallel Environment\"](https://www.usenix.org/conference/ucms13/summit-program/presentation/mcnutt) , presentation at USENIX Configuration Management Summit 2013, video available online.\n- [McN14a] D. McNutt, [\"Accelerating the Path from Dev to DevOps\"](https://www.usenix.org/system/files/login/articles/05_mcnutt.pdf) , in *;login:* , vol. 39, no. 2, April 2014.\n- [McN14b] D. McNutt, [\"The 10 Commandments of Release Engineering\"](https://www.youtube.com/watch?v=RNMjYV_UsQ8) , presentation at 2nd International Workshop on Release Engineering 2014, April 2014.\n- [McN14c] D. McNutt, [\"Distributing Software in a Massively Parallel Environment\"](https://www.usenix.org/conference/lisa14/conference-program/presentation/mcnutt) , presentation at USENIX LISA 2014, video available online.\n- [Mic03] Microsoft TechNet, \"What is SNMP?\", last modified March 28, 2003, [*https://technet.microsoft.com/en-us/library/cc776379%28v=ws.10%29.aspx*](https://technet.microsoft.com/en-us/library/cc776379%28v=ws.10%29.aspx) .\n- [Mea08] D. Meadows, *Thinking in Systems* : Chelsea Green, 2008.\n- [Men07] P. Menage, [\"Adding Generic Process Containers to the Linux Kernel\"](https://www.kernel.org/doc/ols/2007/ols2007v2-pages-45-58.pdf) , in *Proc. of Ottawa Linux Symposium* , 2007.\n- [Mer11] N. Merchant, [\"Culture Trumps Strategy, Every Time\"](https://hbr.org/2011/03/culture-trumps-strategy-every) , in *Harvard Business Review* , March 22, 2011.\n- [Moc87] P. Mockapetris, [\"Domain Names - Implementation and Specification\"](https://tools.ietf.org/html/rfc1035) , *IETF Internet Standard* , 1987.\n- [Mol86] C. Moler, \"Matrix Computation on Distributed Memory Multiprocessors\", in *Hypercube Multiprocessors 1986* , 1987.\n- [Mor12a] I. Moraru, D. G. Andersen, and M. Kaminsky, [\"Egalitarian Paxos\"](https://www.pdl.cmu.edu/PDL-FTP/associated/CMU-PDL-12-108.pdf) , *Carnegie Mellon University Parallel Data Lab Technical Report CMU-PDL-12-108* , 2012.\n- [Mor14] I. Moraru, D. G. Andersen, and M. Kaminsky, [\"Paxos Quorum Leases: Fast Reads Without Sacrificing Writes\"](https://dl.acm.org/citation.cfm?id=2671001) , in *Proc. SOCC '14* , 2014.\n- [Mor12b] J. D. Morgenthaler, M. Gridnev, R. Sauciuc, and S. Bhansali, [\"Searching for Build Debt: Experiences Managing Technical Debt at Google\"](https://research.google.com/pubs/pub37755.html) , in *Proceedings of the 3rd Int’l Workshop on Managing Technical Debt* , 2012.\n- [Nar12] C. Narla and D. Salas, [\"Hermetic Servers\"](https://googletesting.blogspot.com/2012/10/hermetic-servers.html) , blog post, 2012.\n- [Nel14] B. Nelson, [\"The Data on Diversity\"](https://dl.acm.org/citation.cfm?id=2684442.2597886) , in *Communications of the ACM* , vol. 57, 2014.\n- [Nic12] K. Nichols and V. Jacobson, [\"Controlling Queue Delay\"](https://dl.acm.org/citation.cfm?id=2209336) , in *ACM Queue* , vol. 10, no. 5, 2012.\n- [Oco12] P. O’Connor and A. Kleyner, *Practical Reliability Engineering* , 5th edition: Wiley, 2012.\n- [Ohn88] T. Ohno, *Toyota Production System: Beyond Large-Scale Production* : Productivity Press, 1988.\n- [Ong14] D. Ongaro and J. Ousterhout, [\"In Search of an Understandable Consensus Algorithm (Extended Version)\"](https://ramcloud.stanford.edu/raft.pdf) .\n- [Pen10] D. Peng and F. Dabek, [\"Large-scale Incremental Processing Using Distributed Transactions and Notifications\"](https://research.google.com/pubs/pub36726.html) , in *Proc. of the 9th USENIX Symposium on Operating System Design and Implementation* , November 2010.\n- [Per99] C. Perrow, *Normal Accidents: Living with High-Risk Technologies* , Princeton University Press, 1999.\n- [Per07] A. R. Perry, [\"Engineering Reliability into Web Sites: Google SRE\"](https://research.google.com/pubs/pub32583.html) , in *Proc. of LinuxWorld 2007* , 2007.\n- [Pik05] R. Pike, S. Dorward, R. Griesemer, S. Quinlan, [\"Interpreting the Data: Parallel Analysis with Sawzall\"](https://research.google.com/archive/sawzall.html) , in *Scientific Programming Journal* vol. 13, no. 4, 2005.\n- [Pot16] R. Potvin and J. Levenberg, [\"The Motivation for a Monolithic Codebase: Why Google stores billions of lines of code in a single repository\"](https://dl.acm.org/citation.cfm?id=2963119.2854146) , in *Communications of the ACM* , vol. 59, no. 7, 2016. Video available on [YouTube](https://www.youtube.com/watch?v=W71BTkUbdqE) .\n- [Roo04] J. J. Rooney and L. N. Vanden Heuvel, [\"Root Cause Analysis for Beginners\"](https://asq.org/quality-progress/2004/07/quality-tools/root-cause-analysis-for-beginners.html) , in *Quality Progress* , July 2004.\n- [Sai39] A. de Saint Exupéry, *Terre des Hommes* (Paris: Le Livre de Poche, 1939, in translation by Lewis Galantière as *Wind, Sand and Stars* .\n- [Sam14] R. R. Sambasivan, R. Fonseca, I. Shafer, and G. R. Ganger, [\"So, You Want To Trace Your Distributed System? Key Design Insights from Years of Practical Experience\"](https://pdl.cmu.edu/PDL-FTP/SelfStar/CMU-PDL-14-102_abs.shtml) , Carnegie Mellon University Parallel Data Lab Technical Report CMU-PDL-14-102, 2014.\n- [San11] N. Santos and A. Schiper, [\"Tuning Paxos for High-Throughput with Batching and Pipelining\"](https://rd.springer.com/chapter/10.1007%2F978-3-642-25959-3_11) , in *13th Int’l Conf. on Distributed Computing and Networking* , 2012.\n- [Sar97] N. B. Sarter, D. D. Woods, and C. E. Billings, \"Automation Surprises\", in *Handbook of Human Factors & Ergonomics* , 2nd edition, G. Salvendy (ed.), Wiley, 1997.\n- [Sch14] E. Schmidt, J. Rosenberg, and A. Eagle, [*How Google Works*](https://www.howgoogleworks.net) : Grand Central Publishing, 2014.\n- [Sch15] B. Schwartz, [\"The Factors That Impact Availability, Visualized\"](https://www.vividcortex.com/blog/the-factors-that-impact-availability-visualized) , blog post, 21 December 2015.\n- [Sch90] F. B. Schneider, [\"Implementing Fault-Tolerant Services Using the State Machine Approach: A Tutorial\"](https://dl.acm.org/citation.cfm?id=98167) , in *ACM Computing Surveys* , vol. 22, no. 4, 1990.\n- [Sec13] Securities and Exchange Commission, [\"Order In the Matter of Knight Capital Americas LLC\"](https://www.sec.gov/litigation/admin/2013/34-70694.pdf) , file 3-15570, 2013.\n- [Sha00] G. Shao, F. Berman, and R. Wolski, [\"Master/Slave Computing on the Grid\"](https://www.cs.ucsb.edu/~rich/publications/shao-hcw.pdf) , in *Heterogeneous Computing Workshop* , 2000.\n- [Shu13] J. Shute et al., [\"F1: A Distributed SQL Database That Scales\"](https://research.google.com/pubs/pub41344.html) , in *Proc. VLDB 2013* , 2013.\n- [Sig10] B. H. Sigelman et al., [\"Dapper, a Large-Scale Distributed Systems Tracing Infrastructure\"](https://research.google.com/pubs/pub36356.html) , Google Technical Report, 2010.\n- [Sin15] A. Singh et al., [\"Jupiter Rising: A Decade of Clos Topologies and Centralized Control in Google’s Datacenter Network\"](https://research.google.com/pubs/pub43837.html) , in *SIGCOMM '15* .\n- [Skel13] M. Skelton, [\"Operability can Improve if Developers Write a Draft Run Book\"](https://blog.softwareoperability.com/2013/10/16/operability-can-improve-if-developers-write-a-draft-run-book/) , blog post, 16 October 2013.\n- [Slo11] B. Treynor Sloss, [\"Gmail back soon for everyone\"](https://gmailblog.blogspot.com/2011/02/gmail-back-soon-for-everyone.html) , blog post, 28 February 2011.\n- [Tat99] S. Tatham, [\"How to Report Bugs Effectively\"](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html) , 1999.\n- [Ver15] A. Verma, L. Pedrosa, M. R. Korupolu, D. Oppenheimer, E. Tune, and J. Wilkes, [\"Large-scale cluster management at Google with Borg\"](https://research.google.com/pubs/pub43438.html) , in *Proceedings of the European Conference on Computer Systems* , 2015.\n- [Wal89] D. R. Wallace and R. U. Fujii, [\"Software Verification and Validation: An Overview\"](https://www-usr.inf.ufsm.br/~ceretta/papers/fujii89_software_vv.pdf) , *IEEE Software* , vol. 6, no. 3 (May 1989), pp. 10, 17.\n- [War14] R. Ward and B. Beyer, [\"BeyondCorp: A New Approach to Enterprise Security\"](https://www.usenix.org/publications/login/dec14/ward) , in *;login:* , vol. 39, no. 6, December 2014.\n- [Whi12] J. A. Whittaker, J. Arbon, and J. Carollo, *How Google Tests Software* : Addison-Wesley, 2012.\n- [Woo96] A. Wood, [\"Predicting Software Reliability\"](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=544240) , in *Computer* , vol. 29, no. 11, 1996.\n- [Wri12a] H. K. Wright, [\"Release Engineering Processes, Their Faults and Failures\"](https://www.hyrumwright.org/papers/dissertation.pdf) , (section 7.2.2.2) PhD Thesis, University of Texas at Austin, 2012.\n- [Wri12b] H. K. Wright and D. E. Perry, [\"Release Engineering Practices and Pitfalls\"](https://www.hyrumwright.org/papers/icse2012.pdf) , in *Proceedings of the 34th International Conference on Software Engineering (ICSE '12)* . (IEEE, 2012), pp. 1281–1284.\n- [Wri13] H. K. Wright, D. Jasper, M. Klimek, C. Carruth, Z. Wan, [\"Large-Scale Automated Refactoring Using ClangMR\"](https://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/41342.pdf) , in *Proceedings of the 29th International Conference on Software Maintenance (ICSM '13)* , (IEEE, 2013), pp. 548–551.\n- [Yor11] N. York, [\"Build in the Cloud: Accessing Source Code\"](https://google-engtools.blogspot.com/2011/06/build-in-cloud-accessing-source-code.html) , *Google Engineering Tools* blog post, June 2011.\n- [Zoo14] ZooKeeper Project (Apache Foundation), [\"ZooKeeper Recipes and Solutions\"](https://zookeeper.apache.org/doc/current/recipes.html) , in ZooKeeper 3.4 documentation, 2014.", "znaku_textu": 28736, "slov": 3448, "odkazu": 183, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:57", "sha256": "63c1d2e2429423d2fdaeca817da5fc2befec7916ebf2248b4e494c721097179a", "hloubka": 1, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=434819", "https://dl.acm.org/citation.cfm?id=2172342", "https://codeascraft.com/2012/05/22/blameless-postmortems/", "https://lup.lub.lu.se/student-papers/record/8084520/file/8084521.pdf", "https://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html", "https://research.google.com/pubs/pub41318.html", "https://www.ogf.org/documents/GFD.107.pdf", "https://dl.acm.org/citation.cfm?id=2462076", "https://dx.doi.org/10.1016/0005-1098(83)90046-8", "https://research.google.com/pubs/pub36971.html", "https://dl.acm.org/citation.cfm?id=2019527", "https://research.google.com/pubs/pub41606.html", "https://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html", "https://martinfowler.com/articles/testing-culture.html", "https://www.workrules.net/", "https://www.usenix.org/legacy/event/nsdi11/tech/full_papers/Bolosky.pdf", "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3776518/", "https://youtu.be/DLn4fZsZsKM?t=29m05s", "https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=939450", "https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6133253", "https://www.awsarchitectureblog.com/2015/03/backoff.html", "https://googleresearch.blogspot.com/2009/06/speed-matters.html", "https://research.google.com/archive/chubby.html", "https://dl.acm.org/citation.cfm?id=2898444", "https://www.pmg.lcs.mit.edu/papers/osdi99.pdf", "https://research.google.com/pubs/pub35650.html", "https://dl.acm.org/citation.cfm?id=226647", "https://research.google.com/archive/paxos_made_live.html", "https://research.google.com/archive/bigtable.html", "https://www.ncbi.nlm.nih.gov/pubmed/19488073", "https://dx.doi.org/10.1002/j.1538-7305.1953.tb01433.x", "https://tools.ietf.org/html/draft-vandergaast-edns-client-subnet", "https://dl.acm.org/citation.cfm?id=366704", "https://www.clir.org/pubs/reports/conway2/index.html", "https://web.mit.edu/2.75/resources/random/How%20Complex%20Systems%20Fail.pdf", "https://research.google.com/archive/spanner.html", "https://quetzalcoatal.blogspot.com/2010/03/visualizing-code-coverage.html", "https://research.google.com/pubs/pub40801.html", "https://research.google.com/archive/mapreduce.html", "https://static.googleusercontent.com/media/research.google.com/en//people/jeff/stanford-295-talk.pdf", "https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.411.4985&rep=rep1&type=pdf", "https://usenix.org/conference/ures14west/summit-program/presentation/dickson", "https://www.ncbi.nlm.nih.gov/pubmed/15798944", "https://research.google.com/pubs/pub44824.html", "https://www.erenkrantz.com/Geeks/Research/Publications/ReleaseManagement.pdf", "https://dl.acm.org/citation.cfm?id=214121", "https://dl.acm.org/citation.cfm?id=187045", "https://research.google.com/pubs/pub36737.html", "https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=798396", "https://martinfowler.com/eaaDev/uiArchs.html", "https://research.google.com/archive/gfs.html", "https://dl.acm.org/citation.cfm?id=564601", "https://dl.acm.org/citation.cfm?id=2582994", "https://paulgraham.com/makersschedule.html", "https://research.google.com/pubs/pub44686.html", "https://www.usenix.org/legacy/event/lisa07/tech/hamilton.html", "https://tools.ietf.org/html/rfc1702", "https://blogs.wsj.com/digits/2011/03/01/tape-rescues-google-in-lost-email-scare/", "https://www.usenix.org/publications/login/feb15/capacity-planning", "https://www.usenix.org/publications/login/june15/hixson", "https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/", "https://fractio.nl/2014/08/26/cardiac-alarms-and-ops/", "https://www.usenix.org/legacy/events/atc10/tech/full_papers/Hunt.pdf", "https://www-pub.iaea.org/MTCD/publications/PDF/Pub1534_web.pdf", "https://doi.org/10.1145/2486001.2486019", "https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers", "https://dl.acm.org/citation.cfm?id=1323158", "https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5958223&tag=1", "https://dl.acm.org/citation.cfm?id=258660", "https://google-engtools.blogspot.com/2011/08/build-in-cloud-how-build-system-works.html", "https://usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down", "https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup", "https://www.aphyr.com/posts/299-the-trouble-with-timestamps", "https://dl.acm.org/citation.cfm?id=1529979", "https://library.gv.com/how-google-sets-goals-okrs-a1f69b0b72c7", "https://www.usenix.org/legacy/event/lisa06/tech/klein/klein_html/index.html", "https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality", "https://hbr.org/2008/02/make-every-meeting-matter", "https://blog.empathybox.com/post/19574936361/getting-real-about-distributed-system-reliability", "https://dl.acm.org/citation.cfm?id=2366332", "https://research.google.com/pubs/pub43838.html", "https://research.microsoft.com/en-us/um/people/lamport/pubs/lamport-paxos.pdf", "https://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf", "https://research.microsoft.com/pubs/64624/tr-2005-112.pdf", "https://sigops.org/sosp/sosp15/current/2015-Monterey/printable/240-lu.pdf", "https://www.usenix.org/legacy/events/osdi08/tech/full_papers/mao/mao.pdf", "https://dl.acm.org/citation.cfm?id=2839461", "https://googleblog.blogspot.com/2009/01/this-site-may-harm-your-computer-on.html", "https://www.cs.dartmouth.edu/~doug/reader.pdf", "https://www.usenix.org/conference/ucms13/summit-program/presentation/mcnutt", "https://www.usenix.org/system/files/login/articles/05_mcnutt.pdf", "https://www.youtube.com/watch?v=RNMjYV_UsQ8", "https://www.usenix.org/conference/lisa14/conference-program/presentation/mcnutt", "https://technet.microsoft.com/en-us/library/cc776379(v=ws.10).aspx", "https://www.kernel.org/doc/ols/2007/ols2007v2-pages-45-58.pdf", "https://hbr.org/2011/03/culture-trumps-strategy-every", "https://tools.ietf.org/html/rfc1035", "https://www.pdl.cmu.edu/PDL-FTP/associated/CMU-PDL-12-108.pdf", "https://dl.acm.org/citation.cfm?id=2671001"]} {"url": "https://sre.google/sre-book/bibliography/", "titulek": "Google SRE - SRE Book for Must Techniques & Practices", "h1": "Bibliography", "popis": "Explore reliable and scalable systems with ", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/bibliography/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/bibliography/"}, "headline": "Bibliography", "description": "[Ada15] Bram Adams, Stephany Bellomo, Christian Bird, Tamara Marshall-Keim, Foutse Khomh, and Kim Moir, 'The Practice and Future of Release Engineering: A Roundtable with Three Release Engineers', IEEE Software, vol. 32, no. 2 (March/April 2015), pp. 42–49.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Bibliography"}], "markdown": "# Bibliography\n\n- [Ada15] Bram Adams, Stephany Bellomo, Christian Bird, Tamara Marshall-Keim, Foutse Khomh, and Kim Moir, [\"The Practice and Future of Release Engineering: A Roundtable with Three Release Engineers\"](https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=434819) , *IEEE Software* , vol. 32, no. 2 (March/April 2015), pp. 42–49.\n- [Agu10] M. K. Aguilera, [\"Stumbling over Consensus Research: Misunderstandings and Issues\"](https://dl.acm.org/citation.cfm?id=2172342) , in *Replication* , Lecture Notes in Computer Science 5959, 2010.\n- [All10] J. Allspaw and J. Robbins, *Web Operations: Keeping the Data on Time* : O’Reilly, 2010.\n- [All12] J. Allspaw, [\"Blameless PostMortems and a Just Culture\"](https://codeascraft.com/2012/05/22/blameless-postmortems/) , blog post, 2012.\n- [All15] J. Allspaw, [\"Trade-Offs Under Pressure: Heuristics and Observations of Teams Resolving Internet Service Outages\"](https://lup.lub.lu.se/student-papers/record/8084520/file/8084521.pdf) , MSc thesis, Lund University, 2015.\n- [Ana07] S. Anantharaju, [\"Automating web application security testing\"](https://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html) , blog post, July 2007.\n- [Ana13] R. Ananatharayan et al., [\"Photon: Fault-tolerant and Scalable Joining of Continuous Data Streams\"](https://research.google.com/pubs/pub41318.html) , in *SIGMOD '13* , 2013.\n- [And05] A. Andrieux, K. Czajkowski, A. Dan, et al., [\"Web Services Agreement Specification (WS-Agreement)\"](https://www.ogf.org/documents/GFD.107.pdf) , September 2005.\n- [Bai13] P. Bailis and A. Ghodsi, [\"Eventual Consistency Today: Limitations, Extensions, and Beyond\"](https://dl.acm.org/citation.cfm?id=2462076) , in *ACM Queue* , vol. 11, no. 3, 2013.\n- [Bai83] L. Bainbridge, [\"Ironies of Automation\"](https://dx.doi.org/10.1016/0005-1098(83)90046-8) , in *Automatica* , vol. 19, no. 6, November 1983.\n- [Bak11] J. Baker et al., [\"Megastore: Providing Scalable, Highly Available Storage for Interactive Services\"](https://research.google.com/pubs/pub36971.html) , in *Proceedings of the Conference on Innovative Data System Research* , 2011.\n- [Bar11] L. A. Barroso, [\"Warehouse-Scale Computing: Entering the Teenage Decade\"](https://dl.acm.org/citation.cfm?id=2019527) , talk at 38th Annual Symposium on Computer Architecture, video available online, 2011.\n- [Bar13] L. A. Barroso, J. Clidaras, and U. Hölzle, [*The Datacenter as a Computer: An Introduction to the Design of Warehouse-Scale Machines, Second Edition*](https://research.google.com/pubs/pub41606.html) , Morgan & Claypool, 2013.\n- [Ben12] C. Bennett and A. Tseitlin, [\"Chaos Monkey Released Into The Wild\"](https://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html) , blog post, July 2012.\n- [Bla14] M. Bland, [\"Goto Fail, Heartbleed, and Unit Testing Culture\"](https://martinfowler.com/articles/testing-culture.html) , blog post, June 2014.\n- [Boc15] L. Bock, [*Work Rules!*](https://www.workrules.net) , Twelve Books, 2015.\n- [Bol11] W. J. Bolosky, D. Bradshaw, R. B. Haagens, N. P. Kusters, and P. Li, [\"Paxos Replicated State Machines as the Basis of a High-Performance Data Store\"](https://www.usenix.org/legacy/event/nsdi11/tech/full_papers/Bolosky.pdf) , in *Proc. NSDI 2011* , 2011.\n- [Boy13] P. G. Boysen, [\"Just Culture: A Foundation for Balanced Accountability and Patient Safety\"](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3776518/) , in *The Ochsner Journal* , Fall 2013.\n- [Bra15] VM Brasseur, [\"Failure: Why it happens & How to benefit from it\"](https://youtu.be/DLn4fZsZsKM?t=29m05s) , YAPC 2015.\n- [Bre01] E. Brewer, [\"Lessons From Giant-Scale Services\"](https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=939450) , in *IEEE Internet Computing* , vol. 5, no. 4, July / August 2001.\n- [Bre12] E. Brewer, [\"CAP Twelve Years Later: How the \"Rules\" Have Changed\"](https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6133253) , in *Computer* , vol. 45, no. 2, February 2012.\n- [Bro15] M. Brooker, [\"Exponential Backoff and Jitter\"](https://www.awsarchitectureblog.com/2015/03/backoff.html) , on *AWS Architecture Blog* , March 2015.\n- [Bro95] F. P. Brooks Jr., \"No Silver Bullet—Essence and Accidents of Software Engineering\", in *The Mythical Man-Month* , Boston: Addison-Wesley, 1995, pp. 180–186.\n- [Bru09] J. Brutlag, [\"Speed Matters\"](https://googleresearch.blogspot.com/2009/06/speed-matters.html) , on *Google Research Blog* , June 2009.\n- [Bul80] G. M. Bull, *The Dartmouth Time-sharing System* : Ellis Horwood, 1980.\n- [Bur99] M. Burgess, *Principles of Network and System Administration* : Wiley, 1999.\n- [Bur06] M. Burrows, [\"The Chubby Lock Service for Loosely-Coupled Distributed Systems\"](https://research.google.com/archive/chubby.html) , in *OSDI '06: Seventh Symposium on Operating System Design and Implementation* , November 2006.\n- [Bur16] B. Burns, B. Grant, D. Oppenheimer, E. Brewer, and J. Wilkes, [\"Borg, Omega, and Kubernetes\"](https://dl.acm.org/citation.cfm?id=2898444) in *ACM Queue* , vol. 14, no. 1, 2016.\n- [Cas99] M. Castro and B. Liskov, [\"Practical Byzantine Fault Tolerance\"](https://www.pmg.lcs.mit.edu/papers/osdi99.pdf) , in *Proc. OSDI 1999* , 1999.\n- [Cha10] C. Chambers, A. Raniwala, F. Perry, S. Adams, R. Henry, R. Bradshaw, and N. Weizenbaum, [\"FlumeJava: Easy, Efficient Data-Parallel Pipelines\"](https://research.google.com/pubs/pub35650.html) , in *ACM SIGPLAN Conference on Programming Language Design and Implementation* , 2010.\n- [Cha96] T. D. Chandra and S. Toueg, [\"Unreliable Failure Detectors for Reliable Distributed Systems\"](https://dl.acm.org/citation.cfm?id=226647) , in *J. ACM* , 1996.\n- [Cha07] T. Chandra, R. Griesemer, and J. Redstone, [\"Paxos Made Live—An Engineering Perspective\"](https://research.google.com/archive/paxos_made_live.html) , in *PODC '07: 26th ACM Symposium on Principles of Distributed Computing* , 2007.\n- [Cha06] F. Chang et al., [\"Bigtable: A Distributed Storage System for Structured Data\"](https://research.google.com/archive/bigtable.html) , in *OSDI '06: Seventh Symposium on Operating System Design and Implementation* , November 2006.\n- [Chr09] G. P. Chrousous, [\"Stress and Disorders of the Stress System\"](https://www.ncbi.nlm.nih.gov/pubmed/19488073) , in *Nature Reviews Endocrinology* , vol 5., no. 7, 2009.\n- [Clos53] C. Clos, [\"A Study of Non-Blocking Switching Networks\"](https://dx.doi.org/10.1002/j.1538-7305.1953.tb01433.x) , in *Bell System Technical Journal* , vol. 32, no. 2, 1953.\n- [Con15] C. Contavalli, W. van der Gaast, D. Lawrence, and W. Kumari, [\"Client Subnet in DNS Queries\"](https://tools.ietf.org/html/draft-vandergaast-edns-client-subnet) , *IETF Internet-Draft* , 2015.\n- [Con63] M. E. Conway, [\"Design of a Separable Transition-Diagram Compiler\"](https://dl.acm.org/citation.cfm?id=366704) , in *Commun. ACM* 6, 7 (July 1963), 396–408.\n- [Con96] P. Conway, [\"Preservation in the Digital World\"](https://www.clir.org/pubs/reports/conway2/index.html) , report published by the Council on Library and Information Resources, 1996.\n- [Coo00] R. I. Cook, [\"How Complex Systems Fail\"](https://web.mit.edu/2.75/resources/random/How%20Complex%20Systems%20Fail.pdf) , in *Web Operations* : O’Reilly, 2010.\n- [Cor12] J. C. Corbett et al., [\"Spanner: Google’s Globally-Distributed Database\"](https://research.google.com/archive/spanner.html) , in *OSDI '12: Tenth Symposium on Operating System Design and Implementation* , October 2012.\n- [Cra10] J. Cranmer, [\"Visualizing code coverage\"](https://quetzalcoatal.blogspot.com/2010/03/visualizing-code-coverage.html) , blog post, March 2010.\n- [Dea13] J. Dean and L. A. Barroso, [\"The Tail at Scale\"](https://research.google.com/pubs/pub40801.html) , in *Communications of the ACM* , vol. 56, 2013.\n- [Dea04] J. Dean and S. Ghemawat, [\"MapReduce: Simplified Data Processing on Large Clusters\"](https://research.google.com/archive/mapreduce.html) , in *OSDI’04: Sixth Symposium on Operating System Design and Implementation* , December 2004.\n- [Dea07] J. Dean, [\"Software Engineering Advice from Building Large-Scale Distributed Systems\"](https://static.googleusercontent.com/media/research.google.com/en//people/jeff/stanford-295-talk.pdf) , Stanford CS297 class lecture, Spring 2007.\n- [Dek02] S. Dekker, [\"Reconstructing human contributions to accidents: the new view on error and performance\"](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.411.4985&rep=rep1&type=pdf) , in *Journal of Safety Research* , vol. 33, no. 3, 2002.\n- [Dek14] S. Dekker, *The Field Guide to Understanding \"Human Error\"* , 3rd edition: Ashgate, 2014.\n- [Dic14] C. Dickson, [\"How Embracing Continuous Release Reduced Change Complexity\"](https://usenix.org/conference/ures14west/summit-program/presentation/dickson) , presentation at USENIX Release Engineering Summit West 2014, video available online.\n- [Dur05] J. Durmer and D. Dinges, [\"Neurocognitive Consequences of Sleep Deprivation\"](https://www.ncbi.nlm.nih.gov/pubmed/15798944) , in *Seminars in Neurology* , vol. 25, no. 1, 2005.\n- [Eis16] D. E. Eisenbud et al., [\"Maglev: A Fast and Reliable Software Network Load Balancer\"](https://research.google.com/pubs/pub44824.html) , in NSDI '16: 13th USENIX Symposium on Networked Systems Design and Implementation, March 2016.\n- [Ere03] J. R. Erenkrantz, [\"Release Management Within Open Source Projects\"](https://www.erenkrantz.com/Geeks/Research/Publications/ReleaseManagement.pdf) , in *Proceedings of the 3rd Workshop on Open Source Software Engineering* , Portland, Oregon, May 2003.\n- [Fis85] M. J. Fischer, N. A. Lynch, and M. S. Paterson, [\"Impossibility of Distributed Consensus with One Faulty Process\"](https://dl.acm.org/citation.cfm?id=214121) , *J. ACM* , 1985.\n- [Fit12] B. W. Fitzpatrick and B. Collins-Sussman, *Team Geek: A Software Developer’s Guide to Working Well with Others* : O’Reilly, 2012.\n- [Flo94] S. Floyd and V. Jacobson, [\"The Synchronization of Periodic Routing Messages\"](https://dl.acm.org/citation.cfm?id=187045) , in IEEE/ACM Transactions on Networking, vol. 2, issue 2, April 1994, pp. 122–136.\n- [For10] D. Ford et al, [\"Availability in Globally Distributed Storage Systems\"](https://research.google.com/pubs/pub36737.html) , in *Proceedings of the 9th USENIX Symposium on Operating Systems Design and Implementation* , 2010.\n- [Fox99] A. Fox and E. A. Brewer, [\"Harvest, Yield, and Scalable Tolerant Systems\"](https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=798396) , in *Proceedings of the 7th Workshop on Hot Topics in Operating Systems* , Rio Rico, Arizona, March 1999.\n- [Fow08] M. Fowler, [\"GUI Architectures\"](https://martinfowler.com/eaaDev/uiArchs.html) , blog post, 2006.\n- [Gal78] J. Gall, *SYSTEMANTICS: How Systems Really Work and How They Fail* , 1st ed., Pocket, 1977.\n- [Gal03] J. Gall, *The Systems Bible: The Beginner’s Guide to Systems Large and Small* , 3rd ed., General Systemantics Press/Liberty, 2003.\n- [Gaw09] A. Gawande, *The Checklist Manifesto: How to Get Things Right* : Henry Holt and Company, 2009.\n- [Ghe03] S. Ghemawat, H. Gobioff, and S-T. Leung, [\"The Google File System\"](https://research.google.com/archive/gfs.html) , in *19th ACM Symposium on Operating Systems Principles* , October 2003.\n- [Gil02] S. Gilbert and N. Lynch, [\"Brewer’s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services\"](https://dl.acm.org/citation.cfm?id=564601) , in *ACM SIGACT News* , vol. 33, no. 2, 2002.\n- [Gla02] R. Glass, *Facts and Fallacies of Software Engineering* , Addison-Wesley Professional, 2002.\n- [Gol14] W. Golab et al., [\"Eventually Consistent: Not What You Were Expecting?\"](https://dl.acm.org/citation.cfm?id=2582994) , in *ACM Queue* , vol. 12, no. 1, 2014.\n- [Gra09] P. Graham, [\"Maker’s Schedule, Manager’s Schedule\"](https://paulgraham.com/makersschedule.html) , blog post, July 2009.\n- [Gup15] A. Gupta and J. Shute, [\"High-Availability at Massive Scale: Building Google’s Data Infrastructure for Ads\"](https://research.google.com/pubs/pub44686.html) , in *Workshop on Business Intelligence for the Real Time Enterprise* , 2015.\n- [Ham07] J. Hamilton, [\"On Designing and Deploying Internet-Scale Services\"](https://www.usenix.org/legacy/event/lisa07/tech/hamilton.html) , in *Proceedings of the 21st Large Installation System Administration Conference* , November 2007.\n- [Han94] S. Hanks, T. Li, D. Farinacci, and P. Traina, [\"Generic Routing Encapsulation over IPv4 networks\"](https://tools.ietf.org/html/rfc1702) , *IETF Informational RFC* , 1994.\n- [Hic11] M. Hickins, [\"Tape Rescues Google in Lost Email Scare\"](https://blogs.wsj.com/digits/2011/03/01/tape-rescues-google-in-lost-email-scare/) , in *Digits* , *Wall Street Journal* , 1 March 2011.\n- [Hix15a] D. Hixson, [\"Capacity Planning\"](https://www.usenix.org/publications/login/feb15/capacity-planning) , in *;login:* , vol. 40, no. 1, February 2015.\n- [Hix15b] D. Hixson, [\"The Systems Engineering Side of Site Reliability Engineering\"](https://www.usenix.org/publications/login/june15/hixson) , in *;login:* vol. 40, no. 3, June 2015.\n- [Hod13] J. Hodges, [\"Notes on Distributed Systems for Young Bloods\"](https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/) , blog post, 14 January 2013.\n- [Hol14] L. Holmwood, [\"Applying Cardiac Alarm Management Techniques to Your On-Call\"](https://fractio.nl/2014/08/26/cardiac-alarms-and-ops/) , blog post, 26 August 2014.\n- [Hum06] J. Humble, C. Read, D. North, \"The Deployment Production Line\", in *Proceedings of the IEEE Agile Conference* , July 2006.\n- [Hum10] J. Humble and D. Farley, *Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation* : Addison-Wesley, 2010.\n- [Hun10] P. Hunt, M. Konar, F. P. Junqueira, and B. Reed, [\"ZooKeeper: Wait-free coordination for Internet-scale systems\"](https://www.usenix.org/legacy/events/atc10/tech/full_papers/Hunt.pdf) , in *USENIX ATC* , 2010.\n- [IAEA12] International Atomic Energy Agency, [\"Safety of Nuclear Power Plants: Design, SSR-2/1\"](https://www-pub.iaea.org/MTCD/publications/PDF/Pub1534_web.pdf) , 2012.\n- [Jai13] S. Jain et al., [\"B4: Experience with a Globally-Deployed Software Defined WAN\"](https://doi.org/10.1145/2486001.2486019) , in *SIGCOMM '13* .\n- [Jon15] C. Jones, T. Underwood, and S. Nukala, [\"Hiring Site Reliability Engineers\"](https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers) , in *;login:* , vol. 40, no. 3, June 2015.\n- [Jun07] F. Junqueira, Y. Mao, and K. Marzullo, [\"Classic Paxos vs. Fast Paxos: Caveat Emptor\"](https://dl.acm.org/citation.cfm?id=1323158) , in *Proc. HotDep '07* , 2007.\n- [Jun11] F. P. Junqueira, B. C. Reid, and M. Serafini, [\"Zab: High-performance broadcast for primary-backup systems.\"](https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5958223&tag=1) , in *Dependable Systems & Networks (DSN), 2011 IEEE/IFIP 41st International Conference* on 27 Jun 2011: 245–256.\n- [Kah11] D. Kahneman, *Thinking, Fast and Slow* : Farrar, Straus and Giroux, 2011.\n- [Kar97] D. Karger et al., [\"Consistent hashing and random trees: distributed caching protocols for relieving hot spots on the World Wide Web\"](https://dl.acm.org/citation.cfm?id=258660) , in *Proc. STOC '97* , 29th annual ACM symposium on theory of computing, 1997.\n- [Kem11] C. Kemper, [\"Build in the Cloud: How the Build System Works\"](https://google-engtools.blogspot.com/2011/08/build-in-cloud-how-build-system-works.html) , *Google Engineering Tools* blog post, August 2011.\n- [Ken12] S. Kendrick, [\"What Takes Us Down?\"](https://usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down) , in *;login:* , vol. 37, no. 5, October 2012\n- [Kinc09] Kincaid, Jason. \"T-Mobile Sidekick Disaster: Danger’s Servers Crashed, And They Don’t Have A Backup.\" *Techcrunch* . n.p., 10 Oct. 2009. Web. 20 Jan. 2015, [*https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup*](https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup)\n- [Kin15] K. Kingsbury, [\"The trouble with timestamps\"](https://www.aphyr.com/posts/299-the-trouble-with-timestamps) , blog post, 2013.\n- [Kir08] J. Kirsch and Y. Amir, [\"Paxos for System Builders: An Overview\"](https://dl.acm.org/citation.cfm?id=1529979) , in *Proc. LADIS '08* , 2008.\n- [Kla12] R. Klau, [\"How Google Sets Goals: OKRs\"](https://library.gv.com/how-google-sets-goals-okrs-a1f69b0b72c7) , blog post, October 2012.\n- [Kle06] D. V. Klein, [\"A Forensic Analysis of a Distributed Two-Stage Web-Based Spam Attack\"](https://www.usenix.org/legacy/event/lisa06/tech/klein/klein_html/index.html) , in *Proceedings of the 20th Large Installation System Administration Conference* , December 2006.\n- [Kle14] D. V. Klein, D. M. Betser, and M. G. Monroe, [\"Making *Push On Green* a Reality\"](https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality) , in *;login:* , vol. 39, no. 5, October 2014.\n- [Kra08] T. Krattenmaker, [\"Make Every Meeting Matter\"](https://hbr.org/2008/02/make-every-meeting-matter) , in *Harvard Business Review* , February 27, 2008.\n- [Kre12] J. Kreps, [\"Getting Real About Distributed System Reliability\"](https://blog.empathybox.com/post/19574936361/getting-real-about-distributed-system-reliability) , blog post, 19 March 2012.\n- [Kri12] K. Krishan, [\"Weathering The Unexpected\"](https://dl.acm.org/citation.cfm?id=2366332) , in *Communications of the ACM* , vol. 55, no. 11, November 2012\n- [Kum15] A. Kumar et al., [\"BwE: Flexible, Hierarchical Bandwidth Allocation for WAN Distributed Computing\"](https://research.google.com/pubs/pub43838.html) , in *SIGCOMM '15* .\n- [Lam98] L. Lamport, [\"The Part-Time Parliament\"](https://research.microsoft.com/en-us/um/people/lamport/pubs/lamport-paxos.pdf) , in *ACM Transactions on Computer Systems 16, 2* , May 1998.\n- [Lam01] L. Lamport, [\"Paxos Made Simple\"](https://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf) , in *ACM SIGACT News* 121, December 2001.\n- [Lam06] L. Lamport, [\"Fast Paxos\"](https://research.microsoft.com/pubs/64624/tr-2005-112.pdf) , in *Distributed Computing* 19.2, October 2006.\n- [Lim14] T. A. Limoncelli, S. R. Chalup, and C. J. Hogan, *The Practice of Cloud System Administration: Designing and Operating Large Distributed Systems, Volume 2* : Addison-Wesley, 2014.\n- [Loo10] J. Loomis, \"How to Make Failure Beautiful: The Art and Science of Postmortems\", in *Web Operations* : O’Reilly, 2010.\n- [Lu15] H. Lu et al, [\"Existential Consistency: Measuring and Understanding Consistency at Facebook\"](https://sigops.org/sosp/sosp15/current/2015-Monterey/printable/240-lu.pdf) , in *SOSP* '15, 2015.\n- [Mao08] Y. Mao, F. P. Junqueira, and K. Marzullo, [\"Mencius: Building Efficient Replicated State Machines for WANs\"](https://www.usenix.org/legacy/events/osdi08/tech/full_papers/mao/mao.pdf) , in *OSDI '08* , 2008.\n- [Mas43] A. H. Maslow, \"A Theory of Human Motivation\", in *Psychological Review* 50(4), 1943.\n- [Mau15] B. Maurer, [\"Fail at Scale\"](https://dl.acm.org/citation.cfm?id=2839461) , in *ACM Queue* , vol. 13, no. 12, 2015.\n- [May09] M. Mayer, [\"*This site may harm your computer* on every search result?!?!\"](https://googleblog.blogspot.com/2009/01/this-site-may-harm-your-computer-on.html) , blog post, January 2009.\n- [McI86] M. D. McIlroy, [\"A Research Unix Reader: Annotated Excerpts from the Programmer’s Manual, 1971–1986\"](https://www.cs.dartmouth.edu/~doug/reader.pdf) .\n- [McN13] D. McNutt, [\"Maintaining Consistency in a Massively Parallel Environment\"](https://www.usenix.org/conference/ucms13/summit-program/presentation/mcnutt) , presentation at USENIX Configuration Management Summit 2013, video available online.\n- [McN14a] D. McNutt, [\"Accelerating the Path from Dev to DevOps\"](https://www.usenix.org/system/files/login/articles/05_mcnutt.pdf) , in *;login:* , vol. 39, no. 2, April 2014.\n- [McN14b] D. McNutt, [\"The 10 Commandments of Release Engineering\"](https://www.youtube.com/watch?v=RNMjYV_UsQ8) , presentation at 2nd International Workshop on Release Engineering 2014, April 2014.\n- [McN14c] D. McNutt, [\"Distributing Software in a Massively Parallel Environment\"](https://www.usenix.org/conference/lisa14/conference-program/presentation/mcnutt) , presentation at USENIX LISA 2014, video available online.\n- [Mic03] Microsoft TechNet, \"What is SNMP?\", last modified March 28, 2003, [*https://technet.microsoft.com/en-us/library/cc776379%28v=ws.10%29.aspx*](https://technet.microsoft.com/en-us/library/cc776379%28v=ws.10%29.aspx) .\n- [Mea08] D. Meadows, *Thinking in Systems* : Chelsea Green, 2008.\n- [Men07] P. Menage, [\"Adding Generic Process Containers to the Linux Kernel\"](https://www.kernel.org/doc/ols/2007/ols2007v2-pages-45-58.pdf) , in *Proc. of Ottawa Linux Symposium* , 2007.\n- [Mer11] N. Merchant, [\"Culture Trumps Strategy, Every Time\"](https://hbr.org/2011/03/culture-trumps-strategy-every) , in *Harvard Business Review* , March 22, 2011.\n- [Moc87] P. Mockapetris, [\"Domain Names - Implementation and Specification\"](https://tools.ietf.org/html/rfc1035) , *IETF Internet Standard* , 1987.\n- [Mol86] C. Moler, \"Matrix Computation on Distributed Memory Multiprocessors\", in *Hypercube Multiprocessors 1986* , 1987.\n- [Mor12a] I. Moraru, D. G. Andersen, and M. Kaminsky, [\"Egalitarian Paxos\"](https://www.pdl.cmu.edu/PDL-FTP/associated/CMU-PDL-12-108.pdf) , *Carnegie Mellon University Parallel Data Lab Technical Report CMU-PDL-12-108* , 2012.\n- [Mor14] I. Moraru, D. G. Andersen, and M. Kaminsky, [\"Paxos Quorum Leases: Fast Reads Without Sacrificing Writes\"](https://dl.acm.org/citation.cfm?id=2671001) , in *Proc. SOCC '14* , 2014.\n- [Mor12b] J. D. Morgenthaler, M. Gridnev, R. Sauciuc, and S. Bhansali, [\"Searching for Build Debt: Experiences Managing Technical Debt at Google\"](https://research.google.com/pubs/pub37755.html) , in *Proceedings of the 3rd Int’l Workshop on Managing Technical Debt* , 2012.\n- [Nar12] C. Narla and D. Salas, [\"Hermetic Servers\"](https://googletesting.blogspot.com/2012/10/hermetic-servers.html) , blog post, 2012.\n- [Nel14] B. Nelson, [\"The Data on Diversity\"](https://dl.acm.org/citation.cfm?id=2684442.2597886) , in *Communications of the ACM* , vol. 57, 2014.\n- [Nic12] K. Nichols and V. Jacobson, [\"Controlling Queue Delay\"](https://dl.acm.org/citation.cfm?id=2209336) , in *ACM Queue* , vol. 10, no. 5, 2012.\n- [Oco12] P. O’Connor and A. Kleyner, *Practical Reliability Engineering* , 5th edition: Wiley, 2012.\n- [Ohn88] T. Ohno, *Toyota Production System: Beyond Large-Scale Production* : Productivity Press, 1988.\n- [Ong14] D. Ongaro and J. Ousterhout, [\"In Search of an Understandable Consensus Algorithm (Extended Version)\"](https://ramcloud.stanford.edu/raft.pdf) .\n- [Pen10] D. Peng and F. Dabek, [\"Large-scale Incremental Processing Using Distributed Transactions and Notifications\"](https://research.google.com/pubs/pub36726.html) , in *Proc. of the 9th USENIX Symposium on Operating System Design and Implementation* , November 2010.\n- [Per99] C. Perrow, *Normal Accidents: Living with High-Risk Technologies* , Princeton University Press, 1999.\n- [Per07] A. R. Perry, [\"Engineering Reliability into Web Sites: Google SRE\"](https://research.google.com/pubs/pub32583.html) , in *Proc. of LinuxWorld 2007* , 2007.\n- [Pik05] R. Pike, S. Dorward, R. Griesemer, S. Quinlan, [\"Interpreting the Data: Parallel Analysis with Sawzall\"](https://research.google.com/archive/sawzall.html) , in *Scientific Programming Journal* vol. 13, no. 4, 2005.\n- [Pot16] R. Potvin and J. Levenberg, [\"The Motivation for a Monolithic Codebase: Why Google stores billions of lines of code in a single repository\"](https://dl.acm.org/citation.cfm?id=2963119.2854146) , in *Communications of the ACM* , vol. 59, no. 7, 2016. Video available on [YouTube](https://www.youtube.com/watch?v=W71BTkUbdqE) .\n- [Roo04] J. J. Rooney and L. N. Vanden Heuvel, [\"Root Cause Analysis for Beginners\"](https://asq.org/quality-progress/2004/07/quality-tools/root-cause-analysis-for-beginners.html) , in *Quality Progress* , July 2004.\n- [Sai39] A. de Saint Exupéry, *Terre des Hommes* (Paris: Le Livre de Poche, 1939, in translation by Lewis Galantière as *Wind, Sand and Stars* .\n- [Sam14] R. R. Sambasivan, R. Fonseca, I. Shafer, and G. R. Ganger, [\"So, You Want To Trace Your Distributed System? Key Design Insights from Years of Practical Experience\"](https://pdl.cmu.edu/PDL-FTP/SelfStar/CMU-PDL-14-102_abs.shtml) , Carnegie Mellon University Parallel Data Lab Technical Report CMU-PDL-14-102, 2014.\n- [San11] N. Santos and A. Schiper, [\"Tuning Paxos for High-Throughput with Batching and Pipelining\"](https://rd.springer.com/chapter/10.1007%2F978-3-642-25959-3_11) , in *13th Int’l Conf. on Distributed Computing and Networking* , 2012.\n- [Sar97] N. B. Sarter, D. D. Woods, and C. E. Billings, \"Automation Surprises\", in *Handbook of Human Factors & Ergonomics* , 2nd edition, G. Salvendy (ed.), Wiley, 1997.\n- [Sch14] E. Schmidt, J. Rosenberg, and A. Eagle, [*How Google Works*](https://www.howgoogleworks.net) : Grand Central Publishing, 2014.\n- [Sch15] B. Schwartz, [\"The Factors That Impact Availability, Visualized\"](https://www.vividcortex.com/blog/the-factors-that-impact-availability-visualized) , blog post, 21 December 2015.\n- [Sch90] F. B. Schneider, [\"Implementing Fault-Tolerant Services Using the State Machine Approach: A Tutorial\"](https://dl.acm.org/citation.cfm?id=98167) , in *ACM Computing Surveys* , vol. 22, no. 4, 1990.\n- [Sec13] Securities and Exchange Commission, [\"Order In the Matter of Knight Capital Americas LLC\"](https://www.sec.gov/litigation/admin/2013/34-70694.pdf) , file 3-15570, 2013.\n- [Sha00] G. Shao, F. Berman, and R. Wolski, [\"Master/Slave Computing on the Grid\"](https://www.cs.ucsb.edu/~rich/publications/shao-hcw.pdf) , in *Heterogeneous Computing Workshop* , 2000.\n- [Shu13] J. Shute et al., [\"F1: A Distributed SQL Database That Scales\"](https://research.google.com/pubs/pub41344.html) , in *Proc. VLDB 2013* , 2013.\n- [Sig10] B. H. Sigelman et al., [\"Dapper, a Large-Scale Distributed Systems Tracing Infrastructure\"](https://research.google.com/pubs/pub36356.html) , Google Technical Report, 2010.\n- [Sin15] A. Singh et al., [\"Jupiter Rising: A Decade of Clos Topologies and Centralized Control in Google’s Datacenter Network\"](https://research.google.com/pubs/pub43837.html) , in *SIGCOMM '15* .\n- [Skel13] M. Skelton, [\"Operability can Improve if Developers Write a Draft Run Book\"](https://blog.softwareoperability.com/2013/10/16/operability-can-improve-if-developers-write-a-draft-run-book/) , blog post, 16 October 2013.\n- [Slo11] B. Treynor Sloss, [\"Gmail back soon for everyone\"](https://gmailblog.blogspot.com/2011/02/gmail-back-soon-for-everyone.html) , blog post, 28 February 2011.\n- [Tat99] S. Tatham, [\"How to Report Bugs Effectively\"](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html) , 1999.\n- [Ver15] A. Verma, L. Pedrosa, M. R. Korupolu, D. Oppenheimer, E. Tune, and J. Wilkes, [\"Large-scale cluster management at Google with Borg\"](https://research.google.com/pubs/pub43438.html) , in *Proceedings of the European Conference on Computer Systems* , 2015.\n- [Wal89] D. R. Wallace and R. U. Fujii, [\"Software Verification and Validation: An Overview\"](https://www-usr.inf.ufsm.br/~ceretta/papers/fujii89_software_vv.pdf) , *IEEE Software* , vol. 6, no. 3 (May 1989), pp. 10, 17.\n- [War14] R. Ward and B. Beyer, [\"BeyondCorp: A New Approach to Enterprise Security\"](https://www.usenix.org/publications/login/dec14/ward) , in *;login:* , vol. 39, no. 6, December 2014.\n- [Whi12] J. A. Whittaker, J. Arbon, and J. Carollo, *How Google Tests Software* : Addison-Wesley, 2012.\n- [Woo96] A. Wood, [\"Predicting Software Reliability\"](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=544240) , in *Computer* , vol. 29, no. 11, 1996.\n- [Wri12a] H. K. Wright, [\"Release Engineering Processes, Their Faults and Failures\"](https://www.hyrumwright.org/papers/dissertation.pdf) , (section 7.2.2.2) PhD Thesis, University of Texas at Austin, 2012.\n- [Wri12b] H. K. Wright and D. E. Perry, [\"Release Engineering Practices and Pitfalls\"](https://www.hyrumwright.org/papers/icse2012.pdf) , in *Proceedings of the 34th International Conference on Software Engineering (ICSE '12)* . (IEEE, 2012), pp. 1281–1284.\n- [Wri13] H. K. Wright, D. Jasper, M. Klimek, C. Carruth, Z. Wan, [\"Large-Scale Automated Refactoring Using ClangMR\"](https://static.googleusercontent.com/media/research.google.com/en/us/pubs/archive/41342.pdf) , in *Proceedings of the 29th International Conference on Software Maintenance (ICSM '13)* , (IEEE, 2013), pp. 548–551.\n- [Yor11] N. York, [\"Build in the Cloud: Accessing Source Code\"](https://google-engtools.blogspot.com/2011/06/build-in-cloud-accessing-source-code.html) , *Google Engineering Tools* blog post, June 2011.\n- [Zoo14] ZooKeeper Project (Apache Foundation), [\"ZooKeeper Recipes and Solutions\"](https://zookeeper.apache.org/doc/current/recipes.html) , in ZooKeeper 3.4 documentation, 2014.", "znaku_textu": 28736, "slov": 3448, "odkazu": 183, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/bibliography", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:41", "sha256": "63c1d2e2429423d2fdaeca817da5fc2befec7916ebf2248b4e494c721097179a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://resources.sei.cmu.edu/library/asset-view.cfm?assetid=434819", "https://dl.acm.org/citation.cfm?id=2172342", "https://codeascraft.com/2012/05/22/blameless-postmortems/", "https://lup.lub.lu.se/student-papers/record/8084520/file/8084521.pdf", "https://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html", "https://research.google.com/pubs/pub41318.html", "https://www.ogf.org/documents/GFD.107.pdf", "https://dl.acm.org/citation.cfm?id=2462076", "https://dx.doi.org/10.1016/0005-1098(83)90046-8", "https://research.google.com/pubs/pub36971.html", "https://dl.acm.org/citation.cfm?id=2019527", "https://research.google.com/pubs/pub41606.html", "https://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html", "https://martinfowler.com/articles/testing-culture.html", "https://www.workrules.net/", "https://www.usenix.org/legacy/event/nsdi11/tech/full_papers/Bolosky.pdf", "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3776518/", "https://youtu.be/DLn4fZsZsKM?t=29m05s", "https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=939450", "https://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6133253", "https://www.awsarchitectureblog.com/2015/03/backoff.html", "https://googleresearch.blogspot.com/2009/06/speed-matters.html", "https://research.google.com/archive/chubby.html", "https://dl.acm.org/citation.cfm?id=2898444", "https://www.pmg.lcs.mit.edu/papers/osdi99.pdf", "https://research.google.com/pubs/pub35650.html", "https://dl.acm.org/citation.cfm?id=226647", "https://research.google.com/archive/paxos_made_live.html", "https://research.google.com/archive/bigtable.html", "https://www.ncbi.nlm.nih.gov/pubmed/19488073", "https://dx.doi.org/10.1002/j.1538-7305.1953.tb01433.x", "https://tools.ietf.org/html/draft-vandergaast-edns-client-subnet", "https://dl.acm.org/citation.cfm?id=366704", "https://www.clir.org/pubs/reports/conway2/index.html", "https://web.mit.edu/2.75/resources/random/How%20Complex%20Systems%20Fail.pdf", "https://research.google.com/archive/spanner.html", "https://quetzalcoatal.blogspot.com/2010/03/visualizing-code-coverage.html", "https://research.google.com/pubs/pub40801.html", "https://research.google.com/archive/mapreduce.html", "https://static.googleusercontent.com/media/research.google.com/en//people/jeff/stanford-295-talk.pdf", "https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.411.4985&rep=rep1&type=pdf", "https://usenix.org/conference/ures14west/summit-program/presentation/dickson", "https://www.ncbi.nlm.nih.gov/pubmed/15798944", "https://research.google.com/pubs/pub44824.html", "https://www.erenkrantz.com/Geeks/Research/Publications/ReleaseManagement.pdf", "https://dl.acm.org/citation.cfm?id=214121", "https://dl.acm.org/citation.cfm?id=187045", "https://research.google.com/pubs/pub36737.html", "https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=798396", "https://martinfowler.com/eaaDev/uiArchs.html", "https://research.google.com/archive/gfs.html", "https://dl.acm.org/citation.cfm?id=564601", "https://dl.acm.org/citation.cfm?id=2582994", "https://paulgraham.com/makersschedule.html", "https://research.google.com/pubs/pub44686.html", "https://www.usenix.org/legacy/event/lisa07/tech/hamilton.html", "https://tools.ietf.org/html/rfc1702", "https://blogs.wsj.com/digits/2011/03/01/tape-rescues-google-in-lost-email-scare/", "https://www.usenix.org/publications/login/feb15/capacity-planning", "https://www.usenix.org/publications/login/june15/hixson", "https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/", "https://fractio.nl/2014/08/26/cardiac-alarms-and-ops/", "https://www.usenix.org/legacy/events/atc10/tech/full_papers/Hunt.pdf", "https://www-pub.iaea.org/MTCD/publications/PDF/Pub1534_web.pdf", "https://doi.org/10.1145/2486001.2486019", "https://www.usenix.org/publications/login/june15/hiring-site-reliability-engineers", "https://dl.acm.org/citation.cfm?id=1323158", "https://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5958223&tag=1", "https://dl.acm.org/citation.cfm?id=258660", "https://google-engtools.blogspot.com/2011/08/build-in-cloud-how-build-system-works.html", "https://usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down", "https://techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup", "https://www.aphyr.com/posts/299-the-trouble-with-timestamps", "https://dl.acm.org/citation.cfm?id=1529979", "https://library.gv.com/how-google-sets-goals-okrs-a1f69b0b72c7", "https://www.usenix.org/legacy/event/lisa06/tech/klein/klein_html/index.html", "https://www.usenix.org/publications/login/october-2014-vol-39-no-5/making-push-green-reality", "https://hbr.org/2008/02/make-every-meeting-matter", "https://blog.empathybox.com/post/19574936361/getting-real-about-distributed-system-reliability", "https://dl.acm.org/citation.cfm?id=2366332", "https://research.google.com/pubs/pub43838.html", "https://research.microsoft.com/en-us/um/people/lamport/pubs/lamport-paxos.pdf", "https://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf", "https://research.microsoft.com/pubs/64624/tr-2005-112.pdf", "https://sigops.org/sosp/sosp15/current/2015-Monterey/printable/240-lu.pdf", "https://www.usenix.org/legacy/events/osdi08/tech/full_papers/mao/mao.pdf", "https://dl.acm.org/citation.cfm?id=2839461", "https://googleblog.blogspot.com/2009/01/this-site-may-harm-your-computer-on.html", "https://www.cs.dartmouth.edu/~doug/reader.pdf", "https://www.usenix.org/conference/ucms13/summit-program/presentation/mcnutt", "https://www.usenix.org/system/files/login/articles/05_mcnutt.pdf", "https://www.youtube.com/watch?v=RNMjYV_UsQ8", "https://www.usenix.org/conference/lisa14/conference-program/presentation/mcnutt", "https://technet.microsoft.com/en-us/library/cc776379(v=ws.10).aspx", "https://www.kernel.org/doc/ols/2007/ols2007v2-pages-45-58.pdf", "https://hbr.org/2011/03/culture-trumps-strategy-every", "https://tools.ietf.org/html/rfc1035", "https://www.pdl.cmu.edu/PDL-FTP/associated/CMU-PDL-12-108.pdf", "https://dl.acm.org/citation.cfm?id=2671001"]} {"url": "https://sre.google/sre-book/communication-and-collaboration", "titulek": "Google SRE - Strong SRE Team Collaboration and Communication", "h1": "Communication and Collaboration in SRE", "popis": "Explore how SRE teams at Google communicate and collaborate across diverse roles, ensuring reliability and efficienct in fast moving environments.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/communication-and-collaboration/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/communication-and-collaboration/"}, "headline": "Communication and Collaboration in SRE", "description": "The organizational position of SRE in Google is interesting, and has effects on how we communicate and collaborate. The two preceding facts have steered the SRE organization in certain directions when it comes to two crucial dimensions of how our teams operate - communications and collaboration.", "image": "https://lh3.googleusercontent.com/qRa1emw4KoTR5hOD3BrAmrlWOVrMjmrcSVgBn9-59qrvElYcGfZHyuBJqqyBUT3w11i2vSU2wbWpbmyqyt2KWO0ZGM0g1uahnwrg_cU", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Alex Rodriguez"}, {"@type": "Person", "name": "Carl Crous"}, {"@type": "Person", "name": "Dario Freni"}, {"@type": "Person", "name": "Dylan Curley"}, {"@type": "Person", "name": "Lorenzo Blanco"}, {"@type": "Person", "name": "Todd Underwood"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Communication and Collaboration in SRE"}, {"uroven": 2, "text": "Communications: Production Meetings"}, {"uroven": 2, "text": "Agenda"}, {"uroven": 2, "text": "Attendance"}, {"uroven": 1, "text": "Collaboration within SRE"}, {"uroven": 2, "text": "Team Composition"}, {"uroven": 2, "text": "Techniques for Working Effectively"}, {"uroven": 1, "text": "Case Study of Collaboration in SRE: Viceroy"}, {"uroven": 2, "text": "The Coming of the Viceroy"}, {"uroven": 2, "text": "Challenges"}, {"uroven": 2, "text": "Recommendations"}, {"uroven": 1, "text": "Collaboration Outside SRE"}, {"uroven": 1, "text": "Case Study: Migrating DFP to F1"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Communication and Collaboration in SRE\n\nWritten by Niall Murphy with Alex Rodriguez, Carl Crous, Dario Freni, Dylan Curley, Lorenzo Blanco, and Todd Underwood\nEdited by Betsy Beyer\n\nThe organizational position of SRE in Google is interesting, and has effects on how we communicate and collaborate.\n\nTo begin with, there is a tremendous diversity in what SRE does, and how we do it. We have infrastructural teams, service teams, and horizontal product teams. We have relationships with product development teams ranging from teams that are many times our size, to\nteams roughly the same size as their counterparts, and situations in which we *are* the product development team. SRE teams are made up of people with systems engineering or architectural skills (see [[Hix15b]](/sre-book/bibliography#Hix15b)), software engineering skills, project management skills, leadership instincts, backgrounds in all kinds of industries (see\n[Lessons Learned from Other Industries](/sre-book/lessons-learned/)), and so on. We don't have just one model, and we have found a variety of configurations that work; this flexibility suits our ultimately pragmatic nature.\n\nIt's also true that SRE is not a command-and-control organization. Generally, we owe allegiance to at least two masters: for service or infrastructure [SRE teams](../../sre-book/part-II-principles/), we work closely with the corresponding product development teams that work on those services or that infrastructure; we also obviously work in the context of SRE generally. The service relationship is very strong, since we are held\naccountable for the performance of those systems, but despite that relationship, our actual reporting lines are through SRE as a\nwhole. Today, we spend more time supporting our individual services than on cross-production work, but our culture and our shared values produce strongly homogeneous approaches to problems. This is by design.146\n\nThe two preceding facts have steered the SRE organization in certain directions when it comes to two crucial dimensions of how our teams operate—communications and collaboration. Data flow would be an apt computing metaphor for our communications: just like data must flow around production, data also has to flow around an SRE team—data about projects, the state of the services, production, and the state of the individuals. For maximum effectiveness of a team, the data has to flow in reliable ways from one interested party to another. One way to think of this flow is to think of the interface that an SRE team must present to other teams, such as an API. Just like an API, a good design is crucial for effective operation, and if the API is wrong, it can be painful to correct later on.\n\nThe API-as-contract metaphor is also relevant for collaboration, both among SRE teams, and between SRE and product development teams—all have to make progress in an environment of unrelenting change. To that extent, our collaboration looks quite like collaboration in any other fast-moving company. The difference is the mix of software engineering skills, systems engineering expertise, and the wisdom of production experience that SRE brings to bear on that collaboration. The best designs and the best\nimplementations result from the joint concerns of production and the product being met in an atmosphere of mutual respect. This is the\npromise of SRE: an organization charged with reliability, with the same skills as the product development teams, will improve things\nmeasurably. Our experience suggests that simply having someone in charge of reliability, without also having the complete skill set, is\nnot enough.\n\n## Communications: Production Meetings\n\nAlthough literature about running effective meetings abounds [[Kra08]](/sre-book/bibliography#Kra08), it's difficult to find someone who's lucky enough to *only* have useful, effective meetings. This is equally true for SRE.\n\nHowever, there's one kind of meeting that we have that is more useful than the average, called a *production meeting*. Production meetings are a special kind of meeting where an SRE team carefully articulates to itself—and to its invitees—the state of the service(s) in their charge, so as to increase general awareness among everyone who cares, and to improve the operation of the service(s). In general, these meetings are *service-oriented*; they are not directly about the status updates of individuals. The goal is for everyone to leave the meeting with an idea of what's going on—the *same* idea. The other major goal of production meetings is to improve our services by bringing the wisdom of production to bear on our services. That means we talk in detail about the operational performance of the service, and relate that operational performance to design, configuration, or implementation, and make recommendations for how to fix the problems. Connecting the performance of the service with design decisions in a regular meeting is an immensely powerful feedback loop.\n\nOur production meetings usually happen weekly; given SRE's antipathy to pointless meetings, this frequency seems to be just about right: time to allow enough relevant material to accumulate to make the meeting worthwhile, while not so frequent that people find excuses to not attend. They usually last somewhere between 30 and 60 minutes. Any less and you're probably cutting something unnecessarily short, or you should probably be growing your service portfolio. Any more and you're probably getting mired in the detail, or you've got too much to talk about and you should shard the team or service set.\n\nJust like any other meeting, the production meeting should have a chair. Many SRE teams rotate the chair through various team members, which has the advantage of making everyone feel they have a stake in the service and some notional ownership of the issues. It's true that not everyone has equal levels of chairing skill, but the value of group ownership is so large that the trade-off of temporary suboptimality is worthwhile. Furthermore, this is a chance to instill chairing skills, which are very useful in the kind of incident coordination situations commonly faced by SRE.\n\nIn cases where two SRE teams are meeting by video, and one of the teams is much larger than the other, we have noticed an interesting dynamic at play. We recommend placing your chair on the *smaller* side of the call by default. The larger side naturally tends to quiet down and some of the bad effects of imbalanced team sizes (made worse by the delays inherent in video conferencing) will improve.147 We have no idea if this technique has any scientific basis, but it does tend to work.\n\n## Agenda\n\nThere are many ways to run a production meeting, attesting to the diversity of what SRE looks after and how we do it. To that\nextent, it's not appropriate to be prescriptive on how to run one of these meetings. However, a default agenda (see [Example Production Meeting Minutes](/sre-book/production-meeting/) for an example) might look something like the following:\n\nUpcoming production changes\n\nChange-tracking meetings are well known throughout the industry, and indeed whole meetings have often been devoted to stopping change. However, in our production environment, we usually default to enabling change, which requires tracking the useful set of properties of that change: start time, duration, expected effect, and so on. This is near-term horizon visibility.\n\nMetrics\n\nOne of the major ways we conduct a service-oriented discussion is by talking about the core metrics of the systems in question; see [Service Level Objectives](/sre-book/service-level-objectives/). Even if the systems didn't dramatically fail that week, it's very common to be in a position where you're looking at gradually (or sharply!) increasing load throughout the\nyear. Keeping track of how your latency figures, CPU utilization figures, etc., change over time is incredibly valuable for developing a feeling for the performance envelope of a system.\n\nSome teams track resource usage and efficiency, which is also a useful\nindicator of slower, perhaps more insidious system changes.\n\nOutages\n\nThis item addresses problems of approximately postmortem size, and is an indispensable opportunity for learning. A good postmortem analysis, as discussed in [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/), should always set the juices flowing.\n\nPaging events\n\nThese are pages from your monitoring system, relating to problems that *can* be postmortem worthy, but often aren't. In any event, while the Outages portion looks at the larger picture of an outage, this section looks at the tactical view: the list of pages, who was paged, what happened then, and so on. There are two implicit questions for this section: should that alert have paged in the way it did, and should it have paged at all? If the answer to the last question is no, remove those unactionable pages.\n\nNonpaging events\n\nThis bucket contains three items:\n\n*An issue that probably should have paged, but didn't*. In these cases, you should probably fix the monitoring so that such events do trigger a page. Often you encounter the issue while you're trying to fix something else, or it's related to a metric you're tracking but for which you haven't got an alert. *An issue that is not pageable but requires attention*, such as low-impact data corruption or slowness in some non-user-facing dimension of the system. Tracking reactive operational work is also appropriate here. *An issue that is not pageable and does not require attention*. These alerts should be removed, because they create extra noise that distracts engineers from issues that do merit attention.\n\nPrior action items\n\nThe preceding detailed discussions often lead to actions that SRE needs to take—fix this, monitor that, develop a subsystem to do the other. Track these improvements just as they would be tracked in any other meeting: assign action items to people and track their progress. It's a good idea to have an explicit agenda item that acts as a catchall, if nothing else. Consistent delivery is also a wonderful credibility and trust builder. It doesn't matter how such delivery is done, just that it *is* done.\n\n## Attendance\n\nAttendance is compulsory for all the members of the SRE team in question. This is particularly true if your team is spread across multiple countries and/or time zones, because this is your major opportunity to interact as a group.\n\nThe major stakeholders should also attend this meeting. Any partner product development teams you may have should also attend. Some SRE teams shard their meeting so SRE-only matters are kept to the first half; that practice is fine, as long as everyone, as stated previously, leaves with the same idea of what's going on. From time to time representatives from other SRE teams might turn up, particularly if there's some larger cross-team issue to discuss, but in general, the SRE team in question plus major other teams should attend. If your relationship is such that you cannot invite your product development partners, you need to fix that relationship: perhaps the first step is to invite a representative from that team, or to find a trusted intermediary to proxy communication or model healthy interactions. There are many reasons why teams don't get along, and a wealth of writing on how to solve that problem: this information is also applicable to SRE teams, but it is important that the end goal of having a feedback loop from operations is fulfilled, or a large part of the value of having an SRE team is lost.\n\nOccasionally you'll have too many teams or busy-yet-crucial attendees to invite. There are a number of techniques you can use to handle those situations:\n\n- Less active services might be attended by a single representative from the product development team, or only have commitment from the product development team to read and comment on the agenda minutes.\n- If the production development team is quite large, nominate a subset of representatives.\n- Busy-yet-crucial attendees can provide feedback and/or steering in advance to individuals, or using the prefilled agenda technique (described next).\n\nMost of the meeting strategies we've discussed are common sense, with a service-oriented twist. One\nunique spin on making meetings more efficient *and* more inclusive is to use the real-time collaborative features of Google Docs. Many SRE teams have such a doc, with a well-known address that anyone in engineering can access. Having such a doc enables two great practices:\n\n- Pre-populating the agenda with \"bottom up\" ideas, comments, and information.\n- Preparing the agenda in parallel *and* in advance is really efficient.\n\nFully use the multiple-person collaboration features enabled by the product. There's nothing quite like seeing a meeting chair type in a sentence, then seeing someone else supply a link to the source material in brackets after they have finished typing, and then seeing yet another person tidy up the spelling and grammar in the original sentence. Such collaboration gets stuff done faster, and makes more people feel like they own a slice of what the team does.\n\n# Collaboration within SRE\n\nObviously, Google is a multinational organization. Because of the emergency response and pager rotation component of our role, we have very good business reasons to be a distributed organization, separated by at least a few time zones. The practical impact of this distribution is that we have very fluid definitions for \"team\" compared to, for example, the average product development team. We have local teams, the team on the site, the cross-continental team, virtual teams of various sizes and coherence, and everything in between. This creates a cheerfully chaotic mix of responsibilities, skills, and opportunities. Much of the same dynamics could be expected to pertain to any sufficiently large company (although they might be particularly intense for tech companies). Given that most local collaboration faces no particular obstacle, the interesting case collaboration-wise is cross-team, cross-site, across a virtual team, and similar.\n\nThis pattern of distribution also informs how SRE teams tend to be organized. Because our *raison d'être* is bringing value through technical mastery, and technical mastery tends to be hard, we therefore try to find a way to have mastery over some related subset of systems or infrastructures, in order to decrease cognitive load. Specialization is one way of accomplishing this objective; i.e., team X works only on product Y. Specialization is good, because it leads to higher chances of improved technical mastery, but it's also bad, because it leads to siloization and ignorance of the broader picture. We try to have a crisp team charter to define what a team will—and more importantly, won't—support, but we don't always succeed.\n\n## Team Composition\n\nWe have a wide array of skill sets in SRE, ranging from systems engineering through software engineering, and into organization and management. The one thing we can say about collaboration is that your chances of successful collaboration—and indeed just about anything else—are improved by having more diversity in your team. There's a lot of evidence suggesting that diverse teams are simply better teams [[Nel14]](/sre-book/bibliography#Nel14). Running a diverse team implies particular attention to\ncommunication, cognitive biases, and so on, which we can't cover in detail here.\n\nFormally, SRE teams have the roles of \"tech lead\" (TL), \"manager\" (SRM), and \"project manager\" (also known as PM, TPM, PgM). Some people operate best when those roles have well-defined responsibilities: the major benefit of this being they can make in-scope decisions quickly and safely. Others operate best in a more fluid environment, with shifting responsibilities depending on dynamic negotiation. In general, the more fluid the team is, the more developed it is in terms of the capabilities of the individuals, and the more able the team is to adapt to new situations—but at the cost of having to communicate more and more often, because less background can be assumed.\n\nRegardless of how well these roles are defined, at a base level the tech lead is responsible for technical direction in the team, and can lead in a variety of ways—everything from carefully commenting on everyone's code, to holding quarterly direction presentations, to building consensus in the team. In Google, TLs can do almost all of a manager's job, because our managers are highly technical, but the manager has two special responsibilities that a TL doesn't have: the performance management function, and being a general catchall for everything that isn't handled by someone else. Great TLs, SRMs, and TPMs have a complete set of skills and can cheerfully turn their hand to organizing a project, commenting on a design doc, or writing code as necessary.\n\n## Techniques for Working Effectively\n\nThere are a number of ways to engineer effectively in SRE.\n\nIn general, singleton projects fail unless the person is particularly gifted or the problem is straightforward. To accomplish anything significant, you pretty much need multiple people. Therefore, you also need good collaboration skills. Again, lots of material has been written on this topic, and much of this literature is applicable to SRE.\n\nIn general, good SRE work calls for excellent communication skills when you're working outside the boundary of your purely local team. For collaborations outside the building, effectively working across time zones implies either great written communication, or lots of travel to supply the in-person experience that is deferrable but ultimately necessary for a high-quality relationship. Even if you're a great writer, over time you decay into just being an email address until you turn up in the flesh again.\n\n# Case Study of Collaboration in SRE: Viceroy\n\nOne example of a successful cross-SRE collaboration is a project called Viceroy, which is a monitoring dashboard framework and service. The current organizational architecture of SRE can end up with teams producing multiple, slightly different copies of the same piece of work; for various reasons, monitoring dashboard frameworks were a particularly fertile ground for duplication of work.148\n\nThe incentives that led to the serious litter problem of many smoldering, abandoned hulks of monitoring frameworks lying around were pretty simple: each team was rewarded for developing its own solution, working outside of the team boundary was hard, and the infrastructure that tended to be provided SRE-wide was typically closer to a toolkit than a product. This environment encouraged individual engineers to use the toolkit to make another burning wreck rather than fix the problem for the largest number of people possible (an effort that would therefore take much longer).\n\n## The Coming of the Viceroy\n\nViceroy was different. It began in 2012 when a number of teams were considering how to move to Monarch, the new monitoring system at Google. SRE is deeply conservative with respect to monitoring systems, so Monarch somewhat ironically took a longer while to get traction within SRE than within non-SRE teams. But no one could argue that our legacy monitoring system, Borgmon (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)), had no room for improvement. For example, our consoles were cumbersome because they used a custom HTML templating system that was special-cased, full of funky edge cases, and difficult to test. At that time, Monarch had matured enough to be accepted in principle as the replacement for the legacy system and was therefore being adopted by more and more teams across Google, but it turned out we still had a problem with consoles.\n\nThose of us who tried using Monarch for our services soon found that it fell short in its console support for two main reasons:\n\n- Consoles were easy to set up for a small service, but didn't scale well to services with complex consoles.\n- They also didn't support the legacy monitoring system, making the transition to Monarch very difficult.\n\nBecause no viable alternative to deploying Monarch in this way existed at the time, a number of team-specific projects launched. Since there was little enough in the way of coordinated development solutions or even cross-group tracking at the time (a problem that has since been fixed), we ended up duplicating efforts yet again. Multiple teams from Spanner, Ads Frontend, and a variety of other services spun up their own efforts (one notable example was called Consoles++) over the course of 12–18 months, and eventually sanity prevailed when engineers from all those teams woke up and discovered each other's respective efforts. They decided to do the sensible thing and join forces in order to create a general solution for all of SRE. Thus, the Viceroy project was born in mid\n2012.\n\nBy the beginning of 2013, Viceroy had started to gather interest from teams who had yet to move off the legacy system, but who were looking to put a toe in the water. Obviously, teams with larger existing monitoring projects had fewer incentives to move to the new system: it was hard for these teams to rationalize jettisoning the low maintenance cost for their existing solution that basically worked fine, for something relatively new and unproven that would require lots of effort to make work. The sheer diversity of requirements added to the reluctance of these teams, even though all monitoring console projects shared two main requirements, notably:\n\n- Support complex curated dashboards\n- Support both Monarch and the legacy monitoring system\n\nEach project *also* had its own set of technical requirements, which depended on the author's preference or experience. For example:\n\n- Multiple data sources outside the core monitoring systems\n- Definition of consoles using configuration versus explicit HTML layout\n- No JavaScript versus full embrace of JavaScript with AJAX\n- Sole use of static content, so the consoles can be cached in the browser\n\nAlthough some of these requirements were stickier than others, overall they made merging efforts difficult. Indeed, although the Consoles++ team was interested in seeing how their project compared to Viceroy, their initial examination in the first half of\n2013 determined that the fundamental differences between the two projects were significant enough to prevent integration. The largest\ndifficulty was that Viceroy by design did not use much JavaScript, while Consoles++ was mostly written in JavaScript. There was a\nglimmer of hope, however, in that the two systems did have a number of underlying similarities:\n\n- They used similar syntaxes for HTML template rendering.\n- They shared a number of long-term goals, which neither team had yet begun to address. For example, both systems wanted to cache monitoring data and support an offline pipeline to periodically produce data that the console can use, but was too computationally expensive to produce on demand.\n\nWe ended up parking the unified console discussion for a while. However, by the end of 2013, both Consoles++ and Viceroy\nhad developed significantly. Their technical differences had narrowed, because Viceroy had started using JavaScript to render its monitoring graphs. The two teams met and figured out that integration was a lot easier, now that integration boiled down to serving the\nConsoles++ data out of the Viceroy server. The first integrated prototypes were completed in early 2014, and proved that the systems\ncould work well together. Both teams felt comfortable committing to a joint effort at that point, and because Viceroy had already established its brand as a common monitoring solution, the combined project retained the Viceroy name. Developing full functionality took a few quarters, but by the end of 2014, the combined system was complete.\n\nJoining forces reaped huge benefits:\n\n- Viceroy received a host of data sources and the JavaScript clients to access them.\n- JavaScript compilation was rewritten to support separate modules that can be selectively included. This is essential to scale the system to any number of teams with their own JavaScript code.\n- Consoles++ benefited from the many improvements actively being made to Viceroy, such as the addition of its cache and\nbackground data pipeline.\n- Overall, the development velocity on *one* solution was much larger than the sum of all the development velocity of the duplicative projects.\n\nUltimately, the common future vision was the key factor in combining the projects. Both teams found value in expanding their development team and benefited from each other's contributions. The momentum was such that, by the end of 2014, Viceroy was officially declared the general monitoring solution for all of SRE. Perhaps characteristically for Google, this declaration didn't require that teams adopt Viceroy: rather, it recommended that teams should use Viceroy instead of writing another monitoring console.\n\n## Challenges\n\nWhile ultimately a success, Viceroy was not without difficulties, and many of those arose due to the cross-site nature of the project.\n\nOnce the extended Viceroy team was established, initial coordination among remote team members proved difficult. When meeting people for the first time, subtle cues in writing and speaking can be misinterpreted, because communication styles vary substantially from person to person. At the start of the project, team members who weren't located in Mountain View also missed out on the impromptu water cooler discussions that often happened shortly before and after meetings (although communication has since improved considerably).\n\nWhile the core Viceroy team remained fairly consistent, the extended team of contributors was fairly dynamic. Contributors had other responsibilities that changed over time, and therefore many were able to dedicate between one and three months to the project. Thus, the developer contributor pool, which was inherently larger than the core Viceroy team, was characterized by a significant amount of churn.\n\nAdding new people to the project required training each contributor on the overall design and structure of the system, which took some time. On the other hand, when an SRE contributed to the core functionality of Viceroy and later returned to their own team, they were a local expert on the system. That unanticipated dissemination of local Viceroy experts drove more usage and adoption.\n\nAs people joined and left the team, we found that casual contributions were both useful and costly. The primary cost was the dilution of ownership: once features were delivered and the person left, the features became unsupported over time, and were generally dropped.\n\nFurthermore, the scope of the Viceroy project grew over time. It had ambitious goals at launch but the initial *scope* was limited. As the scope grew, however, we struggled to deliver core features on time, and had to improve project management and set clearer direction to ensure the project stayed on track.\n\nFinally, the Viceroy team found it difficult to completely own a component that had significant (determining) contributions from distributed sites. Even with the best will in the world, people generally default to the path of least resistance and discuss issues or make decisions locally without involving the remote owners, which can lead to conflict.\n\n## Recommendations\n\nYou should only develop projects cross-site when you have to, but often there are good reasons to have to. The cost of working across sites is higher latency for actions and more communication being required; the benefit is—if you get the mechanics right—much higher throughput. The single site project can also fall foul of no one outside of that site knowing what you're doing, so there are costs to both approaches.\n\nMotivated contributors are valuable, but not all contributions are equally valuable. Make sure project contributors are actually committed, and aren't just joining with some nebulous self-actualization goal (wanting to earn a notch on their belt\nattaching their name to a shiny project; wanting to code on a new exciting project without committing to maintaining that project).\nContributors with a specific goal to achieve will generally be better motivated and will better maintain their contributions.\n\nAs projects develop, they usually grow, and you're not always in the lucky position of having people in your local team to contribute to the project. Therefore, think carefully about the project structure. The project leaders are important: they provide long-term vision for the project and make sure all work aligns with that vision and is prioritized correctly. You also need to have an agreed way of making decisions, and should specifically optimize for making more decisions locally if there is a high level of agreement and trust.\n\nThe standard \"divide and conquer\" strategy applies to cross-site projects; you reduce communication costs primarily by splitting the project into as many reasonably sized components as possible, and trying to make sure that each component can be assigned to a small group, preferably within one site. Divide these components among the project subteams, and establish clear deliverables and deadlines. (Try not to let Conway's law distort the natural shape of the software too deeply.)149\n\nA goal for a project team works best when it's oriented toward providing some functionality or solving some problem. This approach ensures that the individuals working on a component know what is expected of them, and that their work is only complete once that component is fully integrated and used within the main project.\n\nObviously, the usual engineering best practices apply to collaborative projects: each component should have design documents and reviews with the team. In this way, everyone in the team is given the opportunity to stay abreast of changes, in addition to the chance to influence and improve designs. Writing things down is one of the major techniques you have to offset physical and/or logical distance—use it.\n\nStandards are important. Coding style guidelines are a good start, but they're usually quite tactical and therefore only a starting point for establishing team norms. Every time there is a debate around which choice to make on an issue, argue it out fully with the team but with a strict time limit. Then pick a solution, document it, and move on. If you can't agree, you need to pick some arbitrator that everyone respects, and again just move forward. Over time you'll build up a collection of these best practices, which will help new people come up to speed.\n\nUltimately, there's no substitute for in-person interaction, although some portion of face-to-face interaction can be deferred by good use of VC and good written communication. If you can, have the leaders of the project meet the rest of the team in person. If time and budget allows, organize a team summit so that all members of the team can interact in person. A summit also provides a great opportunity to hash out designs and goals. For situations where neutrality is important, it's advantageous to hold team summits at a neutral location so that no individual site has the \"home advantage.\"\n\nFinally, use the project management style that suits the project in its current state. Even projects with ambitious goals will start out small, so the overhead should be correspondingly low. As the project grows, it's appropriate to adapt and change how the project is managed. Given sufficient growth, full project management will be necessary.\n\n# Collaboration Outside SRE\n\nAs we suggested, and [The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/) discusses, collaboration between the product development organization and SRE is really at its best when it occurs early on in the design phase, ideally before any line of code has been committed. SREs are best placed to make recommendations about architecture and software behavior that can be quite difficult (if not impossible) to retrofit. Having that voice present in the room when a new system is being designed goes better for everyone. Broadly speaking, we use the Objectives & Key Results (OKR) process [[Kla12]](/sre-book/bibliography#Kla12) to track such work. For some service teams, such collaboration is the mainstay of what they do—tracking new designs,\nmaking recommendations, helping to implement them, and seeing those through to production.\n\n# Case Study: Migrating DFP to F1\n\nLarge migration projects of existing services are quite common at Google. Typical examples include porting service components to a new technology or updating components to support a new data format. With\nthe recent introduction of database technologies that can scale to a global level such as Spanner [[Cor12]](/sre-book/bibliography#Cor12) and F1 [[Shu13]](/sre-book/bibliography#Shu13), Google has undertaken a number of large-scale migration projects involving databases. One such project was the migration of the main database of DoubleClick for Publishers (DFP)150 from MySQL to F1. In particular, some of this chapter's authors were in charge of a portion of the serving system (shown in Figure 31-1) that continually extracts and processes data from the database, in order to generate a set of indexed files that are then loaded and served around the world. This system was distributed over several datacenters and used about 1,000 CPUs and 8 TB of RAM to index 100 TB of data every day.\n\nThe migration was nontrivial: in addition to migrating to a new technology, the database schema was significantly refactored and\nsimplified thanks to the ability of F1 to store and index protocol buffer data in table columns. The goal was to migrate the processing\nsystem so that it could produce an output perfectly identical to the existing system. This allowed us to leave the serving system untouched and to perform, from the user's perspective, a seamless migration. As an added restriction, the product required that we complete a live migration without any disruption of the service to our users at any time. In order to achieve this, the product\ndevelopment team and the SRE team started working closely, from the very beginning, to develop the new indexing service.\n\nAs its main developers, product development teams are typically more familiar with the Business Logic (BL) of the software, and are also in closer contact with the Product Managers and the actual \"business need\" component of products. On the other hand, SRE teams usually have more expertise pertaining to the infrastructure components of the software (e.g., libraries to talk to distributed storage systems or databases), because SREs often reuse the same building blocks across different services, learning the many caveats and nuances that allow the software to run scalably and reliably over time.\n\nFrom the start of the migration project, product development and SRE knew they would have to collaborate even more closely, conducting weekly meetings to sync on the project's progress. In this particular case the BL changes were partially dependent upon infrastructure changes. For this reason the project started with the design of the new infrastructure; the SREs, who had extensive knowledge about the domain of extracting and processing data at scale, drove the design of the infrastructure changes. This involved designing how to extract the various tables from F1, how to filter and join the data, how to extract only the data that changed (as opposed to the entire database), how to sustain the loss of some of the machines without impacting the service, how to ensure that the resource usage grows linearly with the amount of extracted data, the capacity planning, and many other similar aspects. The new proposed infrastructure was similar to other services that were already extracting and processing data from F1. Therefore, we could be sure of the soundness of the solution and reuse parts of the monitoring and tooling.\n\nBefore proceeding with the development of this new infrastructure, two SREs produced a detailed design document. Then, both the product development and SRE teams thoroughly reviewed the document, tweaking the solution to handle some edge cases, and eventually agreed on a design plan. Such a plan clearly identified what kind of changes the new infrastructure would bring to the BL. For example, we designed the new infrastructure to extract only changed data, instead of repeatedly extracting the entire database; the BL had to take into account this new approach. Early on, we defined the new interfaces between infrastructure and BL, and doing so allowed the product development team to work independently on the BL changes. Similarly, the product development team kept SRE informed of BL changes. Where they interacted (e.g., BL changes dependent on infrastructure), this coordination structure allowed us to know changes were happening, and to handle them quickly and correctly.\n\nIn later phases of the project, SREs began deploying the new service in a testing environment that resembled the project's eventual finished production environment. This step was essential to measure the expected behavior of the service—in particular, performance and resource utilization—while the development of BL was still underway. The product development team used this testing environment to perform validation of the new service: the index of the ads produced by the old service (running in production) had to match perfectly the index produced by the new service (running in the testing environment). As suspected, the validation process highlighted discrepancies between the old and new services (due to some edge cases in the new data format), which the product development team was able to resolve iteratively: for each ad they debugged the cause of the difference and fixed the BL that produced the bad output. In the meantime, the SRE team began preparing the production environment: allocating the necessary resources in a different datacenter, setting up processes and monitoring rules, and training the engineers designated to be on-call for the service. The SRE team also set up a basic release process that included validation, a task usually completed by the product development team or by Release Engineers but in this specific case was completed by SREs to speed up the migration.\n\nWhen the service was ready the SREs prepared a rollout plan in collaboration with the product development team and launched the new service. The launch was very successful and proceeded smoothly, without any visible user impact.\n\n# Conclusion\n\nGiven the globally distributed nature of SRE teams, effective communication has always been a high priority in SRE. This chapter has discussed the tools and techniques that SRE teams use to maintain effective relationships among their team and with their various partner teams.\n\nCollaboration between SRE teams has its challenges, but potentially great rewards, including common approaches to platforms for solving problems, letting us focus on solving more difficult problems.\n\n146And, as we all know, culture beats strategy every time: [[Mer11]](/sre-book/bibliography#Mer11).\n\n147The larger team generally tends to unintentionally talk over the smaller team, it's more difficult to control distracting side conversations, etc.\n\n148In this particular case, the road to hell was indeed paved with JavaScript.\n\n149That is, software has the same structure as the communications structure of the organization that produces the software—see [*https://en.wikipedia.org/wiki/Conway%27s_law*](https://en.wikipedia.org/wiki/Conway%27s_law).\n\n150DoubleClick for Publishers is a tool for publishers to manage ads served on their websites and in their apps.", "znaku_textu": 39785, "slov": 6333, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:52", "sha256": "8cbfc268d31b411baa6ac17219b9d7263948089505bf35ea8480f877913a067d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Conway's_law", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/communication-and-collaboration/", "titulek": "Google SRE - Strong SRE Team Collaboration and Communication", "h1": "Communication and Collaboration in SRE", "popis": "Explore how SRE teams at Google communicate and collaborate across diverse roles, ensuring reliability and efficienct in fast moving environments.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/communication-and-collaboration/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/communication-and-collaboration/"}, "headline": "Communication and Collaboration in SRE", "description": "The organizational position of SRE in Google is interesting, and has effects on how we communicate and collaborate. The two preceding facts have steered the SRE organization in certain directions when it comes to two crucial dimensions of how our teams operate - communications and collaboration.", "image": "https://lh3.googleusercontent.com/qRa1emw4KoTR5hOD3BrAmrlWOVrMjmrcSVgBn9-59qrvElYcGfZHyuBJqqyBUT3w11i2vSU2wbWpbmyqyt2KWO0ZGM0g1uahnwrg_cU", "author": [{"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Alex Rodriguez"}, {"@type": "Person", "name": "Carl Crous"}, {"@type": "Person", "name": "Dario Freni"}, {"@type": "Person", "name": "Dylan Curley"}, {"@type": "Person", "name": "Lorenzo Blanco"}, {"@type": "Person", "name": "Todd Underwood"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Communication and Collaboration in SRE"}, {"uroven": 2, "text": "Communications: Production Meetings"}, {"uroven": 2, "text": "Agenda"}, {"uroven": 2, "text": "Attendance"}, {"uroven": 1, "text": "Collaboration within SRE"}, {"uroven": 2, "text": "Team Composition"}, {"uroven": 2, "text": "Techniques for Working Effectively"}, {"uroven": 1, "text": "Case Study of Collaboration in SRE: Viceroy"}, {"uroven": 2, "text": "The Coming of the Viceroy"}, {"uroven": 2, "text": "Challenges"}, {"uroven": 2, "text": "Recommendations"}, {"uroven": 1, "text": "Collaboration Outside SRE"}, {"uroven": 1, "text": "Case Study: Migrating DFP to F1"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Communication and Collaboration in SRE\n\nWritten by Niall Murphy with Alex Rodriguez, Carl Crous, Dario Freni, Dylan Curley, Lorenzo Blanco, and Todd Underwood\nEdited by Betsy Beyer\n\nThe organizational position of SRE in Google is interesting, and has effects on how we communicate and collaborate.\n\nTo begin with, there is a tremendous diversity in what SRE does, and how we do it. We have infrastructural teams, service teams, and horizontal product teams. We have relationships with product development teams ranging from teams that are many times our size, to\nteams roughly the same size as their counterparts, and situations in which we *are* the product development team. SRE teams are made up of people with systems engineering or architectural skills (see [[Hix15b]](/sre-book/bibliography#Hix15b)), software engineering skills, project management skills, leadership instincts, backgrounds in all kinds of industries (see\n[Lessons Learned from Other Industries](/sre-book/lessons-learned/)), and so on. We don't have just one model, and we have found a variety of configurations that work; this flexibility suits our ultimately pragmatic nature.\n\nIt's also true that SRE is not a command-and-control organization. Generally, we owe allegiance to at least two masters: for service or infrastructure [SRE teams](../../sre-book/part-II-principles/), we work closely with the corresponding product development teams that work on those services or that infrastructure; we also obviously work in the context of SRE generally. The service relationship is very strong, since we are held\naccountable for the performance of those systems, but despite that relationship, our actual reporting lines are through SRE as a\nwhole. Today, we spend more time supporting our individual services than on cross-production work, but our culture and our shared values produce strongly homogeneous approaches to problems. This is by design.146\n\nThe two preceding facts have steered the SRE organization in certain directions when it comes to two crucial dimensions of how our teams operate—communications and collaboration. Data flow would be an apt computing metaphor for our communications: just like data must flow around production, data also has to flow around an SRE team—data about projects, the state of the services, production, and the state of the individuals. For maximum effectiveness of a team, the data has to flow in reliable ways from one interested party to another. One way to think of this flow is to think of the interface that an SRE team must present to other teams, such as an API. Just like an API, a good design is crucial for effective operation, and if the API is wrong, it can be painful to correct later on.\n\nThe API-as-contract metaphor is also relevant for collaboration, both among SRE teams, and between SRE and product development teams—all have to make progress in an environment of unrelenting change. To that extent, our collaboration looks quite like collaboration in any other fast-moving company. The difference is the mix of software engineering skills, systems engineering expertise, and the wisdom of production experience that SRE brings to bear on that collaboration. The best designs and the best\nimplementations result from the joint concerns of production and the product being met in an atmosphere of mutual respect. This is the\npromise of SRE: an organization charged with reliability, with the same skills as the product development teams, will improve things\nmeasurably. Our experience suggests that simply having someone in charge of reliability, without also having the complete skill set, is\nnot enough.\n\n## Communications: Production Meetings\n\nAlthough literature about running effective meetings abounds [[Kra08]](/sre-book/bibliography#Kra08), it's difficult to find someone who's lucky enough to *only* have useful, effective meetings. This is equally true for SRE.\n\nHowever, there's one kind of meeting that we have that is more useful than the average, called a *production meeting*. Production meetings are a special kind of meeting where an SRE team carefully articulates to itself—and to its invitees—the state of the service(s) in their charge, so as to increase general awareness among everyone who cares, and to improve the operation of the service(s). In general, these meetings are *service-oriented*; they are not directly about the status updates of individuals. The goal is for everyone to leave the meeting with an idea of what's going on—the *same* idea. The other major goal of production meetings is to improve our services by bringing the wisdom of production to bear on our services. That means we talk in detail about the operational performance of the service, and relate that operational performance to design, configuration, or implementation, and make recommendations for how to fix the problems. Connecting the performance of the service with design decisions in a regular meeting is an immensely powerful feedback loop.\n\nOur production meetings usually happen weekly; given SRE's antipathy to pointless meetings, this frequency seems to be just about right: time to allow enough relevant material to accumulate to make the meeting worthwhile, while not so frequent that people find excuses to not attend. They usually last somewhere between 30 and 60 minutes. Any less and you're probably cutting something unnecessarily short, or you should probably be growing your service portfolio. Any more and you're probably getting mired in the detail, or you've got too much to talk about and you should shard the team or service set.\n\nJust like any other meeting, the production meeting should have a chair. Many SRE teams rotate the chair through various team members, which has the advantage of making everyone feel they have a stake in the service and some notional ownership of the issues. It's true that not everyone has equal levels of chairing skill, but the value of group ownership is so large that the trade-off of temporary suboptimality is worthwhile. Furthermore, this is a chance to instill chairing skills, which are very useful in the kind of incident coordination situations commonly faced by SRE.\n\nIn cases where two SRE teams are meeting by video, and one of the teams is much larger than the other, we have noticed an interesting dynamic at play. We recommend placing your chair on the *smaller* side of the call by default. The larger side naturally tends to quiet down and some of the bad effects of imbalanced team sizes (made worse by the delays inherent in video conferencing) will improve.147 We have no idea if this technique has any scientific basis, but it does tend to work.\n\n## Agenda\n\nThere are many ways to run a production meeting, attesting to the diversity of what SRE looks after and how we do it. To that\nextent, it's not appropriate to be prescriptive on how to run one of these meetings. However, a default agenda (see [Example Production Meeting Minutes](/sre-book/production-meeting/) for an example) might look something like the following:\n\nUpcoming production changes\n\nChange-tracking meetings are well known throughout the industry, and indeed whole meetings have often been devoted to stopping change. However, in our production environment, we usually default to enabling change, which requires tracking the useful set of properties of that change: start time, duration, expected effect, and so on. This is near-term horizon visibility.\n\nMetrics\n\nOne of the major ways we conduct a service-oriented discussion is by talking about the core metrics of the systems in question; see [Service Level Objectives](/sre-book/service-level-objectives/). Even if the systems didn't dramatically fail that week, it's very common to be in a position where you're looking at gradually (or sharply!) increasing load throughout the\nyear. Keeping track of how your latency figures, CPU utilization figures, etc., change over time is incredibly valuable for developing a feeling for the performance envelope of a system.\n\nSome teams track resource usage and efficiency, which is also a useful\nindicator of slower, perhaps more insidious system changes.\n\nOutages\n\nThis item addresses problems of approximately postmortem size, and is an indispensable opportunity for learning. A good postmortem analysis, as discussed in [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/), should always set the juices flowing.\n\nPaging events\n\nThese are pages from your monitoring system, relating to problems that *can* be postmortem worthy, but often aren't. In any event, while the Outages portion looks at the larger picture of an outage, this section looks at the tactical view: the list of pages, who was paged, what happened then, and so on. There are two implicit questions for this section: should that alert have paged in the way it did, and should it have paged at all? If the answer to the last question is no, remove those unactionable pages.\n\nNonpaging events\n\nThis bucket contains three items:\n\n*An issue that probably should have paged, but didn't*. In these cases, you should probably fix the monitoring so that such events do trigger a page. Often you encounter the issue while you're trying to fix something else, or it's related to a metric you're tracking but for which you haven't got an alert. *An issue that is not pageable but requires attention*, such as low-impact data corruption or slowness in some non-user-facing dimension of the system. Tracking reactive operational work is also appropriate here. *An issue that is not pageable and does not require attention*. These alerts should be removed, because they create extra noise that distracts engineers from issues that do merit attention.\n\nPrior action items\n\nThe preceding detailed discussions often lead to actions that SRE needs to take—fix this, monitor that, develop a subsystem to do the other. Track these improvements just as they would be tracked in any other meeting: assign action items to people and track their progress. It's a good idea to have an explicit agenda item that acts as a catchall, if nothing else. Consistent delivery is also a wonderful credibility and trust builder. It doesn't matter how such delivery is done, just that it *is* done.\n\n## Attendance\n\nAttendance is compulsory for all the members of the SRE team in question. This is particularly true if your team is spread across multiple countries and/or time zones, because this is your major opportunity to interact as a group.\n\nThe major stakeholders should also attend this meeting. Any partner product development teams you may have should also attend. Some SRE teams shard their meeting so SRE-only matters are kept to the first half; that practice is fine, as long as everyone, as stated previously, leaves with the same idea of what's going on. From time to time representatives from other SRE teams might turn up, particularly if there's some larger cross-team issue to discuss, but in general, the SRE team in question plus major other teams should attend. If your relationship is such that you cannot invite your product development partners, you need to fix that relationship: perhaps the first step is to invite a representative from that team, or to find a trusted intermediary to proxy communication or model healthy interactions. There are many reasons why teams don't get along, and a wealth of writing on how to solve that problem: this information is also applicable to SRE teams, but it is important that the end goal of having a feedback loop from operations is fulfilled, or a large part of the value of having an SRE team is lost.\n\nOccasionally you'll have too many teams or busy-yet-crucial attendees to invite. There are a number of techniques you can use to handle those situations:\n\n- Less active services might be attended by a single representative from the product development team, or only have commitment from the product development team to read and comment on the agenda minutes.\n- If the production development team is quite large, nominate a subset of representatives.\n- Busy-yet-crucial attendees can provide feedback and/or steering in advance to individuals, or using the prefilled agenda technique (described next).\n\nMost of the meeting strategies we've discussed are common sense, with a service-oriented twist. One\nunique spin on making meetings more efficient *and* more inclusive is to use the real-time collaborative features of Google Docs. Many SRE teams have such a doc, with a well-known address that anyone in engineering can access. Having such a doc enables two great practices:\n\n- Pre-populating the agenda with \"bottom up\" ideas, comments, and information.\n- Preparing the agenda in parallel *and* in advance is really efficient.\n\nFully use the multiple-person collaboration features enabled by the product. There's nothing quite like seeing a meeting chair type in a sentence, then seeing someone else supply a link to the source material in brackets after they have finished typing, and then seeing yet another person tidy up the spelling and grammar in the original sentence. Such collaboration gets stuff done faster, and makes more people feel like they own a slice of what the team does.\n\n# Collaboration within SRE\n\nObviously, Google is a multinational organization. Because of the emergency response and pager rotation component of our role, we have very good business reasons to be a distributed organization, separated by at least a few time zones. The practical impact of this distribution is that we have very fluid definitions for \"team\" compared to, for example, the average product development team. We have local teams, the team on the site, the cross-continental team, virtual teams of various sizes and coherence, and everything in between. This creates a cheerfully chaotic mix of responsibilities, skills, and opportunities. Much of the same dynamics could be expected to pertain to any sufficiently large company (although they might be particularly intense for tech companies). Given that most local collaboration faces no particular obstacle, the interesting case collaboration-wise is cross-team, cross-site, across a virtual team, and similar.\n\nThis pattern of distribution also informs how SRE teams tend to be organized. Because our *raison d'être* is bringing value through technical mastery, and technical mastery tends to be hard, we therefore try to find a way to have mastery over some related subset of systems or infrastructures, in order to decrease cognitive load. Specialization is one way of accomplishing this objective; i.e., team X works only on product Y. Specialization is good, because it leads to higher chances of improved technical mastery, but it's also bad, because it leads to siloization and ignorance of the broader picture. We try to have a crisp team charter to define what a team will—and more importantly, won't—support, but we don't always succeed.\n\n## Team Composition\n\nWe have a wide array of skill sets in SRE, ranging from systems engineering through software engineering, and into organization and management. The one thing we can say about collaboration is that your chances of successful collaboration—and indeed just about anything else—are improved by having more diversity in your team. There's a lot of evidence suggesting that diverse teams are simply better teams [[Nel14]](/sre-book/bibliography#Nel14). Running a diverse team implies particular attention to\ncommunication, cognitive biases, and so on, which we can't cover in detail here.\n\nFormally, SRE teams have the roles of \"tech lead\" (TL), \"manager\" (SRM), and \"project manager\" (also known as PM, TPM, PgM). Some people operate best when those roles have well-defined responsibilities: the major benefit of this being they can make in-scope decisions quickly and safely. Others operate best in a more fluid environment, with shifting responsibilities depending on dynamic negotiation. In general, the more fluid the team is, the more developed it is in terms of the capabilities of the individuals, and the more able the team is to adapt to new situations—but at the cost of having to communicate more and more often, because less background can be assumed.\n\nRegardless of how well these roles are defined, at a base level the tech lead is responsible for technical direction in the team, and can lead in a variety of ways—everything from carefully commenting on everyone's code, to holding quarterly direction presentations, to building consensus in the team. In Google, TLs can do almost all of a manager's job, because our managers are highly technical, but the manager has two special responsibilities that a TL doesn't have: the performance management function, and being a general catchall for everything that isn't handled by someone else. Great TLs, SRMs, and TPMs have a complete set of skills and can cheerfully turn their hand to organizing a project, commenting on a design doc, or writing code as necessary.\n\n## Techniques for Working Effectively\n\nThere are a number of ways to engineer effectively in SRE.\n\nIn general, singleton projects fail unless the person is particularly gifted or the problem is straightforward. To accomplish anything significant, you pretty much need multiple people. Therefore, you also need good collaboration skills. Again, lots of material has been written on this topic, and much of this literature is applicable to SRE.\n\nIn general, good SRE work calls for excellent communication skills when you're working outside the boundary of your purely local team. For collaborations outside the building, effectively working across time zones implies either great written communication, or lots of travel to supply the in-person experience that is deferrable but ultimately necessary for a high-quality relationship. Even if you're a great writer, over time you decay into just being an email address until you turn up in the flesh again.\n\n# Case Study of Collaboration in SRE: Viceroy\n\nOne example of a successful cross-SRE collaboration is a project called Viceroy, which is a monitoring dashboard framework and service. The current organizational architecture of SRE can end up with teams producing multiple, slightly different copies of the same piece of work; for various reasons, monitoring dashboard frameworks were a particularly fertile ground for duplication of work.148\n\nThe incentives that led to the serious litter problem of many smoldering, abandoned hulks of monitoring frameworks lying around were pretty simple: each team was rewarded for developing its own solution, working outside of the team boundary was hard, and the infrastructure that tended to be provided SRE-wide was typically closer to a toolkit than a product. This environment encouraged individual engineers to use the toolkit to make another burning wreck rather than fix the problem for the largest number of people possible (an effort that would therefore take much longer).\n\n## The Coming of the Viceroy\n\nViceroy was different. It began in 2012 when a number of teams were considering how to move to Monarch, the new monitoring system at Google. SRE is deeply conservative with respect to monitoring systems, so Monarch somewhat ironically took a longer while to get traction within SRE than within non-SRE teams. But no one could argue that our legacy monitoring system, Borgmon (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)), had no room for improvement. For example, our consoles were cumbersome because they used a custom HTML templating system that was special-cased, full of funky edge cases, and difficult to test. At that time, Monarch had matured enough to be accepted in principle as the replacement for the legacy system and was therefore being adopted by more and more teams across Google, but it turned out we still had a problem with consoles.\n\nThose of us who tried using Monarch for our services soon found that it fell short in its console support for two main reasons:\n\n- Consoles were easy to set up for a small service, but didn't scale well to services with complex consoles.\n- They also didn't support the legacy monitoring system, making the transition to Monarch very difficult.\n\nBecause no viable alternative to deploying Monarch in this way existed at the time, a number of team-specific projects launched. Since there was little enough in the way of coordinated development solutions or even cross-group tracking at the time (a problem that has since been fixed), we ended up duplicating efforts yet again. Multiple teams from Spanner, Ads Frontend, and a variety of other services spun up their own efforts (one notable example was called Consoles++) over the course of 12–18 months, and eventually sanity prevailed when engineers from all those teams woke up and discovered each other's respective efforts. They decided to do the sensible thing and join forces in order to create a general solution for all of SRE. Thus, the Viceroy project was born in mid\n2012.\n\nBy the beginning of 2013, Viceroy had started to gather interest from teams who had yet to move off the legacy system, but who were looking to put a toe in the water. Obviously, teams with larger existing monitoring projects had fewer incentives to move to the new system: it was hard for these teams to rationalize jettisoning the low maintenance cost for their existing solution that basically worked fine, for something relatively new and unproven that would require lots of effort to make work. The sheer diversity of requirements added to the reluctance of these teams, even though all monitoring console projects shared two main requirements, notably:\n\n- Support complex curated dashboards\n- Support both Monarch and the legacy monitoring system\n\nEach project *also* had its own set of technical requirements, which depended on the author's preference or experience. For example:\n\n- Multiple data sources outside the core monitoring systems\n- Definition of consoles using configuration versus explicit HTML layout\n- No JavaScript versus full embrace of JavaScript with AJAX\n- Sole use of static content, so the consoles can be cached in the browser\n\nAlthough some of these requirements were stickier than others, overall they made merging efforts difficult. Indeed, although the Consoles++ team was interested in seeing how their project compared to Viceroy, their initial examination in the first half of\n2013 determined that the fundamental differences between the two projects were significant enough to prevent integration. The largest\ndifficulty was that Viceroy by design did not use much JavaScript, while Consoles++ was mostly written in JavaScript. There was a\nglimmer of hope, however, in that the two systems did have a number of underlying similarities:\n\n- They used similar syntaxes for HTML template rendering.\n- They shared a number of long-term goals, which neither team had yet begun to address. For example, both systems wanted to cache monitoring data and support an offline pipeline to periodically produce data that the console can use, but was too computationally expensive to produce on demand.\n\nWe ended up parking the unified console discussion for a while. However, by the end of 2013, both Consoles++ and Viceroy\nhad developed significantly. Their technical differences had narrowed, because Viceroy had started using JavaScript to render its monitoring graphs. The two teams met and figured out that integration was a lot easier, now that integration boiled down to serving the\nConsoles++ data out of the Viceroy server. The first integrated prototypes were completed in early 2014, and proved that the systems\ncould work well together. Both teams felt comfortable committing to a joint effort at that point, and because Viceroy had already established its brand as a common monitoring solution, the combined project retained the Viceroy name. Developing full functionality took a few quarters, but by the end of 2014, the combined system was complete.\n\nJoining forces reaped huge benefits:\n\n- Viceroy received a host of data sources and the JavaScript clients to access them.\n- JavaScript compilation was rewritten to support separate modules that can be selectively included. This is essential to scale the system to any number of teams with their own JavaScript code.\n- Consoles++ benefited from the many improvements actively being made to Viceroy, such as the addition of its cache and\nbackground data pipeline.\n- Overall, the development velocity on *one* solution was much larger than the sum of all the development velocity of the duplicative projects.\n\nUltimately, the common future vision was the key factor in combining the projects. Both teams found value in expanding their development team and benefited from each other's contributions. The momentum was such that, by the end of 2014, Viceroy was officially declared the general monitoring solution for all of SRE. Perhaps characteristically for Google, this declaration didn't require that teams adopt Viceroy: rather, it recommended that teams should use Viceroy instead of writing another monitoring console.\n\n## Challenges\n\nWhile ultimately a success, Viceroy was not without difficulties, and many of those arose due to the cross-site nature of the project.\n\nOnce the extended Viceroy team was established, initial coordination among remote team members proved difficult. When meeting people for the first time, subtle cues in writing and speaking can be misinterpreted, because communication styles vary substantially from person to person. At the start of the project, team members who weren't located in Mountain View also missed out on the impromptu water cooler discussions that often happened shortly before and after meetings (although communication has since improved considerably).\n\nWhile the core Viceroy team remained fairly consistent, the extended team of contributors was fairly dynamic. Contributors had other responsibilities that changed over time, and therefore many were able to dedicate between one and three months to the project. Thus, the developer contributor pool, which was inherently larger than the core Viceroy team, was characterized by a significant amount of churn.\n\nAdding new people to the project required training each contributor on the overall design and structure of the system, which took some time. On the other hand, when an SRE contributed to the core functionality of Viceroy and later returned to their own team, they were a local expert on the system. That unanticipated dissemination of local Viceroy experts drove more usage and adoption.\n\nAs people joined and left the team, we found that casual contributions were both useful and costly. The primary cost was the dilution of ownership: once features were delivered and the person left, the features became unsupported over time, and were generally dropped.\n\nFurthermore, the scope of the Viceroy project grew over time. It had ambitious goals at launch but the initial *scope* was limited. As the scope grew, however, we struggled to deliver core features on time, and had to improve project management and set clearer direction to ensure the project stayed on track.\n\nFinally, the Viceroy team found it difficult to completely own a component that had significant (determining) contributions from distributed sites. Even with the best will in the world, people generally default to the path of least resistance and discuss issues or make decisions locally without involving the remote owners, which can lead to conflict.\n\n## Recommendations\n\nYou should only develop projects cross-site when you have to, but often there are good reasons to have to. The cost of working across sites is higher latency for actions and more communication being required; the benefit is—if you get the mechanics right—much higher throughput. The single site project can also fall foul of no one outside of that site knowing what you're doing, so there are costs to both approaches.\n\nMotivated contributors are valuable, but not all contributions are equally valuable. Make sure project contributors are actually committed, and aren't just joining with some nebulous self-actualization goal (wanting to earn a notch on their belt\nattaching their name to a shiny project; wanting to code on a new exciting project without committing to maintaining that project).\nContributors with a specific goal to achieve will generally be better motivated and will better maintain their contributions.\n\nAs projects develop, they usually grow, and you're not always in the lucky position of having people in your local team to contribute to the project. Therefore, think carefully about the project structure. The project leaders are important: they provide long-term vision for the project and make sure all work aligns with that vision and is prioritized correctly. You also need to have an agreed way of making decisions, and should specifically optimize for making more decisions locally if there is a high level of agreement and trust.\n\nThe standard \"divide and conquer\" strategy applies to cross-site projects; you reduce communication costs primarily by splitting the project into as many reasonably sized components as possible, and trying to make sure that each component can be assigned to a small group, preferably within one site. Divide these components among the project subteams, and establish clear deliverables and deadlines. (Try not to let Conway's law distort the natural shape of the software too deeply.)149\n\nA goal for a project team works best when it's oriented toward providing some functionality or solving some problem. This approach ensures that the individuals working on a component know what is expected of them, and that their work is only complete once that component is fully integrated and used within the main project.\n\nObviously, the usual engineering best practices apply to collaborative projects: each component should have design documents and reviews with the team. In this way, everyone in the team is given the opportunity to stay abreast of changes, in addition to the chance to influence and improve designs. Writing things down is one of the major techniques you have to offset physical and/or logical distance—use it.\n\nStandards are important. Coding style guidelines are a good start, but they're usually quite tactical and therefore only a starting point for establishing team norms. Every time there is a debate around which choice to make on an issue, argue it out fully with the team but with a strict time limit. Then pick a solution, document it, and move on. If you can't agree, you need to pick some arbitrator that everyone respects, and again just move forward. Over time you'll build up a collection of these best practices, which will help new people come up to speed.\n\nUltimately, there's no substitute for in-person interaction, although some portion of face-to-face interaction can be deferred by good use of VC and good written communication. If you can, have the leaders of the project meet the rest of the team in person. If time and budget allows, organize a team summit so that all members of the team can interact in person. A summit also provides a great opportunity to hash out designs and goals. For situations where neutrality is important, it's advantageous to hold team summits at a neutral location so that no individual site has the \"home advantage.\"\n\nFinally, use the project management style that suits the project in its current state. Even projects with ambitious goals will start out small, so the overhead should be correspondingly low. As the project grows, it's appropriate to adapt and change how the project is managed. Given sufficient growth, full project management will be necessary.\n\n# Collaboration Outside SRE\n\nAs we suggested, and [The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/) discusses, collaboration between the product development organization and SRE is really at its best when it occurs early on in the design phase, ideally before any line of code has been committed. SREs are best placed to make recommendations about architecture and software behavior that can be quite difficult (if not impossible) to retrofit. Having that voice present in the room when a new system is being designed goes better for everyone. Broadly speaking, we use the Objectives & Key Results (OKR) process [[Kla12]](/sre-book/bibliography#Kla12) to track such work. For some service teams, such collaboration is the mainstay of what they do—tracking new designs,\nmaking recommendations, helping to implement them, and seeing those through to production.\n\n# Case Study: Migrating DFP to F1\n\nLarge migration projects of existing services are quite common at Google. Typical examples include porting service components to a new technology or updating components to support a new data format. With\nthe recent introduction of database technologies that can scale to a global level such as Spanner [[Cor12]](/sre-book/bibliography#Cor12) and F1 [[Shu13]](/sre-book/bibliography#Shu13), Google has undertaken a number of large-scale migration projects involving databases. One such project was the migration of the main database of DoubleClick for Publishers (DFP)150 from MySQL to F1. In particular, some of this chapter's authors were in charge of a portion of the serving system (shown in Figure 31-1) that continually extracts and processes data from the database, in order to generate a set of indexed files that are then loaded and served around the world. This system was distributed over several datacenters and used about 1,000 CPUs and 8 TB of RAM to index 100 TB of data every day.\n\nThe migration was nontrivial: in addition to migrating to a new technology, the database schema was significantly refactored and\nsimplified thanks to the ability of F1 to store and index protocol buffer data in table columns. The goal was to migrate the processing\nsystem so that it could produce an output perfectly identical to the existing system. This allowed us to leave the serving system untouched and to perform, from the user's perspective, a seamless migration. As an added restriction, the product required that we complete a live migration without any disruption of the service to our users at any time. In order to achieve this, the product\ndevelopment team and the SRE team started working closely, from the very beginning, to develop the new indexing service.\n\nAs its main developers, product development teams are typically more familiar with the Business Logic (BL) of the software, and are also in closer contact with the Product Managers and the actual \"business need\" component of products. On the other hand, SRE teams usually have more expertise pertaining to the infrastructure components of the software (e.g., libraries to talk to distributed storage systems or databases), because SREs often reuse the same building blocks across different services, learning the many caveats and nuances that allow the software to run scalably and reliably over time.\n\nFrom the start of the migration project, product development and SRE knew they would have to collaborate even more closely, conducting weekly meetings to sync on the project's progress. In this particular case the BL changes were partially dependent upon infrastructure changes. For this reason the project started with the design of the new infrastructure; the SREs, who had extensive knowledge about the domain of extracting and processing data at scale, drove the design of the infrastructure changes. This involved designing how to extract the various tables from F1, how to filter and join the data, how to extract only the data that changed (as opposed to the entire database), how to sustain the loss of some of the machines without impacting the service, how to ensure that the resource usage grows linearly with the amount of extracted data, the capacity planning, and many other similar aspects. The new proposed infrastructure was similar to other services that were already extracting and processing data from F1. Therefore, we could be sure of the soundness of the solution and reuse parts of the monitoring and tooling.\n\nBefore proceeding with the development of this new infrastructure, two SREs produced a detailed design document. Then, both the product development and SRE teams thoroughly reviewed the document, tweaking the solution to handle some edge cases, and eventually agreed on a design plan. Such a plan clearly identified what kind of changes the new infrastructure would bring to the BL. For example, we designed the new infrastructure to extract only changed data, instead of repeatedly extracting the entire database; the BL had to take into account this new approach. Early on, we defined the new interfaces between infrastructure and BL, and doing so allowed the product development team to work independently on the BL changes. Similarly, the product development team kept SRE informed of BL changes. Where they interacted (e.g., BL changes dependent on infrastructure), this coordination structure allowed us to know changes were happening, and to handle them quickly and correctly.\n\nIn later phases of the project, SREs began deploying the new service in a testing environment that resembled the project's eventual finished production environment. This step was essential to measure the expected behavior of the service—in particular, performance and resource utilization—while the development of BL was still underway. The product development team used this testing environment to perform validation of the new service: the index of the ads produced by the old service (running in production) had to match perfectly the index produced by the new service (running in the testing environment). As suspected, the validation process highlighted discrepancies between the old and new services (due to some edge cases in the new data format), which the product development team was able to resolve iteratively: for each ad they debugged the cause of the difference and fixed the BL that produced the bad output. In the meantime, the SRE team began preparing the production environment: allocating the necessary resources in a different datacenter, setting up processes and monitoring rules, and training the engineers designated to be on-call for the service. The SRE team also set up a basic release process that included validation, a task usually completed by the product development team or by Release Engineers but in this specific case was completed by SREs to speed up the migration.\n\nWhen the service was ready the SREs prepared a rollout plan in collaboration with the product development team and launched the new service. The launch was very successful and proceeded smoothly, without any visible user impact.\n\n# Conclusion\n\nGiven the globally distributed nature of SRE teams, effective communication has always been a high priority in SRE. This chapter has discussed the tools and techniques that SRE teams use to maintain effective relationships among their team and with their various partner teams.\n\nCollaboration between SRE teams has its challenges, but potentially great rewards, including common approaches to platforms for solving problems, letting us focus on solving more difficult problems.\n\n146And, as we all know, culture beats strategy every time: [[Mer11]](/sre-book/bibliography#Mer11).\n\n147The larger team generally tends to unintentionally talk over the smaller team, it's more difficult to control distracting side conversations, etc.\n\n148In this particular case, the road to hell was indeed paved with JavaScript.\n\n149That is, software has the same structure as the communications structure of the organization that produces the software—see [*https://en.wikipedia.org/wiki/Conway%27s_law*](https://en.wikipedia.org/wiki/Conway%27s_law).\n\n150DoubleClick for Publishers is a tool for publishers to manage ads served on their websites and in their apps.", "znaku_textu": 39785, "slov": 6333, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/communication-and-collaboration", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:42", "sha256": "8cbfc268d31b411baa6ac17219b9d7263948089505bf35ea8480f877913a067d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Conway's_law", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/conclusion/", "titulek": "Google SRE - SRE Methodology: Future Trends and Opportunities", "h1": "Conclusion", "popis": "Future of SRE methodology, its expanding applications, and emerging trends.Learn how SRE practices are evolving and find new opportunities in the field.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/conclusion/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/conclusion/"}, "headline": "Conclusion", "description": "SRE teams are constructed so that our engineers divide their time between two equally important types of work. SREs staff on-call shifts, which entail putting our hands around the systems, observing where and how these systems break, and understanding challenges such as how to best scale them.", "author": [{"@type": "Person", "name": "Benjamin Lutch"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Conclusion"}], "markdown": "# Conclusion\n\nWritten by Benjamin Lutch162Edited by Betsy Beyer\n\nI read through this book with enormous pride. From the time I began working at Excite in the early ’90s, where my group was a sort of neanderthal SRE group dubbed \"Software Operations,\" I’ve spent my career fumbling through the process of building systems. In light of my experiences over the years in the tech industry, it’s amazing to see how the idea of SRE took root at Google and evolved so quickly. SRE has grown from a few hundred engineers when I joined Google in 2006 to over 1,000 people today, spread over a dozen sites and running what I think is the most interesting computing infrastructure on the planet.\n\nSo what has enabled the SRE organization at Google to evolve over the past decade to maintain this massive infrastructure in an intelligent, efficient, and scalable way? I think that the key to the overwhelming success of SRE is the nature of the principles by which it operates.\n\nSRE teams are constructed so that our engineers divide their time between two equally important types of work. SREs staff on-call shifts, which entail putting our hands around the systems, observing where and how these systems break, and understanding challenges such as how to best scale them. But we also have time to then reflect and decide what to build in order to make those systems easier to manage. In essence, we have the pleasure of playing both the roles of the pilot *and* the engineer/designer. Our experiences running massive computing infrastructure are codified in actual code and then packaged as a discrete product.\n\nThese solutions are then easily usable by other SRE teams and ultimately by anyone at Google (or even outside of Google…think Google Cloud!) who wants to use or improve upon the experience we’ve accumulated and the systems we’ve built.\n\nWhen you approach building a team or a system, ideally its foundation should be a set of rules or axioms that are general enough to be immediately useful, but that will remain relevant in the future. Much of what Ben Treynor Sloss outlined in this book’s introduction represents just that: a flexible, mostly future-proof set of responsibilities that remain spot-on 10 years after they were conceived, despite the changes and growth Google’s infrastructure and the SRE team have undergone.\n\nAs SRE has grown, we’ve noticed a couple different dynamics at play. The first is the consistent nature of SRE’s primary responsibilities and concerns over time: our systems might be 1,000 times larger or faster, but ultimately, they still need to remain reliable, flexible, easy to manage in an emergency, well monitored, and capacity planned. At the same time, the typical activities undertaken by SRE evolve by necessity as Google’s services and SRE’s competencies mature. For example, what was once a goal to \"build a dashboard for 20 machines\" might now instead be \"automate discovery, dashboard building, and alerting over a fleet of tens of thousands of machines.\"\n\nFor those who haven’t been in the trenches of SRE for the past decade, an analogy between how SRE thinks about complex systems and how the aircraft industry has approached plane flight is useful in conceptualizing how SRE has evolved and matured over time. While the stakes of failure between the two industries are very different,\n certain core similarities hold true.\n\nImagine that you wanted to fly between two cities a hundred years ago. Your airplane probably had a single engine (two, if you were lucky), a few bags of cargo, and a pilot. The pilot also filled the role of mechanic, and possibly additionally acted as cargo loader and unloader. The cockpit had room for the pilot, and if you were lucky, a co-pilot/navigator. Your little plane would bounce off a runway in good weather, and if everything went well, you’d slowly climb your way through the skies and eventually touch down in another city, maybe a few hundred miles away. Failure of any of the plane’s systems was catastrophic, and it wasn’t unheard of for a pilot to have to climb out of the cockpit to perform repairs in-flight! The systems that fed into the cockpit were essential, simple, and fragile, and most likely were not redundant.\n\nFast-forward a hundred years to a huge 747 sitting on the tarmac. Hundreds of passengers are loading up on both floors, while tons of cargo are simultaneously being loaded into the hold below. The plane is chock-full of reliable, redundant systems. It’s a model of safety and reliability; in fact, you’re actually safer in the air than on the ground in a car. Your plane will take off from a dotted line on a runway on one continent, and land easily on a dotted line on another runway 6,000 miles away, right on schedule—within minutes of its forecasted landing time. But take a look into the cockpit and what do you find? Just two pilots again!\n\nHow has every other element of the flight experience—safety, capacity, speed, and reliability—scaled up so beautifully, while there are still only two pilots? The answer to this question is a great parallel to how Google approaches the enormous, fantastically complex systems that SRE runs. The interfaces to the plane’s operating systems are well thought out and approachable enough that learning how to pilot them in normal conditions is not an insurmountable task. Yet these interfaces also provide enough flexibility, and the people operating them are sufficiently trained, that responses to emergencies are robust and quick. The cockpit was designed by people who understand complex systems and how to present them to humans in a way that’s both consumable and scalable. The systems underlying the cockpit have all the same properties discussed in this book: availability, performance optimization, change management, monitoring and alerting, capacity planning, and emergency response.\n\nUltimately, SRE’s goal is to follow a similar course. An SRE team should be as compact as possible and operate at a high level of abstraction, relying upon lots of backup systems as failsafes and thoughtful APIs to communicate with the systems. At the same time, the SRE team should also have comprehensive knowledge of the systems—how they operate, how they fail, and how to respond to failures—that comes from operating them day-to-day.\n\n162Vice President, Site Reliability Engineering, for Google, Inc.", "znaku_textu": 6344, "slov": 1059, "odkazu": 53, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:42", "sha256": "111242bd8bb29686d89755343465aede6d7cdc3f3d62a99119f4ee6dd433106a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/data-integrity/", "titulek": "Google SRE - Data Integrity: Principles and Best Practices", "h1": "Data Integrity’s Strict Requirements", "popis": "Data integrity meaning, its importance for cloud services, and strategies for maintaining it, including proactive detection, rapid repair, and backup strategies.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/data-integrity/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/data-integrity/"}, "headline": "Data Integrity: What You Read Is What You Wrote", "description": "Data integrity is a measure of the accessibility and accuracy of the datastores needed to provide users with an adequate level of service.", "image": "https://lh3.googleusercontent.com/ccudOluSZzqVgh8U0qFdtPZiHmxaDbS_-8hZ9Ss6nTKAIyJxfxxDXkZmNfxTQisDk9xDETs2J13wp0z5SwBaH2LXOuuKDcntexinuw", "author": [{"@type": "Person", "name": "Raymond Blum"}, {"@type": "Person", "name": "Rhandeev Singh"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Data Integrity: What You Read Is What You Wrote"}, {"uroven": 1, "text": "Data Integrity’s Strict Requirements"}, {"uroven": 2, "text": "Choosing a Strategy for Superior Data Integrity"}, {"uroven": 2, "text": "Backups Versus Archives"}, {"uroven": 2, "text": "Requirements of the Cloud Environment in Perspective"}, {"uroven": 1, "text": "Google SRE Objectives in Maintaining Data Integrity and Availability"}, {"uroven": 2, "text": "Data Integrity Is the Means; Data Availability Is the Goal"}, {"uroven": 2, "text": "Delivering a Recovery System, Rather Than a Backup System"}, {"uroven": 2, "text": "Types of Failures That Lead to Data Loss"}, {"uroven": 2, "text": "Challenges of Maintaining Data Integrity Deep and Wide"}, {"uroven": 3, "text": "Scaling issues: Fulls, incrementals, and the competing forces of backups and restores"}, {"uroven": 3, "text": "Retention"}, {"uroven": 1, "text": "How Google SRE Faces the Challenges of Data Integrity"}, {"uroven": 2, "text": "The 24 Combinations of Data Integrity Failure Modes"}, {"uroven": 2, "text": "First Layer: Soft Deletion"}, {"uroven": 2, "text": "Overarching Layer: Replication"}, {"uroven": 2, "text": "1T Versus 1E: Not \"Just\" a Bigger Backup"}, {"uroven": 2, "text": "Third Layer: Early Detection"}, {"uroven": 3, "text": "Challenges faced by cloud developers"}, {"uroven": 3, "text": "Out-of-band data validation"}, {"uroven": 2, "text": "Knowing That Data Recovery Will Work"}, {"uroven": 1, "text": "Case Studies"}, {"uroven": 2, "text": "Gmail—February, 2011: Restore from GTape"}, {"uroven": 3, "text": "Sunday, February 27, 2011, late in the evening"}, {"uroven": 2, "text": "Google Music—March 2012: Runaway Deletion Detection"}, {"uroven": 3, "text": "Tuesday, March 6th, 2012, mid-afternoon"}, {"uroven": 3, "text": "Discovering the problem"}, {"uroven": 3, "text": "Assessing the damage"}, {"uroven": 3, "text": "Resolving the issue"}, {"uroven": 4, "text": "Parallel bug identification and recovery efforts"}, {"uroven": 4, "text": "First wave of recovery"}, {"uroven": 4, "text": "Second wave of recovery"}, {"uroven": 3, "text": "Addressing the root cause"}, {"uroven": 1, "text": "General Principles of SRE as Applied to Data Integrity"}, {"uroven": 2, "text": "Beginner’s Mind"}, {"uroven": 2, "text": "Trust but Verify"}, {"uroven": 2, "text": "Hope Is Not a Strategy"}, {"uroven": 2, "text": "Defense in Depth"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Data Integrity: What You Read Is What You Wrote\n\nWritten by Raymond Blum and Rhandeev SinghEdited by Betsy Beyer\n\nWhat is \"data integrity\"? When users come first, data integrity is whatever users think it is.\n\nWe might say *data integrity is a measure of the accessibility and accuracy of the datastores needed to provide users with an adequate level of service*. But this definition is insufficient.\n\nFor instance, if a user interface bug in Gmail displays an empty mailbox for too long, users might believe data has been lost. Thus, even if no data was *actually* lost, the world would question Google’s ability to act as a responsible steward of data, and the viability of cloud computing would be threatened. Were Gmail to display an error or maintenance message for too long while \"only a bit of metadata\" is repaired, the trust of Google’s users would similarly erode.\n\nHow long is \"too long\" for data to be unavailable? As demonstrated by an actual Gmail incident in 2011 [[Hic11]](/sre-book/bibliography#Hic11), four days is a long time—perhaps \"too long.\" Subsequently, we believe 24 hours is a good starting point for establishing the threshold of \"too long\" for Google Apps.\n\nSimilar reasoning applies to applications like Google Photos, Drive, Cloud Storage, and Cloud Datastore, because users don’t necessarily draw a distinction between these discrete products (reasoning, \"this product is still Google\" or \"Google, Amazon, whatever; this product is still part of the cloud\"). Data loss, data corruption, and extended unavailability are typically indistinguishable to users. Therefore, data integrity applies to all types of data across all services. When considering data integrity, what matters is that *services in the cloud remain accessible to users. User access to data is especially important*.\n\n# Data Integrity’s Strict Requirements\n\nWhen considering the reliability needs of a given system, it may seem that uptime (service availability) needs are stricter than those of data integrity. For example, users may find an hour of email downtime unacceptable, whereas they may live grumpily with a four-day time window to recover a mailbox. However, there’s a more appropriate way to consider the demands of uptime versus data integrity.\n\nAn SLO of 99.99% uptime leaves room for only an hour of downtime in a whole year. This SLO sets a rather high bar, which likely exceeds the expectations of most Internet and Enterprise users.\n\nIn contrast, an SLO of 99.99% good bytes in a 2 GB artifact would render documents, executables, and databases corrupt (up to 200 KB garbled). This amount of corruption is *catastrophic* in the majority of cases—resulting in executables with random opcodes and completely unloadable databases.\n\nFrom the user perspective, then, every service has independent uptime and data integrity requirements, even if these requirements are implicit. The worst time to disagree with users about these requirements is after the demise of their data!\n\nFigure 26-1.\n\nTo revise our earlier definition of data integrity, we might say that *data integrity means that services in the cloud remain accessible to users. User access to data is especially important, so this access should remain in perfect shape*.\n\nNow, suppose an artifact were corrupted or lost exactly once a year. If the loss were unrecoverable, uptime of the affected artifact is *lost* for that year. The most likely means to avoid any such loss is through proactive detection, coupled with rapid repair.\n\nIn an alternate universe, suppose the corruption were immediately detected before users were affected and that the artifact was removed, fixed, and returned to service within half an hour. Ignoring any other downtime during that 30 minutes, such an object would be 99.99% available that year.\n\nAstonishingly, at least from the user perspective, in this scenario, data integrity is still 100% (or close to 100%) during the accessible lifetime of the object. As demonstrated by this example, *the secret to superior data integrity is proactive detection and rapid repair and recovery.*\n\n## Choosing a Strategy for Superior Data Integrity\n\nThere are many possible strategies for rapid detection, repair, and recovery of lost data. All of these strategies trade uptime against data integrity with respect to affected users. Some strategies work better than others, and some strategies require more complex engineering investment than others. With so many options available, which strategies should you utilize? The answer depends on your computing paradigm.\n\nMost cloud computing applications seek to optimize for some combination of uptime, latency, scale, velocity, and privacy. To provide a working definition for each of these terms:\n\nUptime\n\nAlso referred to as *availability*, the proportion of time a service is usable by its users.\n\nLatency\n\nHow responsive a service appears to its users.\n\nScale\n\nA service’s volume of users and the mixture of workloads the service can handle before latency suffers or the service falls apart.\n\nVelocity\n\nHow fast a service can innovate to provide users with superior value at reasonable cost.\n\nPrivacy\n\nThis concept imposes complex requirements. As a simplification, this chapter limits its scope in discussing privacy to data deletion: data must be destroyed within a reasonable time after users delete it.\n\nMany cloud applications continually evolve atop a mixture of ACID122 and BASE123 APIs to meet the demands of these five components.124 BASE allows for higher availability than ACID, in exchange for a softer distributed consistency guarantee. Specifically, BASE only guarantees that once a piece of data is no longer updated, its value will *eventually* become consistent across (potentially distributed) storage locations.\n\nThe following scenario provides an example of how trade-offs between uptime, latency, scale, velocity, and privacy might play out.\n\nWhen velocity trumps other requirements, the resulting applications rely on an arbitrary collection of APIs that are most familiar to the particular developers working on the application.\n\nFor example, an application may take advantage of an efficient BLOB125 storage API, such as Blobstore, that neglects distributed consistency in favor of scaling to heavy workloads with high uptime, low latency, and at low cost. To compensate:\n\n- The same application may entrust small amounts of authoritative metadata pertaining to its blobs to a higher latency, less available, more costly Paxos-based service such as Megastore [[Bak11]](/sre-book/bibliography#Bak11) , [[Lam98]](/sre-book/bibliography#Lam98) .\n- Certain clients of the application may cache some of that metadata locally and access blobs directly, shaving latency still further from the vantage point of users.\n- Another application may keep metadata in Bigtable, sacrificing strong distributed consistency because its developers happened to be familiar with Bigtable.\n\nSuch cloud applications face a variety of data integrity challenges at runtime, such as referential integrity between datastores (in the preceding example, Blobstore, Megastore, and client-side caches). The vagaries of high velocity dictate that schema changes, data migrations, the piling of new features atop old features, rewrites, and evolving integration points with other applications collude to produce an environment riddled with complex relationships between various pieces of data that no single engineer fully groks.\n\nTo prevent such an application’s data from degrading before its users’ eyes, a system of out-of-band checks and balances is needed within and between its datastores. Third Layer: Early Detection discusses such a system.\n\nIn addition, if such an application relies on independent, uncoordinated backups of several datastores (in the preceding example, Blobstore and Megastore), then its ability to make effective use of restored data during a data recovery effort is complicated by the variety of relationships between restored and live data. Our example application would have to sort through and distinguish between restored blobs versus live Megastore, restored Megastore versus live blobs, restored blobs versus restored Megastore, and interactions with client-side caches.\n\nIn consideration of these dependencies and complications, how many resources should be invested in data integrity efforts, and where?\n\n## Backups Versus Archives\n\nTraditionally, companies \"protect\" data against loss by investing in backup strategies. However, the real focus of such backup efforts should be data recovery, which distinguishes *real* backups from archives. As is sometimes observed: No one really *wants* to make backups; what people *really* want are *restores*.\n\nIs your \"backup\" really an archive, rather than appropriate for use in disaster recovery?\n\nFigure 26-2.\n\nThe most important difference between backups and archives is that backups *can* be loaded back into an application, while archives *cannot*. Therefore, backups and archives have quite differing use cases.\n\n*Archives* safekeep data for long periods of time to meet auditing, discovery, and compliance needs. Data recovery for such purposes generally doesn’t need to complete within uptime requirements of a service. For example, you might need to retain financial transaction data for seven years. To achieve this goal, you could move accumulated audit logs to long-term archival storage at an offsite location once a month. Retrieving and recovering the logs during a month-long financial audit may take a week, and this weeklong time window for recovery may be acceptable for an archive.\n\nOn the other hand, when disaster strikes, data must be recovered from *real backups* quickly, preferably well within the uptime needs of a service. Otherwise, affected users are left without useful access to the application from the onset of the data integrity issue until the completion of the recovery effort.\n\nIt’s also important to consider that because the most recent data is at risk until safely backed up, it may be optimal to schedule real backups (as opposed to archives) to occur daily, hourly, or more frequently, using full and incremental or continuous (streaming) approaches.\n\nTherefore, when formulating a backup strategy, consider how quickly you need to be able to recover from a problem, and how much recent data you can afford to lose.\n\n## Requirements of the Cloud Environment in Perspective\n\nCloud environments introduce a unique combination of technical challenges:\n\n- If the environment uses a mixture of transactional and nontransactional backup and restore solutions, recovered data won’t necessarily be correct.\n- If services must evolve without going down for maintenance, different versions of business logic may act on data in parallel.\n- If interacting services are versioned independently, incompatible versions of different services may interact momentarily, further increasing the chance of accidental data corruption or data loss.\n\nIn addition, in order to maintain economy of scale, service providers must provide only a limited number of APIs. These APIs must be simple and easy to use for the vast majority of applications, or few customers will use them. At the same time, the APIs must be robust enough to understand the following:\n\n- Data locality and caching\n- Local and global data distribution\n- Strong and/or eventual consistency\n- Data durability, backup, and recovery\n\nOtherwise, sophisticated customers can’t migrate applications to the cloud, and simple applications that grow complex and large will need complete rewrites in order to use different, more complex APIs.\n\nProblems arise when the preceding API features are used in certain combinations. If the service provider doesn’t solve these problems, then the applications that run into these challenges must identify and solve them independently.\n\n# Google SRE Objectives in Maintaining Data Integrity and Availability\n\nWhile SRE’s goal of “maintaining integrity of persistent data” is a good vision, we thrive on concrete objectives with measurable indicators. SRE defines key metrics that we use to set expectations for the capabilities of our systems and processes through tests and to track their performance during an actual event.\n\n## Data Integrity Is the Means; Data Availability Is the Goal\n\nData integrity refers to the accuracy and consistency of data throughout its lifetime. Users need to know that information will be correct and won’t change in some unexpected way from the time it’s first recorded to the last time it’s observed. But is such assurance enough?\n\nConsider the case of an email provider who suffered a weeklong data outage [[Kinc09]](/sre-book/bibliography#Kinc09). Over the space of 10 days, users had to find other, temporary methods of conducting their business with the expectation that they’d soon return to their established email accounts, identities, and accumulated histories.\n\nThen, the worst possible news arrived: the provider announced that despite earlier expectations, the trove of past email and contacts was in fact gone—evaporated and never to be seen again. It seemed that a series of mishaps in managing data integrity had conspired to leave the service provider with no usable backups. Furious users either stuck with their interim identities or established new identities, abandoning their troubled former email provider.\n\nBut wait! Several days after the declaration of absolute loss, the provider announced that the users’ personal information *could* be recovered. There was no data loss; this was only an outage. All was well!\n\nExcept, *all was not well*. User data had been preserved, but the data was not accessible by the people who needed it for too long.\n\nThe moral of this example: From the user’s point of view, data integrity without expected and regular data availability is effectively the same as having no data at all.\n\n## Delivering a Recovery System, Rather Than a Backup System\n\nMaking backups is a classically neglected, delegated, and deferred task of system administration. Backups aren’t a high priority for anyone—they’re an ongoing drain on time and resources, and yield no immediate visible benefit. For this reason, a lack of diligence in implementing a backup strategy is typically met with a sympathetic eye roll. One might argue that, like most measures of protection against low-risk dangers, such an attitude is pragmatic. The fundamental problem with this lackadaisical strategy is that the dangers it entails may be low risk, but they are also high impact. When your service’s data is unavailable, your response can make or break your service, product, and even your company.\n\nInstead of focusing on the thankless job of taking a backup, it’s much more useful, not to mention easier, to motivate participation in taking backups by concentrating on a task with a visible payoff: the *restore*! *Backups are a tax*, one paid on an ongoing basis for the municipal service of guaranteed data availability. Instead of emphasizing the tax, draw attention to the service the tax funds: data availability. We don’t make teams \"practice\" their backups, instead:\n\n- Teams define service level objectives (SLOs) for data availability\n in a variety of failure modes.\n- A team practices and demonstrates their ability to meet those SLOs.\n\n## Types of Failures That Lead to Data Loss\n\nAs illustrated by Figure 26-3, at a very high level, there are 24 distinct types of failures when the 3 factors can occur in any combination. You should consider each of these potential failures when designing a data integrity program. The factors of data integrity failure modes are as follows:\n\nRoot cause\n\nAn unrecoverable loss of data may be caused by a number of factors: user action, operator error, application bugs, defects in infrastructure, faulty hardware, or site catastrophes.\n\nScope\n\nSome losses are widespread, affecting many entities. Some losses are narrow and directed, deleting or corrupting data specific to a small subset of users.\n\nRate\n\nSome data losses are a big bang event (for example, 1 million rows are replaced by only 10 rows in a single minute), whereas some data losses are creeping (for example, 10 rows of data are deleted every minute over the course of weeks).\n\nFigure 26-3. The factors of data integrity failure modes\n\nAn effective restore plan must account for any of these failure modes occurring in any conceivable combination. What may be a perfectly effective strategy for guarding against a data loss caused by a creeping application bug may be of no help whatsoever when your colocation datacenter catches fire.\n\nA study of 19 data recovery efforts at Google found that the most common user-visible data loss scenarios involved data deletion or loss of referential integrity caused by software bugs. The most challenging variants involved low-grade corruption or deletion that was discovered weeks to months after the bugs were first released into the production environment. Therefore, the safeguards Google employs should be well suited to prevent or recover from these types of loss.\n\nTo recover from such scenarios, a large and successful application needs to retrieve data for perhaps millions of users spread across days, weeks, or months. The application may also need to recover each affected artifact to a unique point in time. This data recovery scenario is called \"point-in-time recovery\" outside Google, and \"time-travel\" inside Google.\n\nA backup and recovery solution that provides point-in-time recovery for an application across its ACID and BASE datastores while meeting strict uptime, latency, scalability, velocity, and cost goals is a chimera today!\n\nSolving this problem with your own engineers entails sacrificing velocity. Many projects compromise by adopting a tiered backup strategy without point-in-time recovery. For instance, the APIs beneath your application may support a variety of data recovery mechanisms. Expensive local \"snapshots\" may provide limited protection from application bugs and offer quick restoration functionality, so you might retain a few days of such local \"snapshots,\" taken several hours apart. Cost-effective full and incremental copies every two days may be retained longer. Point-in-time recovery is a very nice feature to have if one or more of these strategies support it.\n\nConsider the data recovery options provided by the cloud APIs you are about to use. Trade point-in-time recovery against a tiered strategy if necessary, but don’t resort to not using either! If you can have both features, use both features. Each of these features (or both) will be valuable at some point.\n\n## Challenges of Maintaining Data Integrity Deep and Wide\n\nIn designing a data integrity program, it’s important to recognize that *replication and redundancy are not recoverability*.\n\n### Scaling issues: Fulls, incrementals, and the competing forces of backups and restores\n\nA classic but flawed response to the question \"Do you have a backup?\" is \"We have something even better than a backup—replication!\" Replication provides many benefits, including locality of data and protection from a site-specific disaster, but it can’t protect you from many sources of data loss. Datastores that automatically sync multiple replicas guarantee that a corrupt database row or errant delete are pushed to all of your copies, likely before you can isolate the problem.\n\nTo address this concern, you might make nonserving copies of your data in some other format, such as frequent database exports to a native file. This additional measure adds protection from the types of errors replication doesn’t protect against—user errors and application-layer bugs—but does nothing to guard against losses introduced at a lower layer. This measure also introduces a risk of bugs during data conversion (in both directions) and during storage of the native file, in addition to possible mismatches in semantics between the two formats. Imagine a zero-day attack126 at some low level of your stack, such as the filesystem or device driver. Any copies that rely on the compromised software component, including the database exports that were written to the same filesystem that backs your database, are vulnerable.\n\nThus, we see that diversity is key: protecting against a failure at layer X requires storing data on diverse components at that layer. Media isolation protects against media flaws: a bug or attack in a disk device driver is unlikely to affect tape drives. If we could, we’d make backup copies of our valuable data on clay tablets.127\n\nThe forces of data freshness and restore completion compete against comprehensive protection. The further down the stack you push a snapshot of your data, the longer it takes to make a copy, which means that the frequency of copies decreases. At the database level, a transaction may take on the order of seconds to replicate. Exporting a database snapshot to the filesystem underneath may take 40 minutes. A full backup of the underlying filesystem may take hours.\n\nIn this scenario, you may lose up to 40 minutes of the most recent data when you restore the latest snapshot. A restore from the filesystem backup might incur hours of missing transactions. Additionally, restoring probably takes as long as backing up, so actually loading the data might take hours. You’d obviously like to have the freshest data back as quickly as possible, but depending on the type of failure, that freshest and most immediately available copy might not be an option.\n\n### Retention\n\nRetention—how long you keep copies of your data around—is yet another factor to consider in your data recovery plans.\n\nWhile it’s likely that you or your customers will quickly notice the sudden emptying of an entire database, it might take days for a more gradual loss of data to attract the right person’s attention. Restoring the lost data in the latter scenario requires snapshots taken further back in time. When reaching back this far, you’ll likely want to merge the restored data with the current state. Doing so significantly complicates the restore process.\n\n# How Google SRE Faces the Challenges of Data Integrity\n\nSimilar to our assumption that Google’s underlying systems are prone to failure, we assume that any of our protection mechanisms are also subject to the same forces and can fail in the same ways and at the most inconvenient of times. Maintaining a guarantee of data integrity at large scale, a challenge that is further complicated by the high rate of change of the involved software systems, requires a number of complementary but uncoupled practices, each chosen to offer a high degree of protection on its own.\n\n## The 24 Combinations of Data Integrity Failure Modes\n\nGiven the many ways data can be lost (as described previously), there is no silver bullet that guards against the many combinations of failure modes. Instead, you need defense in depth. Defense in depth comprises multiple layers, with each successive layer of defense conferring protection from progressively less common data loss scenarios. Figure 26-4 illustrates an object’s journey from soft deletion to destruction, and the data recovery strategies that should be employed along this journey to ensure defense in depth.\n\nThe first layer is *soft deletion* (or \"lazy deletion\" in the case of developer API offerings), which has proven to be an effective defense against inadvertent data deletion scenarios. The second line of defense is *backups and their related recovery methods*. The third and final layer is *regular data validation*, covered in Third Layer: Early Detection. Across all these layers, the presence of *replication* is occasionally useful for data recovery in specific scenarios (although data recovery plans should not rely upon replication).\n\nFigure 26-4. An object’s journey from soft deletion to destruction\n\n## First Layer: Soft Deletion\n\nWhen velocity is high and privacy matters, bugs in applications account for the vast majority of data loss and corruption events. In fact, data deletion bugs may become so common that the ability to undelete data for a limited time becomes the primary line of defense against the majority of otherwise permanent, inadvertent data loss.\n\nAny product that upholds the privacy of its users must allow the users to delete selected subsets and/or all of their data. Such products incur a support burden due to accidental deletion. Giving users the ability to undelete their data (for example, via a trash folder) reduces but cannot completely eliminate this support burden, particularly if your service also supports third-party add-ons that can also delete data.\n\nSoft deletion can dramatically reduce or even completely eliminate this support burden. Soft deletion means that deleted data is immediately marked as such, rendering it unusable by all but the application’s administrative code paths. Administrative code paths may include legal discovery, hijacked account recovery, enterprise administration, user support, and problem troubleshooting and its related features. Conduct soft deletion when a user empties his or her trash, and provide a user support tool that enables authorized administrators to undelete any items accidentally deleted by users. Google implements this strategy for our most popular productivity applications; otherwise, the user support engineering burden would be untenable.\n\nYou can extend the soft deletion strategy even further by offering users the option to recover deleted data. For example, the Gmail trash bin allows users to access messages that were deleted fewer than 30 days ago.\n\nAnother common source of unwanted data deletion occurs as a result of account hijacking. In account hijacking scenarios, a hijacker commonly deletes the original user’s data before using the account for spamming and other unlawful purposes. When you combine the commonality of accidental user deletion with the risk of data deletion by hijackers, the case for a programmatic soft deletion and undeletion interface within and/or beneath your application becomes clear.\n\nSoft deletion implies that once data is marked as such, it is destroyed after a reasonable delay. The length of the delay depends upon an organization’s policies and applicable laws, available storage resources and cost, and product pricing and market positioning, especially in cases involving much short-lived data. Common choices of soft deletion delays are 15, 30, 45, or 60 days. In Google’s experience, the majority of account hijacking and data integrity issues are reported or detected within 60 days. Therefore, the case for soft deleting data for longer than 60 days may not be strong.\n\nGoogle has also found that the most devastating acute data deletion cases are caused by application developers unfamiliar with existing code but working on deletion-related code, especially batch processing pipelines (e.g., an offline MapReduce or Hadoop pipeline). It’s advantageous to design your interfaces to hinder developers unfamiliar with your code from circumventing soft deletion features with new code. One effective way of achieving this is to implement cloud computing offerings that include built-in soft deletion and undeletion APIs, making sure to *enable said feature*.128 Even the best armor is useless if you don’t put it on.\n\nSoft deletion strategies cover data deletion features in consumer products like Gmail or Google Drive, but what if you support a cloud computing offering instead? Assuming your cloud computing offering already supports a programmatic soft deletion and undeletion feature with reasonable defaults, the remaining accidental data deletion scenarios will originate in mistakes made by your own internal developers or your developer customers.\n\nIn such cases, it can be useful to introduce an additional layer of soft deletion, which we will refer to as \"lazy deletion.\" You can think of lazy deletion as behind the scenes purging, controlled by the storage system (whereas soft deletion is controlled by and expressed to the client application or service). In a lazy deletion scenario, data that is deleted by a cloud application becomes immediately inaccessible to the application, but is preserved by the cloud service provider for up to a few weeks before destruction. Lazy deletion isn’t advisable in all defense in depth strategies: a long lazy deletion period is costly in systems with much short-lived data, and impractical in systems that must guarantee destruction of deleted data within a reasonable time frame (i.e., those that offer privacy guarantees).\n\nTo sum up the first layer of defense in depth:\n\n- A trash folder that allows users to undelete data is the primary defense against user error.\n- Soft deletion is the primary defense against developer error and the secondary defense against user error.\n- In developer offerings, lazy deletion is the primary defense against internal developer error and the secondary defense against external developer error.\n\nWhat about *revision history*? Some products provide the ability to revert items to previous states. When such a feature is available to users, it is a form of trash. When available to developers, it may or may not substitute for soft deletion, depending on its implementation.\n\nAt Google, revision history has proven useful in recovering from certain data corruption scenarios, but not in recovering from most data loss scenarios involving accidental deletion, programmatic or otherwise. This is because some revision history implementations treat deletion as a special case in which previous states must be removed, as opposed to mutating an item whose history may be retained for a certain time period. To provide adequate protection against unwanted deletion, apply the lazy and/or soft deletion principles to revision history also.\n\n## Overarching Layer: Replication\n\nIn an ideal world, every storage\n instance, including the instances containing your backups, would be replicated. During a data recovery effort, the last thing you want is to discover is that your backups themselves lost the needed data or that the datacenter containing the most useful backup is under maintenance.\n\nAs the volume of data increases, replication of every storage instance isn’t always feasible. In such cases, it makes sense to stagger successive backups across different sites, each of which may fail independently, and to write your backups using a redundancy method such as RAID, Reed-Solomon erasure codes, or GFS-style replication.130\n\nWhen choosing a system of redundancy, don’t rely upon an infrequently used scheme whose only \"tests\" of efficacy are your own infrequent data recovery attempts. Instead, choose a popular scheme that’s in common and continual use by many of its users.\n\n## 1T Versus 1E: Not \"Just\" a Bigger Backup\n\nProcesses and practices applied to volumes of data measured in T (terabytes) don’t scale well to data measured in E (exabytes). Validating, copying, and performing round-trip tests on a few gigabytes of structured data is an interesting problem. However, assuming that you have sufficient knowledge of your schema and transaction model, this exercise doesn’t present any special challenges. You typically just need to procure the machine resources to iterate over your data, perform some validation logic, and delegate enough storage to hold a few copies of your data.\n\nNow let’s up the ante: instead of a few gigabytes, let’s try securing and validating 700 petabytes of structured data. Assuming ideal SATA 2.0 performance of 300 MB/s, a single task that iterates over all of your data and performs even the most basic of validation checks will take 8 decades. Making a few full backups, assuming you have the media, is going to take at least as long. Restore time, with some post-processing, will take even longer. We’re now looking at almost a full century to restore a backup that was up to 80 years old when you started the restore. Obviously, such a strategy needs to be rethought.\n\nThe most common and largely effective technique used to back up massive amounts of data is to establish \"trust points\" in your data—portions of your stored data that are verified after being rendered immutable, usually by the passage of time. Once we know that a given user profile or transaction is fixed and won’t be subject to further change, we can verify its internal state and make suitable copies for recovery purposes. You can then make incremental backups that only include data that has been modified or added since your last backup. This technique brings your backup time in line with your \"mainline\" processing time, meaning that frequent incremental backups can save you from the 80-year monolithic verify and copy job.\n\nHowever, remember that we care about *restores*, not backups. Let’s say that we took a full backup three years ago and have been making daily incremental backups since. A full restore of our data will serially process a chain of over 1,000 highly interdependent backups. Each independent backup incurs additional risk of failure, not to mention the logistical burden of scheduling and the runtime cost of those jobs.\n\nAnother way we can reduce the wall time of our copying and verification jobs is to distribute the load. If we shard our data well, it’s possible to run *N* tasks in parallel, with each task responsible for copying and verifying 1/*N*th of our data. Doing so requires some forethought and planning in the schema design and the physical deployment of our data in order to:\n\n- Balance the data correctly\n- Ensure the independence of each shard\n- Avoid contention among the concurrent sibling tasks\n\nBetween distributing the load horizontally and restricting the work to vertical slices of the data demarcated by time, we can reduce those eight decades of wall time by several orders of magnitude, rendering our restores relevant.\n\n## Third Layer: Early Detection\n\n“Bad” data doesn’t sit idly by, it propagates. References to missing or corrupt data are copied, links fan out, and with every update the overall quality of your datastore goes down. Subsequent dependent transactions and potential data format changes make restoring from a given backup more difficult as the clock ticks. The sooner you know about a data loss, the easier and more complete your recovery can be.\n\n### Challenges faced by cloud developers\n\nIn high-velocity environments, cloud application and infrastructure services face many data integrity challenges at runtime, such as:\n\n- Referential integrity between datastores\n- Schema changes\n- Aging code\n- Zero-downtime data migrations\n- Evolving integration points with other services\n\nWithout conscious engineering effort to track emerging relationships in its data, the data quality of a successful and growing service degrades over time.\n\nOften, the novice cloud developer who chooses a distributed consistent storage API (such as Megastore) delegates the integrity of the application’s data to the distributed consistent algorithm implemented beneath the API (such as Paxos; see [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/)). The developer reasons that the selected API alone will keep the application’s data in good shape. As a result, they unify all application data into a single storage solution that guarantees distributed consistency, avoiding referential integrity problems in exchange for reduced performance and/or scale.\n\nWhile such algorithms are infallible in theory, their implementations are often riddled with hacks, optimizations, bugs, and educated guesses. For example: in theory, Paxos ignores failed compute nodes and can make progress as long as a quorum of functioning nodes is maintained. In practice, however, ignoring a failed node may correspond to timeouts, retries, and other failure-handling approaches beneath the particular Paxos implementation [[Cha07]](/sre-book/bibliography#Cha07). How long should Paxos try to contact an unresponsive node before timing it out? When a particular machine fails (perhaps intermittently) in a certain way, with a certain timing, and at a particular datacenter, unpredictable behavior results. The larger the scale of an application, the more frequently the application is affected, unbeknownst, by such inconsistencies. If this logic holds true even when applied to Paxos implementations (as has been true for Google), then it must be more true for eventually consistent implementations such as Bigtable (which has also shown to be true). Affected applications have no way to know that 100% of their data is good until they check: trust storage systems, but verify!\n\nTo complicate this problem, in order to recover from low-grade data corruption or deletion scenarios, we must recover different subsets of data to different restore points using different backups, while changes to code and schema may render older backups ineffective in high-velocity environments.\n\n### Out-of-band data validation\n\nTo prevent data quality from degrading before users’ eyes, and to detect low-grade data corruption or data loss scenarios before they become unrecoverable, a system of out-of-band checks and balances is needed both within and between an application’s datastores.\n\nMost often, these [data validation pipelines](https://sre.google/workbook/data-processing/) are implemented as collections of map-reductions or Hadoop jobs. Frequently, such pipelines are added as an afterthought to services that are already popular and successful. Sometimes, such pipelines are first attempted when services reach scalability limits and are rebuilt from the ground up. Google has built validators in response to each of these situations.\n\nShunting some developers to work on a data validation pipeline can slow engineering velocity in the short term. However, devoting engineering resources to data validation endows other developers with the courage to move faster in the long run, because the engineers know that data corruption bugs are less likely to sneak into production unnoticed. Similar to the effects enjoyed when units test are introduced early in the project lifecycle, a data validation pipeline results in an overall acceleration of software development projects.\n\nTo cite a specific example: Gmail sports a number of data validators, each of which has detected actual data integrity problems in production. Gmail developers derive comfort from the knowledge that bugs introducing inconsistencies in production data are detected within 24 hours, and shudder at the thought of running their data validators less often than daily. These validators, along with a culture of unit and regression testing and other best practices, have given Gmail developers the courage to introduce code changes to Gmail’s production storage implementation more frequently than once a week.\n\nOut-of-band data validation is tricky to implement correctly. When too strict, even simple, appropriate changes cause validation to fail. As a result, engineers abandon data validation altogether. If the data validation isn’t strict enough, user experience–affecting data corruption can slip through undetected. To find the right balance, only validate invariants that cause devastation to users.\n\nFor example, Google Drive periodically validates that file contents align with listings in Drive folders. If these two elements don’t align, some files would be missing data—a disastrous outcome. Drive infrastructure developers were so invested in data integrity that they also enhanced their validators to automatically fix such inconsistencies. This safeguard turned a potential emergency \"all-hands-on-deck-omigosh-files-are-disappearing!\" data loss situation in 2013 into a business as usual, \"let’s go home and fix the root cause on Monday,\" situation. By transforming emergencies into business as usual, validators improve engineering morale, quality of life, and predictability.\n\nOut-of-band validators can be expensive at scale. A significant portion of Gmail’s compute resource footprint supports a collection of daily validators. To compound this expense, these validators also lower server-side cache hit rates, reducing server-side responsiveness experienced by users. To mitigate this hit to responsiveness, Gmail provides a variety of knobs for rate-limiting its validators and periodically refactors the validators to reduce disk contention. In one such refactoring effort, we cut the contention for disk spindles by 60% without significantly reducing the scope of the invariants they covered. While the majority of Gmail’s validators run daily, the workload of the largest validator is divided into 10–14 shards, with one shard validated per day for reasons of scale.\n\nGoogle Compute Storage is another example of the challenges scale entails to data validation. When its out-of-band validators could no longer finish within a day, Compute Storage engineers had to devise a more efficient way to verify its metadata than use of brute force alone. Similar to its application in data recovery, a tiered strategy can also be useful in out-of-band data validation. As a service scales, sacrifice rigor in daily validators. Make sure that daily validators continue to catch the most disastrous scenarios within 24 hours, but continue with more rigorous validation at reduced frequency to contain costs and latency.\n\nTroubleshooting failed validations can take significant effort. Causes of an intermittent failed validation could vanish within minutes, hours, or days. Therefore, the ability to rapidly drill down into validation audit logs is essential. Mature Google services provide on-call engineers with comprehensive documentation and tools to troubleshoot. For example, on-call engineers for Gmail are provided with:\n\n- A suite of playbook entries describing how to respond to a validation failure alert\n- A BigQuery-like investigation tool\n- A data validation dashboard\n\nEffective out-of-band data validation demands all of the following:\n\n- Validation job management\n- Monitoring, alerts, and dashboards\n- Rate-limiting features\n- Troubleshooting tools\n- Production playbooks\n- Data validation APIs that make validators easy to add and refactor\n\nThe majority of small engineering teams operating at high velocity can’t afford to design, build, and maintain all of these systems. If they are pressured to do so, the result is often fragile, limited, and wasteful one-offs that fall quickly into disrepair. Therefore, structure your engineering teams such that a central infrastructure team provides a data validation framework for multiple product engineering teams. The central infrastructure team maintains the out-of-band data validation framework, while the product engineering teams maintain the custom business logic at the heart of the validator to keep pace with their evolving products.\n\n## Knowing That Data Recovery Will Work\n\nWhen does a light bulb break? When flicking the switch fails to turn on the light? Not always—often the bulb had already failed, and you simply notice the failure at the unresponsive flick of the switch. By then, the room is dark and you’ve stubbed your toe.\n\nLikewise, your recovery dependencies (meaning mostly, but not only, your backup), may be in a latent broken state, which you aren’t aware of until you attempt to recover data.\n\nIf you discover that your restore process is broken before you need to rely upon it, you can address the vulnerability before you fall victim to it: you can take another backup, provision additional resources, and change your SLO. But to take these actions proactively, you first have to know they’re needed. To detect these vulnerabilities:\n\n- Continuously test the recovery process as part of your normal operations\n- Set up alerts that fire when a recovery process fails to provide a heartbeat indication of its success\n\nWhat can go wrong with your recovery process? Anything and everything—which is why the only test that should let you sleep at night is a full end-to-end test. Let the proof be in the pudding. Even if you recently ran a successful recovery, parts of your recovery process can still break. If you take away just one lesson from this chapter, remember that *you only know that you can recover your recent state if you actually do so*.\n\nIf recovery tests are a manual, staged event, testing becomes an unwelcome bit of drudgery that isn’t performed either deeply or frequently enough to deserve your confidence. Therefore, automate these tests whenever possible and then run them continuously.\n\nThe aspects of your recovery plan you should confirm are myriad:\n\n- Are your backups valid and complete, or are they empty?\n- Do you have sufficient machine resources to run all of the setup, restore, and post-processing tasks that comprise your recovery?\n- Does the recovery process complete in reasonable wall time?\n- Are you able to monitor the state of your recovery process as it\n progresses?\n- Are you free of critical dependencies on resources outside of your\n control, such as access to an offsite media storage vault that isn’t\n available 24/7?\n\nOur testing has discovered the aforementioned failures, as well as failures of many other components of a successful data recovery. If we hadn’t discovered these failures in regular tests—that is, if we came across the failures only when we needed to recover user data in real emergencies—it’s quite possible that some of Google’s most successful products today may not have stood the test of time.\n\nFailures are inevitable. If you wait to discover them when you’re under the gun, facing a real data loss, you’re playing with fire. If testing forces the failures to happen before actual catastrophe strikes, you can fix problems before any harm comes to fruition.\n\n# Case Studies\n\nLife imitates art (or in this case, science), and as we predicted, real life has given us unfortunate and inevitable opportunities to put our data recovery systems and processes to the test, under real-world pressure. Two of the more notable and interesting of these opportunities are discussed here.\n\n## Gmail—February, 2011: Restore from GTape\n\nThe first recovery case study we’ll examine was unique in a couple of ways: the number of failures that coincided to bring about the data loss, and the fact that it was the largest use of our last line of defense, the GTape offline backup system.\n\n### Sunday, February 27, 2011, late in the evening\n\nThe Gmail backup system pager is triggered, displaying a phone number to join a conference call. The event we had long feared—indeed, the reason for the backup system’s existence—has come to pass: Gmail lost a significant amount of user data. Despite the system’s many safeguards and internal checks and redundancies, the data disappeared from Gmail.\n\nThis was the first large-scale use of GTape, a global backup system for Gmail, to restore live customer data. Fortunately, it was not the first such restore, as similar situations had been previously simulated many times. Therefore, we were able to:\n\n- Deliver an estimate of how long it would take to restore the majority of the affected user accounts\n- Restore all of the accounts within several hours of our initial estimate\n- Recover 99%+ of the data before the estimated completion time\n\nWas the ability to formulate such an estimate luck? No—our success was the fruit of planning, adherence to best practices, hard work, and cooperation, and we were glad to see our investment in each of these elements pay off as well as it did. Google was able to restore the lost data in a timely manner by executing a plan designed according to the best practices of *Defense in Depth* and *Emergency Preparedness*.\n\nWhen Google publicly revealed that we recovered this data from our previously undisclosed tape backup system [[Slo11]](/sre-book/bibliography#Slo11), public reaction was a mix of surprise and amusement. Tape? Doesn’t Google have lots of disks and a fast network to replicate data this important? Of course Google has such resources, but the principle of Defense in Depth dictates providing multiple layers of protection to guard against the breakdown or compromise of any single protection mechanism. Backing up online systems such as Gmail provides defense in depth at two layers:\n\n- A failure of the internal Gmail redundancy and backup subsystems\n- A wide failure or zero-day vulnerability in a device driver or filesystem affecting the underlying storage medium (disk)\n\nThis particular failure resulted from the first scenario—while Gmail had internal means of recovering lost data, this loss went beyond what internal means could recover.\n\nOne of the most internally celebrated aspects of the Gmail data recovery was the degree of cooperation and smooth coordination that comprised the recovery. Many teams, some completely unrelated to Gmail or data recovery, pitched in to help. The recovery couldn’t have succeeded so smoothly without a central plan to choreograph such a widely distributed Herculean effort; this plan was the product of regular dress rehearsals and dry runs. Google’s devotion to emergency preparedness leads us to view such failures as inevitable. Accepting this inevitability, we don’t hope or bet to avoid such disasters, but anticipate that they will occur. Thus, we need a plan for dealing not only with the foreseeable failures, but for some amount of random undifferentiated breakage, as well.\n\nIn short, we always *knew* that adherence to best practices is important, and it was good to see that maxim proven true.\n\n## Google Music—March 2012: Runaway Deletion Detection\n\nThe second failure we’ll examine entails challenges in logistics that are unique to the scale of the datastore being recovered: where do you store over 5,000 tapes, and how do you efficiently (or even feasibly) read that much data from offline media in a reasonable amount of time?\n\n### Tuesday, March 6th, 2012, mid-afternoon\n\n### Discovering the problem\n\nA Google Music user reports that previously unproblematic tracks are being skipped. The team responsible for interfacing with Google Music’s users notifies Google Music engineers. The problem is investigated as a possible media streaming issue.\n\nOn March 7th, the investigating engineer discovers that the unplayable track’s metadata is missing a reference that should point to the actual audio data. He is surprised. The obvious fix is to locate the audio data and reinstate the reference to the data. However, Google engineering prides itself for a culture of fixing issues at the root, so the engineer digs deeper.\n\nWhen he finds the cause of the data integrity lapse, he almost has a heart attack: the audio reference was removed by a privacy-protecting data deletion pipeline. This part of Google Music was designed to delete very large numbers of audio tracks in record time.\n\n### Assessing the damage\n\nGoogle’s privacy policy protects a user’s personal data. As applied to Google Music specifically, our privacy policy means that music files and relevant metadata are removed within reasonable time after users delete them. As the popularity of Google Music soared, the amount of data grew rapidly, so the original deletion implementation needed to be redesigned in 2012 to be more efficient. On February 6th, the updated data deletion pipeline enjoyed its maiden run, to remove relevant metadata. Nothing seemed amiss at the time, so a second stage of the pipeline was allowed to remove the associated audio data too.\n\nCould the engineer’s worst nightmare be true? He immediately sounded the alarm, raising the priority of the support case to Google’s most urgent classification and reporting the issue to engineering management and Site Reliability Engineering. A small team of Google Music developers and SREs assembled to tackle the issue, and the offending pipeline was temporarily disabled to stem the tide of external user casualties.\n\nNext, manually checking the metadata for millions to billions of files organized across multiple datacenters would be unthinkable. So the team whipped up a hasty MapReduce job to assess the damage and waited desperately for the job to complete. They froze as its results came in on March 8th: the refactored data deletion pipeline had removed approximately 600,000 audio references that shouldn’t have been removed, affecting audio files for 21,000 users. Since the hasty diagnosis pipeline made a few simplifications, the true extent of the damage could be worse.\n\nIt had been over a month since the buggy data deletion pipeline first ran, and that maiden run itself removed hundreds of thousands of audio tracks that should not have been removed. Was there any hope of getting the data back? If the tracks weren’t recovered, or weren’t recovered fast enough, Google would have to face the music from its users. How could we not have noticed this glitch?\n\n### Resolving the issue\n\n#### Parallel bug identification and recovery efforts\n\nThe first step in resolving the issue was to identify the actual bug, and determine how and why the bug happened. As long as the root cause wasn’t identified and fixed, any recovery efforts would be in vain. We would be under pressure to re-enable the pipeline to respect the requests of users who deleted audio tracks, but doing so would hurt innocent users who would continue to lose store-bought music, or worse, their own painstakingly recorded audio files. The only way to escape the Catch-22131 was to fix the issue at its root, and fix it quickly.\n\nYet there was no time to waste before mounting the recovery effort. The audio tracks themselves were backed up to tape, but unlike our Gmail case study, the encrypted backup tapes for Google Music were trucked to offsite storage locations, because that option offered more space for voluminous backups of users’ audio data. To restore the experience of affected users quickly, the team decided to troubleshoot the root cause while retrieving the offsite backup tapes (a rather time-intensive restore option) in parallel.\n\nThe engineers split into two groups. The most experienced SREs worked on the recovery effort, while the developers analyzed the data deletion code and attempted to fix the data loss bug at its root. Due to incomplete knowledge of the root problem, the recovery would have to be staged in multiple passes. The first batch of nearly half a million audio tracks was identified, and the team that maintained the tape backup system was notified of the emergency recovery effort at 4:34 p.m. Pacific Time on March 8th.\n\nThe recovery team had one factor working in their favor: this recovery effort occurred just weeks after the company’s annual disaster recovery testing exercise (see [[Kri12]](/sre-book/bibliography#Kri12)). The tape backup team already knew the capabilities and limitations of their subsystems that had been the subjects of DiRT tests and began dusting off a new tool they’d tested during a DiRT exercise. Using the new tool, the combined recovery team began the painstaking effort of mapping hundreds of thousands of audio files to backups registered in the tape backup system, and then mapping the files from backups to actual tapes.\n\nIn this way, the team determined that the initial recovery effort would involve the recall of over 5,000 backup tapes by truck. Afterwards, datacenter technicians would have to clear out space for the tapes at tape libraries. A long, complex process of registering the tapes and extracting the data from the tapes would follow, involving workarounds and mitigations in the event of bad tapes, bad drives, and unexpected system interactions.\n\nUnfortunately, only 436,223 of the approximately 600,000 lost audio tracks were found on tape backups, which meant that about 161,000 other audio tracks were eaten before they could be backed up. The recovery team decided to figure out how to recover the 161,000 missing tracks after they initiated the recovery process for the tracks with tape backups.\n\nMeanwhile, the root cause team had pursued and abandoned a red herring: they initially thought that a storage service on which Google Music depended had provided buggy data that misled the data deletion pipelines to remove the wrong audio data. Upon closer investigation, that theory was proven false. The root cause team scratched their heads and continued their search for the elusive bug.\n\n#### First wave of recovery\n\nOnce the recovery team had identified the backup tapes, the first recovery wave kicked off on March 8th. Requesting 1.5 petabytes of data distributed among thousands of tapes from offsite storage was one matter, but extracting the data from the tapes was quite another. The custom-built tape backup software stack wasn’t designed to handle a single restore operation of such a large size, so the initial recovery was split into 5,475 restore jobs. It would take a human operator typing in one restore command a minute more than three days to request that many restores, and any human operator would no doubt make many mistakes. Just requesting the restore from the tape backup system needed SRE to develop a programmatic solution.132\n\nBy midnight on March 9th, Music SRE finished requesting all 5,475 restores. The tape backup system began working its magic. Four hours later, it spat out a list of 5,337 backup tapes to be recalled from offsite locations. In another eight hours, the tapes arrived at a datacenter in a series of truck deliveries.\n\nWhile the trucks were en route, datacenter technicians took several tape libraries down for maintenance and removed thousands of tapes to make way for the massive data recovery operation. Then the technicians began painstakingly loading the tapes by hand as thousands of tapes arrived in the wee hours of the morning. In past DiRT exercises, this manual process proved hundreds of times faster for massive restores than the robot-based methods provided by the tape library vendors. Within three hours, the libraries were back up scanning the tapes and performing thousands of restore jobs onto distributed compute storage.\n\nDespite the team’s DiRT experience, the massive 1.5 petabyte recovery took longer than the two days estimated. By the morning of March 10th, only 74% of the 436,223 audio files had been successfully transferred from 3,475 recalled backup tapes to distributed filesystem storage at a nearby compute cluster. The other 1,862 backup tapes had been omitted from the tape recall process by a vendor. In addition, the recovery process had been held up by 17 bad tapes. In anticipation of a failure due to bad tapes, a redundant encoding had been used to write the backup files. Additional truck deliveries were set off to recall the redundancy tapes, along with the other 1,862 tapes that had been omitted by the first offsite recall.\n\nBy the morning of March 11th, over 99.95% of the restore operation had completed, and the recall of additional redundancy tapes for the remaining files was in progress. Although the data was safely on distributed filesystems, additional data recovery steps were necessary in order to make them accessible to users. The Google Music Team began exercising these final steps of the data recovery process in parallel on a small sample of recovered audio files to make sure the process still worked as expected.\n\nAt that moment, Google Music production pagers sounded due to an unrelated but critical user-affecting production failure—a failure that fully engaged the Google Music team for two days. The data recovery effort resumed on March 13th, when all 436,223 audio tracks were once again made accessible to their users. In just short of 7 days, 1.5 petabytes of audio data had been reinstated to users with the help of offsite tape backups; 5 of the 7 days comprised the actual data recovery effort.\n\n#### Second wave of recovery\n\nWith the first wave of the recovery process behind them, the team shifted its focus to the other 161,000 missing audio files that had been deleted by the bug before they were backed up. The majority of these files were store-bought and promotional tracks, and the original store copies were unaffected by the bug. Such tracks were quickly reinstated so that the affected users could enjoy their music again.\n\nHowever, a small portion of the 161,000 audio files had been uploaded by the users themselves. The Google Music Team prompted their servers to request that the Google Music clients of affected users re-upload files dating from March 14th onward. This process lasted more than a week. Thus concluded the complete recovery effort for the incident.\n\n### Addressing the root cause\n\nEventually, the Google Music Team identified the flaw in their refactored data deletion pipeline. To understand this flaw, you first need context about how offline [data processing systems](https://sre.google/sre-book/data-processing-pipelines/) evolve on a large scale.\n\nFor a large and complex service comprising several subsystems and storage services, even a task as simple as removing deleted data needs to be performed in stages, each involving different datastores.\n\nFor data processing to finish quickly, the processing is parallelized to run across tens of thousands of machines that exert a large load on various subsystems. This distribution can slow the service for users, or cause the service to crash under the heavy load.\n\nTo avoid these undesirable scenarios, cloud computing engineers often make a short-lived copy of data on secondary storage, where the data processing is then performed. Unless the relative age of the secondary copies of data is carefully coordinated, this practice introduces race conditions.\n\nFor instance, two stages of a pipeline may be designed to run in strict succession, three hours apart, so that the second stage can make a simplifying assumption about the correctness of its inputs. Without this simplifying assumption, the logic of the second stage may be hard to parallelize. But the stages may take longer to complete as the volume of data grows. Eventually, the original design assumptions may no longer hold for certain pieces of data needed by the second stage.\n\nAt first, this race condition may occur for a tiny fraction of data. But as the volume of data increases, a larger and larger fraction of the data is at risk for triggering a race condition. Such a scenario is probabilistic—the pipeline works correctly for the vast majority of data and for most of the time. When such race conditions occur in a data deletion pipeline, the wrong data can be deleted nondeterministically.\n\nGoogle Music’s data deletion pipeline was designed with coordination and large margins for error in place. But when upstream stages of the pipeline began to require increased time as the service grew, performance optimizations were put in place so Google Music could continue to meet privacy requirements. As a result, the probability of an inadvertent data-deleting race condition in this pipeline began to increase. When the pipeline was refactored, this probability again significantly increased, up to a point at which the race conditions occurred more regularly.\n\nIn the wake of the recovery effort, Google Music redesigned its data deletion pipeline to eliminate this type of race condition. In addition, we enhanced production monitoring and alerting systems to detect similar large-scale runaway deletion bugs with the aim of detecting and fixing such issues before users notice any problems.133\n\n# General Principles of SRE as Applied to Data Integrity\n\nGeneral principles of SRE can be applied to the specifics of data integrity and cloud computing as described in this section.\n\n## Beginner’s Mind\n\nLarge-scale, complex services have inherent bugs that can’t be fully grokked. Never think you understand enough of a complex system to say it won’t fail in a certain way. Trust but verify, and apply defense in depth. (Note: \"Beginner’s mind\" does *not* suggest putting a new hire in charge of that data deletion pipeline!)\n\n## Trust but Verify\n\nAny API upon which you depend won’t work perfectly *all* of the time. It’s a given that regardless of your engineering quality or rigor of testing, the API will have defects. Check the correctness of the most critical elements of your data using out-of-band data validators, even if API semantics suggest that you need not do so. Perfect algorithms may not have perfect implementations.\n\n## Hope Is Not a Strategy\n\nSystem components that aren’t continually exercised fail when you need them most. Prove that data recovery works with regular exercise, or data recovery won’t work. Humans lack discipline to continually exercise system components, so automation is your friend. However, when you staff such automation efforts with engineers who have competing priorities, you may end up with temporary stopgaps.\n\n## Defense in Depth\n\nEven the most bulletproof system is susceptible to bugs and operator error. In order for data integrity issues to be fixable, services must detect such issues quickly. Every strategy eventually fails in changing environments. The best data integrity strategies are multitiered—multiple strategies that fall back to one another and address a broad swath of scenarios together at reasonable cost.\n\n# Conclusion\n\nData availability must be a foremost concern of any data-centric system. Rather than focusing on the means to the end, Google SRE finds it useful to borrow a page from test-driven development by proving that our systems can maintain data availability with a predicted maximum down time. The means and mechanisms that we use to achieve this end goal are necessary evils. By keeping our eyes on the goal, we avoid falling into the trap in which \"The operation was a success, but the system died.\"\n\nRecognizing that not just *anything* can go wrong, but that *everything* will go wrong is a significant step toward preparation for any real emergency. A matrix of all possible combinations of disasters with plans to address each of these disasters permits you to sleep soundly for at least one night; keeping your recovery plans current and exercised permits you to sleep the other 364 nights of the year.\n\nAs you get better at recovering from any breakage in reasonable time *N*, find ways to whittle down that time through more rapid and finer-grained loss detection, with the goal of approaching N = 0. You can then switch from planning recovery to planning prevention, with the aim of achieving the holy grail of *all the data, all the time*. Achieve this goal, and you can sleep on the beach on that well-deserved vacation.\n\n122Atomicity, Consistency, Isolation, Durability; see [*https://en.wikipedia.org/wiki/ACID*](https://en.wikipedia.org/wiki/ACID). SQL databases such as MySQL and PostgreSQL strive to achieve these properties.\n\n123Basically Available, Soft state, Eventual consistency; see [*https://en.wikipedia.org/wiki/Eventual_consistency*](https://en.wikipedia.org/wiki/Eventual_consistency). BASE systems, like Bigtable and Megastore, are often also described as \"NoSQL.\"\n\n124For further reading on ACID and BASE APIs, see [[Gol14]](/sre-book/bibliography#Gol14) and [[Bai13]](/sre-book/bibliography#Bai13).\n\n125Binary Large Object; see [*https://en.wikipedia.org/wiki/Binary_large_object*](https://en.wikipedia.org/wiki/Binary_large_object).\n\n126See [*https://en.wikipedia.org/wiki/Zero-day_(computing)*](https://en.wikipedia.org/wiki/Zero-day_(computing)).\n\n127Clay tablets are the oldest known examples of writing. For a broader discussion of preserving data for the long haul, see [[Con96]](/sre-book/bibliography#Con96).\n\n128Upon reading this advice, one might ask: since you have to offer an API on top of the datastore to implement soft deletion, why stop at soft deletion, when you could offer many other features that protect against accidental data deletion by users? To take a specific example from Google’s experience, consider Blobstore: rather than allow customers to delete Blob data and metadata directly, the Blob APIs implement many safety features, including default backup policies (offline replicas), end-to-end checksums, and default tombstone lifetimes (soft deletion). It turns out that on multiple occasions, soft deletion saved Blobstore’s clients from data loss that could have been much, much worse. There are certainly many deletion protection features worth calling out, but for companies with required data deletion deadlines, soft deletion was the most pertinent protection against bugs and accidental deletion in the case of Blobstore’s clients.\n\n129\"Snapshot\" here refers to a read-only, static view of a storage instance, such as snapshots of SQL databases. Snapshots are often implemented using copy-on-write semantics for storage efficiency. They can be expensive for two reasons: first, they contend for the same storage capacity as the live datastores, and second, the faster your data mutates, the less efficiency is gained from copying-on-write.\n\n130For more information on GFS-style replication, see [[Ghe03]](/sre-book/bibliography#Ghe03). For more information on Reed-Solomon erasure codes, see [*https://en.wikipedia.org/wiki/Reed–Solomon_error_correction*](https://en.wikipedia.org/wiki/Reed–Solomon_error_correction).\n\n131See [*https://en.wikipedia.org/wiki/Catch-22_(logic)*](https://en.wikipedia.org/wiki/Catch-22_(logic)).\n\n132In practice, coming up with a programmatic solution was not a hurdle because the majority of SREs are experienced software engineers, as was the case here. The expectation of such experience makes SREs notoriously hard to find and hire, and from this case study and other data points, you can begin to appreciate why SRE hires practicing software engineers; see [[Jon15]](/sre-book/bibliography#Jon15).\n\n133In our experience, cloud computing engineers are often reluctant to set up production alerts on data deletion rates due to natural variation of per-user data deletion rates with time. However, since the intent of such an alert is to detect global rather than local deletion rate anomalies, it would be more useful to alert when the global data deletion rate, aggregated across all users, crosses an extreme threshold (such as 10x the observed 95th percentile), as opposed to less useful per-user deletion rate alerts.", "znaku_textu": 69911, "slov": 11014, "odkazu": 98, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:43", "sha256": "f4855e3ea22a8c3c8a6110986bb6b3a32d6158632ab3b2da5ff0b3ef8bfbb3f6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/ACID", "https://en.wikipedia.org/wiki/Eventual_consistency", "https://en.wikipedia.org/wiki/Binary_large_object", "https://en.wikipedia.org/wiki/Zero-day_(computing)", "https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction", "https://en.wikipedia.org/wiki/Catch-22_(logic)", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/data-processing-pipelines/", "titulek": "Google SRE - Managing Data Processing Pipelines: Challenges", "h1": "Data Processing Pipelines", "popis": "Challenges in data processing pipelines, from periodic to continuous models, and discover innovative solutions like the leader-follower model for big data.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/data-processing-pipelines/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/data-processing-pipelines/"}, "headline": "Data Processing Pipelines", "description": "This chapter focuses on the real-life challenges of managing data processing pipelines of depth and complexity. It considers the frequency continuum between periodic pipelines that run very infrequently through to continuous pipelines that never stop running, and discusses the discontinuities that can produce significant operational problems.", "image": "https://lh3.googleusercontent.com/YXUOpRnjCiJ-PAWgTa54e_MHk81RgTssN4k8wfh8N1ELBFCypdPWM5gRobnCRgApVt9gFMLP26svAVkRdHfkthCpVhYtrR9WYc9F9g", "author": [{"@type": "Person", "name": "Dan Dennison"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Data Processing Pipelines"}, {"uroven": 2, "text": "Origin of the Pipeline Design Pattern"}, {"uroven": 1, "text": "Initial Effect of Big Data on the Simple Pipeline Pattern"}, {"uroven": 1, "text": "Challenges with the Periodic Pipeline Pattern"}, {"uroven": 1, "text": "Trouble Caused By Uneven Work Distribution"}, {"uroven": 1, "text": "Drawbacks of Periodic Pipelines in Distributed Environments"}, {"uroven": 2, "text": "Monitoring Problems in Periodic Pipelines"}, {"uroven": 2, "text": "\"Thundering Herd\" Problems"}, {"uroven": 2, "text": "Moiré Load Pattern"}, {"uroven": 1, "text": "Introduction to Google Workflow"}, {"uroven": 2, "text": "Workflow as Model-View-Controller Pattern"}, {"uroven": 1, "text": "Stages of Execution in Workflow"}, {"uroven": 2, "text": "Workflow Correctness Guarantees"}, {"uroven": 1, "text": "Ensuring Business Continuity"}, {"uroven": 1, "text": "Summary and Concluding Remarks"}], "markdown": "# Data Processing Pipelines\n\nWritten by Dan DennisonEdited by Tim Harvey\n\nThis chapter focuses on the real-life challenges of managing data processing pipelines of depth and complexity. It considers the frequency continuum between periodic pipelines that run very infrequently through to continuous pipelines that never stop running, and discusses the discontinuities that can produce significant operational problems. A fresh take on the leader-follower model is presented as a more reliable and better-scaling alternative to the periodic pipeline for processing Big Data.\n\n## Origin of the Pipeline Design Pattern\n\nThe classic approach to data processing is to write a program that reads in data, transforms it in some desired way, and outputs new data. Typically, the program is scheduled to run under the control of a [periodic scheduling program](https://sre.google/sre-book/distributed-periodic-scheduling/) such as cron. This design pattern is called a *data pipeline*. Data pipelines go as far back as co-routines [[Con63]](/sre-book/bibliography/#Con63), the DTSS communication files [[Bul80]](/sre-book/bibliography/#Bul80), the UNIX pipe [[McI86]](/sre-book/bibliography/#McI86), and later, ETL pipelines,116 but such pipelines have gained increased attention with the rise of \"Big Data,\" or \"datasets that are so large and so complex that traditional data processing applications are inadequate.\"117\n\n# Initial Effect of Big Data on the Simple Pipeline Pattern\n\nPrograms that perform periodic or continuous transformations on Big Data are usually referred to as \"simple, one-phase pipelines.\"\n\nGiven the scale and processing complexity inherent to Big Data, programs are typically organized into a chained series, with the output of one program becoming the input to the next. There may be varied rationales for this arrangement, but it is typically designed for ease of reasoning about the system and not usually geared toward operational efficiency. Programs organized this way are called *multiphase pipelines*, because each program in the chain acts as a discrete data processing phase.\n\nThe number of programs chained together in series is a measurement known as the *depth* of a pipeline. Thus, a shallow pipeline may only have one program with a corresponding pipeline depth measurement of one, whereas a deep pipeline may have a pipeline depth in the tens or hundreds of programs.\n\n# Challenges with the Periodic Pipeline Pattern\n\nPeriodic pipelines are generally stable when there are sufficient workers for the volume of data and execution demand is within computational capacity. In addition, instabilities such as processing bottlenecks are avoided when the number of chained jobs and the relative throughput between jobs remain uniform.\n\nPeriodic pipelines are useful and practical, and we run them on a regular basis at Google. They are written with frameworks like MapReduce [[Dea04]](/sre-book/bibliography/#Dea04) and Flume [[Cha10]](/sre-book/bibliography/#Cha10), among others.\n\nHowever, the collective SRE experience has been that the periodic pipeline model is fragile. We discovered that when a periodic pipeline is first installed with worker sizing, periodicity, chunking technique, and other parameters carefully tuned, performance is initially reliable. However, organic growth and change inevitably begin to stress the system, and problems arise. Examples of such problems include jobs that exceed their run deadline, resource exhaustion, and hanging processing chunks that entail corresponding operational load.\n\n# Trouble Caused By Uneven Work Distribution\n\nThe key breakthrough of Big Data is the widespread application of \"embarrassingly parallel\" [[Mol86]](/sre-book/bibliography/#Mol86) algorithms to cut a large workload into chunks small enough to fit onto individual machines. Sometimes chunks require an uneven amount of resources relative to one another, and it is seldom initially obvious why particular chunks require different amounts of resources. For example, in a workload that is partitioned by customer, data chunks for some customers may be much larger than others. Because the customer is the point of indivisibility, end-to-end runtime is thus capped to the runtime of the largest customer.\n\nThe \"hanging chunk\" problem can result when resources are assigned due to differences between machines in a cluster or overallocation to a job. This problem arises due to the difficulty of some real-time operations on streams such as sorting \"steaming\" data. The pattern of typical user code is to wait for the total computation to complete before progressing to the next pipeline stage, commonly because sorting may be involved, which requires all data to proceed. That can significantly delay pipeline completion time, because completion is blocked on the worst-case performance as dictated by the chunking methodology in use.\n\nIf this problem is detected by engineers or cluster monitoring infrastructure, the response can make matters worse. For example, the \"sensible\" or \"default\" response to a hanging chunk is to immediately kill the job and then allow the job to restart, because the blockage may well be the result of nondeterministic factors. However, because pipeline implementations by design usually don’t include checkpointing, work on all chunks is restarted from the beginning, thereby wasting the time, CPU cycles, and human effort invested in the previous cycle.\n\n# Drawbacks of Periodic Pipelines in Distributed Environments\n\nBig Data periodic pipelines are widely used at Google, and so Google’s cluster management solution includes an alternative scheduling mechanism for such pipelines. This mechanism is necessary because, unlike continuously running pipelines, periodic pipelines typically run as lower-priority batch jobs. A lower-priority designation works well in this case because batch work is not sensitive to latency in the same way that Internet-facing web services are. In addition, in order to control cost by maximizing machine workload, Borg (Google’s cluster management system, [[Ver15]](/sre-book/bibliography/#Ver15)) assigns batch work to available machines. This priority can result in degraded startup latency, so pipeline jobs can potentially experience open-ended startup delays.\n\nJobs invoked through this mechanism have a number of natural limitations, resulting in various distinct behaviors. For example, jobs scheduled in the gaps left by user-facing web service jobs might be impacted in terms of availability of low-latency resources, pricing, and stability of access to resources. Execution cost is inversely proportional to requested startup delay, and directly proportional to resources consumed. Although batch scheduling may work smoothly in practice, excessive use of the batch scheduler ([Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/)) places jobs at risk of preemptions (see section 2.5 of [[Ver15]](/sre-book/bibliography/#Ver15)) when cluster load is high because other users are starved of batch resources. In light of the risk trade-offs, running a well-tuned periodic pipeline successfully is a delicate balance between high resource cost and risk of preemptions.\n\nDelays of up to a few hours might well be acceptable for pipelines that run daily. However, as the scheduled execution frequency increases, the minimum time between executions can quickly reach the minimum average delay point, placing a lower bound on the latency that a periodic pipeline can expect to attain. Reducing the job execution interval below this effective lower bound simply results in undesirable behavior rather than increased progress. The specific failure mode depends on the batch scheduling policy in use. For example, each new run might stack up on the cluster scheduler because the previous run is not complete. Even worse, the currently executing and nearly finished run could be killed when the next execution is scheduled to begin, completely halting all progress in the name of increasing executions.\n\nNote where the downward-sloping idle interval line intersects the scheduling delay in Figure 25-1. In this scenario, lowering the execution interval much below 40 minutes for this ~20-minute job results in potentially overlapping executions with undesired consequences.\n\nFigure 25-1. Periodic pipeline execution interval versus idle time (log scale)\n\nThe solution to this problem is to secure sufficient server capacity for proper operation. However, resource acquisition in a shared, distributed environment is subject to supply and demand. As expected, development teams tend to be reluctant to go through the processes of acquiring resources when the resources must be contributed to a common pool and shared. To resolve this, a distinction between batch scheduling resources versus production priority resources has to be made to rationalize resource acquisition costs.\n\n## Monitoring Problems in Periodic Pipelines\n\nFor pipelines of sufficient execution duration, having real-time information on runtime performance metrics can be as important, if not even more important, than knowing overall metrics. This is because real-time data is important to providing operational support, including emergency response. In practice, the standard monitoring model involves collecting metrics during job execution, and reporting metrics only upon completion. If the job fails during execution, no statistics are provided.\n\nContinuous pipelines do not share these problems because their tasks are constantly running and their telemetry is routinely designed so that real-time metrics are available. Periodic pipelines shouldn’t have inherent monitoring problems, but we have observed a strong association.\n\n## \"Thundering Herd\" Problems\n\nAdding to execution and monitoring challenges is the \"thundering herd\" problem endemic to distributed systems, also discussed in [Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/). Given a large enough periodic pipeline, for each cycle, potentially thousands of workers immediately start work. If there are too many workers or if the workers are misconfigured or invoked by faulty retry logic, the servers on which they run will be overwhelmed, as will the underlying shared cluster services, and any networking infrastructure that was being used will also be overwhelmed.\n\nFurther worsening this situation, if retry logic is not implemented, correctness problems can result when work is dropped upon failure, and the job won’t be retried. If retry logic is present but it is naive or poorly implemented, retry upon failure can compound the problem.\n\nHuman intervention can also contribute to this scenario. Engineers with limited experience managing pipelines tend to amplify this problem by adding more workers to their pipeline when the job fails to complete within a desired period of time.\n\nRegardless of the source of the \"thundering herd\" problem, nothing is harder on cluster infrastructure and the SREs responsible for a cluster’s various services than a buggy 10,000 worker pipeline job.\n\n## Moiré Load Pattern\n\nSometimes the thundering herd problem may not be obvious to spot in isolation. A related problem we call \"Moiré load pattern\" occurs when two or more pipelines run simultaneously and their execution sequences occasionally overlap, causing them to simultaneously consume a common shared resource. This problem can occur even in continuous pipelines, although it is less common when load arrives more evenly.\n\nMoiré load patterns are most apparent in plots of pipeline usage of shared resources. For example, Figure 25-2 identifies the resource usage of three periodic pipelines. In Figure 25-3, which is a stacked version of the data of the previous graph, the peak impact causing on-call pain occurs when the aggregate load nears 1.2M.\n\nFigure 25-2. Moiré load pattern in separate infrastructure\n\nFigure 25-3. Moiré load pattern in shared infrastructure\n\n# Introduction to Google Workflow\n\nWhen an inherently one-shot batch pipeline is overwhelmed by business demands for continuously updated results, the pipeline development team usually considers either refactoring the original design to satisfy current demands, or moving to a continuous pipeline model. Unfortunately, business demands usually occur at the least convenient time to refactor the pipeline system into an online continuous processing system. Newer and larger customers who are faced with forcing scaling issues typically also want to include new features, and expect that these requirements adhere to immovable deadlines. In anticipating this challenge, it’s important to ascertain several details at the outset of designing a system involving a proposed data pipeline. Be sure to scope expected growth trajectory,118 demand for design modifications, expected additional resources, and expected latency requirements from the business.\n\nFaced with these needs, Google developed a system in 2003 called \"Workflow\" that makes continuous processing available at scale. Workflow uses the leader-follower (workers) distributed systems design pattern [[Sha00]](/sre-book/bibliography/#Sha00) and the system prevalence design pattern.119 This combination enables very large-scale transactional [data pipelines](https://sre.google/workbook/data-processing/), ensuring correctness with exactly-once semantics.\n\n## Workflow as Model-View-Controller Pattern\n\nBecause of how system prevalence works, it can be useful to think of Workflow as the distributed systems equivalent of the model-view-controller pattern known from user interface development.120 As shown in Figure 25-4, this design pattern divides a given software application into three interconnected parts to separate internal representations of information from the ways that information is presented to or accepted from the user.121\n\nFigure 25-4. The model-view-controller pattern used in user interface design\n\nAdapting this pattern for Workflow, the *model* is held in a server called \"Task Master.\" The Task Master uses the system prevalence pattern to hold all job states in memory for fast availability while synchronously journaling mutations to persistent disk. The *view* is the workers that continually update the system state transactionally with the master according to their perspective as a subcomponent of the pipeline. Although all pipeline data may be stored in the Task Master, the best performance is usually achieved when only pointers to work are stored in the Task Master, and the actual input and output data is stored in a common filesystem or other storage. Supporting this analogy, the workers are completely stateless and can be discarded at any time. A *controller* can optionally be added as a third system component to efficiently support a number of auxiliary system activities that affect the pipeline, such as runtime scaling of the pipeline, snapshotting, workcycle state control, rolling back pipeline state, or even performing global interdiction for business continuity. Figure 25-5 illustrates the design pattern.\n\nFigure 25-5. The model-view-controller design pattern as adapted for Google Workflow\n\n# Stages of Execution in Workflow\n\nWe can increase pipeline depth to any level inside Workflow by subdividing processing into task groups held in the Task Master. Each task group holds the work corresponding to a pipeline stage that can perform arbitrary operations on some piece of data. It’s relatively straightforward to perform mapping, shuffling, sorting, splitting, merging, or any other operation in any stage.\n\nA stage usually has some worker type associated with it. There can be multiple concurrent instances of a given worker type, and workers can be self-scheduled in the sense that they can look for different types of work and choose which type to perform.\n\nThe worker consumes work units from a previous stage and produces output units. The output can be an end point or input for some other processing stage. Within the system, it’s easy to guarantee that all work is executed, or at least reflected in permanent state, exactly once.\n\n## Workflow Correctness Guarantees\n\nIt’s not practical to store *every* detail of the pipeline’s state inside the Task Master, because the Task Master is limited by RAM size. However, a double correctness guarantee persists because the master holds a collection of pointers to uniquely named data, and each work unit has a uniquely held lease. Workers acquire work with a lease and may only commit work from tasks for which they currently possess a valid lease.\n\nTo avoid the situation in which an orphaned worker may continue working on a work unit, thus destroying the work of the current worker, each output file opened by a worker has a unique name. In this way, even orphaned workers can continue writing independently of the master until they attempt to commit. Upon attempting a commit, they will be unable to do so because another worker holds the lease for that work unit. Furthermore, orphaned workers cannot destroy the work produced by a valid worker, because the unique filename scheme ensures that every worker is writing to a distinct file. In this way, the double correctness guarantee holds: the output files are always unique, and the pipeline state is always correct by virtue of tasks with leases.\n\nAs if a double correctness guarantee isn’t enough, Workflow also versions all tasks. If the task updates or the task lease changes, each operation yields a new unique task replacing the previous one, with a new ID assigned to the task. Because all pipeline configuration in Workflow is stored inside the Task Master in the same form as the work units themselves, in order to commit work, a worker must own an active lease *and* reference the task ID number of the configuration it used to produce its result. If the configuration changed while the work unit was in flight, all workers of that type will be unable to commit despite owning current leases. Thus, all work performed after a configuration change is consistent with the new configuration, at the cost of work being thrown away by workers unfortunate enough to hold the old leases.\n\nThese measures provide a triple correctness guarantee: configuration, lease ownership, and filename uniqueness. However, even this isn’t sufficient for all cases.\n\nFor example, what if the Task Master’s network address changed, and a different Task Master replaced it at the same address? What if a memory corruption altered the IP address or port number, resulting in another Task Master on the other end? Even more commonly, what if someone (mis)configured their Task Master setup by inserting a load balancer in front of a set of independent Task Masters?\n\nWorkflow embeds a server token, a unique identifier for this particular Task Master, in each task’s metadata to prevent a rogue or incorrectly configured Task Master from corrupting the pipeline. Both client and server check the token on each operation, avoiding a very subtle misconfiguration in which all operations run smoothly until a task identifier collision occurs.\n\nTo summarize, the four Workflow correctness guarantees are:\n\n- Worker output through configuration tasks creates barriers on which to predicate work.\n- All work committed requires a currently valid lease held by the worker.\n- Output files are uniquely named by the workers.\n- The client and server validate the Task Master itself by checking a server token on every operation.\n\nAt this point, it may occur to you that it would be simpler to forgo the specialized Task Master and use Spanner [[Cor12]](/sre-book/bibliography/#Cor12) or another database. However, Workflow is special because each task is unique and immutable. These twin properties prevent many potentially subtle issues with wide-scale work distribution from occurring.\n\nFor example, the lease obtained by the worker is part of the task itself, requiring a brand new task even for lease changes. If a database is used directly and its transaction logs act like a \"journal,\" each and every read must be part of a long-running transaction. This configuration is most certainly possible, but terribly inefficient.\n\n# Ensuring Business Continuity\n\nBig Data pipelines need to continue processing despite failures of all types, including fiber cuts, weather events, and cascading power grid failures. These types of failures can disable entire datacenters. In addition, pipelines that do not employ system prevalence to obtain strong guarantees about job completion are often disabled and enter an undefined state. This architecture gap makes for a brittle business continuity strategy, and entails costly mass duplication of effort to restore pipelines and data.\n\nWorkflow resolves this problem conclusively for continuous processing pipelines. To obtain global consistency, the Task Master stores journals on Spanner, using it as a globally available, globally consistent, but low-throughput filesystem. To determine which Task Master can write, each Task Master uses the distributed lock service called Chubby [[Bur06]](/sre-book/bibliography/#Bur06) to elect the writer, and the result is persisted in Spanner. Finally, clients look up the current Task Master using internal naming services.\n\nBecause Spanner does not make for a high-throughput filesystem, globally distributed Workflows employ two or more local Workflows running in distinct clusters, in addition to a notion of reference tasks stored in the global Workflow. As units of work (tasks) are consumed through a pipeline, equivalent reference tasks are inserted into the global Workflow by the binary labeled \"stage 1\" in Figure 25-6. As tasks finish, the reference tasks are transactionally removed from the global Workflow as depicted in \"stage n\" of Figure 25-6. If the tasks cannot be removed from the global Workflow, the local Workflow will block until the global Workflow becomes available again, ensuring transactional correctness.\n\nTo automate failover, a helper binary labeled \"stage 1\" in Figure 25-6 runs inside each local Workflow. The local Workflow is otherwise unaltered, as described by the \"do work\" box in the diagram. This helper binary acts as a \"controller\" in the MVC sense, and is responsible for creating reference tasks, as well as updating a special heartbeat task inside of the global Workflow. If the heartbeat task is not updated within the timeout period, the remote Workflow’s helper binary seizes the work in progress as documented by the reference tasks and the pipeline continues, unhindered by whatever the environment may do to the work.\n\nFigure 25-6. An example of distributed data and process flow using Workflow pipelines\n\n# Summary and Concluding Remarks\n\nPeriodic pipelines are valuable. However, if a data processing problem is continuous or will organically grow to become continuous, don’t use a periodic pipeline. Instead, use a technology with characteristics similar to Workflow.\n\nWe have found that continuous data processing with strong guarantees, as provided by Workflow, performs and scales well on distributed cluster infrastructure, routinely produces results that users can rely upon, and is a stable and reliable system for the Site Reliability Engineering team to manage and maintain.\n\n116Wikipedia: Extract, transform, load, [*https://en.wikipedia.org/wiki/Extract,_transform,_load*](https://en.wikipedia.org/wiki/Extract,_transform,_load)\n\n117Wikipedia: Big data, [*https://en.wikipedia.org/wiki/Big_data*](https://en.wikipedia.org/wiki/Big_data)\n\n118Jeff Dean’s lecture on \"Software Engineering Advice from Building Large-Scale Distributed Systems\" is an excellent resource: [[Dea07]](/sre-book/bibliography/#Dea07).\n\n119Wikipedia: System Prevalence, [*https://en.wikipedia.org/wiki/System_Prevalence*](https://en.wikipedia.org/wiki/System_Prevalence)\n\n120The \"model-view-controller\" pattern is an analogy for distributed systems that was very loosely borrowed from Smalltalk, which was originally used to describe the design structure of graphical user interfaces [[Fow08]](/sre-book/bibliography/#Fow08).\n\n121Wikipedia: Model-view-controller, [*https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller*](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller)", "znaku_textu": 24205, "slov": 3621, "odkazu": 87, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:44", "sha256": "332c6fd3a3498545dc4456f3900f4e4f6ab463dea1a2c6b7e5c16f948cc2eef0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Extract,_transform,_load", "https://en.wikipedia.org/wiki/Big_data", "https://en.wikipedia.org/wiki/System_Prevalence", "https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/dealing-with-interrupts/", "titulek": "Google SRE - Operational Load: System Maintenance Strategies", "h1": "Managing Operational Load", "popis": "Learn about operational load in complex systems, its types, and how to manage pages, tickets, and ongoing responsibilities to maintain system efficiency.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/dealing-with-interrupts/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/dealing-with-interrupts/"}, "headline": "Dealing with Interrupts", "description": "Operational load, when applied to complex systems, is the work that must be done to maintain the system in a functional state. Any complex system is as imperfect as its creators. In managing the operational load created by these systems, remember that its creators are also imperfect machines.", "author": [{"@type": "Person", "name": "Dave O'Connor"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Dealing with Interrupts"}, {"uroven": 1, "text": "Managing Operational Load"}, {"uroven": 1, "text": "Factors in Determining How Interrupts Are Handled"}, {"uroven": 1, "text": "Imperfect Machines"}, {"uroven": 2, "text": "Cognitive Flow State"}, {"uroven": 3, "text": "Cognitive flow state: Creative and engaged"}, {"uroven": 3, "text": "Cognitive flow state: Angry Birds"}, {"uroven": 2, "text": "Do One Thing Well"}, {"uroven": 3, "text": "Distractibility"}, {"uroven": 3, "text": "Polarizing time"}, {"uroven": 2, "text": "Seriously, Tell Me What to Do"}, {"uroven": 3, "text": "General suggestions"}, {"uroven": 3, "text": "On-call"}, {"uroven": 3, "text": "Tickets"}, {"uroven": 3, "text": "Ongoing responsibilities"}, {"uroven": 3, "text": "Be on interrupts, or don’t be"}, {"uroven": 2, "text": "Reducing Interrupts"}, {"uroven": 3, "text": "Actually analyze tickets"}, {"uroven": 3, "text": "Respect yourself, as well as your customers"}], "markdown": "## Dealing with Interrupts\n\nWritten by Dave O’ConnorEdited by Diane Bates\n\n“Operational load,” when applied to complex systems, is the work that must be done to maintain the system in a functional state. For example, if you own a car, you (or someone you pay) always end up servicing it, putting gas in it, or doing other regular maintenance to keep it performing its function.\n\nAny complex system is as imperfect as its creators. In managing the operational load created by these systems, remember that its creators are also imperfect machines.\n\n*Operational load*, when applied to managing complex systems, takes many forms, some more obvious than others. The terminology may change, but operational load falls into three general categories: pages, tickets, and ongoing operational activities.\n\n*Pages* concern production alerts and their fallout, and are triggered in response to production emergencies. They can sometimes be monotonous and recurring, requiring little thought. They can also be engaging and involve tactical in-depth thought. Pages always have an expected response time (SLO), which is sometimes measured in minutes.\n\n*Tickets* concern customer requests that require you to take an action. Like pages, tickets can be either simple and boring, or require real thought. A simple ticket might request a code review for a config the team owns. A more complex ticket might entail a special or unusual request for help with a design or capacity plan. Tickets may also have an SLO, but response time is more likely measured in hours, days, or weeks.\n\n*Ongoing operational responsibilities* (also known as \"Kicking the can down the road\" and \"toil\"; see [Eliminating Toil](/sre-book/eliminating-toil/)) include activities like team-owned code or flag rollouts, or responses to ad hoc, time-sensitive questions from customers. While they may not have a defined SLO, these tasks can interrupt you.\n\nSome types of operational load are easily anticipated or planned for, but much of the load is unplanned, or can interrupt someone at a nonspecific time, requiring that person to determine if the issue can wait.\n\n# Managing Operational Load\n\nGoogle has several methods of managing each type of operational load at the team level.\n\n*Pages* are most commonly managed by a dedicated primary on-call engineer. This is a single person who responds to pages and manages the resulting incidents or outages. The primary [on-call engineer](https://sre.google/sre-book/being-on-call/) might also manage user support communications, escalation to product developers, and so on. In order to both minimize the interruption a page causes to a team and avoid the bystander effect, Google on-call shifts are manned by a single engineer. The on-call engineer might escalate pages to another team member if a problem isn’t well understood.\n\nTypically, a secondary on-call engineer acts as a backup for the primary. The secondary engineer’s duties vary. In some rotations, the secondary’s only duty is to contact the primary if pages fall through. In this case, the secondary might be on another team. The secondary engineer may or may not consider themselves *on interrupts*, depending on duties.\n\n*Tickets* are managed in a few different ways, depending on the SRE team: a primary on-call engineer might work on tickets while on-call, a secondary engineer might work on tickets while on-call, or a team can have a dedicated ticket person who is *not* on-call. Tickets might be randomly autodistributed among team members, or team members might be expected to service tickets ad hoc.\n\n*Ongoing operational responsibilities* are also managed in varying ways. Sometimes, the on-call engineer does the work (pushes, flag flips, etc.). Alternately, each responsibility can be assigned to team members ad hoc, or an on-call engineer might pick up a lasting responsibility (i.e., a multiweek rollout or ticket) that lasts beyond their shift week.\n\n# Factors in Determining How Interrupts Are Handled\n\nTo take a step back from the mechanics of how operational load is managed, there are a number of metrics that factor into how each of these interrupts are handled. Some SRE teams at Google have found the following metrics to be useful in deciding how to manage interrupts:\n\n- Interrupt SLO or expected response time\n- The number of interrupts that are usually backlogged\n- The severity of the interrupts\n- The frequency of the interrupts\n- The number of people available to handle a certain kind of interrupt (e.g., some teams require a certain amount of ticket work before going on-call)\n\nYou might notice that all of these metrics are suited to meeting the lowest possible response time, without factoring in more human costs. Trying to take stock of the human and productivity cost is difficult.\n\n# Imperfect Machines\n\nHumans are imperfect machines. They get bored, they have processors (and sometimes UIs) that aren’t very well understood, and they aren’t very efficient. Recognizing the human element as \"Working as Intended\" and trying to work around or ameliorate how humans work could fill a much larger space than provided here; for the moment, some basic ideas might be useful in determining how interrupts should work.\n\n## Cognitive Flow State\n\nThe concept of *flow state*143 is widely accepted and can be empirically acknowledged by pretty much everyone who works in Software Engineering, Sysadmin, SRE, or most other disciplines that require focused periods of concentration. Being in \"the zone\" can increase productivity, but can also increase artistic and scientific creativity. Achieving this state encourages people to actually master and improve the task or project they’re working on. Being interrupted can kick you right out of this state, if the interrupt is disruptive enough. You want to maximize the amount of time spent in this state.\n\nCognitive flow can also apply to less creative pursuits where the skill level required is lower, and the essential elements of flow are still fulfilled (clear goals, immediate feedback, a sense of control, and the associated time distortion); examples include housework or driving.\n\nYou can get in the zone by working on low-skill, low-difficulty problems, such as playing a repetitive video game. You can just as easily get there by doing high-skill, high-difficulty problems, such as those an engineer might face. The methods of arriving at a cognitive flow state differ, but the outcome is essentially the same.\n\n### Cognitive flow state: Creative and engaged\n\nThis is the zone: someone works on a problem for a while, is aware of and comfortable with the parameters of the problem, and feels like they can fix it or solve it. The person works intently on the problem, losing track of time and ignoring interrupts as much as possible. Maximizing the amount of time a person can spend in this state is very desirable—they’re going to produce creative results and do good work by volume. They’ll be happier at the job they’re doing.\n\nUnfortunately, many people in SRE-type roles spend much of their time either trying and failing to get into this mode and getting frustrated when they cannot, or never even attempting to reach this mode, instead languishing in the interrupted state.\n\n### Cognitive flow state: Angry Birds\n\nPeople enjoy performing tasks they know how to do. In fact, executing such tasks is one of the clearest paths to cognitive flow. Some SREs are on-call when they reach a state of cognitive flow. It can be very fulfilling to chase down the causes of problems, work with others, and improve the overall health of the system in such a tangible way. Conversely, for most stressed-out on-call engineers, stress is caused either by pager volume, or because they’re treating on-call as an interrupt. They’re trying to code or work on projects while simultaneously being on-call or on full-time interrupts. These engineers exist in a state of constant interruption, or *interruptability*. This working environment is extremely stressful.\n\nOn the other hand, when a person is concentrating full-time on interrupts, *interrupts stop being interrupts*. At a very visceral level, making incremental improvements to the system, whacking tickets, and fixing problems and outages becomes a clear set of goals, boundaries, and clear feedback: you close X bugs, or you stop getting paged. All that’s left is distractions. *When you’re doing interrupts, your projects are a distraction*. Even though interrupts may be a satisfying use of time in the short term, in a mixed project/on-call environment, people are ultimately happier with a balance between these two types of work. The ideal balance varies from engineer to engineer. It’s important to be aware that some engineers may not actually know what balance best motivates them (or might think they know, but you may disagree).\n\n## Do One Thing Well\n\nYou might be wondering about the practical implications of what you’ve read thus far.\n\nThe following suggestions, based on what’s worked for various SRE teams that I’ve managed at Google, are mainly for the benefit of team managers or influencers. This document is agnostic to personal habits—people are free to manage their own time as they see fit. The concentration here is on directing the structure of how the team itself manages interrupts, so that people aren’t set up for failure because of team function or structure.\n\n### Distractibility\n\nThe ways in which an engineer may be distracted and therefore prevented from achieving a state of cognitive flow are numerous. For example: consider a random SRE named Fred. Fred comes into work on Monday morning. Fred isn’t on-call or on interrupts today, so Fred would clearly like to work on his projects. He grabs a coffee, sticks on his \"do not disturb\" headphones, and sits at his desk. Zone time, right?\n\nExcept, at any time, any of the following things might happen:\n\n- Fred’s team uses an automated ticket system to randomly assign tickets to the team. A ticket gets assigned to him, due today.\n- Fred’s colleague is on-call and receives a page about a component that Fred is expert in, and interrupts him to ask about it.\n- A user of Fred’s service raises the priority of a ticket that’s been assigned to him since last week, when he was on-call.\n- A flag rollout that’s rolling out over 3–4 weeks and is assigned to Fred goes wrong, forcing Fred to drop everything to examine the rollout, roll back the change, and so forth.\n- A user of Fred’s service contacts Fred to ask a question, because Fred is such a helpful chap.\n- And so on.\n\nThe end result is that even though Fred has the entire calendar day free to work on projects, he remains extremely distractible. Some of these distractions he can manage himself by closing email, turning off IM, or taking other similar measures. Some distractions are caused by policy, or by assumptions around interrupts and ongoing responsibilities.\n\nYou can claim that some level of distraction is inevitable and by design. This assumption is correct: people do hang onto bugs for which they’re the primary contact, and people also build up other responsibilities and obligations. However, there are ways that a team can manage interrupt response so that more people (on average) can come into work in the morning and *feel undistractible*.\n\n### Polarizing time\n\nIn order to limit your distractibility, you should try to minimize context switches. Some interrupts are inevitable. However, viewing an engineer as an interruptible unit of work, whose context switches are free, is suboptimal if you want people to be happy and productive. Assign a cost to context switches. A 20-minute interruption while working on a project entails two context switches; realistically, this interruption results in a loss of a couple hours of truly productive work. To avoid constant occurrences of productivity loss, aim for polarized time between work styles, with each work period lasting as long as possible. Ideally, this time period is a week, but a day or even a half-day may be more practical. This strategy also fits in with the complementary concept of *make time* [[Gra09]](/sre-book/bibliography#Gra09).\n\nPolarizing time means that when a person comes into work each day, they should know if they’re doing *just* project work or *just* interrupts. Polarizing their time in this way means they get to concentrate for longer periods of time on the task at hand. They don’t get stressed out because they’re being roped into tasks that drag them away from the work they’re supposed to be doing.\n\n## Seriously, Tell Me What to Do\n\nIf the general model presented in this chapter doesn’t work for you, here are some specific suggestions of components you can implement piecemeal.\n\n### General suggestions\n\nFor any given class of interrupt, if the volume of interrupts is too high for one person, *add another person*. This concept most obviously applies to tickets, but can potentially apply to pages, too—the on-call can start bumping things to their secondary, or downgrading pages to tickets.\n\n### On-call\n\nThe primary on-call engineer should focus solely on on-call work. If the pager is quiet for your service, tickets or other interrupt-based work that can be abandoned fairly quickly should be part of on-call duties. When an engineer is on-call for a week, that week should be written off as far as project work is concerned. If a project is too important to let slip by a week, that person shouldn’t be on-call. Escalate in order to assign someone else to the on-call shift. *A person should never be expected to be on-call and also make progress on projects (or anything else with a high context switching cost)*.\n\nSecondary duties depend on how onerous those duties are. If the function of the secondary is to back up the primary in the case of a fallthrough, then maybe you can safely assume that the secondary can also accomplish project work. If someone other than the secondary is assigned to handling tickets, consider merging the roles. If the secondary is expected to actually help the primary in the case of high pager volume, they should do interrupt work, too.\n\n(Aside: *You never run out of cleanup work*. Your ticket count might be at zero, but there is always documentation that needs updating, configs that need cleanup, etc. Your future on-call engineers will thank you, and it means they’re less likely to interrupt you during your precious make time).\n\n### Tickets\n\nIf you currently assign tickets randomly to victims on your team, *stop*. Doing so is extremely disrespectful of your team’s time, and works completely counter to the principle of not being interruptible as much as possible.\n\nTickets should be a full-time role, for an amount of time that’s manageable for a person. If you happen to be in the unenviable position of having more tickets than can be closed by the primary and secondary on-call engineers combined, then structure your ticket rotation to have two people handling tickets at any given time. Don’t spread the load across the entire team. People are not machines, and you’re just causing context switches that impact valuable flow time.\n\n### Ongoing responsibilities\n\nAs much as possible, define roles that let anyone on the team take up the mantle. If there’s a well-defined procedure for performing and verifying pushes or flag flips, then there’s no reason a person has to shepherd that change for its entire lifetime, even after they stop being on-call or on interrupts. Define a *push manager* role who can juggle pushes for the duration of their time on-call or on interrupts. Formalize the handover process—it’s a small price to pay for uninterrupted make time for the people not on-call.\n\n### Be on interrupts, or don’t be\n\nSometimes when a person isn’t on interrupts, the team receives an interrupt that the person is uniquely qualified to handle. While ideally this scenario should never happen, it sometimes does. You should work to make such occurrences rare.\n\nSometimes people work on tickets when they’re not assigned to handle tickets because it’s an easy way to look busy. Such behavior isn’t helpful. It means the person is less effective than they should be. They skew the numbers in terms of how manageable the ticket load is. If one person is assigned to tickets, but two or three other people also take a stab at the ticket queue, you might still have an unmanageable ticket queue even though you don’t realize it.\n\n## Reducing Interrupts\n\nYour team’s interrupt load may be unmanageable if it requires too many team members to simultaneously staff interrupts at any given time. There are a number of techniques you can use to reduce your ticket load overall.\n\n### Actually analyze tickets\n\nLots of ticket rotations or on-call rotations function like a gauntlet. This is especially true of rotations on larger teams. If you’re only on interrupts every couple of months, it’s easy to run the gauntlet,144 heave a sigh of relief, and then return to your regular duties. Your successor then does the same, and the root causes of tickets are never investigated. Rather than achieving forward movement, your team is bogged down by a succession of people getting annoyed by the same issues.\n\nThere should be a handoff for tickets, as well as for on-call work. A handoff process maintains shared state between ticket handlers as responsibility switches over. Even some basic introspection into the root causes of interrupts can provide good solutions for reducing the overall rate. *Lots* of teams conduct on-call handoffs and page reviews. *Very few* teams do the same for tickets.\n\nYour team should conduct a regular scrub for tickets and pages, in which you examine classes of interrupts to see if you can identify a root cause. If you think the root cause is fixable in a reasonable amount of time, then *silence the interrupts until the root cause is expected to be fixed*. Doing so provides relief for the person handling interrupts and creates a handy deadline enforcement for the person fixing the root cause.\n\n### Respect yourself, as well as your customers\n\nThis maxim applies more to user interrupts than automated interrupts, although the principles stand for both scenarios. If tickets are particularly annoying or onerous to resolve, you can effectively use policy to mitigate the burden.\n\nRemember:\n\n- Your team sets the level of service provided by your service.\n- It’s OK to push back some of the effort onto your customers.\n\nIf your team is responsible for handling tickets or interrupts for customers, you can often use policy to make your work load more manageable. A policy fix can be temporary or permanent, depending on what makes sense. Such a fix should strike a good balance between respect for the customer and respect for yourself. Policy can be as powerful a tool as code.\n\nFor example, if you support a particularly flaky tool that doesn’t have many developer resources, and a small number of needy customers use it, consider other options. Think about the value of the time you spend doing interrupts for this system, and if you’re spending this time wisely. At some point, if you can’t get the attention you need to fix the root cause of the problems causing interrupts, perhaps the component you’re supporting isn’t that important. You should consider giving the pager back, deprecating it, replacing it, or another strategy in this vein that might make sense.\n\nIf there are particular steps for an interrupt that are time-consuming or tricky, but don’t require your privileges to accomplish, consider using policy to push the request back to the requestor. For example, if people need to donate compute resources, prepare a code or config change or some similar step, and then instruct the customer to execute that step and send it for your review. Remember that if the customer wants a certain task to be accomplished, they should be prepared to spend some effort getting what they want.\n\nA caveat to the preceding solutions is that you need to find a balance between respect for the customer and for yourself. Your guiding principle in constructing a strategy for dealing with customer requests is that the request should be meaningful, be rational, and provide all the information and legwork you need in order to fulfill the request. In return, your response should be helpful and timely.\n\n143See Wikipedia: Flow (psychology), [*https://en.wikipedia.org/wiki/Flow_(psychology)*](https://en.wikipedia.org/wiki/Flow_(psychology)).\n\n144See [*https://en.wikipedia.org/wiki/Running_the_gauntlet*](https://en.wikipedia.org/wiki/Running_the_gauntlet).", "znaku_textu": 20430, "slov": 3393, "odkazu": 59, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:45", "sha256": "62b117ada047aca6d784cc125dc089e113f5bfc53c3d0fc1cca0b92540ae54ca", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Flow_(psychology)", "https://en.wikipedia.org/wiki/Running_the_gauntlet", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/distributed-periodic-scheduling/", "titulek": "Google SRE: Distributed Periodic Scheduling with Cron Service", "h1": "Distributed Periodic Scheduling with Cron", "popis": "Explore distributed scheduling challenges and how the distributed cron service solve failure modes in large-scale systems | Google's Paxos-based solution.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/distributed-periodic-scheduling/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/distributed-periodic-scheduling/"}, "headline": "Distributed Periodic Scheduling with Cron", "description": "This chapter describes Google's implementation of a distributed cron service that serves the vast majority of internal teams that need periodic scheduling of compute jobs. Throughout cron's existence, we have learned many lessons about how to design and implement what might seem like a basic service.", "image": "https://lh3.googleusercontent.com/IdmUKKtm5nsPO1TpsDA3OFpFBaJYYUMiYQB12iuCIL2cvQXCdZJgDsKWNOdGRqNST2gzZBYXA82rYG8863OGypXATmZ_x9T12Ntd", "author": [{"@type": "Person", "name": "Štěpán Davidovič"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Distributed Periodic Scheduling with Cron"}, {"uroven": 2, "text": "Cron"}, {"uroven": 2, "text": "Introduction"}, {"uroven": 2, "text": "Reliability Perspective"}, {"uroven": 1, "text": "Cron Jobs and Idempotency"}, {"uroven": 1, "text": "Cron at Large Scale"}, {"uroven": 2, "text": "Extended Infrastructure"}, {"uroven": 2, "text": "Extended Requirements"}, {"uroven": 1, "text": "Building Cron at Google"}, {"uroven": 2, "text": "Tracking the State of Cron Jobs"}, {"uroven": 2, "text": "The Use of Paxos"}, {"uroven": 2, "text": "The Roles of the Leader and the Follower"}, {"uroven": 3, "text": "The leader"}, {"uroven": 3, "text": "The follower"}, {"uroven": 3, "text": "Resolving partial failures"}, {"uroven": 2, "text": "Storing the State"}, {"uroven": 2, "text": "Running Large Cron"}, {"uroven": 1, "text": "Summary"}], "markdown": "# Distributed Periodic Scheduling with Cron\n\nWritten by Štěpán Davidovič114\n\nEdited by Kavita Guliani\n\nThis chapter describes Google's implementation of a distributed cron service that serves the vast majority of internal teams that\nneed periodic scheduling of compute jobs. Throughout cron's existence, we have learned many lessons about how to design and implement what might seem like a basic service. Here, we discuss the problems that distributed crons face and outline some potential solutions.\n\nCron is a common Unix utility designed to periodically launch arbitrary jobs at user-defined times or intervals. We first analyze the base principles of cron and its most common implementations, and then review how an application such as cron can work in a large, distributed environment in order to increase the reliability of the system against single-machine failures. We describe a distributed cron system that is deployed on a small number of machines, but can launch cron jobs across an entire datacenter in\nconjunction with a datacenter scheduling system like Borg [[Ver15]](/sre-book/bibliography#Ver15).\n\n## Cron\n\nLet's discuss how cron is typically used, in the single machine case, before diving into running it as a cross-datacenter service.\n\n## Introduction\n\nCron is designed so that the system administrators and common users of the system can specify commands to run, and when these commands run. Cron executes various types of jobs, including garbage collection and periodic data analysis. The most common time specification format is called \"crontab.\" This format supports simple intervals (e.g., \"once a day at noon\" or \"every hour on the hour\"). Complex intervals, such as \"every Saturday, which is also the 30th day of\nthe month,\" can also be configured.\n\nCron is usually implemented using a single component, which is commonly referred to as `crond`. `crond` is a daemon that loads the list of scheduled cron jobs. Jobs are launched according to their specified execution times.\n\n## Reliability Perspective\n\nSeveral aspects of the cron service are notable from a reliability perspective:\n\n- Cron's failure domain is essentially just one machine. If the machine is not running, neither the cron scheduler nor the jobs it\nlaunches can run. 115 Consider a very simple distributed case with two machines, in which your cron scheduler launches jobs on a different worker machine (for example, using SSH). This scenario presents two distinct failure domains that could impact our ability to launch jobs: either the scheduler machine or the destination machine could fail.\n- The only state that needs to persist across `crond` restarts(including machine reboots) is the crontab configuration itself. The cron launches are fire-and-forget, and `crond` makes no attempt to track these launches.\n- anacron is a notable exception to this. anacron attempts to launch jobs that would have been launched when the system was down. Relaunch attempts are limited to jobs that run daily or less frequently. This functionality is very useful for running maintenance jobs on workstations and notebooks, and is facilitated by a file that retains the timestamp of the last launch for all registered cron jobs.\n\n# Cron Jobs and Idempotency\n\nCron jobs are designed to perform periodic work, but beyond that, it is hard to know in advance what function they have. The variety of requirements that the diverse set of cron jobs entails obviously impacts reliability requirements.\n\nSome cron jobs, such as garbage collection processes, are idempotent. In case of system malfunction, it is safe to launch such jobs multiple times. Other cron jobs, such as a process that sends out an email newsletter to a wide distribution, should not be launched more than once.\n\nTo make matters more complicated, failure to launch is acceptable for some cron jobs but not for others. For example, a garbage collection cron job scheduled to run every five minutes may be able to skip one launch, but a payroll cron job scheduled to run once a month should not be skipped.\n\nThis large variety of cron jobs makes reasoning about failure modes difficult: in a system like the cron service, there is no single answer that fits every situation. In general, we favor skipping launches rather than risking double launches, as much as the infrastructure allows. This is because recovering from a skipped launch is more tenable than recovering from a double launch. Cron job\nowners can (and should!) monitor their cron jobs; for example, an owner might have the cron service expose state for its managed cron\njobs, or set up independent monitoring of the effect of cron jobs. In case of a skipped launch, cron job owners can take action that\nappropriately matches the nature of the cron job. However, undoing a double launch, such as the previously mentioned newsletter example, may be difficult or even entirely impossible. Therefore, we prefer to \"fail closed\" to avoid systemically creating bad state.\n\n# Cron at Large Scale\n\nMoving away from single machines toward large-scale deployments requires some fundamental rethinking of how to make cron work well in such an environment. Before presenting the details of the Google cron solution, we'll discuss those differences between small-scale and large-scale deployment, and describe what design changes large-scale deployments necessitated.\n\n## Extended Infrastructure\n\nIn its \"regular\" implementations, cron is limited to a single machine. Large-scale system deployments extend our cron solution to multiple machines.\n\nHosting your cron service on a single machine could be catastrophic in terms of reliability. Say this machine is located in a datacenter with exactly 1,000 machines. A failure of just 1/1000th of your available machines could knock out the entire cron service. For obvious reasons, this implementation is not acceptable.\n\nTo increase cron's reliability, we decouple processes from machines. If you want to run a service, simply specify the service requirements and which datacenter it should run in. The datacenter scheduling system (which itself should be reliable) determines the machine or machines on which to deploy your service, in addition to handling machine deaths. Launching a job in a datacenter then effectively turns into sending one or more RPCs to the datacenter scheduler.\n\nThis process is, however, not instantaneous. Discovering a dead machine entails health check timeouts, while rescheduling your service onto a different machine requires time to install software and start up the new process.\n\nBecause moving a process to a different machine can mean loss of any local state stored on the old machine (unless live migration is employed), and the rescheduling time may exceed the smallest scheduling interval of one minute, we need procedures in place to mitigate both data loss and excessive time requirements. To retain local state of the old machine, you might simply persist the state on a distributed filesystem such as GFS, and use this filesystem during startup to identify jobs that failed to launch due to rescheduling. However, this solution falls short in terms of timeliness expectations: if you run a cron job every five minutes, a one- to two-minute delay caused by the total overhead of cron system rescheduling is potentially unacceptably substantial. In this case, hot spares, which would be able to quickly jump in and resume operation, can significantly shorten this time window.\n\n## Extended Requirements\n\nSingle-machine systems typically just colocate all running processes with limited isolation. While containers are now commonplace,\nit's not necessary or common to use containers to isolate every single component of a service that's deployed on a single machine.\nTherefore, if cron were deployed on a single machine, `crond` and all the cron jobs it runs would likely not be isolated.\n\nDeployment at datacenter scale commonly means deployment into containers that enforce isolation. Isolation is necessary because the\nbase expectation is that independent processes running in the same datacenter should not negatively impact each other. In order to\nenforce that expectation, you should know the quantity of resources you need to acquire up front for any given process you want to\nrun—both for the cron system and the jobs it launches. A cron job may be delayed if the datacenter does not have resources available to\nmatch the demands of the cron job. Resource requirements, in addition to user demand for monitoring of cron job launches, means that we need to track the full state of our cron job launches, from the scheduled launch to termination.\n\nDecoupling process launches from specific machines exposes the cron system to partial launch failure. The versatility of cron job\nconfigurations also means that launching a new cron job in a datacenter may need multiple RPCs, such that sometimes we encounter a scenario in which some RPCs succeeded but others did not (for example, because the process sending the RPCs died in the middle of executing these tasks). The cron recovery procedure must also account for this scenario.\n\nIn terms of the failure mode, a datacenter is a substantially more complex ecosystem than a single machine. The cron service that began as a relatively simple binary on a single machine now has many obvious and nonobvious dependencies when deployed at a larger scale. For a service as basic as cron, we want to ensure that even if the datacenter suffers a partial failure (for example, partial power outage or problems with storage services), the service is still able to function. By requiring that the datacenter scheduler locates replicas of cron in diverse locations within the datacenter, we avoid the scenario in which failure of a single power distribution unit takes out all the processes of the cron service.\n\nIt may be possible to deploy a single cron service across the globe, but deploying cron within a single datacenter has benefits:\nthe service enjoys low latency and shares fate with the datacenter scheduler, cron's core dependency.\n\n# Building Cron at Google\n\nThis section address the problems that must be resolved in order to provide a large-scale distributed deployment of cron reliably. It also highlights some important decisions made in regards to distributed cron at Google.\n\n## Tracking the State of Cron Jobs\n\nAs discussed in previous sections, we need to hold some amount of state about cron jobs, and be able to restore that information quickly in case of failure. Moreover, the consistency of that state is paramount. Recall that many cron jobs, like a payroll run or sending an email newsletter, are not idempotent.\n\nWe have two options to track the state of cron jobs:\n\n- Store data externally in generally available distributed storage\n- Use a system that stores a small volume of state as part of the cron service itself\n\nWhen designing the distributed cron, we chose the second option. We made this choice for several reasons:\n\n- Distributed filesystems such as GFS or HDFS often cater to the use case of very large files (for example, the output of web crawling programs), whereas the information we need to store about cron jobs is very small. Small writes on a distributed filesystem are very expensive and come with high latency, because the filesystem is not optimized for these types of writes.\n- Base services for which outages have wide impact (such as cron) should have very few dependencies. Even if parts of the datacenter go away, the cron service should be able to function for at least some amount of time. But this requirement does not mean that the storage has to be part of the cron process directly (how storage is handled is essentially an implementation detail). However, cron should be able to operate independently of downstream systems that cater to a large number of internal users.\n\n## The Use of Paxos\n\nWe deploy multiple replicas of the cron service and use the [Paxos distributed consensus algorithm](../../sre-book/managing-critical-state/) (see [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/)) to ensure they have consistent state. As long as the majority of group members are available, the distributed system as a whole can successfully process new state changes despite the failure of bounded subsets of the infrastructure.\n\nAs shown in Figure 24-1, the distributed cron uses a single leader job, which is the only replica that can modify the shared state, as well as the only replica that can launch cron jobs. We take advantage of the fact that the variant of Paxos we use, Fast Paxos [[Lam06]](/sre-book/bibliography#Lam06), uses a leader replica internally as an optimization—the Fast Paxos leader replica also acts as the cron service leader.\n\nFigure 24-1. The interactions between distributed cron replicas\n\nIf the leader replica dies, the health-checking mechanism of the Paxos group discovers this event quickly (within seconds). As another cron process is already started up and available, we can elect a new leader. As soon as the new leader is elected, we follow a leader election protocol specific to the cron service, which is responsible for taking over all the work left unfinished by the previous leader. The leader specific to the cron service is the same as the Paxos leader, but the cron service needs to take additional action upon promotion. The fast reaction time for the leader re-election allows us to stay well within a generally tolerable one-minute failover time.\n\nThe most important state we keep in Paxos is information regarding which cron jobs are launched. We synchronously inform a\nquorum of replicas of the beginning and end of each scheduled launch for each cron job.\n\n## The Roles of the Leader and the Follower\n\nAs just described, our use of Paxos and its deployment in the cron service has two assigned roles: the leader and the follower. The\nfollowing sections describe each role.\n\n### The leader\n\nThe leader replica is the only replica that actively launches cron jobs. The leader has an internal scheduler that, much like the simple `crond` described at the beginning of this chapter, maintains the list of cron jobs ordered by their scheduled launch time. The leader replica waits until the scheduled launch time of the first job.\n\nUpon reaching the scheduled launch time, the leader replica announces that it is about to start this particular cron job's launch, and calculates the new scheduled launch time, just like a regular `crond` implementation would. Of course, as with regular `crond`, a cron job launch specification may have changed since the last execution, and this launch specification must be kept in sync with the followers as well. Simply identifying the cron job is not enough: we should also uniquely identify the particular launch using the start time; otherwise, ambiguity in cron job launch tracking may occur. (Such ambiguity is especially likely in the case of high-frequency cron jobs, such as those running every minute.) As seen in Figure 24-2, this communication is performed over Paxos.\n\nIt is important that Paxos communication remain synchronous, and that the actual cron job launch does not proceed until it receives\nconfirmation that the Paxos quorum has received the launch notification. The cron service needs to understand whether each cron\njob has launched in order to decide the next course of action in case of leader failover. Not performing this task synchronously could mean that the entire cron job launch happens on the leader without informing the follower replicas. In case of failover, the follower replicas might attempt to perform the very same launch again because they aren't aware that the launch already occurred.\n\nFigure 24-2. Illustration of progress of a cron job launch, from the leader's perspective\n\nThe completion of the cron job launch is announced via Paxos to the other replicas synchronously. Note that it does not matter whether the launch succeeded or failed for external reasons (for example, if the datacenter scheduler was unavailable). Here, we are simply keeping track of the fact that the cron service attempted the launch at the given scheduled time. We also need to be able to resolve failures of the cron system in the middle of this operation, as discussed in the following section.\n\nAnother extremely important feature of the leader is that as soon as it loses its leadership for any reason, it must immediately stop interacting with the datacenter scheduler. Holding the leadership should guarantee mutual exclusion of access to the datacenter\nscheduler. In the absence of this condition of mutual exclusion, the old and new leaders might perform conflicting actions on the datacenter scheduler.\n\n### The follower\n\nThe follower replicas keep track of the state of the world, as provided by the leader, in order to take over at a moment's notice if needed. All the state changes tracked by follower replicas are communicated via Paxos, from the leader replica. Much like the leader, followers also maintain a list of all cron jobs in the system, and this list must be kept consistent among the replicas (through the use of Paxos).\n\nUpon receiving notification about a commenced launch, the follower replica updates its local next scheduled launch time for the given cron job. This very important state change (which is performed synchronously) ensures that all cron job schedules within the system are consistent. We keep track of all open launches (launches that have begun but not completed).\n\nIf a leader replica dies or otherwise malfunctions (e.g., is partitioned away from the other replicas on the network), a follower\nshould be elected as a new leader. The election must converge faster than one minute, in order to avoid the risk of missing or\nunreasonably delaying a cron job launch. Once a leader is elected, all open launches (i.e., partial failures) must be concluded. This\nprocess can be quite complicated, imposing additional requirements on both the cron system and the datacenter infrastructure. The following section discusses how to resolve partial failures of this type.\n\n### Resolving partial failures\n\nAs mentioned, the interaction between the leader replica and the datacenter scheduler can fail in between sending multiple RPCs that\ndescribe a single logical cron job launch. Our systems should be able to handle this condition.\n\nRecall that every cron job launch has two synchronization points:\n\n- When we are about to perform the launch\n- When we have finished the launch\n\nThese two points allow us to delimit the launch. Even if the launch consists of a single RPC, how do we know if the RPC was\nactually sent? Consider the case in which we know that the scheduled launch started, but we were not notified of its completion before the leader replica died.\n\nIn order to determine if the RPC was actually sent, one of the following conditions must be met:\n\n- All operations on external systems, which we may need to continue upon re-election, must be idempotent (i.e., we can safely perform the operations again)\n- We must be able to look up the state of all operations on external systems in order to unambiguously determine whether they completed or not\n\nEach of these conditions imposes significant constraints, and may be difficult to implement, but being able to meet at least one of these conditions is fundamental to the accurate operation of a cron service in a distributed environment that could suffer a single or several partial failures. Not handling this appropriately can lead to missed launches or double launch of the same cron job.\n\nMost infrastructure that launches logical jobs in datacenters (Mesos, for example) provides naming for those datacenter jobs, making it possible to look up the state of jobs, stop the jobs, or perform other maintenance. A reasonable solution to the idempotency problem is to construct job names ahead of time (thereby avoiding causing any mutating operations on the datacenter scheduler), and then distribute the names to all replicas of your cron service. If the cron service leader dies during launch, the new leader simply looks up the state of all the precomputed names and launches the missing names.\n\nNote that, similar to our method of identifying individual cron job launches by their name and launch time, it is important that the\nconstructed job names on the datacenter scheduler include the particular scheduled launch time (or have this information otherwise\nretrievable). In regular operation, the cron service should fail over quickly in case of leader failure, but a quick failover doesn't\nalways happen.\n\nRecall that we track the scheduled launch time when keeping the internal state between the replicas. Similarly, we need to\ndisambiguate our interaction with the datacenter scheduler, also by using the scheduled launch time. For example, consider a short-lived but frequently run cron job. The cron job launches, but before the launch is communicated to all replicas, the leader crashes and an unusually long failover—long enough that the cron job finishes successfully—takes place. The new leader looks up the state of the cron job, observes its completion, and attempts to launch the job again. Had the launch time been included, the new leader would know that the job on the datacenter scheduler is the result of this particular cron job launch, and this double launch would not have happened.\n\nThe actual implementation has a more complicated system for state lookup, driven by the implementation details of the underlying\ninfrastructure. However, the preceding description covers the implementation-independent requirements of any such system. Depending\non the available infrastructure, you may also need to consider the trade-off between risking a double launch and risking skipping a\nlaunch.\n\n## Storing the State\n\nUsing Paxos to achieve consensus is only one part of the problem of how to handle the state. Paxos is essentially a continuous log of state changes, appended to synchronously as state changes occur. This characteristic of Paxos has two implications:\n\n- The log needs to be compacted, to prevent it from growing infinitely\n- The log itself must be stored somewhere\n\nIn order to prevent the infinite growth of the Paxos log, we can simply take a snapshot of the current state, which means that we can reconstruct the state without needing to replay all state change log entries leading to the current state. To provide an example: if our state changes stored in logs are \"Increment a counter by 1,\" then after a thousand iterations, we have a thousand log entries that can be easily changed to a snapshot of \"Set counter to 1,000.\"\n\nIn case of lost logs, we only lose the state since the last snapshot. Snapshots are in fact our most critical state—if we lose our\nsnapshots, we essentially have to start from zero again because we've lost our internal state. Losing logs, on the other hand, just\ncauses a bounded loss of state and sends the cron system back in time to the point when the latest snapshot was taken.\n\nWe have two main options for storing our data:\n\n- Externally in a generally available distributed storage\n- In a system that stores the small volume of state as part of the cron service itself\n\nWhen designing the system, we combined elements of both options.\n\nWe store Paxos logs on local disk of the machine where cron service replicas are scheduled. Having three replicas in default operation implies that we have three copies of the logs. We store the snapshots on local disk as well. However, because they are critical, we also back them up onto a distributed filesystem, thus protecting against failures affecting all three machines.\n\nWe do not store logs on our distributed filesystem. We consciously decided that losing logs, which represent a small amount of the most recent state changes, is an acceptable risk. Storing logs on a distributed filesystem can entail a substantial performance penalty\ncaused by frequent small writes. The simultaneous loss of all three machines is unlikely, and if simultaneous loss does occur, we\nautomatically restore from the snapshot. We thereby lose only a small amount of logs: those taken since the last snapshot, which we perform on configurable intervals. Of course, these trade-offs may be different depending on the details of the infrastructure, as well as the requirements placed on the cron system.\n\nIn addition to the logs and snapshots stored on the local disk and snapshot backups on the distributed filesystem, a freshly started\nreplica can fetch the state snapshot and all logs from an already running replica over the network. This ability makes replica startup\nindependent of any state on the local machine. Therefore, rescheduling a replica to a different machine upon restart (or machine death)\nis essentially a nonissue for the reliability of the service.\n\n## Running Large Cron\n\nThere are other smaller but equally interesting implications of running a large cron deployment. A traditional cron is small: at most, it probably contains on the order of tens of cron jobs. However, if you run a cron service for thousands of machines in a datacenter, your usage will grow, and you may run into problems.\n\nBeware the large and well-known problem of distributed systems: the thundering herd. Based on user configuration, the cron service can cause substantial spikes in datacenter usage. When people think of a \"daily cron job,\" they commonly configure this job to run at midnight. This setup works just fine if the cron job launches on the same machine, but what if your cron job can spawn a MapReduce with thousands of workers? And what if 30 different teams decide to run a daily cron job like this, in the same datacenter? To solve this problem, we introduced an extension to the crontab format.\n\nIn the ordinary crontab, users specify the minute, hour, day of the month (or week), and month when the cron job should launch, or\nasterisk to specify any value. Running at midnight, daily, would then have crontab specification of `\"0 0 * * *\"` (i.e., zero-th minute, zero-th hour, every day of the week, every month, and every day of the week). We also introduced the use of the question mark, which means that any value is acceptable, and the cron system is given the freedom to choose the value. Users choose this value by hashing the cron job configuration over the given time range (e.g., `0..23` for hour),\ntherefore distributing those launches more evenly.\n\nDespite this change, the load caused by the cron jobs is still very spiky. The graph in Figure 24-3 illustrates the aggregate global number of launches of cron jobs at Google. This\ngraph highlights the frequent spikes in cron job launches, which is often caused by cron jobs that need to be launched at a specific\ntime—for example, due to temporal dependency on external events.\n\nFigure 24-3. The number of cron jobs launched globally\n\n# Summary\n\nA cron service has been a fundamental feature in UNIX systems for many decades. The industry move toward large distributed systems, in which a datacenter may be the smallest effective unit of hardware, requires changes in large portions of the stack. Cron is no exception to this trend. A careful look at the required properties of a cron service and the requirements of cron jobs drives Google's new design.\n\nWe have discussed the new constraints demanded by a distributed-system environment, and a possible design of the cron service based on Google's solution. This solution requires strong consistency guarantees in the distributed environment. The core of the distributed cron implementation is therefore Paxos, a commonplace algorithm to reach consensus in an unreliable environment. The use of Paxos and correct analysis of new failure modes of cron jobs in a large-scale, distributed environment allowed us to build a robust cron service that is heavily used in Google.\n\n114This chapter was previously published in part in *ACM Queue* (March 2015, vol. 13, issue 3).\n\n115Failure of individual jobs is beyond the scope of this analysis.", "znaku_textu": 27937, "slov": 4570, "odkazu": 61, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:47", "sha256": "a366bd8fcc4561c6e68b471bcac19f47d767c6d4245414af5d7beae2160dbf59", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/effective-troubleshooting/", "titulek": "Google SRE - Troubleshooting Methodology: A Learning Path", "h1": "Effective Troubleshooting", "popis": "Discover a systematic troubleshooting methodology that transforms complex problem-solving into a teachable skill for SREs and techn professionals.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/effective-troubleshooting/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/effective-troubleshooting/"}, "headline": "Effective Troubleshooting", "description": "Troubleshooting is a critical skill for anyone who operates distributed computing systems—especially SREs—but it's often viewed as an innate skill that some people have and others don't.", "image": "https://lh3.googleusercontent.com/c7gwlSuqwgJcWvlzTAK9z4sN5Qm7OWmyXv1_ImvJSURPsljkIjCflKkb2ZRF_8GFONLpTv8R2DWGELQYJBKxL7DywP8iE59Mk6GR", "author": [{"@type": "Person", "name": "Chris Jones"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Effective Troubleshooting"}, {"uroven": 2, "text": "Theory"}, {"uroven": 1, "text": "In Practice"}, {"uroven": 2, "text": "Problem Report"}, {"uroven": 2, "text": "Triage"}, {"uroven": 2, "text": "Examine"}, {"uroven": 2, "text": "Diagnose"}, {"uroven": 3, "text": "Simplify and reduce"}, {"uroven": 3, "text": "Ask \"what,\" \"where,\" and \"why\""}, {"uroven": 3, "text": "What touched it last"}, {"uroven": 3, "text": "Specific diagnoses"}, {"uroven": 2, "text": "Test and Treat"}, {"uroven": 1, "text": "Negative Results Are Magic"}, {"uroven": 2, "text": "Cure"}, {"uroven": 1, "text": "Case Study"}, {"uroven": 1, "text": "Making Troubleshooting Easier"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Effective Troubleshooting\n\nWritten by Chris Jones\n\n> Be warned that being an expert is more than understanding how a system is supposed to work. Expertise is gained by investigating why a system doesn't work.\n> \n> Brian Redman\n\n> Ways in which things go right are special cases of the ways in which things go wrong.\n> \n> John Allspaw\n\nTroubleshooting is a critical skill for anyone who operates distributed computing systems—especially SREs—but it’s often viewed as an innate skill that some people have and others don’t. One reason for this assumption is that, for those who troubleshoot often, it’s an ingrained process; explaining *how* to troubleshoot is difficult, much like explaining how to ride a bike. However, we believe that troubleshooting is *both* learnable and teachable.\n\nNovices are often tripped up when troubleshooting because the exercise ideally depends upon two factors: an understanding of how to troubleshoot generically (i.e., without any particular system knowledge) and a solid knowledge of the system. While you can investigate a problem using only the generic process and derivation from first principles,58 we usually find this approach to be less efficient and less effective than understanding how things are supposed to work. Knowledge of the system typically limits the effectiveness of an SRE new to a system; there’s little substitute to learning how the system is designed and built.\n\nLet’s look at a general model of the troubleshooting process. Readers with expertise in troubleshooting may quibble with our definitions and process; if your method is effective for you, there’s no reason not to stick with it.\n\n## Theory\n\nFormally, we can think of the troubleshooting process as an application of the hypothetico-deductive method:59 given a set of observations about a system and a theoretical basis for understanding system behavior, we iteratively hypothesize potential causes for the failure and try to test those hypotheses.\n\nIn an idealized model such as that in Figure 12-1, we’d start with a problem report telling us that something is wrong with the system. Then we can look at the system’s telemetry60 and logs to understand its current state. This information, combined with our knowledge of how the system is built, how it should operate, and its failure modes, enables us to identify some possible causes.\n\nFigure 12-1. A process for troubleshooting\n\nWe can then test our hypotheses in one of two ways. We can compare the observed state of the system against our theories to find confirming or disconfirming evidence. Or, in some cases, we can actively “treat” the system—that is, change the system in a controlled way—and observe the results. This second approach refines our understanding of the system’s state and possible cause(s) of the reported problems. Using either of these strategies, we repeatedly test until a root cause is identified, at which point we can then take corrective action to prevent a recurrence and write a postmortem. Of course, fixing the proximate cause(s) needn’t always wait for root-causing or postmortem writing.\n\n# In Practice\n\nIn practice, of course, troubleshooting is never as clean as our idealized model suggests it should be. There are some steps that can make the process less painful and more productive for both those experiencing system problems and those responding to them.\n\n## Problem Report\n\nEvery problem starts with a problem report, which might be an automated alert or one of your colleagues saying, “The system is slow.” An effective report should tell you the *expected* behavior, the *actual* behavior, and, if possible, how to reproduce the behavior.65 Ideally, the reports should have a consistent form and be stored in a searchable location, such as a bug tracking system. Here, our teams often have customized forms or small web apps that ask for information that’s relevant to diagnosing the particular systems they support, which then automatically generate and route a bug. This may also be a good point at which to provide tools for problem reporters to try self-diagnosing or self-repairing common issues on their own.\n\nIt’s common practice at Google to open a bug for every issue, even those received via email or instant messaging. Doing so creates a log of investigation and remediation activities that can be referenced in the future. Many teams discourage reporting problems directly to a person for several reasons: this practice introduces an additional step of transcribing the report into a bug, produces lower-quality reports that aren’t visible to other members of the team, and tends to concentrate the problem-solving load on a handful of team members that the reporters happen to know, rather than the person currently on duty (see also [Dealing with Interrupts](/sre-book/dealing-with-interrupts/)).\n\n## Triage\n\nOnce you receive a problem report, the next step is to figure out what to do about it. Problems can vary in severity: an issue might affect only one user under very specific circumstances (and might have a workaround), or it might entail a complete global outage for a service. Your response should be appropriate for the problem’s impact: it’s appropriate to declare an all-hands-on-deck emergency for the latter (see [Managing Incidents](/sre-book/managing-incidents/)), but doing so for the former is overkill. Assessing an issue’s severity requires an exercise of good engineering judgment and, often, a degree of calm under pressure.\n\nYour first response in a major outage may be to start troubleshooting and try to find a root cause as quickly as possible. Ignore that instinct!\n\nInstead, your course of action should be to *make the system work as well as it can under the circumstances*. This may entail emergency options, such as diverting traffic from a broken cluster to others that are still working, dropping traffic wholesale to prevent a cascading failure, or disabling subsystems to lighten the load. Stopping the bleeding should be your first priority; you aren’t helping your users if the system dies while you’re root-causing. Of course, an emphasis on rapid triage doesn’t preclude taking steps to preserve evidence of what’s going wrong, such as logs, to help with subsequent root-cause analysis.\n\nNovice pilots are taught that their first responsibility in an emergency is to fly the airplane [[Gaw09]](/sre-book/bibliography#Gaw09); troubleshooting is secondary to getting the plane and everyone on it *safely* onto the ground. This approach is also applicable to computer systems: for example, if a bug is leading to possibly unrecoverable data corruption, freezing the system to prevent further failure may be better than letting this behavior continue.\n\nThis realization is often quite unsettling and counterintuitive for new SREs, particularly those whose prior experience was in product development organizations.\n\n## Examine\n\nWe need to be able to examine what each component in the system is doing in order to understand whether or not it’s behaving correctly.\n\nIdeally, a monitoring system is recording metrics for your system as discussed in [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/). These metrics are a good place to start figuring out what’s wrong. Graphing time-series and operations on time-series can be an effective way to understand the behavior of specific pieces of a system and find correlations that might suggest where problems began.66\n\nLogging is another invaluable tool. Exporting information about each operation and about system state makes it possible to understand exactly what a process was doing at a given point in time. You may need to analyze system logs across one or many processes. Tracing requests through the whole stack using tools such as Dapper [[Sig10]](/sre-book/bibliography#Sig10) provides a very powerful way to understand how a distributed system is working, though varying use cases imply significantly different tracing designs [[Sam14]](/sre-book/bibliography#Sam14).\n\nExposing current state is the third trick in our toolbox. For example, Google servers have endpoints that show a sample of RPCs recently sent or received, so it’s possible to understand how any one server is communicating with others without referencing an architecture diagram. These endpoints also show histograms of error rates and latency for each type of RPC, so that it’s possible to quickly tell what’s unhealthy. Some systems have endpoints that show their current configuration or allow examination of their data; for instance, Google’s Borgmon servers ([Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)) can show the monitoring rules they’re using, and even allow tracing a particular computation step-by-step to the source metrics from which a value is derived.\n\nFinally, you may even need to instrument a client to experiment with, in order to discover what a component is returning in response to requests.\n\n## Diagnose\n\nA thorough understanding of the system’s design is decidedly helpful for coming up with plausible hypotheses about what’s gone wrong, but there are also some generic practices that will help even without domain knowledge.\n\n### Simplify and reduce\n\nIdeally, components in a system have well-defined interfaces and perform known transformations from their input to their output (in our example, given an input search text, a component might return output containing possible matches). It’s then possible to look at the connections *between* components—or, equivalently, at the data flowing between them—to determine whether a given component is working properly. Injecting known test data in order to check that the resulting output is expected (a form of black-box testing) at each step can be especially effective, as can injecting data intended to probe possible causes of errors. Having a solid reproducible test case makes debugging much faster, and it may be possible to use the case in a non-production environment where more invasive or riskier techniques are available than would be possible in production.\n\nDividing and conquering is a very useful general-purpose solution technique. In a multilayer system where work happens throughout a stack of components, it’s often best to start systematically from one end of the stack and work toward the other end, examining each component in turn. This strategy is also well-suited for use with data processing pipelines. In exceptionally large systems, proceeding linearly may be too slow; an alternative, *bisection*, splits the system in half and examines the communication paths between components on one side and the other. After determining whether one half seems to be working properly, repeat the process until you’re left with a possibly faulty component.\n\n### Ask \"what,\" \"where,\" and \"why\"\n\nA malfunctioning system is often still trying to do *something*—just not the thing you want it to be doing. Finding out *what* it’s doing, then asking *why* it’s doing that and *where* its resources are being used or where its output is going can help you understand how things have gone wrong.67\n\n### What touched it last\n\nSystems have inertia: we’ve found that a working computer system tends to remain in motion until acted upon by an external force, such as a configuration change or a shift in the type of load served. Recent changes to a system can be a productive place to start identifying what’s going wrong.69\n\nWell-designed systems should have extensive production logging to track new version deployments and configuration changes at all layers of the stack, from the server binaries handling user traffic down to the packages installed on individual nodes in the cluster. Correlating changes in a system’s performance and behavior with other events in the system and environment can also be helpful in constructing monitoring dashboards; for example, you might annotate a graph showing the system’s error rates with the start and end times of a deployment of a new version, as seen in Figure 12-2.\n\nFigure 12-2. Error rates graphed against deployment start and end times\n\n### Specific diagnoses\n\nWhile the generic tools described previously are helpful across a broad\n range of problem domains, you will likely find it helpful to build\n tools and systems to help with diagnosing your particular\n services. Google SREs spend much of their time building such tools.\n While many of these tools are necessarily specific to a given system,\n be sure to look for commonalities between services and teams to avoid\n duplicating effort.\n\n## Test and Treat\n\nOnce you’ve come up with a short list of possible causes, it’s time to try to find *which* factor is at the root of the actual problem. Using the experimental method, we can try to rule in or rule out our hypotheses. For instance, suppose we think a problem is caused by either a network failure between an application logic server and a database server, or by the database refusing connections. Trying to connect to the database with the same credentials the application logic server uses can refute the second hypothesis, while pinging the database server may be able to refute the first, depending on network topology, firewall rules, and other factors. Following the code and trying to imitate the code flow, step-by-step, may point to exactly what’s going wrong.\n\nThere are a number of considerations to keep in mind when designing tests (which may be as simple as sending a ping or as complicated as removing traffic from a cluster and injecting specially formed requests to find a race condition):\n\n- An ideal test should have mutually exclusive alternatives, so that it can rule one group of hypotheses in and rule another set out. In practice, this may be difficult to achieve.\n- Consider the obvious first: perform the tests in decreasing order of likelihood, considering possible risks to the system from the test. It probably makes more sense to test for network connectivity problems between two machines before looking into whether a recent configuration change removed a user’s access to the second machine.\n- An experiment may provide misleading results due to confounding factors. For example, a firewall rule might permit access only from a specific IP address, which might make pinging the database from your workstation fail, even if pinging from the application logic server’s machine would have succeeded.\n- Active tests may have side effects that change future test results. For instance, allowing a process to use more CPUs may make operations faster, but might increase the likelihood of encountering data races. Similarly, turning on verbose logging might make a latency problem even worse and confuse your results: is the problem getting worse on its own, or because of the logging?\n- Some tests may not be definitive, only suggestive. It can be very difficult to make race conditions or deadlocks happen in a timely and reproducible manner, so you may have to settle for less certain evidence that these are the causes.\n\nTake clear notes of what ideas you had, which tests you ran, and the results you saw.70 Particularly when you are dealing with more complicated and drawn-out cases, this documentation may be crucial in helping you remember exactly what happened and prevent having to repeat these steps.71 If you performed active testing by changing a system—for instance by giving more resources to a process—making changes in a systematic and documented fashion will help you return the system to its pre-test setup, rather than running in an unknown hodge-podge configuration.\n\n# Negative Results Are Magic\n\nWritten by Randall Bosetti Edited by Joan Wendt\n\nA \"negative\" result is an experimental outcome in which the expected effect is absent—that is, any experiment that doesn’t work out as planned. This includes new designs, heuristics, or human processes that fail to improve upon the systems they replace.\n\n**Negative results should not be ignored or discounted.** Realizing you’re wrong has much value: a clear negative result can resolve some of the hardest design questions. Often a team has two seemingly reasonable designs but progress in one direction has to address vague and speculative questions about whether the other direction might be better.\n\n**Experiments with negative results are conclusive.** They tell us something certain about production, or the design space, or the performance limits of an existing system. They can help others determine whether their own experiments or designs are worthwhile. For example, a given development team might decide against using a particular web server because it can handle only ~800 connections out of the needed 8,000 connections before failing due to lock contention. When a subsequent development team decides to evaluate web servers, instead of starting from scratch, they can use this already well-documented negative result as a starting point to decide quickly whether (a) they need fewer than 800 connections or (b) the lock contention problems have been resolved.\n\nEven when negative results do not apply directly to someone else’s experiment, the supplementary data gathered can help others choose new experiments or avoid pitfalls in previous designs. Microbenchmarks, documented antipatterns, and project postmortems all fit this category. You should consider the scope of the negative result when designing an experiment, because a broad or especially robust negative result will help your peers even more.\n\n**Tools and methods can outlive the experiment and inform future work.** As an example, benchmarking tools and load generators can result just as easily from a disconfirming experiment as a supporting one. Many webmasters have benefited from the difficult, detail-oriented work that produced Apache Bench, a web server loadtest, even though its first results were likely disappointing.\n\nBuilding tools for repeatable experiments can have indirect benefits as well: although one application you build may not benefit from having its database on SSDs or from creating indices for dense keys, the next one just might. Writing a script that allows you to easily try out these configuration changes ensures you don’t forget or miss optimizations in your next project.\n\n**Publishing negative results improves our industry’s data-driven culture.** Accounting for negative results and statistical insignificance reduces the bias in our metrics and provides an example to others of how to maturely accept uncertainty. By publishing everything, you encourage others to do the same, and everyone in the industry collectively learns much more quickly. SRE has already learned this lesson with high-quality postmortems, which have had a large positive effect on production stability.\n\n**Publish your results.** If you are interested in an experiment’s results, there’s a good chance that other people are as well. When you publish the results, those people do not have to design and run a similar experiment themselves. It’s tempting and common to avoid reporting negative results because it’s easy to perceive that the experiment \"failed.\" Some experiments are doomed, and they tend to be caught by review. Many more experiments are simply unreported because people mistakenly believe that negative results are not progress.\n\nDo your part by telling everyone about the designs, algorithms, and team workflows you’ve ruled out. Encourage your peers by recognizing that negative results are part of thoughtful risk taking and that every well-designed experiment has merit. Be skeptical of any design document, performance review, or essay that doesn’t mention failure. Such a document is potentially either too heavily filtered, or the author was not rigorous in his or her methods.\n\nAbove all, publish the results you find surprising so that others—including your future self—aren’t surprised.\n\n## Cure\n\nIdeally, you’ve now narrowed the set of possible causes to one. Next, we’d like to prove that it’s the actual cause. Definitively proving that a given factor *caused* a problem—by reproducing it at will—can be difficult to do in production systems; often, we can only find *probable* causal factors, for the following reasons:\n\n- *Systems are complex* . It’s quite likely that there are multiple factors, each of which individually is not the cause, but which taken jointly are causes. 72 Real systems are also often path-dependent, so that they must be in a specific state before a failure occurs.\n- *Reproducing the problem in a live production system may not be an option* , either because of the complexity of getting the system into a state where the failure can be triggered, or because further downtime may be unacceptable. Having a nonproduction environment can mitigate these challenges, though at the cost of having another copy of the system to run.\n\nOnce you’ve found the factors that caused the problem, it’s time to write up notes on what went wrong with the system, how you tracked down the problem, how you fixed the problem, and how to prevent it from happening again. In other words, you need to write a postmortem (although ideally, the system is *alive* at this point!).\n\n# Case Study\n\nApp Engine,73 part of Google’s Cloud Platform, is a platform-as-a-service product that allows developers to build services atop Google’s infrastructure. One of our internal customers filed a problem report indicating that they’d recently seen a dramatic increase in latency, CPU usage, and number of running processes needed to serve traffic for their app, a content-management system used to build documentation for developers.74 The customer couldn’t find any recent changes to their code that correlated with the increase in resources, and there hadn’t been an increase in traffic to their app (see Figure 12-3), so they were wondering if a change in the App Engine service was responsible.\n\nOur investigation discovered that latency had indeed increased by nearly an order of magnitude (as shown in Figure 12-4). Simultaneously, the amount of CPU time (Figure 12-5) and number of serving processes (Figure 12-6) had nearly quadrupled. Clearly something was wrong. It was time to start troubleshooting.\n\nFigure 12-3. Application’s requests received per second, showing a brief spike and return to normal\n\nFigure 12-4. Application’s latency, showing 50th, 95th, and 99th percentiles (lines) with a heatmap showing how many requests fell into a given latency bucket at any point in time (shade)\n\nFigure 12-5. Aggregate CPU usage for the application\n\nFigure 12-6. Number of instances for the application\n\nTypically a sudden increase in latency and resource usage indicates either an increase in traffic sent to the system or a change in system configuration. However, we could easily rule out both of these possible causes: while a spike in traffic to the app around 20:45 could explain a brief surge in resource usage, we’d expect traffic to return to baseline fairly soon after request volume normalized. This spike certainly shouldn’t have continued for multiple days, beginning when the app’s developers filed the report and we started looking into the problem. Second, the change in performance happened on Saturday, when neither changes to the app nor the production environment were in flight. The service’s most recent code pushes and configuration pushes had completed days before. Furthermore, if the problem originated with the service, we’d expect to see similar effects on other apps using the same infrastructure. However, no other apps were experiencing similar effects.\n\nWe referred the problem report to our counterparts, App Engine’s developers, to investigate whether the customer was encountering any idiosyncrasies in the serving infrastructure. The developers weren’t able to find any oddities, either. However, a developer did notice a correlation between the latency increase and the increase of a specific data storage API call, `merge_join`, which often indicates suboptimal indexing when reading from the datastore. Adding a composite index on the properties the app uses to select objects from the datastore would speed those requests, and in principle, speed the application as a whole—but we’d need to figure out *which* properties needed indexing. A quick look at the application’s code didn’t reveal any obvious suspects.\n\nIt was time to pull out the heavy machinery in our toolkit: using Dapper [[Sig10]](/sre-book/bibliography#Sig10), we traced the steps individual HTTP requests took—from their receipt by a frontend reverse proxy through to the point where the app’s code returned a response—and looked at the RPCs issued by each server involved in handling that request. Doing so would allow us to see which properties were included in requests to the datastore, then create the appropriate indices.\n\nWhile investigating, we discovered that requests for static content such as images, which weren’t served from the datastore, were also much slower than expected. Looking at graphs with file-level granularity, we saw their responses had been much faster only a few days before. This implied that the observed correlation between `merge_join` and the latency increase was spurious and that our suboptimal-indexing theory was fatally flawed.\n\nExamining the unexpectedly slow requests for static content, most of the RPCs sent from the application were to a memcache service, so the requests should have been very fast—on the order of a few milliseconds. These requests did turn out to be very fast, so the problem didn’t seem to originate there. However, between the time the app started working on a request and when it made the first RPCs, there was about a 250 ms period where the app was doing…well, *something*. Because App Engine runs code provided by users, its SRE team does not profile or inspect app code, so we couldn’t tell what the app was doing in that interval; similarly, Dapper couldn’t help track down what was going on since it can only trace RPC calls, and none were made during that period.\n\nFaced with what was, by this point, quite a mystery, we decided not to solve it…*yet*. The customer had a public launch scheduled for the following week, and we weren’t sure how soon we’d be able to identify the problem and fix it. Instead, we recommended that the customer increase the resources allocated to their app to the most CPU-rich instance type available. Doing so reduced the app’s latency to acceptable levels, though not as low as we’d prefer. We concluded that the latency mitigation was good enough that the team could conduct their launch successfully, then investigate at leisure.75\n\nAt this point, we suspected that the app was a victim of yet another common cause of sudden increases in latency and resource usage: a change in the type of work. We’d seen an increase in writes to the datastore from the app, just before its latency increased, but because this increase wasn’t very large—nor was it sustained—we’d written it off as coincidental. However, this behavior did resemble a common pattern: an instance of the app is initialized by reading objects from the datastore, then storing them in the instance’s memory. By doing so, the instance avoids reading rarely changing configuration from the datastore on each request, and instead checks the in-memory objects. Then, the time it takes to handle requests will often scale with the amount of configuration data.76 We couldn’t prove that this behavior was the root of the problem, but it’s a common antipattern.\n\nThe app developers added instrumentation to understand where the app was spending its time. They identified a method that was called on every request, that checked whether a user had whitelisted access to a given path. The method used a caching layer that sought to minimize accesses to both the datastore and the memcache service, by holding whitelist objects in instances’ memory. As one of the app’s developers noted in the investigation, “I don’t know where the fire is yet, but I’m blinded by smoke coming from this whitelist cache.”\n\nSome time later, the root cause was found: due to a long-standing bug in the app’s access control system, whenever one specific path was accessed, a whitelist object would be created and stored in the datastore. In the run-up to launch, an automated security scanner had been testing the app for vulnerabilities, and as a side effect, its scan produced thousands of whitelist objects over the course of half an hour. These superfluous whitelist objects then had to be checked on every request to the app, which led to pathologically slow responses—without causing any RPC calls from the app to other services. Fixing the bug and removing those objects returned the app’s performance to expected levels.\n\n# Making Troubleshooting Easier\n\nThere are many ways to simplify and speed troubleshooting. Perhaps the most fundamental are:\n\n- Building observability—with both white-box metrics and structured logs—into each component from the ground up\n- Designing systems with well-understood and observable interfaces between components .\n\nEnsuring that information is available in a consistent way throughout a system—for instance, using a unique request identifier throughout the span of RPCs generated by various components—reduces the need to figure out *which* log entry on an upstream component matches a log entry on a downstream component, speeding the time to diagnosis and recovery.\n\nProblems in correctly representing the state of reality in a code change or an environment change often lead to a need to troubleshoot. Simplifying, controlling, and logging such changes can reduce the need for troubleshooting, and make it easier when it happens.\n\n# Conclusion\n\nWe’ve looked at some steps you can take to make the troubleshooting process clear and understandable to novices, so that they, too, can become effective at solving problems. Adopting a systematic approach to troubleshooting—as opposed to relying on luck or experience—can help bound your services’ time to recovery, leading to a better experience for your users.\n\n58Indeed, using only first principles and troubleshooting skills is often an effective way to learn how a system works; see [Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/).\n\n59See [*https://en.wikipedia.org/wiki/Hypothetico-deductive_model*](https://en.wikipedia.org/wiki/Hypothetico-deductive_model).\n\n60For instance, exported variables as described in [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/).\n\n61Attributed to Theodore Woodward, of the University of Maryland School of Medicine, in the 1940s. See [*https://en.wikipedia.org/wiki/Zebra_(medicine)*](https://en.wikipedia.org/wiki/Zebra_(medicine)). This works in some domains, but in some systems, entire classes of failures may be eliminable: for instance, using a well-designed cluster filesystem means that a latency problem is unlikely to be due to a single dead disk.\n\n62Occam’s Razor; see [*https://en.wikipedia.org/wiki/Occam%27s_razor*](https://en.wikipedia.org/wiki/Occam%27s_razor). But remember that it may still be the case that there are multiple problems; in particular, it may be more likely that a system has a number of common low-grade problems that, taken together, explain all the symptoms rather than a single rare problem that causes them all. Cf [*https://en.wikipedia.org/wiki/Hickam%27s_dictum*](https://en.wikipedia.org/wiki/Hickam%27s_dictum).\n\n63Of course, see [*https://xkcd.com/552*](https://xkcd.com/552).\n\n64At least, we have no plausible theory to explain why the number of PhDs awarded in Computer Science in the US should be extremely well correlated (r2 = 0.9416) with the per capita consumption of cheese, between 2000 and 2009: [*https://tylervigen.com/view_correlation?id=1099*](https://tylervigen.com/view_correlation?id=1099).\n\n65It may be useful to refer prospective bug reporters to [[Tat99]](/sre-book/bibliography#Tat99) to help them provide high-quality problem reports.\n\n66But beware false correlations that can lead you down wrong paths!\n\n67In many respects, this is similar to the “Five Whys” technique [[Ohn88]](/sre-book/bibliography#Ohn88) introduced by Taiichi Ohno to understand the root causes of manufacturing errors.\n\n68In contrast to RE2, PCRE can require exponential time to evaluate some regular expressions. RE2 is available at [*https://github.com/google/re2*](https://github.com/google/re2).\n\n69[[All15]](/sre-book/bibliography#All15) observes this is a frequently used heuristic in resolving outages.\n\n70Using a shared document or real-time chat for notes provides a timestamp of *when* you did something, which is helpful for postmortems. It also shares that information with others, so they’re up to speed with the current state of the world and don’t need to interrupt your troubleshooting.\n\n71See also Negative Results Are Magic for more on this point.\n\n72See [[Mea08]](/sre-book/bibliography#Mea08) on how to think about systems, and also [[Coo00]](/sre-book/bibliography#Coo00) and [[Dek14]](/sre-book/bibliography#Dek14) on the limitations of finding a single root cause instead of examining the system and its environment for causative factors.\n\n73See [*https://cloud.google.com/appengine*](https://cloud.google.com/appengine).\n\n74We have compressed and simplified this case study to aid understanding.\n\n75While launching with an unidentified bug isn’t ideal, it’s often impractical to eliminate all known bugs. Instead, sometimes we have make do with second-best measures and mitigate risk as best we can, using good engineering judgment.\n\n76The datastore lookup can use an index to speed the comparison, but a frequent in-memory implementation is a simple `for` loop comparison across all the cached objects. If there are only a few objects, it won’t matter that this takes linear time—but this can cause a significant increase in latency and resource usage as the number of cached objects grows.", "znaku_textu": 33782, "slov": 5325, "odkazu": 114, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:48", "sha256": "bf531ea2167ae63035d8f93e30e7a39b734d8b27a407ee2f1741af233b5363c2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Hypothetico-deductive_model", "https://en.wikipedia.org/wiki/Zebra_(medicine)", "https://en.wikipedia.org/wiki/Occam's_razor", "https://en.wikipedia.org/wiki/Hickam's_dictum", "https://xkcd.com/552", "https://tylervigen.com/view_correlation?id=1099", "https://github.com/google/re2", "https://cloud.google.com/appengine", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/eliminating-toil/", "titulek": "Google SRE - What is Toil in SRE: Understanding Its Impact", "h1": "Eliminating Toil", "popis": "Learn what toil is in SRE, how it affects operational work, and why minimizing it is crucial for efficiency and morale.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/eliminating-toil/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/eliminating-toil/"}, "headline": "Eliminating Toil", "description": "In SRE, we want to spend time on long-term engineering project work instead of operational work. Because the term operational work may be misinterpreted, we use a specific word: toil.", "author": [{"@type": "Person", "name": "Vivek Rau"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Eliminating Toil"}, {"uroven": 2, "text": "Toil Defined"}, {"uroven": 1, "text": "Why Less Toil Is Better"}, {"uroven": 5, "text": "Calculating Toil"}, {"uroven": 1, "text": "What Qualifies as Engineering?"}, {"uroven": 1, "text": "Is Toil Always Bad?"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Eliminating Toil\n\nWritten by Vivek Rau\nEdited by Betsy Beyer\n\n> If a human operator needs to touch your system during normal operations, you have a bug. The definition of normal changes as your systems grow.\n> \n> Carla Geisser, Google SRE\n\nIn SRE, we want to spend time on long-term engineering project work instead of operational work. Because the term *operational work* may be misinterpreted, we use a specific word: *toil*.\n\n## Toil Defined\n\nToil is not just \"work I don’t like to do.\" It’s also not simply equivalent to administrative chores or grungy work. Preferences as to what types of work are satisfying and enjoyable vary from person to person, and some people even enjoy manual, repetitive work. There are also administrative chores that have to get done, but should not be categorized as toil: this is *overhead*. Overhead is often work not directly tied to running a [production service](../../sre-book/service-best-practices/), and includes tasks like team meetings, setting and grading goals,19 snippets,20 and HR paperwork. Grungy work can sometimes have long-term value, and in that case, it’s not toil, either. Cleaning up the entire alerting configuration for your service and removing clutter may be grungy, but it’s not toil.\n\nSo what *is* toil? Toil is the kind of work tied to running a production service that tends to be manual, repetitive, automatable, tactical, devoid of enduring value, and that scales linearly as a service grows. Not every task deemed toil has all these attributes, but the more closely work matches one or more of the following descriptions, the more likely it is to be toil:\n\nManual\n\nThis includes work such as manually running a script that automates some task. Running a script may be quicker than manually executing each step in the script, but the *hands-on* time a human spends running that script (not the elapsed time) is still toil time.\n\nRepetitive\n\nIf you’re performing a task for the first time ever, or even the second time, this work is not toil. Toil is work you do over and over. If you’re solving a novel problem or inventing a new solution, this work is not toil.\n\nAutomatable\n\nIf a machine could accomplish the task just as well as a human, or the need for the task could be designed away, that task is toil. If human judgment is essential for the task, there’s a good chance it’s not toil.21\n\nTactical\n\nToil is interrupt-driven and reactive, rather than strategy-driven and proactive. Handling pager alerts is toil.\n We may never be able to eliminate this type of work completely, but we have to continually work toward minimizing it.\n\nNo enduring value\n\nIf your service remains in the same state after you have finished a task, the task was probably toil. If the task produced a permanent improvement in your service, it probably wasn’t toil, even if some amount of grunt work—such as digging into legacy code and configurations and straightening them out—was involved.\n\nO(n) with service growth\n\nIf the work involved in a task scales up linearly with service size, traffic volume, or user count, that task is probably toil. An ideally managed and designed service can grow by at least one order of magnitude with zero additional work, other than some one-time efforts to add resources.\n\n# Why Less Toil Is Better\n\nOur SRE organization has an advertised goal of keeping operational work (i.e., toil) below 50% of each SRE’s time. At least 50% of each SRE’s time should be spent on engineering project work that will either reduce future toil or add service features. Feature development typically focuses on improving reliability, performance, or utilization, which often reduces toil as a second-order effect.\n\nWe share this 50% goal because toil tends to expand if left unchecked and can quickly fill 100% of everyone’s time. The work of reducing toil and scaling up services is the \"Engineering\" in Site Reliability Engineering. Engineering work is what enables the SRE organization to scale up sublinearly with service size and to manage services more efficiently than either a pure Dev team or a pure Ops team.\n\nFurthermore, when we hire new SREs, we promise them that SRE is not a typical Ops organization, quoting the 50% rule just mentioned. We need to keep that promise by not allowing the SRE organization or any subteam within it to devolve into an Ops team.\n\n##### Calculating Toil\n\nIf we seek to cap the time an SRE spends on toil to 50%, how is that time spent?\n\nThere’s a floor on the amount of toil any SRE has to handle if they are on-call. A typical SRE has one week of primary on-call and one week of secondary on-call in each cycle (for discussion of primary versus secondary on-call shifts, see [Being On-Call](/sre-book/being-on-call/)). It follows that in a 6-person rotation, at least 2 of every 6 weeks are dedicated to on-call shifts and [interrupt handling](https://sre.google/sre-book/dealing-with-interrupts/), which means the lower bound on potential toil is 2/6 = 33% of an SRE’s time. In an 8-person rotation, the lower bound is 2/8 = 25%.\n\nConsistent with this data, SREs report that their top source of toil is interrupts (that is, non-urgent service-related messages and emails). The next leading source is on-call (urgent) response, followed by releases and pushes. Even though our release and push processes are usually handled with a fair amount of automation, there’s still plenty of room for improvement in this area.\n\nQuarterly surveys of Google’s SREs show that the average time spent toiling is about 33%, so we do much better than our overall target of 50%. However, the average doesn’t capture outliers: some SREs claim 0% toil (pure development projects with no on-call work) and others claim 80% toil. When individual SREs report excessive toil, it often indicates a need for managers to spread the toil load more evenly across the team and to encourage those SREs to find satisfying engineering projects.\n\n# What Qualifies as Engineering?\n\nEngineering work is novel and intrinsically requires human judgment. It produces a permanent improvement in your service, and is guided by a strategy. It is frequently creative and innovative, taking a design-driven approach to solving a problem—the more generalized, the better. Engineering work helps your team or the SRE organization handle a larger service, or more services, with the same level of staffing.\n\nTypical SRE activities fall into the following approximate categories:\n\nSoftware engineering\n\nInvolves writing or modifying code, in addition to any associated design and documentation work. Examples include writing automation scripts, creating tools or frameworks, adding service features for scalability and reliability, or modifying infrastructure code to make it more robust.\n\nSystems engineering\n\nInvolves configuring production systems, modifying configurations, or documenting systems in a way that produces lasting improvements from a one-time effort. Examples include monitoring setup and updates, load balancing configuration, server configuration, tuning of OS parameters, and load balancer setup. Systems engineering also includes consulting on architecture, design, and productionization for developer teams.\n\nToil\n\nWork directly tied to running a service that is repetitive, manual, etc.\n\nOverhead\n\nAdministrative work not tied directly to running a service. Examples include hiring, HR paperwork, team/company meetings, bug queue hygiene, snippets, peer reviews and self-assessments, and training courses.\n\nEvery SRE needs to spend at least 50% of their time on engineering work, when averaged over a few quarters or a year. Toil tends to be spiky, so a steady 50% of time spent on engineering may not be realistic for some SRE teams, and they may dip below that target in some quarters. But if the fraction of time spent on projects averages significantly below 50% over the long haul, the affected team needs to step back and figure out what’s wrong.\n\n# Is Toil Always Bad?\n\nToil doesn’t make everyone unhappy all the time, especially in small amounts. Predictable and repetitive tasks can be quite calming. They produce a sense of accomplishment and quick wins. They can be low-risk and low-stress activities. Some people gravitate toward tasks involving toil and may even enjoy that type of work.\n\nToil isn’t always and invariably bad, and everyone needs to be absolutely clear that some amount of toil is unavoidable in the SRE role, and indeed in almost any engineering role. It’s fine in small doses, and if you’re happy with those small doses, toil is not a problem. Toil becomes toxic when experienced in large quantities. If you’re burdened with too much toil, you should be very concerned and complain loudly. Among the many reasons why too much toil is bad, consider the following:\n\nCareer stagnation\n\nYour career progress will slow down or grind to a halt if you spend too little time on projects. Google rewards grungy work when it’s inevitable and has a big positive impact, but you can’t make a career out of grunge.\n\nLow morale\n\nPeople have different limits for how much toil they can tolerate, but everyone has a limit. Too much toil leads to burnout, boredom, and discontent.\n\nAdditionally, spending too much time on toil at the expense of time spent engineering hurts an SRE organization in the following ways:\n\nCreates confusion\n\nWe work hard to ensure that everyone who works in or with the SRE organization understands that we are an engineering organization. Individuals or teams within SRE that engage in too much toil undermine the clarity of that communication and confuse people about our role.\n\nSlows progress\n\nExcessive toil makes a team less productive. A product’s feature velocity will slow if the SRE team is too busy with manual work and firefighting to roll out new features promptly.\n\nSets precedent\n\nIf you’re too willing to take on toil, your Dev counterparts will have incentives to load you down with even more toil, sometimes shifting operational tasks that should rightfully be performed by Devs to SRE. Other teams may also start expecting SREs to take on such work, which is bad for obvious reasons.\n\nPromotes attrition\n\nEven if you’re not personally unhappy with toil, your current or future teammates might like it much less. If you build too much toil into your team’s procedures, you motivate the team’s best engineers to start looking elsewhere for a more rewarding job.\n\nCauses breach of faith\n\nNew hires or transfers who joined SRE with the promise of project work will feel cheated, which is bad for morale.\n\n# Conclusion\n\nIf we all commit to eliminate a bit of toil each week with some good engineering, we’ll steadily clean up our services, and we can shift our collective efforts to engineering for scale, architecting the next generation of services, and building cross-SRE toolchains. Let’s invent more, and toil less.\n\n19We use the Objectives and Key Results system, pioneered by Andy Grove at Intel; see [[Kla12]](/sre-book/bibliography#Kla12).\n\n20Googlers record short free-form summaries, or \"snippets,\" of what we’ve worked on each week.\n\n21We have to be careful about saying a task is \"not toil because it needs human judgment.\" We need to think carefully about whether the nature of the task intrinsically requires human judgment and cannot be addressed by better design. For example, one could build (and some have built) a service that alerts its SREs several times a day, where each alert requires a complex response involving plenty of human judgment. Such a service is poorly designed, with unnecessary complexity. The system needs to be simplified and rebuilt to either eliminate the underlying failure conditions or deal with these conditions automatically. Until the redesign and reimplementation are finished, and the improved service is rolled out, the work of applying human judgment to respond to each alert is definitely toil.", "znaku_textu": 11808, "slov": 1962, "odkazu": 60, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:49", "sha256": "546daff517a0b999f2d0e1038295dffa28585532ca9d6bed897a68e1069998a3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/embracing-risk", "titulek": "Google SRE - Embracing risk and reliability engineering book", "h1": "Embracing Risk", "popis": "Discover the concept of embracing risk in the context of service reliability and how to effectively utilize error budgets for a more resilient system.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/embracing-risk/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/embracing-risk/"}, "headline": "Embracing Risk", "description": "Site Reliability Engineering seeks to balance the risk of unavailability with the goals of rapid innovation and efficient service operations, so that users' overall happiness—with features, service, and performance—is optimized.", "image": "https://lh3.googleusercontent.com/a3KcNq4YhUaJjp2HXuhNTap3CqAk-3s_NOZILk4hhqe0p4q99fP7mgOjrqOhl2aJniSerd_jT8wv0PH9kGtkucgRHP7D1FWBm5hBpA", "author": [{"@type": "Person", "name": "Marc Alvidrez"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embracing Risk"}, {"uroven": 2, "text": "Managing Risk"}, {"uroven": 1, "text": "Measuring Service Risk"}, {"uroven": 5, "text": "Time-based availability"}, {"uroven": 5, "text": "Aggregate availability"}, {"uroven": 1, "text": "Risk Tolerance of Services"}, {"uroven": 2, "text": "Identifying the Risk Tolerance of Consumer Services"}, {"uroven": 3, "text": "Target level of availability"}, {"uroven": 3, "text": "Types of failures"}, {"uroven": 3, "text": "Cost"}, {"uroven": 3, "text": "Other service metrics"}, {"uroven": 2, "text": "Identifying the Risk Tolerance of Infrastructure Services"}, {"uroven": 3, "text": "Target level of availability"}, {"uroven": 3, "text": "Types of failures"}, {"uroven": 3, "text": "Cost"}, {"uroven": 3, "text": "Example: Frontend infrastructure"}, {"uroven": 1, "text": "Motivation for Error Budgets14"}, {"uroven": 2, "text": "Forming Your Error Budget"}, {"uroven": 2, "text": "Benefits"}], "markdown": "# Embracing Risk\n\nWritten by Marc Alvidrez \n Edited by Kavita Guliani\n\nYou might expect Google to try to build 100% reliable services—ones that never fail. It turns out that past a certain point, however, increasing reliability is worse for a service (and its users) rather than better! Extreme reliability comes at a cost: maximizing stability limits how fast new features can be developed and how quickly products can be delivered to users, and dramatically increases their cost, which in turn reduces the numbers of features a team can afford to offer. Further, users typically don’t notice the difference between high reliability and extreme reliability in a service, because the user experience is dominated by less reliable components like the cellular network or the device they are working with. Put simply, a user on a 99% reliable smartphone cannot tell the difference between 99.99% and 99.999% service reliability! With this in mind, rather than simply maximizing uptime, Site Reliability Engineering seeks to balance the risk of unavailability with the goals of rapid innovation and efficient service operations, so that users’ overall happiness—with features, service, and performance—is optimized.\n\n## Managing Risk\n\nUnreliable systems can quickly erode users’ confidence, so we want to reduce the chance of system failure. However, experience shows that as we build systems, cost does not increase linearly as reliability increments—an incremental improvement in reliability may cost 100x more than the previous increment. The costliness has two dimensions:\n\nThe cost of redundant machine/compute resources\n\nThe cost associated with redundant equipment that, for example, allows us to take systems offline for routine or unforeseen maintenance, or provides space for us to store parity code blocks that provide a minimum data durability guarantee.\n\nThe opportunity cost\n\nThe cost borne by an organization when it allocates engineering resources to build systems or features that diminish risk instead of features that are directly visible to or usable by end users. These engineers no longer work on new features and products for end users.\n\nIn SRE, we manage service reliability largely by managing risk. We conceptualize risk as a continuum. We give equal importance to figuring out how to engineer greater reliability into Google systems and identifying the appropriate level of tolerance for the services we run. Doing so allows us to perform a cost/benefit analysis to determine, for example, where on the (nonlinear) risk continuum we should place Search, Ads, Gmail, or Photos. Our goal is to explicitly align the risk taken by a given service with the risk the business is willing to bear. We strive to make a service reliable enough, but no *more* reliable than it needs to be. That is, when we set an availability target of 99.99%,we want to exceed it, but not by much: that would waste opportunities to add features to the system, clean up technical debt, or reduce its operational costs. In a sense, we view the availability target as both a minimum and a maximum. The key advantage of this framing is that it unlocks explicit, thoughtful risktaking.\n\n# Measuring Service Risk\n\nAs standard practice at Google, we are often best served by identifying an objective metric to represent the property of a system we want to optimize. By setting a target, we can assess our current performance and track improvements or degradations over time. For service risk, it is not immediately clear how to reduce all of the potential factors into a single metric. Service failures can have many potential effects, including user dissatisfaction, harm, or loss of trust; direct or indirect revenue loss; brand or reputational impact; and undesirable press coverage. Clearly, some of these factors are very hard to measure. To make this problem tractable and consistent across many types of systems we run, we focus on *unplanned downtime*.\n\nFor most services, the most straightforward way of representing risk tolerance is in terms of the acceptable level of unplanned downtime. Unplanned downtime is captured by the desired level of *service availability*, usually expressed in terms of the number of \"nines\" we would like to provide: 99.9%, 99.99%, or 99.999% availability. Each additional nine corresponds to an order of magnitude improvement toward 100% availability. For serving systems, this metric is traditionally calculated based on the proportion of system uptime (see Time-based availability).\n\n##### Time-based availability\n\nUsing this formula over the period of a year, we can calculate the acceptable number of minutes of downtime to reach a given number of nines of availability. For example, a system with an availability target of 99.99% can be down for up to 52.56 minutes in a year and stay within its availability target; see [Availability Table](/sre-book/availability-table#appendix_table-of-nines) for a table.\n\nAt Google, however, a time-based metric for availability is usually not meaningful because we are looking across globally distributed services. Our approach to fault isolation makes it very likely that we are serving at least a subset of traffic for a given service somewhere in the world at any given time (i.e., we are at least partially \"up\" at all times). Therefore, instead of using metrics around uptime, we define availability in terms of the *request success rate*. Aggregate availability shows how this yield-based metric is calculated over a rolling window (i.e., proportion of successful requests over a one-day window).\n\n##### Aggregate availability\n\nFor example, a system that serves 2.5M requests in a day with a daily availability target of 99.99% can serve up to 250 errors and still hit its target for that given day.\n\nIn a typical application, not all requests are equal: failing a new user sign-up request is different from failing a request polling for new email in the background. In many cases, however, availability calculated as the request success rate over all requests is a reasonable approximation of unplanned downtime, as viewed from the end-user perspective.\n\nQuantifying unplanned downtime as a request success rate also makes this availability metric more amenable for use in systems that do not typically serve end users directly. Most nonserving systems (e.g., batch, pipeline, storage, and transactional systems) have a well-defined notion of successful and unsuccessful units of work. Indeed, while the systems discussed in this chapter are primarily consumer and infrastructure serving systems, many of the same principles also apply to nonserving systems with minimal modification.\n\nFor example, a batch process that extracts, transforms, and inserts the contents of one of our customer databases into a data warehouse to enable further analysis may be set to run periodically. Using a request success rate defined in terms of records successfully and unsuccessfully processed, we can calculate a useful availability metric despite the fact that the batch system does not run constantly.\n\nMost often, we set quarterly availability targets for a service and track our performance against those targets on a weekly, or even daily, basis. This strategy lets us manage the service to a high-level availability objective by looking for, tracking down, and fixing meaningful deviations as they inevitably arise. See [Service Level Objectives](/sre-book/service-level-objectives/) for more details.\n\n# Risk Tolerance of Services\n\nWhat does it mean to identify the risk tolerance of a service? In a formal environment or in the case of safety-critical systems, the risk tolerance of services is typically built directly into the basic product or service definition. At Google, services’ risk tolerance tends to be less clearly defined.\n\nTo identify the risk tolerance of a service, SREs must work with the product owners to turn a set of business goals into explicit objectives to which we can engineer. In this case, the business goals we’re concerned about have a direct impact on the performance and reliability of the service offered. In practice, this translation is easier said than done. While consumer services often have clear product owners, it is unusual for infrastructure services (e.g., storage systems or a general-purpose HTTP caching layer) to have a similar structure of product ownership. We’ll discuss the consumer and infrastructure cases in turn.\n\n## Identifying the Risk Tolerance of Consumer Services\n\nOur consumer services often have a product team that acts as the business owner for an application. For example, Search, Google Maps, and Google Docs each have their own product managers. These product managers are charged with understanding the users and the business, and for shaping the product for success in the marketplace. When a product team exists, that team is usually the best resource to discuss the reliability requirements for a service. In the absence of a dedicated product team, the engineers building the system often play this role either knowingly or unknowingly.\n\nThere are many factors to consider when assessing the risk tolerance of services, such as the following:\n\n- What level of availability is required?\n- Do different types of failures have different effects on the service?\n- How can we use the service cost to help locate a service on the risk continuum?\n- What other service metrics are important to take into account?\n\n### Target level of availability\n\nThe target level of availability for a given Google service usually depends on the function it provides and how the service is positioned in the marketplace. The following list includes issues to consider:\n\n- What level of service will the users expect?\n- Does this service tie directly to revenue (either our revenue, or our customers’ revenue)?\n- Is this a paid service, or is it free?\n- If there are competitors in the marketplace, what level of service do those competitors provide?\n- Is this service targeted at consumers, or at enterprises?\n\nConsider the requirements of Google Apps for Work. The majority of its users are enterprise users, some large and some small. These enterprises depend on Google Apps for Work services (e.g., Gmail, Calendar, Drive, Docs) to provide tools that enable their employees to perform their daily work. Stated another way, an outage for a Google Apps for Work service is an outage not only for Google, but also for all the enterprises that critically depend on us. For a typical Google Apps for Work service, we might set an external quarterly availability target of 99.9%, and back this target with a stronger internal availability target and a contract that stipulates penalties if we fail to deliver to the external target.\n\nYouTube provides a contrasting set of considerations. When Google acquired YouTube, we had to decide on the appropriate availability target for the website. In 2006, YouTube was focused on consumers and was in a very different phase of its business lifecycle than Google was at the time. While YouTube already had a great product, it was still changing and growing rapidly. We set a lower availability target for YouTube than for our enterprise products because rapid feature development was correspondingly more important.\n\n### Types of failures\n\nThe expected shape of failures for a given service is another important consideration. How resilient is our business to service downtime? Which is worse for the service: a constant low rate of failures, or an occasional full-site outage? Both types of failure may result in the same absolute number of errors, but may have vastly different impacts on the business.\n\nAn illustrative example of the difference between full and partial outages naturally arises in systems that serve private information. Consider a contact management application, and the difference between intermittent failures that cause profile pictures to fail to render, versus a failure case that results in a user’s private contacts being shown to another user. The first case is clearly a poor user experience, and SREs would work to remediate the problem quickly. In the second case, however, the risk of exposing private data could easily undermine basic user trust in a significant way. As a result, taking down the service entirely would be appropriate during the debugging and potential clean-up phase for the second case.\n\nAt the other end of services offered by Google, it is sometimes acceptable to have regular outages during maintenance windows. A number of years ago, the Ads Frontend used to be one such service. It is used by advertisers and website publishers to set up, configure, run, and monitor their advertising campaigns. Because most of this work takes place during normal business hours, we determined that occasional, regular, scheduled outages in the form of maintenance windows would be acceptable, and we counted these scheduled outages as planned downtime, not unplanned downtime.\n\n### Cost\n\nCost is often the key factor in determining the appropriate availability target for a service. Ads is in a particularly good position to make this trade-off because request successes and failures can be directly translated into revenue gained or lost. In determining the availability target for each service, we ask questions such as:\n\n- If we were to build and operate these systems at one more nine of availability, what would our incremental increase in revenue be?\n- Does this additional revenue offset the cost of reaching that level of reliability?\n\nTo make this trade-off equation more concrete, consider the following cost/benefit for an example service where each request has equal value:\n\n- Proposed improvement in availability target: 99.9% → 99.99%\n- Proposed increase in availability: 0.09%\n- Service revenue: $1M\n- Value of improved availability: $1M * 0.0009 = $900\n\nIn this case, if the cost of improving availability by one nine is less than $900, it is worth the investment. If the cost is greater than $900, the costs will exceed the projected increase in revenue.\n\nIt may be harder to set these targets when we do not have a simple translation function between reliability and revenue. One useful strategy may be to consider the background error rate of ISPs on the Internet. If failures are being measured from the end-user perspective and it is possible to drive the error rate for the service below the background error rate, those errors will fall within the noise for a given user’s Internet connection. While there are significant differences between ISPs and protocols (e.g., TCP versus UDP, IPv4 versus IPv6), we’ve measured the typical background error rate for ISPs as falling between 0.01% and 1%.\n\n### Other service metrics\n\nExamining the risk tolerance of services in relation to metrics besides availability is often fruitful. Understanding which metrics are important and which metrics aren’t important provides us with degrees of freedom when attempting to take thoughtful risks.\n\nService latency for our Ads systems provides an illustrative example. When Google first launched Web Search, one of the service’s key distinguishing features was speed. When we introduced AdWords, which displays advertisements next to search results, a key requirement of the system was that the ads should not slow down the search experience. This requirement has driven the engineering goals in each generation of AdWords systems and is treated as an invariant.\n\nAdSense, Google’s ads system that serves contextual ads in response to requests from JavaScript code that publishers insert into their websites, has a very different latency goal. The latency goal for AdSense is to avoid slowing down the rendering of the third-party page when inserting contextual ads. The specific latency target, then, is dependent on the speed at which a given publisher’s page renders. This means that AdSense ads can generally be served hundreds of milliseconds slower than AdWords ads.\n\nThis looser serving latency requirement has allowed us to make many smart trade-offs in provisioning (i.e., determining the quantity and locations of serving resources we use), which save us substantial cost over naive provisioning. In other words, given the relative insensitivity of the AdSense service to moderate changes in latency performance, we are able to consolidate serving into fewer geographical locations, reducing our operational overhead.\n\n## Identifying the Risk Tolerance of Infrastructure Services\n\nThe requirements for building and running infrastructure components differ from the requirements for consumer products in a number of ways. A fundamental difference is that, by definition, infrastructure components have multiple clients, often with varying needs.\n\n### Target level of availability\n\nConsider Bigtable [[Cha06]](/sre-book/bibliography#Cha06), a massive-scale distributed storage system for structured data. Some consumer services serve data directly from Bigtable in the path of a user request. Such services need low latency and high reliability. Other teams use Bigtable as a repository for data that they use to perform offline analysis (e.g., MapReduce) on a regular basis. These teams tend to be more concerned about throughput than reliability. Risk tolerance for these two use cases is quite distinct.\n\nOne approach to meeting the needs of both use cases is to engineer all infrastructure services to be ultra-reliable. Given the fact that these infrastructure services also tend to aggregate huge amounts of resources, such an approach is usually far too expensive in practice. To understand the different needs of the different types of users, you can look at the desired state of the request queue for each type of Bigtable user.\n\n### Types of failures\n\nThe low-latency user wants Bigtable’s request queues to be (almost always) empty so that the system can process each outstanding request immediately upon arrival. (Indeed, inefficient queuing is often a cause of high tail latency.) The user concerned with offline analysis is more interested in system throughput, so that user wants request queues to never be empty. To optimize for throughput, the Bigtable system should never need to idle while waiting for its next request.\n\nAs you can see, success and failure are antithetical for these sets of users. Success for the low-latency user is failure for the user concerned with offline analysis.\n\n### Cost\n\nOne way to satisfy these competing constraints in a cost-effective manner is to partition the infrastructure and offer it at multiple independent levels of service. In the Bigtable example, we can build two types of clusters: low-latency clusters and throughput clusters. The low-latency clusters are designed to be operated and used by services that need low latency and high reliability. To ensure short queue lengths and satisfy more stringent client isolation requirements, the Bigtable system can be provisioned with a substantial amount of slack capacity for reduced contention and increased redundancy. The throughput clusters, on the other hand, can be provisioned to run very hot and with less redundancy, optimizing throughput over latency. In practice, we are able to satisfy these relaxed needs at a much lower cost, perhaps as little as 10–50% of the cost of a low-latency cluster. Given Bigtable’s massive scale, this cost savings becomes significant very quickly.\n\nThe key strategy with regards to infrastructure is to deliver services with explicitly delineated levels of service, thus enabling the clients to make the right risk and cost trade-offs when building their systems. With explicitly delineated levels of service, the infrastructure providers can effectively externalize the difference in the cost it takes to provide service at a given level to clients. Exposing cost in this way motivates the clients to choose the level of service with the lowest cost that still meets their needs. For example, Google+ can decide to put data critical to enforcing user privacy in a high-availability, globally consistent datastore (e.g., a globally replicated SQL-like system like Spanner [[Cor12]](/sre-book/bibliography#Cor12)), while putting optional data (data that isn’t critical, but that enhances the user experience) in a cheaper, less reliable, less fresh, and eventually consistent datastore (e.g., a NoSQL store with best-effort replication like Bigtable).\n\nNote that we can run multiple classes of services using identical hardware and software. We can provide vastly different service guarantees by adjusting a variety of service characteristics, such as the quantities of resources, the degree of redundancy, the geographical provisioning constraints, and, critically, the infrastructure software configuration.\n\n### Example: Frontend infrastructure\n\nTo demonstrate that these risk-tolerance assessment principles do not just apply to storage infrastructure, let’s look at another large class of service: Google’s frontend infrastructure. The frontend infrastructure consists of reverse proxy and load balancing systems running close to the edge of our network. These are the systems that, among other things, serve as one endpoint of the connections from end users (e.g., terminate TCP from the user’s browser). Given their critical role, we engineer these systems to deliver an extremely high level of reliability. While consumer services can often limit the visibility of unreliability in backends, these infrastructure systems are not so lucky. If a request never makes it to the application service frontend server, it is lost.\n\nWe’ve explored the ways to identify the risk tolerance of both consumer and infrastructure services. Now, we’ll discuss using that tolerance level to manage unreliability via error budgets.\n\n# Motivation for Error Budgets14\n\nWritten by Mark Roth\nEdited by Carmela Quinito\n\nOther chapters in this book discuss how tensions can arise between product development teams and SRE teams, given that they are generally evaluated on different metrics. Product development performance is largely evaluated on product velocity, which creates an incentive to push new code as quickly as possible. Meanwhile, SRE performance is (unsurprisingly) evaluated based upon reliability of a service, which implies an incentive to push back against a high rate of change. Information asymmetry between the two teams further amplifies this inherent tension. The product developers have more visibility into the time and effort involved in writing and releasing their code, while the SREs have more visibility into the service’s reliability (and the state of production in general).\n\nThese tensions often reflect themselves in different opinions about the level of effort that should be put into engineering practices. The following list presents some typical tensions:\n\nSoftware fault tolerance\n\nHow hardened do we make the software to unexpected events? Too little, and we have a brittle, unusable product. Too much, and we have a product no one wants to use (but that runs very stably).\n\nTesting\n\nAgain, not enough testing and you have embarrassing outages, privacy data leaks, or a number of other press-worthy events. Too much testing, and you might lose your market.\n\nPush frequency\n\nEvery push is risky. How much should we work on reducing that risk, versus doing other work?\n\nCanary duration and size\n\nIt’s a best practice to test a new release on some small subset of a typical workload, a practice often called *canarying*. How long do we wait, and how big is the canary?\n\nUsually, preexisting teams have worked out some kind of informal balance between them as to where the risk/effort boundary lies. Unfortunately, one can rarely prove that this balance is optimal, rather than just a function of the negotiating skills of the engineers involved. Nor should such decisions be driven by politics, fear, or hope. (Indeed, Google SRE’s unofficial motto is \"Hope is not a strategy.\") Instead, our goal is to define an objective metric, agreed upon by both sides, that can be used to guide the negotiations in a reproducible way. The more data-based the decision can be, the better.\n\n## Forming Your Error Budget\n\nIn order to base these decisions on objective data, the two teams jointly define a quarterly error budget based on the service’s service level objective, or SLO (see [Service Level Objectives](/sre-book/service-level-objectives/)). The error budget provides a clear, objective metric that determines how unreliable the service is allowed to be within a single quarter. This metric removes the politics from negotiations between the SREs and the product developers when deciding how much risk to allow.\n\nOur practice is then as follows:\n\n- Product Management defines an SLO, which sets an expectation of how much uptime the service should have per quarter.\n- The actual uptime is measured by a neutral third party: our monitoring system.\n- The difference between these two numbers is the \"budget\" of how much \"unreliability\" is remaining for the quarter.\n- As long as the uptime measured is above the SLO—in other words, as long as there is error budget remaining—new releases can be pushed.\n\nFor example, imagine that a service’s SLO is to successfully serve 99.999% of all queries per quarter. This means that the service’s error budget is a failure rate of 0.001% for a given quarter. If a problem causes us to fail 0.0002% of the expected queries for the quarter, the problem spends 20% of the service’s quarterly error budget.\n\n## Benefits\n\nThe main benefit of an error budget is that it provides a common incentive that allows both product development and SRE to focus on finding the right balance between innovation and reliability.\n\nMany products use this control loop to manage release velocity: as long as the system’s SLOs are met, releases can continue. If SLO violations occur frequently enough to expend the error budget, releases are temporarily halted while additional resources are invested in system testing and development to make the system more resilient, improve its performance, and so on. More subtle and effective approaches are available than this simple on/off technique:15 for instance, slowing down releases or rolling them back when the [SLO-violation error budget](https://sre.google/workbook/error-budget-policy/) is close to being used up.\n\nFor example, if product development wants to skimp on testing or increase push velocity and SRE is resistant, the error budget guides the decision. When the budget is large, the product developers can take more risks. When the budget is nearly drained, the product developers themselves will push for more testing or slower push velocity, as they don’t want to risk using up the budget and stall their launch. In effect, the product development team becomes self-policing. They know the budget and can manage their own risk. (Of course, this outcome relies on an SRE team having the authority to actually stop launches if the SLO is broken.)\n\nWhat happens if a network outage or datacenter failure reduces the measured SLO? Such events also eat into the error budget. As a result, the number of new pushes may be reduced for the remainder of the quarter. The entire team supports this reduction because everyone shares the responsibility for uptime.\n\nThe budget also helps to highlight some of the costs of overly high reliability targets, in terms of both inflexibility and slow innovation. If the team is having trouble launching new features, they may elect to loosen the SLO (thus increasing the error budget) in order to increase innovation.\n\n14An early version of this section appeared as an article in *;login:* (August 2015, vol. 40, no. 4).\n\n15Known as \"bang/bang\" control—see [*https://en.wikipedia.org/wiki/Bang–bang_control*](https://en.wikipedia.org/wiki/Bang–bang_control).", "znaku_textu": 27694, "slov": 4379, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:58", "sha256": "879d7913327c42bbd9be020f019ed2b61448eddceb1106211ea8bd3eebb6208d", "hloubka": 1, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Bang%E2%80%93bang_control", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/embracing-risk/", "titulek": "Google SRE - Embracing risk and reliability engineering book", "h1": "Embracing Risk", "popis": "Discover the concept of embracing risk in the context of service reliability and how to effectively utilize error budgets for a more resilient system.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/embracing-risk/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/embracing-risk/"}, "headline": "Embracing Risk", "description": "Site Reliability Engineering seeks to balance the risk of unavailability with the goals of rapid innovation and efficient service operations, so that users' overall happiness—with features, service, and performance—is optimized.", "image": "https://lh3.googleusercontent.com/a3KcNq4YhUaJjp2HXuhNTap3CqAk-3s_NOZILk4hhqe0p4q99fP7mgOjrqOhl2aJniSerd_jT8wv0PH9kGtkucgRHP7D1FWBm5hBpA", "author": [{"@type": "Person", "name": "Marc Alvidrez"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embracing Risk"}, {"uroven": 2, "text": "Managing Risk"}, {"uroven": 1, "text": "Measuring Service Risk"}, {"uroven": 5, "text": "Time-based availability"}, {"uroven": 5, "text": "Aggregate availability"}, {"uroven": 1, "text": "Risk Tolerance of Services"}, {"uroven": 2, "text": "Identifying the Risk Tolerance of Consumer Services"}, {"uroven": 3, "text": "Target level of availability"}, {"uroven": 3, "text": "Types of failures"}, {"uroven": 3, "text": "Cost"}, {"uroven": 3, "text": "Other service metrics"}, {"uroven": 2, "text": "Identifying the Risk Tolerance of Infrastructure Services"}, {"uroven": 3, "text": "Target level of availability"}, {"uroven": 3, "text": "Types of failures"}, {"uroven": 3, "text": "Cost"}, {"uroven": 3, "text": "Example: Frontend infrastructure"}, {"uroven": 1, "text": "Motivation for Error Budgets14"}, {"uroven": 2, "text": "Forming Your Error Budget"}, {"uroven": 2, "text": "Benefits"}], "markdown": "# Embracing Risk\n\nWritten by Marc Alvidrez \n Edited by Kavita Guliani\n\nYou might expect Google to try to build 100% reliable services—ones that never fail. It turns out that past a certain point, however, increasing reliability is worse for a service (and its users) rather than better! Extreme reliability comes at a cost: maximizing stability limits how fast new features can be developed and how quickly products can be delivered to users, and dramatically increases their cost, which in turn reduces the numbers of features a team can afford to offer. Further, users typically don’t notice the difference between high reliability and extreme reliability in a service, because the user experience is dominated by less reliable components like the cellular network or the device they are working with. Put simply, a user on a 99% reliable smartphone cannot tell the difference between 99.99% and 99.999% service reliability! With this in mind, rather than simply maximizing uptime, Site Reliability Engineering seeks to balance the risk of unavailability with the goals of rapid innovation and efficient service operations, so that users’ overall happiness—with features, service, and performance—is optimized.\n\n## Managing Risk\n\nUnreliable systems can quickly erode users’ confidence, so we want to reduce the chance of system failure. However, experience shows that as we build systems, cost does not increase linearly as reliability increments—an incremental improvement in reliability may cost 100x more than the previous increment. The costliness has two dimensions:\n\nThe cost of redundant machine/compute resources\n\nThe cost associated with redundant equipment that, for example, allows us to take systems offline for routine or unforeseen maintenance, or provides space for us to store parity code blocks that provide a minimum data durability guarantee.\n\nThe opportunity cost\n\nThe cost borne by an organization when it allocates engineering resources to build systems or features that diminish risk instead of features that are directly visible to or usable by end users. These engineers no longer work on new features and products for end users.\n\nIn SRE, we manage service reliability largely by managing risk. We conceptualize risk as a continuum. We give equal importance to figuring out how to engineer greater reliability into Google systems and identifying the appropriate level of tolerance for the services we run. Doing so allows us to perform a cost/benefit analysis to determine, for example, where on the (nonlinear) risk continuum we should place Search, Ads, Gmail, or Photos. Our goal is to explicitly align the risk taken by a given service with the risk the business is willing to bear. We strive to make a service reliable enough, but no *more* reliable than it needs to be. That is, when we set an availability target of 99.99%,we want to exceed it, but not by much: that would waste opportunities to add features to the system, clean up technical debt, or reduce its operational costs. In a sense, we view the availability target as both a minimum and a maximum. The key advantage of this framing is that it unlocks explicit, thoughtful risktaking.\n\n# Measuring Service Risk\n\nAs standard practice at Google, we are often best served by identifying an objective metric to represent the property of a system we want to optimize. By setting a target, we can assess our current performance and track improvements or degradations over time. For service risk, it is not immediately clear how to reduce all of the potential factors into a single metric. Service failures can have many potential effects, including user dissatisfaction, harm, or loss of trust; direct or indirect revenue loss; brand or reputational impact; and undesirable press coverage. Clearly, some of these factors are very hard to measure. To make this problem tractable and consistent across many types of systems we run, we focus on *unplanned downtime*.\n\nFor most services, the most straightforward way of representing risk tolerance is in terms of the acceptable level of unplanned downtime. Unplanned downtime is captured by the desired level of *service availability*, usually expressed in terms of the number of \"nines\" we would like to provide: 99.9%, 99.99%, or 99.999% availability. Each additional nine corresponds to an order of magnitude improvement toward 100% availability. For serving systems, this metric is traditionally calculated based on the proportion of system uptime (see Time-based availability).\n\n##### Time-based availability\n\nUsing this formula over the period of a year, we can calculate the acceptable number of minutes of downtime to reach a given number of nines of availability. For example, a system with an availability target of 99.99% can be down for up to 52.56 minutes in a year and stay within its availability target; see [Availability Table](/sre-book/availability-table#appendix_table-of-nines) for a table.\n\nAt Google, however, a time-based metric for availability is usually not meaningful because we are looking across globally distributed services. Our approach to fault isolation makes it very likely that we are serving at least a subset of traffic for a given service somewhere in the world at any given time (i.e., we are at least partially \"up\" at all times). Therefore, instead of using metrics around uptime, we define availability in terms of the *request success rate*. Aggregate availability shows how this yield-based metric is calculated over a rolling window (i.e., proportion of successful requests over a one-day window).\n\n##### Aggregate availability\n\nFor example, a system that serves 2.5M requests in a day with a daily availability target of 99.99% can serve up to 250 errors and still hit its target for that given day.\n\nIn a typical application, not all requests are equal: failing a new user sign-up request is different from failing a request polling for new email in the background. In many cases, however, availability calculated as the request success rate over all requests is a reasonable approximation of unplanned downtime, as viewed from the end-user perspective.\n\nQuantifying unplanned downtime as a request success rate also makes this availability metric more amenable for use in systems that do not typically serve end users directly. Most nonserving systems (e.g., batch, pipeline, storage, and transactional systems) have a well-defined notion of successful and unsuccessful units of work. Indeed, while the systems discussed in this chapter are primarily consumer and infrastructure serving systems, many of the same principles also apply to nonserving systems with minimal modification.\n\nFor example, a batch process that extracts, transforms, and inserts the contents of one of our customer databases into a data warehouse to enable further analysis may be set to run periodically. Using a request success rate defined in terms of records successfully and unsuccessfully processed, we can calculate a useful availability metric despite the fact that the batch system does not run constantly.\n\nMost often, we set quarterly availability targets for a service and track our performance against those targets on a weekly, or even daily, basis. This strategy lets us manage the service to a high-level availability objective by looking for, tracking down, and fixing meaningful deviations as they inevitably arise. See [Service Level Objectives](/sre-book/service-level-objectives/) for more details.\n\n# Risk Tolerance of Services\n\nWhat does it mean to identify the risk tolerance of a service? In a formal environment or in the case of safety-critical systems, the risk tolerance of services is typically built directly into the basic product or service definition. At Google, services’ risk tolerance tends to be less clearly defined.\n\nTo identify the risk tolerance of a service, SREs must work with the product owners to turn a set of business goals into explicit objectives to which we can engineer. In this case, the business goals we’re concerned about have a direct impact on the performance and reliability of the service offered. In practice, this translation is easier said than done. While consumer services often have clear product owners, it is unusual for infrastructure services (e.g., storage systems or a general-purpose HTTP caching layer) to have a similar structure of product ownership. We’ll discuss the consumer and infrastructure cases in turn.\n\n## Identifying the Risk Tolerance of Consumer Services\n\nOur consumer services often have a product team that acts as the business owner for an application. For example, Search, Google Maps, and Google Docs each have their own product managers. These product managers are charged with understanding the users and the business, and for shaping the product for success in the marketplace. When a product team exists, that team is usually the best resource to discuss the reliability requirements for a service. In the absence of a dedicated product team, the engineers building the system often play this role either knowingly or unknowingly.\n\nThere are many factors to consider when assessing the risk tolerance of services, such as the following:\n\n- What level of availability is required?\n- Do different types of failures have different effects on the service?\n- How can we use the service cost to help locate a service on the risk continuum?\n- What other service metrics are important to take into account?\n\n### Target level of availability\n\nThe target level of availability for a given Google service usually depends on the function it provides and how the service is positioned in the marketplace. The following list includes issues to consider:\n\n- What level of service will the users expect?\n- Does this service tie directly to revenue (either our revenue, or our customers’ revenue)?\n- Is this a paid service, or is it free?\n- If there are competitors in the marketplace, what level of service do those competitors provide?\n- Is this service targeted at consumers, or at enterprises?\n\nConsider the requirements of Google Apps for Work. The majority of its users are enterprise users, some large and some small. These enterprises depend on Google Apps for Work services (e.g., Gmail, Calendar, Drive, Docs) to provide tools that enable their employees to perform their daily work. Stated another way, an outage for a Google Apps for Work service is an outage not only for Google, but also for all the enterprises that critically depend on us. For a typical Google Apps for Work service, we might set an external quarterly availability target of 99.9%, and back this target with a stronger internal availability target and a contract that stipulates penalties if we fail to deliver to the external target.\n\nYouTube provides a contrasting set of considerations. When Google acquired YouTube, we had to decide on the appropriate availability target for the website. In 2006, YouTube was focused on consumers and was in a very different phase of its business lifecycle than Google was at the time. While YouTube already had a great product, it was still changing and growing rapidly. We set a lower availability target for YouTube than for our enterprise products because rapid feature development was correspondingly more important.\n\n### Types of failures\n\nThe expected shape of failures for a given service is another important consideration. How resilient is our business to service downtime? Which is worse for the service: a constant low rate of failures, or an occasional full-site outage? Both types of failure may result in the same absolute number of errors, but may have vastly different impacts on the business.\n\nAn illustrative example of the difference between full and partial outages naturally arises in systems that serve private information. Consider a contact management application, and the difference between intermittent failures that cause profile pictures to fail to render, versus a failure case that results in a user’s private contacts being shown to another user. The first case is clearly a poor user experience, and SREs would work to remediate the problem quickly. In the second case, however, the risk of exposing private data could easily undermine basic user trust in a significant way. As a result, taking down the service entirely would be appropriate during the debugging and potential clean-up phase for the second case.\n\nAt the other end of services offered by Google, it is sometimes acceptable to have regular outages during maintenance windows. A number of years ago, the Ads Frontend used to be one such service. It is used by advertisers and website publishers to set up, configure, run, and monitor their advertising campaigns. Because most of this work takes place during normal business hours, we determined that occasional, regular, scheduled outages in the form of maintenance windows would be acceptable, and we counted these scheduled outages as planned downtime, not unplanned downtime.\n\n### Cost\n\nCost is often the key factor in determining the appropriate availability target for a service. Ads is in a particularly good position to make this trade-off because request successes and failures can be directly translated into revenue gained or lost. In determining the availability target for each service, we ask questions such as:\n\n- If we were to build and operate these systems at one more nine of availability, what would our incremental increase in revenue be?\n- Does this additional revenue offset the cost of reaching that level of reliability?\n\nTo make this trade-off equation more concrete, consider the following cost/benefit for an example service where each request has equal value:\n\n- Proposed improvement in availability target: 99.9% → 99.99%\n- Proposed increase in availability: 0.09%\n- Service revenue: $1M\n- Value of improved availability: $1M * 0.0009 = $900\n\nIn this case, if the cost of improving availability by one nine is less than $900, it is worth the investment. If the cost is greater than $900, the costs will exceed the projected increase in revenue.\n\nIt may be harder to set these targets when we do not have a simple translation function between reliability and revenue. One useful strategy may be to consider the background error rate of ISPs on the Internet. If failures are being measured from the end-user perspective and it is possible to drive the error rate for the service below the background error rate, those errors will fall within the noise for a given user’s Internet connection. While there are significant differences between ISPs and protocols (e.g., TCP versus UDP, IPv4 versus IPv6), we’ve measured the typical background error rate for ISPs as falling between 0.01% and 1%.\n\n### Other service metrics\n\nExamining the risk tolerance of services in relation to metrics besides availability is often fruitful. Understanding which metrics are important and which metrics aren’t important provides us with degrees of freedom when attempting to take thoughtful risks.\n\nService latency for our Ads systems provides an illustrative example. When Google first launched Web Search, one of the service’s key distinguishing features was speed. When we introduced AdWords, which displays advertisements next to search results, a key requirement of the system was that the ads should not slow down the search experience. This requirement has driven the engineering goals in each generation of AdWords systems and is treated as an invariant.\n\nAdSense, Google’s ads system that serves contextual ads in response to requests from JavaScript code that publishers insert into their websites, has a very different latency goal. The latency goal for AdSense is to avoid slowing down the rendering of the third-party page when inserting contextual ads. The specific latency target, then, is dependent on the speed at which a given publisher’s page renders. This means that AdSense ads can generally be served hundreds of milliseconds slower than AdWords ads.\n\nThis looser serving latency requirement has allowed us to make many smart trade-offs in provisioning (i.e., determining the quantity and locations of serving resources we use), which save us substantial cost over naive provisioning. In other words, given the relative insensitivity of the AdSense service to moderate changes in latency performance, we are able to consolidate serving into fewer geographical locations, reducing our operational overhead.\n\n## Identifying the Risk Tolerance of Infrastructure Services\n\nThe requirements for building and running infrastructure components differ from the requirements for consumer products in a number of ways. A fundamental difference is that, by definition, infrastructure components have multiple clients, often with varying needs.\n\n### Target level of availability\n\nConsider Bigtable [[Cha06]](/sre-book/bibliography#Cha06), a massive-scale distributed storage system for structured data. Some consumer services serve data directly from Bigtable in the path of a user request. Such services need low latency and high reliability. Other teams use Bigtable as a repository for data that they use to perform offline analysis (e.g., MapReduce) on a regular basis. These teams tend to be more concerned about throughput than reliability. Risk tolerance for these two use cases is quite distinct.\n\nOne approach to meeting the needs of both use cases is to engineer all infrastructure services to be ultra-reliable. Given the fact that these infrastructure services also tend to aggregate huge amounts of resources, such an approach is usually far too expensive in practice. To understand the different needs of the different types of users, you can look at the desired state of the request queue for each type of Bigtable user.\n\n### Types of failures\n\nThe low-latency user wants Bigtable’s request queues to be (almost always) empty so that the system can process each outstanding request immediately upon arrival. (Indeed, inefficient queuing is often a cause of high tail latency.) The user concerned with offline analysis is more interested in system throughput, so that user wants request queues to never be empty. To optimize for throughput, the Bigtable system should never need to idle while waiting for its next request.\n\nAs you can see, success and failure are antithetical for these sets of users. Success for the low-latency user is failure for the user concerned with offline analysis.\n\n### Cost\n\nOne way to satisfy these competing constraints in a cost-effective manner is to partition the infrastructure and offer it at multiple independent levels of service. In the Bigtable example, we can build two types of clusters: low-latency clusters and throughput clusters. The low-latency clusters are designed to be operated and used by services that need low latency and high reliability. To ensure short queue lengths and satisfy more stringent client isolation requirements, the Bigtable system can be provisioned with a substantial amount of slack capacity for reduced contention and increased redundancy. The throughput clusters, on the other hand, can be provisioned to run very hot and with less redundancy, optimizing throughput over latency. In practice, we are able to satisfy these relaxed needs at a much lower cost, perhaps as little as 10–50% of the cost of a low-latency cluster. Given Bigtable’s massive scale, this cost savings becomes significant very quickly.\n\nThe key strategy with regards to infrastructure is to deliver services with explicitly delineated levels of service, thus enabling the clients to make the right risk and cost trade-offs when building their systems. With explicitly delineated levels of service, the infrastructure providers can effectively externalize the difference in the cost it takes to provide service at a given level to clients. Exposing cost in this way motivates the clients to choose the level of service with the lowest cost that still meets their needs. For example, Google+ can decide to put data critical to enforcing user privacy in a high-availability, globally consistent datastore (e.g., a globally replicated SQL-like system like Spanner [[Cor12]](/sre-book/bibliography#Cor12)), while putting optional data (data that isn’t critical, but that enhances the user experience) in a cheaper, less reliable, less fresh, and eventually consistent datastore (e.g., a NoSQL store with best-effort replication like Bigtable).\n\nNote that we can run multiple classes of services using identical hardware and software. We can provide vastly different service guarantees by adjusting a variety of service characteristics, such as the quantities of resources, the degree of redundancy, the geographical provisioning constraints, and, critically, the infrastructure software configuration.\n\n### Example: Frontend infrastructure\n\nTo demonstrate that these risk-tolerance assessment principles do not just apply to storage infrastructure, let’s look at another large class of service: Google’s frontend infrastructure. The frontend infrastructure consists of reverse proxy and load balancing systems running close to the edge of our network. These are the systems that, among other things, serve as one endpoint of the connections from end users (e.g., terminate TCP from the user’s browser). Given their critical role, we engineer these systems to deliver an extremely high level of reliability. While consumer services can often limit the visibility of unreliability in backends, these infrastructure systems are not so lucky. If a request never makes it to the application service frontend server, it is lost.\n\nWe’ve explored the ways to identify the risk tolerance of both consumer and infrastructure services. Now, we’ll discuss using that tolerance level to manage unreliability via error budgets.\n\n# Motivation for Error Budgets14\n\nWritten by Mark Roth\nEdited by Carmela Quinito\n\nOther chapters in this book discuss how tensions can arise between product development teams and SRE teams, given that they are generally evaluated on different metrics. Product development performance is largely evaluated on product velocity, which creates an incentive to push new code as quickly as possible. Meanwhile, SRE performance is (unsurprisingly) evaluated based upon reliability of a service, which implies an incentive to push back against a high rate of change. Information asymmetry between the two teams further amplifies this inherent tension. The product developers have more visibility into the time and effort involved in writing and releasing their code, while the SREs have more visibility into the service’s reliability (and the state of production in general).\n\nThese tensions often reflect themselves in different opinions about the level of effort that should be put into engineering practices. The following list presents some typical tensions:\n\nSoftware fault tolerance\n\nHow hardened do we make the software to unexpected events? Too little, and we have a brittle, unusable product. Too much, and we have a product no one wants to use (but that runs very stably).\n\nTesting\n\nAgain, not enough testing and you have embarrassing outages, privacy data leaks, or a number of other press-worthy events. Too much testing, and you might lose your market.\n\nPush frequency\n\nEvery push is risky. How much should we work on reducing that risk, versus doing other work?\n\nCanary duration and size\n\nIt’s a best practice to test a new release on some small subset of a typical workload, a practice often called *canarying*. How long do we wait, and how big is the canary?\n\nUsually, preexisting teams have worked out some kind of informal balance between them as to where the risk/effort boundary lies. Unfortunately, one can rarely prove that this balance is optimal, rather than just a function of the negotiating skills of the engineers involved. Nor should such decisions be driven by politics, fear, or hope. (Indeed, Google SRE’s unofficial motto is \"Hope is not a strategy.\") Instead, our goal is to define an objective metric, agreed upon by both sides, that can be used to guide the negotiations in a reproducible way. The more data-based the decision can be, the better.\n\n## Forming Your Error Budget\n\nIn order to base these decisions on objective data, the two teams jointly define a quarterly error budget based on the service’s service level objective, or SLO (see [Service Level Objectives](/sre-book/service-level-objectives/)). The error budget provides a clear, objective metric that determines how unreliable the service is allowed to be within a single quarter. This metric removes the politics from negotiations between the SREs and the product developers when deciding how much risk to allow.\n\nOur practice is then as follows:\n\n- Product Management defines an SLO, which sets an expectation of how much uptime the service should have per quarter.\n- The actual uptime is measured by a neutral third party: our monitoring system.\n- The difference between these two numbers is the \"budget\" of how much \"unreliability\" is remaining for the quarter.\n- As long as the uptime measured is above the SLO—in other words, as long as there is error budget remaining—new releases can be pushed.\n\nFor example, imagine that a service’s SLO is to successfully serve 99.999% of all queries per quarter. This means that the service’s error budget is a failure rate of 0.001% for a given quarter. If a problem causes us to fail 0.0002% of the expected queries for the quarter, the problem spends 20% of the service’s quarterly error budget.\n\n## Benefits\n\nThe main benefit of an error budget is that it provides a common incentive that allows both product development and SRE to focus on finding the right balance between innovation and reliability.\n\nMany products use this control loop to manage release velocity: as long as the system’s SLOs are met, releases can continue. If SLO violations occur frequently enough to expend the error budget, releases are temporarily halted while additional resources are invested in system testing and development to make the system more resilient, improve its performance, and so on. More subtle and effective approaches are available than this simple on/off technique:15 for instance, slowing down releases or rolling them back when the [SLO-violation error budget](https://sre.google/workbook/error-budget-policy/) is close to being used up.\n\nFor example, if product development wants to skimp on testing or increase push velocity and SRE is resistant, the error budget guides the decision. When the budget is large, the product developers can take more risks. When the budget is nearly drained, the product developers themselves will push for more testing or slower push velocity, as they don’t want to risk using up the budget and stall their launch. In effect, the product development team becomes self-policing. They know the budget and can manage their own risk. (Of course, this outcome relies on an SRE team having the authority to actually stop launches if the SLO is broken.)\n\nWhat happens if a network outage or datacenter failure reduces the measured SLO? Such events also eat into the error budget. As a result, the number of new pushes may be reduced for the remainder of the quarter. The entire team supports this reduction because everyone shares the responsibility for uptime.\n\nThe budget also helps to highlight some of the costs of overly high reliability targets, in terms of both inflexibility and slow innovation. If the team is having trouble launching new features, they may elect to loosen the SLO (thus increasing the error budget) in order to increase innovation.\n\n14An early version of this section appeared as an article in *;login:* (August 2015, vol. 40, no. 4).\n\n15Known as \"bang/bang\" control—see [*https://en.wikipedia.org/wiki/Bang–bang_control*](https://en.wikipedia.org/wiki/Bang–bang_control).", "znaku_textu": 27694, "slov": 4379, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/embracing-risk", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:50", "sha256": "879d7913327c42bbd9be020f019ed2b61448eddceb1106211ea8bd3eebb6208d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Bang%E2%80%93bang_control", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/emergency-response/", "titulek": "Google SRE - Incident Response with Google's Strategies", "h1": "What to Do When Systems Break", "popis": "Google's expertise in incident response for your organization's ability to handle emergencies. Learn from real-world examples and best practices.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/emergency-response/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/emergency-response/"}, "headline": "Emergency Response", "description": "Regardless of the stakes involved or the size of an organization, one trait that’s vital to the long-term health of an organization, and that consequently sets that organization apart from others, is how the people involved respond to an emergency.", "author": [{"@type": "Person", "name": "Corey Adam Baye"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Emergency Response"}, {"uroven": 1, "text": "What to Do When Systems Break"}, {"uroven": 1, "text": "Test-Induced Emergency"}, {"uroven": 2, "text": "Details"}, {"uroven": 2, "text": "Response"}, {"uroven": 2, "text": "Findings"}, {"uroven": 3, "text": "What went well"}, {"uroven": 3, "text": "What we learned"}, {"uroven": 1, "text": "Change-Induced Emergency"}, {"uroven": 2, "text": "Details"}, {"uroven": 2, "text": "Response"}, {"uroven": 2, "text": "Findings"}, {"uroven": 3, "text": "What went well"}, {"uroven": 3, "text": "What we learned"}, {"uroven": 1, "text": "Process-Induced Emergency"}, {"uroven": 2, "text": "Details"}, {"uroven": 2, "text": "Response"}, {"uroven": 2, "text": "Findings"}, {"uroven": 3, "text": "What went well"}, {"uroven": 3, "text": "What we learned"}, {"uroven": 1, "text": "All Problems Have Solutions"}, {"uroven": 1, "text": "Learn from the Past. Don’t Repeat It."}, {"uroven": 2, "text": "Keep a History of Outages"}, {"uroven": 2, "text": "Ask the Big, Even Improbable, Questions: What If…?"}, {"uroven": 2, "text": "Encourage Proactive Testing"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Emergency Response\n\nWritten by Corey Adam Baye\nEdited by Diane Bates\n\nThings break; that’s life.\n\nRegardless of the stakes involved or the size of an organization, one trait that’s vital to the long-term health of an organization, and that consequently sets that organization apart from others, is how the people involved respond to an emergency. Few of us naturally respond well during an emergency. A proper response takes preparation and periodic, pertinent, hands-on training. Establishing and maintaining thorough training and testing processes requires the support of the board and management, in addition to the careful attention of staff. All of these elements are essential in fostering an environment in which teams can spend money, time, energy, and possibly even uptime to ensure that systems, processes, and people respond efficiently during an emergency.\n\nNote that the chapter on postmortem culture discusses the specifics of how to write postmortems in order to make sure that incidents that require emergency response also become a learning opportunity (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)). This chapter provides more concrete examples of such incidents.\n\n# What to Do When Systems Break\n\nFirst of all, don’t panic! You aren’t alone, and the sky isn’t falling. You’re a professional and trained to handle this sort of situation. Typically, no one is in physical danger—only those poor electrons are in peril. At the very worst, half of the Internet is down. So take a deep breath…and carry on.\n\nIf you feel overwhelmed, pull in more people. Sometimes it may even be necessary to page the entire company. If your company has an incident response process (see [Managing Incidents](/sre-book/managing-incidents/)), make sure that you’re familiar with it and follow that process.\n\n# Test-Induced Emergency\n\nGoogle has adopted a proactive approach to disaster and emergency testing (see [[Kri12]](/sre-book/bibliography#Kri12)). SREs break our systems, watch how they fail, and make changes to improve reliability and prevent the failures from recurring. Most of the time, these controlled failures go as planned, and the target system and dependent systems behave in roughly the manner we expect. We identify some weaknesses or hidden dependencies and document follow-up actions to rectify the flaws we uncover. However, sometimes our assumptions and the actual results are worlds apart.\n\nHere’s one example of a test that unearthed a number of unexpected dependencies.\n\n## Details\n\nWe wanted to flush out hidden dependencies on a test database within one of our larger distributed MySQL databases. The plan was to block all access to just one database out of a hundred. No one foresaw the results that would unfold.\n\n## Response\n\nWithin minutes of commencing the test, numerous dependent services reported that both external and internal users were unable to access key systems. Some systems were intermittently or only partially accessible.\n\nAssuming that the test was responsible, SRE immediately aborted the exercise. We attempted to roll back the permissions change, but were unsuccessful. Instead of panicking, we immediately brainstormed how to restore proper access. Using an already tested approach, we restored permissions to the replicas and failovers. In a parallel effort, we reached out to key developers to correct the flaw in the database application layer library.\n\nWithin an hour of the original decision, all access was fully restored, and all services were able to connect once again. The broad impact of this test motivated a rapid and thorough fix to the libraries and a plan for periodic retesting to prevent such a major flaw from recurring.\n\n## Findings\n\n### What went well\n\nDependent services that were affected by the incident immediately escalated the issues within the company. We assumed, correctly, that our controlled experiment had gotten out of hand and immediately aborted the test.\n\nWe were able to fully restore permissions within an hour of the first report, at which time systems started behaving properly. Some teams took a different approach and reconfigured their systems to avoid the test database. These parallel efforts helped to restore service as quickly as possible.\n\nFollow-up action items were resolved quickly and thoroughly to avoid a similar outage, and we instituted periodic testing to ensure that similar flaws do not recur.\n\n### What we learned\n\nAlthough this test was thoroughly reviewed and thought to be well scoped, reality revealed we had an insufficient understanding of this particular interaction among the dependent systems.\n\nWe failed to follow the incident response process, which had been put in place only a few weeks before and hadn’t been thoroughly disseminated. This process would have ensured that all services and customers were aware of the outage. To avoid similar scenarios in the future, SRE continually refines and tests our incident response tools and processes, in addition to making sure that updates to our incident management procedures are clearly communicated to all relevant parties.\n\nBecause we hadn’t tested our rollback procedures in a test environment, these procedures were flawed, which lengthened the outage. We now require thorough testing of rollback procedures before such large-scale tests.\n\n# Change-Induced Emergency\n\nAs you can imagine, Google has a lot of configuration—complex configuration—and we constantly make changes to that configuration. To prevent breaking our systems outright, we perform numerous tests on configuration changes to make sure they don’t result in unexpected and undesired behavior. However, the scale and complexity of Google’s infrastructure make it impossible to anticipate every dependency or interaction; sometimes configuration changes don’t go entirely according to plan.\n\nThe following is one such example.\n\n## Details\n\nA configuration change to the infrastructure that helps protect our services from abuse was pushed globally on a Friday. This infrastructure interacts with essentially all of our externally facing systems, and the change triggered a crash-loop bug in those systems, which caused the entire fleet to begin to crash-loop almost simultaneously. Because Google’s internal infrastructure also depends upon our own services, many internal applications suddenly became unavailable as well.\n\n## Response\n\nWithin seconds, monitoring alerts started firing, indicating that certain sites were down. Some on-call engineers simultaneously experienced what they believed to be a failure of the corporate network and relocated to dedicated secure rooms (panic rooms) with backup access to the production environment. They were joined by additional engineers who were struggling with their corporate access.\n\nWithin five minutes of that first configuration push, the engineer responsible for the push, having become aware of the corporate outage but still unaware of the broader outage, pushed another configuration change to roll back the first change. At this point, services began to recover.\n\nWithin 10 minutes of the first push, on-call engineers declared an incident and proceeded to follow internal procedures for incident response. They began notifying the rest of the company about the situation. The push engineer informed the on-call engineers that the outage was likely due to the change that had been pushed and later rolled back. Nevertheless, some services experienced unrelated bugs or misconfigurations triggered by the original event and didn’t fully recover for up to an hour.\n\n## Findings\n\n### What went well\n\nThere were several factors at play that prevented this incident from resulting in a longer-term outage of many of Google’s internal systems.\n\nTo begin with, monitoring almost immediately detected and alerted us to the problem. However, it should be noted that in this case, our monitoring was less than ideal: alerts fired repeatedly and constantly, overwhelming the on-calls and spamming regular and emergency communication channels.\n\nOnce the problem was detected, incident management generally went well and updates were communicated often and clearly. Our out-of-band communications systems kept everyone connected even while some of the more complicated software stacks were unusable. This experience reminded us why SRE retains highly reliable, low overhead backup systems, which we use regularly.\n\nIn addition to these out-of-band communications systems, Google has command-line tools and alternative access methods that enable us to perform updates and roll back changes even when other interfaces are inaccessible. These tools and access methods worked well during the outage, with the caveat that engineers needed to be more familiar with the tools and to test them more routinely.\n\nGoogle’s infrastructure provided yet another layer of protection in that the affected system rate-limited how quickly it provided full updates to new clients. This behavior may have throttled the crash-loop and prevented a complete outage, allowing jobs to remain up long enough to service a few requests in between crashes.\n\nFinally, we should not overlook the element of luck in the quick resolution of this incident: the push engineer happened to be following real-time communication channels—an additional level of diligence that’s not a normal part of the release process. The push engineer noticed a large number of complaints about corporate access directly following the push and rolled back the change almost immediately. Had this swift rollback not occurred, the outage could have lasted considerably longer, becoming immensely more difficult to troubleshoot.\n\n### What we learned\n\nAn earlier push of the new feature had involved a thorough canary but didn’t trigger the same bug, as it had not exercised a very rare and specific configuration keyword in combination with the new feature. The specific change that triggered this bug wasn’t considered risky, and therefore followed a less stringent canary process. When the change was pushed globally, it used the untested keyword/feature combination that triggered the failure.\n\nIronically, improvements to canarying and automation were slated to become higher priority in the following quarter. This incident immediately raised their priority and reinforced the need for thorough canarying, regardless of the perceived risk.\n\nAs one would expect, alerting was vocal during this incident because every location was essentially offline for a few minutes. This disrupted the real work being performed by the on-call engineers and made communication among those involved in the incident more difficult.\n\nGoogle relies upon our own tools. Much of the software stack that we use for troubleshooting and communicating lies behind jobs that were crash-looping. Had this outage lasted any longer, debugging would have been severely hindered.\n\n# Process-Induced Emergency\n\nWe have poured a considerable amount of time and energy into the automation that manages our machine fleet. It’s amazing how many jobs one can start, stop, or retool across the fleet with very little effort. Sometimes, the efficiency of our automation can be a bit frightening when things do not go quite according to plan.\n\nThis is one example where moving fast was not such a good thing.\n\n## Details\n\nAs part of routine automation testing, two consecutive turndown requests for the same soon-to-be-decommissioned server installation were submitted. In the case of the second turndown request, a subtle bug in the automation sent all of the machines in all of these installations globally to the Diskerase queue, where their hard drives were destined to be wiped; see [Automation: Enabling Failure at Scale](/sre-book/automation-at-google#xref_automation_diskerase-sidebar) for more details.\n\n## Response\n\nSoon after the second turndown request was issued, the on-call engineers received a page as the first small server installation was taken offline to be decommissioned. Their investigation determined that the machines had been transferred to the Diskerase queue, so following normal procedure, the on-call engineers drained traffic from the location. Because the machines in that location had been wiped, they were unable to respond to requests. To avoid failing those requests outright, on-call engineers drained traffic away from that location. Traffic was redirected to locations that could properly respond to the requests.\n\nBefore long, pagers everywhere were firing for all such server installations around the world. In response, the on-call engineers disabled all team automation in order to prevent further damage. They stopped or froze additional automation and production maintenance shortly thereafter.\n\nWithin an hour, all traffic had been diverted to other locations. Although users may have experienced elevated latencies, their requests were fulfilled. The outage was officially over.\n\nNow the hard part began: recovery. Some network links were reporting heavy congestion, so network engineers implemented mitigations as choke points surfaced. A server installation in one such location was chosen to be the first of many to rise from the ashes. Within three hours of the initial outage, and thanks to the tenacity of several engineers, the installation was rebuilt and brought back online, happily accepting user requests once again.\n\nUS teams handed off to their European counterparts, and SRE hatched a plan to prioritize reinstallations using a streamlined but manual process. The team was divided into three parts, with each part responsible for one step in the manual reinstall process. Within three days, the vast majority of capacity was back online, while any stragglers would be recovered over the next month or two.\n\n## Findings\n\n### What went well\n\nReverse proxies in large server installations are managed very differently than reverse proxies in these small installations, so large installations were not impacted. On-call engineers were able to quickly move traffic from smaller installations to large installations. By design, these large installations can handle a full load without difficulty. However, some network links became congested, and therefore required network engineers to develop workarounds. In order to reduce the impact on end users, on-call engineers targeted congested networks as their highest priority.\n\nThe turndown process for the small installations worked efficiently and well. From start to finish, it took less than an hour to successfully turn down and securely wipe a large number of these installations.\n\nAlthough turndown automation quickly tore down monitoring for the small installations, on-call engineers were able to promptly revert those monitoring changes. Doing so helped them to assess the extent of the damage.\n\nThe engineers quickly followed incident response protocols, which had matured considerably in the year since the first outage described in this chapter. Communication and collaboration throughout the company and across teams was superb—a real testament to the incident management program and training. All hands within the respective teams chipped in, bringing their vast experience to bear.\n\n### What we learned\n\nThe root cause was that the turndown automation server lacked the appropriate sanity checks on the commands it sent. When the server ran again in response to the initial failed turndown, it received an empty response for the machine rack. Instead of filtering the response, it passed the empty filter to the machine database, telling the machine database to Diskerase all machines involved. Yes, sometimes zero does mean all. The machine database complied, so the turndown workflow started churning through the machines as quickly as possible.\n\nReinstallations of machines were slow and unreliable. This behavior was due in large part to the use of the Trivial File Transfer Protocol (TFTP) at the lowest network Quality of Service (QoS) from the distant locations. The BIOS for each machine in the system dealt poorly with the failures.77 Depending on the network cards involved, the BIOS either halted or went into a constant reboot cycle. They were failing to transfer the boot files on each cycle and were further taxing the installers. On-call engineers were able to fix these reinstall problems by reclassifying installation traffic at slightly higher priority and using automation to restart any machines that were stuck.\n\nThe machine reinstallation infrastructure was unable to handle the simultaneous setup of thousands of machines. This inability was partly due to a regression that prevented the infrastructure from running more than two setup tasks per worker machine. The regression also used improper QoS settings to transfer files and had poorly tuned timeouts. It forced kernel reinstallation, even on machines that still had the proper kernel and on which Diskerase had yet to occur. To remedy this situation, on-call engineers escalated to parties responsible for this infrastructure who were able to quickly retune it to support this unusual load.\n\n# All Problems Have Solutions\n\nTime and experience have shown that systems will not only break, but will break in ways that one could never previously imagine. One of the greatest lessons Google has learned is that a solution exists, even if it may not be obvious, especially to the person whose pager is screaming. If you can’t think of a solution, cast your net farther. Involve more of your teammates, seek help, do whatever you have to do, but do it quickly. The highest priority is to resolve the issue at hand quickly. Oftentimes, the person with the most state is the one whose actions somehow triggered the event. Utilize that person.\n\nVery importantly, once the emergency has been mitigated, do not forget to set aside time to clean up, write up the incident, and to…\n\n# Learn from the Past. Don’t Repeat It.\n\n## Keep a History of Outages\n\nThere is no better way to learn than to document what has broken in the past. History is about learning from everyone’s mistakes. Be thorough, be honest, but most of all, ask hard questions. Look for specific actions that might prevent such an outage from recurring, not just tactically, but also strategically. Ensure that everyone within the company can learn what you have learned by publishing and organizing postmortems.\n\nHold yourself and others accountable to following up on the specific actions detailed in these postmortems. Doing so will prevent a future outage that’s nearly identical to, and caused by nearly the same triggers as, an outage that has already been documented. Once you have a solid track record for learning from past outages, see what you can do to prevent future ones.\n\n## Ask the Big, Even Improbable, Questions: What If…?\n\nThere is no greater test than reality. Ask yourself some big, open-ended questions. What if the building power fails…? What if the network equipment racks are standing in two feet of water…? What if the primary datacenter suddenly goes dark…? What if someone compromises your web server…? What do you do? Who do you call? Who will write the check? Do you have a plan? Do you know how to react? Do you know how your systems will react? Could you minimize the impact if it were to happen now? Could the person sitting next to you do the same?\n\n## Encourage Proactive Testing\n\nWhen it comes to failures, theory and reality are two very different realms. Until your system has actually failed, you don’t truly know how that system, its dependent systems, or your users will react. Don’t rely on assumptions or what you can’t or haven’t tested. Would you prefer that a failure happen at 2 a.m. Saturday morning when most of the company is still away on a team-building offsite in the Black Forest—or when you have your best and brightest close at hand, monitoring the test that they painstakingly reviewed in the previous weeks?\n\n# Conclusion\n\nWe’ve reviewed three different cases where parts of our systems broke. Although all three emergencies were triggered differently—one by a proactive test, another by a configuration change, and yet another by turndown automation—the responses shared many characteristics. The responders didn’t panic. They pulled in others when they thought it necessary. The responders studied and learned from earlier outages. Subsequently, they built their systems to better respond to those types of outages. Each time new failure modes presented themselves, responders documented those failure modes. This follow-up helped other teams learn how to better troubleshoot and fortify their systems against similar outages. Responders proactively tested their systems. Such testing ensured that the changes fixed the underlying problems, and identified other weaknesses before they became outages.\n\nAnd as our systems evolve the cycle continues, with each outage or test resulting in incremental improvements to both processes and systems. While the case studies in this chapter are specific to Google, this approach to emergency response can be applied over time to any organization of any size.\n\n77BIOS: Basic Input/Output System. BIOS is the software built into a computer to send simple instructions to the hardware, allowing input and output before the operating system has been loaded.", "znaku_textu": 21202, "slov": 3314, "odkazu": 55, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:51", "sha256": "9d3ebdec6a6a5df5755729a507ed376db11ef94d3cc68ff96687b1ede0385cbb", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/evolving-sre-engagement-model/", "titulek": "Google SRE - Production Readiness Review: Engagement Insight", "h1": "The Evolving SRE Engagement Model", "popis": "Learn the production readiness review (PRR) model in SRE, including its phases, benefits, and how early engagement improves service reliability and effiency.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/evolving-sre-engagement-model/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/evolving-sre-engagement-model/"}, "headline": "The Evolving SRE Engagement Model", "description": "We've discussed in most of the rest of this book what happens when SRE is already in charge of a service. Few services begin their lifecycle enjoying SRE support, so there needs to be a process for evaluating a service, making sure that it merits SRE support, negotiating how to improve any deficits that bar SRE support, and actually instituting SRE support. We call this process onboarding.", "image": "https://lh3.googleusercontent.com/4vkIHnQCxpj5qptr8EQjB1TVLIM3QF7wEqAOl7W_8yw0P_20XS6cnMYEElHF2bKFWZtsPANCWNWJhxTwPOcIdpqgGMejG2_fQw_N4g", "author": [{"@type": "Person", "name": "Acacio Cruz"}, {"@type": "Person", "name": "Ashish Bhambhani"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Evolving SRE Engagement Model"}, {"uroven": 2, "text": "SRE Engagement: What, How, and Why"}, {"uroven": 1, "text": "The PRR Model"}, {"uroven": 1, "text": "The SRE Engagement Model"}, {"uroven": 2, "text": "Alternative Support"}, {"uroven": 3, "text": "Documentation"}, {"uroven": 3, "text": "Consultation"}, {"uroven": 1, "text": "Production Readiness Reviews: Simple PRR Model"}, {"uroven": 2, "text": "Engagement"}, {"uroven": 2, "text": "Analysis"}, {"uroven": 2, "text": "Improvements and Refactoring"}, {"uroven": 2, "text": "Training"}, {"uroven": 2, "text": "Onboarding"}, {"uroven": 2, "text": "Continuous Improvement"}, {"uroven": 1, "text": "Evolving the Simple PRR Model: Early Engagement"}, {"uroven": 2, "text": "Candidates for Early Engagement"}, {"uroven": 2, "text": "Benefits of the Early Engagement Model"}, {"uroven": 3, "text": "Design phase"}, {"uroven": 3, "text": "Build and implementation"}, {"uroven": 3, "text": "Launch"}, {"uroven": 3, "text": "Post-launch"}, {"uroven": 3, "text": "Disengaging from a service"}, {"uroven": 1, "text": "Evolving Services Development: Frameworks and SRE Platform"}, {"uroven": 2, "text": "Lessons Learned"}, {"uroven": 2, "text": "External Factors Affecting SRE"}, {"uroven": 2, "text": "Toward a Structural Solution: Frameworks"}, {"uroven": 2, "text": "New Service and Management Benefits"}, {"uroven": 3, "text": "Significantly lower operational overhead"}, {"uroven": 3, "text": "Universal support by design"}, {"uroven": 3, "text": "Faster, lower overhead engagements"}, {"uroven": 3, "text": "A new engagement model based on shared responsibility"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# The Evolving SRE Engagement Model\n\nWritten by Acacio Cruz and Ashish Bhambhani\n Edited by Betsy Beyer and Tim Harvey\n\n## SRE Engagement: What, How, and Why\n\nWe've discussed in most of the rest of this book what happens when SRE is *already* in charge of a service. Few services begin their lifecycle enjoying SRE support, so there needs to be a process for evaluating a service, making sure that it merits SRE support, negotiating how to improve any deficits that bar SRE support, and actually instituting SRE support. We call this process *onboarding*. If you are in an environment where you are surrounded by a lot of existing services in varying states of perfection, your SRE team will probably be running through a prioritized queue of onboardings for quite a while until the team has finished taking on the highest-value targets.\n\nAlthough this is very common, and a completely reasonable way of dealing with a *fait accompli* environment, there are actually at least two better ways of bringing the wisdom of production, and SRE support, to services old and new alike.\n\nIn the first case, just as in software engineering—where the earlier the bug is found, the cheaper it is to fix—the earlier an SRE team consultation happens, the better the service will be and the quicker it will feel the benefit. When SRE is engaged during the earliest stages of *design*, the time to onboard is lowered and the service is more reliable \"out of the gate,\" usually because we don't have to spend the time unwinding suboptimal design or implementation.\n\nAnother way, perhaps the best, is to short-circuit the process by which specially created systems with lots of individual variations end up \"arriving\" at SRE's door. Provide product development with a *platform* of SRE-validated infrastructure, upon which they can build their systems. This platform will have the double benefit of being both reliable and scalable. This avoids certain classes of cognitive load problems entirely, and by addressing common infrastructure practices, allows product development teams to focus on innovation at the application layer, where it mostly belongs.\n\nIn the following sections, we'll spend some time looking at each of these models in turn, beginning with the \"classic\" one, the PRR-driven model.\n\n# The PRR Model\n\nThe most typical initial step of [SRE engagement](https://sre.google/sre-book/communication-and-collaboration/) is the Production Readiness Review (PRR), a process that identifies the reliability needs of a service based on its specific details. Through a PRR, SREs seek to apply what they've learned and experienced to ensure the reliability of a service operating in production. A PRR is considered a prerequisite for an SRE team to accept responsibility for [managing the production aspects of a service.](https://sre.google/sre-book/service-best-practices/)\n\nFigure 32-1 illustrates the lifecycle of a typical service. The Production Readiness Review can be started at any point of the service lifecycle, but the stages at which SRE engagement is applied have expanded over time. This chapter describes the Simple PRR Model, then discusses how its modification into the Extended Engagement Model and the Frameworks and SRE Platform structure allowed SRE to scale their engagement process and impact.\n\nFigure 32-1. A typical service lifecycle\n\n# The SRE Engagement Model\n\nSRE seeks production responsibility for important services for which it can make concrete contributions to reliability. SRE is concerned\nwith several aspects of a service, which are collectively referred to as *production*. These aspects include the following:\n\n- System architecture and interservice dependencies\n- Instrumentation, metrics, and monitoring\n- Emergency response\n- Capacity planning\n- Change management\n- Performance: availability, latency, and efficiency\n\nWhen SREs engage with a service, we aim to improve it along all of these axes, which makes [managing production for the service](https://sre.google/sre-book/production-environment/) easier.\n\n## Alternative Support\n\nNot all Google services receive close SRE engagement. A couple of factors are at play here:\n\n- Many services don't need high reliability and availability, so support can be provided by other means.\n- By design, the number of development teams that request SRE support exceeds the available bandwidth of SRE teams (see [Introduction](/sre-book/introduction/) ).\n\nWhen SRE can't provide full-fledged support, it provides other options for making improvements to production, such as documentation and consultation.\n\n### Documentation\n\nDevelopment guides are available for internal technologies and clients of widely used systems. Google's Production Guide documents [production best practices for services](../../sre-book/service-best-practices/), as determined by the experiences of SRE and development teams alike. Developers can implement the solutions and recommendations in such documentation to improve their services.\n\n### Consultation\n\nDevelopers may also seek SRE consulting to discuss specific services or problem areas. The Launch Coordination Engineering (LCE) team (see [Reliable Product Launches at Scale](/sre-book/reliable-product-launches/)) spends a majority of its time consulting with development teams. SRE teams that aren't specifically dedicated to launch consultations also engage in consultation with development teams.\n\nWhen a new service or a new feature has been implemented, developers usually consult with SRE for advice about preparing for the Launch phase. Launch consultation usually involves one or two SREs spending a few hours studying the design and implementation at a high level. The SRE consultants then meet with the development team to provide advice on risky areas that need attention and to discuss well-known patterns or solutions that can be incorporated to improve the service in production. Some of this advice may come from the Production Guide mentioned earlier.\n\nConsultation sessions are necessarily broad in scope because it's not possible to gain a deep understanding of a given system in the limited time available. For some development teams, consultation is not sufficient:\n\n- Services that have grown by orders of magnitude since they launched, which now require more time to understand than is feasible through documentation and consultation.\n- Services upon which many other services have subsequently come to rely upon, which now host significantly more traffic from many different clients.\n\nThese types of services may have grown to the point at which they begin to encounter significant difficulties in production while simultaneously becoming important to users. In such cases, long-term SRE engagement becomes necessary to ensure that they are properly maintained in production as they grow.\n\n# Production Readiness Reviews: Simple PRR Model\n\nWhen a development team requests that SRE take over production management of a service, SRE gauges both the importance of the service and the availability of SRE teams. If the service merits SRE support, and the SRE team and development organization agree on staffing levels to facilitate this support, SRE initiates a Production Readiness Review with the development team.\n\nThe objectives of the Production Readiness Review are as follows:\n\n- Verify that a service meets accepted standards of production setup and operational readiness, and that service owners are prepared to work with SRE and take advantage of SRE expertise.\n- Improve the reliability of the service in production, and minimize the number and severity of incidents that might be expected. A PRR targets all aspects of production that SRE cares about.\n\nAfter sufficient improvements are made and the service is deemed ready for SRE support, an SRE team assumes its production responsibilities.\n\nThis brings us to the Production Readiness Review process itself. There are three different but related engagement models\n(Simple PRR Model, Early Engagement Model, and Frameworks and SRE Platform), which will be discussed in turn.\n\nWe will first describe the Simple PRR Model, which is usually targeted at a service that is already launched and will be taken over by an SRE team. A PRR follows several phases, much like a development lifecycle, although it may proceed independently in parallel with the development lifecycle.\n\n## Engagement\n\nSRE leadership first decides which SRE team is a good fit for taking over the service. Usually one to three SREs are selected or self-nominated to conduct the PRR process. This small group then initiates discussion with the development team. The discussion covers matters such as:\n\n- Establishing an SLO/SLA for the service\n- Planning for potentially disruptive design changes required to improve reliability\n- Planning and training schedules\n\nThe goal is to arrive at a common agreement about the process, end goals, and outcomes that are necessary for the SRE team to engage with the development team and their service.\n\n## Analysis\n\nAnalysis is the first large segment of work. During this phase, the SRE reviewers learn about the service and begin analyzing it for production shortcomings. They aim to gauge the maturity of the service along the various axes of concern to SRE. They also examine the service's design and implementation to check if it follows production best practices. Usually, the SRE team establishes and maintains a PRR checklist explicitly for the Analysis phase. The checklist is specific to the service and is generally based on domain expertise, experience with related or similar systems, and best practices from the Production Guide. The SRE team may also consult other teams that have more experience with certain components or dependencies of the service.\n\nA few examples of checklist items include:\n\n- Do updates to the service impact an unreasonably large percentage of the system at once?\n- Does the service connect to the appropriate serving instance of its dependencies? For example, end-user requests to a service should not depend on a system that is designed for a batch-processing use case.\n- Does the service request a sufficiently high network quality-of-service when talking to a critical remote service?\n- Does the service report errors to central logging systems for analysis? Does it report all exceptional conditions that result in degraded responses or failures to the end users?\n- Are all user-visible request failures well instrumented and monitored, with suitable alerting configured?\n\nThe checklist may also include operational standards and best practices followed by a specific SRE team. For example, a perfectly functional service configuration that doesn't follow an SRE team's \"gold standard\" might be refactored to work better with SRE tools for scalably managing configurations. SREs also look at recent incidents and postmortems for the service, as well as follow-up tasks for the incidents. This evaluation gauges the demands of emergency response for the service and the availability of well-established operational controls.\n\n## Improvements and Refactoring\n\nThe Analysis phase leads to the identification of recommended improvements for the service. This next phase proceeds as follows:\n\n1. Improvements are prioritized based upon importance for service reliability.\n2. The priorities are discussed and negotiated with the development team, and a plan of execution is agreed upon.\n3. Both SRE and product development teams participate and assist each other in refactoring parts of the service or implementing additional features.\n\nThis phase typically varies the most in duration and amount of effort. How much time and effort this phase will involve depends upon the availability of engineering time for refactoring, the maturity and complexity of the service at the start of the review, and myriad other factors.\n\n## Training\n\nResponsibility for managing a service in production is generally assumed by an entire SRE team. To ensure that the team is prepared, the SRE reviewers who led the PRR take ownership of training the team, which includes the documentation necessary to support the service. Typically with the help and participation of the development team, these engineers organize a series of training sessions and exercises. Instruction can include:\n\n- Design overviews\n- Deep dives on various request flows in the system\n- A description of the production setup\n- Hands-on exercises for various aspects of system operations\n\nWhen the training is concluded, the SRE team should be prepared to manage the service.\n\n## Onboarding\n\nThe Training phase unblocks onboarding of the service by the SRE team. It involves a progressive transfer of responsibilities and ownership of various production aspects of the service, including parts of operations, the change management process,\naccess rights, and so forth. The SRE team continues to focus on the various areas of production mentioned earlier. To complete the\ntransition, the development team must be available to back up and advise the SRE team for a period of time as it settles in managing\nproduction for the service. This relationship becomes the basis for the ongoing work between the teams.\n\n## Continuous Improvement\n\nActive services continuously change in response to new demands and conditions, including user requests for new features, evolving system dependencies, and technology upgrades, in addition to other factors. The SRE team must maintain service reliability standards in the face of these changes by driving continuous improvement. The responsible SRE team naturally learns more about the service in the course of operating the service, reviewing new changes, responding to incidents, and especially when conducting postmortems/root cause analyses. This expertise is shared with the development team as suggestions and proposals for changes to the service whenever new features, components, and dependencies may be added to the service. Lessons from managing the service are also contributed to best practices, which are documented in the Production Guide and elsewhere.\n\n# Evolving the Simple PRR Model: Early Engagement\n\nThus far, we've discussed the Production Readiness Review as it's used in the Simple PRR Model, which is limited to services that have already entered the Launch phase. There are several limitations and costs associated with this model. For example:\n\n- Additional communication between teams can increase some process overhead for the development team, and cognitive burden for the SRE reviewers.\n- The right SRE reviewers must be available, and capable of managing their time and priorities with regards to their existing engagements.\n- Work done by SREs must be highly visible and sufficiently reviewed by the development team to ensure effective knowledge sharing. SREs should essentially work as a part of the development team, rather than an external unit.\n\nHowever, the main limitations of the PRR Model stem from the fact that the service is launched and serving at scale, and the SRE engagement starts very late in the development lifecycle. If the PRR occurred earlier in the service lifecycle, SRE's opportunity to remedy potential issues in the service would be markedly increased. As a result, the success of the SRE engagement and the future success of the service itself would likely improve. The resulting drawbacks can pose a significant challenge to the success of the SRE engagement and the future success of the service itself.\n\n## Candidates for Early Engagement\n\nThe Early Engagement Model introduces SRE earlier in the development lifecycle in order to achieve significant additional\nadvantages. Applying the Early Engagement Model requires identifying the importance and/or business value of a service early in the\ndevelopment lifecycle, and determining if the service will have sufficient scale or complexity to benefit from SRE expertise. Applicable services often have the following characteristics:\n\n- The service implements significant new functionality and will be part of an existing system already managed by SRE.\n- The service is a significant rewrite or alternative to an existing system, targeting the same use cases.\n- The development team sought SRE advice or approached SRE for takeover upon launch.\n\nThe Early Engagement Model essentially immerses SREs in the development process. SRE's focus remains the same, though the means to achieve a better production service are different. SRE participates in Design and later phases, eventually taking over the service any time during or after the Build phase. This model is based on active collaboration between the development and SRE teams.\n\n## Benefits of the Early Engagement Model\n\nWhile the Early Engagement Model does entail certain risks and challenges discussed previously, additional SRE expertise and collaboration during the entire lifecycle of the product creates significant benefits compared to an engagement initiated later in the service lifecycle.\n\n### Design phase\n\nSRE collaboration during the Design phase can prevent a variety of problems or incidents from occurring later in production. While design decisions can be reversed or rectified later in the development lifecycle, such changes come at a high cost in terms of effort and complexity. The best production incidents are those that never happen!\n\nOccasionally, difficult trade-offs lead to the selection of a less-than-ideal design. Participation in the Design phase means that SREs are aware up front of the trade-offs and are part of the decision to pick a less-than-ideal option. Early SRE involvement aims to minimize future disputes over design choices once the service is in production.\n\n### Build and implementation\n\nThe Build phase addresses production aspects such as instrumentation and metrics, operational and emergency controls, resource usage, and efficiency. During this phase, SRE can influence and improve the implementation by recommending specific existing libraries and components, or helping build certain controls into the system. SRE participation at this stage helps enable ease of operations in the future and allows SRE to gain operational experience in advance of the launch.\n\n### Launch\n\nSRE can also help implement widely used launch patterns and controls. For example, SRE might help implement a \"dark launch\" setup, in which part of the traffic from existing users is sent to the new service in addition to being sent to the live production service. The responses from the new service are \"dark\" since they are thrown away and not actually shown to users. Practices such as dark launches allow the team to gain operational insight, resolve issues without impacting existing users, and reduce the risk of encountering issues after launch. A smooth launch is immensely helpful in keeping the operational burden low and maintaining the development momentum after the launch. Disruptions around launch can easily result in emergency changes to source code and production, and disrupt the development team's work on future features.\n\n### Post-launch\n\nHaving a stable system at launch time generally leads to fewer conflicting priorities for the development team in terms of choosing between improving service reliability versus adding new features. In later phases of the service, the lessons from earlier phases can better inform refactoring or redesign.\n\nWith extended involvement, the SRE team can be ready to take over the new service much sooner than is possible with the Simple PRR Model. The longer and closer engagement between the SRE and development teams also creates a collaborative relationship that can be sustained long term. A positive cross-team relationship fosters a mutual feeling of solidarity, and helps SRE establish ownership of the production responsibility.\n\n### Disengaging from a service\n\nSometimes a service doesn't warrant full-fledged SRE team management—this determination might be made post-launch, or SRE might engage with a service but never officially take it over. This is a positive outcome, because the service has been engineered to be reliable and low maintenance, and can therefore remain with the development team.\n\nIt is also possible that SRE engages early with a service that fails to meet the levels of usage projected. In such cases, the SRE effort spent is simply part of the overall business risk that comes with new projects, and a small cost relative to the success of projects that meet expected scale. The SRE team can be reassigned, and lessons learned can be incorporated into the engagement process.\n\n# Evolving Services Development: Frameworks and SRE Platform\n\nThe Early Engagement Model made strides in evolving SRE engagement beyond the Simple PRR Model, which applied only to services that had\nalready launched. However, there was still progress to be made in scaling SRE engagement to the next level by designing for reliability.\n\n## Lessons Learned\n\nOver time, the SRE engagement model described thus far produced several distinct patterns:\n\n- Onboarding each service required two or three SREs and typically lasted two or three quarters. The lead times for a PRR were relatively high (quarters away). The effort level required was proportional to the number of services under review, and was constrained by the insufficient number of SREs available to conduct PRRs. These conditions led to serialization of service takeovers and strict service prioritization.\n- Due to differing software practices across services, each production feature was implemented differently. To meet PRR-driven standards, features usually had to be reimplemented specifically for each service or, at best, once for each small subset of\nservices sharing code. These reimplementations were a waste of engineering effort. One canonical example is the implementation of\nfunctionally similar logging frameworks repeatedly in the same language because different services didn't implement the same coding structure.\n- A review of common service issues and outages revealed certain patterns, but there was no way to easily replicate fixes and improvements across services. Typical examples included service overload situations and data hot-spotting.\n- SRE software engineering contributions were often local to the service. Thus, building generic solutions to be reused was difficult. As a consequence, there was no easy way to implement new lessons individual SRE teams learned and best practices across\nservices that had already been onboarded.\n\n## External Factors Affecting SRE\n\nExternal factors have traditionally pressured the SRE organization and its resources in several ways.\n\nGoogle is increasingly following the industry trend of moving toward microservices.151 As a result, both the number of requests for SRE support and the cardinality of services to support have increased. Because each service has a base fixed operational cost, even simple services demand more staffing. Microservices also imply an expectation of lower lead time for deployment, which was not possible with the previous PRR model (which had a lead time of months).\n\nHiring experienced, qualified SREs is difficult and costly. Despite enormous effort from the recruiting organization, there are never enough SREs to support all the services that need their expertise. Once SREs are hired, their training is also a lengthier\nprocess than is typical for development engineers.\n\nFinally, the SRE organization is responsible for serving the needs of the large and growing number of development teams that do not already enjoy direct SRE support. This mandate calls for extending the SRE support model far beyond the original concept and engagement model.\n\n## Toward a Structural Solution: Frameworks\n\nTo effectively respond to these conditions, it became necessary to develop a model that allowed for the following principles:\n\nCodified best practices\n\nThe ability to commit what works well in production to code, so services can simply use this code and become \"production ready\" by design.\n\nReusable solutions\n\nCommon and easily shareable implementations of techniques used to mitigate scalability and reliability issues.\n\nA common production platform with a common control surface\n\nUniform sets of interfaces to production facilities, uniform sets of operational controls, and uniform monitoring, logging, and configuration for all services.\n\nEasier automation and smarter systems\n\nA common control surface that enables automation and smart systems at a level not possible before. For example, SREs can readily receive a single view of relevant information for an outage, rather than hand collecting\nand analyzing mostly raw data from disparate sources (logs, monitoring data, and so on).\n\nBased upon these principles, a set of SRE-supported platform and service frameworks were created, one for each environment we support(Java, C++, Go). Services built using these frameworks share implementations that are designed to work with the SRE-supported\nplatform, and are maintained by both SRE and development teams. The main shift brought about by frameworks was to enable product development teams to design applications using the framework solution that was built and blessed by SRE, as opposed to either retrofitting the application to SRE specifications after the fact, or retrofitting more SREs to support a service that was markedly different than other Google services.\n\nAn application typically comprises some business logic, which in turn depends on various infrastructure components. SRE production concerns are largely focused on the infrastructure-related parts of a service. The service frameworks implement infrastructure code in a standardized fashion and address various production concerns. Each concern is encapsulated in one or more framework modules, each of which provides a cohesive solution for a problem domain or infrastructure dependency. Framework modules address the various SRE concerns enumerated earlier, such as:\n\n- Instrumentation and metrics\n- Request logging\n- Control systems involving traffic and load management\n\nSRE builds framework modules to implement canonical solutions for the concerned production area. As a result, development teams can focus on the business logic, because the framework already takes care of correct infrastructure use.\n\nA framework essentially is a prescriptive implementation for using a set of software components and a canonical way of combining these components. The framework can also expose features that control various components in a cohesive manner. For example, a framework might provide the following:\n\n- Business logic organized as well-defined semantic components that can be referenced using standard terms\n- Standard dimensions for monitoring instrumentation\n- A standard format for request debugging logs\n- A standard configuration format for managing load shedding\n- Capacity of a single server and determination of \"overload\" that can both use a semantically consistent measure for feedback to various control systems\n\nFrameworks provide multiple upfront gains in consistency and efficiency. They free developers from having to glue together and\nconfigure individual components in an ad hoc service-specific manner, in ever-so-slightly incompatible ways, that then have to be manually reviewed by SREs. They drive a single reusable solution for production concerns across services, which means that framework users end up with the same common implementation and minimal configuration differences.\n\nGoogle supports several major languages for application development, and frameworks are implemented across all of these languages. While different implementations of the framework (say in C++ versus Java) can't share code, the goal is to expose the same API, behavior, configuration, and controls for identical functionality. Therefore, development teams can choose the language platform that fits their needs and experience, while SREs can still expect the same familiar behavior in production and standard tools to manage the service.\n\n## New Service and Management Benefits\n\nThe structural approach, founded on service frameworks and a common production platform and control surface, provided a host of new benefits.\n\n### Significantly lower operational overhead\n\nA production platform built on top of frameworks with stronger conventions significantly reduced operational overhead, for the following reasons:\n\n- It supports strong conformance tests for coding structure, dependencies, tests, coding style guides, and so on. This\nfunctionality also improves user data privacy, testing, and security conformance.\n- It features built-in service deployment, monitoring, and automation for all services .\n- It facilitates easier management of large numbers of services, especially micro-services, which are growing in number.\n- It enables much faster deployment: an idea can graduate to fully deployed SRE-level production quality in a matter of days!\n\n### Universal support by design\n\nThe constant growth in the number of services at Google means that most of these services can neither warrant SRE engagement nor be maintained by SREs. Regardless, services that don't receive full SRE support can be built to use production features that are developed and maintained by SREs. This practice effectively breaks the SRE staffing barrier. Enabling SRE-supported production standards and tools for all teams improves the overall service quality across Google. Furthermore, all services that are implemented with frameworks automatically benefit from improvements made over time to frameworks modules.\n\n### Faster, lower overhead engagements\n\nThe frameworks approach results in faster PRR execution because we can rely upon:\n\n- Built-in service features as part of the framework implementation\n- Faster service onboarding (usually accomplished by a single SRE during one quarter)\n- Less cognitive burden for the SRE teams managing services built using frameworks\n\nThese properties allow SRE teams to lower the assessment and qualification effort for service onboarding, while maintaining a high bar on service production quality.\n\n### A new engagement model based on shared responsibility\n\nThe original SRE engagement model presented only two options: either full SRE support, or approximately no SRE engagement.152\n\nA production platform with a common service structure, conventions, and software infrastructure made it possible for an SRE team to provide support for the \"platform\" infrastructure, while the development teams provide on-call support for functional issues with the service—that is, for bugs in the application code. Under this model, SREs assume responsibility for the development and maintenance of large parts of service software infrastructure, particularly control systems such as load shedding, overload, automation, traffic management, logging, and monitoring.\n\nThis model represents a significant departure from the way service management was originally conceived in two major ways: it entails a new relationship model for the interaction between SRE and development teams, and a new staffing model for SRE-supported service management.153\n\n# Conclusion\n\nService reliability can be improved through SRE engagement, in a process that includes systematic review and improvement of its production aspects. Google SRE’s initial such systematic approach, the Simple Production Readiness Review, made strides in standardizing the SRE engagement model, but was only applicable to services that had already entered the Launch phase.\n\nOver time, SRE extended and improved this model. The Early Engagement Model involved SRE earlier in the development lifecycle in order to \"design for reliability.\" As demand for SRE expertise continued to grow, the need for a more scalable engagement model became increasingly apparent. Frameworks for production services were developed to meet this demand: code patterns based on production best practices were standardized and encapsulated in frameworks, so that use of frameworks became a recommended, consistent, and relatively simple way of building production-ready services.\n\nAll three of the engagement models described are still practiced within Google. However, the adoption of frameworks is becoming a prominent influence on building production-ready services at Google as well as profoundly expanding the SRE contribution, lowering service management overhead, and improving baseline service quality across the organization.\n\n151See the Wikipedia page on microservices at [*https://en.wikipedia.org/wiki/Microservices*](https://en.wikipedia.org/wiki/Microservices).\n\n152Occasionally, there were consulting engagements by SRE teams with some non-onboarded services, but consultations were a best-effort approach and limited in number and scope.\n\n153The new model of service management changes the SRE staffing model in two ways: (1) because a lot of service technology is common, it reduces the number of required SREs per service; (2) it enables the creation of production platforms with separation of concerns between production platform support (done by SREs) and service-specific business-logic support, which remains with the development team. These platforms teams are staffed based upon the need to maintain the platform rather than upon service count, and can be shared across products.", "znaku_textu": 33122, "slov": 4997, "odkazu": 63, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:52", "sha256": "ad11d05bf9a0fe1a57f9b97b9aee2e214f127a2194b7515cb0b175cb8dcbeab9", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Microservices", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/example-postmortem/", "titulek": "Google SRE: Incident Postmortem Example for Outage Resolution", "h1": "Example Postmortem", "popis": "This practical site reliability incident postmortem example outlines blameless analysis, action items and a detailed timeline for effective outage resolution.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/example-postmortem/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/example-postmortem/"}, "headline": "Example Postmortem", "description": "Shakespeare Search down for 66 minutes during period of very high interest in Shakespeare due to discovery of a new sonnet.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Example Postmortem"}, {"uroven": 2, "text": "Shakespeare Sonnet++ Postmortem (incident #465)"}, {"uroven": 2, "text": "Lessons Learned"}, {"uroven": 2, "text": "Timeline167"}, {"uroven": 2, "text": "Supporting information:168"}], "markdown": "# Example Postmortem\n\n## Shakespeare Sonnet++ Postmortem (incident #465)\n\n**Date**: 2015-10-21\n\n**Authors**: jennifer, martym, agoogler\n\n**Status**: Complete, action items in progress\n\n**Summary**: Shakespeare Search down for 66 minutes during period of very high interest in Shakespeare due to discovery of a new sonnet.\n\n**Impact**:163 Estimated 1.21B queries lost, no revenue impact.\n\n**Root Causes**:164 Cascading failure due to combination of exceptionally high load and a resource leak when searches failed due to terms not being in the Shakespeare corpus. The newly discovered sonnet used a word that had never before appeared in one of Shakespeare’s works, which happened to be the term users searched for. Under normal circumstances, the rate of task failures due to resource leaks is low enough to be unnoticed.\n\n**Trigger**: Latent bug triggered by sudden increase in traffic.\n\n**Resolution**: Directed traffic to sacrificial cluster and added 10x capacity to mitigate cascading failure. Updated index deployed, resolving interaction with latent bug. Maintaining extra capacity until surge in public interest in new sonnet passes. Resource leak identified and fix deployed.\n\n**Detection**: Borgmon detected high level of HTTP 500s and paged on-call.\n\n**Action Items**:165\n\n| Action Item | Type | Owner | Bug |\n| --- | --- | --- | --- |\n| Update playbook with instructions for responding to cascading failure | mitigate | jennifer | n/a **DONE** |\n| Use flux capacitor to balance load between clusters | prevent | martym | Bug 5554823 **TODO** |\n| Schedule cascading failure test during next DiRT | process | docbrown | n/a **TODO** |\n| Investigate running index MR/fusion continuously | prevent | jennifer | Bug 5554824 **TODO** |\n| Plug file descriptor leak in search ranking subsystem | prevent | agoogler | Bug 5554825 **DONE** |\n| Add load shedding capabilities to Shakespeare search | prevent | agoogler | Bug 5554826 **TODO** |\n| Build regression tests to ensure servers respond sanely to queries of death | prevent | clarac | Bug 5554827 **TODO** |\n| Deploy updated search ranking subsystem to prod | prevent | jennifer | n/a **DONE** |\n| Freeze production until 2015-11-20 due to error budget exhaustion, or seek exception due to grotesque, unbelievable, bizarre, and unprecedented circumstances | other | docbrown | n/a **TODO** |\n\n## Lessons Learned\n\n**What went well**\n\n- Monitoring quickly alerted us to high rate (reaching ~100%) of HTTP 500s\n- Rapidly distributed updated Shakespeare corpus to all clusters\n\n**What went wrong**\n\n- We’re out of practice in responding to cascading failure\n- We exceeded our availability error budget (by several orders of magnitude) due to the exceptional surge of traffic that essentially all resulted in failures\n\n**Where we got lucky166**\n\n- Mailing list of Shakespeare aficionados had a copy of new sonnet available\n- Server logs had stack traces pointing to file descriptor exhaustion as cause for crash\n- Query-of-death was resolved by pushing new index containing popular search term\n\n## Timeline167\n\n2015-10-21 *(all times UTC)*\n\n- 14:51 News reports that a new Shakespearean sonnet has been discovered in a Delorean’s glove compartment\n- 14:53 Traffic to Shakespeare search increases by 88x after post to */r/shakespeare* points to Shakespeare search engine as place to find new sonnet (except we don’t have the sonnet yet)\n- 14:54 **OUTAGE BEGINS** — Search backends start melting down under load\n- 14:55 docbrown receives pager storm, `ManyHttp500s` from all clusters\n- 14:57 All traffic to Shakespeare search is failing: see *https://monitor*\n- 14:58 docbrown starts investigating, finds backend crash rate very high\n- 15:01 **INCIDENT BEGINS** docbrown declares incident #465 due to cascading failure, coordination on `#shakespeare` , names jennifer incident commander\n- 15:02 someone coincidentally sends email to *shakespeare-discuss@* re sonnet discovery, which happens to be at top of martym’s inbox\n- 15:03 jennifer notifies *shakespeare-incidents@* list of the incident\n- 15:04 martym tracks down text of new sonnet and looks for documentation on corpus update\n- 15:06 docbrown finds that crash symptoms identical across all tasks in all clusters, investigating cause based on application logs\n- 15:07 martym finds documentation, starts prep work for corpus update\n- 15:10 martym adds sonnet to Shakespeare’s known works, starts indexing job\n- 15:12 docbrown contacts clarac & agoogler (from Shakespeare dev team) to help with examining codebase for possible causes\n- 15:18 clarac finds smoking gun in logs pointing to file descriptor exhaustion, confirms against code that leak exists if term not in corpus is searched for\n- 15:20 martym’s index MapReduce job completes\n- 15:21 jennifer and docbrown decide to increase instance count enough to drop load on instances that they’re able to do appreciable work before dying and being restarted\n- 15:23 docbrown load balances all traffic to USA-2 cluster, permitting instance count increase in other clusters without servers failing immediately\n- 15:25 martym starts replicating new index to all clusters\n- 15:28 docbrown starts 2x instance count increase\n- 15:32 jennifer changes load balancing to increase traffic to nonsacrificial clusters\n- 15:33 tasks in nonsacrificial clusters start failing, same symptoms as before\n- 15:34 found order-of-magnitude error in whiteboard calculations for instance count increase\n- 15:36 jennifer reverts load balancing to resacrifice USA-2 cluster in preparation for additional global 5x instance count increase (to a total of 10x initial capacity)\n- 15:36 **OUTAGE MITIGATED** , updated index replicated to all clusters\n- 15:39 docbrown starts second wave of instance count increase to 10x initial capacity\n- 15:41 jennifer reinstates load balancing across all clusters for 1% of traffic\n- 15:43 nonsacrificial clusters’ HTTP 500 rates at nominal rates, task failures intermittent at low levels\n- 15:45 jennifer balances 10% of traffic across nonsacrificial clusters\n- 15:47 nonsacrificial clusters’ HTTP 500 rates remain within SLO, no task failures observed\n- 15:50 30% of traffic balanced across nonsacrificial clusters\n- 15:55 50% of traffic balanced across nonsacrificial clusters\n- 16:00 **OUTAGE ENDS** , all traffic balanced across all clusters\n- 16:30 **INCIDENT ENDS** , reached exit criterion of 30 minutes’ nominal performance\n\n## Supporting information:168\n\n- Monitoring dashboard, https://monitor/shakespeare?end_time=20151021T160000\n&duration=7200\n\n163Impact is the effect on users, revenue, etc.\n\n164An explanation of the circumstances in which this incident happened. It’s often helpful to use a technique such as the 5 Whys [[Ohn88]](/sre-book/bibliography#Ohn88) to understand the contributing factors.\n\n165\"Knee-jerk\" AIs often turn out to be too extreme or costly to implement, and judgment may be needed to re-scope them in a larger context. There’s a risk of over-optimizing for a particular issue, such as adding specific monitoring/alerting when reliable mechanisms like unit tests can catch problems much earlier in the development process.\n\n166This section is really for near misses, e.g., “The goat teleporter was available for emergency use with other animals despite lack of certification.”\n\n167A “screenplay” of the incident; use the incident timeline from the Incident Management document to start filling in the postmortem’s timeline, then supplement with other relevant entries.\n\n168Useful information, links, logs, screenshots, graphs, IRC logs, IM logs, etc.", "znaku_textu": 7273, "slov": 1073, "odkazu": 64, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:11", "sha256": "8cf95693d1b0ffb379556398c8a9394b11104d048ddea4969d787ce98a5aa881", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/foreword/", "titulek": "Google SRE - SRE Workbook: Google's Infrastructure", "h1": "Foreword", "popis": "Discover how Google scaled its legendary infrastructure and system administration with the SRE Workbook. Insights that shaped the concept of DevOps.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/foreword/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/foreword/"}, "headline": "Foreword", "description": "Google was one of the first companies to define what business-IT alignment meant in practice, and went on to inform the concept of DevOps for a wider IT community.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Foreword"}], "markdown": "# Foreword\n\nGoogle's story is a story of scaling up. It is one of the great success stories of the computing industry, marking a shift towards IT-centric business. Google was one of the first companies to define what business-IT alignment meant in practice, and went on to inform the concept of DevOps for a wider IT community. This book has been written by a broad cross-section of the very people who made that transition a reality.\n\nGoogle grew at a time when the traditional role of the system administrator was being transformed. It questioned system administration, as if to say: we can't afford to hold tradition as an authority, we have to think anew, and we don't have time to wait for everyone else to catch up. In the introduction to *Principles of Network and System Administration* [[Bur99]](/sre-book/bibliography#Bur99), I claimed that system administration was a form of human-computer engineering. This was strongly rejected by some reviewers, who said \"we are not yet at the stage where we can call it engineering.\" At the time, I felt that the field had become lost, trapped in its own wizard culture, and could not see a way forward. Then, Google drew a line in the silicon, forcing that fate into being. The revised role was called SRE, or Site Reliability Engineer. Some of my friends were among the first of this new generation of engineer; they formalized it using software and automation. Initially, they were fiercely secretive, and what happened inside and outside of Google was very different: Google's experience was unique. Over time, information and methods have flowed in both directions. This book shows a willingness to let SRE thinking come out of the shadows.\n\nHere, we see not only how Google built its legendary infrastructure, but also how it studied, learned, and changed its mind about the tools and the technologies along the way. We, too, can face up to daunting challenges with an open spirit. The tribal nature of IT culture often entrenches practitioners in dogmatic positions that hold the industry back. If Google overcame this inertia, so can we.\n\nThis book is a collection of essays by one company, with a single common vision. The fact that the contributions are aligned around a single company's goal is what makes it special. There are common themes, and common characters (software systems) that reappear in several chapters. We see choices from different perspectives, and know that they correlate to resolve competing interests. The articles are not rigorous, academic pieces; they are personal accounts, written with pride, in a variety of personal styles, and from the perspective of individual skill sets. They are written bravely, and with an intellectual honesty that is refreshing and uncommon in industry literature. Some claim \"never do this, always do that,\" others are more philosophical and tentative, reflecting the variety of personalities within an IT culture, and how that too plays a role in the story. We, in turn, read them with the humility of observers who were not part of the journey, and do not have all the information about the myriad conflicting challenges. Our many questions are the real legacy of the volume: Why didn't they do *X*? What if they'd done *Y*? How will we look back on this in years to come? It is by comparing our own ideas to the reasoning here that we can measure our own thoughts and experiences.\n\nThe most impressive thing of all about this book is its very existence. Today, we hear a brazen culture of \"just show me the code.\" A culture of \"ask no questions\" has grown up around open source, where community rather than expertise is championed. Google is a company that dared to think about the problems from first principles, and to employ top talent with a high proportion of PhDs. Tools were only components in processes, working alongside chains of software, people, and data. Nothing here tells us how to solve problems universally, but that is the point. Stories like these are far more valuable than the code or designs they resulted in. Implementations are ephemeral, but the documented reasoning is priceless. Rarely do we have access to this kind of insight.\n\nThis, then, is the story of how one company did it. The fact that it is many overlapping stories shows us that scaling is far more than just a photographic enlargement of a textbook computer architecture. It is about scaling a business process, rather than just the machinery. This lesson alone is worth its weight in electronic paper.\n\nWe do not engage much in self-critical review in the IT world; as such, there is much reinvention and repetition. For many years, there was only the USENIX LISA conference community discussing IT infrastructure, plus a few conferences about operating systems. It is very different today, yet this book still feels like a rare offering: a detailed documentation of Google’s step through a watershed epoch. The tale is not for copying—though perhaps for emulating—but it can inspire the next step for all of us. There is a unique intellectual honesty in these pages, expressing both leadership and humility. These are stories of hopes, fears, successes, and failures. I salute the courage of authors and editors in allowing such candor, so that we, who are not party to the hands-on experiences, can also benefit from the lessons learned inside the cocoon.\n\nMark Burgess\n\nAuthor of In Search of CertaintyOslo, March 2016", "znaku_textu": 5416, "slov": 917, "odkazu": 52, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:53", "sha256": "e6e4b39b9d122270c6952b350dabb4a2d3cc610910c3b3bc92d5824348c2a121", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/handling-overload/", "titulek": "Google SRE: Load Balancing with Client Side Throttling", "h1": "Handling Overload", "popis": "Learn how load balancing, criticality handling, client side throttling protect systems from overload, ensuring fault-tolerant performance in distributed systems.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/handling-overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/handling-overload/"}, "headline": "Handling Overload", "description": "Avoiding overload is a goal of load balancing policies. But no matter how efficient your load balancing policy,eventually some part of your system will become overloaded. Gracefully handling overload conditions is fundamental to running a reliable serving system.", "image": "https://lh3.googleusercontent.com/S-HeyVOL7ZbrEPaCmKMoJelAKDntPKvNp0j3q7_n_o-At5efdDLhR6Rd_N9Oj9HfMLLjtYu-XBQK34UJrDWPuXOA4eSU0kI-iOP0zg", "author": [{"@type": "Person", "name": "Alejandro Forero Cuervo"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Handling Overload"}, {"uroven": 2, "text": "The Pitfalls of \"Queries per Second\""}, {"uroven": 1, "text": "Per-Customer Limits"}, {"uroven": 1, "text": "Client-Side Throttling"}, {"uroven": 5, "text": "Client request rejection probability"}, {"uroven": 1, "text": "Criticality"}, {"uroven": 1, "text": "Utilization Signals"}, {"uroven": 1, "text": "Handling Overload Errors"}, {"uroven": 2, "text": "Deciding to Retry"}, {"uroven": 1, "text": "Load from Connections"}, {"uroven": 1, "text": "Conclusions"}], "markdown": "# Handling Overload\n\nWritten by Alejandro Forero Cuervo\n Edited by Sarah Chavis\n\nAvoiding overload is a goal of load balancing policies. But no matter how efficient your load balancing policy, *eventually* some part of your system will become overloaded. Gracefully handling overload conditions is fundamental to running a reliable serving system.\n\nOne option for handling overload is to serve degraded responses: responses that are not as accurate as or that contain less data than normal responses, but that are easier to compute. For example:\n\n- Instead of searching an entire corpus to provide the best available results to a search query, search only a small percentage of the candidate set.\n- Rely on a local copy of results that may not be fully up to date but that will be cheaper to use than going against the canonical storage.\n\nHowever, under extreme overload, the service might not even be able to compute and serve degraded responses. At this point it may have no immediate option but to serve errors. One way to mitigate this scenario is to balance traffic across datacenters such that no datacenter receives more traffic than it has the capacity to process. For example, if a datacenter runs 100 backend tasks and each task can process up to 500 requests per second, the load balancing algorithm will not allow more than 50,000 queries per second to be sent to that datacenter. However, even this constraint can prove insufficient to avoid overload when you're operating at scale. At the end of the day, it's best to build clients and backends to handle resource restrictions gracefully: redirect when possible, serve degraded results when necessary, and handle resource errors transparently when all else fails.\n\n## The Pitfalls of \"Queries per Second\"\n\nDifferent queries can have vastly different resource requirements. A query's cost can vary based on arbitrary factors such as the code in the client that issues them (for services that have many different clients) or even the time of the\nday (e.g., home users versus work users; or interactive end-user traffic versus batch traffic).\n\nWe learned this lesson the hard way: modeling capacity as \"queries per second\" or using static features of the requests that are believed to be a proxy for the resources they consume (e.g., \"how many keys are the requests reading\") often makes\nfor a poor metric. Even if these metrics perform adequately at one point in time, the ratios can change. Sometimes the change is gradual, but sometimes the change is drastic (e.g., a new version of the software suddenly made some features of some requests require\nsignificantly fewer resources). A moving target makes a poor metric for designing and implementing load balancing.\n\nA better solution is to measure capacity directly in available resources. For example, you may have a total of 500 CPU cores and 1 TB of memory reserved for a given service in a given datacenter. Naturally, it works much better to use those numbers directly to model a datacenter's capacity. We often speak about the *cost* of a request to refer to a normalized measure of how much CPU\ntime it has consumed (over different CPU architectures, with consideration of performance differences).\n\nIn a majority of cases (although certainly not in all), we've found that simply using CPU consumption as the signal for provisioning works well, for the following reasons:\n\n- In platforms with garbage collection, memory pressure naturally translates into increased CPU consumption.\n- In other platforms, it's possible to provision the remaining resources in such a way that they're very unlikely to run out\nbefore CPU runs out.\n\nIn cases where over-provisioning the non-CPU resources is prohibitively expensive, we take each system resource into account\nseparately when considering resource consumption.\n\n# Per-Customer Limits\n\nOne component of [dealing with overload](https://sre.google/sre-book/addressing-cascading-failures/) is deciding what to do in the case of *global* overload. In a perfect world, where teams coordinate their launches carefully with the owners of their backend dependencies, global overload never happens and backend services always have enough capacity to serve their customers. Unfortunately, we don't live in a perfect world. Here in reality, global overload occurs quite frequently (especially for internal services that tend to have many clients run by many teams).\n\nWhen global overload *does* occur, it's vital that the service only delivers error responses to misbehaving customers, while other customers remain unaffected. To achieve this outcome, service owners provision their capacity based on the negotiated usage with their customers and define per-customer quotas according to these agreements.\n\nFor example, if a backend service has 10,000 CPUs allocated worldwide (over various datacenters), their per-customer limits might look something like the following:\n\n- Gmail is allowed to consume up to 4,000 CPU seconds per second.\n- Calendar is allowed to consume up to 4,000 CPU seconds per second.\n- Android is allowed to consume up to 3,000 CPU seconds per second.\n- Google+ is allowed to consume up to 2,000 CPU seconds per second.\n- Every other user is allowed to consume up to 500 CPU seconds per second.\n\nNote that these numbers may add up to more than the 10,000 CPUs allocated to the backend service. The service owner is relying on the fact that it's unlikely for *all* of their customers to hit their resource limits simultaneously.\n\nWe aggregate global usage information in real time from all backend tasks, and use that data to push effective limits to individual backend tasks. A closer look at the system that implements this logic is outside of the scope of this discussion, but we've\nwritten significant code to implement this in our backend tasks. An interesting part of the puzzle is computing in real time the\namount of resources—specifically CPU—consumed by each individual request. This computation is particularly tricky for servers that\ndon't implement a thread-per-request model, where a pool of threads just executes different parts of all requests as they come in, using nonblocking APIs.\n\n# Client-Side Throttling\n\nWhen a customer is out of quota, a backend task should reject requests quickly with the expectation that returning a \"customer is out of quota\" error consumes significantly fewer resources than actually processing the request and serving back a correct response. However, this logic doesn't hold true for all services. For example, it's almost equally expensive to reject a request that requires a simple RAM lookup (where the overhead of the request/response protocol handling\nis significantly larger than the overhead of producing the response) as it is to accept and run that request. And even in the case where rejecting requests saves significant resources, those requests *still* consume some resources. If the amount of rejected requests is significant, these numbers add up quickly. In such cases, the backend can become overloaded even though the vast majority of its CPU is spent just rejecting requests!\n\nClient-side throttling addresses this problem.106 When a client detects that a significant portion of its recent requests have been rejected due to \"out of quota\" errors, it starts self-regulating and caps the amount of outgoing traffic it generates. Requests above the cap fail locally without even reaching the network.\n\nWe implemented client-side throttling through a technique we call *adaptive throttling*. Specifically, each client task keeps the following information for the last two minutes of its history:\n\n`requests`\n\nThe number of requests attempted by the application layer(at the client, on top of the adaptive throttling system)\n\n`accepts`\n\nThe number of requests accepted by the backend\n\nUnder normal conditions, the two values are equal. As the backend starts rejecting traffic, the number of `accepts` becomes smaller than the number of `requests`. Clients can continue to issue requests to the backend until `requests` is K times as large as `accepts`. Once that cutoff is reached, the client begins to self-regulate and new requests are rejected locally (i.e., at the client) with the probability calculated in Client request rejection probability.\n\n##### Client request rejection probability\n\nAs the client itself starts rejecting requests, `requests` will continue to exceed `accepts`. While it may seem counterintuitive, given that locally rejected requests aren't actually propagated to the backend, this is the preferred behavior. As the rate at which the application attempts requests to the client grows (relative to the rate at which the backend accepts them), we want to increase the probability of dropping new requests.\n\nFor services where the cost of processing a request is very close to the cost of rejecting that request, allowing roughly half of the backend resources to be consumed by rejected requests can be unacceptable. In this case, the solution is simple: modify the accepts multiplier K (e.g., 2) in the client request rejection probability (Client request rejection probability). In this way:\n\n- Reducing the multiplier will make adaptive throttling behave more aggressively\n- Increasing the multiplier will make adaptive throttling behave less aggressively\n\nFor example, instead of having the client self-regulate when `requests = 2 * accepts`, have it self-regulate when `requests = 1.1 * accepts`. Reducing the modifier to 1.1 means only one request will be rejected by the backend for every 10 requests accepted.\n\nWe generally prefer the 2x multiplier. By allowing more requests to reach the backend than are expected to actually be allowed, we waste more resources at the backend, but we also speed up the propagation of state from the backend to the clients. For example, if the backend decides to stop rejecting traffic from the client tasks, the delay until all client tasks have detected this change in state is shorter.\n\nWe've found adaptive throttling to work well in practice, leading to stable rates of requests overall. Even in large overload situations, backends end up rejecting one request for each request they actually process. One large advantage of this approach is that the decision is made by the client task based entirely on local information and using a relatively simple implementation: there are no additional dependencies or latency penalties.\n\nOne additional consideration is that client-side throttling may not work well with clients that only very sporadically send requests to their backends. In this case, the view that each client has of the state of the backend is reduced drastically, and approaches to increment this visibility tend to be expensive.\n\n# Criticality\n\n*Criticality* is another notion that we've found very useful in the context of global quotas and throttling. A request made to a backend is associated with one of four possible criticality values, depending on how critical we consider that request:\n\n`CRITICAL_PLUS`\n\nReserved for the most critical requests, those that will result in serious user-visible impact if they fail.\n\n`CRITICAL`\n\nThe default value for requests sent from production jobs. These requests will result in user-visible impact, but the impact may be less severe than those of `CRITICAL_PLUS`. Services are expected to provision enough capacity for all expected `CRITICAL` and `CRITICAL_PLUS` traffic.\n\n`SHEDDABLE_PLUS`\n\nTraffic for which partial unavailability is expected. This is the default for batch jobs, which can retry requests minutes or even hours later.\n\n`SHEDDABLE`\n\nTraffic for which frequent partial unavailability and occasional full unavailability is expected.\n\nWe found that four values were sufficiently robust to model almost every service. We've had various discussions on proposals to add more values, because doing so would allow us to classify requests more finely. However, defining additional values would require more resources to operate various criticality-aware systems.\n\nWe've made criticality a first-class notion of our RPC system and we've worked hard to integrate it into many of our control mechanisms so it can be taken into account when [reacting to overload situations](../../workbook/overload/). For example:\n\n- When a customer runs out of global quota, a backend task will only reject requests of a given criticality if it's already rejecting all requests of all lower criticalities (in fact, the per-customer limits that our system supports, described earlier, can be set per criticality).\n- When a task is itself overloaded, it will reject requests of lower criticalities sooner.\n- The adaptive throttling system also keeps separate stats for each criticality.\n\nThe criticality of a request is orthogonal to its latency requirements and thus to the underlying network quality of service (QoS) used. For example, when a system displays search results or suggestions while the user is typing a search query, the underlying requests are highly sheddable (if the system is overloaded, it's acceptable to not display these results), but tend to have stringent latency requirements.\n\nWe've also significantly extended our RPC system to propagate criticality automatically. If a backend receives request *A* and, as part of executing that request, issues outgoing request *B* and request *C* to other backends, request *B* and request *C* will use the same criticality as request *A* by default.\n\nIn the past, many systems at Google had evolved their own ad hoc notions of criticality that were often incompatible across\nservices. By standardizing and propagating criticality as a part of our RPC system, we are now able to consistently set the criticality at specific points. This means we can be confident that overloaded dependencies will abide by the desired high-level criticality as they reject traffic, regardless of how deep down the RPC stack they are. Our practice is thus to set the criticality as close as possible to the browsers or mobile clients—typically in the HTTP frontends that produce the HTML to be returned—and only override the criticality in specific cases where it makes sense at specific points in the stack.\n\n# Utilization Signals\n\nOur implementation of task-level overload protection is based on the notion of *utilization*. In many cases, the utilization is just a measurement of the CPU rate (i.e., the current CPU rate divided by the total CPUs reserved for the task), but in some cases we also factor in measurements such as the portion of the memory reserved that is currently being used. As utilization approaches configured thresholds, we start rejecting requests based on their criticality (higher thresholds for higher criticalities).\n\nThe utilization signals we use are based on the state local to the task (since the goal of the signals is to protect the task) and we have implementations for various signals. The most generally useful signal is based on the \"load\" in the process, which is determined using a system we call *executor load average*.\n\nTo find the executor load average, we count the number of active threads in the process. In this case, \"active\" refers to threads that are currently running or ready to run and waiting for a free processor. We smooth this value with exponential decay and begin rejecting requests as the number of active threads grows beyond the number of processors available to the task. That means that an incoming request that has a very large fan-out (i.e., one that schedules a burst of a very large number of short-lived operations)\nwill cause the load to spike very briefly, but the smoothing will mostly swallow that spike. However, if the operations are not short-lived (i.e., the load increases and remains high for a significant amount of time), the task will start rejecting requests.\n\nWhile the executor load average has proven to be a very useful signal, our system can plug in any utilization signal that\na particular backend may need. For example, we might use memory pressure—which indicates whether the memory usage in a backend task has grown beyond normal operational parameters—as another possible utilization signal. The system can also be configured to combine multiple signals and reject requests that would surpass the combined (or individual) target utilization thresholds.\n\n# Handling Overload Errors\n\nIn addition to handling load gracefully, we've put a significant amount of thought into how clients should react when they receive a load-related error response. In the case of [overload errors,](https://sre.google/sre-book/addressing-cascading-failures/)we distinguish between two possible situations.\n\nA large subset of backend tasks in the datacenter are overloaded.\n\nIf the cross-datacenter load balancing system is working perfectly (i.e., it can propagate state and react instantaneously to shifts in traffic), this condition will not occur.\n\nA small subset of backend tasks in the datacenter are overloaded.\n\nThis situation is typically caused by imperfections in the load balancing inside the datacenter. For example, a task may have very recently received a very expensive request. In this case, it is very likely that the datacenter has remaining capacity in other tasks to handle the request.\n\nIf a large subset of backend tasks in the datacenter are overloaded, requests should not be retried and errors should bubble up all the way\nto the caller (e.g., returning an error to the end user). It's much more typical that only a small portion of tasks become overloaded, in which case the preferred response is to retry the request immediately. In general, our cross-datacenter load balancing system tries to direct traffic from clients to their nearest available backend datacenters. In a few cases, the nearest datacenter is far away (e.g., a client may have its nearest available backend in a different continent), but we usually manage to situate clients close to\ntheir backends. That way, the additional latency of retrying a request—just a few network round trips—tends to be negligible.\n\nFrom the point of view of our load balancing policies, retries of requests are indistinguishable from new requests. That is, we don't use any explicit logic to ensure that a retry actually goes to a different backend task; we just rely on the likely probability that the retry will land on a different backend task simply by virtue of the number of participating backends in the subset. Ensuring that all retries actually go to a different task would incur more complexity in our APIs than is worthwhile.\n\nEven if a backend is only slightly overloaded, a client request is often better served if the backend rejects retry and new requests equally and quickly. These requests can then be retried immediately on a different backend task that may have spare resources. The consequence of treating retries and new requests identically at the backend is that retrying requests in different tasks becomes a form of organic load balancing: it redirects load to tasks that may be better suited for those requests.\n\n## Deciding to Retry\n\nWhen a client receives a \"task overloaded\" error response, it needs to decide whether to retry the request. We have a few mechanisms in place to avoid retries when a significant portion of the tasks in a cluster are overloaded.\n\nFirst, we implement a *per-request retry budget* of up to three attempts. If a request has already failed three times, we let the\nfailure bubble up to the caller. The rationale is that if a request has already landed on overloaded tasks three times, it's relatively\nunlikely that attempting it again will help because the whole datacenter is likely overloaded.\n\nSecondly, we implement a *per-client retry budget*. Each client keeps track of the ratio of requests that correspond to retries. A request\nwill only be retried as long as this ratio is below 10%. The rationale is that if only a small subset of tasks are overloaded, there will be relatively little need to retry.\n\nAs a concrete example (of the worst-case scenario), let's assume a datacenter is accepting a small amount of requests and rejecting a large portion of requests. Let X be the total rate of requests attempted against the datacenter according to the client-side logic. Due to the number of retries that will occur, the number of requests will grow significantly, to somewhere just below 3X. Although we've effectively capped the growth caused by retries, a threefold increase in requests is significant, especially if the cost of rejecting versus processing a request is considerable. However, layering on the per-client retry budget (a 10% retry ratio) reduces the growth to just 1.1x in the general case—a significant improvement.\n\nA third approach has clients include a counter of how many times the request has already been tried in the request metadata. For instance, the counter starts at 0 in the first attempt and is incremented on every retry until it reaches 2, at which point the per-request budget causes it to stop being retried. Backends keep histograms of these values in recent history. When a backend needs to\nreject a request, it consults these histograms to determine the likelihood that other backend tasks are also overloaded. If these\nhistograms reveal a significant amount of retries (indicating that other backend tasks are likely also overloaded), they return an\n\"overloaded; don't retry\" error response instead of the standard \"task overloaded\" error that triggers retries.\n\nFigure 21-1 shows the number of attempts in each request received by a given backend task in various example situations, over a sliding window (corresponding to 1,000 initial requests, not counting retries). For simplicity, the per-client retry budget is ignored (i.e., these numbers assume that the only limit to retries is the retry budget of three attempts per request), and subsetting could alter these numbers somewhat.\n\nFigure 21-1. Histograms of attempts in various conditions\n\nOur larger services tend to be deep stacks of systems, which may in turn have dependencies on each other. In this architecture, requests should only be retried at the layer immediately above the layer that is rejecting them. When we decide that a given request can't be served and shouldn't be retried, we use an \"overloaded; don't retry\" error and thus avoid a combinatorial retry explosion.\n\nConsider the example from Figure 21-2 (in practice, our stacks are often significantly more complex). Imagine that the DB Frontend is currently overloaded and rejects a request. In that case:\n\n- Backend B will then retry the request according to the preceding guidelines.\n- However, once Backend B determines that the request to the DB Frontend can't be served (for example, because the request has already been attempted and rejected three times), Backend B has to return to Backend A either an \"overloaded; don't retry\" error or a degraded response (assuming that it can produce some moderately useful response even when its request to the DB Frontend failed).\n- Backend A has exactly the same options for the request it received from the Frontend, and proceeds accordingly.\n\nFigure 21-2. A stack of dependencies\n\nThe key point is that a failed request from the DB Frontend should only be retried by Backend B, the layer immediately above it. If multiple layers retried, we'd have a combinatorial explosion.\n\n# Load from Connections\n\nThe load associated with connections is one last factor worth mentioning. We sometimes only take into account load at the backends that is caused directly by the requests they receive (which is one of the problems with approaches that model load based upon queries per second). However, doing so overlooks the CPU and memory costs of maintaining a large pool of connections or the cost of a fast rate of churn of connections. Such issues are negligible in small systems, but quickly become problematic when running very large-scale RPC systems.\n\nAs mentioned previously, our RPC protocol requires inactive clients to perform periodic health checks. After a connection has been idle for a configurable amount of time, the client drops its TCP connection and switches to UDP for health checking. Unfortunately, this behavior is problematic when you have a very large number of client tasks that issue a very low rate of requests: health checking on the connections can require more resources than actually serving the requests. Approaches such as carefully tuning the connection parameters (e.g., significantly decreasing the frequency of health checks) or even creating and destroying the connections dynamically can significantly improve this situation.\n\nHandling bursts of new connection requests is a second (but related) problem. We've seen bursts of this type happen in the case of very large batch jobs that create a very large number of worker client tasks all at once. The need to negotiate and maintain an excessive number of new connections simultaneously can easily overload a group of backends. In our experience, there are a couple strategies that can help mitigate this load:\n\n- Expose the load to the cross-datacenter [load balancing](https://sre.google/sre-book/load-balancing-frontend/) algorithm (e.g., base load balancing on the utilization of the cluster, rather than just on the number of requests). In this case, load from requests is effectively rebalanced away to other datacenters that have spare capacity.\n- Mandate that batch client jobs use a separate set of *batch proxy* backend tasks that do nothing but forward requests to the underlying backends and hand their responses back to the clients in a controlled way. Therefore, instead of \"batch client → backend,\" you have \"batch client → batch proxy → backend.\" In this case, when the very large job starts, only the batch proxy job suffers, shielding the actual backends (and higher-priority clients). Effectively, the batch proxy acts like a fuse. Another advantage of using the proxy is that it typically reduces the number of connections against the backend, which can improve the load\nbalancing against the backend (e.g., the proxy tasks can use bigger subsets and probably have a better view of the state of the backend\ntasks).\n\n# Conclusions\n\nThis chapter and [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/) have discussed how various techniques (deterministic subsetting, Weighted Round Robin, client-side throttling, customer quotas, etc.) can help to spread load over tasks in a datacenter relatively evenly. However, these mechanisms depend on the propagation of state over a distributed system. While they perform reasonably well in the general case, real-world application has resulted in a small number of situations where they work imperfectly.\n\nAs a result, we consider it critical to ensure that individual tasks are protected against overload. To state this simply: a backend task provisioned to serve a certain traffic rate should continue to serve traffic at that rate without any significant impact on latency, regardless of how much excess traffic is thrown at the task. As a corollary, the backend task should not fall over and crash under the load. These statements should hold true up to a certain rate of traffic—somewhere above 2x or even 10x what the task is provisioned to process. We accept that there might be a certain point at which a system begins to break down, and raising the threshold at which this breakdown occurs becomes relatively difficult to achieve.\n\nThe key is to take these degradation conditions seriously. When these degradation conditions are ignored, many systems will exhibit terrible behavior. And as work piles up and tasks eventually run out of memory and crash (or end up burning almost all their CPU in memory thrashing), latency suffers as traffic is dropped and tasks compete for resources. Left unchecked, the failure in a subset of a system (such as an individual backend task) might trigger the failure of other system components, potentially causing the entire system (or a considerable subset) to fail. The impact from this kind of cascading failure can be so severe that it's critical for any system operating at scale to protect against it; see [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/).\n\nIt's a common mistake to assume that an overloaded backend should turn down and stop accepting all traffic. However, this assumption actually goes counter to the goal of robust load balancing. We actually want the backend to continue accepting as much traffic as possible, but to only accept that load as capacity frees up. A well-behaved backend, supported by robust load balancing policies, should accept only the requests that it can process and reject the rest gracefully.\n\nWhile we have a vast array of tools to implement good load balancing and overload protections, there is no magic bullet: load balancing often requires deep understanding of a system and the semantics of its requests. The techniques described in this chapter have evolved along with the needs of many systems at Google, and will likely continue to evolve as the nature of our systems continues to change.\n\n106For example, see [Doorman](https://github.com/youtube/doorman), which provides a cooperative distributed client-side throttling system.", "znaku_textu": 29156, "slov": 4679, "odkazu": 60, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:54", "sha256": "8ca912a82390e7f61e8bbae7baab3a74489f5068d71dee1ff24aed99375e0373", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://github.com/youtube/doorman", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/incident-document/", "titulek": "Google SRE- Incident Document Shakespeare Search Outage", "h1": "Example Incident State Document", "popis": "Google SRE incident document that details the ", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/incident-document/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/incident-document/"}, "headline": "Example Incident State Document", "description": "Shakespeare search service in cascading failure due to newly discovered sonnet not in search index.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Example Incident State Document"}], "markdown": "# Example Incident State Document\n\n**Shakespeare Sonnet++ Overload: 2015-10-21**\n\n Incident management info: *https://incident-management-cheat-sheet*\n\n*(Communications lead to keep summary updated.)*\n**Summary**: Shakespeare search service in cascading failure due to newly discovered sonnet not in search index.\n\n**Status**: active, incident #465\n\n**Command Post(s)**: `#shakespeare` on IRC\n\n**Command Hierarchy** *(all responders)*\n\n- Current Incident Commander: jennifer\n - Operations lead: docbrown\n - Planning lead: jennifer\n - Communications lead: jennifer\n- Next Incident Commander: *to be determined*\n\n*(Update at least every four hours and at handoff of Comms Lead role.)*\n**Detailed Status** (last updated at 2015-10-21 15:28 UTC by jennifer)\n\n**Exit Criteria:**\n\n- New sonnet added to Shakespeare search corpus **TODO**\n- Within availability (99.99%) and latency (99%ile < 100 ms) SLOs for 30+ minutes **TODO**\n\n**TODO list and bugs filed:**\n\n- Run MapReduce job to reindex Shakespeare corpus **DONE**\n- Borrow emergency resources to bring up extra capacity **DONE**\n- Enable flux capacitor to balance load between clusters (Bug 5554823) **TODO**\n\n**Incident timeline** *(most recent first: times are in UTC)*\n\n- 2015-10-21 15:28 UTC jennifer\n - Increasing serving capacity globally by 2x\n- 2015-10-21 15:21 UTC jennifer\n - Directing all traffic to USA-2 sacrificial cluster and draining traffic from other clusters so they can recover from cascading failure while spinning up more tasks\n - MapReduce index job complete, awaiting Bigtable replication to all clusters\n- 2015-10-21 15:10 UTC martym\n - Adding new sonnet to Shakespeare corpus and starting index MapReduce\n- 2015-10-21 15:04 UTC martym\n - Obtains text of newly discovered sonnet from *shakespeare-discuss@* mailing list\n- 2015-10-21 15:01 UTC docbrown\n - Incident declared due to cascading failure\n- 2015-10-21 14:55 UTC docbrown\n - Pager storm, `ManyHttp500s` in all clusters", "znaku_textu": 1854, "slov": 276, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:55", "sha256": "b9bc161faf00698c925c34ccad2c2c6319b4d22c5458663e06927b7b138fcb12", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/introduction/", "titulek": "Google SRE - IT Service Management: Automate Operations", "h1": "The Sysadmin Approach to Service Management", "popis": "SRE's approach to IT Service Management, Use software engineers to design scalable and reliable systems. Innovation and improve product development.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/introduction/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/introduction/"}, "headline": "Introduction", "description": "This systems administrator, or sysadmin, approach involves assembling existing software components and deploying them to work together to produce a service.", "author": [{"@type": "Person", "name": "Benjamin Treynor Sloss"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Introduction"}, {"uroven": 1, "text": "The Sysadmin Approach to Service Management"}, {"uroven": 1, "text": "Google’s Approach to Service Management: Site Reliability Engineering"}, {"uroven": 1, "text": "Tenets of SRE"}, {"uroven": 2, "text": "Ensuring a Durable Focus on Engineering"}, {"uroven": 2, "text": "Pursuing Maximum Change Velocity Without Violating a Service’s SLO"}, {"uroven": 2, "text": "Monitoring"}, {"uroven": 2, "text": "Emergency Response"}, {"uroven": 2, "text": "Change Management"}, {"uroven": 2, "text": "Demand Forecasting and Capacity Planning"}, {"uroven": 2, "text": "Provisioning"}, {"uroven": 2, "text": "Efficiency and Performance"}, {"uroven": 1, "text": "The End of the Beginning"}], "markdown": "## Introduction\n\nWritten by Benjamin Treynor Sloss6\nEdited by Betsy Beyer\n\n> Hope is not a strategy.\n> \n> Traditional SRE saying\n\nIt is a truth universally acknowledged that systems do not run themselves. How, then, *should* a system—particularly a complex computing system that operates at a large scale—be run?\n\n# The Sysadmin Approach to Service Management\n\nHistorically, companies have employed systems administrators to run complex computing systems.\n\nThis systems administrator, or sysadmin, approach involves assembling existing software components and deploying them to work together to produce a service. Sysadmins are then tasked with running the service and responding to events and updates as they occur. As the system grows in complexity and traffic volume, generating a corresponding increase in events and updates, the sysadmin team grows to absorb the additional work. Because the sysadmin role requires a markedly different skill set than that required of a product’s developers, developers and sysadmins are divided into discrete teams: \"development\" and \"operations\" or \"ops.\"\n\nThe sysadmin model of service management has several advantages. For companies deciding how to run and staff a service, this approach is relatively easy to implement: as a familiar industry paradigm, there are many examples from which to learn and emulate. A relevant talent pool is already widely available. An array of existing tools, software components (off the shelf or otherwise), and integration companies are available to help run those assembled systems, so a novice sysadmin team doesn’t have to reinvent the wheel and design a system from scratch.\n\nThe sysadmin approach and the accompanying development/ops split has a number of disadvantages and pitfalls. These fall broadly into two categories: direct costs and indirect costs.\n\nDirect costs are neither subtle nor ambiguous. Running a service with a team that relies on manual intervention for both change management and event handling becomes expensive as the service and/or traffic to the service grows, because the size of the team necessarily scales with the load generated by the system.\n\nThe indirect costs of the development/ops split can be subtle, but are often more expensive to the organization than the direct costs. These costs arise from the fact that the two teams are quite different in background, skill set, and incentives. They use different vocabulary to describe situations; they carry different assumptions about both risk and possibilities for technical solutions; they have different assumptions about the target level of product stability. The split between the groups can easily become one of not just incentives, but also communication, goals, and eventually, trust and respect. This outcome is a pathology.\n\nTraditional operations teams and their counterparts in product development thus often end up in conflict, most visibly over how quickly software can be released to production. At their core, the development teams want to launch new features and see them adopted by users. At *their* core, the ops teams want to make sure the service doesn’t break while they are holding the pager. Because most outages are caused by some kind of change—a new configuration, a new feature launch, or a new type of user traffic—the two teams’ goals are fundamentally in tension.\n\nBoth groups understand that it is unacceptable to state their interests in the baldest possible terms (\"We want to launch anything, any time, without hindrance\" versus \"We won’t want to ever change anything in the system once it works\"). And because their vocabulary and risk assumptions differ, both groups often resort to a familiar form of trench warfare to advance their interests. The ops team attempts to safeguard the running system against the risk of change by introducing launch and change gates. For example, launch reviews may contain an explicit check for *every* problem that has *ever* caused an outage in the past—that could be an arbitrarily long list, with not all elements providing equal value. The dev team quickly learns how to respond. They have fewer \"launches\" and more \"flag flips,\" \"incremental updates,\" or \"cherrypicks.\" They adopt tactics such as sharding the product so that fewer features are subject to the launch review.\n\n# Google’s Approach to Service Management: Site Reliability Engineering\n\nConflict isn’t an inevitable part of offering a software service. Google has chosen to run our systems with a different approach: our [Site Reliability Engineering teams](https://sre.google/sre-book/software-engineering-in-sre/) focus on hiring software engineers to run our products and to [create systems to accomplish the work](https://sre.google/sre-book/distributed-periodic-scheduling/) that would otherwise be performed, often manually, by sysadmins.\n\nWhat exactly is Site Reliability Engineering, as it has come to be defined at Google? My explanation is simple: SRE is what happens when you ask a software engineer to design an operations team. When I joined Google in 2003 and was tasked with running a \"Production Team\" of seven engineers, my entire life up to that point had been software engineering. So I designed and managed the group the way *I* would want it to work if I worked as an SRE myself. That group has since matured to become Google’s present-day SRE team, which remains true to its origins as envisioned by a lifelong software engineer.\n\nA primary building block of Google’s approach to service management is the composition of each SRE team. As a whole, SREs can be broken down into two main categories.\n\n50–60% are Google Software Engineers, or more precisely, people who have been hired via the standard procedure for Google Software\n Engineers. The other 40–50% are candidates who were very close to the Google Software Engineering qualifications (i.e., 85–99% of the skill set required), and who *in addition* had a set of technical skills that is useful to SRE but is rare for most software engineers. By far, UNIX system internals and networking (Layer 1 to Layer 3) expertise are the two most common types of alternate technical skills we seek.\n\nCommon to all SREs is the belief in and aptitude for developing software systems to solve complex problems. Within SRE, we track the career progress of both groups closely, and have to date found no practical difference in performance between engineers from the two tracks. In fact, the somewhat diverse background of the SRE team frequently results in clever, high-quality systems that are clearly the product of the synthesis of several skill sets.\n\nThe result of our approach to hiring for SRE is that we end up with a team of people who (a) will quickly become bored by performing tasks by hand, and (b) have the skill set necessary to write software to replace their previously manual work, even when the solution is complicated. SREs also end up sharing academic and intellectual background with the rest of the development organization. Therefore, SRE is fundamentally doing work that has historically been done by an operations team, but using engineers with software expertise, and banking on the fact that these engineers are inherently both predisposed to, and have the ability to, design and [implement automation](https://sre.google/sre-book/automation-at-google/) with software to replace human labor.\n\nBy design, it is crucial that SRE teams are focused on engineering. Without constant engineering, operations load increases and teams will need more people just to keep pace with the workload. Eventually, a traditional ops-focused group scales linearly with service size: if the products supported by the service succeed, the operational load will grow with traffic. That means hiring more people to do the same tasks over and over again.\n\nTo avoid this fate, the team tasked with managing a service needs to code or it will drown. Therefore, Google places *a 50% cap on the aggregate \"ops\" work for all SREs*—tickets, on-call, manual tasks, etc. This cap ensures that the SRE team has enough time in their schedule to make the service stable and operable. This cap is an upper bound; over time, left to their own devices, the SRE team should end up with very little operational load and almost entirely engage in development tasks, because the service basically runs and repairs itself: we want systems that are *automatic*, not just *automated*. In practice, scale and new features keep SREs on their toes.\n\nGoogle’s rule of thumb is that an SRE team must spend the remaining 50% of its time actually doing development. So how do we enforce that threshold? In the first place, we have to measure how SRE time is spent. With that measurement in hand, we ensure that the teams consistently spending less than 50% of their time on development work change their practices. Often this means shifting some of the operations burden back to the development team, or adding staff to the team without assigning that team additional operational responsibilities. Consciously maintaining this balance between ops and development work allows us to ensure that SREs have the bandwidth to engage in creative, autonomous engineering, while still retaining the wisdom gleaned from the operations side of running a service.\n\nWe’ve found that Google SRE’s approach to running large-scale systems has many advantages. Because SREs are directly modifying code in their pursuit of making Google’s systems run themselves, SRE teams are characterized by both rapid innovation and a large acceptance of change. Such teams are relatively inexpensive—supporting the same service with an ops-oriented team would require a significantly larger number of people. Instead, the number of SREs needed to run, maintain, and improve a system scales sublinearly with the size of the system. Finally, not only does SRE circumvent the dysfunctionality of the dev/ops split, but this structure also improves our product development teams: easy transfers between product development and SRE teams cross-train the entire group, and improve skills of developers who otherwise may have difficulty learning how to build a million-core distributed system.\n\nDespite these net gains, [the SRE model](https://sre.google/workbook/engagement-model/) is characterized by its own distinct set of challenges. One continual challenge Google faces is hiring SREs: not only does SRE compete for the same candidates as the product development hiring pipeline, but the fact that we set the hiring bar so high in terms of both coding and [system engineering](https://sre.google/sre-book/release-engineering/) skills means that our hiring pool is necessarily small. As our discipline is relatively new and unique, not much industry information exists on [how to build and manage an SRE team](../../sre-book/part-IV-management/) (although hopefully this book will make strides in that direction!). And once an SRE team is in place, their potentially unorthodox approaches to service management require strong management support. For example, the decision to stop releases for the remainder of the quarter once an error budget is depleted might not be embraced by a product development team unless mandated by their management.\n\n# Tenets of SRE\n\nWhile the nuances of workflows, priorities, and day-to-day operations vary from SRE team to SRE team, all share a set of basic responsibilities for the service(s) they support, and adhere to the same core tenets. In general, an SRE team is responsible for the *availability, latency, performance, efficiency, change management, monitoring, emergency response, and capacity planning* of their service(s). We have codified rules of engagement and principles for how SRE teams interact with their environment—not only the [production environment](https://sre.google/sre-book/production-environment/), but also the product development teams, the testing teams, the users, and so on. Those rules and work practices help us to maintain our focus on engineering work, as opposed to operations work.\n\nThe following section discusses each of the core tenets of Google SRE.\n\n## Ensuring a Durable Focus on Engineering\n\nAs already discussed, Google caps operational work for SREs at 50% of their time. Their remaining time should be spent using their coding skills on project work. In practice, this is accomplished by monitoring the amount of operational work being done by SREs, and redirecting [excess operational work](https://sre.google/sre-book/dealing-with-interrupts/) to the product development teams: reassigning bugs and tickets to development managers, [re]integrating developers into on-call pager rotations, and so on. The redirection ends when the operational load drops back to 50% or lower. This also provides an effective feedback mechanism, guiding developers to build systems that don’t need manual intervention. This approach works well when the entire organization—SRE and development alike—understands why the safety valve mechanism exists, and supports the goal of having no overflow events because the product doesn’t generate enough operational load to require it.\n\nWhen they are focused on operations work, on average, SREs should receive a maximum of two events per 8–12-hour on-call shift. This target volume gives the on-call engineer enough time to handle the event accurately and quickly, clean up and restore normal service, and then conduct a postmortem. If more than two events occur regularly per on-call shift, problems can’t be investigated thoroughly and engineers are sufficiently overwhelmed to prevent them from learning from these events. A scenario of pager fatigue also won’t improve with scale. Conversely, if on-call SREs consistently receive fewer than one event per shift, keeping them on point is a waste of their time.\n\nPostmortems should be written for all significant incidents, regardless of whether or not they paged; postmortems that did not trigger a page are even more valuable, as they likely point to clear monitoring gaps. This investigation should establish what happened in detail, find all root causes of the event, and assign actions to correct the problem or improve how it is addressed next time. Google operates under a *blame-free postmortem culture*, with the goal of exposing faults and applying engineering to fix these faults, rather than avoiding or minimizing them.\n\n## Pursuing Maximum Change Velocity Without Violating a Service’s SLO\n\nProduct development and SRE teams can enjoy a [productive working relationship](https://sre.google/workbook/engagement-model/) by eliminating the structural conflict in their respective goals. The structural conflict is between pace of innovation and product stability, and as described earlier, this conflict often is expressed indirectly. In SRE we bring this conflict to the fore, and then resolve it with the introduction of an *error budget*.\n\nThe error budget stems from the observation that *100% is the wrong reliability target for basically everything* (pacemakers and anti-lock brakes being notable exceptions). In general, for any software service or system, 100% is not the right reliability target because no user can tell the difference between a system being 100% available and 99.999% available. There are many other systems in the path between user and service (their laptop, their home WiFi, their ISP, the power grid…) and those systems collectively are far less than 99.999% available. Thus, the marginal difference between 99.999% and 100% gets lost in the noise of other unavailability, and the user receives no benefit from the enormous effort required to add that last 0.001% of availability.\n\nIf 100% is the wrong reliability target for a system, what, then, is the right reliability target for the system? This actually isn’t a technical question at all—it’s a product question, which should take the following considerations into account:\n\n- What level of availability will the users be happy with, given how they use the product?\n- What alternatives are available to users who are dissatisfied with the product’s availability?\n- What happens to users’ usage of the product at different availability levels?\n\nThe business or the product must establish the system’s availability target. Once that target is established, the error budget is one minus the availability target. A service that’s 99.99% available is 0.01% unavailable. That permitted 0.01% unavailability is the service’s *error budget*. We can spend the budget on anything we want, as long as we don’t overspend it.\n\nSo how do we want to spend the error budget? The development team wants to launch features and attract new users. Ideally, we would spend all of our error budget taking risks with things we launch in order to launch them quickly. This basic premise describes the whole model of error budgets. As soon as SRE activities are conceptualized in this framework, freeing up the error budget through tactics such as phased rollouts and 1% experiments can optimize for quicker launches.\n\nThe use of an error budget resolves the structural conflict of incentives between development and SRE. SRE’s goal is no longer \"zero outages\"; rather, SREs and product developers aim to spend the error budget getting maximum feature velocity. This change makes all the difference. An outage is no longer a \"bad\" thing—it is an expected part of the process of innovation, and an occurrence that both development and SRE teams manage rather than fear.\n\n## Monitoring\n\nMonitoring is one of the primary means by which service owners keep track of a system’s health and availability. As such, monitoring strategy should be constructed thoughtfully. A classic and common approach to monitoring is to watch for a specific value or condition, and then to trigger an email alert when that value is exceeded or that condition occurs. However, this type of email alerting is not an effective solution: a system that requires a human to read an email and decide whether or not some type of action needs to be taken in response is fundamentally flawed. Monitoring should never require a human to interpret any part of the alerting domain. Instead, software should do the interpreting, and humans should be notified only when they need to take action.\n\nThere are three kinds of valid monitoring output:\n\nAlerts\n\nSignify that a human needs to take action immediately in response to something that is either happening or about to happen, in order to improve the situation.\n\nTickets\n\nSignify that a human needs to take action, but not immediately. The system cannot automatically handle the situation, but if a human takes action in a few days, no damage will result.\n\nLogging\n\nNo one needs to look at this information, but it is recorded for diagnostic or forensic purposes. The expectation is that no one reads logs unless something else prompts them to do so.\n\n## Emergency Response\n\nReliability is a function of mean time to failure (MTTF) and mean time to repair (MTTR) [[Sch15]](/sre-book/bibliography#Sch15). The most relevant metric in evaluating the effectiveness of emergency response is how quickly the response team can bring the system back to health—that is, the MTTR.\n\nHumans add latency. Even if a given system experiences more *actual* failures, a system that can avoid emergencies that require human intervention will have higher availability than a system that requires hands-on intervention. When humans are necessary, we have found that thinking through and recording the best practices ahead of time in a \"playbook\" produces roughly a 3x improvement in MTTR as compared to the strategy of \"winging it.\" The hero jack-of-all-trades on-call engineer does work, but the practiced on-call engineer armed with a playbook works much better. While no playbook, no matter how comprehensive it may be, is a substitute for smart engineers able to think on the fly, clear and thorough [troubleshooting steps and tips](https://sre.google/sre-book/effective-troubleshooting/) are valuable when responding to a high-stakes or time-sensitive page. Thus, Google SRE relies on on-call playbooks, in addition to exercises such as the \"Wheel of Misfortune,\"7 to prepare engineers to react to on-call events.\n\n## Change Management\n\nSRE has found that roughly 70% of outages are due to changes in a live system. Best practices in this domain use automation to accomplish the following:\n\n- Implementing progressive rollouts\n- Quickly and accurately detecting problems\n- Rolling back changes safely when problems arise\n\nThis trio of practices effectively minimizes the aggregate number of users and operations exposed to bad changes. By removing humans from the loop, these practices avoid the normal problems of fatigue, familiarity/contempt, and inattention to highly repetitive tasks. As a result, both release velocity and safety increase.\n\n## Demand Forecasting and Capacity Planning\n\nDemand forecasting and capacity planning can be viewed as ensuring that there is sufficient capacity and redundancy to serve projected future demand with the required availability. There’s nothing particularly special about these concepts, except that a surprising number of services and teams don’t take the steps necessary to ensure that the required capacity is in place by the time it is needed. Capacity planning should take both organic growth (which stems from natural product adoption and usage by customers) and inorganic growth (which results from events like feature launches, marketing campaigns, or other business-driven changes) into account.\n\nSeveral steps are mandatory in capacity planning:\n\n- An accurate organic demand forecast, which extends beyond the lead time required for acquiring capacity\n- An accurate incorporation of inorganic demand sources into the demand forecast\n- Regular load testing of the system to correlate raw capacity(servers, disks, and so on) to service capacity\n\nBecause capacity is critical to availability, it naturally follows that the SRE team must be in charge of capacity planning, which means they also must be in charge of provisioning.\n\n## Provisioning\n\nProvisioning combines both change management and capacity planning. In our experience, provisioning must be conducted quickly and only when necessary, as capacity is expensive. This exercise must also be done correctly or capacity doesn’t work when needed. Adding new capacity often involves spinning up a new instance or location, making significant modification to existing systems (configuration files, load balancers, networking), and validating that the new capacity performs and delivers correct results. Thus, it is a riskier operation than load shifting, which is often done multiple times per hour, and must be treated with a corresponding degree of extra caution.\n\n## Efficiency and Performance\n\nEfficient use of resources is important any time a service cares about money. Because SRE ultimately controls provisioning, it must also be involved in any work on utilization, as utilization is a function of how a given service works and how it is provisioned. It follows that paying close attention to the provisioning strategy for a service, and therefore its utilization, provides a very, very big lever on the service’s total costs.\n\nResource use is a function of demand (load), capacity, and software efficiency. SREs predict demand, provision capacity, and can modify the software. These three factors are a large part (though not the entirety) of a service’s efficiency.\n\nSoftware systems become slower as load is added to them. A slowdown in a service equates to a loss of capacity. At some point, a slowing system stops serving, which corresponds to infinite slowness. SREs provision to meet a capacity target *at a specific response speed*, and thus are keenly interested in a service’s performance. SREs and product developers will (and should) monitor and modify a service to improve its performance, thus adding capacity and improving efficiency.8\n\n# The End of the Beginning\n\nSite Reliability Engineering represents a significant break from existing industry best practices for managing large, complicated services. Motivated originally by familiarity—\"as a software engineer, this is how I would want to invest my time to accomplish a set of repetitive tasks\"—it has become much more: a set of principles, a set of practices, a set of incentives, and a field of endeavor within the larger software engineering discipline. The rest of the book explores the SRE Way in detail.\n\n6Vice President, Google Engineering, founder of Google SRE\n\n7See [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg).\n\n8For further discussion of how this collaboration can work in practice, see [Communications: Production Meetings](/sre-book/operational-overload#xref_comms-collab_production-meetings).", "znaku_textu": 24745, "slov": 3873, "odkazu": 70, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:56", "sha256": "bc09e0692e8137adff28cc2c652b5916970556cad57c69c3f3a435177ba01bf4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/launch-checklist", "titulek": "Google SRE - Google checklist: SRE pre launch checklist", "h1": "Launch Coordination Checklist", "popis": "Google checklist to ensure successful product launch. Go through the pre launch checklist and launch readiness checklist to execute smooth product launch.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/launch-checklist/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/launch-checklist/"}, "headline": "Launch Coordination Checklist", "description": "This is Google’s original Launch Coordination Checklist, circa 2005, slightly abridged for brevity: Architecture, Machines and datacenters, Volume estimates, capacity, and performance, System reliability and failover, Monitoring and server management, Security, Automation and manual tasks, Growth issues, External dependencies, Schedule and rollout planning", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Launch Coordination Checklist"}], "markdown": "# Launch Coordination Checklist\n\nThis is Google’s original Launch Coordination Checklist, circa 2005, slightly abridged for brevity:\n\n**Architecture**\n\n- Architecture sketch, types of servers, types of requests from clients\n- Programmatic client requests\n\n**Machines and datacenters**\n\n- Machines and bandwidth, datacenters, N+2 redundancy, network QoS\n- New domain names, DNS load balancing\n\n**Volume estimates, capacity, and performance**\n\n- HTTP traffic and bandwidth estimates, launch “spike,” traffic mix, 6 months out\n- Load test, end-to-end test, capacity per datacenter at max latency\n- Impact on other services we care most about\n- Storage capacity\n\n**System reliability and failover**\n\n- **What happens when:**\n - Machine dies, rack fails, or cluster goes offline\n - Network fails between two datacenters\n\n- **For each type of server that talks to other servers (its backends):**\n - How to detect when backends die, and what to do when they die\n - How to terminate or restart without affecting clients or users\n - Load balancing, rate-limiting, timeout, retry and error handling behavior\n- Data backup/restore, disaster recovery\n\n**Monitoring and server management**\n\n- Monitoring internal state, monitoring end-to-end behavior, managing alerts\n- Monitoring the monitoring\n- Financially important alerts and logs\n- Tips for running servers within cluster environment\n- Don’t crash mail servers by sending yourself email alerts in your own server code\n\n**Security**\n\n- Security design review, security code audit, spam risk, authentication, SSL\n- Prelaunch visibility/access control, various types of blacklists\n\n**Automation and manual tasks**\n\n- Methods and change control to update servers, data, and configs\n- Release process, repeatable builds, canaries under live traffic, staged rollouts\n\n**Growth issues**\n\n- Spare capacity, 10x growth, growth alerts\n- Scalability bottlenecks, linear scaling, scaling with hardware, changes needed\n- Caching, data sharding/resharding\n\n**External dependencies**\n\n- Third-party systems, monitoring, networking, traffic volume, launch spikes\n- Graceful degradation, how to avoid accidentally overrunning third-party services\n- Playing nice with syndicated partners, mail systems, services within Google\n\n**Schedule and rollout planning**\n\n- Hard deadlines, external events, Mondays or Fridays\n- Standard operating procedures for this service, for other services", "znaku_textu": 2321, "slov": 311, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:47", "sha256": "9ce91a680510928b743dbb59c45f79773904c0977d0035be90458abb96042789", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/launch-checklist/", "titulek": "Google SRE - Google checklist: SRE pre launch checklist", "h1": "Launch Coordination Checklist", "popis": "Google checklist to ensure successful product launch. Go through the pre launch checklist and launch readiness checklist to execute smooth product launch.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/launch-checklist/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/launch-checklist/"}, "headline": "Launch Coordination Checklist", "description": "This is Google’s original Launch Coordination Checklist, circa 2005, slightly abridged for brevity: Architecture, Machines and datacenters, Volume estimates, capacity, and performance, System reliability and failover, Monitoring and server management, Security, Automation and manual tasks, Growth issues, External dependencies, Schedule and rollout planning", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Launch Coordination Checklist"}], "markdown": "# Launch Coordination Checklist\n\nThis is Google’s original Launch Coordination Checklist, circa 2005, slightly abridged for brevity:\n\n**Architecture**\n\n- Architecture sketch, types of servers, types of requests from clients\n- Programmatic client requests\n\n**Machines and datacenters**\n\n- Machines and bandwidth, datacenters, N+2 redundancy, network QoS\n- New domain names, DNS load balancing\n\n**Volume estimates, capacity, and performance**\n\n- HTTP traffic and bandwidth estimates, launch “spike,” traffic mix, 6 months out\n- Load test, end-to-end test, capacity per datacenter at max latency\n- Impact on other services we care most about\n- Storage capacity\n\n**System reliability and failover**\n\n- **What happens when:**\n - Machine dies, rack fails, or cluster goes offline\n - Network fails between two datacenters\n\n- **For each type of server that talks to other servers (its backends):**\n - How to detect when backends die, and what to do when they die\n - How to terminate or restart without affecting clients or users\n - Load balancing, rate-limiting, timeout, retry and error handling behavior\n- Data backup/restore, disaster recovery\n\n**Monitoring and server management**\n\n- Monitoring internal state, monitoring end-to-end behavior, managing alerts\n- Monitoring the monitoring\n- Financially important alerts and logs\n- Tips for running servers within cluster environment\n- Don’t crash mail servers by sending yourself email alerts in your own server code\n\n**Security**\n\n- Security design review, security code audit, spam risk, authentication, SSL\n- Prelaunch visibility/access control, various types of blacklists\n\n**Automation and manual tasks**\n\n- Methods and change control to update servers, data, and configs\n- Release process, repeatable builds, canaries under live traffic, staged rollouts\n\n**Growth issues**\n\n- Spare capacity, 10x growth, growth alerts\n- Scalability bottlenecks, linear scaling, scaling with hardware, changes needed\n- Caching, data sharding/resharding\n\n**External dependencies**\n\n- Third-party systems, monitoring, networking, traffic volume, launch spikes\n- Graceful degradation, how to avoid accidentally overrunning third-party services\n- Playing nice with syndicated partners, mail systems, services within Google\n\n**Schedule and rollout planning**\n\n- Hard deadlines, external events, Mondays or Fridays\n- Standard operating procedures for this service, for other services", "znaku_textu": 2321, "slov": 311, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/launch-checklist", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:57", "sha256": "9ce91a680510928b743dbb59c45f79773904c0977d0035be90458abb96042789", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/lessons-learned/", "titulek": "Google SRE Lessons and Experiences from other industries", "h1": "Lessons Learned from Other Industries", "popis": "Explore core principles of Site Reliability Engineering at Google and reliability management strategies that are evident across high reliability organizations.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/lessons-learned/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/lessons-learned/"}, "headline": "Lessons Learned from Other Industries", "description": "A deep dive into SRE culture and practices at Google naturally leads to the question of how other industries manage their businesses for reliability. Compiling this book on Google SRE created an opportunity to speak to a number of Google's engineers about their previous work experiences in a variety of other high-reliability fields.", "author": [{"@type": "Person", "name": "Jennifer Petoff"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Lessons Learned from Other Industries"}, {"uroven": 2, "text": "Meet Our Industry Veterans"}, {"uroven": 1, "text": "Preparedness and Disaster Testing"}, {"uroven": 2, "text": "Relentless Organizational Focus on Safety"}, {"uroven": 2, "text": "Attention to Detail"}, {"uroven": 2, "text": "Swing Capacity"}, {"uroven": 2, "text": "Simulations and Live Drills"}, {"uroven": 2, "text": "Training and Certification"}, {"uroven": 2, "text": "Focus on Detailed Requirements Gathering and Design"}, {"uroven": 2, "text": "Defense in Depth and Breadth"}, {"uroven": 1, "text": "Postmortem Culture"}, {"uroven": 1, "text": "Automating Away Repetitive Work and Operational Overhead"}, {"uroven": 1, "text": "Structured and Rational Decision Making"}, {"uroven": 1, "text": "Conclusions"}], "markdown": "# Lessons Learned from Other Industries\n\nWritten by Jennifer Petoff \nEdited by Betsy Beyer\n\nA deep dive into SRE culture and practices at Google naturally leads to the question of how other industries manage their businesses for reliability. Compiling this book on Google SRE created an opportunity to speak to a number of Google's engineers about their previous work experiences in a variety of other high-reliability fields in order to address the following comparative questions:\n\n- Are the principles used in Site Reliability Engineering also important outside of Google, or do other industries tackle the requirements of high reliability in markedly different ways?\n- If other industries also adhere to SRE principles, how are the principles manifested?\n- What are the similarities and differences in the implementation of these principles across industries?\n- What factors drive similarities and differences in implementation?\n- What can Google and the tech industry learn from these comparisons?\n\nA number of principles fundamental to Site Reliability Engineering at Google are discussed throughout this text. To simplify our comparison of best practices in other industries, we distilled these concepts into four key themes:\n\n- Preparedness and Disaster Testing\n- Postmortem Culture\n\n- Automation and Reduced Operational Overhead\n- Structured and Rational Decision Making\n\nThis chapter introduces the industries that we profiled and the industry veterans we interviewed. We define key SRE themes, discuss how these themes are implemented at Google, and give examples of how these principles reveal themselves in other industries for comparative purposes. We conclude with some insights and discussion on the patterns and anti-patterns we discovered.\n\n## Meet Our Industry Veterans\n\n**Peter Dahl** is a Principal Engineer at Google. Previously, he worked\n as a defense contractor on several high-reliability systems including many airborne and wheeled vehicle GPS and inertial guidance\n systems. Consequences of a lapse in reliability in such systems include vehicle malfunction or loss, and the financial consequences\n associated with that failure.\n\n**Mike Doherty** is a Site Reliability Engineer at Google. He worked as a lifeguard and lifeguard trainer for a decade in Canada. Reliability is absolutely essential by nature in this field, because lives are on the line every day.\n\n**Erik Gross** is currently a software engineer at Google. Before joining the company, he spent seven years designing algorithms and code for the lasers and systems used to perform refractive eye surgery (e.g., LASIK). This is a high-stakes, high-reliability field, in which many lessons relevant to reliability in the face of government regulations and human risk were learned as the technology received FDA approval, gradually improved, and finally became ubiquitous.\n\n**Gus Hartmann** and **Kevin Greer** have experience in the telecommunications industry, including maintaining the E911 emergency response system.154 Kevin is currently a software engineer on the Google Chrome team and Gus is a systems engineer for Google's Corporate Engineering team. User expectations of the telecom industry demand high reliability. Implications of a lapse of service range from user inconvenience due to a system outage to fatalities if E911 goes down.\n\n**Ron Heiby** is a Technical Program Manager for Site Reliability Engineering at Google. Ron has experience in development for cell phones, medical devices, and the automotive industry. In some cases he worked on interface components of these industries (for example, on a device to allow EKG readings155 in ambulances to be transmitted over the digital wireless phone network). In these industries, the impact of a reliability issue can range from harm to the business incurred by equipment recalls to indirectly impacting life and health (e.g., people not getting the medical attention they need if the EKG cannot communicate with the hospital).\n\n**Adrian Hilton** is a Launch Coordination Engineer at Google. Previously, he worked on UK and USA military aircraft, naval avionics and aircraft stores management systems, and UK railway signaling systems. Reliability is critical in this space because impact of incidents ranges from multimillion-dollar loss of equipment to injuries and fatalities.\n\n**Eddie Kennedy** is a project manager for the Global Customer Experience team at Google and a mechanical engineer by training. Eddie spent six years working as a Six Sigma Black Belt process engineer in a manufacturing facility that makes synthetic\n diamonds. This industry is characterized by a relentless focus on safety, because the extremes of temperature and pressure demands of the process pose a high level of danger to workers on a daily basis.\n\n**John Li** is currently a Site Reliability Engineer at Google. John previously worked as a systems administrator and software developer at a proprietary trading company in the finance industry. Reliability issues in the financial sector are taken quite seriously because they can lead to serious fiscal consequences.\n\n**Dan Sheridan** is a Site Reliability Engineer at Google. Before joining the company, he worked as a safety consultant in the civil nuclear industry in the UK. Reliability is important in the nuclear industry because an incident can have serious repercussions: outages can incur millions a day in lost revenue, while risks to workers and those in the community are even more dire, dictating zero tolerance for failure. Nuclear infrastructure is designed with a series of failsafes that halt operations before an incident of any such magnitude is reached.\n\n**Jeff Stevenson** is currently a hardware operations manager at Google. He has past experience as a nuclear engineer in the US Navy on a submarine. Reliability stakes in the nuclear Navy are high—problems that arise in the case of incidents range from damaged equipment, to long-standing environmental impact, to potential loss of life.\n\n**Matthew Toia** is a Site Reliability Manager focused on storage systems. Prior to Google, he worked on software development and deployment of air traffic control software systems. Effects from incidents in this industry range from inconveniences to passengers and airlines (e.g., delayed flights, diverted planes) to potential loss of life in the event of a crash. Defense in depth is a key strategy to avoiding catastrophic failures.\n\nNow that you've met our experts and gained a high-level understanding of why reliability is important in their respective former fields, we'll delve into the four key themes of reliability.\n\n# Preparedness and Disaster Testing\n\n\"Hope is not a strategy.\" This rallying cry of the SRE team at Google sums up what we mean by preparedness and disaster testing. The SRE culture is forever vigilant and constantly questioning: What could go wrong? What action can we take to address those issues before they lead to an outage or data loss? Our annual Disaster and Recovery Testing (DiRT) drills seek to address these questions head-on [[Kri12]](/sre-book/bibliography#Kri12). In DiRT exercises, SREs push production systems to the limit and inflict actual outages in order to:\n\n- Ensure that systems react the way we think they will\n- Determine unexpected weaknesses\n- Figure out ways to make the systems more robust in order to prevent uncontrolled outages\n\nSeveral strategies for testing disaster readiness and ensuring preparedness in other industries emerged from our conversations. Strategies included the following:\n\n- Relentless organizational focus on safety\n- Attention to detail\n- Swing capacity\n- Simulations and live drills\n- Training and certification\n- Obsessive focus on detailed requirements gathering and design\n- Defense in depth\n\n## Relentless Organizational Focus on Safety\n\nThis principle is particularly important in an industrial engineering context. According to Eddie Kennedy, who worked on a manufacturing floor where workers faced safety hazards, \"every management meeting started with a discussion of safety.\" The manufacturing industry prepares itself for the unexpected by establishing highly defined processes that are strictly followed at every level of the organization. It is critical that all employees take safety seriously, and that workers feel empowered to speak up if and when anything seems amiss. In the case of nuclear power, military aircraft, and railway signaling industries, safety standards for software are well detailed (e.g., UK Defence Standard 00-56, IEC 61508, IEC513, US DO-178B/C, and DO-254) and levels of reliability for such systems are clearly identified (e.g., Safety Integrity Level (SIL) 1–4),156 with the aim of specifying acceptable approaches to delivering a product.\n\n## Attention to Detail\n\nFrom his time spent in the US Navy, Jeff Stevenson recalls an acute awareness of how a lack of diligence in executing small tasks (for example, lube oil maintenance) could lead to major submarine failure. A very small oversight or mistake can have big effects. Systems are highly interconnected, so an accident in one area can impact multiple related components. The nuclear Navy\n focuses on routine maintenance to ensure that small issues don't snowball.\n\n## Swing Capacity\n\nSystem utilization in the telecom industry can be highly unpredictable. Absolute capacity can be strained by unforeseeable events such as natural disasters, as well as large, predictable events like the Olympics. According to Gus Hartmann, the industry deals with these incidents by deploying swing capacity in the form of a SOW (switch on wheels), a mobile telco office. This excess capacity can be rolled out in an emergency or in anticipation of a known event that is likely to overload the system. Capacity issues veer into the unexpected in matters unrelated to absolute capacity, as well. For example, when a celebrity's private phone number was leaked in 2005 and thousands of fans simultaneously attempted to call her, the telecom system exhibited symptoms similar to a DDoS or massive routing error.\n\n## Simulations and Live Drills\n\nGoogle's Disaster Recovery tests have a lot in common with the simulations and live drills that are a key focus of many of the established industries we researched. The potential consequences of a system outage determine whether using a simulation or a live drill is appropriate. For example, Matthew Toia points out that the aviation industry can't perform a live test \"in production\" without putting equipment and passengers at risk. Instead, they employ extremely realistic simulators with live data feeds, in which the control rooms and equipment are modeled down to the tiniest details to ensure a realistic experience without putting real people at risk. Gus Hartmann reports that the telecom industry typically focuses on live drills centered on surviving hurricanes and other weather emergencies. Such modeling led to the creation of weatherproof facilities with generators inside the building capable of outlasting a storm.\n\nThe US nuclear Navy uses a mixture of \"what if\" thought exercises and live drills. According to Jeff Stevenson, the live drills involve \"actually breaking real stuff but with control parameters. Live drills are carried out religiously, every week, two to three days per week.\"For the nuclear Navy, thought exercises are useful, but not sufficient to prepare for actual incidents. Responses must be practiced so they are not forgotten.\n\nAccording to Mike Doherty, lifeguards face disaster testing exercises more akin to a \"mystery shopper\" experience. Typically, a facility manager works with a child or an incognito lifeguard in training to stage a mock drowning. These scenarios are conducted to be as realistic as possible so that lifeguards aren't able to differentiate between real and staged emergencies.\n\n## Training and Certification\n\nOur interviews suggest that training and certification are particularly important when lives are at stake. For example, Mike Doherty described how lifeguards complete a rigorous training certification, in addition to a periodic recertification process. Courses include fitness components (e.g., a lifeguard must be able to hold someone heavier than themselves with shoulders out of the water), technical components like first aid and CPR, and operational elements (e.g., if a lifeguard enters the water, how do other team members respond?). Every facility also has site-specific training, because lifeguarding in a pool is markedly different from lifeguarding on a lakeside beach or on the ocean.\n\n## Focus on Detailed Requirements Gathering and Design\n\nSome of the engineers we interviewed discussed the importance of detailed requirements gathering and design docs. This practice was particularly important when working with medical devices. In many of these cases, actual use or maintenance of the equipment doesn't fall within the purview of product designers. Thus, usage and maintenance requirements must be gathered from other sources.\n\nFor example, according to Erik Gross, laser eye surgery machines are designed to be as foolproof as possible. Thus, soliciting requirements from the surgeons who actually use these machines and the technicians responsible for maintaining them is particularly important. In another example, former defense contractor Peter Dahl described a very detailed design culture in which creating a new defense system commonly entailed an entire year of design, followed by just three weeks of writing the code to actualize the design. Both of these examples are markedly different from Google's launch and iterate culture, which promotes a much faster rate of change at a calculated risk. Other industries (e.g., the medical industry and the military, as previously discussed) have very different pressures, risk appetites, and requirements, and their processes are very much informed by these circumstances.\n\n## Defense in Depth and Breadth\n\nIn the nuclear power industry, defense in depth is a key element to preparedness [[IAEA12]](/sre-book/bibliography#IAEA12). Nuclear reactors feature redundancy on all systems and implement a design methodology that mandates fallback systems behind primary systems in case of failure. The system is designed with multiple layers of protection, including a final physical barrier to radioactive release around the plant itself. Defense in depth is particularly important in the nuclear industry due to the zero tolerance for failures and incidents.\n\n# Postmortem Culture\n\nCorrective and preventative action (CAPA)157 is a well-known concept for improving reliability that focuses on the systematic investigation of root causes of identified issues or risks in order to prevent recurrence. This principle is embodied by SRE's strong culture of blameless postmortems. When something goes wrong (and given the scale, complexity, and rapid rate of change at Google, something inevitably *will* go wrong), it's important to evaluate all of the following:\n\n- What happened\n- The effectiveness of the response\n- What we would do differently next time\n- What actions will be taken to make sure a particular incident doesn't happen again\n\nThis exercise is undertaken without pointing fingers at any individual. Instead of assigning blame, it is far more important to\nfigure out *what* went wrong, and how, as an organization, we will rally to ensure it doesn't happen again. Dwelling on *who* might have caused the outage is counterproductive. Postmortems are conducted after incidents and published across SRE teams so that all can benefit from the lessons learned.\n\nOur interviews uncovered that many industries perform a version of the postmortem (although many do not use this specific moniker, for obvious reasons). The *motivation* behind these exercises appears to be the main differentiator among industry practices.\n\nMany industries are heavily regulated and are held accountable by specific government authorities when something goes wrong. Such\nregulation is especially ingrained when the stakes of failure are high (e.g., lives are at stake). Relevant government agencies include the FCC (telecommunications), FAA (aviation), OSHA (the manufacturing and chemical industries), FDA (medical devices), and the various National Competent Authorities in the EU.158 The nuclear power and transportation industries are also heavily regulated.\n\nSafety considerations are another motivating factor behind postmortems. In the manufacturing and chemical industries, the risk of\ninjury or death is ever-present due to the nature of the conditions required to produce the final product (high temperature, pressure,\ntoxicity, and corrosivity, to name a few). For example, Alcoa features a noteworthy safety culture. Former CEO Paul O'Neill required staff to notify him within 24 hours of any injury that lost a worker day. He even distributed his home phone number to workers on the factory floor so that they could personally alert him to safety concerns.159\n\nThe stakes are so high in the manufacturing and chemical industries that even \"near misses\"—when a given event could have caused serious harm, but did not—are carefully scrutinized. These scenarios function as a type of preemptive postmortem. According to VM Brasseur in a talk given at YAPC NA 2015, \"There are multiple near misses in just about every disaster and business crisis, and typically they're ignored at the time they occur. Latent error, plus an enabling condition, equals things not working quite the way you\nplanned\" [[Bra15]](/sre-book/bibliography#Bra15). Near misses are effectively disasters waiting to happen. For example,\nscenarios in which a worker doesn't follow the standard operating procedure, an employee jumps out of the way at the last second to\navoid a splash, or a spill on the staircase isn't cleaned up, all represent near misses and opportunities to learn and improve. Next\ntime, the employee and the company might not be so lucky. The United Kingdom's CHIRP (Confidential Reporting Programme for Aviation and\nMaritime) seeks to raise awareness about such incidents across the industry by providing a central reporting point where aviation and\nmaritime personnel can report near misses confidentially. Reports and analyses of these near misses are then published in periodic\nnewsletters.\n\nLifeguarding has a deeply embedded culture of post-incident analysis and action planning. Mike Doherty quips, \"If a lifeguard's feet go in the water, there will be paperwork!\" A detailed write-up is required after any incident at the pool or on the beach. In the case of serious incidents, the team collectively examines the incident end to end, discussing what went right and what went wrong. Operational changes are then made based on these findings, and training is often scheduled to help people build confidence around their ability to handle a similar incident in the future. In cases of particularly shocking or traumatic incidents, a counselor is brought on site to help staff cope with the psychological aftermath. The lifeguards may have been well prepared for what happened in practice, but might *feel* like they haven't done an adequate job. Similar to Google, lifeguarding embraces a culture of blameless incident analysis. Incidents are chaotic, and many factors contribute to any given incident. In this field, it's not helpful to place blame on a single individual.\n\n# Automating Away Repetitive Work and Operational Overhead\n\nAt their core, Google's Site Reliability Engineers are software engineers with a low tolerance for repetitive reactive work. It is strongly ingrained in our culture to avoid repeating an operation that doesn't add value to a service. If a task can be automated away, why would you run a system on repetitive work that is of low value? Automation lowers operational overhead and frees up time for our engineers to proactively assess and improve the services they support.\n\nThe industries that we surveyed were mixed in terms of if, how, and why they embraced automation. Certain industries trusted humans more than machines. During the tenure of our industry veteran, the US nuclear Navy eschewed automation in favor of a series of interlocks and administrative procedures. For example, according to Jeff Stevenson, operating a valve required an operator, a supervisor, and a crew member on the phone with the engineering watch officer tasked with monitoring the response to the action taken. These operations were very manual due to concern that an automated system might not spot a problem that a human would definitely\nnotice. Operations on a submarine are ruled by a trusted human decision chain—a *series* of people, rather than one individual. The nuclear Navy was also concerned that automation and computers move so rapidly that they are all too capable of committing a large,\nirreparable mistake. When you are dealing with nuclear reactors, a slow and steady methodical approach is more important than accomplishing a task quickly.\n\nAccording to John Li, the proprietary trading industry has become increasingly cautious in its application of automation in recent years. Experience has shown that incorrectly configured automation can inflict significant damage and incur a great deal of financial loss in a very short period of time. For example, in 2012 Knight Capital Group encountered a \"software glitch\" that led to a loss of $440M in just a few hours.160 Similarly, in 2010 the US stock market experienced a Flash Crash that was ultimately blamed on a rogue trader attempting to manipulate the market with automated means. While the market was quick to recover, the Flash Crash resulted in a loss on the magnitude of trillions of dollars in just *30 minutes*.161 Computers can execute tasks very quickly, and speed can be a negative\nif these tasks are configured incorrectly.\n\nIn contrast, some companies embrace automation precisely *because* computers act more quickly than people. According to Eddie Kennedy, efficiency and monetary savings are key in the manufacturing industry, and automation provides a means to accomplish tasks more efficiently and cost-effectively. Furthermore, automation is generally more reliable and repeatable than work conducted manually by humans, which means that it produces higher-quality standards and tighter tolerances. Dan Sheridan discussed automation as deployed in the UK nuclear industry. Here, a rule of thumb dictates that if a plant is required to respond to a given situation in less than 30 minutes, that response must be automated.\n\nIn Matt Toia's experience, the aviation industry applies automation selectively. For example, operational failover is performed\nautomatically, but when it comes to certain other tasks, the industry trusts automation only when it's verified by a human. While the\nindustry employs a good deal of automatic monitoring, actual air-traffic–control-system implementations must be manually inspected by\nhumans.\n\nAccording to Erik Gross, automation has been quite effective in reducing user error in laser eye surgery. Before LASIK surgery is performed, the doctor measures the patient using a refractive eye test. Originally, the doctor would type in the numbers and press a button, and the laser would go to work correcting the patient's vision. However, data entry errors could be a big issue. This process also entailed the possibility of mixing up patient data or jumbling numbers for the left and right eye.\n\nAutomation now greatly lessens the chance that humans make a mistake that impacts someone's vision. A computerized sanity check of manually entered data was the first major automated improvement: if a human operator inputs measurements outside an expected range, automation promptly and prominently flags this case as unusual. Other automated improvements followed this development: now the iris is photographed during the preliminary refractive eye test. When it's time to perform the surgery, the iris of the patient is automatically matched to the iris in the photo, thus eliminating the possibility of mixing up patient data. When this automated solution was implemented, an entire class of medical errors disappeared.\n\n# Structured and Rational Decision Making\n\nAt Google in general, and in Site Reliability Engineering in particular, data is critical. The team aspires to make decisions in a structured and rational way by ensuring that:\n\n- The basis for the decision is agreed upon advance, rather than justified ex post facto\n- The inputs to the decision are clear\n- Any assumptions are explicitly stated\n- Data-driven decisions win over decisions based on feelings, hunches, or the opinion of the most senior employee in the room\n\nGoogle SRE operates under the baseline assumption that everyone on the team:\n\n- Has the best interests of a service's users at heart\n- Can figure out how to proceed based on the data available\n\nDecisions should be informed rather than prescriptive, and are made without deference to personal opinions—even that of the most-senior person in the room, who Eric Schmidt and Jonathan Rosenberg dub the \"HiPPO,\" for \"Highest-Paid Person's Opinion\" [[Sch14]](/sre-book/bibliography#Sch14).\n\nDecision making in different industries varies widely. We learned that some industries use an approach of *if it ain't broke, don't fix it…ever*. Industries featuring systems whose design entailed much thought and effort are often characterized by a\nreluctance to change the underlying technology. For example, the telecom industry still uses long-distance switches that were implemented in the 1980s. Why do they rely on technology developed a few decades ago? These switches \"are pretty much bulletproof and\nmassively redundant,\" according to Gus Hartmann. As reported by Dan Sheridan, the nuclear industry is similarly slow to change. All\ndecisions are underpinned by the thought: *if it works now, don't change it*.\n\nMany industries heavily focus on playbooks and procedures rather than open-ended problem solving. Every humanly conceivable scenario is captured in a checklist or in \"the binder.\" When something goes wrong, this resource is the authoritative source for how to react. This prescriptive approach works for industries that evolve and develop relatively slowly, because the scenarios of what could go wrong are not constantly evolving due to system updates or changes. This approach is also common in industries in which the skill level of the workers may be limited, and the best way to make sure that people will respond appropriately in an emergency is to provide a simple, clear set of instructions.\n\nOther industries also take a clear, data-driven approach to decision making. In Eddie Kennedy's experience, research and manufacturing environments are characterized by a rigorous experimentation culture that relies heavily on formulating and testing\nhypotheses. These industries regularly conduct controlled experiments to make sure that a given change yields the expected result at a\nstatistically significant level and that nothing unexpected occurs. Changes are only implemented when data yielded by the experiment supports the decision.\n\nFinally, some industries, like proprietary trading, divide decision making to better manage risk. According to John Li, this\nindustry features an enforcement team separate from the traders to ensure that undue risks aren't taken in pursuit of achieving a\nprofit. The enforcement team is responsible for monitoring events on the floor and halting trading if events spin out of hand. If a system abnormality occurs, the enforcement team's first response is to shut down the system. As put by John Li, \"If we aren't trading, we aren't losing money. We aren't making money either, but at least we aren't losing money.\" Only the enforcement team can bring the system back up, despite how excruciating a delay might seem to traders who are missing a potentially profitable opportunity.\n\n# Conclusions\n\nMany of the principles that are core to Site Reliability Engineering at Google are evident across a wide range of industries. The lessons already learned by well-established industries likely inspired some of the practices in use at Google today.\n\nA main takeaway of our cross-industry survey was that in many parts of its software business, Google has a higher appetite for velocity than players in most other industries. The ability to move or change quickly must be weighed against the differing implications of a failure. In the nuclear, aviation, or medical industries, for example, people could be injured or even die in the event of an outage or failure. When the stakes are high, a conservative approach to achieving high reliability is warranted.\n\nAt Google, we constantly walk a tightrope between user expectations for high reliability versus a laser-sharp focus on rapid change and innovation. While Google is incredibly serious about reliability, we must adapt our approaches to our high rate of change. As discussed in earlier chapters, many of our software businesses such as Search make conscious decisions as to how reliable \"reliable enough\" really is.\n\nGoogle has that flexibility in most of our software products and services, which operate in an environment in which lives are not directly at risk if something goes wrong. Therefore, we're able to use tools such as error budgets ([Motivation for Error Budgets](/sre-book/embracing-risk#xref_risk-management_unreliability-budgets)) as a means to \"fund\" a culture of innovation and calculated risk taking. In essence, Google has adapted known reliability principles that were in many cases developed and honed in other industries to create its own unique reliability culture, one that addresses a complicated equation that balances scale, complexity, and velocity with high reliability.\n\n154E911 (Enhanced 911): Emergency response line in the US that leverages location data.\n\n155Electrocardiogram readings: [*https://en.wikipedia.org/wiki/Electrocardiography*](https://en.wikipedia.org/wiki/Electrocardiography).\n\n156[*https://en.wikipedia.org/wiki/Safety_integrity_level*](https://en.wikipedia.org/wiki/Safety_integrity_level)\n\n157[*https://en.wikipedia.org/wiki/Corrective_and_preventive_action*](https://en.wikipedia.org/wiki/Corrective_and_preventive_action)\n\n158[*https://en.wikipedia.org/wiki/Competent_authority*](https://en.wikipedia.org/wiki/Competent_authority)\n\n159[*https://ehstoday.com/safety/nsc-2013-oneill-exemplifies-safety-leadership*](https://ehstoday.com/safety/nsc-2013-oneill-exemplifies-safety-leadership).\n\n160See \"FACTS, Section B\" for the discussion of Knight and Power Peg software in [[Sec13]](/sre-book/bibliography#Sec13).\n\n161\"Regulators blame computer algorithm for stock market 'flash crash',\" Computerworld, [*https://www.computerworld.com/article/2516076/financial-it/regulators-blame-computer-algorithm-for-stock-market—flash-crash-.html*](https://www.computerworld.com/article/2516076/financial-it/regulators-blame-computer-algorithm-for-stock-market—flash-crash-.html).", "znaku_textu": 30863, "slov": 4668, "odkazu": 79, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:58", "sha256": "60a0fda8e7ad4220a87f39ef6727a106d688f44c7ed04d61c8679d679a1540a7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Electrocardiography", "https://en.wikipedia.org/wiki/Safety_integrity_level", "https://en.wikipedia.org/wiki/Corrective_and_preventive_action", "https://en.wikipedia.org/wiki/Competent_authority", "https://ehstoday.com/safety/nsc-2013-oneill-exemplifies-safety-leadership", "https://www.computerworld.com/article/2516076/financial-it/regulators-blame-computer-algorithm-for-stock-market%E2%80%94flash-crash-.html", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/load-balancing-datacenter", "titulek": "Google SRE - Boost Efficacy with Network Load Balancer", "h1": "Load Balancing in the Datacenter", "popis": "Load balancing within a datacenter using Network Load Balancer. Optimize resource utilization, identify unhealthy tasks, and limit connection pools.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/load-balancing-datacenter/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/load-balancing-datacenter/"}, "headline": "Load Balancing in the Datacenter", "description": "This chapter focuses on load balancing within the datacenter. Specifically, it discusses algorithms for distributing work within a given datacenter for a stream of queries. We cover application-level policies for routing requests to individual servers that can process them.", "image": "https://lh3.googleusercontent.com/KRxWOMCRjNehiwub_xeUTdUpiS2lTgWWETue_ZFEXs5audrYUu7wp-3aboZOtOTPiC0rloYpjjZwsyQUb7AI6GdFv-y4xX6_BQo9Pg", "author": [{"@type": "Person", "name": "Alejandro Forero Cuervo"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Load Balancing in the Datacenter"}, {"uroven": 2, "text": "The Ideal Case"}, {"uroven": 1, "text": "Identifying Bad Tasks: Flow Control and Lame Ducks"}, {"uroven": 2, "text": "A Simple Approach to Unhealthy Tasks: Flow Control"}, {"uroven": 2, "text": "A Robust Approach to Unhealthy Tasks: Lame Duck State"}, {"uroven": 1, "text": "Limiting the Connections Pool with Subsetting"}, {"uroven": 2, "text": "Picking the Right Subset"}, {"uroven": 2, "text": "A Subset Selection Algorithm: Random Subsetting"}, {"uroven": 2, "text": "A Subset Selection Algorithm: Deterministic Subsetting"}, {"uroven": 1, "text": "Load Balancing Policies"}, {"uroven": 2, "text": "Simple Round Robin"}, {"uroven": 2, "text": "Small subsetting"}, {"uroven": 2, "text": "Varying query costs"}, {"uroven": 2, "text": "Machine diversity"}, {"uroven": 2, "text": "Unpredictable performance factors"}, {"uroven": 2, "text": "Least-Loaded Round Robin"}, {"uroven": 2, "text": "Weighted Round Robin"}], "markdown": "# Load Balancing in the Datacenter\n\nWritten by Alejandro Forero Cuervo\n \nEdited by Sarah Chavis\n\nThis chapter focuses on load balancing within the datacenter. Specifically, it discusses algorithms for distributing work within a given datacenter for a stream of queries. We cover application-level policies for routing requests to individual servers that can process them. Lower-level networking principles (e.g., switches, packet routing) and datacenter selection are outside of the scope of this chapter.\n\nAssume there is a stream of queries arriving to the datacenter—these could be coming from the datacenter itself, remote datacenters, or a mix of both—at a rate that doesn’t exceed the resources that the datacenter has to process them (or only exceeds it for very short amounts of time). Also assume that there are *services* within the datacenter, against which these queries operate. These services are implemented as many homogeneous, interchangeable server processes mostly running on different machines. The smallest services typically have at least three such processes (using fewer processes means losing 50% or more of your capacity if you lose a single machine) and the largest may have more than 10,000 processes (depending on datacenter size). In the typical case, services are composed of between 100 and 1,000 processes. We call these processes *backend tasks* (or just *backends*). Other tasks, known as *client tasks*, hold connections to the backend tasks. For each incoming query, a client task must decide which backend task should handle the query. Clients communicate with backends using a protocol implemented on top of a combination of TCP and UDP.\n\nWe should note that Google datacenters house a vastly diverse set of services that implement different combinations of the policies discussed in this chapter. Our working example, as just described, doesn’t fit any one service directly. It’s a generalized scenario that allows us to discuss the various techniques we’ve found useful for various services. Some of these techniques may be more (or less) applicable to specific use cases, but these techniques were designed and implemented by several Google engineers over a span of many years.\n\nThese techniques are applied at many parts of our stack. For example, most external HTTP requests reach the GFE (Google Frontend), our HTTP reverse proxying system. The GFE uses these algorithms, along with the algorithms described in [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/), to route the request payloads and metadata to the individual processes running the applications that can process this information. This is based on a configuration that maps various URL patterns to individual applications under the control of different teams. In order to produce the response payloads (which they return to the GFE, to be returned back to browsers), these applications often use these same algorithms in turn, to communicate with the infrastructure or complementary services they depend on. Sometimes the stack of dependencies can get relatively deep, where a single incoming HTTP request can trigger a long transitive chain of dependent requests to several systems, potentially with high fan-out at various points.\n\n## The Ideal Case\n\nIn an ideal case, the load for a given service is spread perfectly over all its backend tasks and, at any given point in time, the least and most loaded backend tasks consume exactly the same amount of CPU.\n\nWe can only send traffic to a datacenter until the point at which the most loaded task reaches its capacity limit; this is depicted in Figure 20-1 for two scenarios over the same time interval. During that time, the [cross-datacenter load balancing algorithm](https://sre.google/workbook/managing-load/) must avoid sending any additional traffic to the datacenter, because doing so risks overloading some tasks.\n\nFigure 20-1. Two scenarios of per-task load distribution over time\n\nAs shown in the lefthand graph in Figure 20-2, a significant amount of capacity is wasted: the idle capacity of every task except the most loaded task.\n\nFigure 20-2. Histogram of CPU used and wasted in two scenarios\n\nMore formally, let *CPU[i]* be the CPU rate consumed by task *i* at a given point of time, and suppose that task 0 is the most loaded task. Then, in the case of a large spread, we are wasting the sum of the differences in the CPU from any task to *CPU[0]*: that is, the sum over all tasks *i* of *(CPU[0] – CPU[i])* will be wasted. In this case \"wasted\" means reserved, but unused.\n\nThis example illustrates how poor in-datacenter load balancing practices artificially limit resource availability: you may be reserving 1,000 CPUs for your service in a given datacenter, but be unable to actually use more than, say, 700 CPUs.\n\n# Identifying Bad Tasks: Flow Control and Lame Ducks\n\nBefore we can decide which backend task should receive a client request, we need to identify—and avoid—unhealthy tasks in our pool of backends.\n\n## A Simple Approach to Unhealthy Tasks: Flow Control\n\nAssume our client tasks track the number of active requests they have sent on each connection to a backend task. When this active-request count reaches a configured limit, the client treats the backend as unhealthy and no longer sends it requests. For most backends, 100 is a reasonable limit; in the average case, requests tend to finish fast enough that it is very rare for the number of active requests from a given client to reach this limit under normal operating conditions. This (very basic!) form of flow control also serves as a simplistic form of load balancing: if a given backend task becomes overloaded and requests start piling up, clients will avoid that backend, and the workload spreads organically among the other backend tasks.\n\nUnfortunately, this very simplistic approach only protects backend tasks against very extreme forms of overload and it’s very easy for backends to become overloaded well before this limit is ever reached. The converse is also true: in some cases, clients may reach this limit when their backends still have plenty of spare resources. For example, some backends may have very long-lived requests that prohibit quick responses. We’ve seen cases in which this default limit has backfired, causing all backend tasks to become unreachable, with requests blocked in the clients until they time out and fail. Raising the active-request limit can avoid this situation, but doesn’t solve the underlying problem of knowing if a task is truly unhealthy or simply slow to respond.\n\n## A Robust Approach to Unhealthy Tasks: Lame Duck State\n\nFrom a client perspective, a given backend task can be in any of the following states:\n\nHealthy\n\nThe backend task has initialized correctly and is processing requests.\n\nRefusing connections\n\nThe backend task is unresponsive. This can happen because the task is starting up or shutting down, or because the backend is in an abnormal state (though it would be rare for a backend to stop listening on its port if it is not shutting down).\n\nLame duck\n\nThe backend task is listening on its port and can serve, but is explicitly asking clients to stop sending requests.\n\nWhen a task enters lame duck state, it broadcasts that fact to all its active clients. But what about inactive clients? With Google’s RPC implementation, inactive clients (i.e., clients with no active TCP connections) still send periodic UDP health checks. The result is that lame duck information is propagated quickly to all clients—typically in 1 or 2 RTT—regardless of their current state.\n\nThe main advantage of allowing a task to exist in a quasi-operational lame duck state is that it simplifies clean shutdown, which avoids serving errors to all the unlucky requests that happened to be active on backend tasks that are shutting down. Bringing down a backend task that has active requests without serving any errors facilitates code pushes, maintenance activities, or machine failures that may require restarting all related tasks. Such a shutdown would follow these general steps:\n\n1. The job scheduler sends a SIGTERM signal to the backend task.\n2. The backend task enters lame duck state and asks its clients to send new requests to other backend tasks. This is done through an API call in the RPC implementation that is explicitly called in the SIGTERM handler.\n3. Any ongoing request started before the backend task entered lame duck state (or after it entered lame duck state but before a client detected it) executes normally.\n4. As responses flow back to the clients, the number of active requests against the backend gradually decreases to zero.\n5. After a configured interval, the backend task either exits cleanly or the job scheduler kills it. The interval should be set to a large enough value that all typical requests have sufficient time to finish. This value is service dependent, but a good rule of thumb is between 10s and 150s depending on client complexity.\n\nThis strategy also allows a client to establish connections to backend tasks while performing potentially long-lived initialization procedures (and thus are not yet ready to start serving). The backend tasks could otherwise start listening for connections only when they’re ready to serve, but doing so would delay the negotiation of the connections unnecessarily. As soon as the backend task is ready to start serving, it signals this explicitly to the clients.\n\n# Limiting the Connections Pool with Subsetting\n\nIn addition to health management, another consideration for load balancing is *subsetting*: limiting the pool of potential backend tasks with which a client task interacts.\n\nEach client in our RPC system maintains a pool of long-lived connections to its backends that it uses to send new requests. These connections are typically established early on as the client is starting and usually remain open, with requests flowing through them, until the client’s death. An alternative model would be to establish and tear down a connection for each request, but this model has significant resource and latency costs. In the corner case of a connection that remains idle for a long time, our RPC implementation has an optimization that switches the connection to a cheap \"inactive\" mode where, for example, the frequency of health checks is reduced and the underlying TCP connection is dropped in favor of UDP.\n\nEvery connection requires some memory and CPU (due to periodic health checking) at both ends. While this overhead is small in theory, it can quickly become significant when it occurs across many machines. Subsetting avoids the situation in which a single client connects to a very large number of backend tasks or a single backend task receives connections from a very large number of client tasks. In both cases, you potentially waste a very large amount of resources for very little gain.\n\n## Picking the Right Subset\n\nPicking the right subset comes down to choosing how many backend tasks each client connects to—the subset size—and the selection algorithm. We typically use a subset size of 20 to 100 backend tasks, but the \"right\" subset size for a system depends heavily on the typical behavior of your service. For example, you may want to use a larger subset size if:\n\n- The number of clients is significantly smaller than the number of backends. In this case, you want the number of backends per client to be large enough that you don’t end up with backend tasks that will never receive any traffic.\n- There are frequent load imbalances within the client jobs (i.e., one client task sends more requests than others). This scenario is typical in situations where clients occasionally send bursts of requests. In this case, the clients themselves receive requests from other clients that occasionally have a large fan-out (e.g., \"read all the information of all the followers of a given user\"). Because a burst of requests will be concentrated in the client’s assigned subset, you need a larger subset size to ensure the load is spread evenly across the larger set of available backend tasks.\n\nOnce the subset size is determined, we need an algorithm to define the subset of backend tasks each client task will use. This may seem like a simple task, but it becomes complex quickly when working with large-scale systems where efficient provisioning is crucial and system restarts are guaranteed.\n\nThe selection algorithm for clients should assign backends uniformly to optimize resource provisioning. For example, if [subsetting overloads](https://sre.google/sre-book/load-balancing-datacenter/) one backend by 10%, the whole set of backends needs to be overprovisioned by 10%. The algorithm should also handle restarts and failures gracefully and robustly by continuing to load backends as uniformly as possible while minimizing churn. In this case, \"churn\" relates to backend replacement selection. For example, when a backend task becomes unavailable, its clients may need to temporarily pick a replacement backend. When a replacement backend is selected, clients must create new TCP connections (and likely perform application-level negotiation), which creates additional overhead. Similarly, when a client task restarts, it needs to reopen the connections to all its backends.\n\nThe algorithm should also handle resizes in the number of clients and/or number of backends, with minimal connection churn and without knowing these numbers in advance. This functionality is particularly important (and tricky) when the entire set of client or backend tasks are restarted one at a time (e.g., to push a new version). As backends are pushed, we want clients to continue serving, transparently, with as little connection churn as possible.\n\n## A Subset Selection Algorithm: Random Subsetting\n\nA naive implementation of a subset selection algorithm might have each client randomly shuffle the list of backends once and fill its subset by selecting resolvable/healthy backends from the list. Shuffling once and then picking backends from the start of the list handles restarts and failures robustly (e.g., with relatively little churn) because it explicitly limits them from consideration. However, we’ve found that this strategy actually works very poorly in most practical scenarios because it spreads load very unevenly.\n\nDuring initial work on load balancing, we implemented random subsetting and calculated the expected load for various cases. As an example, consider:\n\n- 300 clients\n- 300 backends\n- A subset size of 30% (each client connects to 90 backends)\n\nAs Figure 20-3 shows, the least loaded backend has just 63% of the average load (57 connections, where the average is 90 connections) and the most loaded has 121% (109 connections). In most cases, a subset size of 30% is already larger than we would want to use in practice. The calculated load distribution changes every time we run the simulation while the general pattern remains.\n\nFigure 20-3. Connection distribution with 300 clients, 300 backends, and a subset size of 30%\n\nUnfortunately, smaller subset sizes lead to even worse imbalances. For example, Figure 20-4 depicts the results if the subset size is reduced to 10% (30 backends per client). In this case, the least loaded backend receives 50% of the average load (15 connections) and the most loaded receives 150% (45 connections).\n\nFigure 20-4. Connection distribution with 300 clients, 300 backends, and a subset size of 10%\n\nWe concluded that for random subsetting to spread the load relatively evenly across all available tasks, we would need subset sizes as large as 75%. A subset that large is simply impractical; the variance in the number of clients connecting to a task is just too large to consider random subsetting a good subset selection policy at scale.\n\n## A Subset Selection Algorithm: Deterministic Subsetting\n\nGoogle’s solution to the limitations of random subsetting is *deterministic* subsetting. The following code implements this algorithm, described in detail next:\n\n```\ndef Subset(backends, client_id, subset_size):\n subset_count = len(backends) / subset_size\n\n # Group clients into rounds; each round uses the same shuffled list:\n round = client_id / subset_count\n random.seed(round)\n random.shuffle(backends)\n\n # The subset id corresponding to the current client:\n subset_id = client_id % subset_count\n\n start = subset_id * subset_size\n return backends[start:start + subset_size]\n```\n\nWe divide *client* tasks into \"rounds,\" where `round i` consists of `subset_count` consecutive client tasks, starting at task `subset_count × i`, and `subset_count` is the number of subsets (i.e., the number of backend tasks divided by the desired subset size). Within each round, each backend is assigned to exactly one client (except possibly the last round, which may not contain enough clients, so some backends may not be assigned).\n\nFor example, if we have 12 backend tasks [0, 11] and a desired subset size of 3, we will have rounds containing 4 clients each (`subset_count = 12/3`). If we had 10 clients, the preceding algorithm could yield the following *shuffled_backends*:\n\n- Round 0: [0, 6, 3, 5, 1, 7, 11, 9, 2, 4, 8, 10]\n- Round 1: [8, 11, 4, 0, 5, 6, 10, 3, 2, 7, 9, 1]\n- Round 2: [8, 3, 7, 2, 1, 4, 9, 10, 6, 5, 0, 11]\n\nThe key point to notice is that each round only assigns each backend in the entire list to one client (except the last, where we run out of clients). In this example, every backend gets assigned to exactly two or three clients.\n\nThe list should be shuffled; otherwise, clients are assigned a group of consecutive backend tasks that may all become temporarily unavailable (for example, because the backend job is being updated gradually in order, from the first task to the last). Different rounds use a different seed for shuffling. If they don’t, when a backend fails, the load it was receiving is only spread among the remaining backends *in its subset*. If additional backends in the subset fail, the effect compounds and the situation can quickly worsen significantly: if `N` backends in a subset are down, their corresponding load is spread over the remaining (`subset_size - N`) backends. A much better approach is to spread this load over all remaining backends by using a different shuffle for each round.\n\nWhen we use a different shuffle for each round, clients in the same round will start with the same shuffled list, but clients across rounds will have different shuffled lists. From here, the algorithm builds subset *definitions* based upon the shuffled list of backends and the desired subset size. For example:\n\n- `Subset[0]` = `shuffled_backends[0]` through `shuffled_backends[2]`\n- `Subset[1]` = `shuffled_backends[3]` through `shuffled_backends[5]`\n- `Subset[2]` = `shuffled_backends[6]` through `shuffled_backends[8]`\n- `Subset[3]` = `shuffled_backends[9]` through `shuffled_backends[11]`\n\nwhere `shuffled_backend` is the shuffled list created by each client. To assign a subset to a client task, we just take the subset that corresponds to its position within its round (e.g., `(i % 4)` for `client[i]` with four subsets):\n\n- `client[0]` , `client[4]` , `client[8]` will use `subset[0]`\n- `client[1]` , `client[5]` , `client[9]` will use `subset[1]`\n- `client[2]` , `client[6]` , `client[10]` will use `subset[2]`\n- `client[3]` , `client[7]` , `client[11]` will use `subset[3]`\n\nBecause clients across rounds will use a different value for `shuffled_backends` (and thus for `subset`) and clients within rounds use different subsets, the connection load is spread uniformly. In cases where the total number of backends is not divisible by the desired subset size, we allow a few subsets to be slightly larger than others, but in most cases the number of clients assigned to a backend will differ by at most 1.\n\nAs Figure 20-5 shows, the distribution for the former example of 300 clients each connecting to 10 of 300 backends yields very good results: each backend receives exactly the same number of connections.\n\nFigure 20-5. Connection distribution with 300 clients and deterministic subsetting to 10 of 300 backends\n\n# Load Balancing Policies\n\nNow that we’ve established the groundwork for how a given client task maintains a set of connections that are known to be healthy, let’s examine *load balancing policies*. These are the mechanisms used by client tasks to select which backend task in its subset receives a client request. Many of the complexities in load balancing policies stem from the distributed nature of the decision-making process in which clients need to decide, in real time (and with only partial and/or stale backend state information), which backend should be used for each request.\n\nLoad balancing policies can be very simple and not take into account any information about the state of the backends (e.g., *Round Robin*) or can act with more information about the backends (e.g., *Least-Loaded Round Robin* or *Weighted Round Robin*).\n\n## Simple Round Robin\n\nOne very simple approach to [load balancing](https://sre.google/sre-book/handling-overload/) has each client send requests in round-robin fashion to each backend task in its subset to which it can successfully connect and which isn’t in lame duck state. For many years, this was our most common approach, and it’s still used by many services.\n\nUnfortunately, while Round Robin has the advantage of being very simple and performing significantly better than just selecting backend tasks randomly, the results of this policy can be very poor. While actual numbers depend on many factors, such as varying query cost and machine diversity, we’ve found that Round Robin can result in a spread of up to 2x in CPU consumption from the least to the most loaded task. Such a spread is extremely wasteful and occurs for a number of reasons, including:\n\n- Small subsetting\n- Varying query costs\n- Machine diversity\n- Unpredictable performance factors\n\n## Small subsetting\n\nOne of the simplest reasons Round Robin distributes load poorly is that all of its clients may not issue requests at the same rate. Different rates of requests among clients are especially likely when vastly different processes share the same backends. In this case, and especially if you’re using relatively small subset sizes, backends in the subsets of the clients generating the most traffic will naturally tend to be more loaded.\n\n## Varying query costs\n\nMany services handle requests that require vastly different amounts of resources for processing. In practice, we’ve found that the semantics of many services in Google are such that the most expensive requests consume 1000x (or more) CPU than the cheapest requests. Load balancing using Round Robin is even more difficult when query cost can’t be predicted in advance. For example, a query such as \"return all emails received by user XYZ in the last day\" could be very cheap (if the user has received little email over the course of the day) or extremely expensive.\n\nLoad balancing in a system with large discrepancies in potential query cost is very problematic. It can become necessary to adjust the service interfaces to functionally cap the amount of work done per request. For example, in the case of the email query described previously, you could introduce a pagination interface and change the semantics of the request to \"return the most recent 100 emails (or fewer) received by user XYZ in the last day.\" Unfortunately, it’s often difficult to introduce such semantic changes. Not only does this require changes in all the client code, but it also entails additional consistency considerations. For example, the user may be receiving new emails or deleting emails as the client fetches emails page-by-page. For this use case, a client that naively iterates through the results and concatenates the responses (rather than paginating based on a fixed view of the data) will likely produce an inconsistent view, repeating some messages and/or skipping others.\n\nTo keep interfaces (and their implementations) simple, services are often defined to allow the most expensive requests to consume 100, 1,000, or even 10,000 times more resources than the cheapest requests. However, varying resource requirements per-request naturally mean that some backend tasks will be unlucky and occasionally receive more expensive requests than others. The extent to which this situation affects load balancing depends on how expensive the most expensive requests are. For example, for one of our Java backends, queries consume around 15 ms of CPU on average but some queries can easily require up to 10 seconds. Each task in this backend reserves multiple CPU cores, which reduces latency by allowing some of the computations to happen in parallel. But despite these reserved cores, when a backend receives one of these large queries, its load increases significantly for a few seconds. A poorly behaved task may run out of memory or even stop responding entirely (e.g., due to memory thrashing), but even in the normal case (i.e., the backend has sufficient resources and its load normalizes once the large query completes), the latency of other requests suffers due to resource competition with the expensive request.\n\n## Machine diversity\n\nAnother challenge to Simple Round Robin is the fact that not all machines in the same datacenter are necessarily the same. A given datacenter may have machines with CPUs of varying performance, and therefore, the same request may represent a significantly different amount of work for different machines.\n\nDealing with machine diversity—*without* requiring strict homogeneity—was a challenge for many years at Google. In theory, the solution to working with heterogeneous resource capacity in a fleet is simple: scale the CPU reservations depending on the processor/machine type. However, in practice, rolling out this solution required significant effort because it required our job scheduler to account for resource equivalencies based on average machine performance across a sampling of services. For example, 2 CPU units in machine X (a \"slow\" machine) is equivalent to 0.8 CPU units in machine Y (a \"fast\" machine). With this information, the job scheduler is then required to adjust CPU reservations for a process based upon the equivalence factor and the type of machine on which the process was scheduled. In an attempt to mitigate this complexity, we created a virtual unit for CPU rate called \"GCU\" (Google Compute Units). GCUs became the standard for modeling CPU rates, and were used to maintain a mapping from each CPU architecture in our datacenters to its corresponding GCU based upon its performance.\n\n## Unpredictable performance factors\n\nPerhaps the largest complicating factor for Simple Round Robin is that machines—or, more accurately, the performance of backend tasks—may differ vastly due to several *unpredictable* aspects that cannot be accounted for statically.\n\nTwo of the many unpredictable factors that contribute to performance include:\n\nAntagonistic neighbors\n\nOther processes (often completely unrelated and run by different teams) can have a significant impact on the performance of your processes. We’ve seen differences in performance of this nature of up to 20%. This difference mostly stems from competition for shared resources, such as space in memory caches or bandwidth, in ways that may not be directly obvious. For example, if the latency of outgoing requests from a backend task grows (because of competition for network resources with an antagonistic neighbor), the number of active requests will also grow, which may trigger increased garbage collection.\n\nTask restarts\n\nWhen a task gets restarted, it often requires significantly more resources for a few minutes. As just one example, we’ve seen this condition affect platforms such as Java that optimize code dynamically more than others. In response, we’ve actually added to the logic of some server code—we keep servers in lame duck state and prewarm them (triggering these optimizations) for a period of time after they start, until their performance is nominal. The effect of task restarts can become a sizable problem when you consider we update many servers (e.g., push new builds, which requires restarting these tasks) every day.\n\nIf your load balancing policy can’t adapt to unforeseen performance limitations, you will inherently end up with a suboptimal load distribution when working at scale.\n\n## Least-Loaded Round Robin\n\nAn alternative approach to Simple Round Robin is to have each client task keep track of the number of active requests it has to each backend task in its subset and use Round Robin *among the set of\ntasks with a minimal number of active requests*.\n\nFor example, suppose a client uses a subset of backend tasks *t0* to *t9*, and currently has the following number of active requests against each backend:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `0` | `0` | `1` | `0` | `2` | `0` | `0` | `1` |\n\nFor a new request, the client would filter the list of potential backend tasks to just those tasks with the least number of connections (*t2*, *t3*, *t5*, *t7*, and *t8*) and choose a backend from that list. Let’s assume it picks *t2*. The client’s connection state table would now look like the following:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `1` | `0` | `1` | `0` | `2` | `0` | `0` | `1` |\n\nAssuming none of the current requests have completed, on the next request, the backend candidate pool becomes *t3*, *t5*, *t7*, and *t8*.\n\nLet’s fast-forward until we’ve issued four new requests. Still assuming that no request finishes in the meantime, the connection state table would look like the following:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `1` | `1` | `1` | `1` | `2` | `1` | `1` | `1` |\n\nAt this point the set of backend candidates is all tasks except *t0* and *t6*. However, if the request against task *t4* finishes, its current state becomes \"0 active requests\" and a new request will be assigned to *t4*.\n\nThis implementation actually uses Round Robin, but it’s applied across the set of tasks with minimal active requests. Without such filtering, the policy might not be able to spread the requests well enough to avoid a situation in which some portion of the available backend tasks goes unused. The idea behind the least-loaded policy is that loaded tasks will tend to have higher latency than those with spare capacity, and this strategy will naturally take load away from these loaded tasks.\n\nAll that said, we’ve learned (the hard way!) about one very dangerous pitfall of the Least-Loaded Round Robin approach: if a task is seriously unhealthy, it might start serving 100% errors. Depending on the nature of those errors, they may have very low latency; it’s frequently significantly faster to just return an \"I’m unhealthy!\" error than to actually process a request. As a result, clients might start sending a very large amount of traffic to the unhealthy task, erroneously thinking that the task is available, as opposed to fast-failing them! We say that the unhealthy task is now *sinkholing* traffic. Fortunately, this pitfall can be solved relatively easily by modifying the policy to count recent errors as if they were active requests. This way, if a backend task becomes unhealthy, the load balancing policy begins to divert load from it the same way it would divert load from an overburdened task.\n\nLeast-Loaded Round Robin has two important limitations:\n\nThe count of active requests may not be a very good proxy for the capability of a given backend\n\nMany requests spend a significant portion of their life just waiting for a response from the network (i.e., waiting for responses to requests they initiate to other backends) and very little time on actual processing. For example, one backend task may be able to process twice as many requests as another (e.g., because it’s running in a machine with a CPU that’s twice as fast as the rest), but the latency of its requests may still be roughly the same as the latency of requests in the other task (because requests spend most of their life just waiting for the network to respond). In this case, because blocking on I/O often consumes zero CPU, very little RAM, and no bandwidth, we’d still want to send twice as many requests to the faster backend. However, Least-Loaded Round Robin will consider both backend tasks equally loaded.\n\nThe count of active requests in each client doesn’t include requests from other clients to the same backends\n\nThat is, each client task has only a very limited view into the state of its backend tasks: the view of its own requests.\n\nIn practice, we’ve found that large services using Least-Loaded Round Robin will see their most loaded backend task using twice as much CPU as the least loaded, performing about as poorly as Round Robin.\n\n## Weighted Round Robin\n\nWeighted Round Robin is an important load balancing policy that improves on Simple and Least-Loaded Round Robin by incorporating backend-provided information into the decision process.\n\nWeighted Round Robin is fairly simple in principle: each client task keeps a \"capability\" score for each backend in its subset. Requests are distributed in Round-Robin fashion, but clients weigh the distributions of requests to backends proportionally. In each response (including responses to health checks), backends include the current observed rates of queries and errors per second, in addition to the utilization (typically, CPU usage). Clients adjust the capability scores periodically to pick backend tasks based upon their current number of successful requests handled and at what utilization cost; failed requests result in a penalty that affects future decisions.\n\nIn practice, Weighted Round Robin has worked very well and significantly reduced the difference between the most and the least utilized tasks. Figure 20-6 shows the CPU rates for a random subset of backend tasks around the time its clients switched from Least-Loaded to Weighted Round Robin. The spread from the least to the most loaded tasks decreased drastically.\n\nFigure 20-6. CPU distribution before and after enabling Weighted Round Robin", "znaku_textu": 33776, "slov": 5515, "odkazu": 60, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:42", "sha256": "44364be42a73d161d84115767c56910ce51e55a0179ff7ab2f4090934c5c12f3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/load-balancing-datacenter/", "titulek": "Google SRE - Boost Efficacy with Network Load Balancer", "h1": "Load Balancing in the Datacenter", "popis": "Load balancing within a datacenter using Network Load Balancer. Optimize resource utilization, identify unhealthy tasks, and limit connection pools.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/load-balancing-datacenter/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/load-balancing-datacenter/"}, "headline": "Load Balancing in the Datacenter", "description": "This chapter focuses on load balancing within the datacenter. Specifically, it discusses algorithms for distributing work within a given datacenter for a stream of queries. We cover application-level policies for routing requests to individual servers that can process them.", "image": "https://lh3.googleusercontent.com/KRxWOMCRjNehiwub_xeUTdUpiS2lTgWWETue_ZFEXs5audrYUu7wp-3aboZOtOTPiC0rloYpjjZwsyQUb7AI6GdFv-y4xX6_BQo9Pg", "author": [{"@type": "Person", "name": "Alejandro Forero Cuervo"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Load Balancing in the Datacenter"}, {"uroven": 2, "text": "The Ideal Case"}, {"uroven": 1, "text": "Identifying Bad Tasks: Flow Control and Lame Ducks"}, {"uroven": 2, "text": "A Simple Approach to Unhealthy Tasks: Flow Control"}, {"uroven": 2, "text": "A Robust Approach to Unhealthy Tasks: Lame Duck State"}, {"uroven": 1, "text": "Limiting the Connections Pool with Subsetting"}, {"uroven": 2, "text": "Picking the Right Subset"}, {"uroven": 2, "text": "A Subset Selection Algorithm: Random Subsetting"}, {"uroven": 2, "text": "A Subset Selection Algorithm: Deterministic Subsetting"}, {"uroven": 1, "text": "Load Balancing Policies"}, {"uroven": 2, "text": "Simple Round Robin"}, {"uroven": 2, "text": "Small subsetting"}, {"uroven": 2, "text": "Varying query costs"}, {"uroven": 2, "text": "Machine diversity"}, {"uroven": 2, "text": "Unpredictable performance factors"}, {"uroven": 2, "text": "Least-Loaded Round Robin"}, {"uroven": 2, "text": "Weighted Round Robin"}], "markdown": "# Load Balancing in the Datacenter\n\nWritten by Alejandro Forero Cuervo\n \nEdited by Sarah Chavis\n\nThis chapter focuses on load balancing within the datacenter. Specifically, it discusses algorithms for distributing work within a given datacenter for a stream of queries. We cover application-level policies for routing requests to individual servers that can process them. Lower-level networking principles (e.g., switches, packet routing) and datacenter selection are outside of the scope of this chapter.\n\nAssume there is a stream of queries arriving to the datacenter—these could be coming from the datacenter itself, remote datacenters, or a mix of both—at a rate that doesn’t exceed the resources that the datacenter has to process them (or only exceeds it for very short amounts of time). Also assume that there are *services* within the datacenter, against which these queries operate. These services are implemented as many homogeneous, interchangeable server processes mostly running on different machines. The smallest services typically have at least three such processes (using fewer processes means losing 50% or more of your capacity if you lose a single machine) and the largest may have more than 10,000 processes (depending on datacenter size). In the typical case, services are composed of between 100 and 1,000 processes. We call these processes *backend tasks* (or just *backends*). Other tasks, known as *client tasks*, hold connections to the backend tasks. For each incoming query, a client task must decide which backend task should handle the query. Clients communicate with backends using a protocol implemented on top of a combination of TCP and UDP.\n\nWe should note that Google datacenters house a vastly diverse set of services that implement different combinations of the policies discussed in this chapter. Our working example, as just described, doesn’t fit any one service directly. It’s a generalized scenario that allows us to discuss the various techniques we’ve found useful for various services. Some of these techniques may be more (or less) applicable to specific use cases, but these techniques were designed and implemented by several Google engineers over a span of many years.\n\nThese techniques are applied at many parts of our stack. For example, most external HTTP requests reach the GFE (Google Frontend), our HTTP reverse proxying system. The GFE uses these algorithms, along with the algorithms described in [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/), to route the request payloads and metadata to the individual processes running the applications that can process this information. This is based on a configuration that maps various URL patterns to individual applications under the control of different teams. In order to produce the response payloads (which they return to the GFE, to be returned back to browsers), these applications often use these same algorithms in turn, to communicate with the infrastructure or complementary services they depend on. Sometimes the stack of dependencies can get relatively deep, where a single incoming HTTP request can trigger a long transitive chain of dependent requests to several systems, potentially with high fan-out at various points.\n\n## The Ideal Case\n\nIn an ideal case, the load for a given service is spread perfectly over all its backend tasks and, at any given point in time, the least and most loaded backend tasks consume exactly the same amount of CPU.\n\nWe can only send traffic to a datacenter until the point at which the most loaded task reaches its capacity limit; this is depicted in Figure 20-1 for two scenarios over the same time interval. During that time, the [cross-datacenter load balancing algorithm](https://sre.google/workbook/managing-load/) must avoid sending any additional traffic to the datacenter, because doing so risks overloading some tasks.\n\nFigure 20-1. Two scenarios of per-task load distribution over time\n\nAs shown in the lefthand graph in Figure 20-2, a significant amount of capacity is wasted: the idle capacity of every task except the most loaded task.\n\nFigure 20-2. Histogram of CPU used and wasted in two scenarios\n\nMore formally, let *CPU[i]* be the CPU rate consumed by task *i* at a given point of time, and suppose that task 0 is the most loaded task. Then, in the case of a large spread, we are wasting the sum of the differences in the CPU from any task to *CPU[0]*: that is, the sum over all tasks *i* of *(CPU[0] – CPU[i])* will be wasted. In this case \"wasted\" means reserved, but unused.\n\nThis example illustrates how poor in-datacenter load balancing practices artificially limit resource availability: you may be reserving 1,000 CPUs for your service in a given datacenter, but be unable to actually use more than, say, 700 CPUs.\n\n# Identifying Bad Tasks: Flow Control and Lame Ducks\n\nBefore we can decide which backend task should receive a client request, we need to identify—and avoid—unhealthy tasks in our pool of backends.\n\n## A Simple Approach to Unhealthy Tasks: Flow Control\n\nAssume our client tasks track the number of active requests they have sent on each connection to a backend task. When this active-request count reaches a configured limit, the client treats the backend as unhealthy and no longer sends it requests. For most backends, 100 is a reasonable limit; in the average case, requests tend to finish fast enough that it is very rare for the number of active requests from a given client to reach this limit under normal operating conditions. This (very basic!) form of flow control also serves as a simplistic form of load balancing: if a given backend task becomes overloaded and requests start piling up, clients will avoid that backend, and the workload spreads organically among the other backend tasks.\n\nUnfortunately, this very simplistic approach only protects backend tasks against very extreme forms of overload and it’s very easy for backends to become overloaded well before this limit is ever reached. The converse is also true: in some cases, clients may reach this limit when their backends still have plenty of spare resources. For example, some backends may have very long-lived requests that prohibit quick responses. We’ve seen cases in which this default limit has backfired, causing all backend tasks to become unreachable, with requests blocked in the clients until they time out and fail. Raising the active-request limit can avoid this situation, but doesn’t solve the underlying problem of knowing if a task is truly unhealthy or simply slow to respond.\n\n## A Robust Approach to Unhealthy Tasks: Lame Duck State\n\nFrom a client perspective, a given backend task can be in any of the following states:\n\nHealthy\n\nThe backend task has initialized correctly and is processing requests.\n\nRefusing connections\n\nThe backend task is unresponsive. This can happen because the task is starting up or shutting down, or because the backend is in an abnormal state (though it would be rare for a backend to stop listening on its port if it is not shutting down).\n\nLame duck\n\nThe backend task is listening on its port and can serve, but is explicitly asking clients to stop sending requests.\n\nWhen a task enters lame duck state, it broadcasts that fact to all its active clients. But what about inactive clients? With Google’s RPC implementation, inactive clients (i.e., clients with no active TCP connections) still send periodic UDP health checks. The result is that lame duck information is propagated quickly to all clients—typically in 1 or 2 RTT—regardless of their current state.\n\nThe main advantage of allowing a task to exist in a quasi-operational lame duck state is that it simplifies clean shutdown, which avoids serving errors to all the unlucky requests that happened to be active on backend tasks that are shutting down. Bringing down a backend task that has active requests without serving any errors facilitates code pushes, maintenance activities, or machine failures that may require restarting all related tasks. Such a shutdown would follow these general steps:\n\n1. The job scheduler sends a SIGTERM signal to the backend task.\n2. The backend task enters lame duck state and asks its clients to send new requests to other backend tasks. This is done through an API call in the RPC implementation that is explicitly called in the SIGTERM handler.\n3. Any ongoing request started before the backend task entered lame duck state (or after it entered lame duck state but before a client detected it) executes normally.\n4. As responses flow back to the clients, the number of active requests against the backend gradually decreases to zero.\n5. After a configured interval, the backend task either exits cleanly or the job scheduler kills it. The interval should be set to a large enough value that all typical requests have sufficient time to finish. This value is service dependent, but a good rule of thumb is between 10s and 150s depending on client complexity.\n\nThis strategy also allows a client to establish connections to backend tasks while performing potentially long-lived initialization procedures (and thus are not yet ready to start serving). The backend tasks could otherwise start listening for connections only when they’re ready to serve, but doing so would delay the negotiation of the connections unnecessarily. As soon as the backend task is ready to start serving, it signals this explicitly to the clients.\n\n# Limiting the Connections Pool with Subsetting\n\nIn addition to health management, another consideration for load balancing is *subsetting*: limiting the pool of potential backend tasks with which a client task interacts.\n\nEach client in our RPC system maintains a pool of long-lived connections to its backends that it uses to send new requests. These connections are typically established early on as the client is starting and usually remain open, with requests flowing through them, until the client’s death. An alternative model would be to establish and tear down a connection for each request, but this model has significant resource and latency costs. In the corner case of a connection that remains idle for a long time, our RPC implementation has an optimization that switches the connection to a cheap \"inactive\" mode where, for example, the frequency of health checks is reduced and the underlying TCP connection is dropped in favor of UDP.\n\nEvery connection requires some memory and CPU (due to periodic health checking) at both ends. While this overhead is small in theory, it can quickly become significant when it occurs across many machines. Subsetting avoids the situation in which a single client connects to a very large number of backend tasks or a single backend task receives connections from a very large number of client tasks. In both cases, you potentially waste a very large amount of resources for very little gain.\n\n## Picking the Right Subset\n\nPicking the right subset comes down to choosing how many backend tasks each client connects to—the subset size—and the selection algorithm. We typically use a subset size of 20 to 100 backend tasks, but the \"right\" subset size for a system depends heavily on the typical behavior of your service. For example, you may want to use a larger subset size if:\n\n- The number of clients is significantly smaller than the number of backends. In this case, you want the number of backends per client to be large enough that you don’t end up with backend tasks that will never receive any traffic.\n- There are frequent load imbalances within the client jobs (i.e., one client task sends more requests than others). This scenario is typical in situations where clients occasionally send bursts of requests. In this case, the clients themselves receive requests from other clients that occasionally have a large fan-out (e.g., \"read all the information of all the followers of a given user\"). Because a burst of requests will be concentrated in the client’s assigned subset, you need a larger subset size to ensure the load is spread evenly across the larger set of available backend tasks.\n\nOnce the subset size is determined, we need an algorithm to define the subset of backend tasks each client task will use. This may seem like a simple task, but it becomes complex quickly when working with large-scale systems where efficient provisioning is crucial and system restarts are guaranteed.\n\nThe selection algorithm for clients should assign backends uniformly to optimize resource provisioning. For example, if [subsetting overloads](https://sre.google/sre-book/load-balancing-datacenter/) one backend by 10%, the whole set of backends needs to be overprovisioned by 10%. The algorithm should also handle restarts and failures gracefully and robustly by continuing to load backends as uniformly as possible while minimizing churn. In this case, \"churn\" relates to backend replacement selection. For example, when a backend task becomes unavailable, its clients may need to temporarily pick a replacement backend. When a replacement backend is selected, clients must create new TCP connections (and likely perform application-level negotiation), which creates additional overhead. Similarly, when a client task restarts, it needs to reopen the connections to all its backends.\n\nThe algorithm should also handle resizes in the number of clients and/or number of backends, with minimal connection churn and without knowing these numbers in advance. This functionality is particularly important (and tricky) when the entire set of client or backend tasks are restarted one at a time (e.g., to push a new version). As backends are pushed, we want clients to continue serving, transparently, with as little connection churn as possible.\n\n## A Subset Selection Algorithm: Random Subsetting\n\nA naive implementation of a subset selection algorithm might have each client randomly shuffle the list of backends once and fill its subset by selecting resolvable/healthy backends from the list. Shuffling once and then picking backends from the start of the list handles restarts and failures robustly (e.g., with relatively little churn) because it explicitly limits them from consideration. However, we’ve found that this strategy actually works very poorly in most practical scenarios because it spreads load very unevenly.\n\nDuring initial work on load balancing, we implemented random subsetting and calculated the expected load for various cases. As an example, consider:\n\n- 300 clients\n- 300 backends\n- A subset size of 30% (each client connects to 90 backends)\n\nAs Figure 20-3 shows, the least loaded backend has just 63% of the average load (57 connections, where the average is 90 connections) and the most loaded has 121% (109 connections). In most cases, a subset size of 30% is already larger than we would want to use in practice. The calculated load distribution changes every time we run the simulation while the general pattern remains.\n\nFigure 20-3. Connection distribution with 300 clients, 300 backends, and a subset size of 30%\n\nUnfortunately, smaller subset sizes lead to even worse imbalances. For example, Figure 20-4 depicts the results if the subset size is reduced to 10% (30 backends per client). In this case, the least loaded backend receives 50% of the average load (15 connections) and the most loaded receives 150% (45 connections).\n\nFigure 20-4. Connection distribution with 300 clients, 300 backends, and a subset size of 10%\n\nWe concluded that for random subsetting to spread the load relatively evenly across all available tasks, we would need subset sizes as large as 75%. A subset that large is simply impractical; the variance in the number of clients connecting to a task is just too large to consider random subsetting a good subset selection policy at scale.\n\n## A Subset Selection Algorithm: Deterministic Subsetting\n\nGoogle’s solution to the limitations of random subsetting is *deterministic* subsetting. The following code implements this algorithm, described in detail next:\n\n```\ndef Subset(backends, client_id, subset_size):\n subset_count = len(backends) / subset_size\n\n # Group clients into rounds; each round uses the same shuffled list:\n round = client_id / subset_count\n random.seed(round)\n random.shuffle(backends)\n\n # The subset id corresponding to the current client:\n subset_id = client_id % subset_count\n\n start = subset_id * subset_size\n return backends[start:start + subset_size]\n```\n\nWe divide *client* tasks into \"rounds,\" where `round i` consists of `subset_count` consecutive client tasks, starting at task `subset_count × i`, and `subset_count` is the number of subsets (i.e., the number of backend tasks divided by the desired subset size). Within each round, each backend is assigned to exactly one client (except possibly the last round, which may not contain enough clients, so some backends may not be assigned).\n\nFor example, if we have 12 backend tasks [0, 11] and a desired subset size of 3, we will have rounds containing 4 clients each (`subset_count = 12/3`). If we had 10 clients, the preceding algorithm could yield the following *shuffled_backends*:\n\n- Round 0: [0, 6, 3, 5, 1, 7, 11, 9, 2, 4, 8, 10]\n- Round 1: [8, 11, 4, 0, 5, 6, 10, 3, 2, 7, 9, 1]\n- Round 2: [8, 3, 7, 2, 1, 4, 9, 10, 6, 5, 0, 11]\n\nThe key point to notice is that each round only assigns each backend in the entire list to one client (except the last, where we run out of clients). In this example, every backend gets assigned to exactly two or three clients.\n\nThe list should be shuffled; otherwise, clients are assigned a group of consecutive backend tasks that may all become temporarily unavailable (for example, because the backend job is being updated gradually in order, from the first task to the last). Different rounds use a different seed for shuffling. If they don’t, when a backend fails, the load it was receiving is only spread among the remaining backends *in its subset*. If additional backends in the subset fail, the effect compounds and the situation can quickly worsen significantly: if `N` backends in a subset are down, their corresponding load is spread over the remaining (`subset_size - N`) backends. A much better approach is to spread this load over all remaining backends by using a different shuffle for each round.\n\nWhen we use a different shuffle for each round, clients in the same round will start with the same shuffled list, but clients across rounds will have different shuffled lists. From here, the algorithm builds subset *definitions* based upon the shuffled list of backends and the desired subset size. For example:\n\n- `Subset[0]` = `shuffled_backends[0]` through `shuffled_backends[2]`\n- `Subset[1]` = `shuffled_backends[3]` through `shuffled_backends[5]`\n- `Subset[2]` = `shuffled_backends[6]` through `shuffled_backends[8]`\n- `Subset[3]` = `shuffled_backends[9]` through `shuffled_backends[11]`\n\nwhere `shuffled_backend` is the shuffled list created by each client. To assign a subset to a client task, we just take the subset that corresponds to its position within its round (e.g., `(i % 4)` for `client[i]` with four subsets):\n\n- `client[0]` , `client[4]` , `client[8]` will use `subset[0]`\n- `client[1]` , `client[5]` , `client[9]` will use `subset[1]`\n- `client[2]` , `client[6]` , `client[10]` will use `subset[2]`\n- `client[3]` , `client[7]` , `client[11]` will use `subset[3]`\n\nBecause clients across rounds will use a different value for `shuffled_backends` (and thus for `subset`) and clients within rounds use different subsets, the connection load is spread uniformly. In cases where the total number of backends is not divisible by the desired subset size, we allow a few subsets to be slightly larger than others, but in most cases the number of clients assigned to a backend will differ by at most 1.\n\nAs Figure 20-5 shows, the distribution for the former example of 300 clients each connecting to 10 of 300 backends yields very good results: each backend receives exactly the same number of connections.\n\nFigure 20-5. Connection distribution with 300 clients and deterministic subsetting to 10 of 300 backends\n\n# Load Balancing Policies\n\nNow that we’ve established the groundwork for how a given client task maintains a set of connections that are known to be healthy, let’s examine *load balancing policies*. These are the mechanisms used by client tasks to select which backend task in its subset receives a client request. Many of the complexities in load balancing policies stem from the distributed nature of the decision-making process in which clients need to decide, in real time (and with only partial and/or stale backend state information), which backend should be used for each request.\n\nLoad balancing policies can be very simple and not take into account any information about the state of the backends (e.g., *Round Robin*) or can act with more information about the backends (e.g., *Least-Loaded Round Robin* or *Weighted Round Robin*).\n\n## Simple Round Robin\n\nOne very simple approach to [load balancing](https://sre.google/sre-book/handling-overload/) has each client send requests in round-robin fashion to each backend task in its subset to which it can successfully connect and which isn’t in lame duck state. For many years, this was our most common approach, and it’s still used by many services.\n\nUnfortunately, while Round Robin has the advantage of being very simple and performing significantly better than just selecting backend tasks randomly, the results of this policy can be very poor. While actual numbers depend on many factors, such as varying query cost and machine diversity, we’ve found that Round Robin can result in a spread of up to 2x in CPU consumption from the least to the most loaded task. Such a spread is extremely wasteful and occurs for a number of reasons, including:\n\n- Small subsetting\n- Varying query costs\n- Machine diversity\n- Unpredictable performance factors\n\n## Small subsetting\n\nOne of the simplest reasons Round Robin distributes load poorly is that all of its clients may not issue requests at the same rate. Different rates of requests among clients are especially likely when vastly different processes share the same backends. In this case, and especially if you’re using relatively small subset sizes, backends in the subsets of the clients generating the most traffic will naturally tend to be more loaded.\n\n## Varying query costs\n\nMany services handle requests that require vastly different amounts of resources for processing. In practice, we’ve found that the semantics of many services in Google are such that the most expensive requests consume 1000x (or more) CPU than the cheapest requests. Load balancing using Round Robin is even more difficult when query cost can’t be predicted in advance. For example, a query such as \"return all emails received by user XYZ in the last day\" could be very cheap (if the user has received little email over the course of the day) or extremely expensive.\n\nLoad balancing in a system with large discrepancies in potential query cost is very problematic. It can become necessary to adjust the service interfaces to functionally cap the amount of work done per request. For example, in the case of the email query described previously, you could introduce a pagination interface and change the semantics of the request to \"return the most recent 100 emails (or fewer) received by user XYZ in the last day.\" Unfortunately, it’s often difficult to introduce such semantic changes. Not only does this require changes in all the client code, but it also entails additional consistency considerations. For example, the user may be receiving new emails or deleting emails as the client fetches emails page-by-page. For this use case, a client that naively iterates through the results and concatenates the responses (rather than paginating based on a fixed view of the data) will likely produce an inconsistent view, repeating some messages and/or skipping others.\n\nTo keep interfaces (and their implementations) simple, services are often defined to allow the most expensive requests to consume 100, 1,000, or even 10,000 times more resources than the cheapest requests. However, varying resource requirements per-request naturally mean that some backend tasks will be unlucky and occasionally receive more expensive requests than others. The extent to which this situation affects load balancing depends on how expensive the most expensive requests are. For example, for one of our Java backends, queries consume around 15 ms of CPU on average but some queries can easily require up to 10 seconds. Each task in this backend reserves multiple CPU cores, which reduces latency by allowing some of the computations to happen in parallel. But despite these reserved cores, when a backend receives one of these large queries, its load increases significantly for a few seconds. A poorly behaved task may run out of memory or even stop responding entirely (e.g., due to memory thrashing), but even in the normal case (i.e., the backend has sufficient resources and its load normalizes once the large query completes), the latency of other requests suffers due to resource competition with the expensive request.\n\n## Machine diversity\n\nAnother challenge to Simple Round Robin is the fact that not all machines in the same datacenter are necessarily the same. A given datacenter may have machines with CPUs of varying performance, and therefore, the same request may represent a significantly different amount of work for different machines.\n\nDealing with machine diversity—*without* requiring strict homogeneity—was a challenge for many years at Google. In theory, the solution to working with heterogeneous resource capacity in a fleet is simple: scale the CPU reservations depending on the processor/machine type. However, in practice, rolling out this solution required significant effort because it required our job scheduler to account for resource equivalencies based on average machine performance across a sampling of services. For example, 2 CPU units in machine X (a \"slow\" machine) is equivalent to 0.8 CPU units in machine Y (a \"fast\" machine). With this information, the job scheduler is then required to adjust CPU reservations for a process based upon the equivalence factor and the type of machine on which the process was scheduled. In an attempt to mitigate this complexity, we created a virtual unit for CPU rate called \"GCU\" (Google Compute Units). GCUs became the standard for modeling CPU rates, and were used to maintain a mapping from each CPU architecture in our datacenters to its corresponding GCU based upon its performance.\n\n## Unpredictable performance factors\n\nPerhaps the largest complicating factor for Simple Round Robin is that machines—or, more accurately, the performance of backend tasks—may differ vastly due to several *unpredictable* aspects that cannot be accounted for statically.\n\nTwo of the many unpredictable factors that contribute to performance include:\n\nAntagonistic neighbors\n\nOther processes (often completely unrelated and run by different teams) can have a significant impact on the performance of your processes. We’ve seen differences in performance of this nature of up to 20%. This difference mostly stems from competition for shared resources, such as space in memory caches or bandwidth, in ways that may not be directly obvious. For example, if the latency of outgoing requests from a backend task grows (because of competition for network resources with an antagonistic neighbor), the number of active requests will also grow, which may trigger increased garbage collection.\n\nTask restarts\n\nWhen a task gets restarted, it often requires significantly more resources for a few minutes. As just one example, we’ve seen this condition affect platforms such as Java that optimize code dynamically more than others. In response, we’ve actually added to the logic of some server code—we keep servers in lame duck state and prewarm them (triggering these optimizations) for a period of time after they start, until their performance is nominal. The effect of task restarts can become a sizable problem when you consider we update many servers (e.g., push new builds, which requires restarting these tasks) every day.\n\nIf your load balancing policy can’t adapt to unforeseen performance limitations, you will inherently end up with a suboptimal load distribution when working at scale.\n\n## Least-Loaded Round Robin\n\nAn alternative approach to Simple Round Robin is to have each client task keep track of the number of active requests it has to each backend task in its subset and use Round Robin *among the set of\ntasks with a minimal number of active requests*.\n\nFor example, suppose a client uses a subset of backend tasks *t0* to *t9*, and currently has the following number of active requests against each backend:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `0` | `0` | `1` | `0` | `2` | `0` | `0` | `1` |\n\nFor a new request, the client would filter the list of potential backend tasks to just those tasks with the least number of connections (*t2*, *t3*, *t5*, *t7*, and *t8*) and choose a backend from that list. Let’s assume it picks *t2*. The client’s connection state table would now look like the following:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `1` | `0` | `1` | `0` | `2` | `0` | `0` | `1` |\n\nAssuming none of the current requests have completed, on the next request, the backend candidate pool becomes *t3*, *t5*, *t7*, and *t8*.\n\nLet’s fast-forward until we’ve issued four new requests. Still assuming that no request finishes in the meantime, the connection state table would look like the following:\n\n| **t0** | **t1** | **t2** | **t3** | **t4** | **t5** | **t6** | **t7** | **t8** | **t9** |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| `2` | `1` | `1` | `1` | `1` | `1` | `2` | `1` | `1` | `1` |\n\nAt this point the set of backend candidates is all tasks except *t0* and *t6*. However, if the request against task *t4* finishes, its current state becomes \"0 active requests\" and a new request will be assigned to *t4*.\n\nThis implementation actually uses Round Robin, but it’s applied across the set of tasks with minimal active requests. Without such filtering, the policy might not be able to spread the requests well enough to avoid a situation in which some portion of the available backend tasks goes unused. The idea behind the least-loaded policy is that loaded tasks will tend to have higher latency than those with spare capacity, and this strategy will naturally take load away from these loaded tasks.\n\nAll that said, we’ve learned (the hard way!) about one very dangerous pitfall of the Least-Loaded Round Robin approach: if a task is seriously unhealthy, it might start serving 100% errors. Depending on the nature of those errors, they may have very low latency; it’s frequently significantly faster to just return an \"I’m unhealthy!\" error than to actually process a request. As a result, clients might start sending a very large amount of traffic to the unhealthy task, erroneously thinking that the task is available, as opposed to fast-failing them! We say that the unhealthy task is now *sinkholing* traffic. Fortunately, this pitfall can be solved relatively easily by modifying the policy to count recent errors as if they were active requests. This way, if a backend task becomes unhealthy, the load balancing policy begins to divert load from it the same way it would divert load from an overburdened task.\n\nLeast-Loaded Round Robin has two important limitations:\n\nThe count of active requests may not be a very good proxy for the capability of a given backend\n\nMany requests spend a significant portion of their life just waiting for a response from the network (i.e., waiting for responses to requests they initiate to other backends) and very little time on actual processing. For example, one backend task may be able to process twice as many requests as another (e.g., because it’s running in a machine with a CPU that’s twice as fast as the rest), but the latency of its requests may still be roughly the same as the latency of requests in the other task (because requests spend most of their life just waiting for the network to respond). In this case, because blocking on I/O often consumes zero CPU, very little RAM, and no bandwidth, we’d still want to send twice as many requests to the faster backend. However, Least-Loaded Round Robin will consider both backend tasks equally loaded.\n\nThe count of active requests in each client doesn’t include requests from other clients to the same backends\n\nThat is, each client task has only a very limited view into the state of its backend tasks: the view of its own requests.\n\nIn practice, we’ve found that large services using Least-Loaded Round Robin will see their most loaded backend task using twice as much CPU as the least loaded, performing about as poorly as Round Robin.\n\n## Weighted Round Robin\n\nWeighted Round Robin is an important load balancing policy that improves on Simple and Least-Loaded Round Robin by incorporating backend-provided information into the decision process.\n\nWeighted Round Robin is fairly simple in principle: each client task keeps a \"capability\" score for each backend in its subset. Requests are distributed in Round-Robin fashion, but clients weigh the distributions of requests to backends proportionally. In each response (including responses to health checks), backends include the current observed rates of queries and errors per second, in addition to the utilization (typically, CPU usage). Clients adjust the capability scores periodically to pick backend tasks based upon their current number of successful requests handled and at what utilization cost; failed requests result in a penalty that affects future decisions.\n\nIn practice, Weighted Round Robin has worked very well and significantly reduced the difference between the most and the least utilized tasks. Figure 20-6 shows the CPU rates for a random subset of backend tasks around the time its clients switched from Least-Loaded to Weighted Round Robin. The spread from the least to the most loaded tasks decreased drastically.\n\nFigure 20-6. CPU distribution before and after enabling Weighted Round Robin", "znaku_textu": 33776, "slov": 5515, "odkazu": 60, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/load-balancing-datacenter", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:59", "sha256": "44364be42a73d161d84115767c56910ce51e55a0179ff7ab2f4090934c5c12f3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/load-balancing-frontend/", "titulek": "Google SRE- DNS Load Balancing For Traffic Distribution", "h1": "Load Balancing at the Frontend", "popis": "Leverages DNS load balancing to distribute traffic across its global infrastructure. Learn the strategies involved for optimal resource utilization.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/load-balancing-frontend/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/load-balancing-frontend/"}, "headline": "Load Balancing at the Frontend", "description": "We serve many millions of requests every second and, as you may have already guessed, we use more than a single computer to handle this demand. This chapter focuses on high-level load balancing - how we balance user traffic between datacenters.", "author": [{"@type": "Person", "name": "Piotr Lewandowski"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Load Balancing at the Frontend"}, {"uroven": 2, "text": "Power Isn’t the Answer"}, {"uroven": 1, "text": "Load Balancing Using DNS"}, {"uroven": 1, "text": "Load Balancing at the Virtual IP Address"}], "markdown": "# Load Balancing at the Frontend\n\nWritten by Piotr Lewandowski\n \n Edited by Sarah Chavis\n\nWe serve many millions of requests every second and, as you may have already guessed, we use more than a single computer to handle this demand. But even if we *did* have a supercomputer that was somehow able to handle all these requests (imagine the network connectivity such a configuration would require!), we still wouldn’t employ a strategy that relied upon a single point of failure; when you’re dealing with large-scale systems, putting all your eggs in one basket is a recipe for disaster.\n\nThis chapter focuses on high-level load balancing—how we balance user traffic *between* datacenters. The following chapter zooms in to explore how we implement load balancing *inside* a datacenter.\n\n## Power Isn’t the Answer\n\nFor the sake of argument, let’s assume we have an unbelievably powerful machine and a network that never fails. Would *that* configuration be sufficient to meet Google’s needs? No. Even this configuration would still be limited by the physical constraints associated with our networking infrastructure. For example, the speed of light is a limiting factor on the communication speeds for fiber optic cable, which creates an upper bound on how quickly we can serve data based upon the distance it has to travel. Even in an ideal world, relying on an infrastructure with a single point of failure is a bad idea.\n\nIn reality, Google has thousands of machines and even more users, many of whom issue multiple requests at a time. *[Traffic load balancing](https://sre.google/workbook/managing-load/)* is how we decide which of the many, many machines in our datacenters will serve a particular request. Ideally, traffic is distributed across multiple network links, datacenters, and machines in an \"optimal\" fashion. But what does \"optimal\" mean in this context? There’s actually no single answer, because the optimal solution depends heavily on a variety of factors:\n\n- The hierarchical level at which we evaluate the problem (global versus local)\n- The technical level at which we evaluate the problem (hardware versus software)\n- The nature of the traffic we’re dealing with\n\nLet’s start by reviewing two common traffic scenarios: a basic search request and a video upload request. Users want to get their query results quickly, so the most important variable for the search request is latency. On the other hand, users expect video uploads to take a non-negligible amount of time, but also want such requests to succeed the first time, so the most important variable for the video upload is throughput. The differing needs of the two requests play a role in how we determine the optimal distribution for each request at the *global* level:\n\n- The search request is sent to the nearest available datacenter—as measured in round-trip time (RTT)—because we want to minimize the latency on the request.\n- The video upload stream is routed via a different path—perhaps to a link that is currently underutilized—to maximize the throughput at the expense of latency.\n\nBut on the *local* level, inside a given datacenter, we often assume that all machines within the building are equally distant to the user and connected to the same network. Therefore, optimal distribution of load focuses on optimal resource utilization and protecting a single server from overloading.\n\nOf course, this example presents a vastly simplified picture. In reality, many more considerations factor into optimal [load distribution](https://sre.google/sre-book/load-balancing-datacenter/): some requests may be directed to a datacenter that is slightly farther away in order to keep caches warm, or non-interactive traffic may be routed to a completely different region to avoid network congestion. Load balancing, especially for large systems, is anything but straightforward and static. At Google, we’ve approached the problem by load balancing at multiple levels, two of which are described in the following sections. For the sake of presenting a concrete discussion, we’ll consider HTTP requests sent over TCP. Load balancing of stateless services (like DNS over UDP) differs slightly, but most of the mechanisms described here should be applicable to stateless services as well.\n\n# Load Balancing Using DNS\n\nBefore a client can even send an HTTP request, it often has to look up an IP address using DNS. This provides the perfect opportunity to introduce our first layer of load balancing: *DNS load balancing*. The simplest solution is to return multiple `A` or `AAAA` records in the DNS reply and let the client pick an IP address arbitrarily. While conceptually simple and trivial to implement, this solution poses multiple challenges.\n\nThe first problem is that it provides very little control over the client behavior: records are selected randomly, and each will attract a roughly equal amount of traffic. Can we mitigate this problem? In theory, we could use `SRV` records to specify record weights and priorities, but `SRV` records have not yet been adopted for HTTP.\n\nAnother potential problem stems from the fact that usually the client cannot determine the closest address. We *can* mitigate this scenario by using an anycast address for authoritative nameservers and leverage the fact that DNS queries will flow to the closest address. In its reply, the server can return addresses routed to the closest datacenter. A further improvement builds a map of all networks and their approximate physical locations, and serves DNS replies based on that mapping. However, this solution comes at the cost of having a much more complex DNS server implementation and maintaining a pipeline that will keep the location mapping up to date.\n\nOf course, none of these solutions are trivial, due to a fundamental characteristic of DNS: end users rarely talk to authoritative nameservers directly. Instead, a recursive DNS server usually lies somewhere between end users and nameservers. This server proxies queries between a user and a server and often provides a caching layer. The DNS middleman has three very important implications on traffic management:\n\n- Recursive resolution of IP addresses\n- Nondeterministic reply paths\n- Additional caching complications\n\nRecursive resolution of IP addresses is problematic, as the IP address seen by the authoritative nameserver does not belong to a user; instead, it’s the recursive resolver’s. This is a serious limitation, because it only allows reply optimization for the shortest distance between resolver and the nameserver. A possible solution is to use the EDNS0 extension proposed in [[Con15]](/sre-book/bibliography#Con15), which includes information about the client’s subnet in the DNS query sent by a recursive resolver. This way, an authoritative nameserver returns a response that is optimal from the user’s perspective, rather than the resolver’s perspective. While this is not yet the official standard, its obvious advantages have led the biggest DNS resolvers (such as OpenDNS and Google103) to support it already.\n\nNot only is it difficult to find the optimal IP address to return to the nameserver for a given user’s request, but that nameserver may be responsible for serving thousands or millions of users, across regions varying from a single office to an entire continent. For instance, a large national ISP might run nameservers for its entire network from one datacenter, yet have network interconnects in each metropolitan area. The ISP’s nameservers would then return a response with the IP address best suited for their datacenter, despite there being better network paths for all users!\n\nFinally, recursive resolvers typically cache responses and forward those responses within limits indicated by the time-to-live (TTL) field in the DNS record. The end result is that estimating the impact of a given reply is difficult: a single authoritative reply may reach a single user or multiple thousands of users. We solve this problem in two ways:\n\n- We analyze traffic changes and continuously update our list of known DNS resolvers with the approximate size of the user base behind a given resolver, which allows us to track the potential impact of any given resolver.\n- We estimate the geographical distribution of the users behind each tracked resolver to increase the chance that we direct those users to the best location.\n\nEstimating geographic distribution is particularly tricky if the user base is distributed across large regions. In such cases, we make trade-offs to select the best location and optimize the experience for the majority of users.\n\nBut what does \"best location\" really mean in the context of DNS load balancing? The most obvious answer is the location closest to the user. However (as if determining users’ locations isn’t difficult in and of itself), there are additional criteria. The DNS load balancer needs to make sure that the datacenter it selects has enough capacity to serve requests from users that are likely to receive its reply. It also needs to know that the selected datacenter and its network connectivity are in good shape, because directing user requests to a datacenter that’s experiencing power or networking problems isn’t ideal. Fortunately, we can integrate the authoritative DNS server with our global control systems that track traffic, capacity, and the state of our infrastructure.\n\nThe third implication of the DNS middleman is related to caching. Given that authoritative nameservers cannot flush resolvers’ caches, DNS records need a relatively low TTL. This effectively sets a lower bound on how quickly DNS changes can be propagated to users.104 Unfortunately, there is little we can do other than to keep this in mind as we make load balancing decisions.\n\nDespite all of these problems, DNS is still the simplest and most effective way to balance load before the user’s connection even starts. On the other hand, it should be clear that load balancing with DNS on its own is not sufficient. Keep in mind that all DNS replies served should fit within the 512-byte limit105 set by RFC 1035 [[Moc87]](/sre-book/bibliography/\n#Moc87). This limit sets an upper bound on the number of addresses we can squeeze into a single DNS reply, and that number is almost certainly less than our number of servers.\n\nTo *really* solve the problem of frontend load balancing, this initial level of DNS load balancing should be followed by a level that takes advantage of virtual IP addresses.\n\n# Load Balancing at the Virtual IP Address\n\nVirtual IP addresses (VIPs) are not assigned to any particular network interface. Instead, they are usually shared across many devices. However, from the user’s perspective, the VIP remains a single, regular IP address. In theory, this practice allows us to hide implementation details (such as the number of machines behind a particular VIP) and facilitates maintenance, because we can schedule upgrades or add more machines to the pool without the user knowing.\n\nIn practice, the most important part of VIP implementation is a device called the *network load balancer*. The balancer receives packets and forwards them to one of the machines behind the VIP. These backends can then further process the request.\n\nThere are several possible approaches the balancer can take in deciding which backend should receive the request. The first (and perhaps most intuitive) approach is to always prefer the least loaded backend. In theory, this approach should result in the best end-user experience because requests are always routed to the least busy machine. Unfortunately, this logic breaks down quickly in the case of stateful protocols, which must use the same backend for the duration of a request. This requirement means that the balancer must keep track of all connections sent through it in order to make sure that all subsequent packets are sent to the correct backend. The alternative is to use some parts of a packet to create a connection ID (possibly using a hash function and some information from the packet), and to use the connection ID to select a backend. For example, the connection ID could be expressed as:\n\n```\nid(packet) mod N\n```\n\nwhere `id` is a function that takes `packet` as an input and produces a connection ID, and `N` is the number of configured backends.\n\nThis avoids storing state, and all packets belonging to a single connection are always forwarded to the same backend. Success? Not quite yet. What happens if one backend fails and needs to be removed from the backend list? Suddenly `N` becomes `N-1` and then, `id(packet) mod N` becomes `id(packet) mod N-1`. Almost every packet suddenly maps to a different backend! If backends don’t share any state between themselves, this remapping forces a reset of almost all of the existing connections. This scenario is definitely *not* the best user experience, even if such events are infrequent.\n\nFortunately, there *is* an alternate solution that doesn’t require keeping the state of every connection in memory, but won’t force all connections to reset when a single machine goes down: *consistent hashing*. Proposed in 1997, consistent hashing [[Kar97]](/sre-book/bibliography#Kar97) describes a way to provide a mapping algorithm that remains relatively stable even when new backends are added to or removed from the list. This approach minimizes the disruption to existing connections when the pool of backends changes. As a result, we can usually use simple connection tracking, but fall back to consistent hashing when the system is under pressure (e.g., during an ongoing denial of service attack).\n\nReturning to the larger question: how exactly should a network load balancer forward packets to a selected VIP backend? One solution is to perform a Network Address Translation. However, this requires keeping an entry of every single connection in the tracking table, which precludes having a completely stateless fallback mechanism.\n\nAnother solution is to modify information on the data link layer (layer 2 of the OSI networking model). By changing the destination MAC address of a forwarded packet, the balancer can leave all the information in upper layers intact, so the backend receives the original source and destination IP addresses. The backend can then send a reply directly to the original sender—a technique known as *Direct Server Response* (DSR). If user requests are small and replies are large (e.g., most HTTP requests), DSR provides tremendous savings, because only a small fraction of traffic need traverse the load balancer. Even better, DSR does not require us to keep state on the load balancer device. Unfortunately, using layer 2 for internal load balancing *does* incur serious disadvantages when deployed at scale: all machines (i.e., all load balancers and all their backends) must be able to reach each other at the data link layer. This isn’t an issue if this connectivity can be supported by the network and the number of machines doesn’t grow excessively, because all the machines need to reside in a single broadcast domain. As you may imagine, Google outgrew this solution quite some time ago, and had to find an alternate approach.\n\nOur current VIP load balancing solution [[Eis16]](/sre-book/bibliography#Eis16) uses packet encapsulation. A network load balancer puts the forwarded packet into another IP packet with Generic Routing Encapsulation (GRE) [[Han94]](/sre-book/bibliography#Han94), and uses a backend’s address as the destination. A backend receiving the packet strips off the outer IP+GRE layer and processes the inner IP packet as if it were delivered directly to its network interface. The network load balancer and the backend no longer need to exist in the same broadcast domain; they can even be on separate continents as long as a route between the two exists.\n\nPacket encapsulation is a powerful mechanism that provides great flexibility in the way our networks are designed and evolve. Unfortunately, encapsulation also comes with a price: inflated packet size. Encapsulation introduces overhead (24 bytes in the case of IPv4+GRE, to be precise), which can cause the packet to exceed the available Maximum Transmission Unit (MTU) size and require fragmentation.\n\nOnce the packet reaches the datacenter, fragmentation can be avoided by using a larger MTU within the datacenter; however, this approach requires a network that supports large Protocol Data Units. As with many things at scale, load balancing sounds simple on the surface—load balance early and load balance often—but the difficulty is in the details, both for frontend load balancing and for handling packets once they reach the datacenter.\n\n103See [*https://groups.google.com/forum/#!topic/public-dns-announce/67oxFjSLeUM*](https://groups.google.com/forum/#!topic/public-dns-announce/67oxFjSLeUM).\n\n104Sadly, not all DNS resolvers respect the TTL value set by authoritative nameservers.\n\n105Otherwise, users must establish a TCP connection just to get a list of IP addresses.", "znaku_textu": 16903, "slov": 2695, "odkazu": 65, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:00", "sha256": "0d45a0a8252fae3a7fcca4a83eaedd2373420667620407c3cb56d81865417763", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://groups.google.com/forum/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/managing-critical-state/", "titulek": "Google SRE: Distributed Consensus algorithms and CAP Theorem", "h1": "Managing Critical State: Distributed Consensus for Reliability", "popis": "What is distributed consensus algorithm? Explore fundamentals, CAP theorem and system design patterns, locking and shared state.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/managing-critical-state/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/managing-critical-state/"}, "headline": "Managing Critical State: Distributed Consensus for Reliability", "description": "Processes crash or may need to be restarted. Hard drives fail. Natural disasters can take out several datacenters in a region. Site Reliability Engineers need to anticipate these sorts of failures and develop strategies to keep systems running in spite of them. These strategies usually entail running such systems across multiple sites.", "image": "https://lh3.googleusercontent.com/l3lGJFDOvFKpsaId8ginIAdKmM3oYYzy-4NjADzrE7MRYxoezhYXOd0xiqZnpr1Phg7I5bqyBesogyV4oGik09JFQg8vAmQxlrvyj9A", "author": [{"@type": "Person", "name": "Laura Nolan"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Managing Critical State: Distributed Consensus for Reliability"}, {"uroven": 5, "text": "CAP Theorem"}, {"uroven": 2, "text": "Motivating the Use of Consensus: Distributed Systems Coordination Failure"}, {"uroven": 2, "text": "Case Study 1: The Split-Brain Problem"}, {"uroven": 2, "text": "Case Study 2: Failover Requires Human Intervention"}, {"uroven": 2, "text": "Case Study 3: Faulty Group-Membership Algorithms"}, {"uroven": 1, "text": "How Distributed Consensus Works"}, {"uroven": 2, "text": "Paxos Overview: An Example Protocol"}, {"uroven": 1, "text": "System Architecture Patterns for Distributed Consensus"}, {"uroven": 2, "text": "Reliable Replicated State Machines"}, {"uroven": 2, "text": "Reliable Replicated Datastores and Configuration Stores"}, {"uroven": 2, "text": "Highly Available Processing Using Leader Election"}, {"uroven": 2, "text": "Distributed Coordination and Locking Services"}, {"uroven": 2, "text": "Reliable Distributed Queuing and Messaging"}, {"uroven": 1, "text": "Distributed Consensus Performance"}, {"uroven": 2, "text": "Multi-Paxos: Detailed Message Flow"}, {"uroven": 2, "text": "Scaling Read-Heavy Workloads"}, {"uroven": 2, "text": "Quorum Leases"}, {"uroven": 2, "text": "Distributed Consensus Performance and Network Latency"}, {"uroven": 2, "text": "Reasoning About Performance: Fast Paxos"}, {"uroven": 2, "text": "Stable Leaders"}, {"uroven": 2, "text": "Batching"}, {"uroven": 2, "text": "Disk Access"}, {"uroven": 1, "text": "Deploying Distributed Consensus-Based Systems"}, {"uroven": 2, "text": "Number of Replicas"}, {"uroven": 2, "text": "Location of Replicas"}, {"uroven": 2, "text": "Capacity and Load Balancing"}, {"uroven": 3, "text": "Quorum composition"}, {"uroven": 1, "text": "Monitoring Distributed Consensus Systems"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Managing Critical State: Distributed Consensus for Reliability\n\nWritten by Laura Nolan\nEdited by Tim Harvey\n\nProcesses crash or may need to be restarted. Hard drives fail. Natural disasters can take out several datacenters in a region. Site Reliability Engineers need to anticipate these sorts of failures and develop strategies to keep systems running in spite of them. These strategies usually entail running such systems across multiple sites. Geographically distributing a system is relatively straightforward, but also introduces the need to maintain a consistent view of system state, which is a more nuanced and difficult undertaking.\n\nGroups of processes may want to reliably agree on questions such as:\n\n- Which process is the leader of a group of processes?\n- What is the set of processes in a group?\n- Has a message been successfully committed to a distributed queue?\n- Does a process hold a lease or not?\n- What is a value in a datastore for a given key?\n\nWe’ve found distributed consensus to be effective in building reliable and highly available systems that require a consistent view of some system state. The distributed consensus problem deals with reaching agreement among a group of processes connected by an unreliable communications network. For instance, several processes in a [distributed system](https://sre.google/sre-book/monitoring-distributed-systems/) may need to be able to form a consistent view of a critical piece of configuration, whether or not a distributed lock is held, or if a message on a queue has been processed. It is one of the most fundamental concepts in distributed computing and one we rely on for virtually every service we offer. Figure 23-1 illustrates a simple model of how a group of processes can achieve a consistent view of system state through distributed consensus.\n\nFigure 23-1. Distributed consensus: agreement among a group of processes\n\nWhenever you see leader election, critical shared state, or distributed locking, we recommend using *distributed consensus systems that have been formally proven and tested thoroughly*. Informal approaches to solving this problem can lead to outages, and more insidiously, to subtle and hard-to-fix data consistency problems that may prolong outages in your system unnecessarily.\n\n##### CAP Theorem\n\nThe CAP theorem ([[Fox99]](/sre-book/bibliography#Fox99), [[Bre12]](/sre-book/bibliography#Bre12)) holds that a distributed system cannot simultaneously have all three of the following properties:\n\n- Consistent views of the data at each node\n- Availability of the data at each node\n- Tolerance to network partitions [[Gil02]](/sre-book/bibliography#Gil02)\n\nThe logic is intuitive: if two nodes can’t communicate (because the network is partitioned), then the system as a whole can either stop serving some or all requests at some or all nodes (thus reducing availability), or it can serve requests as usual, which results in inconsistent views of the data at each node.\n\nBecause network partitions are inevitable (cables get cut, packets get lost or delayed due to congestion, hardware breaks, networking components become misconfigured, etc.), understanding distributed consensus really amounts to understanding how consistency and availability work for your particular application. Commercial pressures often demand high levels of availability, and many applications require consistent views on their data.\n\nSystems and software engineers are usually familiar with the traditional ACID datastore semantics (Atomicity, Consistency, Isolation, and Durability), but a growing number of distributed datastore technologies provide a different set of semantics known as BASE (Basically Available, Soft state, and Eventual consistency). Datastores that support BASE semantics have useful applications for certain kinds of data and can handle large volumes of data and transactions that would be much more costly, and perhaps altogether infeasible, with datastores that support ACID semantics.\n\nMost of these systems that support BASE semantics rely on multimaster replication, where writes can be committed to different processes concurrently, and there is some mechanism to resolve conflicts (often as simple as \"latest timestamp wins\"). This approach is usually known as *eventual consistency*. However, eventual consistency can lead to surprising results [[Lu15]](/sre-book/bibliography#Lu15), particularly in the event of *clock drift* (which is inevitable in distributed systems) or network partitioning [[Kin15]](/sre-book/bibliography#Kin15).112\n\nIt is also difficult for developers to design systems that work well with datastores that support only BASE semantics. Jeff Shute [[Shu13]](/sre-book/bibliography#Shu13), for example, has stated, “we find developers spend a significant fraction of their time building extremely complex and error-prone mechanisms to cope with eventual consistency and handle data that may be out of date. We think this is an unacceptable burden to place on developers and that consistency problems should be solved at the database level.\"\n\nSystem designers cannot sacrifice correctness in order to achieve reliability or performance, particularly around critical state. For example, consider a system that handles financial transactions: reliability or performance requirements don’t provide much value if the financial data is not correct. Systems need to be able to reliably synchronize critical state across multiple processes. Distributed consensus algorithms provide this functionality.\n\n## Motivating the Use of Consensus: Distributed Systems Coordination Failure\n\nDistributed systems are complex and subtle to understand, monitor, and troubleshoot. Engineers running such systems are often surprised by behavior in the presence of failures. Failures are relatively rare events, and it is not a usual practice to test systems under these conditions. It is very difficult to reason about system behavior during failures. Network partitions are particularly challenging—a problem that appears to be caused by a full partition may instead be the result of:\n\n- A very slow network\n- Some, but not all, messages being dropped\n- Throttle occurring in one direction, but not the other direction\n\nThe following sections provide examples of problems that occurred in real-world distributed systems and discuss how leader election and distributed consensus algorithms could be used to prevent such issues.\n\n## Case Study 1: The Split-Brain Problem\n\nA service is a content repository that allows collaboration between multiple users. It uses sets of two replicated file servers in different racks for reliability. The service needs to avoid writing data simultaneously to both file servers in a set, because doing so could result in data corruption (and possibly unrecoverable data).\n\nEach pair of file servers has one leader and one follower. The servers monitor each other via heartbeats. If one file server cannot contact its partner, it issues a STONITH (Shoot The Other Node in the Head) command to its partner node to shut the node down, and then takes mastership of its files. This practice is an industry standard method of reducing split-brain instances, although as we shall see, it is conceptually unsound.\n\nWhat happens if the network becomes slow, or starts dropping packets? In this scenario, file servers exceed their heartbeat timeouts and, as designed, send STONITH commands to their partner nodes and take mastership. However, some commands may not be delivered due to the compromised network. File server pairs may now be in a state in which both nodes are expected to be active for the same resource, or where both are down because both issued and received STONITH commands. This results in either corruption or unavailability of data.\n\nThe problem here is that the system is trying to solve a leader election problem using simple timeouts. Leader election is a reformulation of the distributed asynchronous consensus problem, which cannot be solved correctly by using heartbeats.\n\n## Case Study 2: Failover Requires Human Intervention\n\nA highly sharded database system has a primary for each shard, which replicates synchronously to a secondary in another datacenter. An external system checks the health of the primaries, and, if they are no longer healthy, promotes the secondary to primary. If the primary can’t determine the health of its secondary, it makes itself unavailable and escalates to a human in order to avoid the split-brain scenario seen in Case Study 1.\n\nThis solution doesn’t risk data loss, but it does negatively impact availability of data. It also unnecessarily increases operational load on the engineers who run the system, and human intervention scales poorly. This sort of event, where a primary and secondary have problems communicating, is highly likely to occur in the case of a larger infrastructure problem, when the responding engineers may already be overloaded with other tasks. If the network is so badly affected that a distributed consensus system cannot elect a master, a human is likely not better positioned to do so.\n\n## Case Study 3: Faulty Group-Membership Algorithms\n\nA system has a component that performs indexing and searching services. When starting, nodes use a gossip protocol to discover each other and join the cluster. The cluster elects a leader, which performs coordination. In the case of a network partition that splits the cluster, each side (incorrectly) elects a master and accepts writes and deletions, leading to a split-brain scenario and data corruption.\n\nThe problem of determining a consistent view of group membership across a group of processes is another instance of the distributed consensus problem.\n\nIn fact, many distributed systems problems turn out to be different versions of distributed consensus, including master election, group membership, all kinds of distributed locking and leasing, reliable distributed queuing and messaging, and maintenance of any kind of critical shared state that must be viewed consistently across a group of processes. All of these problems should be solved only using distributed consensus algorithms that have been proven formally correct, and whose implementations have been tested extensively. Ad hoc means of solving these sorts of problems (such as heartbeats and gossip protocols) will always have reliability problems in practice.\n\n# How Distributed Consensus Works\n\nThe consensus problem has multiple variants. When dealing with distributed software systems, we are interested in *asynchronous distributed consensus*, which applies to environments with potentially unbounded delays in message passing. (*Synchronous consensus* applies to real-time systems, in which dedicated hardware means that messages will always be passed with specific timing guarantees.)\n\nDistributed consensus algorithms may be *crash-fail* (which assumes that crashed nodes never return to the system) or *crash-recover*. Crash-recover algorithms are much more useful, because most problems in real systems are transient in nature due to a slow network, restarts, and so on.\n\nAlgorithms may deal with Byzantine or non-Byzantine failures. *Byzantine failure* occurs when a process passes incorrect messages due to a bug or malicious activity, and are comparatively costly to handle, and less often encountered.\n\nTechnically, solving the asynchronous distributed consensus problem in bounded time is impossible. As proven by the Dijkstra Prize–winning *FLP impossibility result* [[Fis85]](/sre-book/bibliography#Fis85), no asynchronous distributed consensus algorithm can guarantee progress in the presence of an unreliable network.\n\nIn practice, we approach the distributed consensus problem in bounded time by ensuring that the system will have sufficient healthy replicas and network connectivity to make progress reliably most of the time. In addition, the system should have backoffs with randomized delays. This setup both prevents retries from causing cascade effects and avoids the dueling proposers problem described later in this chapter. The protocols guarantee safety, and adequate redundancy in the system encourages liveness.\n\nThe original solution to the distributed consensus problem was Lamport’s Paxos protocol [[Lam98]](/sre-book/bibliography#Lam98), but other protocols exist that solve the problem, including Raft [[Ong14]](/sre-book/bibliography#Ong14), Zab [[Jun11]](/sre-book/bibliography#Jun11), and Mencius [[Mao08]](/sre-book/bibliography#Mao08). Paxos itself has many variations intended to increase performance [[Zoo14]](/sre-book/bibliography#Zoo14). These usually vary only in a single detail, such as giving a special leader role to one process to streamline the protocol.\n\n## Paxos Overview: An Example Protocol\n\nPaxos operates as a sequence of proposals, which may or may not be accepted by a majority of the processes in the system. If a proposal isn’t accepted, it fails. Each proposal has a sequence number, which imposes a strict ordering on all of the operations in the system.\n\nIn the first phase of the protocol, the proposer sends a sequence number to the acceptors. Each acceptor will agree to accept the proposal only if it has not yet seen a proposal with a higher sequence number. Proposers can try again with a higher sequence number if necessary. Proposers must use unique sequence numbers (drawing from disjoint sets, or incorporating their hostname into the sequence number, for instance).\n\nIf a proposer receives agreement from a majority of the acceptors, it can commit the proposal by sending a commit message with a value.\n\nThe strict sequencing of proposals solves any problems relating to ordering of messages in the system. The requirement for a majority to commit means that two different values cannot be committed for the same proposal, because any two majorities will overlap in at least one node. Acceptors must write a journal on persistent storage whenever they agree to accept a proposal, because the acceptors need to honor these guarantees after restarting.\n\nPaxos on its own isn’t that useful: all it lets you do is to agree on a value and proposal number once. Because only a quorum of nodes need to agree on a value, any given node may not have a complete view of the set of values that have been agreed to. This limitation is true for most distributed consensus algorithms.\n\n# System Architecture Patterns for Distributed Consensus\n\nDistributed consensus algorithms are low-level and primitive: they simply allow a set of nodes to agree on a value, once. They don’t map well to real design tasks. What makes distributed consensus useful is the addition of higher-level system components such as datastores, configuration stores, queues, locking, and leader election services to provide the practical system functionality that distributed consensus algorithms don’t address. Using higher-level components reduces complexity for system designers. It also allows underlying distributed consensus algorithms to be changed if necessary in response to changes in the environment in which the system runs or changes in nonfunctional requirements.\n\nMany systems that successfully use consensus algorithms actually do so as clients of some service that implements those algorithms, such as Zookeeper, Consul, and etcd. Zookeeper [[Hun10]](/sre-book/bibliography#Hun10) was the first open source consensus system to gain traction in the industry because it was easy to use, even with applications that weren’t designed to use distributed consensus. The Chubby service fills a similar niche at Google. Its authors point out [[Bur06]](/sre-book/bibliography#Bur06) that providing consensus primitives as a service rather than as libraries that engineers build into their applications frees application maintainers of having to deploy their systems in a way compatible with a highly available consensus service (running the right number of replicas, dealing with group membership, dealing with performance, etc.).\n\n## Reliable Replicated State Machines\n\nA *replicated state machine* (RSM) is a system that executes the same set of operations, in the same order, on several processes. RSMs are the fundamental building block of useful distributed systems components and services such as data or configuration storage, locking, and leader election (described in more detail later).\n\nThe operations on an RSM are ordered globally through a consensus algorithm. This is a powerful concept: several papers ([[Agu10]](/sre-book/bibliography#Agu10), [[Kir08]](/sre-book/bibliography#Kir08), [[Sch90]](/sre-book/bibliography#Sch90)) show that any deterministic program can be implemented as a highly available replicated service by being implemented as an RSM.\n\nAs shown in Figure 23-2, replicated state machines are a system implemented at a logical layer above the consensus algorithm. The consensus algorithm deals with agreement on the sequence of operations, and the RSM executes the operations in that order. Because not every member of the consensus group is necessarily a member of each consensus quorum, RSMs may need to synchronize state from peers. As described by Kirsch and Amir [[Kir08]](/sre-book/bibliography#Kir08), you can use a *sliding-window protocol* to reconcile state between peer processes in an RSM.\n\nFigure 23-2. The relationship between consensus algorithms and replicated state machines\n\n## Reliable Replicated Datastores and Configuration Stores\n\nReliable replicated datastores are an application of replicated state machines. Replicated datastores use consensus algorithms in the critical path of their work. Thus, performance, throughput, and the ability to scale are very important in this type of design. As with datastores built with other underlying technologies, consensus-based datastores can provide a variety of consistency semantics for read operations, which make a huge difference to how the datastore scales. These trade-offs are discussed in Distributed Consensus Performance.\n\nOther (nondistributed-consensus–based) systems often simply rely on timestamps to provide bounds on the age of data being returned. Timestamps are highly problematic in distributed systems because it’s impossible to guarantee that clocks are synchronized across multiple machines. Spanner [[Cor12]](/sre-book/bibliography#Cor12) addresses this problem by modeling the worst-case uncertainty involved and slowing down processing where necessary to resolve that uncertainty.\n\n## Highly Available Processing Using Leader Election\n\nLeader election in distributed systems is an equivalent problem to distributed consensus. Replicated services that use a single leader to perform some specific type of work in the system are very common; the single leader mechanism is a way of ensuring mutual exclusion at a coarse level.\n\nThis type of design is appropriate where the work of the service leader can be performed by one process or is sharded. System designers can construct a highly available service by writing it as though it was a simple program, replicating that process and using leader election to ensure that only one leader is working at any point in time (as shown in Figure 23-3). Often the work of the leader is that of coordinating some pool of workers in the system. This pattern was used in GFS [[Ghe03]](/sre-book/bibliography#Ghe03) (which has been replaced by Colossus) and the Bigtable key-value store [[Cha06]](/sre-book/bibliography#Cha06).\n\nFigure 23-3. Highly available system using a replicated service for master election\n\nIn this type of component, unlike the replicated datastore, the consensus algorithm is not in the critical path of the main work the system is doing, so throughput is usually not a major concern.\n\n## Distributed Coordination and Locking Services\n\nA *barrier* in a distributed computation is a primitive that blocks a group of processes from proceeding until some condition is met (for example, until all parts of one phase of a computation are completed). Use of a barrier effectively splits a distributed computation into logical phases. For instance, as shown in Figure 23-4, a barrier could be used in implementing the MapReduce [[Dea04]](/sre-book/bibliography#Dea04) model to ensure that the entire Map phase is completed before the Reduce part of the computation proceeds.\n\nFigure 23-4. Barriers for process coordination in the MapReduce computation\n\nThe barrier could be implemented by a single coordinator process, but this implementation adds a single point of failure that is usually unacceptable. The barrier can also be implemented as an RSM. The Zookeeper consensus service can implement the barrier pattern: see [[Hun10]](/sre-book/bibliography#Hun10) and [[Zoo14]](/sre-book/bibliography#Zoo14).\n\n*Locks* are another useful coordination primitive that can be implemented as an RSM. Consider a distributed system in which worker processes atomically consume some input files and write results. Distributed locks can be used to prevent multiple workers from processing the same input file. In practice, it is essential to use renewable leases with timeouts instead of indefinite locks, because doing so prevents locks from being held indefinitely by processes that crash. Distributed locking is beyond the scope of this chapter, but bear in mind that distributed locks are a low-level systems primitive that should be used with care. Most applications should use a higher-level system that provides distributed transactions.\n\n## Reliable Distributed Queuing and Messaging\n\nQueues are a common data structure, often used as a way to distribute tasks between a number of worker processes.\n\nQueuing-based systems can tolerate failure and loss of worker nodes relatively easily. However, the system must ensure that claimed tasks are successfully processed. For that purpose, a *lease system* (discussed earlier in regard to locks) is recommended instead of an outright removal from the queue. The downside of queuing-based systems is that loss of the queue prevents the entire system from operating. Implementing the queue as an RSM can minimize the risk, and make the entire system far more robust.\n\n*Atomic broadcast* is a distributed systems primitive in which messages are received reliably and in the same order by all participants. This is an incredibly powerful distributed systems concept and very useful in designing practical systems. A huge number of publish-subscribe messaging infrastructures exist for the use of system designers, although not all of them provide atomic guarantees. Chandra and Toueg [[Cha96]](/sre-book/bibliography#Cha96) demonstrate the equivalence of atomic broadcast and consensus.\n\nThe *queuing-as-work-distribution* pattern, which uses the queue as a load balancing device, as shown in Figure 23-5, can be considered to be point-to-point messaging. Messaging systems usually also implement a publish-subscribe queue, where messages may be consumed by many clients that subscribe to a channel or topic. In this one-to-many case, the messages on the queue are stored as a persistent ordered list. Publish-subscribe systems can be used for many types of applications that require clients to subscribe to receive notifications of some type of event. Publish-subscribe systems can also be used to implement coherent distributed caches.\n\nFigure 23-5. A queue-oriented work distribution system using a reliable consensus-based queuing component\n\nQueuing and messaging systems often need excellent throughput, but don’t need extremely low latency (due to seldom being directly user-facing). However, very high latencies in a system like the one just described, which has multiple workers claiming tasks from a queue, could become a problem if the percentage of processing time for each task grew significantly.\n\n# Distributed Consensus Performance\n\nConventional wisdom has generally held that consensus algorithms are too slow and costly to use for many systems that require high throughput *and* low latency [[Bol11]](/sre-book/bibliography#Bol11). This conception is simply not true—while implementations can be slow, there are a number of tricks that can improve performance. Distributed consensus algorithms are at the core of many of Google’s critical systems, described in [[Ana13]](/sre-book/bibliography#Ana13), [[Bur06]](/sre-book/bibliography#Bur06), [[Cor12]](/sre-book/bibliography#Cor12), and [[Shu13]](/sre-book/bibliography#Shu13), and they have proven extremely effective in practice. Google’s scale is not an advantage here: in fact, our scale is more of a disadvantage because it introduces two main challenges: our datasets tend to be large and our systems run over a wide geographical distance. Larger datasets multiplied by several replicas represent significant computing costs, and larger geographical distances increase latency between replicas, which in turn reduces performance.\n\nThere is no one \"best\" distributed consensus and state machine replication algorithm for performance, because performance is dependent on a number of factors relating to workload, the system’s performance objectives, and how the system is to be deployed.113 While some of the following sections present research, with the aim of increasing understanding of what is possible to achieve with distributed consensus, many of the systems described are available and are in use now.\n\n*Workloads* can vary in many ways and understanding how they can vary is critical to discussing performance. In the case of a consensus system, workload may vary in terms of:\n\n- Throughput: the number of proposals being made per unit of time at peak load\n- The type of requests: proportion of operations that change state\n- The consistency semantics required for read operations\n- Request sizes, if size of data payload can vary\n\nDeployment strategies vary, too. For example:\n\n- Is the deployment local area or wide area?\n- What kinds of quorum are used, and where are the majority of\nprocesses?\n- Does the system use sharding, pipelining, and batching?\n\nMany consensus systems use a distinguished leader process and require all requests to go to this special node. As shown in Figure 23-6, as a result, the performance of the system as perceived by clients in different geographic locations may vary considerably, simply because more distant nodes have longer round-trip times to the leader process.\n\nFigure 23-6. The effect of distance from a server process on perceived latency at the client\n\n## Multi-Paxos: Detailed Message Flow\n\nThe Multi-Paxos protocol uses a *strong leader process*: unless a leader has not yet been elected or some failure occurs, it requires only one round trip from the proposer to a quorum of acceptors to reach consensus. Using a strong leader process is optimal in terms of the number of messages to be passed, and is typical of many consensus protocols.\n\nFigure 23-7 shows an initial state with a new proposer executing the first `Prepare`/`Promise` phase of the protocol. Executing this phase establishes a new numbered view, or leader term. On subsequent executions of the protocol, while the view remains the same, the first phase is unnecessary because the proposer that established the view can simply send `Accept` messages, and consensus is reached once a quorum of responses is received (including the proposer itself).\n\nFigure 23-7. Basic Multi-Paxos message flow\n\nAnother process in the group can assume the proposer role to propose messages at any time, but changing the proposer has a performance cost. It necessitates the extra round trip to execute Phase 1 of the protocol, but more importantly, it may cause a *dueling proposers* situation in which proposals repeatedly interrupt each other and no proposals can be accepted, as shown in Figure 23-8. Because this scenario is a form of a livelock, it can continue indefinitely.\n\nFigure 23-8. Dueling proposers in Multi-Paxos\n\nAll practical consensus systems address this issue of collisions, usually either by electing a proposer process, which makes all proposals in the system, or by using a rotating proposer that allocates each process particular slots for their proposals.\n\nFor systems that use a leader process, the leader election process must be tuned carefully to balance the system unavailability that occurs when no leader is present with the risk of dueling proposers. It’s important to implement the right timeouts and backoff strategies. If multiple processes detect that there is no leader and all attempt to become leader at the same time, then none of the processes is likely to succeed (again, dueling proposers). Introducing randomness is the best approach. Raft [[Ong14]](/sre-book/bibliography#Ong14), for example, has a well-thought-out method of approaching the leader election process.\n\n## Scaling Read-Heavy Workloads\n\nScaling read workload is often critical because many workloads are read-heavy. Replicated datastores have the advantage that the data is available in multiple places, meaning that if strong consistency is not required for all reads, data could be read from *any* replica. This technique of reading from replicas works well for certain applications, such as Google’s Photon system [[Ana13]](/sre-book/bibliography#Ana13), which uses distributed consensus to coordinate the work of multiple pipelines. Photon uses an atomic compare-and-set operation for state modification (inspired by atomic registers), which must be absolutely consistent; but read operations may be served from any replica, because stale data results in extra work being performed but not incorrect results [[Gup15]](/sre-book/bibliography#Gup15). The trade-off is worthwhile.\n\nIn order to guarantee that data being read is up-to-date and consistent with any changes made before the read is performed, it is necessary to do one of the following:\n\n- Perform a read-only consensus operation.\n- Read the data from a replica that is guaranteed to be the most up-to-date. In a system that uses a stable leader process (as many distributed consensus implementations do), the leader can provide this guarantee.\n- Use quorum leases, in which some replicas are granted a lease on all or part of the data in the system, allowing strongly consistent local reads at the cost of some write performance. This technique is discussed in detail in the following section.\n\n## Quorum Leases\n\nQuorum leases [[Mor14]](/sre-book/bibliography#Mor14) are a recently developed distributed consensus performance optimization aimed at reducing latency and increasing throughput for read operations. As previously mentioned, in the case of classic Paxos and most other distributed consensus protocols, performing a strongly consistent read (i.e., one that is guaranteed to have the most up-to-date view of state) requires either a distributed consensus operation that reads from a quorum of replicas, or a stable leader replica that is guaranteed to have seen all recent state changing operations. In many systems, read operations vastly outnumber writes, so this reliance on either a distributed operation or a single replica harms latency and system throughput.\n\nThe quorum leasing technique simply grants a read lease on some subset of the replicated datastore’s state to a quorum of replicas. The lease is for a specific (usually brief) period of time. Any operation that changes the state of that data must be acknowledged by all replicas in the read quorum. If any of these replicas becomes unavailable, the data cannot be modified until the lease expires.\n\nQuorum leases are particularly useful for read-heavy workloads in which reads for particular subsets of the data are concentrated in a single geographic region.\n\n## Distributed Consensus Performance and Network Latency\n\nConsensus systems face two major physical constraints on performance when committing state changes. One is network round-trip time and the other is time it takes to write data to persistent storage, which will be examined later.\n\nNetwork round-trip times vary enormously depending on source and destination location, which are impacted both by the physical distance between the source and the destination, and by the amount of congestion on the network. Within a single datacenter, round-trip times between machines should be on the order of a millisecond. A typical round-trip-time (RTT) within the United States is 45 milliseconds, and from New York to London is 70 milliseconds.\n\nConsensus system performance over a local area network can be comparable to that of an asynchronous leader-follower replication system [[Bol11]](/sre-book/bibliography#Bol11), such as many traditional databases use for replication. However, much of the availability benefits of distributed consensus systems require replicas to be \"distant\" from each other, in order to be in different failure domains.\n\nMany consensus systems use TCP/IP as their communication protocol. TCP/IP is connection-oriented and provides some strong reliability guarantees regarding FIFO sequencing of messages. However, setting up a new TCP/IP connection requires a network round trip to perform the three-way handshake that sets up a connection before any data can be sent or received. TCP/IP slow start initially limits the bandwidth of the connection until its limits have been established. Initial TCP/IP window sizes range from 4 to 15 KB.\n\nTCP/IP slow start is probably not an issue for the processes that form a consensus group: they will establish connections to each other and keep these connections open for reuse because they’ll be in frequent communication. However, for systems with a very high number of clients, it may not be practical for all clients to keep a persistent connection to the consensus clusters open, because open TCP/IP connections do consume some resources, e.g., file descriptors, in addition to generating keepalive traffic. This overhead may be an important issue for applications that use very highly sharded consensus-based datastores containing thousands of replicas and an even larger numbers of clients. A solution is to use a pool of regional proxies, as shown in Figure 23-9, which hold persistent TCP/IP connections to the consensus group in order to avoid the setup overhead over long distances. Proxies may also be a good way to encapsulate sharding and load balancing strategies, as well as discovery of cluster members and leaders.\n\nFigure 23-9. Using proxies to reduce the need for clients to open TCP/IP connections across regions\n\n## Reasoning About Performance: Fast Paxos\n\nFast Paxos [[Lam06]](/sre-book/bibliography#Lam06) is a version of the Paxos algorithm designed to improve its performance over wide area networks. Using Fast Paxos, each client can send `Propose` messages directly to each member of a group of acceptors, instead of through a leader, as in Classic Paxos or Multi-Paxos. The idea is to substitute one parallel message send from the client to all acceptors in Fast Paxos for two message send operations in Classic Paxos:\n\n- One message from the client to a single proposer\n- A parallel message send operation from the proposer to the other replicas\n\nIntuitively, it seems as though Fast Paxos should always be faster than Classic Paxos. However, that’s not true: if the client in the Fast Paxos system has a high RTT (round-trip time) to the acceptors, and the acceptors have fast connections to each other, we have substituted *N* parallel messages across the slower network links (in Fast Paxos) for one message across the slower link plus *N* parallel messages across the faster links (Classic Paxos). Due to the latency tail effect, the majority of the time, a single round trip across a slow link with a distribution of latencies is faster than a quorum (as shown in [[Jun07]](/sre-book/bibliography#Jun07)), and therefore, Fast Paxos is slower than Classic Paxos in this case.\n\nMany systems batch multiple operations into a single transaction at the acceptor to increase throughput. Having clients act as proposers also makes it much more difficult to batch proposals. The reason for this is that proposals arrive independently at acceptors so you can’t then batch them in a consistent way.\n\n## Stable Leaders\n\nWe have seen how Multi-Paxos elects a stable leader to improve performance. Zab [[Jun11]](/sre-book/bibliography#Jun11) and Raft [[Ong14]](/sre-book/bibliography#Ong14) are also examples of protocols that elect a stable leader for performance reasons. This approach can allow read optimizations, as the leader has the most up-to-date state, but also has several problems:\n\n- All operations that change state must be sent via the leader, a requirement that adds network latency for clients that are not located near the leader.\n- The leader process’s outgoing network bandwidth is a system bottleneck [[Mao08]](/sre-book/bibliography#Mao08) , because the leader’s `Accept` message contains all of the data related to any proposal, whereas other messages contain only acknowledgments of a numbered transaction with no data payload.\n- If the leader happens to be on a machine with performance problems, then the throughput of the entire system will be reduced.\n\nAlmost all distributed consensus systems that have been designed with performance in mind use either the single stable leader pattern or a system of rotating leadership in which each numbered distributed consensus algorithm is preassigned to a replica (usually by a simple modulus of the transaction ID). Algorithms that use this approach include Mencius [[Mao08]](/sre-book/bibliography#Mao08) and Egalitarian Paxos [[Mor12a]](/sre-book/bibliography#Mor12a).\n\nOver a wide area network with clients spread out geographically and replicas from the consensus group located reasonably near to the clients, such leader election leads to lower perceived latency for clients because their network RTT to the nearest replica will, on average, be smaller than that to an arbitrary leader.\n\n## Batching\n\nBatching, as described in Reasoning About Performance: Fast Paxos, increases system throughput, but it still leaves replicas idle while they await replies to messages they have sent. The inefficiencies presented by idle replicas can be solved by *pipelining*, which allows multiple proposals to be in-flight at once. This optimization is very similar to the TCP/IP case, in which the protocol attempts to \"keep the pipe full\" using a sliding-window approach. Pipelining is normally used in combination with batching.\n\nThe batches of requests in the pipeline are still globally ordered with a view number and a transaction number, so this method does not violate the global ordering properties required to run a replicated state machine. This optimization method is discussed in [[Bol11]](/sre-book/bibliography#Bol11) and [[San11]](/sre-book/bibliography#San11).\n\n## Disk Access\n\nLogging to persistent storage is required so that a node, having crashed and returned to the cluster, honors whatever previous commitments it made regarding ongoing consensus transactions. In the Paxos protocol, for instance, acceptors cannot agree to a proposal when they have already agreed to a proposal with a higher sequence number. If details of agreed and committed proposals are not logged to persistent storage, then an acceptor might violate the protocol if it crashes and is restarted, leading to inconsistent state.\n\nThe time required to write an entry to a log on disk varies greatly depending on what hardware or virtualized environment is used, but is likely to take between one and several milliseconds.\n\nThe message flow for Multi-Paxos was discussed in Multi-Paxos: Detailed Message Flow, but this section did not show where the protocol must log state changes to disk. A disk write must happen whenever a process makes a commitment that it must honor. In the performance-critical second phase of Multi-Paxos, these points occur before an acceptor sends an `Accepted` message in response to a proposal, and before the proposer sends the `Accept` message, because this `Accept` message is also an implicit `Accepted` message [[Lam98]](/sre-book/bibliography#Lam98).\n\nThis means that the latency for a single consensus operation involves the following:\n\n- One disk write on the proposer\n- Parallel messages to the acceptors\n- Parallel disk writes at the acceptors\n- The return messages\n\nThere is a version of the [Multi-Paxos protocol](https://sre.google/sre-book/distributed-periodic-scheduling/) that’s useful for cases in which disk write time dominates: this variant doesn’t consider the proposer’s `Accept` message to be an implicit `Accepted` message. Instead, the proposer writes to disk in parallel with the other processes and sends an explicit `Accept` message. Latency then becomes proportional to the time taken to send two messages and for a quorum of processes to execute a synchronous write to disk in parallel.\n\nIf latency for performing a small random write to disk is on the order of 10 milliseconds, the rate of consensus operations will be limited to approximately 100 per second. These times assume that network round-trip times are negligible and the proposer performs its logging in parallel with the acceptors.\n\nAs we have seen already, distributed consensus algorithms are often used as the basis for building a replicated state machine. RSMs also need to keep transaction logs for recovery purposes (for the same reasons as any datastore). The consensus algorithm’s log and the RSM’s transaction log can be combined into a single log. Combining these logs avoids the need to constantly alternate between writing to two different physical locations on disk [[Bol11]](/sre-book/bibliography#Bol11), reducing the time spent on seek operations. The disks can sustain more operations per second and therefore, the system as a whole can perform more transactions.\n\nIn a datastore, disks have purposes other than maintaining logs: system state is generally maintained on disk. Log writes must be flushed directly to disk, but writes for state changes can be written to a memory cache and flushed to disk later, reordered to use the most efficient schedule [[Bol11]](/sre-book/bibliography#Bol11).\n\nAnother possible optimization is batching multiple client operations together into one operation at the proposer ([[Ana13]](/sre-book/bibliography#Ana13), [[Bol11]](/sre-book/bibliography#Bol11), [[Cha07]](/sre-book/bibliography#Cha07), [[Jun11]](/sre-book/bibliography#Jun11), [[Mao08]](/sre-book/bibliography#Mao08), [[Mor12a]](/sre-book/bibliography#Mor12a)). This amortizes the fixed costs of the disk logging and network latency over the larger number of operations, increasing throughput.\n\n# Deploying Distributed Consensus-Based Systems\n\nThe most critical decisions system designers must make when deploying a consensus-based system concern the number of replicas to be deployed and the location of those replicas.\n\n## Number of Replicas\n\nIn general, consensus-based systems operate using *majority quorums*, i.e., a group of 2f + 1 replicas may tolerate f failures (if Byzantine fault tolerance, in which the system is resistant to replicas returning incorrect results, is required, then 3f + 1 replicas may tolerate f failures [[Cas99]](/sre-book/bibliography#Cas99)). For non-Byzantine failures, the minimum number of replicas that can be deployed is three—if two are deployed, then there is no tolerance for failure of any process. Three replicas may tolerate one failure. Most system downtime is a result of planned maintenance [[Ken12]](/sre-book/bibliography#Ken12): three replicas allow a system to operate normally when one replica is down for maintenance (assuming that the remaining two replicas can handle system load at an acceptable performance).\n\nIf an unplanned failure occurs during a maintenance window, then the consensus system becomes unavailable. Unavailability of the consensus system is usually unacceptable, and so five replicas should be run, allowing the system to operate with up to two failures. No intervention is necessarily required if four out of five replicas in a consensus system remain, but if three are left, an additional replica or two should be added.\n\nIf a consensus system loses so many of its replicas that it cannot form a quorum, then that system is, in theory, in an unrecoverable state because the durable logs of at least one of the missing replicas cannot be accessed. If no quorum remains, it’s possible that a decision that was seen only by the missing replicas was made. Administrators may be able to force a change in the group membership and add new replicas that catch up from the existing one in order to proceed, but the possibility of data loss always remains—a situation that should be avoided if at all possible.\n\nIn a disaster, administrators have to decide whether to perform such a forceful reconfiguration or to wait for some period of time for machines with system state to become available. When such decisions are being made, treatment of the system’s log (in addition to monitoring) becomes critical. Theoretical papers often point out that consensus can be used to construct a replicated log, but fail to discuss how to deal with replicas that may fail and recover (and thus miss some sequence of consensus decisions) or lag due to slowness. In order to maintain robustness of the system, it is important that these replicas do catch up.\n\nThe *replicated log* is not always a first-class citizen in distributed consensus theory, but it is a very important aspect of production systems. Raft describes a method for managing the consistency of replicated logs [[Ong14]](/sre-book/bibliography#Ong14) explicitly defining how any gaps in a replica’s log are filled. If a five-instance Raft system loses all of its members except for its leader, the leader is still guaranteed to have full knowledge of all committed decisions. On the other hand, if the missing majority of members included the leader, no strong guarantees can be made regarding how up-to-date the remaining replicas are.\n\nThere is a relationship between performance and the number of replicas in a system that do not need to form part of a quorum: a minority of slower replicas may lag behind, allowing the quorum of better-performing replicas to run faster (as long as the leader performs well). If replica performance varies significantly, then every failure may reduce the performance of the system overall because slow outliers will be required to form a quorum. The more failures or lagging replicas a system can tolerate, the better the system’s performance overall is likely to be.\n\nThe issue of cost should also be considered in managing replicas: each replica uses costly computing resources. If the system in question is a single cluster of processes, the cost of running replicas is probably not a large consideration. However, the cost of replicas can be a serious consideration for systems such as Photon [[Ana13]](/sre-book/bibliography#Ana13), which uses a sharded configuration in which each shard is a full group of processes running a consensus algorithm. As the number of shards grows, so does the cost of each additional replica, because a number of processes equal to the number of shards must be added to the system.\n\nThe decision about the number of replicas for any system is thus a trade-off between the following factors:\n\n- The need for reliability\n- Frequency of planned maintenance affecting the system\n- Risk\n- Performance\n- Cost\n\nThis calculation will be different for each system: systems have different service level objectives for availability; some organizations perform maintenance more regularly than others; and organizations use hardware of varying cost, quality, and reliability.\n\n## Location of Replicas\n\nDecisions about where to deploy the processes that comprise a consensus cluster are made based upon two factors: a trade-off between the failure domains that the system should handle, and the latency requirements for the system. Multiple complex issues are at play in deciding where to locate replicas.\n\nA *failure domain* is the set of components of a system that can become unavailable as a result of a single failure. Example failure domains include the following:\n\n- A physical machine\n- A rack in a datacenter served by a single power supply\n- Several racks in a datacenter that are served by one piece of networking equipment\n- A datacenter that could be rendered unavailable by a fiber optic cable cut\n- A set of datacenters in a single geographic area that could all be affected by a single natural disaster such as a hurricane\n\nIn general, as the distance between replicas increases, so does the round-trip time between replicas, as well as the size of the failure the system will be able to tolerate. For most consensus systems, increasing the round-trip time between replicas will also increase the latency of operations.\n\nThe extent to which latency matters, as well as the ability to survive a failure in a particular domain, is very system-dependent. Some consensus system architectures don’t require particularly high throughput or low latency: for example, a consensus system that exists in order to provide group membership and leader election services for a highly available service probably isn’t heavily loaded, and if the consensus transaction time is only a fraction of the leader lease time, then its performance isn’t critical. Batch-oriented systems are also less affected by latency: operation batch sizes can be increased to increase throughput.\n\nIt doesn’t always make sense to continually increase the size of the failure domain whose loss the system can withstand. For instance, if all of the clients using a consensus system are running within a particular failure domain (say, the New York area) and deploying a distributed consensus–based system across a wider geographical area would allow it to remain serving during outages in that failure domain (say, Hurricane Sandy), is it worth it? Probably not, because the system’s clients will be down as well so the system will see no traffic. The extra cost in terms of latency, throughput, and computing resources would give no benefit.\n\nYou should take disaster recovery into account when deciding where to locate your replicas: in a system that stores critical data, the consensus replicas are also essentially online copies of the system data. However, when critical data is at stake, it’s important to back up regular snapshots elsewhere, even in the case of solid consensus–based systems that are deployed in several diverse failure domains. There are two failure domains that you can never escape: the software itself, and human error on the part of the system’s administrators. Bugs in software can emerge under unusual circumstances and cause data loss, while system misconfiguration can have similar effects. Human operators can also err, or perform sabotage causing data loss.\n\nWhen making decisions about location of replicas, remember that the most important measure of performance is client perception: ideally, the network round-trip time from the clients to the consensus system’s replicas should be minimized. Over a wide area network, leaderless protocols like Mencius or Egalitarian Paxos may have a performance edge, particularly if the consistency constraints of the application mean that it is possible to execute read-only operations on any system replica without performing a consensus operation.\n\n## Capacity and Load Balancing\n\nWhen designing a deployment, you must make sure there is sufficient capacity to deal with load. In the case of *sharded deployments*, you can adjust capacity by adjusting the number of shards. However, for systems that can read from consensus group members that are not the leader, you can increase read capacity by adding more replicas. Adding more replicas has a cost: in an algorithm that uses a strong leader, adding replicas imposes more load on the leader process, while in a peer-to-peer protocol, adding replicas imposes more load on all processes. However, if there is ample capacity for write operations, but a read-heavy workload is stressing the system, adding replicas may be the best approach.\n\nIt should be noted that adding a replica in a majority quorum system can potentially decrease system availability somewhat (as shown in Figure 23-10). A typical deployment for Zookeeper or Chubby uses five replicas, so a majority quorum requires three replicas. The system will still make progress if two replicas, or 40%, are unavailable. With six replicas, a quorum requires four replicas: only 33% of the replicas can be unavailable if the system is to remain live.\n\nConsiderations regarding failure domains therefore apply even more strongly when a sixth replica is added: if an organization has five datacenters, and generally runs consensus groups with five processes, one in each datacenter, then loss of one datacenter still leaves one spare replica in each group. If a sixth replica is deployed in one of the five datacenters, then an outage in that datacenter removes both of the spare replicas in the group, thereby reducing capacity by 33%.\n\nFigure 23-10. Adding an extra replica in one region may reduce system availability. Colocating multiple replicas in a single datacenter may reduce system availability: here, there is a quorum without any redundancy remaining.\n\nIf clients are dense in a particular geographic region, it is best to locate replicas close to clients. However, deciding where exactly to locate replicas may require some careful thought around load balancing and how a system deals with overload. As shown in Figure 23-11, if a system simply routes client read requests to the nearest replica, then a large spike in load concentrated in one region may overwhelm the nearest replica, and then the next-closest replica, and so on—this is *cascading failure* (see [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/)). This type of overload can often happen as a result of batch jobs beginning, especially if several begin at the same time.\n\nWe’ve already seen the reason that many distributed consensus systems use a leader process to improve performance. However, it’s important to understand that the leader replicas will use more computational resources, particularly outgoing network capacity. This is because the leader sends proposal messages that include the proposed data, but replicas send smaller messages, usually just containing agreement with a particular consensus transaction ID. Organizations that run highly sharded consensus systems with a very large number of processes may find it necessary to ensure that leader processes for the different shards are balanced relatively evenly across different datacenters. Doing so prevents the system as a whole from being bottlenecked on outgoing network capacity for just one datacenter, and makes for much greater overall system capacity.\n\nFigure 23-11. Colocating leader processes leads to uneven bandwidth utilization\n\nAnother downside of deploying consensus groups in multiple datacenters (shown by Figure 23-11) is the very extreme change in the system that can occur if the datacenter hosting the leaders suffers a widespread failure (power, networking equipment failure, or fiber cut, for instance). As shown in Figure 23-12, in this failure scenario, all of the leaders should fail over to another datacenter, either split evenly or en masse into one datacenter. In either case, the link between the other two datacenters will suddenly receive a lot more network traffic from this system. This would be an inopportune moment to discover that the capacity on that link is insufficient.\n\nFigure 23-12. When colocated leaders fail over en masse, patterns of network utilization change dramatically\n\nHowever, this type of deployment could easily be an unintended result of automatic processes in the system that have bearing on how leaders are chosen. For instance:\n\n- Clients will experience better latency for any operations handled via the leader if the leader is located closest to them. An algorithm that attempts to site leaders near the bulk of clients could take advantage of this insight.\n- An algorithm might try to locate leaders on machines with the best performance. A pitfall of this approach is that if one of the three datacenters houses faster machines, then a disproportionate amount of traffic will be sent to that datacenter, resulting in extreme traffic changes should that datacenter go offline. To avoid this problem, the algorithm must also take into account distribution balance against machine capabilities when selecting machines.\n- A leader election algorithm might favor processes that have been running longer. Longer-running processes are quite likely to be correlated with location if software releases are performed on a per-datacenter basis.\n\n### Quorum composition\n\nWhen determining where to locate replicas in a consensus group, it is important to consider the effect of the geographical distribution (or, more precisely, the network latencies between replicas) on the performance of the group.\n\nOne approach is to spread the replicas as evenly as possible, with similar RTTs between all replicas. All other factors being equal (such as workload, hardware, and network performance), this arrangement should lead to fairly consistent performance across all regions, regardless of where the group leader is located (or for each member of the consensus group, if a leaderless protocol is in use).\n\nGeography can greatly complicate this approach. This is particularly true for intra-continental versus transpacific and transatlantic traffic. Consider a system that spans North America and Europe: it is impossible to locate replicas equidistant from each other because there will always be a longer lag for transatlantic traffic than for intracontinental traffic. No matter what, transactions from one region will need to make a transatlantic round trip in order to reach consensus.\n\nHowever, as shown in Figure 23-13, in order to try to distribute traffic as evenly as possible, systems designers might choose to site five replicas, with two replicas roughly centrally in the US, one on the east coast, and two in Europe. Such a distribution would mean that in the average case, consensus could be achieved in North America without waiting for replies from Europe, or that from Europe, consensus can be achieved by exchanging messages only with the east coast replica. The east coast replica acts as a linchpin of sorts, where two possible quorums overlap.\n\nFigure 23-13. Overlapping quorums with one replica acting as a link\n\nAs shown in Figure 23-14, loss of this replica means that system latency is likely to change drastically: instead of being largely influenced by either central US to east coast RTT or EU to east coast RTT, latency will be based on EU to central RTT, which is around 50% higher than EU to east coast RTT. The geographic distance and network RTT between the nearest possible quorum increases enormously.\n\nFigure 23-14. Loss of the link replica immediately leads to a longer RTT for any quorum\n\nThis scenario is a key weakness of the simple majority quorum when applied to groups composed of replicas with very different RTTs between members. In such cases, a hierarchical quorum approach may be useful. As diagrammed in Figure 23-15, nine replicas may be deployed in three groups of three. A quorum may be formed by a majority of groups, and a group may be included in the quorum if a majority of the group’s members are available. This means that a replica may be lost in the central group without incurring a large impact on overall system performance because the central group may still vote on transactions with two of its three replicas.\n\nThere is, however, a resource cost associated with running a higher number of replicas. In a highly sharded system with a read-heavy workload that is largely fulfillable by replicas, we might mitigate this cost by using fewer consensus groups. Such a strategy means that the overall number of processes in the system may not change.\n\nFigure 23-15. Hierarchical quorums can be used to reduce reliance on the central replica\n\n# Monitoring Distributed Consensus Systems\n\nAs we’ve already seen, distributed consensus algorithms are at the core of many of Google’s critical systems ([[Ana13]](/sre-book/bibliography#Ana13), [[Bur06]](/sre-book/bibliography#Bur06), [[Cor12]](/sre-book/bibliography#Cor12), [[Shu13]](/sre-book/bibliography#Shu13)). All important production systems need monitoring, in order to detect outages or problems and for troubleshooting. Experience has shown us that there are certain specific aspects of distributed consensus systems that warrant special attention. These are:\n\nThe number of members running in each consensus group, and the status of each process (healthy or not healthy)\n\nA process may be running but unable to make progress for some (e.g., hardware-related) reason.\n\nPersistently lagging replicas\n\nHealthy members of a consensus group can still potentially be in multiple different states. A group member may be recovering state from peers after startup, or lagging behind the quorum in the group, or it may be up-to-date and participating fully, and it may be the leader.\n\nWhether or not a leader exists\n\nA system based on an algorithm such as Multi-Paxos that uses a leader role must be monitored to ensure that a leader exists, because if the system has no leader, it is totally unavailable.\n\nNumber of leader changes\n\nRapid changes of leadership impair performance of consensus systems that use a stable leader, so the number of leader changes should be monitored. Consensus algorithms usually mark a leadership change with a new term or view number, so this number provides a useful metric to monitor. Too rapid of an increase in leader changes signals that the leader is flapping, perhaps due to network connectivity issues. A decrease in the view number could signal a serious bug.\n\nConsensus transaction number\n\nOperators need to know whether or not the consensus system is making progress. Most consensus algorithms use an increasing consensus transaction number to indicate progress. This number should be seen to be increasing over time if a system is healthy.\n\nNumber of proposals seen; number of proposals agreed upon\n\nThese numbers indicate whether or not the system is operating correctly.\n\nThroughput and latency\n\nAlthough not specific to distributed consensus systems, these characteristics of their consensus system should be monitored and understood by administrators.\n\nIn order to understand system performance and to help troubleshoot performance issues, you might also monitor the following:\n\n- Latency distributions for proposal acceptance\n- Distributions of network latencies observed between parts of the system in different locations\n- The amount of time acceptors spend on durable logging\n- Overall bytes accepted per second in the system\n\n# Conclusion\n\nWe explored the definition of the distributed consensus problem, and presented some system architecture patterns for distributed-consensus based systems, as well as examining the performance characteristics and some of the operational concerns around distributed consensus–based systems.\n\nWe deliberately avoided an in-depth discussion about specific algorithms, protocols, or implementations in this chapter. Distributed coordination systems and the technologies underlying them are evolving quickly, and this information would rapidly become out of date, unlike the fundamentals that are discussed here. However, these fundamentals, along with the articles referenced throughout this chapter, will enable you to use the distributed coordination tools available today, as well as future software.\n\nIf you remember nothing else from this chapter, keep in mind the sorts of problems that distributed consensus can be used to solve, and the types of problems that can arise when ad hoc methods such as heartbeats are used instead of distributed consensus. Whenever you see leader election, critical shared state, or distributed locking, think about distributed consensus: any lesser approach is a ticking bomb waiting to explode in your systems.\n\n112Kyle Kingsbury has written an extensive series of articles on distributed systems correctness, which contain many examples of unexpected and incorrect behavior in these kinds of datastores. See [*https://aphyr.com/tags/jepsen*](https://aphyr.com/tags/jepsen).\n\n113In particular, the performance of the original Paxos algorithm is not ideal, but has been greatly improved over the years.", "znaku_textu": 64285, "slov": 9964, "odkazu": 109, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:01", "sha256": "0bfceb830b9f942b8d2096bc6ed34e202079935ce1f7d2a774fca0292b6c8e01", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://aphyr.com/tags/jepsen", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/managing-incidents/", "titulek": "Google SRE - Incident Management: Key to Restore Operations", "h1": "Managing Incidents", "popis": "Principled incident management can limit disruptions and restore normalcy. Learn about effective strategies and processes for managing incidents.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/managing-incidents/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/managing-incidents/"}, "headline": "Managing Incidents", "description": "Effective incident management is key to limiting the disruption caused by an incident and restoring normal business operations as quickly as possible.", "author": [{"@type": "Person", "name": "Andrew Stribblehill"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Managing Incidents"}, {"uroven": 2, "text": "Unmanaged Incidents"}, {"uroven": 1, "text": "The Anatomy of an Unmanaged Incident"}, {"uroven": 2, "text": "Sharp Focus on the Technical Problem"}, {"uroven": 2, "text": "Poor Communication"}, {"uroven": 2, "text": "Freelancing"}, {"uroven": 1, "text": "Elements of Incident Management Process"}, {"uroven": 2, "text": "Recursive Separation of Responsibilities"}, {"uroven": 2, "text": "A Recognized Command Post"}, {"uroven": 2, "text": "Live Incident State Document"}, {"uroven": 2, "text": "Clear, Live Handoff"}, {"uroven": 1, "text": "A Managed Incident"}, {"uroven": 1, "text": "When to Declare an Incident"}, {"uroven": 1, "text": "In Summary"}, {"uroven": 5, "text": "Best Practices for Incident Management"}], "markdown": "# Managing Incidents\n\nWritten by Andrew Stribblehill78\nEdited by Kavita Guliani\n\nEffective incident management is key to limiting the disruption caused by an incident and restoring normal business operations as quickly as possible. If you haven’t gamed out your [response to potential incidents](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/) in advance, principled incident management can go out the window in real-life situations.\n\nThis chapter walks through a portrait of an incident that spirals out of control due to ad hoc incident management practices, outlines a well-managed approach to the incident, and reviews how the same incident might have played out if handled with well-functioning incident management.\n\n## Unmanaged Incidents\n\nPut yourself in the shoes of Mary, the on-call engineer for The Firm. It’s 2 p.m. on a Thursday afternoon and your pager has just exploded. Black-box monitoring tells you that your service has stopped serving *any* traffic in an entire datacenter. With a sigh, you put down your coffee and set about the job of fixing it. A few minutes into the task, another alert tells you that a second datacenter has stopped serving. Then the third out of your five datacenters fails. To exacerbate the situation, there is more traffic than the remaining datacenters can handle, so they start to overload. Before you know it, the service is overloaded and unable to serve any requests.\n\nYou stare at the logs for what seems like an eternity. Thousands of lines of logging suggest there’s an error in one of the recently updated modules, so you decide to revert the servers to the previous release. When you see that the rollback hasn’t helped, you call Josephine, who wrote most of the code for the now-hemorrhaging service. Reminding you that it’s 3:30 a.m. in her time zone, she blearily agrees to log in and take a look. Your colleagues Sabrina and Robin start poking around from their own terminals. \"Just looking,\" they tell you.\n\nNow one of the suits has phoned your boss and is angrily demanding to know why he wasn’t informed about the \"total meltdown of this business-critical service.\" Independently, the vice presidents are nagging you for an ETA, repeatedly asking you, \"How could this possibly have happened?\" You would sympathize, but doing so would require cognitive effort that you are holding in reserve for your job. The VPs call on their prior engineering experience and make irrelevant but hard-to-refute comments like, \"Increase the page size!\"\n\nTime passes; the two remaining datacenters fail completely. Unbeknown to you, sleep-addled Josephine called Malcolm. He had a brainwave: something about CPU affinity. He felt certain that he could optimize the remaining server processes if he could just deploy this one simple change to the production environment, so he did so. Within seconds, the servers restarted, picking up the change. And then died.\n\n# The Anatomy of an Unmanaged Incident\n\nNote that everybody in the preceding scenario was doing their job, as they saw it. How could things go so wrong? A few common hazards caused this incident to spiral out of control.\n\n## Sharp Focus on the Technical Problem\n\nWe tend to hire people like Mary for their technical prowess. So it’s not surprising that she was busy making operational changes to the system, trying valiantly to solve the problem. She wasn’t in a position to think about the bigger picture of how to mitigate the problem because the technical task at hand was overwhelming.\n\n## Poor Communication\n\nFor the same reason, Mary was far too busy to communicate clearly. Nobody knew what actions their coworkers were taking. Business leaders were angry, customers were frustrated, and other engineers who could have lent a hand in debugging or fixing the issue weren’t used effectively.\n\n## Freelancing\n\nMalcolm was making changes to the system with the best of intentions. However, he didn’t coordinate with his coworkers—not even Mary, who was technically in charge of troubleshooting. His changes made a bad situation far worse.\n\n# Elements of Incident Management Process\n\nIncident management skills and practices exist to channel the energies of enthusiastic individuals. Google’s incident management system is based on the [Incident Command System,](https://sre.google/resources/practices-and-processes/incident-management-guide/)79 which is known for its clarity and scalability.\n\nA well-designed incident management process has the following features.\n\n## Recursive Separation of Responsibilities\n\nIt’s important to make sure that everybody involved in the incident knows their role and doesn’t stray onto someone else’s turf. Somewhat counterintuitively, a clear separation of responsibilities allows individuals more autonomy than they might otherwise have, since they need not second-guess their colleagues.\n\nIf the load on a given member becomes excessive, that person needs to ask the planning lead for more staff. They should then delegate work to others, a task that might entail creating subincidents. Alternatively, a role leader might delegate system components to colleagues, who report high-level information back up to the leaders.\n\nSeveral distinct roles should be delegated to particular individuals:\n\nIncident Command\n\nThe incident commander holds the high-level state about the incident. They structure the incident response task force, assigning responsibilities according to need and priority. *De facto*, the commander holds all positions that they have not delegated. If appropriate, they can remove roadblocks that prevent Ops from working most effectively.\n\nOperational Work\n\nThe Ops lead works with the incident commander to respond to the incident by applying operational tools to the task at hand. The operations team should be the only group modifying the system during an incident.\n\nCommunication\n\nThis person is the public face of the incident response task force. Their duties most definitely include issuing periodic updates to the incident response team and stakeholders (usually via email), and may extend to tasks such as keeping the incident document accurate and up to date.\n\nPlanning\n\nThe planning role supports Ops by dealing with longer-term issues, such as filing bugs, ordering dinner, arranging handoffs, and tracking how the system has diverged from the norm so it can be reverted once the incident is resolved.\n\n## A Recognized Command Post\n\nInterested parties need to understand where they can interact with the incident commander. In many situations, locating the incident task force members into a central designated \"War Room\" is appropriate. Others teams may prefer to work at their desks, keeping alert to incident updates via email and IRC.\n\nGoogle has found IRC to be a huge boon in incident response. IRC is very reliable and can be used as a log of communications about this event, and such a record is invaluable in keeping detailed state changes in mind. We’ve also written bots that log incident-related traffic (which is helpful for postmortem analysis), and other bots that log events such as alerts to the channel. IRC is also a convenient medium over which geographically distributed teams can coordinate.\n\n## Live Incident State Document\n\nThe incident commander’s most important responsibility is to keep a living incident document. This can live in a wiki, but should ideally be editable by several people concurrently. Most of our teams use Google Docs, though Google Docs SRE use Google Sites: after all, depending on the software you are trying to fix as part of your incident management system is unlikely to end well.\n\nSee [Example Incident State Document](/sre-book/incident-document/) for a sample incident document. This living doc can be messy, but must be functional. Using a template makes generating this documentation easier, and keeping the most important information at the top makes it more usable. Retain this documentation for postmortem analysis and, if necessary, meta analysis.\n\n## Clear, Live Handoff\n\nIt’s essential that the post of incident commander be clearly handed off at the end of the working day. If you’re handing off command to someone at another location, you can simply and safely update the new incident commander over the phone or a video call. Once the new incident commander is fully apprised, the outgoing commander should be explicit in their handoff, specifically stating, \"You’re now the incident commander, okay?\", and should not leave the call until receiving firm acknowledgment of handoff. The handoff should be communicated to others working on the incident so that it’s clear who is leading the incident management efforts at all times.\n\n# A Managed Incident\n\nNow let’s examine how this incident might have played out if it were handled using principles of incident management.\n\nIt’s 2 p.m., and Mary is into her third coffee of the day. The pager’s harsh tone surprises her, and she gulps the drink down. Problem: a datacenter has stopped serving traffic. She starts to investigate. Shortly another alert fires, and the second datacenter out of five is out of order. Because this is a rapidly growing issue, she knows that she’ll benefit from the structure of her incident management framework.\n\nMary snags Sabrina. \"Can you take command?\" Nodding her agreement, Sabrina quickly gets a rundown of what’s occurred thus far from Mary. She captures these details in an email that she sends to a prearranged mailing list. Sabrina recognizes that she can’t yet scope the impact of the incident, so she asks for Mary’s assessment. Mary responds, \"Users have yet to be impacted; let’s just hope we don’t lose a third datacenter.\" Sabrina records Mary’s response in a live incident document.\n\nWhen the third alert fires, Sabrina sees the alert among the debugging chatter on IRC and quickly follows up to the email thread with an update. The thread keeps VPs abreast of the high-level status without bogging them down in minutiae. Sabrina asks an external communications representative to start drafting user messaging. She then follows up with Mary to see if they should contact the developer on-call (currently Josephine). Receiving Mary’s approval, Sabrina loops in Josephine.\n\nBy the time Josephine logs in, Robin has already volunteered to help out. Sabrina reminds both Robin and Josephine that they are to prioritize any tasks delegated to them by Mary, and that they must keep Mary informed of any additional actions they take. Robin and Josephine quickly familiarize themselves with the current situation by reading the incident document.\n\nBy now, Mary has tried the old binary release and found it wanting: she mutters this to Robin, who updates IRC to say that this attempted fix didn’t work. Sabrina pastes this update into the live incident management document.\n\nAt 5 p.m., Sabrina starts finding replacement staff to take on the incident, as she and her colleagues are about to go home. She updates the incident document. A brief phone conference takes place at 5:45 so everyone is aware of the current situation. At 6 p.m., they hand off their responsibilities to their colleagues in the sister office.\n\nMary returns to work the following morning to find that her transatlantic colleagues have assumed responsibility for the bug, mitigated the problem, closed the incident, and started work on the postmortem. Problem solved, she brews some fresh coffee and settles down to plan structural improvements so problems of this category don’t afflict the team again.\n\n# When to Declare an Incident\n\nIt is better to declare an incident early and then find a simple fix and close out the incident than to have to spin up the incident management framework hours into a burgeoning problem. Set clear conditions for declaring an incident. My team follows these broad guidelines—if any of the following is true, the event is an incident:\n\n- Do you need to involve a second team in fixing the problem?\n- Is the outage visible to customers?\n- Is the issue unsolved even after an hour’s concentrated analysis?\n\nIncident management proficiency atrophies quickly when it’s not in constant use. So how can engineers keep their incident management skills up to date—handle more incidents? Fortunately, the incident management framework can apply to other operational changes that need to span time zones and/or teams. If you use the framework frequently as a regular part of your change management procedures, you can easily follow this framework when an actual incident occurs. If your organization performs disaster-recovery testing (you should, it’s *fun*: see [[Kri12]](/sre-book/bibliography#Kri12)), incident management should be part of that testing process. We often role-play the response to an on-call issue that has already been solved, perhaps by colleagues in another location, to further familiarize ourselves with incident management.\n\n# In Summary\n\nWe’ve found that by formulating an incident management strategy in advance, structuring this plan to scale smoothly, and regularly putting the plan to use, we were able to reduce our mean time to recovery and provide staff a less stressful way to work on emergent problems. Any organization concerned with reliability would benefit from pursuing a similar strategy.\n\n##### Best Practices for Incident Management\n\n**Prioritize.**Stop the bleeding, restore service, and preserve the evidence for root-causing.\n\n**Prepare.**Develop and document your incident management procedures in advance, in consultation with incident participants.\n\n**Trust.**Give full autonomy within the assigned role to all incident participants.\n\n**Introspect.**Pay attention to your emotional state while responding to an incident. If you start to feel panicky or overwhelmed, solicit more support.\n\n**Consider alternatives.**Periodically consider your options and re-evaluate whether it still makes sense to continue what you’re doing or whether you should be taking another tack in incident response.\n\n**Practice.**Use the process routinely so it becomes second nature.\n\n**Change it around.**Were you incident commander last time? Take on a different role this time. Encourage every team member to acquire familiarity with each role.\n\n78An earlier version of this chapter appeared as an article in *;login:* (April 2015, vol. 40, no. 2).\n\n79See [*https://www.fema.gov/national-incident-management-system*](https://www.fema.gov/national-incident-management-system) for further details.", "znaku_textu": 14366, "slov": 2273, "odkazu": 59, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:02", "sha256": "db30b7fc4d2f31be8eb400f8e480f28e1742922b233e093f9925fb2a88f8aaac", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.fema.gov/national-incident-management-system", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/monitoring-distributed-systems", "titulek": "Google SRE monitoring ditributed system - sre golden signals", "h1": "Monitoring Distributed Systems", "popis": "Master sre monitoring for distributed systems. Learn about tracking key metrics including sre golden signals to ensure optimal system performance & reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/monitoring-distributed-systems/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/monitoring-distributed-systems/"}, "headline": "Monitoring Distributed Systems", "description": "Google's SRE teams have some basic principles and best practices for building successful monitoring and alerting systems. This chapter offers guidelines for what issues should interrupt a human via a page, and how to deal with issues that aren't serious enough to trigger a page.", "author": [{"@type": "Person", "name": "Rob Ewaschuk"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Monitoring Distributed Systems"}, {"uroven": 2, "text": "Definitions"}, {"uroven": 1, "text": "Why Monitor?"}, {"uroven": 1, "text": "Setting Reasonable Expectations for Monitoring"}, {"uroven": 1, "text": "Symptoms Versus Causes"}, {"uroven": 1, "text": "Black-Box Versus White-Box"}, {"uroven": 1, "text": "The Four Golden Signals"}, {"uroven": 1, "text": "Worrying About Your Tail (or, Instrumentation and Performance)"}, {"uroven": 1, "text": "Choosing an Appropriate Resolution for Measurements"}, {"uroven": 1, "text": "As Simple as Possible, No Simpler"}, {"uroven": 1, "text": "Tying These Principles Together"}, {"uroven": 1, "text": "Monitoring for the Long Term"}, {"uroven": 2, "text": "Bigtable SRE: A Tale of Over-Alerting"}, {"uroven": 2, "text": "Gmail: Predictable, Scriptable Responses from Humans"}, {"uroven": 2, "text": "The Long Run"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Monitoring Distributed Systems\n\nWritten by Rob Ewaschuk\nEdited by Betsy Beyer\n\nGoogle’s SRE teams have some basic principles and best practices for building successful [monitoring and alerting](https://sre.google/workbook/monitoring/) systems. This chapter offers guidelines for what issues should interrupt a human via a page, and how to deal with issues that aren’t serious enough to trigger a page.\n\n## Definitions\n\nThere’s no uniformly shared vocabulary for discussing all topics related to monitoring. Even within Google, usage of the following terms varies, but the most common interpretations are listed here.\n\nMonitoring\n\nCollecting, processing, aggregating, and displaying real-time quantitative data about a system, such as query counts and types, error counts and types, processing times, and server lifetimes.\n\nWhite-box monitoring\n\nMonitoring based on metrics exposed by the internals of the system, including logs, interfaces like the Java Virtual Machine Profiling Interface, or an HTTP handler that emits internal statistics.\n\nBlack-box monitoring\n\nTesting externally visible behavior as a user would see it.\n\nDashboard\n\nAn application (usually web-based) that provides a summary view of a service’s core metrics. A dashboard may have filters, selectors, and so on, but is prebuilt to expose the metrics most important to its users. The dashboard might also display team information such as ticket queue length, a list of high-priority bugs, the current on-call engineer for a given area of responsibility, or recent pushes.\n\nAlert\n\nA notification intended to be read by a human and that is pushed to a system such as a bug or ticket queue, an email alias, or a pager. Respectively, these alerts are classified as *tickets*, *email alerts*,22 and *pages*.\n\nRoot cause\n\nA defect in a software or human system that, if repaired, instills confidence that this event won’t happen again in the same way. A given incident might have multiple root causes: for example, perhaps it was caused by a combination of insufficient process automation, software that crashed on bogus input, *and* insufficient testing of the script used to generate the configuration. Each of these factors might stand alone as a root cause, and each should be repaired.\n\nNode and machine\n\nUsed interchangeably to indicate a single instance of a running kernel in either a physical server, virtual machine, or container. There might be multiple *services* worth monitoring on a single machine. The services may either be:\n\nRelated to each other: for example, a caching server and a web server Unrelated services sharing hardware: for example, a code repository and a master for a configuration system like [Puppet](https://puppetlabs.com/puppet/puppet-open-source) or [Chef](https://www.chef.io/chef/)\n\nPush\n\nAny change to a service’s running software or its configuration.\n\n# Why Monitor?\n\nThere are many reasons to monitor a system, including:\n\nAnalyzing long-term trends\n\nHow big is my database and how fast is it growing? How quickly is my daily-active user count growing?\n\nComparing over time or experiment groups\n\nAre queries faster with Acme Bucket of Bytes 2.72 versus Ajax DB 3.14? How much better is my memcache hit rate with an extra node? Is my site slower than it was last week?\n\nAlerting\n\nSomething is broken, and somebody needs to fix it right now! Or, something might break soon, so somebody should look soon.\n\nBuilding dashboards\n\nDashboards should answer basic questions about your service, and normally include some form of the four golden signals (discussed in The Four Golden Signals).\n\nOur latency just shot up; what else happened around the same time?\n\nSystem monitoring is also helpful in supplying raw input into business analytics and in facilitating analysis of security breaches. Because this book focuses on the engineering domains in which SRE has particular expertise, we won’t discuss these applications of monitoring here.\n\nMonitoring and alerting enables a system to tell us when it’s broken, or perhaps to tell us what’s about to break. When the system isn’t able to automatically fix itself, we want a human to investigate the alert, determine if there’s a real problem at hand, mitigate the problem, and determine the root cause of the problem. Unless you’re performing security auditing on very narrowly scoped components of a system, you should never trigger an alert simply because \"something seems a bit weird.\"\n\nPaging a human is a quite expensive use of an employee’s time. If an employee is at work, a page interrupts their workflow. If the employee is at home, a page interrupts their personal time, and perhaps even their sleep. When pages occur too frequently, employees second-guess, skim, or even ignore incoming alerts, sometimes even ignoring a \"real\" page that’s masked by the noise. Outages can be prolonged because other noise interferes with a rapid diagnosis and fix. [Effective alerting systems](https://sre.google/sre-book/practical-alerting/) have good signal and very low noise.\n\n# Setting Reasonable Expectations for Monitoring\n\nMonitoring a complex application is a significant engineering endeavor in and of itself. Even with substantial existing infrastructure for instrumentation, collection, display, and alerting in place, a Google SRE team with 10–12 members typically has one or sometimes two members whose primary assignment is to build and maintain monitoring systems for their service. This number has decreased over time as we generalize and centralize common monitoring infrastructure, but every SRE team typically has at least one “monitoring person.” (That being said, while it can be fun to have access to traffic graph dashboards and the like, SRE teams carefully avoid any situation that requires someone to “stare at a screen to watch for problems.”)\n\nIn general, Google has trended toward simpler and faster monitoring systems, with better tools for *post hoc* analysis. We avoid \"magic\" systems that try to learn thresholds or automatically detect causality. Rules that detect unexpected changes in end-user request rates are one counterexample; while these rules are still kept as simple as possible, they give a very quick detection of a very simple, specific, severe anomaly. Other uses of monitoring data such as [capacity planning](https://sre.google/sre-book/addressing-cascading-failures/) and traffic prediction can tolerate more fragility, and thus, more complexity. Observational experiments conducted over a very long time horizon (months or years) with a low sampling rate (hours or days) can also often tolerate more fragility because occasional missed samples won’t hide a long-running trend.\n\nGoogle SRE has experienced only limited success with complex dependency hierarchies. We seldom use rules such as, \"If I know the database is slow, alert for a slow database; otherwise, alert for the website being generally slow.\" Dependency-reliant rules usually pertain to very stable parts of our system, such as our system for draining user traffic away from a datacenter. For example, \"If a datacenter is drained, then don’t alert me on its latency\" is one common datacenter alerting rule. Few teams at Google maintain complex dependency hierarchies because our infrastructure has a steady rate of continuous refactoring.\n\nSome of the ideas described in this chapter are still aspirational: there is always room to move more rapidly from symptom to root cause(s), especially in ever-changing systems. So while this chapter sets out some goals for monitoring systems, and some ways to achieve these goals, it’s important that monitoring systems—especially the critical path from the onset of a production problem, through a page to a human, through basic triage and deep debugging—be kept simple and comprehensible by everyone on the team.\n\nSimilarly, to keep noise low and signal high, the elements of your monitoring system that direct to a pager need to be very simple and robust. Rules that generate alerts for humans should be simple to understand and represent a clear failure.\n\n# Symptoms Versus Causes\n\nYour monitoring system should address two questions: what’s broken, and why?\n\nThe \"what’s broken\" indicates the symptom; the \"why\" indicates a (possibly intermediate) cause. Table 6-1 lists some hypothetical symptoms and corresponding causes.\n\n| **Symptom** | **Cause** |\n| --- | --- |\n| **I’m serving HTTP 500s or 404s** | Database servers are refusing connections |\n| **My responses are slow** | CPUs are overloaded by a bogosort, or an Ethernet cable is crimped under a rack, visible as partial packet loss |\n| **Users in Antarctica aren’t receiving animated cat GIFs** | Your Content Distribution Network hates scientists and felines, and thus blacklisted some client IPs |\n| **Private content is world-readable** | A new software push caused ACLs to be forgotten and allowed all requests |\n\n\"What\" versus \"why\" is one of the most important distinctions in writing good monitoring with maximum signal and minimum noise.\n\n# Black-Box Versus White-Box\n\nWe combine heavy use of white-box monitoring with modest but critical uses of black-box monitoring. The simplest way to think about black-box monitoring versus white-box monitoring is that black-box monitoring is symptom-oriented and represents active—not predicted—problems: \"The system isn’t working correctly, right now.\" White-box monitoring depends on the ability to inspect the innards of the system, such as logs or HTTP endpoints, with instrumentation. White-box monitoring therefore allows detection of imminent problems, failures masked by retries, and so forth.\n\nNote that in a multilayered system, one person’s symptom is another person’s cause. For example, suppose that a [database’s performance](https://sre.google/sre-book/data-integrity/) is slow. Slow database reads are a symptom for the database SRE who detects them. However, for the frontend SRE observing a slow website, the same slow database reads are a cause. Therefore, white-box monitoring is sometimes symptom-oriented, and sometimes cause-oriented, depending on just how informative your white-box is.\n\nWhen collecting telemetry for debugging, white-box monitoring is essential. If web servers seem slow on database-heavy requests, you need to know both how fast the web server perceives the database to be, and how fast the database believes itself to be. Otherwise, you can’t distinguish an actually slow database server from a network problem between your web server and your database.\n\nFor paging, black-box monitoring has the key benefit of forcing discipline to only nag a human when a problem is both already ongoing and contributing to real symptoms. On the other hand, for not-yet-occurring but imminent problems, black-box monitoring is fairly useless.\n\n# The Four Golden Signals\n\nThe four golden signals of monitoring are latency, traffic, errors, and saturation. If you can only measure four metrics of your user-facing system, focus on these four.\n\nLatency\n\nThe time it takes to service a request. It’s important to distinguish between the latency of successful requests and the latency of failed requests. For example, an HTTP 500 error triggered due to loss of connection to a database or other critical backend might be served very quickly; however, as an HTTP 500 error indicates a failed request, factoring 500s into your overall latency might result in misleading calculations. On the other hand, a slow error is even worse than a fast error! Therefore, it’s important to track error latency, as opposed to just filtering out errors.\n\nTraffic\n\nA measure of how much demand is being placed on your system, measured in a high-level system-specific metric. For a web service, this measurement is usually HTTP requests per second, perhaps broken out by the nature of the requests (e.g., static versus dynamic content). For an audio streaming system, this measurement might focus on network I/O rate or concurrent sessions. For a key-value storage system, this measurement might be transactions and retrievals per second.\n\nErrors\n\nThe rate of requests that fail, either explicitly (e.g., HTTP 500s), implicitly (for example, an HTTP 200 success response, but coupled with the wrong content), or by policy (for example, \"If you committed to one-second response times, any request over one second is an error\"). Where protocol response codes are insufficient to express all failure conditions, secondary (internal) protocols may be necessary to track partial failure modes. Monitoring these cases can be drastically different: catching HTTP 500s at your load balancer can do a decent job of catching all completely failed requests, while only end-to-end system tests can detect that you’re serving the wrong content.\n\nSaturation\n\nHow \"full\" your service is. A measure of your system fraction, emphasizing the resources that are most constrained (e.g., in a memory-constrained system, show memory; in an I/O-constrained system, show I/O). Note that many systems degrade in performance before they achieve 100% utilization, so having a utilization target is essential.\n\nIn complex systems, saturation can be supplemented with higher-level load measurement: can your service properly handle double the traffic, handle only 10% more traffic, or handle even less traffic than it currently receives? For very simple services that have no parameters that alter the complexity of the request (e.g., \"Give me a nonce\" or \"I need a globally unique monotonic integer\") that rarely change configuration, a static value from a load test might be adequate. As discussed in the previous paragraph, however, most services need to use indirect signals like CPU utilization or network bandwidth that have a known upper bound. Latency increases are often a leading indicator of saturation. Measuring your 99th percentile response time over some small window (e.g., one minute) can give a very early signal of saturation.\n\nFinally, saturation is also concerned with predictions of impending saturation, such as \"It looks like your database will fill its hard drive in 4 hours.\"\n\nIf you measure all four golden signals and page a human when one signal is problematic (or, in the case of saturation, nearly problematic), your service will be at least decently covered by monitoring.\n\n# Worrying About Your Tail (or, Instrumentation and Performance)\n\nWhen building a monitoring system from scratch, it’s tempting to design a system based upon the mean of some quantity: the mean latency, the mean CPU usage of your nodes, or the mean fullness of your databases. The danger presented by the latter two cases is obvious: CPUs and databases can easily be utilized in a very imbalanced way. The same holds for latency. If you run a web service with an average latency of 100 ms at 1,000 requests per second, 1% of requests might easily take 5 seconds.23 If your users depend on several such web services to render their page, the 99th percentile of one backend can easily become the median response of your frontend.\n\nThe simplest way to differentiate between a slow average and a very slow \"tail\" of requests is to collect request counts bucketed by latencies (suitable for rendering a histogram), rather than actual latencies: how many requests did I serve that took between 0 ms and 10 ms, between 10 ms and 30 ms, between 30 ms and 100 ms, between 100 ms and 300 ms, and so on? Distributing the histogram boundaries approximately exponentially (in this case by factors of roughly 3) is often an easy way to visualize the distribution of your requests.\n\n# Choosing an Appropriate Resolution for Measurements\n\nDifferent aspects of a system should be measured with different levels of granularity. For example:\n\n- Observing CPU load over the time span of a minute won’t reveal even quite long-lived spikes that drive high tail latencies.\n- On the other hand, for a web service targeting no more than 9 hours aggregate downtime per year (99.9% annual uptime), probing for a 200 (success) status more than once or twice a minute is probably unnecessarily frequent.\n- Similarly, checking hard drive fullness for a service targeting 99.9% availability more than once every 1–2 minutes is probably unnecessary.\n\nTake care in how you structure the granularity of your measurements. Collecting per-second measurements of CPU load might yield interesting data, but such frequent measurements may be very expensive to collect, store, and analyze. If your monitoring goal calls for high resolution but doesn’t require extremely low latency, you can reduce these costs by performing internal sampling on the server, then configuring an external system to collect and aggregate that distribution over time or across servers. You might:\n\n1. Record the current CPU utilization each second.\n2. Using buckets of 5% granularity, increment the appropriate CPU utilization bucket each second.\n3. Aggregate those values every minute.\n\nThis strategy allows you to observe brief CPU hotspots without incurring very high cost due to collection and retention.\n\n# As Simple as Possible, No Simpler\n\nPiling all these requirements on top of each other can add up to a very complex monitoring system—your system might end up with the following levels of complexity:\n\n- Alerts on different latency thresholds, at different percentiles, on all kinds of different metrics\n- Extra code to detect and expose possible causes\n- Associated dashboards for each of these possible causes\n\nThe sources of potential complexity are never-ending. Like all software systems, monitoring can become so complex that it’s fragile, complicated to change, and a maintenance burden.\n\nTherefore, design your monitoring system with an eye toward simplicity. In choosing what to monitor, keep the following guidelines in mind:\n\n- The rules that catch real incidents most often should be as simple, predictable, and reliable as possible.\n- Data collection, aggregation, and [alerting configuration](https://sre.google/workbook/alerting-on-slos/) that is rarely exercised (e.g., less than once a quarter for some SRE teams) should be up for removal.\n- Signals that are collected, but not exposed in any prebaked dashboard nor used by any alert, are candidates for removal.\n\nIn Google’s experience, basic collection and aggregation of metrics, paired with alerting and dashboards, has worked well as a relatively standalone system. (In fact Google’s monitoring system is broken up into several binaries, but typically people learn about all aspects of these binaries.) It can be tempting to combine monitoring with other aspects of inspecting complex systems, such as detailed system profiling, single-process debugging, tracking details about exceptions or crashes, load testing, log collection and analysis, or traffic inspection. While most of these subjects share commonalities with basic monitoring, blending together too many results in overly complex and fragile systems. As in many other aspects of software engineering, maintaining distinct systems with clear, simple, loosely coupled points of integration is a better strategy (for example, using web APIs for pulling summary data in a format that can remain constant over an extended period of time).\n\n# Tying These Principles Together\n\nThe principles discussed in this chapter can be tied together into a philosophy on monitoring and alerting that’s widely endorsed and followed within Google SRE teams. While this monitoring philosophy is a bit aspirational, it’s a good starting point for writing or reviewing a new alert, and it can help your organization ask the right questions, regardless of the size of your organization or the complexity of your service or system.\n\nWhen creating rules for monitoring and alerting, asking the following questions can help you avoid false positives and pager burnout:24\n\n- Does this rule detect *an otherwise undetected condition* that is urgent, actionable, and actively or imminently user-visible? 25\n- Will I ever be able to ignore this alert, knowing it’s benign? When and why will I be able to ignore this alert, and how can I avoid this scenario?\n- Does this alert definitely indicate that users are being negatively affected? Are there detectable cases in which users aren’t being negatively impacted, such as drained traffic or test deployments, that should be filtered out?\n- Can I take action in response to this alert? Is that action urgent, or could it wait until morning? Could the action be safely automated? Will that action be a long-term fix, or just a short-term workaround?\n- Are other people getting paged for this issue, therefore rendering at least one of the pages unnecessary?\n\nThese questions reflect a fundamental philosophy on pages and pagers:\n\n- Every time the pager goes off, I should be able to react with a sense of urgency. I can only react with a sense of urgency a few times a day before I become fatigued.\n- Every page should be actionable.\n- Every page response should require intelligence. If a page merely merits a robotic response, it shouldn’t be a page.\n- Pages should be about a novel problem or an event that hasn’t been seen before.\n\nSuch a perspective dissipates certain distinctions: if a page satisfies the preceding four bullets, it’s irrelevant whether the page is triggered by white-box or black-box monitoring. This perspective also amplifies certain distinctions: it’s better to spend much more effort on catching symptoms than causes; when it comes to causes, only worry about very definite, very imminent causes.\n\n# Monitoring for the Long Term\n\nIn modern production systems, monitoring systems track an ever-evolving system with changing software architecture, [load characteristics,](https://sre.google/workbook/managing-load/) and performance targets. An alert that’s currently exceptionally rare and hard to automate might become frequent, perhaps even meriting a hacked-together script to resolve it. At this point, someone should find and eliminate the root causes of the problem; if such resolution isn’t possible, the alert response deserves to be fully automated.\n\nIt’s important that decisions about monitoring be made with long-term goals in mind. Every page that happens today distracts a human from improving the system for tomorrow, so there is often a case for taking a short-term hit to availability or performance in order to improve the long-term outlook for the system. Let’s take a look at two case studies that illustrate this trade-off.\n\n## Bigtable SRE: A Tale of Over-Alerting\n\nGoogle’s internal infrastructure is typically offered and measured against a service level objective (SLO; see [Service Level Objectives](/sre-book/service-level-objectives/)). Many years ago, the Bigtable service’s SLO was based on a synthetic well-behaved client’s mean performance. Because of problems in Bigtable and lower layers of the storage stack, the mean performance was driven by a \"large\" tail: the worst 5% of requests were often significantly slower than the rest.\n\nEmail alerts were triggered as the SLO approached, and paging alerts were triggered when the SLO was exceeded. Both types of alerts were firing voluminously, consuming unacceptable amounts of engineering time: the team spent significant amounts of time triaging the alerts to find the few that were really actionable, and we often missed the problems that actually affected users, because so few of them did. Many of the pages were non-urgent, due to well-understood problems in the infrastructure, and had either rote responses or received no response.\n\nTo remedy the situation, the team used a three-pronged approach: while making great efforts to improve the performance of Bigtable, we also temporarily dialed back our SLO target, using the 75th percentile request latency. We also disabled email alerts, as there were so many that spending time diagnosing them was infeasible.\n\nThis strategy gave us enough breathing room to actually fix the longer-term problems in Bigtable and the lower layers of the storage stack, rather than constantly fixing tactical problems. On-call engineers could actually accomplish work when they weren’t being kept up by pages at all hours. Ultimately, temporarily backing off on our alerts allowed us to make faster progress toward a better service.\n\n## Gmail: Predictable, Scriptable Responses from Humans\n\nIn the very early days of Gmail, the service was built on a retrofitted distributed process management system called Workqueue, which was originally created for batch processing of pieces of the search index. Workqueue was \"adapted\" to long-lived processes and subsequently applied to Gmail, but certain bugs in the relatively opaque codebase in the scheduler proved hard to beat.\n\nAt that time, the Gmail monitoring was structured such that alerts fired when individual tasks were “de-scheduled” by Workqueue. This setup was less than ideal because even at that time, Gmail had many, many thousands of tasks, each task representing a fraction of a percent of our users. We cared deeply about providing a good user experience for Gmail users, but such an alerting setup was unmaintainable.\n\nTo address this problem, Gmail SRE built a tool that helped “poke” the scheduler in just the right way to minimize impact to users. The team had several discussions about whether or not we should simply automate the entire loop from detecting the problem to nudging the rescheduler, until a better long-term solution was achieved, but some worried this kind of workaround would delay a real fix.\n\nThis kind of tension is common within a team, and often reflects an underlying mistrust of the team’s self-discipline: while some team members want to implement a “hack” to allow time for a proper fix, others worry that a hack will be forgotten or that the proper fix will be deprioritized indefinitely. This concern is credible, as it’s easy to build layers of unmaintainable technical debt by patching over problems instead of making real fixes. Managers and technical leaders play a key role in implementing true, long-term fixes by supporting and prioritizing potentially time-consuming long-term fixes even when the initial “pain” of paging subsides.\n\nPages with rote, algorithmic responses should be a red flag. Unwillingness on the part of your team to automate such pages implies that the team lacks confidence that they can clean up their technical debt. This is a major problem worth escalating.\n\n## The Long Run\n\nA common theme connects the previous examples of Bigtable and Gmail: a tension between short-term and long-term availability. Often, sheer force of effort can help a rickety system achieve high availability, but this path is usually short-lived and fraught with burnout and dependence on a small number of heroic team members. Taking a controlled, short-term decrease in availability is often a painful, but strategic trade for the long-run stability of the system. It’s important not to think of every page as an event in isolation, but to consider whether the overall *level* of paging leads toward a healthy, appropriately available system with a healthy, viable team and long-term outlook. We review statistics about page frequency (usually expressed as incidents per shift, where an incident might be composed of a few related pages) in quarterly reports with management, ensuring that decision makers are kept up to date on the pager load and overall health of their teams.\n\n# Conclusion\n\nA healthy monitoring and alerting pipeline is simple and easy to reason about. It focuses primarily on symptoms for paging, reserving cause-oriented heuristics to serve as aids to debugging problems. Monitoring symptoms is easier the further \"up\" your stack you monitor, though monitoring saturation and performance of subsystems such as databases often must be performed directly on the subsystem itself. Email alerts are of very limited value and tend to easily become overrun with noise; instead, you should favor a dashboard that monitors all ongoing subcritical problems for the sort of information that typically ends up in email alerts. A dashboard might also be paired with a log, in order to analyze historical correlations.\n\nOver the long haul, achieving a successful on-call rotation and product includes choosing to alert on symptoms or imminent real problems, adapting your targets to goals that are actually achievable, and making sure that your monitoring supports rapid diagnosis.\n\n22Sometimes known as \"alert spam,\" as they are rarely read or acted on.\n\n23If 1% of your requests are 50x the average, it means that the rest of your requests are about twice as fast as the average. But if you’re not measuring your distribution, the idea that most of your requests are near the mean is just hopeful thinking.\n\n24See *Applying Cardiac Alarm Management Techniques to Your On-Call* [[Hol14]](/sre-book/bibliography#Hol14) for an example of alert fatigue in another context.\n\n25Zero-redundancy (*N* + 0) situations count as imminent, as do \"nearly full\" parts of your service! For more details about the concept of redundancy, see [*https://en.wikipedia.org/wiki/N%2B1_redundancy*](https://en.wikipedia.org/wiki/N%2B1_redundancy).", "znaku_textu": 28963, "slov": 4585, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:48", "sha256": "ea5268bca492024a399730734132c7513b4412b10098a207f2e3090eeae1a6fe", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://puppetlabs.com/puppet/puppet-open-source", "https://www.chef.io/chef/", "https://en.wikipedia.org/wiki/N+1_redundancy", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/monitoring-distributed-systems/", "titulek": "Google SRE monitoring ditributed system - sre golden signals", "h1": "Monitoring Distributed Systems", "popis": "Master sre monitoring for distributed systems. Learn about tracking key metrics including sre golden signals to ensure optimal system performance & reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/monitoring-distributed-systems/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/monitoring-distributed-systems/"}, "headline": "Monitoring Distributed Systems", "description": "Google's SRE teams have some basic principles and best practices for building successful monitoring and alerting systems. This chapter offers guidelines for what issues should interrupt a human via a page, and how to deal with issues that aren't serious enough to trigger a page.", "author": [{"@type": "Person", "name": "Rob Ewaschuk"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Monitoring Distributed Systems"}, {"uroven": 2, "text": "Definitions"}, {"uroven": 1, "text": "Why Monitor?"}, {"uroven": 1, "text": "Setting Reasonable Expectations for Monitoring"}, {"uroven": 1, "text": "Symptoms Versus Causes"}, {"uroven": 1, "text": "Black-Box Versus White-Box"}, {"uroven": 1, "text": "The Four Golden Signals"}, {"uroven": 1, "text": "Worrying About Your Tail (or, Instrumentation and Performance)"}, {"uroven": 1, "text": "Choosing an Appropriate Resolution for Measurements"}, {"uroven": 1, "text": "As Simple as Possible, No Simpler"}, {"uroven": 1, "text": "Tying These Principles Together"}, {"uroven": 1, "text": "Monitoring for the Long Term"}, {"uroven": 2, "text": "Bigtable SRE: A Tale of Over-Alerting"}, {"uroven": 2, "text": "Gmail: Predictable, Scriptable Responses from Humans"}, {"uroven": 2, "text": "The Long Run"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Monitoring Distributed Systems\n\nWritten by Rob Ewaschuk\nEdited by Betsy Beyer\n\nGoogle’s SRE teams have some basic principles and best practices for building successful [monitoring and alerting](https://sre.google/workbook/monitoring/) systems. This chapter offers guidelines for what issues should interrupt a human via a page, and how to deal with issues that aren’t serious enough to trigger a page.\n\n## Definitions\n\nThere’s no uniformly shared vocabulary for discussing all topics related to monitoring. Even within Google, usage of the following terms varies, but the most common interpretations are listed here.\n\nMonitoring\n\nCollecting, processing, aggregating, and displaying real-time quantitative data about a system, such as query counts and types, error counts and types, processing times, and server lifetimes.\n\nWhite-box monitoring\n\nMonitoring based on metrics exposed by the internals of the system, including logs, interfaces like the Java Virtual Machine Profiling Interface, or an HTTP handler that emits internal statistics.\n\nBlack-box monitoring\n\nTesting externally visible behavior as a user would see it.\n\nDashboard\n\nAn application (usually web-based) that provides a summary view of a service’s core metrics. A dashboard may have filters, selectors, and so on, but is prebuilt to expose the metrics most important to its users. The dashboard might also display team information such as ticket queue length, a list of high-priority bugs, the current on-call engineer for a given area of responsibility, or recent pushes.\n\nAlert\n\nA notification intended to be read by a human and that is pushed to a system such as a bug or ticket queue, an email alias, or a pager. Respectively, these alerts are classified as *tickets*, *email alerts*,22 and *pages*.\n\nRoot cause\n\nA defect in a software or human system that, if repaired, instills confidence that this event won’t happen again in the same way. A given incident might have multiple root causes: for example, perhaps it was caused by a combination of insufficient process automation, software that crashed on bogus input, *and* insufficient testing of the script used to generate the configuration. Each of these factors might stand alone as a root cause, and each should be repaired.\n\nNode and machine\n\nUsed interchangeably to indicate a single instance of a running kernel in either a physical server, virtual machine, or container. There might be multiple *services* worth monitoring on a single machine. The services may either be:\n\nRelated to each other: for example, a caching server and a web server Unrelated services sharing hardware: for example, a code repository and a master for a configuration system like [Puppet](https://puppetlabs.com/puppet/puppet-open-source) or [Chef](https://www.chef.io/chef/)\n\nPush\n\nAny change to a service’s running software or its configuration.\n\n# Why Monitor?\n\nThere are many reasons to monitor a system, including:\n\nAnalyzing long-term trends\n\nHow big is my database and how fast is it growing? How quickly is my daily-active user count growing?\n\nComparing over time or experiment groups\n\nAre queries faster with Acme Bucket of Bytes 2.72 versus Ajax DB 3.14? How much better is my memcache hit rate with an extra node? Is my site slower than it was last week?\n\nAlerting\n\nSomething is broken, and somebody needs to fix it right now! Or, something might break soon, so somebody should look soon.\n\nBuilding dashboards\n\nDashboards should answer basic questions about your service, and normally include some form of the four golden signals (discussed in The Four Golden Signals).\n\nOur latency just shot up; what else happened around the same time?\n\nSystem monitoring is also helpful in supplying raw input into business analytics and in facilitating analysis of security breaches. Because this book focuses on the engineering domains in which SRE has particular expertise, we won’t discuss these applications of monitoring here.\n\nMonitoring and alerting enables a system to tell us when it’s broken, or perhaps to tell us what’s about to break. When the system isn’t able to automatically fix itself, we want a human to investigate the alert, determine if there’s a real problem at hand, mitigate the problem, and determine the root cause of the problem. Unless you’re performing security auditing on very narrowly scoped components of a system, you should never trigger an alert simply because \"something seems a bit weird.\"\n\nPaging a human is a quite expensive use of an employee’s time. If an employee is at work, a page interrupts their workflow. If the employee is at home, a page interrupts their personal time, and perhaps even their sleep. When pages occur too frequently, employees second-guess, skim, or even ignore incoming alerts, sometimes even ignoring a \"real\" page that’s masked by the noise. Outages can be prolonged because other noise interferes with a rapid diagnosis and fix. [Effective alerting systems](https://sre.google/sre-book/practical-alerting/) have good signal and very low noise.\n\n# Setting Reasonable Expectations for Monitoring\n\nMonitoring a complex application is a significant engineering endeavor in and of itself. Even with substantial existing infrastructure for instrumentation, collection, display, and alerting in place, a Google SRE team with 10–12 members typically has one or sometimes two members whose primary assignment is to build and maintain monitoring systems for their service. This number has decreased over time as we generalize and centralize common monitoring infrastructure, but every SRE team typically has at least one “monitoring person.” (That being said, while it can be fun to have access to traffic graph dashboards and the like, SRE teams carefully avoid any situation that requires someone to “stare at a screen to watch for problems.”)\n\nIn general, Google has trended toward simpler and faster monitoring systems, with better tools for *post hoc* analysis. We avoid \"magic\" systems that try to learn thresholds or automatically detect causality. Rules that detect unexpected changes in end-user request rates are one counterexample; while these rules are still kept as simple as possible, they give a very quick detection of a very simple, specific, severe anomaly. Other uses of monitoring data such as [capacity planning](https://sre.google/sre-book/addressing-cascading-failures/) and traffic prediction can tolerate more fragility, and thus, more complexity. Observational experiments conducted over a very long time horizon (months or years) with a low sampling rate (hours or days) can also often tolerate more fragility because occasional missed samples won’t hide a long-running trend.\n\nGoogle SRE has experienced only limited success with complex dependency hierarchies. We seldom use rules such as, \"If I know the database is slow, alert for a slow database; otherwise, alert for the website being generally slow.\" Dependency-reliant rules usually pertain to very stable parts of our system, such as our system for draining user traffic away from a datacenter. For example, \"If a datacenter is drained, then don’t alert me on its latency\" is one common datacenter alerting rule. Few teams at Google maintain complex dependency hierarchies because our infrastructure has a steady rate of continuous refactoring.\n\nSome of the ideas described in this chapter are still aspirational: there is always room to move more rapidly from symptom to root cause(s), especially in ever-changing systems. So while this chapter sets out some goals for monitoring systems, and some ways to achieve these goals, it’s important that monitoring systems—especially the critical path from the onset of a production problem, through a page to a human, through basic triage and deep debugging—be kept simple and comprehensible by everyone on the team.\n\nSimilarly, to keep noise low and signal high, the elements of your monitoring system that direct to a pager need to be very simple and robust. Rules that generate alerts for humans should be simple to understand and represent a clear failure.\n\n# Symptoms Versus Causes\n\nYour monitoring system should address two questions: what’s broken, and why?\n\nThe \"what’s broken\" indicates the symptom; the \"why\" indicates a (possibly intermediate) cause. Table 6-1 lists some hypothetical symptoms and corresponding causes.\n\n| **Symptom** | **Cause** |\n| --- | --- |\n| **I’m serving HTTP 500s or 404s** | Database servers are refusing connections |\n| **My responses are slow** | CPUs are overloaded by a bogosort, or an Ethernet cable is crimped under a rack, visible as partial packet loss |\n| **Users in Antarctica aren’t receiving animated cat GIFs** | Your Content Distribution Network hates scientists and felines, and thus blacklisted some client IPs |\n| **Private content is world-readable** | A new software push caused ACLs to be forgotten and allowed all requests |\n\n\"What\" versus \"why\" is one of the most important distinctions in writing good monitoring with maximum signal and minimum noise.\n\n# Black-Box Versus White-Box\n\nWe combine heavy use of white-box monitoring with modest but critical uses of black-box monitoring. The simplest way to think about black-box monitoring versus white-box monitoring is that black-box monitoring is symptom-oriented and represents active—not predicted—problems: \"The system isn’t working correctly, right now.\" White-box monitoring depends on the ability to inspect the innards of the system, such as logs or HTTP endpoints, with instrumentation. White-box monitoring therefore allows detection of imminent problems, failures masked by retries, and so forth.\n\nNote that in a multilayered system, one person’s symptom is another person’s cause. For example, suppose that a [database’s performance](https://sre.google/sre-book/data-integrity/) is slow. Slow database reads are a symptom for the database SRE who detects them. However, for the frontend SRE observing a slow website, the same slow database reads are a cause. Therefore, white-box monitoring is sometimes symptom-oriented, and sometimes cause-oriented, depending on just how informative your white-box is.\n\nWhen collecting telemetry for debugging, white-box monitoring is essential. If web servers seem slow on database-heavy requests, you need to know both how fast the web server perceives the database to be, and how fast the database believes itself to be. Otherwise, you can’t distinguish an actually slow database server from a network problem between your web server and your database.\n\nFor paging, black-box monitoring has the key benefit of forcing discipline to only nag a human when a problem is both already ongoing and contributing to real symptoms. On the other hand, for not-yet-occurring but imminent problems, black-box monitoring is fairly useless.\n\n# The Four Golden Signals\n\nThe four golden signals of monitoring are latency, traffic, errors, and saturation. If you can only measure four metrics of your user-facing system, focus on these four.\n\nLatency\n\nThe time it takes to service a request. It’s important to distinguish between the latency of successful requests and the latency of failed requests. For example, an HTTP 500 error triggered due to loss of connection to a database or other critical backend might be served very quickly; however, as an HTTP 500 error indicates a failed request, factoring 500s into your overall latency might result in misleading calculations. On the other hand, a slow error is even worse than a fast error! Therefore, it’s important to track error latency, as opposed to just filtering out errors.\n\nTraffic\n\nA measure of how much demand is being placed on your system, measured in a high-level system-specific metric. For a web service, this measurement is usually HTTP requests per second, perhaps broken out by the nature of the requests (e.g., static versus dynamic content). For an audio streaming system, this measurement might focus on network I/O rate or concurrent sessions. For a key-value storage system, this measurement might be transactions and retrievals per second.\n\nErrors\n\nThe rate of requests that fail, either explicitly (e.g., HTTP 500s), implicitly (for example, an HTTP 200 success response, but coupled with the wrong content), or by policy (for example, \"If you committed to one-second response times, any request over one second is an error\"). Where protocol response codes are insufficient to express all failure conditions, secondary (internal) protocols may be necessary to track partial failure modes. Monitoring these cases can be drastically different: catching HTTP 500s at your load balancer can do a decent job of catching all completely failed requests, while only end-to-end system tests can detect that you’re serving the wrong content.\n\nSaturation\n\nHow \"full\" your service is. A measure of your system fraction, emphasizing the resources that are most constrained (e.g., in a memory-constrained system, show memory; in an I/O-constrained system, show I/O). Note that many systems degrade in performance before they achieve 100% utilization, so having a utilization target is essential.\n\nIn complex systems, saturation can be supplemented with higher-level load measurement: can your service properly handle double the traffic, handle only 10% more traffic, or handle even less traffic than it currently receives? For very simple services that have no parameters that alter the complexity of the request (e.g., \"Give me a nonce\" or \"I need a globally unique monotonic integer\") that rarely change configuration, a static value from a load test might be adequate. As discussed in the previous paragraph, however, most services need to use indirect signals like CPU utilization or network bandwidth that have a known upper bound. Latency increases are often a leading indicator of saturation. Measuring your 99th percentile response time over some small window (e.g., one minute) can give a very early signal of saturation.\n\nFinally, saturation is also concerned with predictions of impending saturation, such as \"It looks like your database will fill its hard drive in 4 hours.\"\n\nIf you measure all four golden signals and page a human when one signal is problematic (or, in the case of saturation, nearly problematic), your service will be at least decently covered by monitoring.\n\n# Worrying About Your Tail (or, Instrumentation and Performance)\n\nWhen building a monitoring system from scratch, it’s tempting to design a system based upon the mean of some quantity: the mean latency, the mean CPU usage of your nodes, or the mean fullness of your databases. The danger presented by the latter two cases is obvious: CPUs and databases can easily be utilized in a very imbalanced way. The same holds for latency. If you run a web service with an average latency of 100 ms at 1,000 requests per second, 1% of requests might easily take 5 seconds.23 If your users depend on several such web services to render their page, the 99th percentile of one backend can easily become the median response of your frontend.\n\nThe simplest way to differentiate between a slow average and a very slow \"tail\" of requests is to collect request counts bucketed by latencies (suitable for rendering a histogram), rather than actual latencies: how many requests did I serve that took between 0 ms and 10 ms, between 10 ms and 30 ms, between 30 ms and 100 ms, between 100 ms and 300 ms, and so on? Distributing the histogram boundaries approximately exponentially (in this case by factors of roughly 3) is often an easy way to visualize the distribution of your requests.\n\n# Choosing an Appropriate Resolution for Measurements\n\nDifferent aspects of a system should be measured with different levels of granularity. For example:\n\n- Observing CPU load over the time span of a minute won’t reveal even quite long-lived spikes that drive high tail latencies.\n- On the other hand, for a web service targeting no more than 9 hours aggregate downtime per year (99.9% annual uptime), probing for a 200 (success) status more than once or twice a minute is probably unnecessarily frequent.\n- Similarly, checking hard drive fullness for a service targeting 99.9% availability more than once every 1–2 minutes is probably unnecessary.\n\nTake care in how you structure the granularity of your measurements. Collecting per-second measurements of CPU load might yield interesting data, but such frequent measurements may be very expensive to collect, store, and analyze. If your monitoring goal calls for high resolution but doesn’t require extremely low latency, you can reduce these costs by performing internal sampling on the server, then configuring an external system to collect and aggregate that distribution over time or across servers. You might:\n\n1. Record the current CPU utilization each second.\n2. Using buckets of 5% granularity, increment the appropriate CPU utilization bucket each second.\n3. Aggregate those values every minute.\n\nThis strategy allows you to observe brief CPU hotspots without incurring very high cost due to collection and retention.\n\n# As Simple as Possible, No Simpler\n\nPiling all these requirements on top of each other can add up to a very complex monitoring system—your system might end up with the following levels of complexity:\n\n- Alerts on different latency thresholds, at different percentiles, on all kinds of different metrics\n- Extra code to detect and expose possible causes\n- Associated dashboards for each of these possible causes\n\nThe sources of potential complexity are never-ending. Like all software systems, monitoring can become so complex that it’s fragile, complicated to change, and a maintenance burden.\n\nTherefore, design your monitoring system with an eye toward simplicity. In choosing what to monitor, keep the following guidelines in mind:\n\n- The rules that catch real incidents most often should be as simple, predictable, and reliable as possible.\n- Data collection, aggregation, and [alerting configuration](https://sre.google/workbook/alerting-on-slos/) that is rarely exercised (e.g., less than once a quarter for some SRE teams) should be up for removal.\n- Signals that are collected, but not exposed in any prebaked dashboard nor used by any alert, are candidates for removal.\n\nIn Google’s experience, basic collection and aggregation of metrics, paired with alerting and dashboards, has worked well as a relatively standalone system. (In fact Google’s monitoring system is broken up into several binaries, but typically people learn about all aspects of these binaries.) It can be tempting to combine monitoring with other aspects of inspecting complex systems, such as detailed system profiling, single-process debugging, tracking details about exceptions or crashes, load testing, log collection and analysis, or traffic inspection. While most of these subjects share commonalities with basic monitoring, blending together too many results in overly complex and fragile systems. As in many other aspects of software engineering, maintaining distinct systems with clear, simple, loosely coupled points of integration is a better strategy (for example, using web APIs for pulling summary data in a format that can remain constant over an extended period of time).\n\n# Tying These Principles Together\n\nThe principles discussed in this chapter can be tied together into a philosophy on monitoring and alerting that’s widely endorsed and followed within Google SRE teams. While this monitoring philosophy is a bit aspirational, it’s a good starting point for writing or reviewing a new alert, and it can help your organization ask the right questions, regardless of the size of your organization or the complexity of your service or system.\n\nWhen creating rules for monitoring and alerting, asking the following questions can help you avoid false positives and pager burnout:24\n\n- Does this rule detect *an otherwise undetected condition* that is urgent, actionable, and actively or imminently user-visible? 25\n- Will I ever be able to ignore this alert, knowing it’s benign? When and why will I be able to ignore this alert, and how can I avoid this scenario?\n- Does this alert definitely indicate that users are being negatively affected? Are there detectable cases in which users aren’t being negatively impacted, such as drained traffic or test deployments, that should be filtered out?\n- Can I take action in response to this alert? Is that action urgent, or could it wait until morning? Could the action be safely automated? Will that action be a long-term fix, or just a short-term workaround?\n- Are other people getting paged for this issue, therefore rendering at least one of the pages unnecessary?\n\nThese questions reflect a fundamental philosophy on pages and pagers:\n\n- Every time the pager goes off, I should be able to react with a sense of urgency. I can only react with a sense of urgency a few times a day before I become fatigued.\n- Every page should be actionable.\n- Every page response should require intelligence. If a page merely merits a robotic response, it shouldn’t be a page.\n- Pages should be about a novel problem or an event that hasn’t been seen before.\n\nSuch a perspective dissipates certain distinctions: if a page satisfies the preceding four bullets, it’s irrelevant whether the page is triggered by white-box or black-box monitoring. This perspective also amplifies certain distinctions: it’s better to spend much more effort on catching symptoms than causes; when it comes to causes, only worry about very definite, very imminent causes.\n\n# Monitoring for the Long Term\n\nIn modern production systems, monitoring systems track an ever-evolving system with changing software architecture, [load characteristics,](https://sre.google/workbook/managing-load/) and performance targets. An alert that’s currently exceptionally rare and hard to automate might become frequent, perhaps even meriting a hacked-together script to resolve it. At this point, someone should find and eliminate the root causes of the problem; if such resolution isn’t possible, the alert response deserves to be fully automated.\n\nIt’s important that decisions about monitoring be made with long-term goals in mind. Every page that happens today distracts a human from improving the system for tomorrow, so there is often a case for taking a short-term hit to availability or performance in order to improve the long-term outlook for the system. Let’s take a look at two case studies that illustrate this trade-off.\n\n## Bigtable SRE: A Tale of Over-Alerting\n\nGoogle’s internal infrastructure is typically offered and measured against a service level objective (SLO; see [Service Level Objectives](/sre-book/service-level-objectives/)). Many years ago, the Bigtable service’s SLO was based on a synthetic well-behaved client’s mean performance. Because of problems in Bigtable and lower layers of the storage stack, the mean performance was driven by a \"large\" tail: the worst 5% of requests were often significantly slower than the rest.\n\nEmail alerts were triggered as the SLO approached, and paging alerts were triggered when the SLO was exceeded. Both types of alerts were firing voluminously, consuming unacceptable amounts of engineering time: the team spent significant amounts of time triaging the alerts to find the few that were really actionable, and we often missed the problems that actually affected users, because so few of them did. Many of the pages were non-urgent, due to well-understood problems in the infrastructure, and had either rote responses or received no response.\n\nTo remedy the situation, the team used a three-pronged approach: while making great efforts to improve the performance of Bigtable, we also temporarily dialed back our SLO target, using the 75th percentile request latency. We also disabled email alerts, as there were so many that spending time diagnosing them was infeasible.\n\nThis strategy gave us enough breathing room to actually fix the longer-term problems in Bigtable and the lower layers of the storage stack, rather than constantly fixing tactical problems. On-call engineers could actually accomplish work when they weren’t being kept up by pages at all hours. Ultimately, temporarily backing off on our alerts allowed us to make faster progress toward a better service.\n\n## Gmail: Predictable, Scriptable Responses from Humans\n\nIn the very early days of Gmail, the service was built on a retrofitted distributed process management system called Workqueue, which was originally created for batch processing of pieces of the search index. Workqueue was \"adapted\" to long-lived processes and subsequently applied to Gmail, but certain bugs in the relatively opaque codebase in the scheduler proved hard to beat.\n\nAt that time, the Gmail monitoring was structured such that alerts fired when individual tasks were “de-scheduled” by Workqueue. This setup was less than ideal because even at that time, Gmail had many, many thousands of tasks, each task representing a fraction of a percent of our users. We cared deeply about providing a good user experience for Gmail users, but such an alerting setup was unmaintainable.\n\nTo address this problem, Gmail SRE built a tool that helped “poke” the scheduler in just the right way to minimize impact to users. The team had several discussions about whether or not we should simply automate the entire loop from detecting the problem to nudging the rescheduler, until a better long-term solution was achieved, but some worried this kind of workaround would delay a real fix.\n\nThis kind of tension is common within a team, and often reflects an underlying mistrust of the team’s self-discipline: while some team members want to implement a “hack” to allow time for a proper fix, others worry that a hack will be forgotten or that the proper fix will be deprioritized indefinitely. This concern is credible, as it’s easy to build layers of unmaintainable technical debt by patching over problems instead of making real fixes. Managers and technical leaders play a key role in implementing true, long-term fixes by supporting and prioritizing potentially time-consuming long-term fixes even when the initial “pain” of paging subsides.\n\nPages with rote, algorithmic responses should be a red flag. Unwillingness on the part of your team to automate such pages implies that the team lacks confidence that they can clean up their technical debt. This is a major problem worth escalating.\n\n## The Long Run\n\nA common theme connects the previous examples of Bigtable and Gmail: a tension between short-term and long-term availability. Often, sheer force of effort can help a rickety system achieve high availability, but this path is usually short-lived and fraught with burnout and dependence on a small number of heroic team members. Taking a controlled, short-term decrease in availability is often a painful, but strategic trade for the long-run stability of the system. It’s important not to think of every page as an event in isolation, but to consider whether the overall *level* of paging leads toward a healthy, appropriately available system with a healthy, viable team and long-term outlook. We review statistics about page frequency (usually expressed as incidents per shift, where an incident might be composed of a few related pages) in quarterly reports with management, ensuring that decision makers are kept up to date on the pager load and overall health of their teams.\n\n# Conclusion\n\nA healthy monitoring and alerting pipeline is simple and easy to reason about. It focuses primarily on symptoms for paging, reserving cause-oriented heuristics to serve as aids to debugging problems. Monitoring symptoms is easier the further \"up\" your stack you monitor, though monitoring saturation and performance of subsystems such as databases often must be performed directly on the subsystem itself. Email alerts are of very limited value and tend to easily become overrun with noise; instead, you should favor a dashboard that monitors all ongoing subcritical problems for the sort of information that typically ends up in email alerts. A dashboard might also be paired with a log, in order to analyze historical correlations.\n\nOver the long haul, achieving a successful on-call rotation and product includes choosing to alert on symptoms or imminent real problems, adapting your targets to goals that are actually achievable, and making sure that your monitoring supports rapid diagnosis.\n\n22Sometimes known as \"alert spam,\" as they are rarely read or acted on.\n\n23If 1% of your requests are 50x the average, it means that the rest of your requests are about twice as fast as the average. But if you’re not measuring your distribution, the idea that most of your requests are near the mean is just hopeful thinking.\n\n24See *Applying Cardiac Alarm Management Techniques to Your On-Call* [[Hol14]](/sre-book/bibliography#Hol14) for an example of alert fatigue in another context.\n\n25Zero-redundancy (*N* + 0) situations count as imminent, as do \"nearly full\" parts of your service! For more details about the concept of redundancy, see [*https://en.wikipedia.org/wiki/N%2B1_redundancy*](https://en.wikipedia.org/wiki/N%2B1_redundancy).", "znaku_textu": 28963, "slov": 4585, "odkazu": 71, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/monitoring-distributed-systems", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:03", "sha256": "ea5268bca492024a399730734132c7513b4412b10098a207f2e3090eeae1a6fe", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://puppetlabs.com/puppet/puppet-open-source", "https://www.chef.io/chef/", "https://en.wikipedia.org/wiki/N+1_redundancy", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/operational-overload", "titulek": "Google SRE - Resilience Engineering To Work With Stress", "h1": "Embedding an SRE to Recover from Operational Overload", "popis": "Discover the power of Resilience Engineering. Learn practical strategies for team dynamics, reduce ops burden, and cultivate sustainable practices.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/operational-overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/operational-overload/"}, "headline": "Embedding an SRE to Recover from Operational Overload", "description": "One way to relieve this burden is to temporarily transfer an SRE into the overloaded team. Once embedded in a team, the SRE focuses on improving the team's practices instead of simply helping the team empty the ticket queue. The SRE observes the team's daily routine and makes recommendations to improve their practices.", "author": [{"@type": "Person", "name": "Randall Bosetti"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embedding an SRE to Recover from Operational Overload"}, {"uroven": 2, "text": "Phase 1: Learn the Service and Get Context"}, {"uroven": 2, "text": "Identify the Largest Sources of Stress"}, {"uroven": 2, "text": "Identify Kindling"}, {"uroven": 1, "text": "Phase 2: Sharing Context"}, {"uroven": 2, "text": "Write a Good Postmortem for the Team"}, {"uroven": 2, "text": "Sort Fires According to Type"}, {"uroven": 1, "text": "Phase 3: Driving Change"}, {"uroven": 6, "text": "Note"}, {"uroven": 2, "text": "Start with the Basics"}, {"uroven": 2, "text": "Get Help Clearing Kindling"}, {"uroven": 2, "text": "Explain Your Reasoning"}, {"uroven": 2, "text": "Ask Leading Questions"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Embedding an SRE to Recover from Operational Overload\n\nWritten by Randall Bosetti\nEdited by Diane Bates\n\nIt's standard policy for Google's SRE teams to evenly split their time between projects and reactive ops work. In practice, this balance can be upset for months at a time by an increase in the daily ticket volume. A burdensome amount of ops work is especially dangerous because the SRE team might burn out or be unable to make progress on project work. When a team must allocate a disproportionate amount of time to resolving tickets at the cost of spending time improving the service, scalability and reliability suffer.\n\nOne way to relieve this burden is to temporarily transfer an SRE into the overloaded team. Once embedded in a team, the SRE focuses on improving the team's practices instead of simply helping the team empty the ticket queue. The SRE observes the team's daily routine and makes recommendations to improve their practices. This consultation gives the team a fresh perspective on its routines that team members can't provide for themselves.\n\nWhen you are using this approach, it isn't necessary to transfer more than one engineer. Two SREs don't necessarily produce better results and may actually cause problems if the team reacts defensively.\n\nIf you are starting your first SRE team, the approach outlined in this chapter will help you to avoid turning into an operation team solely focused on a ticket rotation. If you decide to embed yourself or one of your reports in a team, take time to review SRE practices and philosophy in [Ben Treynor Sloss's introduction](/sre-book/introduction/) and the material on monitoring in [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/).\n\nThe following sections provide guidance to the SRE who will be embedded on a team.\n\n## Phase 1: Learn the Service and Get Context\n\nYour job while embedded with the team is to articulate why processes and habits contribute to, or detract from, the service's\nscalability. Remind the team that more tickets should not require more SREs: the goal of the SRE model is to only introduce more humans as more complexity is added to the system. Instead, try to draw attention to how healthy work habits reduce the time spent on tickets. Doing so is as important as pointing out missed opportunities for automation or simplification of the service.\n\nTeams sliding into ops mode might be convinced that scale doesn't matter for them (\"my service is tiny\"). Shadow an on-call session to determine whether the assessment is true, because the element of scale affects your strategy.\n\nIf the primary service is important to the business but actually is tiny (entailing few resources or low complexity), put more focus on ways in which the team's current approach prevents them from improving the service's reliability. Remember that your job is to make the service work, not to shield the development team from alerts.\n\nOn the other hand, if the service is just getting started, focus on ways to prepare the team for explosive growth. A 100 request/second service can turn into a 10k request/second service in a year.\n\n## Identify the Largest Sources of Stress\n\nSRE teams sometimes fall into ops mode because they focus on how to quickly address emergencies instead of how to reduce the number of emergencies. A default to ops mode usually happens in response to an overwhelming pressure, real *or imagined*. After you've learned enough about the service to ask hard questions about its design and deployment, spend some time prioritizing various service outages according to their impact on the team's stress levels. Keep in mind that, due to the team's perspective and history, some very small problems or outages may produce an inordinate amount of stress.\n\n## Identify Kindling\n\nOnce you [identify a team's largest existing problems](../../workbook/overload/), move on to emergencies waiting to happen. Sometimes impending emergencies come in the form of a new subsystem that isn't designed to be self-managing. Other sources include:\n\nKnowledge gaps\n\nIn large teams, people can overspecialize without immediate consequence. When a person specializes, they run the risk of either not having the broad knowledge they need to perform on-call support or allowing team members to ignore the critical pieces of the system that they own.\n\nServices developed by SRE that are quietly increasing in importance\n\nThese services often don't get the same careful attention as new feature launches because they're smaller in scale and implicitly endorsed by at least one SRE.\n\nStrong dependence on \"the next big thing\"\n\nPeople might ignore problems for months at a time because they believe the new solution that's on the horizon obviates temporary fixes.\n\nCommon alerts that aren't diagnosed by either the dev team or SREs\n\nSuch alerts are frequently triaged as *transient*, but still distract your teammates from fixing real problems. Either investigate such alerts fully, or fix the alerting rules.\n\nAny service that is both the subject of complaints from your clients and lacks a formal SLI/SLO/SLA\n\nSee [Service Level Objectives](/sre-book/service-level-objectives/) for a discussion of SLIs, SLOs, and SLAs.\n\nAny service with a capacity plan that is effectively \"Add more servers: our servers were running out of memory last night\"\n\nCapacity plans should be sufficiently forward-looking. If your system model predicts that servers need 2 GB, a loadtest that passes in the short term (revealing 1.99 GB in its last run) doesn't necessarily mean that your system capacity is in adequate shape.\n\nPostmortems that only have action items for rolling back the specific changes that caused an outage\n\nFor example, \"Change the streaming timeout back to 60 seconds,\" instead of \"Figure out why it sometimes takes 60 seconds to fetch the first megabyte of our promo videos.\"\n\nAny serving-critical component for which the existing SREs respond to questions by saying, \"We don't know anything about that; the devs own it\"\n\nTo give acceptable on-call support for a component, you should at least know the consequences when it breaks and the\nurgency needed to fix problems.\n\n# Phase 2: Sharing Context\n\nAfter scoping the dynamics and pain points of the team, lay the groundwork for improvement through best practices like postmortems and by identifying sources of toil and how to best address them.\n\n## Write a Good Postmortem for the Team\n\nPostmortems offer much insight into a team's collective reasoning. Postmortems conducted by unhealthy teams are often ineffectual. Some team members might consider postmortems punitive, or even useless. While you might be tempted to review the\npostmortem archives and leave comments for improvement, doing so doesn't help the team. Instead, the exercise might put the team on the\ndefensive.\n\nInstead of trying to correct previous mistakes, take ownership of the next postmortem. There *will* be an outage while you're embedded. If you aren't the person on-call, team up with the on-call SRE to write a great, blameless postmortem. This document is an opportunity to demonstrate how a shift toward the SRE model benefits the team by making bug fixes more permanent. More permanent bug fixes reduce the impact of outages on team members' time.\n\nAs mentioned, you might encounter responses such as \"Why me?\" This response is especially likely when a team believes that the\npostmortem process is retaliatory. This attitude comes from subscribing to the Bad Apple Theory: the system is working fine, and if we get rid of all the bad apples and their mistakes, the system will continue to be fine. The Bad Apple Theory is demonstrably false, as shown by evidence [[Dek14]](/sre-book/bibliography#Dek14) from several disciplines, including airline safety. You should point out this falsity. The most effective phrasing for a postmortem is to say, \"Mistakes are inevitable in any system with multiple subtle interactions. You were on-call, and I trust you to make the right decisions with the right information. I'd like you to write down what you were thinking at each point in time, so that we can find out where the system misled you, and where the cognitive demands were too high.\"\n\n## Sort Fires According to Type\n\nThere are two types of fires in this simplified-for-convenience model:\n\n- Some fires shouldn't exist. They cause what is commonly called ops work or toil (see [Eliminating Toil](/sre-book/eliminating-toil/) ).\n- Other fires that cause stress and/or furious typing are actually part of the job.\n\nIn either case, the team needs to build tools to control the burn.\n\nSort the team fires into toil and not-toil. When you're finished, present the list to the team and clearly explain why each fire is either work that should be automated or acceptable overhead for running the service.\n\n# Phase 3: Driving Change\n\nTeam health is a process. As such, it's not something that you can solve with heroic effort. To ensure that the team can self-regulate, you can help them build a good mental model for an ideal SRE engagement.\n\n###### Note\n\nHumans are pretty good at homeostasis, so *focus on creating (or restoring) the right initial conditions and teaching the\nsmall set of principles needed to make healthy choices*.\n\n## Start with the Basics\n\nTeams struggling with the distinction between the SRE and traditional ops model are generally unable to articulate *why* certain aspects of the team's code, processes, or culture bother them. Rather than trying to address each of these issues point-by-point, work forward from the principles outlined in Chapters [Introduction](/sre-book/introduction/) and [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/).\n\nYour first goal for the team should be writing a service level objective (SLO), if one doesn't already exist. The SLO is important because it provides a quantitative measure of the impact of outages, in addition to how important a process change could be. An SLO is probably the single most important lever for moving a team from reactive ops work to a healthy, long-term SRE focus. If this agreement is missing, no other advice in this chapter will be helpful. *If you find yourself on a team without SLOs, first read [Service Level Objectives](/sre-book/service-level-objectives/), then get the tech leads and management in a room and start arbitrating.*\n\n## Get Help Clearing Kindling\n\nYou may have a strong urge to simply fix the issues you identify. Please resist the urge to fix these issues yourself, because\ndoing so bolsters the idea that \"making changes is for other people.\" Instead, take the following steps:\n\n1. Find useful work that can be accomplished by one team member.\n2. Clearly explain how this work addresses an issue from the postmortem *in a permanent way* . Even otherwise healthy teams can produce shortsighted action items.\n3. Serve as the reviewer for the code changes and document revisions.\n4. Repeat for two or three issues.\n\nWhen you identify an additional issue, put it in a bug report or a doc for the team to consult. Doing so serves the dual purposes of distributing information and encouraging team members to write docs (which are often the first victim of deadline pressure). Always explain your reasoning, and emphasize that good documentation ensures that the team doesn't repeat old mistakes in a slightly new context.\n\n## Explain Your Reasoning\n\nAs the team recovers its momentum and grasps the basics of your suggested changes, move on to tackle the quotidian decisions that originally led to [ops overload.](https://sre.google/sre-book/dealing-with-interrupts/) Prepare for this undertaking to be challenged. If you're lucky, the challenge will be along the lines of, \"Explain why. Right now. In the middle of the weekly production meeting.\"\n\nIf you're unlucky, no one demands an explanation. Sidestep this problem entirely by simply explaining all of your decisions, whether or not someone requests an explanation. Refer to the basics that underscore your suggestions. Doing so helps build the team's mental model. *After you leave, the team should be able to predict what your comment on a design or changelist would be.* If you don't explain your reasoning, or do so poorly, there is a risk that the team will simply emulate that lackadaisical behavior, so be explicit.\n\nExamples of a thorough explanation of your decision:\n\n- \"I'm not pushing back on the latest release because the tests are bad. I'm pushing back because the error budget we set for releases is exhausted.\"\n- \"Releases need to be rollback-safe because our SLO is tight. Meeting that SLO requires that the mean time to recovery is\nsmall, so in-depth diagnosis before a rollback is not realistic.\"\n\nExamples of an insufficient explanation of your decision:\n\n- \"I don't think having every server generate its routing config is safe, because we can't see it.\"\n\nThis decision is probably correct, but the reasoning is poor (or poorly explained). The team can't read your mind, so they very likely might emulate the observed poor reasoning. Instead, try \"[…] isn't safe because a bug in that code can cause a correlated failure across the service and the additional code is a source of bugs that might slow down a rollback.\"\n\n- \"The automation should give up if it encounters a conflicting deployment.\"\n\nLike the previous example, this explanation is probably correct, but insufficient. Instead, try \"[…] because we're making the\nsimplifying assumption that all changes pass through the automation, and something has clearly violated that rule. If this happens often, we should identify and remove sources of unorganized change.\"\n\n## Ask Leading Questions\n\nLeading questions are not loaded questions. When talking with the SRE team, try to ask questions in a way that encourages people to think about the basic principles. It's particularly valuable for *you* to model this behavior because, by definition, a team in ops mode rejects this sort of reasoning from its own constituents. Once you've spent some time explaining your reasoning for various policy questions, this practice reinforces the team's understanding of SRE philosophy.\n\nExamples of leading questions:\n\n- \"I see that the TaskFailures alert fires frequently, but the on-call engineers usually don't do anything to respond to the\nalert. How does this impact the SLO?\"\n- \"This turnup procedure looks pretty complicated. Do you know why there are so many config files to update when creating a new instance of the service?\"\n\nCounterexamples of leading questions:\n\n- \"What's up with all of these old, stalled releases?\"\n- \"Why does the Frobnitzer do so many things?\"\n\n# Conclusion\n\nFollowing the tenets outlined in this chapter provides an SRE team with the following:\n\n- A technical, possibly quantitative, perspective on why they should change.\n- A strong example of what change looks like.\n- A logical explanation for much of the \"folk wisdom\" used by SRE.\n- The core principles needed to address novel situations in a scalable manner.\n\nYour final task is to write an after-action report. This report should reiterate your perspective, examples, and explanation. It should also provide some action items for the team to ensure they exercise what you've taught them. You can organize the report as a\npostvitam,145 explaining the critical decisions at each step that led to success.\n\nThe bulk of the engagement is now complete. Once your embedded assignment concludes, you should remain available for design and code reviews. Keep an eye on the team for the next few months to confirm that they're slowly improving their capacity planning, emergency response, and rollout processes.\n\n145In contrast to a postmortem.", "znaku_textu": 15580, "slov": 2538, "odkazu": 56, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:45", "sha256": "32f41053fe5ee3e0ba35d07e7345aeb8bde4e459414ad72289b4b84bda49cfde", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/operational-overload/", "titulek": "Google SRE - Resilience Engineering To Work With Stress", "h1": "Embedding an SRE to Recover from Operational Overload", "popis": "Discover the power of Resilience Engineering. Learn practical strategies for team dynamics, reduce ops burden, and cultivate sustainable practices.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/operational-overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/operational-overload/"}, "headline": "Embedding an SRE to Recover from Operational Overload", "description": "One way to relieve this burden is to temporarily transfer an SRE into the overloaded team. Once embedded in a team, the SRE focuses on improving the team's practices instead of simply helping the team empty the ticket queue. The SRE observes the team's daily routine and makes recommendations to improve their practices.", "author": [{"@type": "Person", "name": "Randall Bosetti"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Embedding an SRE to Recover from Operational Overload"}, {"uroven": 2, "text": "Phase 1: Learn the Service and Get Context"}, {"uroven": 2, "text": "Identify the Largest Sources of Stress"}, {"uroven": 2, "text": "Identify Kindling"}, {"uroven": 1, "text": "Phase 2: Sharing Context"}, {"uroven": 2, "text": "Write a Good Postmortem for the Team"}, {"uroven": 2, "text": "Sort Fires According to Type"}, {"uroven": 1, "text": "Phase 3: Driving Change"}, {"uroven": 6, "text": "Note"}, {"uroven": 2, "text": "Start with the Basics"}, {"uroven": 2, "text": "Get Help Clearing Kindling"}, {"uroven": 2, "text": "Explain Your Reasoning"}, {"uroven": 2, "text": "Ask Leading Questions"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Embedding an SRE to Recover from Operational Overload\n\nWritten by Randall Bosetti\nEdited by Diane Bates\n\nIt's standard policy for Google's SRE teams to evenly split their time between projects and reactive ops work. In practice, this balance can be upset for months at a time by an increase in the daily ticket volume. A burdensome amount of ops work is especially dangerous because the SRE team might burn out or be unable to make progress on project work. When a team must allocate a disproportionate amount of time to resolving tickets at the cost of spending time improving the service, scalability and reliability suffer.\n\nOne way to relieve this burden is to temporarily transfer an SRE into the overloaded team. Once embedded in a team, the SRE focuses on improving the team's practices instead of simply helping the team empty the ticket queue. The SRE observes the team's daily routine and makes recommendations to improve their practices. This consultation gives the team a fresh perspective on its routines that team members can't provide for themselves.\n\nWhen you are using this approach, it isn't necessary to transfer more than one engineer. Two SREs don't necessarily produce better results and may actually cause problems if the team reacts defensively.\n\nIf you are starting your first SRE team, the approach outlined in this chapter will help you to avoid turning into an operation team solely focused on a ticket rotation. If you decide to embed yourself or one of your reports in a team, take time to review SRE practices and philosophy in [Ben Treynor Sloss's introduction](/sre-book/introduction/) and the material on monitoring in [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/).\n\nThe following sections provide guidance to the SRE who will be embedded on a team.\n\n## Phase 1: Learn the Service and Get Context\n\nYour job while embedded with the team is to articulate why processes and habits contribute to, or detract from, the service's\nscalability. Remind the team that more tickets should not require more SREs: the goal of the SRE model is to only introduce more humans as more complexity is added to the system. Instead, try to draw attention to how healthy work habits reduce the time spent on tickets. Doing so is as important as pointing out missed opportunities for automation or simplification of the service.\n\nTeams sliding into ops mode might be convinced that scale doesn't matter for them (\"my service is tiny\"). Shadow an on-call session to determine whether the assessment is true, because the element of scale affects your strategy.\n\nIf the primary service is important to the business but actually is tiny (entailing few resources or low complexity), put more focus on ways in which the team's current approach prevents them from improving the service's reliability. Remember that your job is to make the service work, not to shield the development team from alerts.\n\nOn the other hand, if the service is just getting started, focus on ways to prepare the team for explosive growth. A 100 request/second service can turn into a 10k request/second service in a year.\n\n## Identify the Largest Sources of Stress\n\nSRE teams sometimes fall into ops mode because they focus on how to quickly address emergencies instead of how to reduce the number of emergencies. A default to ops mode usually happens in response to an overwhelming pressure, real *or imagined*. After you've learned enough about the service to ask hard questions about its design and deployment, spend some time prioritizing various service outages according to their impact on the team's stress levels. Keep in mind that, due to the team's perspective and history, some very small problems or outages may produce an inordinate amount of stress.\n\n## Identify Kindling\n\nOnce you [identify a team's largest existing problems](../../workbook/overload/), move on to emergencies waiting to happen. Sometimes impending emergencies come in the form of a new subsystem that isn't designed to be self-managing. Other sources include:\n\nKnowledge gaps\n\nIn large teams, people can overspecialize without immediate consequence. When a person specializes, they run the risk of either not having the broad knowledge they need to perform on-call support or allowing team members to ignore the critical pieces of the system that they own.\n\nServices developed by SRE that are quietly increasing in importance\n\nThese services often don't get the same careful attention as new feature launches because they're smaller in scale and implicitly endorsed by at least one SRE.\n\nStrong dependence on \"the next big thing\"\n\nPeople might ignore problems for months at a time because they believe the new solution that's on the horizon obviates temporary fixes.\n\nCommon alerts that aren't diagnosed by either the dev team or SREs\n\nSuch alerts are frequently triaged as *transient*, but still distract your teammates from fixing real problems. Either investigate such alerts fully, or fix the alerting rules.\n\nAny service that is both the subject of complaints from your clients and lacks a formal SLI/SLO/SLA\n\nSee [Service Level Objectives](/sre-book/service-level-objectives/) for a discussion of SLIs, SLOs, and SLAs.\n\nAny service with a capacity plan that is effectively \"Add more servers: our servers were running out of memory last night\"\n\nCapacity plans should be sufficiently forward-looking. If your system model predicts that servers need 2 GB, a loadtest that passes in the short term (revealing 1.99 GB in its last run) doesn't necessarily mean that your system capacity is in adequate shape.\n\nPostmortems that only have action items for rolling back the specific changes that caused an outage\n\nFor example, \"Change the streaming timeout back to 60 seconds,\" instead of \"Figure out why it sometimes takes 60 seconds to fetch the first megabyte of our promo videos.\"\n\nAny serving-critical component for which the existing SREs respond to questions by saying, \"We don't know anything about that; the devs own it\"\n\nTo give acceptable on-call support for a component, you should at least know the consequences when it breaks and the\nurgency needed to fix problems.\n\n# Phase 2: Sharing Context\n\nAfter scoping the dynamics and pain points of the team, lay the groundwork for improvement through best practices like postmortems and by identifying sources of toil and how to best address them.\n\n## Write a Good Postmortem for the Team\n\nPostmortems offer much insight into a team's collective reasoning. Postmortems conducted by unhealthy teams are often ineffectual. Some team members might consider postmortems punitive, or even useless. While you might be tempted to review the\npostmortem archives and leave comments for improvement, doing so doesn't help the team. Instead, the exercise might put the team on the\ndefensive.\n\nInstead of trying to correct previous mistakes, take ownership of the next postmortem. There *will* be an outage while you're embedded. If you aren't the person on-call, team up with the on-call SRE to write a great, blameless postmortem. This document is an opportunity to demonstrate how a shift toward the SRE model benefits the team by making bug fixes more permanent. More permanent bug fixes reduce the impact of outages on team members' time.\n\nAs mentioned, you might encounter responses such as \"Why me?\" This response is especially likely when a team believes that the\npostmortem process is retaliatory. This attitude comes from subscribing to the Bad Apple Theory: the system is working fine, and if we get rid of all the bad apples and their mistakes, the system will continue to be fine. The Bad Apple Theory is demonstrably false, as shown by evidence [[Dek14]](/sre-book/bibliography#Dek14) from several disciplines, including airline safety. You should point out this falsity. The most effective phrasing for a postmortem is to say, \"Mistakes are inevitable in any system with multiple subtle interactions. You were on-call, and I trust you to make the right decisions with the right information. I'd like you to write down what you were thinking at each point in time, so that we can find out where the system misled you, and where the cognitive demands were too high.\"\n\n## Sort Fires According to Type\n\nThere are two types of fires in this simplified-for-convenience model:\n\n- Some fires shouldn't exist. They cause what is commonly called ops work or toil (see [Eliminating Toil](/sre-book/eliminating-toil/) ).\n- Other fires that cause stress and/or furious typing are actually part of the job.\n\nIn either case, the team needs to build tools to control the burn.\n\nSort the team fires into toil and not-toil. When you're finished, present the list to the team and clearly explain why each fire is either work that should be automated or acceptable overhead for running the service.\n\n# Phase 3: Driving Change\n\nTeam health is a process. As such, it's not something that you can solve with heroic effort. To ensure that the team can self-regulate, you can help them build a good mental model for an ideal SRE engagement.\n\n###### Note\n\nHumans are pretty good at homeostasis, so *focus on creating (or restoring) the right initial conditions and teaching the\nsmall set of principles needed to make healthy choices*.\n\n## Start with the Basics\n\nTeams struggling with the distinction between the SRE and traditional ops model are generally unable to articulate *why* certain aspects of the team's code, processes, or culture bother them. Rather than trying to address each of these issues point-by-point, work forward from the principles outlined in Chapters [Introduction](/sre-book/introduction/) and [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/).\n\nYour first goal for the team should be writing a service level objective (SLO), if one doesn't already exist. The SLO is important because it provides a quantitative measure of the impact of outages, in addition to how important a process change could be. An SLO is probably the single most important lever for moving a team from reactive ops work to a healthy, long-term SRE focus. If this agreement is missing, no other advice in this chapter will be helpful. *If you find yourself on a team without SLOs, first read [Service Level Objectives](/sre-book/service-level-objectives/), then get the tech leads and management in a room and start arbitrating.*\n\n## Get Help Clearing Kindling\n\nYou may have a strong urge to simply fix the issues you identify. Please resist the urge to fix these issues yourself, because\ndoing so bolsters the idea that \"making changes is for other people.\" Instead, take the following steps:\n\n1. Find useful work that can be accomplished by one team member.\n2. Clearly explain how this work addresses an issue from the postmortem *in a permanent way* . Even otherwise healthy teams can produce shortsighted action items.\n3. Serve as the reviewer for the code changes and document revisions.\n4. Repeat for two or three issues.\n\nWhen you identify an additional issue, put it in a bug report or a doc for the team to consult. Doing so serves the dual purposes of distributing information and encouraging team members to write docs (which are often the first victim of deadline pressure). Always explain your reasoning, and emphasize that good documentation ensures that the team doesn't repeat old mistakes in a slightly new context.\n\n## Explain Your Reasoning\n\nAs the team recovers its momentum and grasps the basics of your suggested changes, move on to tackle the quotidian decisions that originally led to [ops overload.](https://sre.google/sre-book/dealing-with-interrupts/) Prepare for this undertaking to be challenged. If you're lucky, the challenge will be along the lines of, \"Explain why. Right now. In the middle of the weekly production meeting.\"\n\nIf you're unlucky, no one demands an explanation. Sidestep this problem entirely by simply explaining all of your decisions, whether or not someone requests an explanation. Refer to the basics that underscore your suggestions. Doing so helps build the team's mental model. *After you leave, the team should be able to predict what your comment on a design or changelist would be.* If you don't explain your reasoning, or do so poorly, there is a risk that the team will simply emulate that lackadaisical behavior, so be explicit.\n\nExamples of a thorough explanation of your decision:\n\n- \"I'm not pushing back on the latest release because the tests are bad. I'm pushing back because the error budget we set for releases is exhausted.\"\n- \"Releases need to be rollback-safe because our SLO is tight. Meeting that SLO requires that the mean time to recovery is\nsmall, so in-depth diagnosis before a rollback is not realistic.\"\n\nExamples of an insufficient explanation of your decision:\n\n- \"I don't think having every server generate its routing config is safe, because we can't see it.\"\n\nThis decision is probably correct, but the reasoning is poor (or poorly explained). The team can't read your mind, so they very likely might emulate the observed poor reasoning. Instead, try \"[…] isn't safe because a bug in that code can cause a correlated failure across the service and the additional code is a source of bugs that might slow down a rollback.\"\n\n- \"The automation should give up if it encounters a conflicting deployment.\"\n\nLike the previous example, this explanation is probably correct, but insufficient. Instead, try \"[…] because we're making the\nsimplifying assumption that all changes pass through the automation, and something has clearly violated that rule. If this happens often, we should identify and remove sources of unorganized change.\"\n\n## Ask Leading Questions\n\nLeading questions are not loaded questions. When talking with the SRE team, try to ask questions in a way that encourages people to think about the basic principles. It's particularly valuable for *you* to model this behavior because, by definition, a team in ops mode rejects this sort of reasoning from its own constituents. Once you've spent some time explaining your reasoning for various policy questions, this practice reinforces the team's understanding of SRE philosophy.\n\nExamples of leading questions:\n\n- \"I see that the TaskFailures alert fires frequently, but the on-call engineers usually don't do anything to respond to the\nalert. How does this impact the SLO?\"\n- \"This turnup procedure looks pretty complicated. Do you know why there are so many config files to update when creating a new instance of the service?\"\n\nCounterexamples of leading questions:\n\n- \"What's up with all of these old, stalled releases?\"\n- \"Why does the Frobnitzer do so many things?\"\n\n# Conclusion\n\nFollowing the tenets outlined in this chapter provides an SRE team with the following:\n\n- A technical, possibly quantitative, perspective on why they should change.\n- A strong example of what change looks like.\n- A logical explanation for much of the \"folk wisdom\" used by SRE.\n- The core principles needed to address novel situations in a scalable manner.\n\nYour final task is to write an after-action report. This report should reiterate your perspective, examples, and explanation. It should also provide some action items for the team to ensure they exercise what you've taught them. You can organize the report as a\npostvitam,145 explaining the critical decisions at each step that led to success.\n\nThe bulk of the engagement is now complete. Once your embedded assignment concludes, you should remain available for design and code reviews. Keep an eye on the team for the next few months to confirm that they're slowly improving their capacity planning, emergency response, and rollout processes.\n\n145In contrast to a postmortem.", "znaku_textu": 15580, "slov": 2538, "odkazu": 56, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/operational-overload", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:04", "sha256": "32f41053fe5ee3e0ba35d07e7345aeb8bde4e459414ad72289b4b84bda49cfde", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/part-I-introduction/", "titulek": "Google SRE - Site Reliability Engineering at Google", "h1": "Part I. Introduction", "popis": "SRE at Google with insights from Ben Treynor Sloss and a guide to Google's production environment from an SRE perspective.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/part-I-introduction/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/part-I-introduction/"}, "headline": "Part I - Introduction", "description": "This section provides some high-level guidance on what SRE is and why it is different from more conventional IT industry practices.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part I. Introduction"}], "markdown": "# Part I. Introduction\n\nThis section provides some high-level guidance on what SRE is and why it is different from more conventional IT industry practices.\n\nBen Treynor Sloss, the senior VP overseeing technical operations at Google—and the originator of the term \"Site Reliability Engineering\"—provides his view on what SRE means, how it works, and how it compares to other ways of doing things in the industry, in [Introduction](/sre-book/introduction/).\n\nWe provide a guide to the production environment at Google in [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/) as a way to help acquaint you with the wealth of new terms and systems you are about to meet in the rest of the book.", "znaku_textu": 735, "slov": 119, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:05", "sha256": "46a8b8b620021d19c8b9660d2b3cef44aec5af5281dc72a235b681a11b1ccdca", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/part-II-principles/", "titulek": "Google SRE Principles: SRE Operations and How SRE Teams Work", "h1": "Part II. Principles", "popis": "Discover core Site Reliability Engineering principles that guide successful SRE teams, patterns, behaviors, and areas of concern that influence SRE operations.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/part-II-principles/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/part-II-principles/"}, "headline": "Part II - Principles", "description": "This section examines the principles underlying how SRE teams typically work—the patterns, behaviors, and areas of concern that influence the general domain of SRE operations.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part II. Principles"}, {"uroven": 2, "text": "Further Reading from Google SRE"}], "markdown": "# Part II. Principles\n\nThis section examines the *principles* underlying [how SRE teams typically work](../../workbook/reaching-beyond/)—the patterns, behaviors, and areas of concern that influence the general domain of SRE operations.\n\nThe first chapter in this section, and the most important piece to read if you want to attain the widest-angle picture of what exactly SRE does, and how we reason about it, is [Embracing Risk](/sre-book/embracing-risk/). It looks at SRE through the lens of risk—its assessment, management, and the use of error budgets to provide usefully neutral approaches to [service management](../../sre-book/part-III-practices/).\n\nService level objectives are another foundational conceptual unit for SRE. The industry commonly lumps disparate concepts under the general banner of service level agreements, a tendency that makes it harder to think about these concepts clearly. [Service Level Objectives](/sre-book/service-level-objectives/) attempts to disentangle indicators from objectives from agreements, examines how SRE uses each of these terms, and provides some recommendations on how to find useful metrics for your own applications.\n\nEliminating toil is one of SRE’s most important tasks, and is the subject of [Eliminating Toil](/sre-book/eliminating-toil/). We define *toil* as mundane, repetitive operational work providing no enduring value, which scales linearly with service growth.\n\nWhether it is at Google or elsewhere, monitoring is an absolutely essential component of doing the right thing in production. If you can’t monitor a service, you don’t know what’s happening, and if you’re blind to what’s happening, you can’t be reliable. Read [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/), for some recommendations for what and how to monitor, and some implementation-agnostic best practices.\n\nIn [The Evolution of Automation at Google](/sre-book/automation-at-google/), we examine SRE’s approach to automation, and walk through some case studies of how SRE has implemented automation, both successfully and unsuccessfully.\n\nMost companies treat release engineering as an afterthought. However, as you’ll learn in [Release Engineering](/sre-book/release-engineering/), release engineering is not just critical to overall system stability—as most outages result from pushing a change of some kind. It is also the best way to ensure that releases are consistent.\n\nA key principle of any effective software engineering, not only reliability-oriented engineering, simplicity is a quality that, once lost, can be extraordinarily difficult to recapture. Nevertheless, as the old adage goes, a complex system that works necessarily evolved from a simple system that works. [Simplicity](/sre-book/simplicity/), goes into this topic in detail.\n\n## Further Reading from Google SRE\n\nIncreasing product velocity safely is a core principle for any organization. In \"Making Push On Green a Reality\" [[Kle14]](/sre-book/bibliography#Kle14), published in October 2014, we show that taking humans out of the release process can paradoxically reduce SREs’ toil while *increasing* system reliability.", "znaku_textu": 3135, "slov": 450, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:06", "sha256": "53146434e9aa93c17e0fa4c0c6fe685c0eea169934b9f6d3e91396f2989d88b1", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/part-III-practices/", "titulek": "Google SRE: Distributed Computing Systems | Incident Management", "h1": "Part III. Practices", "popis": "Explore how distributed computing environment and systems improve scalability and resilience. Learn effective incident management startegies used by SRE teams.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/part-III-practices/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/part-III-practices/"}, "headline": "Part III - Practices", "description": "Successfully operating a service entails a wide range of activities: developing monitoring systems, planning capacity, responding to incidents, ensuring the root causes of outages are addressed, and so on.", "image": "https://lh3.googleusercontent.com/3gX2qgys2I-9HnEIvXUA10ed3AILvg5MclnKWBquEkJKP3g5_kD6WR7Ptwp3TwAGla1DuSmHv64MdTtACNLlArFVq7BwbTrTVhigsA", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part III. Practices"}], "markdown": "# Part III. Practices\n\nPut simply, SREs run services—a set of related systems, operated for users, who may be internal or external—and are ultimately responsible for the health of these services. Successfully [operating a service](https://sre.google/sre-book/introduction/)entails a wide range of activities: developing monitoring systems, planning capacity, responding to incidents, ensuring the root causes of outages are addressed, and so on. This section addresses the theory and practice of an SRE’s day-to-day activity: building and operating large [distributed computing systems.](https://sre.google/sre-book/managing-critical-state/)\n\nWe can characterize the health of a service—in much the same way that Abraham Maslow categorized human needs [[Mas43]](/sre-book/bibliography#Mas43)—from the most basic requirements needed for a system to function as a service at all to the higher levels of function—permitting self-actualization and taking active control of the direction of the service rather than reactively fighting fires. This understanding is so fundamental to how we evaluate services at Google that it wasn’t explicitly developed until a number of Google SREs, including our former colleague Mikey Dickerson,41 temporarily joined the radically different culture of the United States government to help with the launch of *healthcare.gov* in late 2013 and early 2014: they needed a way to explain how to increase systems’ reliability.\n\nWe’ll use this hierarchy, illustrated in Figure 3-1, to look at the elements that go into making a service reliable, from most basic to most advanced.\n\nFigure III-1. Service Reliability Hierarchy\n\nMonitoring\n\nWithout monitoring, you have no way to tell whether the service is even working; absent a thoughtfully designed monitoring infrastructure, you’re flying blind. Maybe everyone who tries to use the website gets an error, maybe not—but you want to be aware of problems before your users notice them. We discuss tools and philosophy in [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/).\n\nIncident Response\n\nSREs don’t go on-call merely for the sake of it: rather, on-call support is a tool we use to achieve our larger mission and remain in touch with how distributed computing systems actually work (and fail!). If we could find a way to relieve ourselves of carrying a pager, we would. In [Being On-Call](/sre-book/being-on-call/), we explain how we balance on-call duties with our other responsibilities.\n\nOnce you’re aware that there is a problem, how do you make it go away? That doesn’t necessarily mean fixing it once and for all—maybe you can stop the bleeding by reducing the system’s precision or turning off some features temporarily, allowing it to gracefully degrade, or maybe you can direct traffic to another instance of the service that’s working properly. The details of the solution you choose to implement are necessarily specific to your service and your organization. Responding effectively to incidents, however, is something applicable to all teams.\n\nFiguring out what’s wrong is the first step; we offer a structured approach in [Effective Troubleshooting](/sre-book/effective-troubleshooting/).\n\nDuring an incident, it’s often tempting to give in to adrenalin and start responding ad hoc. We advise against this temptation in [Emergency Response](/sre-book/emergency-response/), and counsel in [Managing Incidents](/sre-book/managing-incidents/), that managing incidents effectively should reduce their impact and limit outage-induced anxiety.\n\nPostmortem and Root-Cause Analysis\n\nWe aim to be alerted on and manually solve only new and exciting problems presented by our service; it’s woefully boring to \"fix\" the same issue over and over. In fact, this mindset is one of the key differentiators between the SRE philosophy and some more traditional operations-focused environments. This theme is explored in two chapters.\n\nBuilding a blameless postmortem culture is the first step in understanding what went wrong (and what went right!), as described in [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/).\n\nRelated to that discussion, in [Tracking Outages](/sre-book/tracking-outages/), we briefly describe an internal tool, the outage tracker, that allows SRE teams to keep track of recent production incidents, their causes, and actions taken in response to them.\n\nTesting\n\nOnce we understand what tends to go wrong, our next step is attempting to prevent it, because an ounce of prevention is worth a pound of cure. Test suites offer some assurance that our software isn’t making certain classes of errors before it’s released to production; we talk about how best to use these in [Testing for Reliability](/sre-book/testing-reliability/).\n\nCapacity Planning\n\nIn [Software Engineering in SRE](/sre-book/software-engineering-in-sre/), we offer a case study of software engineering in SRE with [Auxon](https://sre.google/sre-book/automation-at-google/), a tool for automating capacity planning.\n\nNaturally following capacity planning, load balancing ensures we’re properly using the capacity we’ve built. We discuss how requests to our services get sent to datacenters in [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/). Then we continue the discussion in [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/) and [Handling Overload](/sre-book/handling-overload/), both of which are essential for ensuring service reliability.\n\nFinally, in [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/), we offer advice for addressing cascading failures, both in system design and should your service be caught in a cascading failure.\n\nDevelopment\n\nOne of the key aspects of Google’s approach to Site Reliability Engineering is that we do significant large-scale system design and software engineering work within the organization.\n\nIn [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/), we explain distributed consensus, which (in the guise of Paxos) is at the core of many of Google’s distributed systems, including our globally distributed Cron system. In [Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/), we outline a system that scales to whole datacenters and beyond, which is no easy task.\n\n[Data Processing Pipelines](/sre-book/data-processing-pipelines/), discusses the various forms that data processing pipelines can take: from one-shot MapReduce jobs running periodically to systems that operate in near real-time. Different architectures can lead to surprising and counterintuitive challenges.\n\nMaking sure that the data you stored is still there when you want to read it is the heart of data integrity; in [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/), we explain how to keep data safe.\n\nProduct\n\nFinally, having made our way up the reliability pyramid, we find ourselves at the point of having a workable product. In [Reliable Product Launches at Scale](/sre-book/reliable-product-launches/), we write about how Google does reliable product launches at scale to try to give users the best possible experience starting from Day Zero.\n\nFurther Reading from Google SRE\n\nAs discussed previously, testing is subtle, and its improper execution can have large effects on overall stability. In an ACM article [[Kri12]](/sre-book/bibliography#Kri12), we explain how Google performs *company-wide* resilience testing to ensure we’re capable of weathering the unexpected should a zombie apocalypse or other disaster strike.\n\nWhile it’s often thought of as a dark art, full of mystifying spreadsheets divining the future, capacity planning is nonetheless vital, and as [[Hix15a]](/sre-book/bibliography#Hix15a) shows, you don’t actually *need* a crystal ball to do it right.\n\nFinally, an interesting and new approach to corporate network security is detailed in [[War14]](/sre-book/bibliography#War14), an initiative to replace privileged intranets with device and user credentials. Driven by SREs at the infrastructure level, this is definitely an approach to keep in mind when you’re creating your next network.\n\n41Mikey left Google in summer 2014 to become the first administrator of the US Digital Service ([*https://www.usds.gov/*](https://www.usds.gov/)), an agency intended (in part)to bring SRE principles\nand practices to the US government’s IT systems.", "znaku_textu": 8428, "slov": 1244, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:07", "sha256": "0d24edca4cb43e101834450b4780b95fa2e00a26397da599d2f32d1c4aa29e16", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.usds.gov/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/part-IV-management/", "titulek": "Google SRE: SRE Responsibilities and Management Frameworks", "h1": "Part IV. Management", "popis": "SRE management techniques | How Google scales team collaborations and management to ensure operational excellence across distributed teams.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/part-IV-management/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/part-IV-management/"}, "headline": "Part IV - Management", "description": "We write in Communication and Collaboration in SRE, about the different roles within SRE; cross-team, cross-site, and cross-continent communication; running production meetings; and case studies of how SRE has collaborated well.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part IV. Management"}], "markdown": "# Part IV. Management\n\nOur final selection of topics covers working together in a team, and working as teams. No SRE is an island, and there are some distinctive ways in which we work.\n\nAny organization that aspires to be serious about running an effective SRE arm needs to consider training. Teaching SREs how to think in a complicated and fast-changing environment with a well-thought-out and [well-executed training program](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) has the promise of instilling best practices within a new hire’s first few weeks or months that otherwise would take months or years to accumulate. We discuss strategies for doing just that in [Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/).\n\nAs anyone in the operations world knows, responsibility for any significant service comes with a lot of interruptions: production getting in a bad state, people requesting updates to their favorite binary, a long queue of consultation requests…managing interrupts under turbulent conditions is a necessary skill, as we’ll discuss in [Dealing with Interrupts](/sre-book/dealing-with-interrupts/).\n\nIf the turbulent conditions have persisted for long enough, an SRE team needs to start recovering from operational overload. We have just the flight plan for you in [Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload/).\n\nWe write in [Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/), about the different roles within SRE; cross-team, cross-site, and cross-continent communication; running production meetings; and case studies of how SRE has collaborated well.\n\nFinally, [The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/), examines a cornerstone of the operation of SRE: the production readiness review (PRR), a crucial step in onboarding a new service. We discuss how to conduct PRRs, and how to move beyond this successful, but also limited, model.\n\nFurther Reading from Google SRE\n\nBuilding reliable systems requires a carefully calibrated mix of skills, ranging from software development to the arguably less-well-known systems analysis and engineering disciplines. We write about the latter disciplines in \"The Systems Engineering Side of Site Reliability Engineering\" [[Hix15b]](/sre-book/bibliography#Hix15b).\n\nHiring SREs well is critical to having a high-functioning reliability organization, as explored in \"Hiring Site Reliability Engineers\" [[Jon15]](/sre-book/bibliography#Jon15). Google’s hiring practices have been detailed in texts like *Work Rules!* [[Boc15]](/sre-book/bibliography#Boc15),134 but hiring SREs has its own set of particularities. Even by Google’s overall standards, SRE candidates are difficult to find and even harder to interview effectively.\n\n134Written by Laszlo Bock, Google’s Senior VP of People Operations.", "znaku_textu": 2919, "slov": 419, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:08", "sha256": "73c4efcc2d753a0398f2268ea1aa8dd0f9960008669ad688caafb4d439375108", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/part-V-conclusions/", "titulek": "Google - Site Reliability Engineering", "h1": "Part V. Conclusions", "popis": "", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/part-V-conclusions/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/part-V-conclusions/"}, "headline": "Part V - Conclusions", "description": "Having covered much ground in terms of how SRE works at Google, and how the principles and practices we've developed might be applied to other organizations in our field", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part V. Conclusions"}], "markdown": "# Part V. Conclusions\n\nHaving covered much ground in terms of how SRE works at Google, and how the principles and practices we've developed might be applied to other organizations in our field, it now seems appropriate to turn our view to [Lessons Learned from Other Industries](/sre-book/lessons-learned/), to examine how SRE's practices compare to other industries where reliability is critically important.\n\nFinally, Google's VP for Site Reliability Engineering, Benjamin Lutch, writes about SRE's evolution over the course of his career in [his conclusion](/sre-book/conclusion/), examining SRE through the lens of some observations on the aviation industry.", "znaku_textu": 658, "slov": 97, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:09", "sha256": "f28ef36196d22cdf514007b426eb27921b96cbdc0c29b23246154570854484b2", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/postmortem-culture/", "titulek": "Google SRE - Blameless Postmortem for System Resilience", "h1": "Postmortem Culture: Learning from Failure", "popis": "Blameless postmortems in SRE culture. Incident study that focus on root cause analysis and preventive actions, for culture of continuous improvement.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/postmortem-culture/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/postmortem-culture/"}, "headline": "Postmortem Culture: Learning from Failure", "description": "Incidents and outages are inevitable given our scale and velocity of change. When an incident occurs, we fix the underlying issue, and services return to their normal operating conditions. Unless we have some formalized process of learning from these incidents in place, they may recur ad infinitum. Left unchecked, incidents can multiply in complexity or even cascade, overwhelming a system and its operators and ultimately impacting our users. Therefore, postmortems are an essential tool for SRE.", "author": [{"@type": "Person", "name": "John Lunney"}, {"@type": "Person", "name": "Sue Lueder"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Postmortem Culture: Learning from Failure"}, {"uroven": 2, "text": "Google’s Postmortem Philosophy"}, {"uroven": 5, "text": "Best Practice: Avoid Blame and Keep It Constructive"}, {"uroven": 5, "text": "Best Practice: No Postmortem Left Unreviewed"}, {"uroven": 1, "text": "Introducing a Postmortem Culture"}, {"uroven": 5, "text": "Best Practice: Visibly Reward People for Doing the Right Thing"}, {"uroven": 5, "text": "Best Practice: Ask for Feedback on Postmortem Effectiveness"}, {"uroven": 1, "text": "Conclusion and Ongoing Improvements"}], "markdown": "# Postmortem Culture: Learning from Failure\n\nWritten by John Lunney and Sue Lueder\nEdited by Gary O’ Connor\n\n> The cost of failure is education.\n> \n> Devin Carraway\n\nAs SREs, we work with large-scale, complex, distributed systems. We constantly enhance our services with new features and add new systems. Incidents and outages are inevitable given our scale and velocity of change. When an incident occurs, we fix the underlying issue, and services return to their normal operating conditions. Unless we have some formalized process of learning from these incidents in place, they may recur ad infinitum. Left unchecked, incidents can multiply in complexity or even cascade, overwhelming a system and its operators and ultimately impacting our users. Therefore, postmortems are an essential tool for SRE.\n\nThe postmortem concept is well known in the technology industry [[All12]](/sre-book/bibliography#All12). A postmortem is a written record of an incident, its impact, the actions taken to mitigate or resolve it, the root cause(s), and the follow-up actions to prevent the incident from recurring. This chapter describes criteria for deciding when to conduct postmortems, some best practices around postmortems, and advice on how to cultivate a postmortem culture based on the experience we’ve gained over the years.\n\n## Google’s Postmortem Philosophy\n\nThe primary goals of [writing a postmortem](../../sre-book/example-postmortem/) are to ensure that the incident is documented, that all contributing root cause(s) are well understood, and, especially, that effective preventive actions are put in place to reduce the likelihood and/or impact of recurrence. A detailed survey of root-cause analysis techniques is beyond the scope of this chapter (instead, see [[Roo04]](/sre-book/bibliography#Roo04)); however, articles, best practices, and tools abound in the system quality domain. Our teams use a variety of techniques for root-cause analysis and choose the technique best suited to their services. Postmortems are expected after any significant undesirable event. Writing a postmortem is not punishment—it is a learning opportunity for the entire company. The postmortem process does present an inherent cost in terms of time or effort, so we are deliberate in choosing when to write one. Teams have some internal flexibility, but common [postmortem triggers](https://sre.google/workbook/postmortem-analysis/) include:\n\n- User-visible downtime or degradation beyond a certain threshold\n- Data loss of any kind\n- On-call engineer intervention (release rollback, rerouting of traffic, etc.)\n- A resolution time above some threshold\n- A monitoring failure (which usually implies manual incident discovery)\n\nIt is important to define postmortem criteria before an incident occurs so that everyone knows when a postmortem is necessary. In addition to these objective triggers, any stakeholder may request a postmortem for an event.\n\nBlameless postmortems are a tenet of SRE culture. For a postmortem to be truly blameless, it must focus on identifying the contributing causes of the incident without indicting any individual or team for bad or inappropriate behavior. A blamelessly written postmortem assumes that everyone involved in an incident had good intentions and did the right thing with the information they had. If a culture of finger pointing and shaming individuals or teams for doing the \"wrong\" thing prevails, people will not bring issues to light for fear of punishment.\n\nBlameless culture originated in the healthcare and avionics industries where mistakes can be fatal. These industries nurture an environment where every \"mistake\" is seen as an opportunity to strengthen the system. When postmortems shift from allocating blame to investigating the systematic reasons why an individual or team had incomplete or incorrect information, effective prevention plans can be put in place. You can’t \"fix\" people, but you can fix systems and processes to better support people making the right choices when designing and maintaining complex systems.\n\nWhen an outage does occur, a postmortem is not written as a formality to be forgotten. Instead the postmortem is seen by engineers as an opportunity not only to fix a weakness, but to make Google more resilient as a whole. While a blameless postmortem doesn’t simply vent frustration by pointing fingers, it *should* call out where and how services can be improved. Here are two examples:\n\nPointing fingers\n\n\"We need to rewrite the entire complicated backend system! It’s been breaking weekly for the last three quarters and I’m sure we’re all tired of fixing things onesy-twosy. Seriously, if I get paged one more time I’ll rewrite it myself…\"\n\nBlameless\n\n\"An action item to rewrite the entire backend system might actually prevent these annoying pages from continuing to happen, and the maintenance manual for this version is quite long and really difficult to be fully trained up on. I’m sure our future on-callers will thank us!\"\n\n##### Best Practice: Avoid Blame and Keep It Constructive\n\nBlameless postmortems can be challenging to write, because the postmortem format clearly identifies the actions that led to the incident. Removing blame from a postmortem gives people the confidence to escalate issues without fear. It is also important not to stigmatize frequent production of postmortems by a person or team. An atmosphere of blame risks creating a culture in which incidents and issues are swept under the rug, leading to greater risk for the organization [[Boy13]](/sre-book/bibliography#Boy13).\n\nWe value collaboration, and the postmortem process is no exception. The postmortem workflow includes collaboration and knowledge-sharing at every stage.\n\nOur postmortem documents are Google Docs, with an in-house template (see [Example Postmortem](/sre-book/example-postmortem/)). Regardless of the specific tool you use, look for the following key features:\n\nReal-time collaboration\n\nEnables the rapid collection of data and ideas. Essential during the early creation of a postmortem.\n\nAn open commenting/annotation system\n\nMakes crowdsourcing solutions easy and improves coverage.\n\nEmail notifications\n\nCan be directed at collaborators within the document or used to loop in others to provide input.\n\nWriting a postmortem also involves formal review and publication. In practice, teams share the first postmortem draft internally and solicit a group of senior engineers to assess the draft for completeness. Review criteria might include:\n\n- Was key incident data collected for posterity?\n- Are the impact assessments complete?\n- Was the root cause sufficiently deep?\n- Is the action plan appropriate and are resulting bug fixes at appropriate priority?\n- Did we share the outcome with relevant stakeholders?\n\nOnce the initial review is complete, the postmortem is shared more broadly, typically with the larger engineering team or on an internal mailing list. Our goal is to share postmortems to the widest possible audience that would benefit from the knowledge or lessons imparted. Google has stringent rules around access to any piece of information that might identify an end-user,80 and even internal documents like postmortems never include such information.\n\n##### Best Practice: No Postmortem Left Unreviewed\n\nAn unreviewed postmortem might as well never have existed. To ensure that each completed draft is reviewed, we encourage regular review sessions for postmortems. In these meetings, it is important to close out any ongoing discussions and comments, to capture ideas, and to finalize the state.\n\nOnce those involved are satisfied with the document and its action items, the postmortem is added to a team or organization repository of past incidents.81 Transparent sharing makes it easier for others to find and learn from the postmortem.\n\n# Introducing a Postmortem Culture\n\nIntroducing a postmortem culture to your organization is easier said than done; such an effort requires continuous cultivation and reinforcement. We reinforce a collaborative postmortem culture through senior management’s active participation in the review and collaboration process. Management can encourage this culture, but blameless postmortems are ideally the product of engineer self-motivation. In the spirit of nurturing the postmortem culture, SREs proactively create activities that disseminate what we learn about system infrastructure. Some example activities include:\n\nPostmortem of the month\n\nIn a monthly newsletter, an interesting and well-written postmortem is shared with the entire organization.\n\nGoogle+ postmortem group\n\nThis group shares and discusses internal and external postmortems, best practices, and commentary about postmortems.\n\nPostmortem reading clubs\n\nTeams host regular postmortem reading clubs, in which an interesting or impactful postmortem is brought to the table (along with some tasty refreshments) for an open dialogue with participants, nonparticipants, and new Googlers about what happened, what lessons the incident imparted, and the aftermath of the incident. Often, the postmortem being reviewed is months or years old!\n\nWheel of Misfortune\n\nNew SREs are often treated to the Wheel of Misfortune exercise (see [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg)), in which a previous postmortem is reenacted with a cast of engineers playing roles as laid out in the postmortem. The original incident commander attends to help make the experience as \"real\" as possible.\n\nOne of the biggest challenges of introducing postmortems to an organization is that some may question their value given the cost of their preparation. The following strategies can help in facing this challenge:\n\n- Ease postmortems into the workflow. A trial period with several complete and successful postmortems may help prove their value, in addition to helping to identify what criteria should initiate a postmortem.\n- Make sure that writing effective postmortems is a rewarded and celebrated practice, both publicly through the social methods mentioned earlier, and through individual and team performance management.\n- Encourage senior leadership’s acknowledgment and participation. Even Larry Page talks about the high value of postmortems!\n\n##### Best Practice: Visibly Reward People for Doing the Right Thing\n\nGoogle’s founders Larry Page and Sergey Brin host TGIF, a weekly all-hands held live at our headquarters in Mountain View, California, and broadcast to Google offices around the world. A 2014 TGIF focused on \"The Art of the Postmortem,\" which featured SRE discussion of high-impact incidents. One SRE discussed a release he had recently pushed; despite thorough testing, an unexpected interaction inadvertently took down a critical service for four minutes. The incident only lasted four minutes because the SRE had the presence of mind to roll back the change immediately, averting a much longer and larger-scale outage. Not only did this engineer receive two peer bonuses82 immediately afterward in recognition of his quick and level-headed handling of the incident, but he also received a huge round of applause from the TGIF audience, which included the company’s founders and an audience of Googlers numbering in the thousands. In addition to such a visible forum, Google has an array of internal social networks that drive peer praise toward well-written [postmortems](https://sre.google/sre-book/managing-incidents/) and exceptional incident handling. This is one example of many where recognition of these contributions comes from peers, CEOs, and everyone in between.83\n\n##### Best Practice: Ask for Feedback on Postmortem Effectiveness\n\nAt Google, we strive to address problems as they arise and share innovations internally. We regularly survey our teams on how the postmortem process is supporting their goals and how the process might be improved. We ask questions such as: Is the culture supporting your work? Does writing a postmortem entail too much toil (see [Eliminating Toil](/sre-book/eliminating-toil/))? What best practices does your team recommend for other teams? What kinds of tools would you like to see developed? The survey results give the SREs in the trenches the opportunity to ask for improvements that will increase the effectiveness of the postmortem culture.\n\nBeyond the operational aspects of incident management and follow-up, postmortem practice has been woven into the culture at Google: it’s now a cultural norm that any significant incident is followed by a comprehensive postmortem.\n\n# Conclusion and Ongoing Improvements\n\nWe can say with confidence that thanks to our continuous investment in cultivating a postmortem culture, Google weathers fewer outages and fosters a better user experience. Our \"Postmortems at Google\" working group is one example of our commitment to the culture of blameless postmortems. This group coordinates postmortem efforts across the company: pulling together postmortem templates, automating postmortem creation with data from tools used during an incident, and helping automate data extraction from postmortems so we can perform trend analysis. We’ve been able to collaborate on best practices from products as disparate as YouTube, Google Fiber, Gmail, Google Cloud, AdWords, and Google Maps. While these products are quite diverse, they all conduct postmortems with the universal goal of learning from our darkest hours.\n\nWith a large number of postmortems produced each month across Google, tools to aggregate postmortems are becoming more and more useful. These tools help us identify common themes and areas for improvement across product boundaries. To facilitate comprehension and automated analysis, we have recently enhanced our postmortem template (see [Example Postmortem](/sre-book/example-postmortem/)) with additional metadata fields. Future work in this domain includes machine learning to help predict our weaknesses, facilitate real-time incident investigation, and reduce duplicate incidents.\n\n80See [*https://www.google.com/policies/privacy/*](https://www.google.com/policies/privacy/).\n\n81If you’d like to start your own repository, Etsy has released [*Morgue*](https://github.com/etsy/morgue), a tool for managing postmortems.\n\n82Google’s Peer Bonus program is a way for fellow Googlers to recognize colleagues for exceptional efforts and involves a token cash reward.\n\n83For further discussion of this particular incident, see [Emergency Response](/sre-book/emergency-response/).", "znaku_textu": 14420, "slov": 2145, "odkazu": 68, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:10", "sha256": "885916e3c46dfb2cf3a506435f9df60ca1bf3e491e521725705f7202ac12eb49", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.google.com/policies/privacy/", "https://github.com/etsy/morgue", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/practical-alerting/", "titulek": "Google SRE: Time Series Database for Monitoring and Alerting", "h1": "Practical Alerting from Time-Series Data", "popis": "Time series database for real-time time series monitoring, blackbox monitoring and time series alerting, detect issues and optimize system performance.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/practical-alerting/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/practical-alerting/"}, "headline": "Practical Alerting", "description": "Monitoring, the bottom layer of the Hierarchy of Production Needs, is fundamental to running a stable service. Monitoring enables service owners to make rational decisions about the impact of changes to the service, apply the scientific method to incident response, and of course ensure their reason for existence: to measure the service's alignment with business goals.", "image": "https://lh3.googleusercontent.com/QNW84utlNyQC-Tbo5W04JGcHwxAyQIyYSB2djPm0qB4KYsUysjjMMHMza2qb7KH_t6Z9odNfFcpvnSoUxrUWq88tohS_iZTQUPgUgQ", "author": [{"@type": "Person", "name": "Jamie Wilkinson"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Practical Alerting from Time-Series Data"}, {"uroven": 2, "text": "The Rise of Borgmon"}, {"uroven": 5, "text": "Time-Series Monitoring Outside of Google"}, {"uroven": 1, "text": "Instrumentation of Applications"}, {"uroven": 5, "text": "Exporting Variables"}, {"uroven": 1, "text": "Collection of Exported Data"}, {"uroven": 1, "text": "Storage in the Time-Series Arena"}, {"uroven": 2, "text": "Labels and Vectors"}, {"uroven": 1, "text": "Rule Evaluation"}, {"uroven": 6, "text": "Note"}, {"uroven": 6, "text": "Tip"}, {"uroven": 6, "text": "Note"}, {"uroven": 6, "text": "Note"}, {"uroven": 1, "text": "Alerting"}, {"uroven": 1, "text": "Sharding the Monitoring Topology"}, {"uroven": 1, "text": "Black-Box Monitoring"}, {"uroven": 1, "text": "Maintaining the Configuration"}, {"uroven": 1, "text": "Ten Years On…"}], "markdown": "# Practical Alerting from Time-Series Data\n\nWritten by Jamie Wilkinson\nEdited by Kavita Guliani\n\n> May the queries flow, and the pager stay silent.\n> \n> Traditional SRE blessing\n\nMonitoring, the bottom layer of the *Hierarchy of Production Needs*, is fundamental to running a stable service. Monitoring enables service owners to make rational decisions about the impact of changes to the service, apply the scientific method to incident response, and of course ensure their reason for existence: to measure the service’s alignment with business goals (see [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/)).\n\nRegardless of whether or not a service enjoys SRE support, it should be run in a symbiotic relationship with its monitoring. But having been tasked with ultimate responsibility for Google Production, SREs develop a particularly intimate knowledge of the monitoring infrastructure that supports their service.\n\nMonitoring a very large system is challenging for a couple of reasons:\n\n- The sheer number of components being analyze\n- The need to maintain a reasonably low maintenance burden on the engineers responsible for the system\n\nGoogle’s [monitoring systems](https://sre.google/sre-book/monitoring-distributed-systems/) don’t just measure simple metrics, such as the average response time of an unladen European web server; we also need to understand the distribution of those response times across all web servers in that region. This knowledge enables us to identify the factors contributing to the latency tail.\n\nAt the scale our systems operate, being alerted for single-machine failures is unacceptable because such data is too noisy to be actionable. Instead we try to build systems that are robust against failures in the systems they depend on. Rather than requiring management of many individual components, a large system should be designed to aggregate signals and prune outliers. We need monitoring systems that allow us to alert for high-level service objectives, but retain the granularity to inspect individual components as needed.\n\nGoogle’s monitoring systems evolved over the course of 10 years from the traditional model of custom scripts that check responses and alert, wholly separated from visual display of trends, to a new paradigm. This new model made the collection of time-series a first-class role of the monitoring system, and replaced those check scripts with a rich language for manipulating time-series into charts and alerts.\n\n## The Rise of Borgmon\n\nShortly after the job scheduling infrastructure Borg [[Ver15]](/sre-book/bibliography#Ver15) was created in 2003, a new monitoring system—Borgmon—was built to complement it.\n\n##### Time-Series Monitoring Outside of Google\n\nThis chapter describes the architecture and programming interface of an internal monitoring tool that was foundational for the growth and reliability of Google for almost 10 years…but how does that help you, our dear reader?\n\nIn recent years, monitoring has undergone a Cambrian Explosion: Riemann, Heka, Bosun, and Prometheus have emerged as open source tools that are very similar to Borgmon’s time-series–based alerting. In particular, Prometheus42 shares many similarities with Borgmon, especially when you compare the two rule languages. The principles of variable collection and rule evaluation remain the same across all these tools and provide an environment with which you can experiment, and hopefully launch into production, the ideas inspired by this chapter.\n\nInstead of executing custom scripts to detect system failures, Borgmon relies on a common data exposition format; this enables mass data collection with low overheads and avoids the costs of subprocess execution and network connection setup. We call this *white-box monitoring* (see [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/) for a comparison of white-box and black-box monitoring).\n\nThe data is used both for rendering charts and creating alerts, which are accomplished using simple arithmetic. Because collection is no longer in a short-lived process, the history of the collected data can be used for that alert computation as well.\n\nThese features help to meet the goal of simplicity described in [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/). They allow the system overhead to be kept low so that the people running the services can remain agile and respond to continuous change in the system as it grows.\n\nTo facilitate mass collection, the metrics format had to be standardized. An older method of exporting the internal state (known as *varz*)43 was formalized to allow the collection of all metrics from a single target in one HTTP fetch. For example, to view a page of metrics manually, you could use the following command:\n\n```\n % curl https://webserver:80/varz http_requests 37\nerrors_total 12 \n```\n\nA Borgmon can collect from other Borgmon,44 so we can build hierarchies that follow the topology of the service, aggregating and summarizing information and discarding some strategically at each level. Typically, a team runs a single Borgmon per cluster, and a pair at the global level. Some very large services shard below the cluster level into many *scraper* Borgmon, which in turn feed to the cluster-level Borgmon.\n\n# Instrumentation of Applications\n\nThe `/varz` HTTP handler simply lists all the exported variables in plain text, as space-separated keys and values, one per line. A later extension added a mapped variable, which allows the exporter to define several labels on a variable name, and then export a table of values or a histogram. An example *map-valued* variable looks like the following, showing 25 HTTP 200 responses and 12 HTTP 500s:\n\n```\nhttp_responses map:code 200:25 404:0 500:12\n```\n\nAdding a metric to a program only requires a single declaration in the code where the metric is needed.\n\nIn hindsight, it’s apparent that this schemaless textual interface makes the barrier to adding new instrumentation very low, which is a positive for both the software engineering and SRE teams. However, this has a trade-off against ongoing maintenance; the decoupling of the variable definition from its use in Borgmon rules requires careful change management. In practice, this trade-off has been satisfactory because tools to validate and generate rules have been written as well.45\n\n##### Exporting Variables\n\nGoogle’s web roots run deep: each of the major languages used at Google has an implementation of the exported variable interface that automagically registers with the HTTP server built into every Google binary by default.46 The instances of the variable to be exported allow the server author to perform obvious operations like adding an amount to the current value, setting a key to a specific value, and so forth. The Go `expvar` library47 and its JSON output form have a variant of this API.\n\n# Collection of Exported Data\n\nTo find its targets, a Borgmon instance is configured with a list of targets using one of many name resolution methods.48 The target list is often dynamic, so using service discovery reduces the cost of maintaining it and allows the monitoring to scale.\n\nAt predefined intervals, Borgmon fetches the `/varz` URI on each target, decodes the results, and stores the values in memory. Borgmon also spreads the collection from each instance in the target list over the whole interval, so that collection from each target is not in lockstep with its peers.\n\nBorgmon also records \"synthetic\" variables for each target in order to identify:\n\n- If the name was resolved to a host and port\n- If the target responded to a collection\n- If the target responded to a health check\n- What time the collection finished\n\nThese synthetic variables make it easy to write rules to detect if the monitored tasks are unavailable.\n\nIt’s interesting that varz is quite dissimilar to SNMP (Simple Network Management Protocol), which \"is designed […] to have minimal transport requirements and to continue working when most other network applications fail\" [[Mic03]](/sre-book/bibliography#Mic03). Scraping targets over HTTP seems to be at odds with this design principle; however, experience shows that this is rarely an issue.49 The system itself is already designed to be robust against network and machine failures, and Borgmon allows engineers to write smarter alerting rules by using the collection failure itself as a signal.\n\n# Storage in the Time-Series Arena\n\nA service is typically made up of many binaries running as many tasks, on many machines, in many clusters. Borgmon needs to keep all that data organized, while allowing flexible querying and slicing of that data.\n\nBorgmon stores all the data in an in-memory database, regularly checkpointed to disk. The data points have the form `(timestamp, value)`, and are stored in chronological lists called *time-series*, and each time-series is named by a unique set of *labels*, of the form `name=value`.\n\nAs presented in Figure 10-1, a time-series is conceptually a one-dimensional matrix of numbers, progressing through time. As you add permutations of labels to this time-series, the matrix becomes multidimensional.\n\nFigure 10-1. A time-series for errors labeled by the original host each was collected from\n\nIn practice, the structure is a fixed-sized block of memory, known as the *time-series arena*, with a garbage collector that expires the oldest entries once the arena is full. The time interval between the most recent and oldest entries in the arena is the *horizon*, which indicates how much queryable data is kept in RAM. Typically, datacenter and global Borgmon are sized to hold about 12 hours of data50 for rendering consoles, and much less time if they are the lowest-level collector shards. The memory requirement for a single data point is about 24 bytes, so we can fit 1 million unique time-series for 12 hours at 1-minute intervals in under 17 GB of RAM.\n\nPeriodically, the in-memory state is archived to an external system known as the Time-Series Database (TSDB). Borgmon can query TSDB for older data and, while slower, TSDB is cheaper and larger than a Borgmon’s RAM.\n\n## Labels and Vectors\n\nAs shown in the example time-series in Figure 10-2, time-series are stored as sequences of numbers and timestamps, which are referred to as *vectors*. Like vectors in linear algebra, these vectors are slices and cross-sections of the multidimensional matrix of data points in the arena. Conceptually the timestamps can be ignored, because the values are inserted in the vector at regular intervals in time—for example, 1 or 10 seconds or 1 minute apart.\n\nFigure 10-2. An example time-series\n\nThe name of a time-series is a *labelset*, because it’s implemented as a set of labels expressed as `key=value` pairs. One of these labels is the variable name itself, the key that appears on the varz page.\n\nA few label names are declared as important. For the time-series in the time-series database to be identifiable, it must at minimum have the following labels:\n\n`var`\n\nThe name of the variable\n\n`job`\n\nThe name given to the type of server being monitored\n\n`service`\n\nA loosely defined collection of jobs that provide a service to users, either internal or external\n\n`zone`\n\nA Google convention that refers to the location (typically the datacenter) of the Borgmon that performed the collection of this variable\n\nTogether, these variables appear something like the following, called the *variable expression*:\n\n```\n {var=http_requests,job=webserver,instance=host0:80,service=web,zone=us-west}\n```\n\nA query for a time-series does not require specification of all these labels, and a search for a *labelset* returns all matching time-series in a vector. So we could return a vector of results by removing the `instance` label in the preceding query, if there were more than one instance in the cluster. For example:\n\n```\n {var=http_requests,job=webserver,service=web,zone=us-west}\n```\n\nmight have a result of five rows in a vector, with the most recent value in the time-series like so:\n\n```\n {var=http_requests,job=webserver,instance=host0:80,service=web,zone=us-west} 10\n {var=http_requests,job=webserver,instance=host1:80,service=web,zone=us-west} 9\n {var=http_requests,job=webserver,instance=host2:80,service=web,zone=us-west} 11\n {var=http_requests,job=webserver,instance=host3:80,service=web,zone=us-west} 0\n {var=http_requests,job=webserver,instance=host4:80,service=web,zone=us-west} 10\n \n```\n\nLabels can be added to a time-series from:\n\n- The target’s name, e.g., the job and instance\n- The target itself, e.g., via map-valued variables\n- The Borgmon configuration, e.g., annotations about location or relabeling\n- The Borgmon rules being evaluated\n\nWe can also query time-series in time, by specifying a duration to the variable expression:\n\n```\n {var=http_requests,job=webserver,service=web,zone=us-west}[10m]\n```\n\nThis returns the last 10 minutes of history of the time-series that matched the expression. If we were collecting data points once per minute, we would expect to return 10 data points in a 10-minute window, like so:51\n\n```\n {var=http_requests,job=webserver,instance=host0:80, ...} 0 1 2 3 4 5 6 7 8 9 10\n {var=http_requests,job=webserver,instance=host1:80, ...} 0 1 2 3 4 4 5 6 7 8 9\n {var=http_requests,job=webserver,instance=host2:80, ...} 0 1 2 3 5 6 7 8 9 9 11\n {var=http_requests,job=webserver,instance=host3:80, ...} 0 0 0 0 0 0 0 0 0 0 0\n {var=http_requests,job=webserver,instance=host4:80, ...} 0 1 2 3 4 5 6 7 8 9 10\n \n```\n\n# Rule Evaluation\n\nBorgmon is really just a programmable calculator, with some syntactic sugar that enables it to generate alerts. The data collection and storage components already described are just necessary evils to make that programmable calculator ultimately fit for purpose here as a monitoring system. :)\n\n###### Note\n\nCentralizing the rule evaluation in a monitoring system, rather than delegating it to forked subprocesses, means that computations can run in parallel against many similar targets. This practice keeps the configuration relatively small in size (for example, by removing duplication of code) yet more powerful through its expressiveness.\n\nThe Borgmon program code, also known as *Borgmon rules*, consists of simple algebraic expressions that compute time-series from other time-series. These rules can be quite powerful because they can query the history of a single time-series (i.e., the time axis), query different subsets of labels from many time-series at once (i.e., the space axis), and apply many mathematical operations.\n\nRules run in a parallel threadpool where possible, but are dependent on ordering when using previously defined rules as input. The size of the vectors returned by their query expressions also determines the overall runtime of a rule. Thus, it is typically the case that one can add CPU resources to a Borgmon task in response to it running slow. To assist more detailed analysis, internal metrics on the runtime of rules are exported for performance debugging and for monitoring the monitoring.\n\nAggregation is the cornerstone of rule evaluation in a distributed environment. Aggregation entails taking the sum of a set of time-series from the tasks in a job in order to treat the job as a whole. From those sums, overall rates can be computed. For example, the total queries-per-second rate of a job in a datacenter is the sum of all the rates of change52 of all the query counters.53\n\n###### Tip\n\nA counter is any monotonically non-decreasing variable—which is to say, counters only increase in value. Gauges, on the other hand, may take any value they like. Counters measure increasing values, such as the total number of kilometers driven, while gauges show current state, such as the amount of fuel remaining or current speed. When collecting Borgmon-style data, it’s better to use counters, because they don’t lose meaning when events occur between sampling intervals. Should any activity or changes occur between sampling intervals, a gauge collection is likely to miss that activity.\n\nFor an example web server, we might want to alert when our web server cluster starts to serve more errors as a percent of requests than we think is normal—or more technically, when the sum of the rates of non-HTTP-200 return codes on all tasks in the cluster, divided by the sum of the rates of requests to all tasks in that cluster, is greater than some value.\n\nThis is accomplished by:\n\n1. Aggregating the rates of response codes across all tasks, outputting a vector of rates at that point in time, one for each code.\n2. Computing the total error rate as the sum of that vector, outputting a single value for the cluster at that point in time. This total error rate excludes the 200 code from the sum, because it is not an error.\n3. Computing the cluster-wide ratio of errors to requests, dividing the total error rate by the rate of requests that arrived, and again outputting a single value for the cluster at that point in time.\n\nEach of these outputs at a point in time gets appended to its named variable expression, which creates the new time-series. As a result, we will be able to inspect the history of error rates and error ratios some other time.\n\nThe rate of requests rules would be written in Borgmon’s rule language as the following:\n\n```\nrules <<<\n # Compute the rate of requests for each task from the count of requests\n {var=task:http_requests:rate10m,job=webserver} =\n rate({var=http_requests,job=webserver}[10m]);\n\n # Sum the rates to get the aggregate rate of queries for the cluster;\n # ‘without instance’ instructs Borgmon to remove the instance label\n # from the right hand side.\n {var=dc:http_requests:rate10m,job=webserver} =\n sum without instance({var=task:http_requests:rate10m,job=webserver})\n >>>\n```\n\nThe `rate()` function takes the enclosed expression and returns the total delta divided by the total time between the earliest and latest values.\n\nWith the example time-series data from the query before, the results for the `task:http_requests:rate10m` rule would look like:54\n\n```\n {var=task:http_requests:rate10m,job=webserver,instance=host0:80, ...} 1\n {var=task:http_requests:rate10m,job=webserver,instance=host1:80, ...} 0.9\n {var=task:http_requests:rate10m,job=webserver,instance=host2:80, ...} 1.1\n {var=task:http_requests:rate10m,job=webserver,instance=host3:80, ...} 0\n {var=task:http_requests:rate10m,job=webserver,instance=host4:80, ...} 1\n \n```\n\nand the results for the `dc:http_requests:rate10m` rule would be:\n\n```\n {var=dc:http_requests:rate10m,job=webserver,service=web,zone=us-west} 4\n```\n\nbecause the second rule uses the first one as input.\n\n###### Note\n\nThe `instance` label is missing in the output now, discarded by the aggregation rule. If it had remained in the rule, then Borgmon would not have been able to sum the five rows together.\n\nIn these examples, we use a time window because we’re dealing with discrete points in the time-series, as opposed to continuous functions. Doing so makes the rate calculation easier than performing calculus, but means that to compute a rate, we need to select a sufficient number of data points. We also have to deal with the possibility that some recent collections have failed. Recall that the historical variable expression notation uses the range `[10m]` to avoid missing data points caused by collection errors.\n\nThe example also uses a Google convention that helps readability. Each computed variable name contains a colon-separated triplet indicating the aggregation level, the variable name, and the operation that created that name. In this example, the lefthand variables are \"task HTTP requests 10-minute rate\" and \"datacenter HTTP requests 10-minute rate.\"\n\nNow that we know how to create a rate of queries, we can build on that to also compute a rate of errors, and then we can calculate the ratio of responses to requests to understand how much useful work the service is doing. We can compare the ratio rate of errors to our service level objective (see [Service Level Objectives](/sre-book/service-level-objectives/)) and alert if this objective is missed or in danger of being missed:\n\n```\nrules <<<\n # Compute a rate pertask and per ‘code’ label\n {var=task:http_responses:rate10m,job=webserver} =\n rate by code({var=http_responses,job=webserver}[10m]);\n\n # Compute a cluster level response rate per ‘code’ label\n {var=dc:http_responses:rate10m,job=webserver} =\n sum without instance({var=task:http_responses:rate10m,job=webserver});\n\n # Compute a new cluster level rate summing all non 200 codes\n {var=dc:http_errors:rate10m,job=webserver} =\n sum without code({var=dc:http_responses:rate10m,job=webserver,code=!/200/});\n\n # Compute the ratio of the rate of errors to the rate of requests\n {var=dc:http_errors:ratio_rate10m,job=webserver} =\n {var=dc:http_errors:rate10m,job=webserver}\n /\n {var=dc:http_requests:rate10m,job=webserver};\n >>>\n```\n\nAgain, this calculation demonstrates the convention of suffixing the new time-series variable name with the operation that created it. This result is read as \"datacenter HTTP errors 10 minute ratio of rates.\"\n\nThe output of these rules might look like:55\n\n`{var=task:http_responses:rate10m,job=webserver}`\n\n```\n {var=task:http_responses:rate10m,job=webserver,code=200,instance=host0:80, ...} 1\n {var=task:http_responses:rate10m,job=webserver,code=500,instance=host0:80, ...} 0\n {var=task:http_responses:rate10m,job=webserver,code=200,instance=host1:80, ...} 0.5\n {var=task:http_responses:rate10m,job=webserver,code=500,instance=host1:80, ...} 0.4\n {var=task:http_responses:rate10m,job=webserver,code=200,instance=host2:80, ...} 1\n {var=task:http_responses:rate10m,job=webserver,code=500,instance=host2:80, ...} 0.1\n {var=task:http_responses:rate10m,job=webserver,code=200,instance=host3:80, ...} 0\n {var=task:http_responses:rate10m,job=webserver,code=500,instance=host3:80, ...} 0\n {var=task:http_responses:rate10m,job=webserver,code=200,instance=host4:80, ...} 0.9\n {var=task:http_responses:rate10m,job=webserver,code=500,instance=host4:80, ...} 0.1\n \n```\n\n`{var=dc:http_responses:rate10m,job=webserver}`\n\n```\n {var=dc:http_responses:rate10m,job=webserver,code=200, ...} 3.4\n {var=dc:http_responses:rate10m,job=webserver,code=500, ...} 0.6\n```\n\n`{var=dc:http_responses:rate10m,job=webserver,code=!/200/}`\n\n```\n {var=dc:http_responses:rate10m,job=webserver,code=500, ...} 0.6\n```\n\n`{var=dc:http_errors:rate10m,job=webserver}`\n\n```\n {var=dc:http_errors:rate10m,job=webserver, ...} 0.6\n```\n\n`{var=dc:http_errors:ratio_rate10m,job=webserver}`\n\n```\n {var=dc:http_errors:ratio_rate10m,job=webserver} 0.15\n```\n\n###### Note\n\nThe preceding output shows the intermediate query in the `dc:http_errors:rate10m` rule that filters the non-200 error codes. Though the value of the expressions are the same, observe that the code label is retained in one but removed from the other.\n\nAs mentioned previously, Borgmon rules create new time-series, so the results of the computations are kept in the time-series arena and can be inspected just as the source time-series are. The ability to do so allows for ad hoc querying, evaluation, and exploration as tables or charts. This is a useful feature for debugging while on-call, and if these ad hoc queries prove useful, they can be made permanent visualizations on a service console.\n\n# Alerting\n\nWhen an [alerting rule](https://sre.google/workbook/alerting-on-slos/) is evaluated by a Borgmon, the result is either true, in which case the alert is triggered, or false. Experience shows that alerts can \"flap\" (toggle their state quickly); therefore, the rules allow a minimum duration for which the alerting rule must be true before the alert is sent. Typically, this duration is set to at least two rule evaluation cycles to ensure no missed collections cause a false alert.\n\nThe following example creates an alert when the error ratio over 10 minutes exceeds 1% and the total number of errors exceeds 1 per second\n\n```\nrules <<<\n {var=dc:http_errors:ratio_rate10m,job=webserver} > 0.01\n and by job, error\n {var=dc:http_errors:rate10m,job=webserver} > 1\n for 2m\n => ErrorRatioTooHigh\n details \"webserver error ratio at %trigger_value%\"\n labels { severity=page };\n >>>\n \n```\n\nOur example holds the ratio rate at 0.15, which is well over the threshold of 0.01 in the alerting rule. However, the number of errors is not greater than 1 at this moment, so the alert won’t be active. Once the number of errors exceeds 1, the alert will go *pending* for two minutes to ensure it isn’t a transient state, and only then will it *fire*.\n\nThe alert rule contains a small template for filling out a message containing contextual information: which job the alert is for, the name of the alert, the numerical value of the triggering rule, and so on. The contextual information is filled out by Borgmon when the alert fires and is sent in the Alert RPC.\n\nBorgmon is connected to a centrally run service, known as the Alertmanager, which receives Alert RPCs when the rule first triggers, and then again when the alert is considered to be \"firing.\" The Alertmanager is responsible for routing the alert notification to the correct destination. Alertmanager can be configured to do the following:\n\n- Inhibit certain alerts when others are active\n- Deduplicate alerts from multiple Borgmon that have the same labelsets\n- Fan-in or fan-out alerts based on their labelsets when multiple alerts with similar labelsets fire\n\nAs described in [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/), teams send their page-worthy alerts to their on-call rotation and their important but subcritical alerts to their ticket queues. All other alerts should be retained as informational data for status dashboards.\n\nA more comprehensive guide to alert design can be found in [Service Level Objectives](/sre-book/service-level-objectives/).\n\n# Sharding the Monitoring Topology\n\nA Borgmon can import time-series data from other Borgmon, as well. While one could attempt to collect from all tasks in a service globally, doing so quickly becomes a scaling bottleneck and introduces a single point of failure into the design. Instead, a streaming protocol is used to transmit time-series data between Borgmon, saving CPU time and network bytes compared to the text-based varz format. A typical such deployment uses two or more global Borgmon for top-level aggregation and one Borgmon in each datacenter to monitor all the jobs running at that location. (Google divides the production network into zones for production changes, so having two or more global replicas provides diversity in the face of maintenance and outages for this otherwise single point of failure.)\n\nAs shown in Figure 10-3, more complicated deployments shard the datacenter Borgmon further into a purely scraping-only layer (often due to RAM and CPU constraints in a single Borgmon for very large services) and a DC aggregation layer that performs mostly rule evaluation for aggregation. Sometimes the global layer is split between rule evaluation and dashboarding. Upper-tier Borgmon can filter the data they want to stream from the lower-tier Borgmon, so that the global Borgmon does not fill its arena with all the per-task time-series from the lower tiers. Thus, the aggregation hierarchy builds local caches of relevant time-series that can be drilled down into when required.\n\nFigure 10-3. A data flow model of a hierarchy of Borgmon in three clusters\n\n# Black-Box Monitoring\n\nBorgmon is a white-box monitoring system—it inspects the internal state of the target service, and the rules are written with knowledge of the internals in mind. The transparent nature of this model provides great power to identify quickly what components are failing, which queues are full, and where bottlenecks occur, both when responding to an incident and when testing a new feature deployment.\n\nHowever, white-box monitoring does not provide a full picture of the system being monitored; relying solely upon white-box monitoring means that you aren’t aware of what the users see. You only see the queries that arrive at the target; the queries that never make it due to a DNS error are invisible, while queries lost due to a server crash never make a sound. You can only alert on the failures that you expected.\n\nTeams at Google solve this coverage issue with Prober, which runs a protocol check against a target and reports success or failure. The prober can send alerts directly to Alertmanager, or its own varz can be collected by a Borgmon. Prober can validate the response payload of the protocol (e.g., the HTML contents of an HTTP response) and validate that the contents are expected, and even extract and export values as time-series. Teams often use Prober to export histograms of response times by operation type and payload size so that they can slice and dice the user-visible performance. Prober is a hybrid of the check-and-test model with some richer variable extraction to create time-series.\n\nProber can be pointed at either the frontend domain or behind the load balancer. By using both targets, we can detect localized failures and suppress alerts. For example, we might monitor both the load balanced *www.google.com* and the web servers in each datacenter behind the load balancer. This setup allows us to either know that traffic is still served when a datacenter fails, or to quickly isolate an edge in the traffic flow graph where a failure has occurred.\n\n# Maintaining the Configuration\n\nBorgmon configuration separates the definition of the rules from the targets being monitored. This means the same sets of rules can be applied to many targets at once, instead of writing nearly identical configuration over and over. This separation of concerns might seem incidental, but it greatly reduces the cost of maintaining the monitoring by avoiding lots of repetition in describing the target systems.\n\nBorgmon also supports language templates. This macro-like system enables engineers to construct libraries of rules that can be reused. This functionality again reduces repetition, thus reducing the likelihood of bugs in the configuration.\n\nOf course, any high-level programming environment creates the opportunity for complexity, so Borgmon provides a way to build extensive unit and regression tests by synthesizing time-series data, in order to ensure that the rules behave as the author thinks they do. The Production Monitoring team runs a continuous integration service that executes a suite of these tests, packages the configuration, and ships the configuration to all the Borgmon in production, which then validate the configuration before accepting it.\n\nIn the vast library of common templates that have been created, two classes of [monitoring configuration](https://sre.google/workbook/monitoring/) have emerged. The first class simply codifies the emergent schema of variables exported from a given library of code, such that any user of the library can reuse the template of its varz. Such templates exist for the HTTP server library, memory allocation, the storage client library, and generic RPC services, among others. (While the varz interface declares no schema, the rule library associated with the code library ends up declaring a schema.)\n\nThe second class of library emerged as we built templates to manage the aggregation of data from a single-server task to the global service footprint. These libraries contain generic aggregation rules for exported variables that engineers can use to model the topology of their service.\n\nFor example, a service may provide a single global API, but be homed in many datacenters. Within each datacenter, the service is composed of several shards, and each shard is composed of several jobs with various numbers of tasks. An engineer can model this breakdown with Borgmon rules so that when debugging, subcomponents can be isolated from the rest of the system. These groupings typically follow the shared fate of components; e.g., individual tasks share fate due to configuration files, jobs in a shard share fate because they’re homed in the same datacenter, and physical sites share fate due to networking.\n\nLabeling conventions make such division possible: a Borgmon adds labels indicating the target’s instance name and the shard and datacenter it occupies, which can be used to group and aggregate those time-series together.\n\nThus, we have multiple uses for labels on a time-series, though all are interchangeable:\n\n- Labels that define breakdowns of the data itself (e.g., our HTTP response code on the `http_responses` variable)\n- Labels that define the source of the data (e.g., the instance or job name)\n- Labels that indicate the locality or aggregation of the data within the service as a whole (e.g., the zone label describing a physical location, a shard label describing a logical grouping of tasks)\n\nThe templated nature of these libraries allows flexibility in their use. The same template can be used to aggregate from each tier.\n\n# Ten Years On…\n\nBorgmon transposed the model of check-and-alert per target into mass variable collection and a centralized rule evaluation across the time-series for alerting and diagnostics.\n\nThis decoupling allows the size of the system being monitored to scale independently of the size of alerting rules. These rules cost less to maintain because they’re abstracted over a common time-series format. New applications come ready with metric exports in all components and libraries to which they link, and well-traveled aggregation and console templates, which further reduces the burden of implementation.\n\nEnsuring that the cost of maintenance scales sublinearly with the size of the service is key to making monitoring (and all sustaining operations work) maintainable. This theme recurs in all SRE work, as SREs work to scale all aspects of their work to the global scale.\n\nTen years is a long time, though, and of course today the shape of the monitoring landscape within Google has evolved with experiments and changes, striving for continual improvement as the company grows.\n\nEven though Borgmon remains internal to Google, the idea of treating time-series data as a data source for generating alerts is now accessible to everyone through those open source tools like Prometheus, Riemann, Heka, and Bosun, and probably others by the time you read this.\n\n42Prometheus is an open source monitoring and time-series database system available at [*https://prometheus.io*](https://prometheus.io).\n\n43Google was born in the USA, so we pronounce this *\"var-zee.\"*\n\n44The plural of Borgmon is Borgmon, like sheep.\n\n45Many non-SRE teams use a generator to stamp out the initial boilerplate and ongoing updates, and find the generator much easier to use (though less powerful) than directly editing the rules.\n\n46Many other applications use their service protocol to export their internal state, as well. OpenLDAP exports it through the `cn=Monitor` subtree; MySQL can report state with a `SHOW VARIABLES` query; Apache has its `mod_status` handler.\n\n47[*https://golang.org/pkg/expvar/*](https://golang.org/pkg/expvar/)\n\n48The Borg Name System (BNS) is described in [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/).\n\n49Recall in [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/) the distinction between alerting on symptoms and on causes.\n\n50This 12-hour horizon is a magic number that aims to have enough information for debugging an incident in RAM for fast queries without costing *too much* RAM.\n\n51The `service` and `zone` labels are elided here for space, but are present in the returned expression.\n\n52Computing the sum of rates instead of the rate of sums defends the result against counter resets or missing data, perhaps due to a task restart or failed collection of data.\n\n53Despite being untyped, the majority of varz are simple counters. Borgmon’s rate function handles all the corner cases of counter resets.\n\n54The `service` and `zone` labels are elided for space.\n\n55The `service` and `zone` labels are elided for space.", "znaku_textu": 35797, "slov": 5407, "odkazu": 89, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:12", "sha256": "476741fb04c12ba161ce1a485be8e995a53a8ba310113100718da8b3ba8da275", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://prometheus.io/", "https://golang.org/pkg/expvar/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/preface/", "titulek": "Google SRE - What is SRE Role and Responsibilities", "h1": "Preface", "popis": "Role of a SRE, for system reliability, and service operations. Explore how SREs contribute to the development of scalable, and reliable systems.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/preface/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/preface/"}, "headline": "Preface", "description": "Software engineering has this in common with having children: the labor before the birth is painful and difficult, but the labor after the birth is where you actually spend most of your effort.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Preface"}, {"uroven": 2, "text": "Conventions Used in This Book"}, {"uroven": 6, "text": "Tip"}, {"uroven": 6, "text": "Note"}, {"uroven": 6, "text": "Warning"}, {"uroven": 1, "text": "Using Code Examples"}, {"uroven": 1, "text": "Safari® Books Online"}, {"uroven": 6, "text": "Note"}, {"uroven": 1, "text": "How to Contact Us"}, {"uroven": 1, "text": "Acknowledgments"}], "markdown": "# Preface\n\nSoftware engineering has this in common with having children: the labor *before* the birth is painful and difficult, but the labor *after* the birth is where you actually spend most of your effort. Yet software engineering as a discipline spends much more time talking about the first period as opposed to the second, despite estimates that 40–90% of the total costs of a system are incurred after birth.1 The popular industry model that conceives of deployed, operational software as being “stabilized” in production, and therefore needing much less attention from software engineers, is wrong. Through this lens, then, we see that if software engineering tends to focus on designing and building software systems, there must be another discipline that focuses on the *whole* lifecycle of software objects, from inception, through deployment and operation, refinement, and eventual peaceful decommissioning. This discipline uses—and needs to use—a wide range of skills, but has separate concerns from other kinds of engineers. Today, our answer is the discipline Google calls Site Reliability Engineering.\n\nSo what exactly is Site Reliability Engineering (SRE)? We admit that it’s not a particularly clear name for what we do—pretty much every site reliability engineer at Google gets asked what exactly that is, and what they actually do, on a regular basis.\n\nUnpacking the term a little, first and foremost, SREs are *engineers*. We apply the principles of computer science and engineering to the design and development of computing systems: generally, large distributed ones. Sometimes, our task is writing the software for those systems alongside our product development counterparts; sometimes, our task is building all the additional pieces those systems need, like backups or load balancing, ideally so they can be reused across systems; and sometimes, our task is figuring out how to apply existing solutions to new problems.\n\nNext, we focus on system *reliability*. Ben Treynor Sloss, Google’s VP for 24/7 Operations, originator of the term SRE, claims that reliability is the most fundamental feature of any product: a system isn’t very useful if nobody can use it! Because reliability2 is so critical, SREs are focused on finding ways to improve the design and operation of systems to make them more scalable, more reliable, and more efficient. However, we expend effort in this direction only up to a point: when systems are “reliable enough,” we instead invest our efforts in adding features or building new products.3\n\nFinally, SREs are focused on operating *services* built atop our distributed computing systems, whether those services are planet-scale storage, email for hundreds of millions of users, or where Google began, web search. The “site” in our name originally referred to SRE’s role in keeping the *google.com* website running, though we now run many more services, many of which aren’t themselves websites—from internal infrastructure such as Bigtable to products for external developers such as the Google Cloud Platform.\n\nAlthough we have represented SRE as a broad discipline, it is no surprise that it arose in the fast-moving world of web services, and perhaps in origin owes something to the peculiarities of our infrastructure. It is equally no surprise that of all the post-deployment characteristics of software that we could choose to devote special attention to, reliability is the one we regard as primary.4 The domain of web services, both because the process of improving and changing server-side software is comparatively contained, and because managing change itself is so tightly coupled with failures of all kinds, is a natural platform from which our approach might emerge.\n\nDespite arising at Google, and in the web community more generally, we think that this discipline has lessons applicable to other communities and other organizations. This book is an attempt to explain how we do things: both so that other organizations might make use of what we’ve learned, and so that we can better define the role and what the term means. To that end, we have organized the book so that general principles and more specific practices are separated where possible, and where it’s appropriate to discuss a particular topic with Google-specific information, we trust that the reader will indulge us in this and will not be afraid to draw useful conclusions about their own environment.\n\nWe have also provided some orienting material—a description of Google’s production environment and a mapping between some of our internal software and publicly available software—which should help to contextualize what we are saying and make it more directly usable.\n\nUltimately, of course, more reliability-oriented software and systems engineering is inherently good. However, we acknowledge that smaller organizations may be wondering how they can best use the experience represented here: much like security, the earlier you care about reliability, the better. This implies that even though a small organization has many pressing concerns and the software choices you make may differ from those Google made, it’s still worth putting lightweight reliability support in place early on, because it’s less costly to expand a structure later on than it is to introduce one that is not present. [Management](/sre-book/part-IV-management/) contains a number of best practices for training, communication, and meetings that we’ve found to work well for us, many of which should be immediately usable by your organization.\n\nBut for sizes between a startup and a multinational, there probably already is someone in your organization who is doing SRE work, without it necessarily being called that name, or recognized as such. Another way to get started on the path to improving reliability for your organization is to formally recognize that work, or to find these people and foster what they do—reward it. They are people who stand on the cusp between one way of looking at the world and another one: like Newton, who is sometimes called not the world’s first physicist, but the world’s last alchemist.\n\nAnd taking the historical view, who, then, looking back, might be the first SRE?\n\nWe like to think that Margaret Hamilton, working on the Apollo program on loan from MIT, had all of the significant traits of the first SRE.5 In her own words, \"part of the culture was to learn from everyone and everything, including from that which one would least expect.\"\n\nA case in point was when her young daughter Lauren came to work with her one day, while some of the team were running mission scenarios on the hybrid simulation computer. As young children do, Lauren went exploring, and she caused a \"mission\" to crash by selecting the DSKY keys in an unexpected way, alerting the team as to what would happen if the prelaunch program, P01, were inadvertently selected by a real astronaut during a real mission, during real midcourse. (Launching P01 inadvertently on a real mission would be a major problem, because it wipes out navigation data, and the computer was not equipped to pilot the craft with no navigation data.)\n\nWith an SRE’s instincts, Margaret submitted a program change request to add special error checking code in the on­board flight software in case an astronaut should, by accident, happen to select P01 during flight. But this move was considered unnecessary by the \"higher-ups\" at NASA: of course, that could never happen! So instead of adding error checking code, Margaret updated the mission specifications documentation to say the equivalent of \"Do not select P01 during flight.\" (Apparently the update was amusing to many on the project, who had been told many times that astronauts would not make any mistakes—after all, they were trained to be perfect.)\n\nWell, Margaret’s suggested safeguard was only considered unnecessary until the very next mission, on Apollo 8, just days after the specifications update. During midcourse on the fourth day of flight with the astronauts Jim Lovell, William Anders, and Frank Borman on board, Jim Lovell selected P01 by mistake—as it happens, on Christmas Day—creating much havoc for all involved. This was a critical problem, because in the absence of a workaround, no navigation data meant the astronauts were never coming home. Thankfully, the documentation update had explicitly called this possibility out, and was invaluable in figuring out how to upload usable data and recover the mission, with not much time to spare.\n\nAs Margaret says, \"a thorough understanding of how to operate the systems was not enough to prevent human errors,\" and the change request to add error detection and recovery software to the prelaunch program P01 was approved shortly afterwards.\n\nAlthough the Apollo 8 incident occurred decades ago, there is much in the preceding paragraphs directly relevant to engineers’ lives today, and much that will continue to be directly relevant in the future. Accordingly, for the systems you look after, for the groups you work in, or for the organizations you’re building, please bear the SRE Way in mind: thoroughness and dedication, belief in the value of preparation and documentation, and an awareness of what could go wrong, coupled with a strong desire to prevent it. Welcome to our emerging profession!\n\n## Conventions Used in This Book\n\nThe following typographical conventions are used in this book:\n\nItalic\n\nIndicates new terms, URLs, email addresses, filenames, and file extensions.\n\n`Constant width`\n\nUsed for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.\n\n`**Constant width bold**`\n\nShows commands or other text that should be typed literally by the user.\n\n*`Constant width italic`*\n\nShows text that should be replaced with user-supplied values or by values determined by context.\n\n###### Tip\n\nThis element signifies a tip or suggestion.\n\n###### Note\n\nThis element signifies a general note.\n\n###### Warning\n\nThis element indicates a warning or caution.\n\n# Using Code Examples\n\nSupplemental material is available at [*https://g.co/SREBook*](https://g.co/SREBook).\n\nThis book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.\n\nWe appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: “*Site Reliability Engineering*, edited by Betsy Beyer, Chris Jones, Jennifer Petoff, and Niall Richard Murphy (O’Reilly). Copyright 2016 Google, Inc., 978-1-491-92912-4.”\n\nIf you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at [*permissions@oreilly.com*](mailto:permissions@oreilly.com).\n\n# Safari® Books Online\n\n###### Note\n\n[*Safari Books Online*](https://safaribooksonline.com) is an on-demand digital library that delivers expert [content](https://www.safaribooksonline.com/explore/) in both book and video form from the world’s leading authors in technology and business.\n\nTechnology professionals, software developers, web designers, and business and creative professionals use Safari Books Online as their primary resource for research, problem solving, learning, and certification training.\n\nSafari Books Online offers a range of [plans and pricing](https://www.safaribooksonline.com/pricing/) for [enterprise](https://www.safaribooksonline.com/enterprise/), [government](https://www.safaribooksonline.com/government/), [education](https://learning.oreilly.com/), and individuals.\n\nMembers have access to thousands of books, training videos, and prepublication manuscripts in one fully searchable database from publishers like O’Reilly Media, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Technology, and hundreds [more](https://learning.oreilly.com/). For more information about Safari Books Online, please visit us [online](https://safaribooksonline.com).\n\n# How to Contact Us\n\nPlease address comments and questions concerning this book to the publisher:\n\n- O’Reilly Media, Inc.\n- 1005 Gravenstein Highway North\n- Sebastopol, CA 95472\n- 800-998-9938 (in the United States or Canada)\n- 707-829-0515 (international or local)\n- 707-829-0104 (fax)\n\nWe have a web page for this book, where we list errata, examples, and any additional information. You can access this page at [*https://bit.ly/site-reliability-engineering*](https://bit.ly/site-reliability-engineering).\n\nTo comment or ask technical questions about this book, send email to [*bookquestions@oreilly.com*](mailto:bookquestions@oreilly.com).\n\nFor more information about our books, courses, conferences, and news, see our website at [*https://www.oreilly.com*](https://www.oreilly.com).\n\nFind us on Facebook: [*https://facebook.com/oreilly*](https://facebook.com/oreilly)\n\nFollow us on Twitter: [*https://twitter.com/oreillymedia*](https://twitter.com/oreillymedia)\n\nWatch us on YouTube: [*https://www.youtube.com/oreillymedia*](https://www.youtube.com/oreillymedia)\n\n# Acknowledgments\n\nThis book would not have been possible without the tireless efforts of our\n authors and technical writers. We’d also like thank the following internal reviewers for providing especially valuable feedback: Alex Matey, Dermot Duffy, JC van Winkel, John T. Reese, Michael O’Reilly, Steve Carstensen, and Todd Underwood. Ben Lutch and Ben Treynor Sloss were this book’s sponsors within Google; their belief in this project and sharing what we’ve learned about running large-scale services was essential to making this book happen.\n\nWe’d like to send special thanks to Rik Farrow, the editor of *;login:*, for partnering with us on a number of contributions for pre-publication via USENIX.\n\nWhile the authors are specifically acknowledged in each chapter, we’d like to take time to recognize those that contributed to each chapter by providing thoughtful input, discussion, and review.\n\n[Embracing Risk](/sre-book/embracing-risk/): Abe Rahey, Ben Treynor Sloss, Brian Stoler, Dave O’Connor, David Besbris, Jill Alvidrez, Mike Curtis, Nancy Chang, Tammy Capistrant, Tom Limoncelli\n\n[Eliminating Toil](/sre-book/eliminating-toil/): Cody Smith, George Sadlier, Laurence Berland, Marc Alvidrez, Patrick Stahlberg, Peter Duff, Pim van Pelt, Ryan Anderson, Sabrina Farmer, Seth Hettich\n\n[Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/): Mike Curtis, Jamie Wilkinson, Seth Hettich\n\n[Release Engineering](/sre-book/release-engineering/): David Schnur, JT Goldstone, Marc Alvidrez, Marcus Lara-Reinhold, Noah Maxwell, Peter Dinges, Sumitran Raghunathan, Yutong Cho\n\n[Simplicity](/sre-book/simplicity/): Ryan Anderson\n\n[Practical Alerting from Time-Series Data](/sre-book/practical-alerting/): Jules Anderson, Max Luebbe, Mikel Mcdaniel, Raul Vera, Seth Hettich\n\n[Being On-Call](/sre-book/being-on-call/): Andrew Stribblehill, Richard Woodbury\n\n[Effective Troubleshooting](/sre-book/effective-troubleshooting/): Charles Stephen Gunn, John Hedditch, Peter Nuttall, Rob Ewaschuk, Sam Greenfield\n\n[Emergency Response](/sre-book/emergency-response/): Jelena Oertel, Kripa Krishnan, Sergio Salvi, Tim Craig\n\n[Managing Incidents](/sre-book/managing-incidents/): Amy Zhou, Carla Geisser, Grainne Sheerin, Hildo Biersma, Jelena Oertel, Perry Lorier, Rune Kristian Viken\n\n[Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/): Dan Wu, Heather Sherman, Jared Brick, Mike Louer, Štěpán Davidovič, Tim Craig\n\n[Tracking Outages](/sre-book/tracking-outages/): Andrew Stribblehill, Richard Woodbury\n\n[Testing for Reliability](/sre-book/testing-reliability/): Isaac Clerencia, Marc Alvidrez\n\n[Software Engineering in SRE](/sre-book/software-engineering-in-sre/): Ulric Longyear\n\n[Load Balancing at the Frontend](/sre-book/load-balancing-frontend/): Debashish Chatterjee, Perry Lorier\n\nChapters [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/) and [Handling Overload](/sre-book/handling-overload/): Adam Fletcher, Christoph Pfisterer, Lukáš Ježek, Manjot Pahwa, Micha Riser, Noah Fiedel, Pavel Herrmann, Paweł Zuzelski, Perry Lorier, Ralf Wildenhues, Tudor-Ioan Salomie, Witold Baryluk\n\n[Addressing Cascading Failures](/sre-book/addressing-cascading-failures/): Mike Curtis, Ryan Anderson\n\n[Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/): Ananth Shrinivas, Mike Burrows\n\n[Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/): Ben Fried, Derek Jackson, Gabe Krabbe, Laura Nolan, Seth Hettich\n\n[Data Processing Pipelines](/sre-book/data-processing-pipelines/): Abdulrahman Salem, Alex Perry, Arnar Mar Hrafnkelsson, Dieter Pearcey, Dylan Curley, Eivind Eklund, Eric Veach, Graham Poulter, Ingvar Mattsson, John Looney, Ken Grant, Michelle Duffy, Mike Hochberg, Will Robinson\n\n[Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/): Corey Vickrey, Dan Ardelean, Disney Luangsisongkham, Gordon Prioreschi, Kristina Bennett, Liang Lin, Michael Kelly, Sergey Ivanyuk\n\n[Reliable Product Launches at Scale](/sre-book/reliable-product-launches/): Vivek Rau\n\n[Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/): Melissa Binde, Perry Lorier, Preston Yoshioka\n\n[Dealing with Interrupts](/sre-book/dealing-with-interrupts/): Ben Lutch, Carla Geisser, Dzevad Trumic, John Turek, Matt Brown\n\n[Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload/): Charles Stephen Gunn, Chris Heiser, Max Luebbe, Sam Greenfield\n\n[Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/): Alex Kehlenbeck, Jeromy Carriere, Joel Becker, Sowmya Vijayaraghavan, Trevor Mattson-Hamilton\n\n[The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/): Seth Hettich\n\n[Lessons Learned from Other Industries](/sre-book/lessons-learned/): Adrian Hilton, Brad Kratochvil, Charles Ballowe, Dan Sheridan, Eddie Kennedy, Erik Gross, Gus Hartmann, Jackson Stone, Jeff Stevenson, John Li, Kevin Greer, Matt Toia, Michael Haynie, Mike Doherty, Peter Dahl, Ron Heiby\n\nWe are also grateful to the following contributors, who either provided significant material, did an excellent job of reviewing, agreed to be interviewed, supplied significant expertise or resources, or had some otherwise excellent effect on this work:\n\nAbe Hassan, Adam Rogoyski, Alex Hidalgo, Amaya Booker, Andrew Fikes, Andrew Hurst, Ariel Goh, Ashleigh Rentz, Ayman Hourieh, Barclay Osborn, Ben Appleton, Ben Love, Ben Winslow, Bernhard Beck, Bill Duane, Bill Patry, Blair Zajac, Bob Gruber, Brian Gustafson, Bruce Murphy, Buck Clay, Cedric Cellier, Chiho Saito, Chris Carlon, Christopher Hahn, Chris Kennelly, Chris Taylor, Ciara Kamahele-Sanfratello, Colin Phipps, Colm Buckley, Craig Paterson, Daniel Eisenbud, Daniel V. Klein, Daniel Spoonhower, Dan Watson, Dave Phillips, David Hixson, Dina Betser, Doron Meyer, Dmitry Fedoruk, Eric Grosse, Eric Schrock, Filip Zyzniewski, Francis Tang, Gary Arneson, Georgina Wilcox, Gretta Bartels, Gustavo Franco, Harald Wagener, Healfdene Goguen, Hugo Santos, Hyrum Wright, Ian Gulliver, Jakub Turski, James Chivers, James O’Kane, James Youngman, Jan Monsch, Jason Parker-Burlingham, Jason Petsod, Jeffry McNeil, Jeff Dean, Jeff Peck, Jennifer Mace, Jerry Cen, Jess Frame, John Brady, John Gunderman, John Kochmar, John Tobin, Jordyn Buchanan, Joseph Bironas, Julio Merino, Julius Plenz, Kate Ward, Kathy Polizzi, Katrina Sostek, Kenn Hamm, Kirk Russell, Kripa Krishnan, Larry Greenfield, Lea Oliveira, Luca Cittadini, Lucas Pereira, Magnus Ringman, Mahesh Palekar, Marco Paganini, Mario Bonilla, Mathew Mills, Mathew Monroe, Matt D. Brown, Matt Proud, Max Saltonstall, Michal Jaszczyk, Mihai Bivol, Misha Brukman, Olivier Oansaldi, Patrick Bernier, Pierre Palatin, Rob Shanley, Robert van Gent, Rory Ward, Rui Zhang-Shen, Salim Virji, Sanjay Ghemawat, Sarah Coty, Sean Dorward, Sean Quinlan, Sean Sechrist, Shari Trumbo-McHenry, Shawn Morrissey, Shun-Tak Leung, Stan Jedrus, Stefano Lattarini, Steven Schirripa, Tanya Reilly, Terry Bolt, Tim Chaplin, Toby Weingartner, Tom Black, Udi Meiri, Victor Terron, Vlad Grama, Wes Hertlein, and Zoltan Egyed.\n\nWe very much appreciate the thoughtful and in-depth feedback that we received from external reviewers: Andrew Fong, Björn Rabenstein, Charles Border, David Blank-Edelman, Frossie Economou, James Meickle, Josh Ryder, Mark Burgess, and Russ Allbery.\n\nWe would like to extend special thanks to Cian Synnott, original book team member and co-conspirator, who left Google before this project was completed but was deeply influential to it, and Margaret Hamilton, who so graciously allowed us to reference her story in our preface. Additionally, we would like to extend special thanks to Shylaja Nukala, who generously gave of the time of her technical writers and supported their necessary and valued efforts wholeheartedly.\n\nThe editors would also like to personally thank the following people:\n\nBetsy Beyer: To Grandmother (my personal hero), for supplying endless amounts of phone pep talks and popcorn, and to Riba, for supplying me with the sweatpants necessary to fuel several late nights. These, of course, in addition to the cast of SRE all-stars who were indeed delightful collaborators.\n\nChris Jones: To Michelle, for saving me from a life of crime on the high seas and for her uncanny ability to find manzanas in unexpected places, and to those who’ve taught me about engineering over the years.\n\nJennifer Petoff: To my husband Scott for being incredibly supportive during the two year process of writing this book and for keeping the editors supplied with plenty of sugar on our \"Dessert Island.\"\n\nNiall Murphy: To Léan, Oisín, and Fiachra, who were considerably more patient than I had any right to expect with a substantially rantier father and husband than usual, for years. To Dermot, for the transfer offer.\n\n1The very fact that there is such large variance in these estimates tells you something about software engineering as a discipline, but see, e.g., [[Gla02]](/sre-book/bibliography#Gla02) for more details.\n\n2For our purposes, reliability is \"The probability that [a system] will perform a required function without failure under stated conditions for a stated period of time,\" following the definition in [[Oco12]](/sre-book/bibliography#Oco12).\n\n3The software systems we’re concerned with are largely websites and similar services; we do not discuss the reliability concerns that face software intended for nuclear power plants, aircraft, medical equipment, or other safety-critical systems. We do, however, compare our approaches with those used in other industries in [Lessons Learned from Other Industries](/sre-book/lessons-learned/).\n\n4In this, we are distinct from the industry term DevOps, because although we definitely regard infrastructure as code, we have *reliability* as our main focus. Additionally, we are strongly oriented toward removing the necessity for operations—see [The Evolution of Automation at Google](/sre-book/automation-at-google/) for more details.\n\n5In addition to this great story, she also has a substantial claim to popularizing the term \"software engineering.\"", "znaku_textu": 23927, "slov": 3475, "odkazu": 77, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:14", "sha256": "16c9e96c776f2b676d3061dd1362b7cd6c31451cb78cc2a2ffcae7db5bd101e9", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://g.co/SREBook", "https://safaribooksonline.com/", "https://www.safaribooksonline.com/explore/", "https://www.safaribooksonline.com/pricing/", "https://www.safaribooksonline.com/enterprise/", "https://www.safaribooksonline.com/government/", "https://learning.oreilly.com/", "https://bit.ly/site-reliability-engineering", "https://www.oreilly.com/", "https://facebook.com/oreilly", "https://twitter.com/oreillymedia", "https://www.youtube.com/oreillymedia", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/production-environment", "titulek": "Google SRE - SRE best practices for production environment", "h1": "The Production Environment at Google, from the Viewpoint of an SRE", "popis": "Google SRE book for critical understanding about what is a production environment and the role played by production environment in software testing.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/production-environment/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/production-environment/"}, "headline": "The Production Environment at Google, from the Viewpoint of an SRE", "description": "Google datacenters are very different from most conventional datacenters and small-scale server farms. These differences present both extra problems and opportunities.", "image": "https://lh3.googleusercontent.com/reety2gbKIv2DsOTZ_xlGO4NwoGNVMRJUchhm6Ov1PiOODJc5svag80YGi1W_-iIXpKjtR_5dU9PsvSoUnRCRMXeJzvbslEjwr6FUQ", "author": [{"@type": "Person", "name": "JC van Winkel"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Production Environment at Google, from the Viewpoint of an SRE"}, {"uroven": 2, "text": "Hardware"}, {"uroven": 1, "text": "System Software That \"Organizes\" the Hardware"}, {"uroven": 2, "text": "Managing Machines"}, {"uroven": 2, "text": "Storage"}, {"uroven": 2, "text": "Networking"}, {"uroven": 1, "text": "Other System Software"}, {"uroven": 2, "text": "Lock Service"}, {"uroven": 2, "text": "Monitoring and Alerting"}, {"uroven": 1, "text": "Our Software Infrastructure"}, {"uroven": 1, "text": "Our Development Environment"}, {"uroven": 1, "text": "Shakespeare: A Sample Service"}, {"uroven": 2, "text": "Life of a Request"}, {"uroven": 2, "text": "Job and Data Organization"}], "markdown": "# The Production Environment at Google, from the Viewpoint of an SRE\n\nWritten by JC van WinkelEdited by Betsy Beyer\n\nGoogle datacenters are very different from most conventional datacenters and small-scale server farms. These differences present both extra problems and opportunities. This chapter discusses the challenges and opportunities that characterize Google datacenters and introduces terminology that is used throughout the book.\n\n## Hardware\n\nMost of Google’s compute resources are in Google-designed datacenters with proprietary power distribution, cooling, networking, and compute hardware (see [[Bar13]](/sre-book/bibliography#Bar13)). Unlike \"standard\" colocation datacenters, the compute hardware in a Google-designed datacenter is the same across the board.9 To eliminate the confusion between server hardware and server software, we use the following terminology throughout the book:\n\nMachine\n\nA piece of hardware (or perhaps a VM)\n\nServer\n\nA piece of software that implements a service\n\nMachines can run any server, so we don’t dedicate specific machines to specific server programs. There’s no specific machine that runs our mail server, for example. Instead, resource allocation is handled by our cluster operating system, *Borg*.\n\nWe realize this use of the word *server* is unusual. The common use of the word conflates “binary that accepts network connection” with *machine*, but differentiating between the two is important when talking about computing at Google. Once you get used to our usage of *server*, it becomes more apparent why it makes sense to use this specialized terminology, not just within Google but also in the rest of this book.\n\nFigure 2-1 illustrates the topology of a Google datacenter:\n\n- Tens of machines are placed in a *rack* .\n- Racks stand in a *row* .\n- One or more rows form a *cluster* .\n- Usually a *datacenter* building houses multiple clusters.\n- Multiple datacenter buildings that are located close together form a *campus* .\n\nFigure 2-1. Example Google datacenter campus topology\n\nMachines within a given datacenter need to be able to talk with each other, so we created a very fast virtual switch with tens of thousands of ports. We accomplished this by connecting hundreds of Google-built switches in a Clos network fabric [[Clos53]](/sre-book/bibliography#Clos53) named *Jupiter* [[Sin15]](/sre-book/bibliography#Sin15). In its largest configuration, Jupiter supports 1.3 Pbps bisection bandwidth among servers.\n\nDatacenters are connected to each other with our globe-spanning backbone network *B4* [[Jai13]](/sre-book/bibliography#Jai13). B4 is a software-defined networking architecture (and uses the OpenFlow open-standard communications protocol). It supplies massive bandwidth to a modest number of sites, and uses elastic bandwidth allocation to maximize average bandwidth [[Kum15]](/sre-book/bibliography#Kum15).\n\n# System Software That \"Organizes\" the Hardware\n\nOur hardware must be controlled and administered by software that can handle massive scale. Hardware failures are one notable problem that we manage with software. Given the large number of hardware components in a cluster, hardware failures occur quite frequently. In a single cluster in a typical year, thousands of machines fail and thousands of hard disks break; when multiplied by the number of clusters we operate globally, these numbers become somewhat breathtaking. Therefore, we want to abstract such problems away from users, and the teams running our services similarly don’t want to be bothered by hardware failures. Each datacenter campus has teams dedicated to [maintaining the hardware and datacenter infrastructure](../../sre-book/managing-critical-state/).\n\n## Managing Machines\n\n*Borg*, illustrated in Figure 2-2, is a distributed cluster operating system [[Ver15]](/sre-book/bibliography#Ver15), similar to Apache Mesos.10 Borg manages its jobs at the cluster level.\n\nFigure 2-2. High-level Borg cluster architecture\n\nBorg is responsible for running users’ *jobs*, which can either be indefinitely running servers or batch processes like a MapReduce [[Dea04]](/sre-book/bibliography#Dea04). Jobs can consist of more than one (and sometimes thousands) of identical *tasks*, both for reasons of reliability and because a single process can’t usually handle all cluster traffic. When Borg starts a job, it finds machines for the tasks and tells the machines to start the server program. Borg then continually monitors these tasks. If a task malfunctions, it is killed and restarted, possibly on a different machine.\n\nBecause tasks are fluidly allocated over machines, we can’t simply rely on IP addresses and port numbers to refer to the tasks. We solve this problem with an extra level of indirection: when starting a job, Borg allocates a name and index number to each task using the *Borg Naming Service* (BNS). Rather than using the IP address and port number, other processes connect to Borg tasks via the BNS name, which is translated to an IP address and port number by BNS. For example, the BNS path might be a string such as `/bns/<*cluster*>/<*user*>/<*job name*>/<*task number*>`, which would resolve to `<*IP address*>:<*port*>`.\n\nBorg is also responsible for the allocation of resources to jobs. Every job needs to specify its required resources (e.g., 3 CPU cores, 2 GiB of RAM). Using the list of requirements for all jobs, Borg can binpack the tasks over the machines in an optimal way that also accounts for failure domains (for example: Borg won’t run all of a job’s tasks on the same rack, as doing so means that the top of rack switch is a single point of failure for that job).\n\nIf a task tries to use more resources than it requested, Borg kills the task and restarts it (as a slowly crashlooping task is usually preferable to a task that hasn’t been restarted at all).\n\n## Storage\n\nTasks can use the local disk on machines as a scratch pad, but we have several cluster storage options for permanent storage (and even scratch space will eventually move to the cluster storage model). These are comparable to Lustre and the Hadoop Distributed File System (HDFS), which are both open source cluster filesystems.\n\nThe storage layer is responsible for offering users easy and reliable access to the storage available for a cluster. As shown in Figure 2-3, storage has many layers:\n\n1. The lowest layer is called *D* (for *disk* , although D uses both spinning disks and flash storage). D is a fileserver running on almost all machines in a cluster. However, users who want to access their data don’t want to have to remember which machine is storing their data, which is where the next layer comes into play.\n2. A layer on top of D called *Colossus* creates a cluster-wide filesystem that offers usual filesystem semantics, as well as replication and encryption. Colossus is the successor to GFS, the Google File System [[Ghe03]](/sre-book/bibliography#Ghe03) .\n3. There are several database-like services built on top of Colossus:\n 1. Bigtable [[Cha06]](/sre-book/bibliography#Cha06) is a NoSQL database system that can handle databases that are petabytes in size. A Bigtable is a sparse, distributed, persistent multidimensional sorted map that is indexed by row key, column key, and timestamp; each value in the map is an uninterpreted array of bytes. Bigtable supports eventually consistent, cross-datacenter replication.\n 2. Spanner [[Cor12]](/sre-book/bibliography#Cor12) offers an SQL-like interface for users that require real consistency across the world.\n 3. Several other database systems, such as *Blobstore* , are available. Each of these options comes with its own set of trade-offs (see [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/) ).\n\nFigure 2-3. Portions of the Google storage stack\n\n## Networking\n\nGoogle’s network hardware is controlled in several ways. As discussed earlier, we use an OpenFlow-based software-defined network. Instead of using \"smart\" routing hardware, we rely on less expensive \"dumb\" switching components in combination with a central (duplicated) controller that precomputes best paths across the network. Therefore, we’re able to move compute-expensive routing decisions away from the routers and use simple switching hardware.\n\nNetwork bandwidth needs to be allocated wisely. Just as Borg limits the compute resources that a task can use, the Bandwidth Enforcer (BwE) manages the available bandwidth to maximize the average available bandwidth. Optimizing bandwidth isn’t just about cost: centralized traffic engineering has been shown to solve a number of problems that are traditionally extremely difficult to solve through a combination of distributed routing and traffic engineering [[Kum15]](/sre-book/bibliography#Kum15).\n\nSome services have jobs running in multiple clusters, which are distributed across the world. In order to minimize latency for globally distributed services, we want to direct users to the closest datacenter with available capacity. Our *Global Software Load Balancer* (GSLB) performs load balancing on three levels:\n\n- Geographic load balancing for DNS requests (for example, to *www.google.com* ), described in [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/)\n- Load balancing at a user service level (for example, YouTube or Google Maps)\n- Load balancing at the Remote Procedure Call (RPC) level, described in [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/)\n\nService owners specify a symbolic name for a service, a list of BNS addresses of servers, and the capacity available at each of the locations (typically measured in queries per second). GSLB then directs traffic to the BNS addresses.\n\n# Other System Software\n\nSeveral other components in a datacenter are also important.\n\n## Lock Service\n\nThe *Chubby* [[Bur06]](/sre-book/bibliography#Bur06) lock service provides a filesystem-like API for maintaining locks. Chubby handles these locks across datacenter locations. It uses the Paxos protocol for asynchronous Consensus (see [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/)).\n\nChubby also plays an important role in master election. When a service has five replicas of a job running for reliability purposes but only one replica may perform actual work, Chubby is used to select *which* replica may proceed.\n\nData that must be consistent is well suited to storage in Chubby. For this reason, BNS uses Chubby to store mapping between BNS paths and `IP address:port` pairs.\n\n## Monitoring and Alerting\n\nWe want to make sure that all services are running as required. Therefore, we run many instances of our *Borgmon* monitoring program (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)). Borgmon regularly \"scrapes\" metrics from monitored servers. These metrics can be used instantaneously for alerting and also stored for use in historic overviews (e.g., graphs). We can use monitoring in several ways:\n\n- Set up alerting for acute problems.\n- Compare behavior: did a software update make the server faster?\n- Examine how resource consumption behavior evolves over time, which is essential for capacity planning.\n\n# Our Software Infrastructure\n\nOur software architecture is designed to make the most efficient use of our hardware infrastructure. Our code is heavily multithreaded, so one task can easily use many cores. To facilitate dashboards, monitoring, and debugging, every server has an HTTP server that provides diagnostics and statistics for a given task.\n\nAll of Google’s services communicate using a Remote Procedure Call (RPC) infrastructure named *Stubby*; an open source version, gRPC, is available.11 Often, an RPC call is made even when a call to a subroutine in the local program needs to be performed. This makes it easier to refactor the call into a different server if more modularity is needed, or when a server’s codebase grows. GSLB can load balance RPCs in the same way it load balances externally visible services.\n\nA server receives RPC requests from its *frontend* and sends RPCs to its *backend*. In traditional terms, the frontend is called the client and the backend is called the server.\n\nData is transferred to and from an RPC using *protocol buffers*,12 often abbreviated to \"protobufs,\" which are similar to Apache’s Thrift. Protocol buffers have many advantages over XML for serializing structured data: they are simpler to use, 3 to 10 times smaller, 20 to 100 times faster, and less ambiguous.\n\n# Our Development Environment\n\nDevelopment velocity is very important to Google, so we’ve built a complete development environment to make use of our infrastructure [[Mor12b]](/sre-book/bibliography#Mor12b).\n\nApart from a few groups that have their own open source repositories (e.g., Android and Chrome), Google Software Engineers work from a single shared repository [[Pot16]](/sre-book/bibliography#Pot16). This has a few important practical implications for our workflows:\n\n- If engineers encounter a problem in a component outside of their project, they can fix the problem, send the proposed changes (\"changelist,\" or *CL* ) to the owner for review, and submit the CL to the mainline.\n- Changes to source code in an engineer’s own project require a review. All software is reviewed before being submitted.\n\nWhen software is built, the build request is sent to build servers in a datacenter. Even large builds are executed quickly, as many build servers can compile in parallel. This infrastructure is also used for continuous testing. Each time a CL is submitted, tests run on all software that may depend on that CL, either directly or indirectly. If the framework determines that the change likely broke other parts in the system, it notifies the owner of the submitted change. Some projects use a push-on-green system, where a new version is automatically pushed to production after passing tests.\n\n# Shakespeare: A Sample Service\n\nTo provide a model of how a service would hypothetically be deployed in the Google production environment, let’s look at an example service that interacts with multiple Google technologies. Suppose we want to offer a service that lets you determine where a given word is used throughout all of Shakespeare’s works.\n\nWe can divide this system into two parts:\n\n- A batch component that reads all of Shakespeare’s texts, creates an index, and writes the index into a Bigtable. This job need only run once, or perhaps very infrequently (as you never know if a new text might be discovered!).\n- An application frontend that handles end-user requests. This job is always up, as users in all time zones will want to search in Shakespeare’s books.\n\nThe batch component is a MapReduce comprising three phases.\n\nThe mapping phase reads Shakespeare’s texts and splits them into individual words. This is faster if performed in parallel by multiple workers.\n\nThe shuffle phase sorts the tuples by word.\n\nIn the reduce phase, a tuple of (*word*, *list of locations*) is created.\n\nEach tuple is written to a row in a Bigtable, using the word as the key.\n\n## Life of a Request\n\nFigure 2-4 shows how a user’s request is serviced: first, the user points their browser to *shakespeare.google.com*. To obtain the corresponding IP address, the user’s device resolves the address with its [DNS server](https://sre.google/sre-book/load-balancing-frontend/) (1). This request ultimately ends up at Google’s DNS server, which talks to GSLB. As GSLB keeps track of traffic load among frontend servers across regions, it picks which server IP address to send to this user.\n\nFigure 2-4. The life of a request\n\nThe browser connects to the HTTP server on this IP. This server (named the Google Frontend, or GFE) is a reverse proxy that terminates the TCP connection (2). The GFE looks up which service is required (web search, maps, or—in this case—Shakespeare). Again using GSLB, the server finds an available Shakespeare frontend server, and sends that server an RPC containing the HTTP request (3).\n\nThe Shakespeare server analyzes the HTTP request and constructs a protobuf containing the word to look up. The Shakespeare frontend server now needs to contact the Shakespeare backend server: the frontend server contacts GSLB to obtain the BNS address of a suitable and unloaded backend server (4). That Shakespeare backend server now contacts a Bigtable server to obtain the requested data (5).\n\nThe answer is written to the reply protobuf and returned to the Shakespeare backend server. The backend hands a protobuf containing the results to the Shakespeare frontend server, which assembles the HTML and returns the answer to the user.\n\nThis entire chain of events is executed in the blink of an eye—just a few hundred milliseconds! Because many moving parts are involved, there are many potential points of failure; in particular, a failing GSLB would wreak havoc. However, Google’s policies of rigorous testing and careful rollout, in addition to our proactive error recovery methods such as graceful degradation, allow us to deliver the [reliable service](../../sre-book/part-III-practices/) that our users have come to expect. After all, people regularly use *www.google.com* to check if their Internet connection is set up correctly.\n\n## Job and Data Organization\n\nLoad testing determined that our backend server can handle about 100 queries per second (QPS). Trials performed with a limited set of users lead us to expect a peak load of about 3,470 QPS, so we need at least 35 tasks. However, the following considerations mean that we need at least 37 tasks in the job, or N+2:\n\n- During updates, one task at a time will be unavailable, leaving 36 tasks.\n- A machine failure might occur during a task update, leaving only 35 tasks, just enough to serve peak load. 13\n\nA closer examination of user traffic shows our peak usage is distributed globally: 1,430 QPS from North America, 290 from South America, 1,400 from Europe and Africa, and 350 from Asia and Australia. Instead of locating all backends at one site, we distribute them across the USA, South America, Europe, and Asia. Allowing for N+2 redundancy per region means that we end up with 17 tasks in the USA, 16 in Europe, and 6 in Asia. However, we decide to use 4 tasks (instead of 5) in South America, to lower the overhead of N+2 to N+1. In this case, we’re willing to tolerate a small risk of higher latency in exchange for lower hardware costs: if GSLB redirects traffic from one continent to another when our South American datacenter is over capacity, we can save 20% of the resources we’d spend on hardware. In the larger regions, we’ll spread tasks across two or three clusters for extra resiliency.\n\nBecause the backends need to contact the Bigtable holding the data, we need to also design this storage element strategically. A backend in Asia contacting a Bigtable in the USA adds a significant amount of latency, so we replicate the Bigtable in each region. Bigtable replication helps us in two ways: it provides resilience should a Bigtable server fail, and it lowers data-access latency. While Bigtable only offers eventual consistency, it isn’t a major problem because we don’t need to update the contents often.\n\nWe’ve introduced a lot of terminology here; while you don’t need to remember it all, it’s useful for framing many of the other systems we’ll refer to later.\n\n9Well, *roughly* the same. Mostly. Except for the stuff that is different. Some datacenters end up with multiple generations of compute hardware, and sometimes we augment datacenters after they are built. But for the most part, our datacenter hardware is homogeneous.\n\n10Some readers may be more familiar with Borg’s descendant, Kubernetes—an open source Container Cluster orchestration framework started by Google in 2014; see [*https://kubernetes.io*](https://kubernetes.io) and [[Bur16]](/sre-book/bibliography#Bur16). For more details on the similarities between Borg and Apache Mesos, see [[Ver15]](/sre-book/bibliography#Ver15).\n\n11See [*https://grpc.io*](https://grpc.io).\n\n12Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data. For more details, see [*https://developers.google.com/protocol-buffers/*](https://developers.google.com/protocol-buffers/).\n\n13We assume the probability of two simultaneous task failures in our environment is low enough to be negligible. Single points of failure, such as top-of-rack switches or power distribution, may make this assumption invalid in other environments.", "znaku_textu": 20385, "slov": 3219, "odkazu": 85, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:56", "sha256": "37c7a267307ea0b2e51325a4ddf179a4d6c9892c98ddef4b8902ca026c7d7460", "hloubka": 1, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://kubernetes.io/", "https://grpc.io/", "https://developers.google.com/protocol-buffers/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/production-environment/", "titulek": "Google SRE - SRE best practices for production environment", "h1": "The Production Environment at Google, from the Viewpoint of an SRE", "popis": "Google SRE book for critical understanding about what is a production environment and the role played by production environment in software testing.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/production-environment/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/production-environment/"}, "headline": "The Production Environment at Google, from the Viewpoint of an SRE", "description": "Google datacenters are very different from most conventional datacenters and small-scale server farms. These differences present both extra problems and opportunities.", "image": "https://lh3.googleusercontent.com/reety2gbKIv2DsOTZ_xlGO4NwoGNVMRJUchhm6Ov1PiOODJc5svag80YGi1W_-iIXpKjtR_5dU9PsvSoUnRCRMXeJzvbslEjwr6FUQ", "author": [{"@type": "Person", "name": "JC van Winkel"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "The Production Environment at Google, from the Viewpoint of an SRE"}, {"uroven": 2, "text": "Hardware"}, {"uroven": 1, "text": "System Software That \"Organizes\" the Hardware"}, {"uroven": 2, "text": "Managing Machines"}, {"uroven": 2, "text": "Storage"}, {"uroven": 2, "text": "Networking"}, {"uroven": 1, "text": "Other System Software"}, {"uroven": 2, "text": "Lock Service"}, {"uroven": 2, "text": "Monitoring and Alerting"}, {"uroven": 1, "text": "Our Software Infrastructure"}, {"uroven": 1, "text": "Our Development Environment"}, {"uroven": 1, "text": "Shakespeare: A Sample Service"}, {"uroven": 2, "text": "Life of a Request"}, {"uroven": 2, "text": "Job and Data Organization"}], "markdown": "# The Production Environment at Google, from the Viewpoint of an SRE\n\nWritten by JC van WinkelEdited by Betsy Beyer\n\nGoogle datacenters are very different from most conventional datacenters and small-scale server farms. These differences present both extra problems and opportunities. This chapter discusses the challenges and opportunities that characterize Google datacenters and introduces terminology that is used throughout the book.\n\n## Hardware\n\nMost of Google’s compute resources are in Google-designed datacenters with proprietary power distribution, cooling, networking, and compute hardware (see [[Bar13]](/sre-book/bibliography#Bar13)). Unlike \"standard\" colocation datacenters, the compute hardware in a Google-designed datacenter is the same across the board.9 To eliminate the confusion between server hardware and server software, we use the following terminology throughout the book:\n\nMachine\n\nA piece of hardware (or perhaps a VM)\n\nServer\n\nA piece of software that implements a service\n\nMachines can run any server, so we don’t dedicate specific machines to specific server programs. There’s no specific machine that runs our mail server, for example. Instead, resource allocation is handled by our cluster operating system, *Borg*.\n\nWe realize this use of the word *server* is unusual. The common use of the word conflates “binary that accepts network connection” with *machine*, but differentiating between the two is important when talking about computing at Google. Once you get used to our usage of *server*, it becomes more apparent why it makes sense to use this specialized terminology, not just within Google but also in the rest of this book.\n\nFigure 2-1 illustrates the topology of a Google datacenter:\n\n- Tens of machines are placed in a *rack* .\n- Racks stand in a *row* .\n- One or more rows form a *cluster* .\n- Usually a *datacenter* building houses multiple clusters.\n- Multiple datacenter buildings that are located close together form a *campus* .\n\nFigure 2-1. Example Google datacenter campus topology\n\nMachines within a given datacenter need to be able to talk with each other, so we created a very fast virtual switch with tens of thousands of ports. We accomplished this by connecting hundreds of Google-built switches in a Clos network fabric [[Clos53]](/sre-book/bibliography#Clos53) named *Jupiter* [[Sin15]](/sre-book/bibliography#Sin15). In its largest configuration, Jupiter supports 1.3 Pbps bisection bandwidth among servers.\n\nDatacenters are connected to each other with our globe-spanning backbone network *B4* [[Jai13]](/sre-book/bibliography#Jai13). B4 is a software-defined networking architecture (and uses the OpenFlow open-standard communications protocol). It supplies massive bandwidth to a modest number of sites, and uses elastic bandwidth allocation to maximize average bandwidth [[Kum15]](/sre-book/bibliography#Kum15).\n\n# System Software That \"Organizes\" the Hardware\n\nOur hardware must be controlled and administered by software that can handle massive scale. Hardware failures are one notable problem that we manage with software. Given the large number of hardware components in a cluster, hardware failures occur quite frequently. In a single cluster in a typical year, thousands of machines fail and thousands of hard disks break; when multiplied by the number of clusters we operate globally, these numbers become somewhat breathtaking. Therefore, we want to abstract such problems away from users, and the teams running our services similarly don’t want to be bothered by hardware failures. Each datacenter campus has teams dedicated to [maintaining the hardware and datacenter infrastructure](../../sre-book/managing-critical-state/).\n\n## Managing Machines\n\n*Borg*, illustrated in Figure 2-2, is a distributed cluster operating system [[Ver15]](/sre-book/bibliography#Ver15), similar to Apache Mesos.10 Borg manages its jobs at the cluster level.\n\nFigure 2-2. High-level Borg cluster architecture\n\nBorg is responsible for running users’ *jobs*, which can either be indefinitely running servers or batch processes like a MapReduce [[Dea04]](/sre-book/bibliography#Dea04). Jobs can consist of more than one (and sometimes thousands) of identical *tasks*, both for reasons of reliability and because a single process can’t usually handle all cluster traffic. When Borg starts a job, it finds machines for the tasks and tells the machines to start the server program. Borg then continually monitors these tasks. If a task malfunctions, it is killed and restarted, possibly on a different machine.\n\nBecause tasks are fluidly allocated over machines, we can’t simply rely on IP addresses and port numbers to refer to the tasks. We solve this problem with an extra level of indirection: when starting a job, Borg allocates a name and index number to each task using the *Borg Naming Service* (BNS). Rather than using the IP address and port number, other processes connect to Borg tasks via the BNS name, which is translated to an IP address and port number by BNS. For example, the BNS path might be a string such as `/bns/<*cluster*>/<*user*>/<*job name*>/<*task number*>`, which would resolve to `<*IP address*>:<*port*>`.\n\nBorg is also responsible for the allocation of resources to jobs. Every job needs to specify its required resources (e.g., 3 CPU cores, 2 GiB of RAM). Using the list of requirements for all jobs, Borg can binpack the tasks over the machines in an optimal way that also accounts for failure domains (for example: Borg won’t run all of a job’s tasks on the same rack, as doing so means that the top of rack switch is a single point of failure for that job).\n\nIf a task tries to use more resources than it requested, Borg kills the task and restarts it (as a slowly crashlooping task is usually preferable to a task that hasn’t been restarted at all).\n\n## Storage\n\nTasks can use the local disk on machines as a scratch pad, but we have several cluster storage options for permanent storage (and even scratch space will eventually move to the cluster storage model). These are comparable to Lustre and the Hadoop Distributed File System (HDFS), which are both open source cluster filesystems.\n\nThe storage layer is responsible for offering users easy and reliable access to the storage available for a cluster. As shown in Figure 2-3, storage has many layers:\n\n1. The lowest layer is called *D* (for *disk* , although D uses both spinning disks and flash storage). D is a fileserver running on almost all machines in a cluster. However, users who want to access their data don’t want to have to remember which machine is storing their data, which is where the next layer comes into play.\n2. A layer on top of D called *Colossus* creates a cluster-wide filesystem that offers usual filesystem semantics, as well as replication and encryption. Colossus is the successor to GFS, the Google File System [[Ghe03]](/sre-book/bibliography#Ghe03) .\n3. There are several database-like services built on top of Colossus:\n 1. Bigtable [[Cha06]](/sre-book/bibliography#Cha06) is a NoSQL database system that can handle databases that are petabytes in size. A Bigtable is a sparse, distributed, persistent multidimensional sorted map that is indexed by row key, column key, and timestamp; each value in the map is an uninterpreted array of bytes. Bigtable supports eventually consistent, cross-datacenter replication.\n 2. Spanner [[Cor12]](/sre-book/bibliography#Cor12) offers an SQL-like interface for users that require real consistency across the world.\n 3. Several other database systems, such as *Blobstore* , are available. Each of these options comes with its own set of trade-offs (see [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/) ).\n\nFigure 2-3. Portions of the Google storage stack\n\n## Networking\n\nGoogle’s network hardware is controlled in several ways. As discussed earlier, we use an OpenFlow-based software-defined network. Instead of using \"smart\" routing hardware, we rely on less expensive \"dumb\" switching components in combination with a central (duplicated) controller that precomputes best paths across the network. Therefore, we’re able to move compute-expensive routing decisions away from the routers and use simple switching hardware.\n\nNetwork bandwidth needs to be allocated wisely. Just as Borg limits the compute resources that a task can use, the Bandwidth Enforcer (BwE) manages the available bandwidth to maximize the average available bandwidth. Optimizing bandwidth isn’t just about cost: centralized traffic engineering has been shown to solve a number of problems that are traditionally extremely difficult to solve through a combination of distributed routing and traffic engineering [[Kum15]](/sre-book/bibliography#Kum15).\n\nSome services have jobs running in multiple clusters, which are distributed across the world. In order to minimize latency for globally distributed services, we want to direct users to the closest datacenter with available capacity. Our *Global Software Load Balancer* (GSLB) performs load balancing on three levels:\n\n- Geographic load balancing for DNS requests (for example, to *www.google.com* ), described in [Load Balancing at the Frontend](/sre-book/load-balancing-frontend/)\n- Load balancing at a user service level (for example, YouTube or Google Maps)\n- Load balancing at the Remote Procedure Call (RPC) level, described in [Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/)\n\nService owners specify a symbolic name for a service, a list of BNS addresses of servers, and the capacity available at each of the locations (typically measured in queries per second). GSLB then directs traffic to the BNS addresses.\n\n# Other System Software\n\nSeveral other components in a datacenter are also important.\n\n## Lock Service\n\nThe *Chubby* [[Bur06]](/sre-book/bibliography#Bur06) lock service provides a filesystem-like API for maintaining locks. Chubby handles these locks across datacenter locations. It uses the Paxos protocol for asynchronous Consensus (see [Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/)).\n\nChubby also plays an important role in master election. When a service has five replicas of a job running for reliability purposes but only one replica may perform actual work, Chubby is used to select *which* replica may proceed.\n\nData that must be consistent is well suited to storage in Chubby. For this reason, BNS uses Chubby to store mapping between BNS paths and `IP address:port` pairs.\n\n## Monitoring and Alerting\n\nWe want to make sure that all services are running as required. Therefore, we run many instances of our *Borgmon* monitoring program (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)). Borgmon regularly \"scrapes\" metrics from monitored servers. These metrics can be used instantaneously for alerting and also stored for use in historic overviews (e.g., graphs). We can use monitoring in several ways:\n\n- Set up alerting for acute problems.\n- Compare behavior: did a software update make the server faster?\n- Examine how resource consumption behavior evolves over time, which is essential for capacity planning.\n\n# Our Software Infrastructure\n\nOur software architecture is designed to make the most efficient use of our hardware infrastructure. Our code is heavily multithreaded, so one task can easily use many cores. To facilitate dashboards, monitoring, and debugging, every server has an HTTP server that provides diagnostics and statistics for a given task.\n\nAll of Google’s services communicate using a Remote Procedure Call (RPC) infrastructure named *Stubby*; an open source version, gRPC, is available.11 Often, an RPC call is made even when a call to a subroutine in the local program needs to be performed. This makes it easier to refactor the call into a different server if more modularity is needed, or when a server’s codebase grows. GSLB can load balance RPCs in the same way it load balances externally visible services.\n\nA server receives RPC requests from its *frontend* and sends RPCs to its *backend*. In traditional terms, the frontend is called the client and the backend is called the server.\n\nData is transferred to and from an RPC using *protocol buffers*,12 often abbreviated to \"protobufs,\" which are similar to Apache’s Thrift. Protocol buffers have many advantages over XML for serializing structured data: they are simpler to use, 3 to 10 times smaller, 20 to 100 times faster, and less ambiguous.\n\n# Our Development Environment\n\nDevelopment velocity is very important to Google, so we’ve built a complete development environment to make use of our infrastructure [[Mor12b]](/sre-book/bibliography#Mor12b).\n\nApart from a few groups that have their own open source repositories (e.g., Android and Chrome), Google Software Engineers work from a single shared repository [[Pot16]](/sre-book/bibliography#Pot16). This has a few important practical implications for our workflows:\n\n- If engineers encounter a problem in a component outside of their project, they can fix the problem, send the proposed changes (\"changelist,\" or *CL* ) to the owner for review, and submit the CL to the mainline.\n- Changes to source code in an engineer’s own project require a review. All software is reviewed before being submitted.\n\nWhen software is built, the build request is sent to build servers in a datacenter. Even large builds are executed quickly, as many build servers can compile in parallel. This infrastructure is also used for continuous testing. Each time a CL is submitted, tests run on all software that may depend on that CL, either directly or indirectly. If the framework determines that the change likely broke other parts in the system, it notifies the owner of the submitted change. Some projects use a push-on-green system, where a new version is automatically pushed to production after passing tests.\n\n# Shakespeare: A Sample Service\n\nTo provide a model of how a service would hypothetically be deployed in the Google production environment, let’s look at an example service that interacts with multiple Google technologies. Suppose we want to offer a service that lets you determine where a given word is used throughout all of Shakespeare’s works.\n\nWe can divide this system into two parts:\n\n- A batch component that reads all of Shakespeare’s texts, creates an index, and writes the index into a Bigtable. This job need only run once, or perhaps very infrequently (as you never know if a new text might be discovered!).\n- An application frontend that handles end-user requests. This job is always up, as users in all time zones will want to search in Shakespeare’s books.\n\nThe batch component is a MapReduce comprising three phases.\n\nThe mapping phase reads Shakespeare’s texts and splits them into individual words. This is faster if performed in parallel by multiple workers.\n\nThe shuffle phase sorts the tuples by word.\n\nIn the reduce phase, a tuple of (*word*, *list of locations*) is created.\n\nEach tuple is written to a row in a Bigtable, using the word as the key.\n\n## Life of a Request\n\nFigure 2-4 shows how a user’s request is serviced: first, the user points their browser to *shakespeare.google.com*. To obtain the corresponding IP address, the user’s device resolves the address with its [DNS server](https://sre.google/sre-book/load-balancing-frontend/) (1). This request ultimately ends up at Google’s DNS server, which talks to GSLB. As GSLB keeps track of traffic load among frontend servers across regions, it picks which server IP address to send to this user.\n\nFigure 2-4. The life of a request\n\nThe browser connects to the HTTP server on this IP. This server (named the Google Frontend, or GFE) is a reverse proxy that terminates the TCP connection (2). The GFE looks up which service is required (web search, maps, or—in this case—Shakespeare). Again using GSLB, the server finds an available Shakespeare frontend server, and sends that server an RPC containing the HTTP request (3).\n\nThe Shakespeare server analyzes the HTTP request and constructs a protobuf containing the word to look up. The Shakespeare frontend server now needs to contact the Shakespeare backend server: the frontend server contacts GSLB to obtain the BNS address of a suitable and unloaded backend server (4). That Shakespeare backend server now contacts a Bigtable server to obtain the requested data (5).\n\nThe answer is written to the reply protobuf and returned to the Shakespeare backend server. The backend hands a protobuf containing the results to the Shakespeare frontend server, which assembles the HTML and returns the answer to the user.\n\nThis entire chain of events is executed in the blink of an eye—just a few hundred milliseconds! Because many moving parts are involved, there are many potential points of failure; in particular, a failing GSLB would wreak havoc. However, Google’s policies of rigorous testing and careful rollout, in addition to our proactive error recovery methods such as graceful degradation, allow us to deliver the [reliable service](../../sre-book/part-III-practices/) that our users have come to expect. After all, people regularly use *www.google.com* to check if their Internet connection is set up correctly.\n\n## Job and Data Organization\n\nLoad testing determined that our backend server can handle about 100 queries per second (QPS). Trials performed with a limited set of users lead us to expect a peak load of about 3,470 QPS, so we need at least 35 tasks. However, the following considerations mean that we need at least 37 tasks in the job, or N+2:\n\n- During updates, one task at a time will be unavailable, leaving 36 tasks.\n- A machine failure might occur during a task update, leaving only 35 tasks, just enough to serve peak load. 13\n\nA closer examination of user traffic shows our peak usage is distributed globally: 1,430 QPS from North America, 290 from South America, 1,400 from Europe and Africa, and 350 from Asia and Australia. Instead of locating all backends at one site, we distribute them across the USA, South America, Europe, and Asia. Allowing for N+2 redundancy per region means that we end up with 17 tasks in the USA, 16 in Europe, and 6 in Asia. However, we decide to use 4 tasks (instead of 5) in South America, to lower the overhead of N+2 to N+1. In this case, we’re willing to tolerate a small risk of higher latency in exchange for lower hardware costs: if GSLB redirects traffic from one continent to another when our South American datacenter is over capacity, we can save 20% of the resources we’d spend on hardware. In the larger regions, we’ll spread tasks across two or three clusters for extra resiliency.\n\nBecause the backends need to contact the Bigtable holding the data, we need to also design this storage element strategically. A backend in Asia contacting a Bigtable in the USA adds a significant amount of latency, so we replicate the Bigtable in each region. Bigtable replication helps us in two ways: it provides resilience should a Bigtable server fail, and it lowers data-access latency. While Bigtable only offers eventual consistency, it isn’t a major problem because we don’t need to update the contents often.\n\nWe’ve introduced a lot of terminology here; while you don’t need to remember it all, it’s useful for framing many of the other systems we’ll refer to later.\n\n9Well, *roughly* the same. Mostly. Except for the stuff that is different. Some datacenters end up with multiple generations of compute hardware, and sometimes we augment datacenters after they are built. But for the most part, our datacenter hardware is homogeneous.\n\n10Some readers may be more familiar with Borg’s descendant, Kubernetes—an open source Container Cluster orchestration framework started by Google in 2014; see [*https://kubernetes.io*](https://kubernetes.io) and [[Bur16]](/sre-book/bibliography#Bur16). For more details on the similarities between Borg and Apache Mesos, see [[Ver15]](/sre-book/bibliography#Ver15).\n\n11See [*https://grpc.io*](https://grpc.io).\n\n12Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data. For more details, see [*https://developers.google.com/protocol-buffers/*](https://developers.google.com/protocol-buffers/).\n\n13We assume the probability of two simultaneous task failures in our environment is low enough to be negligible. Single points of failure, such as top-of-rack switches or power distribution, may make this assumption invalid in other environments.", "znaku_textu": 20385, "slov": 3219, "odkazu": 85, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/production-environment", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:14", "sha256": "37c7a267307ea0b2e51325a4ddf179a4d6c9892c98ddef4b8902ca026c7d7460", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://kubernetes.io/", "https://grpc.io/", "https://developers.google.com/protocol-buffers/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/production-meeting/", "titulek": "Google SRE - System Availability and Outage Review", "h1": "Example Production Meeting Minutes", "popis": "Review of system availability, major outage impacts, and updates from October 23,2025. Includes action on file descriptor leaks and load balancing improvement.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/production-meeting/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/production-meeting/"}, "headline": "Example Production Meeting Minutes", "description": "Nonlinearities in mass acceleration now predictable, should be able to target accurately in a few days.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Example Production Meeting Minutes"}], "markdown": "# Example Production Meeting Minutes\n\n**Date**: 2015-10-23\n\n**Attendees**: agoogler, clarac, docbrown, jennifer, martym\n\n**Announcements**:\n\n- Major outage (#465), blew through error budget\n\n**Previous Action Item Review**\n\n- Certify Goat Teleporter for use with cattle (bug 1011101)\n - Nonlinearities in mass acceleration now predictable, should be able to target accurately in a few days.\n\n**Outage Review**\n\n- New Sonnet (outage 465)\n - 1.21B queries lost due to cascading failure after interaction between latent bug (leaked file descriptor on searches with no results) + not having new sonnet in corpus + unprecedented & unexpected traffic volume\n - File descriptor leak bug fixed (bug 5554825) and deployed to prod\n - Looking into using flux capacitor for load balancing (bug 5554823) and using load shedding (bug 5554826) to prevent recurrence\n - Annihilated availability error budget; pushes to prod frozen for 1 month unless docbrown can obtain exception on grounds that event was bizarre & unforeseeable (but consensus is that exception is unlikely)\n\n**Paging Events**\n\n- `AnnotationConsistencyTooEventual` : paged 5 times this week, likely due to cross-regional replication delay between Bigtables.\n - Investigation still ongoing, see bug 4821600\n - No fix expected soon, will raise acceptable consistency threshold to reduce unactionable alerts\n\n**Nonpaging Events**\n\n- None\n\n**Monitoring Changes and/or Silences**\n\n- `AnnotationConsistencyTooEventual` , acceptable delay threshold raised from 60s to 180s, see bug 4821600; TODO(martym).\n\n**Planned Production Changes**\n\n- USA-1 cluster going offline for maintenance between 2015-10-29 and 2015-11-02.\n - No response required, traffic will automatically route to other clusters in region.\n\n**Resources**\n\n- Borrowed resources to respond to sonnet++ incident, will spin down additional server instances and return resources next week\n- Utilization at 60% of CPU, 75% RAM, 44% disk (up from 40%, 70%, 40% last week)\n\n**Key Service Metrics**\n\n- **OK** 99ile latency: 88 ms < 100 ms SLO target [trailing 30 days]\n- **BAD** availability: 86.95% < 99.99% SLO target [trailing 30 days]\n\n**Discussion / Project Updates**\n\n- Project Molière launching in two weeks.\n\n**New Action Items**\n\n- TODO(martym): Raise `AnnotationConsistencyTooEventual` threshold.\n- TODO(docbrown): Return instance count to normal and return resources.", "znaku_textu": 2284, "slov": 330, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:11", "sha256": "ff2f8c0ad6bedac2587cc0eb247c4251de2cb62bf710e02d21c07775ed5539d1", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/release-engineering/", "titulek": "Google SRE: Role of Release Engineer and Best Practices", "h1": "Release Engineering", "popis": "Master release engineering best practices, what a release engineer does at Google and understand key tools in configuration management of site reliability", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/release-engineering/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/release-engineering/"}, "headline": "Release Engineering", "description": "Release engineering is a relatively new and fast-growing discipline of software engineering that can be concisely described as building and delivering software.", "image": "https://lh3.googleusercontent.com/jqiQKoCx7lZ40RJVF7fGYCbAJ4cB5SmMs1TeeGafya_qu50UyNWO97EAE1mNdO00vN3pQwrUC5gYvajlGELrSnaa7FSX1idvuccc", "author": [{"@type": "Person", "name": "Dina McNutt"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Release Engineering"}, {"uroven": 2, "text": "The Role of a Release Engineer"}, {"uroven": 1, "text": "Philosophy"}, {"uroven": 2, "text": "Self-Service Model"}, {"uroven": 2, "text": "High Velocity"}, {"uroven": 2, "text": "Hermetic Builds"}, {"uroven": 2, "text": "Enforcement of Policies and Procedures"}, {"uroven": 1, "text": "Continuous Build and Deployment"}, {"uroven": 2, "text": "Building"}, {"uroven": 2, "text": "Branching"}, {"uroven": 2, "text": "Testing"}, {"uroven": 2, "text": "Packaging"}, {"uroven": 2, "text": "Rapid"}, {"uroven": 2, "text": "Deployment"}, {"uroven": 1, "text": "Configuration Management"}, {"uroven": 1, "text": "Conclusions"}, {"uroven": 2, "text": "It’s Not Just for Googlers"}, {"uroven": 2, "text": "Start Release Engineering at the Beginning"}], "markdown": "# Release Engineering\n\nWritten by Dinah McNutt\nEdited by Betsy Beyer and Tim Harvey\n\nRelease engineering is a relatively new and fast-growing discipline of software engineering that can be concisely described as building and delivering software [[McN14a]](/sre-book/bibliography#McN14a). Release engineers have a solid (if not expert) understanding of source code management, compilers, build configuration languages, automated build tools, package managers, and installers. Their skill set includes deep knowledge of multiple domains: development, configuration management, test integration, system administration, and customer support.\n\nRunning reliable services requires reliable release processes. Site Reliability Engineers (SREs) need to know that the binaries and configurations they use are built in a reproducible, automated way so that releases are repeatable and aren’t “unique snowflakes.” Changes to any aspect of the release process should be intentional, rather than accidental. SREs care about this process from source code to deployment.\n\nRelease engineering is a specific job function at Google. Release engineers work with software engineers (SWEs) in product development and SREs to define all the steps required to release software—from how the software is stored in the source code repository, to build rules for compilation, to how testing, packaging, and deployment are conducted.\n\n## The Role of a Release Engineer\n\nGoogle is a data-driven company and [release engineering](https://sre.google/workbook/canarying-releases/) follows suit. We have tools that report on a host of metrics, such as how much time it takes for a code change to be deployed into production (in other words, release velocity) and statistics on what features are being used in build configuration files [[Ada15]](/sre-book/bibliography#Ada15). Most of these tools were envisioned and developed by release engineers.\n\nRelease engineers define best practices for using our tools in order to make sure projects are released using consistent and repeatable methodologies. Our best practices cover all elements of the release process. Examples include compiler flags, formats for build identification tags, and required steps during a build. Making sure that our tools behave correctly by default and are adequately documented makes it easy for teams to stay focused on features and users, rather than spending time reinventing the wheel (poorly) when it comes to releasing software.\n\nGoogle has a large number of SREs who are charged with safely deploying products and keeping Google services up and running. In order to make sure our release processes meet business requirements, release engineers and SREs work together to develop [strategies for canarying](https://sre.google/workbook/canarying-releases/) changes, pushing out new releases without interrupting services, and rolling back features that demonstrate problems.\n\n# Philosophy\n\nRelease engineering is guided by an engineering and service philosophy that’s expressed through four major principles, detailed in the following sections.\n\n## Self-Service Model\n\nIn order to work at scale, teams must be self-sufficient. Release engineering has developed best practices and tools that allow our product development teams to control and run their own release processes. Although we have thousands of engineers and products, we can achieve a high release velocity because individual teams can decide how often and when to release new versions of their products. Release processes can be automated to the point that they require minimal involvement by the engineers, and many projects are automatically built and released using a combination of our automated build system and our deployment tools. Releases are truly automatic, and only require engineer involvement if and when problems arise.\n\n## High Velocity\n\nUser-facing software (such as many components of Google Search) is rebuilt frequently, as we aim to roll out customer-facing features as quickly as possible. We have embraced the philosophy that frequent releases result in fewer changes between versions. This approach makes testing and troubleshooting easier. Some teams perform hourly builds and then select the version to actually deploy to production from the resulting pool of builds. Selection is based upon the test results and the features contained in a given build. Other teams have adopted a “Push on Green” release model and deploy every build that passes all tests [[Kle14]](/sre-book/bibliography#Kle14).\n\n## Hermetic Builds\n\nBuild tools must allow us to ensure consistency and repeatability. If two people attempt to build the same product at the same revision number in the source code repository on different machines, we expect identical results.36 Our builds are hermetic, meaning that they are insensitive to the libraries and other software installed on the build machine. Instead, builds depend on known versions of build tools, such as compilers, and dependencies, such as libraries. The build process is self-contained and must not rely on services that are external to the build environment.\n\nRebuilding older releases when we need to fix a bug in software that’s running in production can be a challenge. We accomplish this task by rebuilding at the same revision as the original build and including specific changes that were submitted after that point in time. We call this tactic *cherry picking*. Our build tools are themselves versioned based on the revision in the source code repository for the project being built. Therefore, a project built last month won’t use this month’s version of the compiler if a cherry pick is required, because that version may contain incompatible or undesired features.\n\n## Enforcement of Policies and Procedures\n\nSeveral layers of security and access control determine who can perform specific operations when releasing a project. Gated operations include:\n\n- Approving source code changes—this operation is managed through configuration files scattered throughout the codebase\n- Specifying the actions to be performed during the release process\n- Creating a new release\n- Approving the initial integration proposal (which is a request to perform a build at a specific revision number in the source code repository) and subsequent cherry picks\n- Deploying a new release\n- Making changes to a project’s build configuration\n\nAlmost all changes to the codebase require a code review, which is a streamlined action integrated into our normal developer workflow. Our automated release system produces a report of all changes contained in a release, which is archived with other build artifacts. By allowing SREs to understand what changes are included in a new release of a project, this report can expedite troubleshooting when there are problems with a release.\n\n# Continuous Build and Deployment\n\nGoogle has developed an automated release system called *Rapid*. Rapid is a system that leverages a number of Google technologies to provide a framework that delivers scalable, hermetic, and reliable releases. The following sections describe the software lifecycle at Google and how it is managed using Rapid and other associated tools.\n\n## Building\n\nBlaze37 is Google’s build tool of choice. It supports building binaries from a range of languages, including our standard languages of C++, Java, Python, Go, and JavaScript. Engineers use Blaze to define build targets (e.g., the output of a build, such as a JAR file), and to specify the dependencies for each target [[Kem11]](/sre-book/bibliography#Kem11). When performing a build, Blaze automatically builds the dependency targets.\n\nBuild targets for binaries and unit tests are defined in Rapid’s project configuration files. Project-specific flags, such as a unique build identifier, are passed by Rapid to Blaze. All binaries support a flag that displays the build date, the revision number, and the build identifier, which allow us to easily associate a binary to a record of how it was built.\n\n## Branching\n\nAll code is checked into the main branch of the source code tree (mainline). However, most major projects don’t release directly from the mainline. Instead, we branch from the mainline at a specific revision and never merge changes from the branch back into the mainline. Bug fixes are submitted to the mainline and then cherry picked into the branch for inclusion in the release. This practice avoids inadvertently picking up unrelated changes submitted to the mainline since the original build occurred. Using this branch and cherry pick method, we know the exact contents of each release.\n\n## Testing\n\nA continuous test system runs [unit tests](https://sre.google/sre-book/testing-reliability/) against the code in the mainline each time a change is submitted, allowing us to detect build and test failures quickly. Release engineering recommends that the continuous build test targets correspond to the same test targets that gate the project release. We also recommend creating releases at the revision number (version) of the last continuous test build that successfully completed all tests. These measures decrease the chance that subsequent changes made to the mainline will cause failures during the build performed at release time.\n\nDuring the release process, we re-run the unit tests using the release branch and create an audit trail showing that all the tests passed. This step is important because if a release involves cherry picks, the release branch may contain a version of the code that doesn’t exist anywhere on the mainline. We want to guarantee that the tests pass in the context of what’s actually being released.\n\nTo complement the continuous test system, we use an independent testing environment that runs system-level tests on packaged build artifacts. These tests can be launched manually or from Rapid.\n\n## Packaging\n\nSoftware is distributed to our production machines via the Midas Package Manager (MPM) [[McN14c]](/sre-book/bibliography#McN14c). MPM assembles packages based on Blaze rules that list the build artifacts to include, along with their owners and permissions. Packages are named (e.g., *search/shakespeare/frontend*), versioned with a unique hash, and signed to ensure authenticity. MPM supports applying labels to a particular version of a package. Rapid applies a label containing the build ID, which guarantees that a package can be uniquely referenced using the name of the package and this label.\n\nLabels can be applied to an MPM package to indicate a package’s location in the release process (e.g., `dev`, `canary`, or `production`). If you apply an existing label to a new package, the label is automatically moved from the old package to the new package. For example: if a package is labeled as `canary`, someone subsequently installing the canary version of that package will automatically receive the newest version of the package with the label `canary`.\n\n## Rapid\n\nFigure 8-1 shows the main components of the Rapid system. Rapid is configured with files called *blueprints*. Blueprints are written in an internal configuration language and are used to define build and test targets, rules for deployment, and administrative information (like project owners). Role-based access control lists determine who can perform specific actions on a Rapid project.\n\nFigure 8-1. Simplified view of Rapid architecture showing the main components of the system\n\nEach Rapid project has workflows that define the actions to perform during the release process. Workflow actions can be performed serially or in parallel, and a workflow can launch other workflows. Rapid dispatches work requests to tasks running as a Borg job on our production servers. Because Rapid uses our production infrastructure, it can handle thousands of release requests simultaneously.\n\nA typical release process proceeds as follows:\n\n1. Rapid uses the requested integration revision number (often obtained automatically from our continuous test system) to create a release branch.\n2. Rapid uses Blaze to compile all the binaries and execute the unit tests, often performing these two steps in parallel. Compilation and testing occur in environments dedicated to those specific tasks, as opposed to taking place in the Borg job where the Rapid workflow is executing. This separation allows us to parallelize work easily.\n3. Build artifacts are then available for system testing and canary deployments. A typical canary deployment involves starting a few jobs in our production environment after the completion of system tests.\n4. The results of each step of the process are logged. A report of all changes since the last release is created.\n\nRapid allows us to manage our release branches and cherry picks; individual cherry pick requests can be approved or rejected for inclusion in a release.\n\n## Deployment\n\nRapid is often used to drive simple deployments directly. It updates the Borg jobs to use newly built MPM packages based on deployment definitions in the blueprint files and specialized task executors.\n\nFor more complicated deployments, we use Sisyphus, which is a general-purpose rollout automation framework developed by SRE. A rollout is a logical unit of work that is composed of one or more individual tasks. Sisyphus provides a set of Python classes that can be extended to support any deployment process. It has a dashboard that allows for finer control on how the rollout is performed and provides a way to monitor the rollout’s progress.\n\nIn a typical integration, Rapid creates a rollout in a long-running Sisyphus job. Rapid knows the build label associated with the MPM package it created, and can specify that build label when creating the rollout in Sisyphus. Sisyphus uses the build label to specify which version of the MPM packages should be deployed.\n\nWith Sisyphus, the rollout process can be as simple or complicated as necessary. For example, it can update all the associated jobs immediately or it can roll out a new binary to successive clusters over a period of several hours.\n\nOur goal is to fit the deployment process to the risk profile of a given service. In development or pre-production environments, we may build hourly and push releases automatically when all tests pass. For large user-facing services, we may push by starting in one cluster and expand exponentially until all clusters are updated. For sensitive pieces of infrastructure, we may extend the rollout over several days, interleaving them across instances in different geographic regions.\n\n# Configuration Management\n\nConfiguration management is one area of particularly close collaboration between release engineers and SREs. Although configuration management may initially seem a deceptively simple problem, configuration changes are a potential source of instability. As a result, our approach to releasing and managing system and service configurations has evolved substantially over time. Today we use several models for distributing configuration files, as described in the following paragraphs. All schemes involve storing configuration in our primary source code repository and enforcing a strict code review requirement.\n\n*Use the mainline for configuration.* This was the first method used to configure services in Borg (and the systems that pre-dated Borg). Using this scheme, developers and SREs modify configuration files at the head of the main branch. The changes are reviewed and then applied to the running system. As a result, binary releases and configuration changes are decoupled. While conceptually and procedurally simple, this technique often leads to skew between the checked-in version of the configuration files and the running version of the configuration file because jobs must be updated in order to pick up the changes.\n\n*Include configuration files and binaries in the same MPM package.* For projects with few configuration files or projects where the files (or a subset of files) change with each release cycle, the configuration files can be included in the MPM package with the binaries. While this strategy limits flexibility by binding the binary and configuration files tightly, it simplifies deployment, because it only requires installing one package.\n\n*Package configuration files into MPM \"configuration packages.\"* We can apply the hermetic principle to configuration management. Binary configurations tend to be tightly bound to particular versions of binaries, so we leverage the build and packaging systems to snapshot and release configuration files alongside their binaries. Similar to our treatment of binaries, we can use the build ID to reconstruct the configuration at a specific point in time.\n\nFor example, a change that implements a new feature can be released with a flag setting that configures that feature. By generating two MPM packages, one for the binary and one for the configuration, we retain the ability to change each package independently. That is, if the feature was released with a flag setting of `first_folio` but we realize it should instead be `bad_quarto`, we can cherry pick that change onto the release branch, rebuild the configuration package, and deploy it. This approach has the advantage of not requiring a new binary build.\n\nWe can leverage MPM’s labeling feature to indicate which versions of MPM packages should be installed together. A label of `much_ado` can be applied to the MPM packages described in the previous paragraph, which allows us to fetch both packages using this label. When a new version of the project is built, the `much_ado` label will be applied to the new packages. Because these tags are unique within the namespace for an MPM package, only the latest package with that tag will be used.\n\n*Read configuration files from an external store.* Some projects have configuration files that need to change frequently or dynamically (i.e., while the binary is running). These files can be stored in Chubby, Bigtable, or our source-based filesystem [[Yor11]](/sre-book/bibliography#Yor11).\n\nIn summary, project owners consider the different options for distributing and managing configuration files and decide which works best on a case-by-case basis.\n\n# Conclusions\n\nWhile this chapter has specifically discussed Google’s approach to release engineering and the ways in which release engineers work and collaborate with SREs, these practices can also be applied more widely.\n\n## It’s Not Just for Googlers\n\nWhen equipped with the right tools, proper automation, and well-defined policies, developers and SREs shouldn’t have to worry about releasing software. Releases can be as painless as simply pressing a button.\n\nMost companies deal with the same set of release engineering problems regardless of their size or the tools they use: How should you handle versioning of your packages? Should you use a continuous build and deploy model, or perform periodic builds? How often should you release? What configuration management policies should you use? What release metrics are of interest?\n\nGoogle Release Engineers have developed our own tools out of necessity because open sourced or vendor-supplied tools don’t work at the scale we require. Custom tools allow us to include functionality to support (and even enforce) release process policies. However, these policies must first be defined in order to add appropriate features to our tools, and all companies should take the effort to define their release processes whether or not the processes can be automated and/or enforced.\n\n## Start Release Engineering at the Beginning\n\nRelease engineering has often been an afterthought, and this way of thinking must change as platforms and services continue to grow in size and complexity.\n\nTeams should budget for release engineering resources at the beginning of the product development cycle. It’s cheaper to put good practices and process in place early, rather than have to retrofit your system later.\n\nIt is essential that the developers, SREs, and release engineers work together. The release engineer needs to understand the intention of how the code should be built and deployed. The developers shouldn’t build and “throw the results over the fence” to be handled by the release engineers.\n\nIndividual project teams decide when release engineering becomes involved in a project. Because release engineering is still a relatively young discipline, managers don’t always plan and budget for release engineering in the early stages of a project. Therefore, when considering how to incorporate release engineering practices, be sure that you consider its role as applied to the entire lifecycle of your product or service—particularly the early stages.\n\n36Google uses a monolithic unified source code repository; see [[Pot16]](/sre-book/bibliography#Pot16).\n\n37Blaze has been open sourced as Bazel. See “Bazel FAQ” on the Bazel website, [*https://bazel.build/faq.html*](https://bazel.build/faq.html).", "znaku_textu": 20833, "slov": 3216, "odkazu": 73, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:16", "sha256": "eb0116a837c4f1b94eff42bde5a47a0a59874c8b432e3bf070374883ec558a54", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://usenix.org/conference/ures14west/summit-program/presentation/dickson", "https://www.usenix.org/conference/ucms13/summit-program/presentation/mcnutt", "https://www.youtube.com/watch?v=RNMjYV_UsQ8", "https://www.usenix.org/conference/lisa14/conference-program/presentation/mcnutt", "https://bazel.build/faq.html", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/reliable-product-launches/", "titulek": "Google SRE - Deployment Strategies for Product Launches", "h1": "Launch Coordination Engineering", "popis": "Discover how Google's SRE team leverages deployment strategies for rapid product launches. Learn about the Launch Coordination and Engineers' role.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/reliable-product-launches/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/reliable-product-launches/"}, "headline": "Reliable Product Launches at Scale", "description": "Internet companies like Google are able to launch new products and features in far more rapid iterations than traditional companies. Site Reliability's role in this process is to enable a rapid pace of change without compromising stability of the site. We created a dedicated team of 'Launch Coordination Engineers' to consult with engineering teams on the technical aspects of a successful launch.", "author": [{"@type": "Person", "name": "Rhandeev Singh"}, {"@type": "Person", "name": "Sebastian Kirsch"}, {"@type": "Person", "name": "Vivek Rau"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Reliable Product Launches at Scale"}, {"uroven": 2, "text": "Santa was coming."}, {"uroven": 1, "text": "Launch Coordination Engineering"}, {"uroven": 2, "text": "The Role of the Launch Coordination Engineer"}, {"uroven": 1, "text": "Setting Up a Launch Process"}, {"uroven": 2, "text": "The Launch Checklist"}, {"uroven": 2, "text": "Driving Convergence and Simplification"}, {"uroven": 2, "text": "Launching the Unexpected"}, {"uroven": 1, "text": "Developing a Launch Checklist"}, {"uroven": 2, "text": "Architecture and Dependencies"}, {"uroven": 3, "text": "Example checklist questions"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "Integration"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "Capacity Planning"}, {"uroven": 3, "text": "Example checklist questions"}, {"uroven": 2, "text": "Failure Modes"}, {"uroven": 3, "text": "Example checklist questions"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "Client Behavior"}, {"uroven": 3, "text": "Example checklist question"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "Processes and Automation"}, {"uroven": 3, "text": "Example checklist question"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "Development Process"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 2, "text": "External Dependencies"}, {"uroven": 3, "text": "Example checklist questions"}, {"uroven": 2, "text": "Rollout Planning"}, {"uroven": 3, "text": "Example action items"}, {"uroven": 1, "text": "Selected Techniques for Reliable Launches"}, {"uroven": 2, "text": "Gradual and Staged Rollouts"}, {"uroven": 2, "text": "Feature Flag Frameworks"}, {"uroven": 2, "text": "Dealing with Abusive Client Behavior"}, {"uroven": 2, "text": "Overload Behavior and Load Tests"}, {"uroven": 1, "text": "Development of LCE"}, {"uroven": 2, "text": "Evolution of the LCE Checklist"}, {"uroven": 2, "text": "Problems LCE Didn’t Solve"}, {"uroven": 3, "text": "Scalability changes"}, {"uroven": 3, "text": "Growing operational load"}, {"uroven": 3, "text": "Infrastructure churn"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Reliable Product Launches at Scale\n\nWritten by Rhandeev Singh and Sebastian Kirsch with Vivek RauEdited by Betsy Beyer\n\nConsider an ordinary Google service—for example, Keyhole, which serves satellite imagery for Google Maps and Google Earth. On a normal day, Keyhole serves up to several thousand satellite images per second. But on Christmas Eve in 2011, it received 25 times its normal peak traffic—upward of one million requests per second. What caused this massive surge in traffic?\n\n## Santa was coming.\n\nA few years ago, Google collaborated with NORAD (the North American Aerospace Defense Command) to host a Christmas-themed website that tracked Santa’s progress around the world, allowing users to watch him deliver presents in real time. Part of the experience was a \"virtual fly-over,\" which used satellite imagery to track Santa’s progress over a simulated world.\n\nWhile a project like NORAD Tracks Santa may seem whimsical, it had all the characteristics that define a difficult and risky launch: a hard deadline (Google couldn’t ask Santa to come a week later if the site wasn’t ready), a lot of publicity, an audience of millions, and a very steep traffic ramp-up (everybody was going to be watching the site on Christmas Eve). Never underestimate the power of millions of kids anxious for presents—this project had a very real possibility of bringing Google’s servers to their knees.\n\nGoogle’s Site Reliability Engineering team worked hard to prepare our infrastructure for this launch, making sure that Santa could deliver all his presents on time under the watchful eyes of an expectant audience. The last thing we wanted was to make children cry because they couldn’t watch Santa deliver presents. In fact, we dubbed the various kill switches built into the experience to protect our services \"Make-children-cry switches.\" Anticipating the many different ways this launch could go wrong and coordinating between the different engineering groups involved in the launch fell to a special team within Site Reliability Engineering: the Launch Coordination Engineers (LCE).\n\nLaunching a new product or feature is the moment of truth for every company—the point at which months or years of effort are presented to the world. Traditional companies launch new products at a fairly low rate. The launch cycle at Internet companies is markedly different. Launches and rapid iterations are far easier because new features can be rolled out on the server side, rather than requiring software rollout on individual customer workstations.\n\nGoogle defines a launch as any new code that introduces an externally visible change to an application. Depending on a launch’s characteristics—the combination of attributes, the timing, the number of steps involved, and the complexity—the launch process can vary greatly. According to this definition, Google sometimes performs up to 70 launches per week.\n\nThis rapid rate of change provides both the rationale and the opportunity for creating a streamlined launch process. A company that only launches a product every three years doesn’t need a detailed launch process. By the time a new launch occurs, most components of the previously developed launch process will be outdated. Nor do traditional companies have the opportunity to design a detailed launch process, because they don’t accumulate enough experience performing launches to generate a robust and mature process.\n\n# Launch Coordination Engineering\n\nGood software engineers have a great deal of expertise in coding and design, and understand the technology of their own products very well. However, the same engineers may be unfamiliar with the challenges and pitfalls of launching a product to millions of users while simultaneously minimizing outages and maximizing performance.\n\nGoogle approached the challenges inherent to launches by creating a dedicated consulting team within SRE tasked with the technical side of launching a new product or feature. Staffed by software engineers and systems engineers—some with experience in other SRE teams—this team specializes in guiding developers toward building reliable and fast products that meet Google’s standards for robustness, scalability, and reliability. This consulting team, Launch Coordination Engineering (LCE), facilitates a smooth launch process in a few ways:\n\n- Auditing products and services for compliance with [Google’s reliability standards](https://sre.google/resources/practices-and-processes/product-focused-reliability-for-sre/) and best practices, and providing specific actions to improve reliability\n- Acting as a liaison between the multiple teams involved in a launch\n- Driving the technical aspects of a launch by making sure that tasks maintain momentum\n- Acting as gatekeepers and signing off on launches determined to be \"safe\"\n- Educating developers on best practices and on [how to integrate with Google’s services](../../sre-book/service-best-practices/) , equipping them with internal [documentation and training resources](https://sre.google/resources/) to speed up their learning\n\nMembers of the LCE team audit services at various times during the service lifecycle. Most audits are conducted before a new product or service launches. If a product development team performs a launch without SRE support, LCE provides the appropriate domain knowledge to ensure a smooth launch. But even products that already have strong SRE support often engage with the LCE team during critical launches. The challenges teams face when launching a new product are substantially different from the day-to-day operation of a reliable service (a task at which SRE teams already excel), and the LCE team can draw on the experience from hundreds of launches. The LCE team also facilitates service audits when new services first engage with SRE.\n\n## The Role of the Launch Coordination Engineer\n\nOur Launch Coordination Engineering team is composed of Launch Coordination Engineers (LCEs), who are either hired directly into this role, or are SREs with hands-on experience running Google services. LCEs are held to the same technical requirements as any other SRE, and are also expected to have strong communication and leadership skills—an LCE brings disparate parties together to work toward a common goal, mediates occasional conflicts, and guides, coaches, and educates fellow engineers.\n\nA team dedicated to coordinating launches offers the following advantages:\n\nBreadth of experience\n\nAs a true cross-product team, the members are active across almost all of Google’s product areas. Extensive cross-product knowledge and relationships with many teams across the company make LCEs excellent vehicles for knowledge transfer.\n\nCross-functional perspective\n\nLCEs have a holistic view of the launch, which enables them to coordinate among disparate teams in SRE, development, and product management. This holistic approach is particularly important for complicated launches that can span more than half a dozen teams in multiple time zones.\n\nObjectivity\n\nAs a nonpartisan advisor, an LCE plays a balancing and mediating role between stakeholders including SRE, product developers, product managers, and marketing.\n\nBecause Launch Coordination Engineer is an SRE role, LCEs are incentivized to prioritize reliability over other concerns. A company that does not share Google’s reliability goals, but shares its rapid rate of change, may choose a different incentive structure.\n\n# Setting Up a Launch Process\n\nGoogle has honed its launch process over a period of more than 10 years. Over time we have identified a number of criteria that characterize a good launch process:\n\nLightweight\n\nEasy on developers\n\nRobust\n\nCatches obvious errors\n\nThorough\n\nAddresses important details consistently and reproducibly\n\nScalable\n\nAccommodates both a large number of simple launches and fewer complex launches\n\nAdaptable\n\nWorks well for common types of launches (for example, adding a new UI language to a product) and new types of launches (for example, the initial launch of the Chrome browser or Google Fiber)\n\nAs you can see, some of these requirements are in obvious conflict. For example, it’s hard to design a process that is simultaneously lightweight and thorough. Balancing these criteria against each other requires continuous work. Google has successfully employed a few tactics to help us achieve these criteria:\n\nSimplicity\n\nGet the basics right. Don’t plan for every eventuality.\n\nA high touch approach\n\nExperienced engineers customize the process to suit each launch.\n\nFast common paths\n\nIdentify classes of launches that always follow a common pattern (such as launching a product in a new country), and provide a simplified launch process for this class.\n\nExperience has demonstrated that engineers are likely to sidestep processes that they consider too burdensome or as adding insufficient value—especially when a team is already in crunch mode, and the launch process is seen as just another item blocking their launch. For this reason, LCE must optimize the launch experience continuously to strike the right balance between cost and benefit.\n\n## The Launch Checklist\n\nChecklists are used to reduce failure and ensure consistency and completeness across a variety of disciplines. Common examples include aviation preflight checklists and surgical checklists [[Gaw09]](/sre-book/bibliography#Gaw09). Similarly, LCE employs a launch checklist for launch qualification. The checklist ([Launch Coordination Checklist](/sre-book/launch-checklist/)) helps an LCE assess the launch and provides the launching team with action items and pointers to more information. Here are some examples of items a checklist might include:\n\n- **Question**: Do you need a new domain name?\n - **Action item** : Coordinate with marketing on your desired domain name, and request registration of the domain. Here is a link to the marketing form.\n- **Question**: Are you storing persistent data?\n - **Action item** : Make sure you implement backups. Here are instructions for implementing backups.\n- **Question**: Could a user potentially abuse your service?\n - **Action item** : Implement rate limiting and quotas. Use the following shared service.\n\nIn practice, there is a near-infinite number of questions to ask about any system, and it is easy for the checklist to grow to an unmanageable size. Maintaining a manageable burden on developers requires careful curation of the checklist. In an effort to curb its growth, at one point, adding new questions to Google’s launch checklist required approval from a vice president. LCE now uses the following guidelines:\n\n- Every question’s importance must be substantiated, ideally by a previous launch disaster.\n- Every instruction must be concrete, practical, and reasonable for developers to accomplish.\n\nThe checklist needs continuous attention in order to remain relevant and up-to-date: recommendations change over time, internal systems are replaced by different systems, and areas of concern from previous launches become obsolete due to new policies and processes. LCEs curate the checklist continuously and make small updates when team members notice items that need to be modified. Once or twice a year a team member reviews the entire checklist to identify obsolete items, and then works with service owners and subject matter experts to modernize sections of the checklist.\n\n## Driving Convergence and Simplification\n\nIn a large organization, engineers may not be aware of available infrastructure for common tasks (such as rate limiting). Lacking proper guidance, they’re likely to re-implement existing solutions. Converging on a set of common infrastructure libraries avoids this scenario, and provides obvious benefits to the company: it cuts down on duplicate effort, makes knowledge more easily transferable between services, and results in a higher level of engineering and service quality due to the concentrated attention given to infrastructure.\n\nAlmost all groups at Google participate in a common launch process, which makes the launch checklist a vehicle for driving convergence on common infrastructure. Rather than implementing a custom solution, LCE can recommend existing infrastructure as building blocks—infrastructure that is already hardened through years of experience and that can help mitigate capacity, performance, or scalability risks. Examples include common infrastructure for rate limiting or user quotas, pushing new data to servers, or releasing new versions of a binary. This type of standardization helped to radically simplify the launch checklist: for example, long sections of the checklist dealing with requirements for rate limiting could be replaced with a single line that stated, \"Implement rate limiting using system X.\"\n\nDue to their breadth of experience across all of Google’s products, LCEs are also in a unique position to identify opportunities for simplification. While working on a launch, they witness the stumbling blocks firsthand: which parts of a launch are causing the most struggle, which steps take a disproportionate amount of time, which problems get solved independently over and over again in similar ways, where common infrastructure is lacking, or where duplication exists in common infrastructure. LCEs have various ways to streamline the launch experience and act as advocates for the launching teams. For example, LCEs might work with the owners of a particularly arduous approval process to simplify their criteria and implement automatic approvals for common cases. LCEs can also escalate pain points to the owners of common infrastructure and create a dialogue with the customers. By leveraging experience gained over the course of multiple previous launches, LCEs can devote more attention to individual concerns and suggestions.\n\n## Launching the Unexpected\n\nWhen a project enters into a new product space or vertical, an LCE may need to create an appropriate checklist from scratch. Doing so often involves synthesizing experience from relevant domain experts. When drafting a new checklist, it can be helpful to structure the checklist around broad themes such as reliability, failure modes, and processes.\n\nFor example, before launching Android, Google had rarely dealt with mass consumer devices with client-side logic that we didn’t directly control. While we can more or less easily fix a bug in Gmail within hours or days by pushing new versions of JavaScript to browsers, such fixes aren’t an option with mobile devices. Therefore, LCEs working on mobile launches engaged mobile domain experts to determine which sections of existing checklists did or did not apply, and where new checklist questions were needed. In such conversations, it’s important to keep the *intent* of each question in mind in order to avoid mindlessly applying a concrete question or action item that’s not relevant to the design of the unique product being launched. An LCE facing an unusual launch must return to abstract first principles of how to execute a safe launch, then respecialize to make the checklist concrete and useful to developers.\n\n# Developing a Launch Checklist\n\nA checklist is instrumental to launching new services and products with reproducible reliability. Our launch checklist grew over time and was periodically curated by members of the Launch Coordination Engineering team. The details of a launch checklist will be different for every company, because the specifics must be tailored to a company’s internal services and infrastructure. In the following sections, we extract a number of themes from Google’s LCE checklists and provide examples of how such themes might be fleshed out.\n\n## Architecture and Dependencies\n\nAn architecture review allows you to determine if the service is using shared infrastructure correctly and identifies the owners of shared infrastructure as additional stakeholders in the launch. Google has a large number of internal services that are used as building blocks for new products. During later stages of capacity planning (see [[Hix15a]](/sre-book/bibliography#Hix15a)), the list of dependencies identified in this section of the checklist can be used to make sure that every dependency is correctly provisioned.\n\n### Example checklist questions\n\n- What is your request flow from user to frontend to backend?\n- Are there different types of requests with different latency requirements?\n\n### Example action items\n\n- Isolate user-facing requests from non user–facing requests.\n- Validate request volume assumptions. One page view can turn into many requests.\n\n## Integration\n\nMany companies’ services run in an internal ecosystem that entails guidelines on how to set up machines, configure new services, set up monitoring, integrate with load balancing, set up DNS addresses, and so forth. These internal ecosystems usually grow over time, and often have their own idiosyncrasies and pitfalls to navigate. Thus, this section of the checklist will vary widely from company to company.\n\n### Example action items\n\n- Set up a new DNS name for your service.\n- Set up load balancers to talk to your service.\n- Set up monitoring for your new service.\n\n## Capacity Planning\n\nNew features may exhibit a temporary increase in usage at launch that subsides within days. The type of workload or traffic mix from a launch spike could be substantially different from steady state, throwing off load test results. Public interest is notoriously hard to predict, and some Google products had to accommodate launch spikes up to 15 times higher than initially estimated. Launching initially in one region or country at a time helps develop the confidence to handle larger launches.\n\nCapacity interacts with redundancy and availability. For instance, if you need three replicated deployments to serve 100% of your traffic at peak, you need to maintain four or five deployments, one or two of which are redundant, in order to shield users from maintenance and unexpected malfunctions. Datacenter and network resources often have a long lead time and need to be requested far enough in advance for your company to obtain them.\n\n### Example checklist questions\n\n- Is this launch tied to a press release, advertisement, blog post, or other form of promotion?\n- How much traffic and rate of growth do you expect during and after the launch?\n- Have you obtained all the compute resources needed to support your traffic?\n\n## Failure Modes\n\nA systematic look at the possible failure modes of a new service ensures high reliability from the start. In this portion of the checklist, examine each component and dependency and identify the impact of its failure. Can the service deal with individual machine failures? Datacenter outages? Network failures? How do we deal with bad input data? Are we prepared for the possibility of a denial-of-service (DoS) attack? Can the service continue serving in degraded mode if one of its dependencies fails? How do we deal with unavailability of a dependency upon startup of the service? During runtime?\n\n### Example checklist questions\n\n- Do you have any single points of failure in your design?\n- How do you mitigate unavailability of your dependencies?\n\n### Example action items\n\n- Implement request deadlines to avoid running out of resources for long-running requests.\n- Implement load shedding to reject new requests early in overload situations.\n\n## Client Behavior\n\nOn a traditional website, there is rarely a need to take abusive behavior from legitimate users into account. When every request is triggered by a user action such as a click on a link, the request rates are limited by how quickly users can click. To double the load, the number of users would have to double.\n\nThis axiom no longer holds when we consider clients that initiate actions without user input—for example, a cell phone app that periodically syncs its data into the cloud, or a website that periodically refreshes. In either of these scenarios, abusive client behavior can very easily threaten the stability of a service. (There is also the topic of protecting a service from abusive traffic such as scrapers and denial-of-service attacks—which is different from designing safe behavior for first-party clients.)\n\n### Example checklist question\n\n- Do you have auto-save/auto-complete/heartbeat functionality?\n\n### Example action items\n\n- Make sure that your client backs off exponentially on failure.\n- Make sure that you jitter automatic requests.\n\n## Processes and Automation\n\nGoogle encourages engineers to use standard tools to automate common processes. However, automation is never perfect, and every service has processes that need to be executed by a human: creating a new release, moving the service to a different data center, restoring data from backups, and so on. For reliability reasons, we strive to minimize single points of failure, which include humans.\n\nThese remaining processes should be documented before launch to ensure that the information is translated from an engineer’s mind onto paper while it is still fresh, and that it is available in an emergency. Processes should be documented in such a way that any team member can execute a given process in an emergency.\n\n### Example checklist question\n\n- Are there any manual processes required to keep the service running?\n\n### Example action items\n\n- Document all manual processes.\n- Document the process for moving your service to a new datacenter.\n- Automate the process for building and releasing a new version.\n\n## Development Process\n\nGoogle is an extensive user of version control, and almost all development processes are deeply integrated with the version control system. Many of our best practices revolve around how to use the version control system effectively. For example, we perform most development on the mainline branch, but releases are built on separate branches per release. This setup makes it easy to fix bugs in a release without pulling in unrelated changes from the mainline.\n\nGoogle also uses version control for other purposes, such as storing configuration files. Many of the advantages of version control—history tracking, attributing changes to individuals, and code reviews—apply to configuration files as well. In some cases, we also propagate changes from the version control system to the live servers automatically, so that an engineer only needs to submit a change to make it go live.\n\n### Example action items\n\n- Check all code and configuration files into the version control system.\n- Cut each release on a new release branch.\n\n## External Dependencies\n\nSometimes a launch depends on factors beyond company control. Identifying these factors allows you to mitigate the unpredictability they entail. For instance, the dependency may be a code library maintained by third parties, or a service or data provided by another company. When a vendor outage, bug, systematic error, security issue, or unexpected scalability limit actually occurs, prior planning will enable you to avert or mitigate damage to your users. In Google’s history of launches, we’ve used filtering and/or rewriting proxies, data transcoding pipelines, and caches to mitigate some of these risks.\n\n### Example checklist questions\n\n- What third-party code, data, services, or events does the service or the launch depend upon?\n- Do any partners depend on your service? If so, do they need to be notified of your launch?\n- What happens if you or the vendor can’t meet a hard launch deadline?\n\n## Rollout Planning\n\nIn large distributed systems, few events happen instantaneously. For reasons of reliability, such immediacy isn’t usually ideal anyway. A complicated launch might require enabling individual features on a number of different subsystems, and each of those configuration changes might take hours to complete. Having a working configuration in a test instance doesn’t guarantee that the same configuration can be rolled out to the live instance. Sometimes a complicated dance or special functionality is required to make all components launch cleanly and in the correct order.\n\nExternal requirements from teams like marketing and PR might add further complications. For example, a team might need a feature to be available in time for the keynote at a conference, but need to keep the feature invisible before the keynote.\n\nContingency measures are another part of rollout planning. What if you don’t manage to enable the feature in time for the keynote? Sometimes these contingency measures are as simple as preparing a backup slide deck that says, \"We will be launching this feature over the next days\" rather than \"We have launched this feature.\"\n\n### Example action items\n\n- Set up a launch plan that identifies actions to take to launch the service. Identify who is responsible for each item.\n- Identify risk in the individual launch steps and implement contingency measures.\n\n# Selected Techniques for Reliable Launches\n\nAs described in other parts of this book, Google has developed a number of techniques for running reliable systems over the years. Some of these techniques are particularly well suited to launching products safely. They also provide advantages during regular operation of the service, but it’s particularly important to get them right during the launch phase.\n\n## Gradual and Staged Rollouts\n\nOne adage of system administration is \"never change a running system.\" Any change represents risk, and risk should be minimized in order to assure [reliability of a system.](https://sre.google/resources/practices-and-processes/product-focused-reliability-for-sre/) What’s true for any small system is doubly true for highly replicated, globally distributed systems like those run by Google.\n\nVery few launches at Google are of the \"push-button\" variety, in which we launch a new product at a specific time for the entire world to use. Over time, Google has developed a number of patterns that allow us to launch products and features gradually and thereby minimize risk; see [A Collection of Best Practices for Production Services](/sre-book/service-best-practices/).\n\nAlmost all updates to Google’s services proceed gradually, according to a defined process, with appropriate verification steps interspersed. A new server might be installed on a few machines in one datacenter and observed for a defined period of time. If all looks well, the server is installed on all machines in one datacenter, observed again, and then installed on all machines globally. The first stages of a rollout are usually called \"canaries”—an allusion to canaries carried by miners into a coal mine to detect dangerous gases. Our canary servers detect dangerous effects from the behavior of the new software under real user traffic.\n\nCanary testing is a concept embedded into many of Google’s internal tools used to make automated changes, as well as for systems that change configuration files. Tools that manage the installation of new software typically observe the newly started server for a while, making sure that the server doesn’t crash or otherwise misbehave. If the change doesn’t pass the validation period, it’s automatically rolled back.\n\nThe concept of gradual rollouts even applies to software that does not run on Google’s servers. New versions of an Android app can be rolled out in a gradual manner, in which the updated version is offered to a subset of the installs for upgrade. The percentage of upgraded instances gradually increases over time until it reaches 100%. This type of rollout is particularly helpful if the new version results in additional traffic to the backend servers in Google’s datacenters. This way, we can observe the effect on our servers as we gradually roll out the new version and detect problems early.\n\nThe invite system is another type of gradual rollout. Frequently, rather than allowing free signups to a new service, only a limited number of users are allowed to sign up per day. Rate-limited signups are often coupled with an invite system, in which a user can send a limited number of invites to friends.\n\n## Feature Flag Frameworks\n\nGoogle often augments prelaunch testing with strategies that mitigate the risk of an outage. A mechanism to roll out changes slowly, allowing for observation of total system behavior under real workloads, can pay for its engineering investment in reliability, engineering velocity, and time to market. These mechanisms have proven particularly useful in cases where realistic test environments are impractical, or for particularly complex launches for which the effects can be hard to predict.\n\nFurthermore, not all changes are equal. Sometimes you simply want to check whether a small tweak to the user interface improves the experience of your users. Such small changes shouldn’t involve thousands of lines of code or a heavyweight launch process. You may want to test hundreds of such changes in parallel.\n\nFinally, sometimes you want to find out whether a small sample of users like using an early prototype of a new, hard-to-implement feature. You don’t want to spend months of engineering effort to harden a new feature to serve millions of users, only to find that the feature is a flop.\n\nTo accommodate the preceding scenarios, several Google products devised feature flag frameworks. Some of those frameworks were designed to roll out new features gradually from 0% to 100% of users. Whenever a product introduced any such framework, the framework itself was hardened as much as possible so that most of its applications would not need any LCE involvement. Such frameworks usually meet the following requirements:\n\n- Roll out many changes in parallel, each to a few servers, users, entities, or datacenters\n- Gradually increase to a larger but limited group of users, usually between 1 and 10 percent\n- Direct traffic through different servers depending on users, sessions, objects, and/or locations\n- Automatically handle failure of the new code paths by design, without affecting users\n- Independently revert each such change immediately in the event of serious bugs or side effects\n- Measure the extent to which each change improves the user experience\n\nGoogle’s feature flag frameworks fall into two general classes:\n\n- Those that primarily facilitate user interface improvements\n- Those that support arbitrary server-side and business logic changes\n\nThe simplest feature flag framework for user interface changes in a stateless service is an HTTP payload rewriter at frontend application servers, limited to a subset of cookies or another similar HTTP request/response attribute. A configuration mechanism may specify an identifier associated with the new code paths and the scope of the change (e.g., cookie hash mod range), whitelists, and blacklists.\n\nStateful services tend to limit feature flags to a subset of unique logged-in user identifiers or to the actual product entities accessed, such as the ID of documents, spreadsheets, or storage objects. Rather than rewrite HTTP payloads, stateful services are more likely to proxy or reroute requests to different servers depending on the change, conferring the ability to test improved business logic and more\n complex new features.\n\n## Dealing with Abusive Client Behavior\n\nThe simplest example of abusive client behavior is a misjudgment of update rates. A new client that syncs every 60 seconds, as opposed to every 600 seconds, causes 10 times the load on the service. Retry behavior has a number of pitfalls that affect user-initiated requests, as well as client-initiated requests. Take the example of a service that is overloaded and is therefore failing some requests: if the clients retry the failed requests, they add load to an already overloaded service, resulting in more retries and even more requests. Instead, clients need to reduce the frequency of retries, usually by adding exponentially increasing delay between retries, in addition to carefully considering the types of errors that warrant a retry. For example, a network error usually warrants a retry, but a 4xx HTTP error (which indicates an error on the client’s side) usually does not.\n\nIntentional or inadvertent synchronization of automated requests in a thundering herd (much like those described in Chapters [Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/) and [Data Processing Pipelines](/sre-book/data-processing-pipelines/)) is another common example of abusive client behavior. A phone app developer might decide that 2 a.m. is a good time to download updates, because the user is most likely asleep and won’t be inconvenienced by the download. However, such a design results in a barrage of requests to the download server at 2 a.m. every night, and almost no requests at any other time. Instead, every client should choose the time for this type of request randomly.\n\nRandomness also needs to be injected into other periodic processes. To return to the previously mentioned retries: let’s take the example of a client that sends a request, and when it encounters a failure, retries after 1 second, then 2 seconds, then 4 seconds, and so on. Without randomness, a brief request spike that leads to an increased error rate could repeat itself due to retries after 1 second, then 2 seconds, then 4 seconds. In order to even out these synchronized events, each delay needs to be jittered (that is, adjusted by a random amount).\n\nThe ability to control the behavior of a client from the server side has proven an important tool in the past. For an app on a device, such control might mean instructing the client to check in periodically with the server and download a configuration file. The file might enable or disable certain features or set parameters, such as how often the client syncs or how often it retries.\n\nThe client configuration might even enable completely new user-facing functionality. By hosting the code that supports new functionality in the client application before we activate that feature, we greatly reduce the risk associated with a launch. Releasing a new version becomes much easier if we don’t need to maintain parallel release tracks for a version with the new functionality versus without the functionality. This holds particularly true if we’re not dealing with a single piece of new functionality, but a set of independent features that might be released on different schedules, which would necessitate maintaining a combinatorial explosion of different versions.\n\nHaving this sort of dormant functionality also makes aborting launches easier when adverse effects are discovered during a rollout. In such cases, we can simply switch the feature off, iterate, and release an updated version of the app. Without this type of client configuration, we would have to provide a new version of the app without the feature, and update the app on all users’ phones.\n\n## Overload Behavior and Load Tests\n\nOverload situations are a particularly complex failure mode, and therefore deserve additional attention. Runaway success is usually the most welcome cause of overload when a new service launches, but there are myriad other causes, including load balancing failures, machine outages, synchronized client behavior, and external attacks.\n\nA naive model assumes that CPU usage on a machine providing a particular service scales linearly with the load (for example, number of requests or amount of data processed), and once available CPU is exhausted, processing simply becomes slower. Unfortunately, services rarely behave in this ideal fashion in the real world. Many services are much slower when they are not loaded, usually due to the effect of various kinds of caches such as CPU caches, JIT caches, and service-specific data caches. As load increases, there is usually a window in which CPU usage and load on the service correspond linearly, and response times stay mostly constant.\n\nAt some point, many services reach a point of nonlinearity as they approach overload. In the most benign cases, response times simply begin to increase, resulting in a degraded user experience but not necessarily causing an outage (although a slow dependency might cause user-visible errors up the stack, due to exceeded RPC deadlines). In the most drastic cases, a service locks up completely in response to overload.\n\nTo cite a specific example of overload behavior: a service logged debugging information in response to backend errors. It turned out that logging debugging information was more expensive than handling the backend response in a normal case. Therefore, as the service became overloaded and timed out backend responses inside its own RPC stack, the service spent even more CPU time logging these responses, timing out more requests in the meantime until the service ground to a complete halt. In services running on the Java Virtual Machine (JVM), a similar effect of grinding to a halt is sometimes called \"GC (garbage collection) thrashing.\" In this scenario, the virtual machine’s internal memory management runs in increasingly closer cycles, trying to free up memory until most of the CPU time is consumed by memory management.\n\nUnfortunately, it is very hard to predict from first principles how a service will react to overload. Therefore, load tests are an invaluable tool, both for reliability reasons and capacity planning, and load testing is required for most launches.\n\n# Development of LCE\n\nIn Google’s formative years, the size of the engineering team doubled every year for several years in a row, fragmenting the engineering department into many small teams working on many experimental new products and features. In such a climate, novice engineers run the risk of repeating the mistakes of their predecessors, especially when it comes to launching new features and products successfully.\n\nTo mitigate the repetition of such mistakes by capturing the lessons learned from past launches, a small band of experienced engineers, called the \"Launch Engineers,\" volunteered to act as a consulting team. The Launch Engineers developed checklists for new product launches, covering topics such as:\n\n- When to consult with the legal department\n- How to select domain names\n- How to register new domains without misconfiguring DNS\n- Common engineering design and production deployment pitfalls\n\n\"Launch Reviews,\" as the Launch Engineers’ consulting sessions came to be called, became a common practice days to weeks before the launch of many new products.\n\nWithin two years, the product deployment requirements in the launch checklist grew long and complex. Combined with the increasing complexity of Google’s deployment environment, it became more and more challenging for product engineers to stay up-to-date on how to make changes safely. At the same time, the SRE organization was growing quickly, and inexperienced SREs were sometimes overly cautious and averse to change. Google ran a risk that the resulting negotiations between these two parties would reduce the velocity of product/feature launches.\n\nTo mitigate this scenario from the engineering perspective, SRE staffed a small, full-time team of LCEs in 2004. They were responsible for accelerating the launches of new products and features, while at the same time applying SRE expertise to ensure that Google shipped reliable products with high availability and low latency.\n\nLCEs were responsible for making sure launches were executing quickly without the services falling over, and that if a launch did fail, it didn’t take down other products. LCEs were also responsible for keeping stakeholders informed of the nature and likelihood of such failures whenever corners were cut in order to accelerate time to market. Their consulting sessions were formalized as Production Reviews.\n\n## Evolution of the LCE Checklist\n\nAs Google’s environment grew more complex, so did both the Launch Coordination Engineering checklist (see [Launch Coordination Checklist](/sre-book/launch-checklist#appendix_launch-checklist)) and the volume of launches. In 3.5 years, one LCE ran 350 launches through the LCE Checklist. As the team averaged five engineers during this time period, this translates into a Google launch throughput of over 1,500 launches in 3.5 years!\n\nWhile each question on the LCE Checklist is simple, much complexity is built in to what prompted the question and the implications of its answer. In order to fully understand this degree of complexity, a new LCE hire requires about six months of training.\n\nAs the volume of launches grew, keeping pace with the annual doubling of Google’s engineering team, LCEs sought ways to streamline their reviews. LCEs identified categories of low-risk launches that were highly unlikely to face or cause mishaps. For example, a feature launch involving no new server executables and a traffic increase under 10% would be deemed low risk. Such launches were faced with an almost trivial checklist, while higher-risk launches underwent the full gamut of checks and balances. By 2008, 30% of reviews were considered low-risk.\n\nSimultaneously, Google’s environment was scaling up, removing constraints on many launches. For instance, the acquisition of YouTube forced Google to build out its network and utilize bandwidth more efficiently. This meant that many smaller products would \"fit within the cracks,\" avoiding complex network capacity planning and provisioning processes, thus accelerating their launches. Google also began building very large datacenters capable of hosting several dependent services under one roof. This development simplified the launch of new products that needed large amounts of capacity at multiple preexisting services upon which they depended.\n\n## Problems LCE Didn’t Solve\n\nAlthough LCEs tried to keep the bureaucracy of reviews to a minimum, such efforts were insufficient. By 2009, the difficulties of launching a small new service at Google had become a legend. Services that grew to a larger scale faced their own set of problems that Launch Coordination could not solve.\n\n### Scalability changes\n\nWhen products are successful far beyond any early estimates, and their usage increases by more than two orders of magnitude, keeping pace with their load necessitates many design changes. Such scalability changes, combined with ongoing feature additions, often make the product more complex, fragile, and difficult to operate. At some point, the original product architecture becomes unmanageable and the product needs to be completely rearchitected. Rearchitecting the product and then migrating all users from the old to the new architecture requires a large investment of time and resources from developers and SREs alike, slowing down the rate of new feature development during that period.\n\n### Growing operational load\n\nWhen running a service after it launches, operational load, the amount of manual and repetitive engineering needed to keep a system functioning, tends to grow over time unless efforts are made to control such load. Noisiness of automated notifications, complexity of deployment procedures, and the overhead of manual maintenance work tend to increase over time and consume increasing amounts of the service owner’s bandwidth, leaving the team less time for feature development. SRE has an internally advertised goal of keeping operational work below a maximum of 50%; see [Eliminating Toil](/sre-book/eliminating-toil/). Staying below this maximum requires constant tracking of sources of operational work, as well as directed effort to remove these sources.\n\n### Infrastructure churn\n\nIf the underlying infrastructure (such as systems for cluster management, storage, monitoring, load balancing, and data transfer) is changing due to active development by infrastructure teams, the owners of services running on the infrastructure must invest large amounts of work to simply keep up with the infrastructure changes. As infrastructure features upon which services rely are deprecated and replaced by new features, service owners must continually modify their configurations and rebuild their executables, consequently \"running fast just to stay in the same place.\" The solution to this scenario is to enact some type of churn reduction policy that prohibits infrastructure engineers from releasing backward-incompatible features until they also automate the migration of their clients to the new feature. Creating automated migration tools to accompany new features minimizes the work imposed on service owners to keep up with infrastructure churn.\n\nSolving these problems requires company-wide efforts that are far beyond the scope of LCE: a combination of better platform APIs and frameworks (see [The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/)), continuous build and test automation, and better standardization and automation across Google’s production services.\n\n# Conclusion\n\nCompanies undergoing rapid growth with a high rate of change to products and services may benefit from the equivalent of a Launch Coordination Engineering role. Such a team is especially valuable if a company plans to double its product developers every one or two years, if it must scale its services to hundreds of millions of users, and if reliability despite a high rate of change is important to its users.\n\nThe LCE team was Google’s solution to the problem of achieving safety without impeding change. This chapter introduced some of the experiences accumulated by our unique LCE role over a 10-year period under exactly such circumstances. We hope that our approach will help inspire others facing similar challenges in their respective organizations.", "znaku_textu": 45332, "slov": 7020, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:17", "sha256": "4e8f908311eb634ab3103e906e2b63f4c3c68c73cb68b6429d48be241a7048f5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/service-best-practices", "titulek": "Google SRE: Production Services Best Practices", "h1": "A Collection of Best Practices for Production Services", "popis": "Explore SRE best practices | How Google SRE team use capacity planning, SLO's, resilience engineering to proactively manage and maintain world-class reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/service-best-practices/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/service-best-practices/"}, "headline": "A Collection of Best Practices for Production Services", "description": "Sanitize and validate configuration inputs, and respond to implausible inputs by both continuing to operate in the previous state and alerting to the receipt of bad input.", "author": [{"@type": "Person", "name": "Ben Treynor Sloss"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A Collection of Best Practices for Production Services"}, {"uroven": 2, "text": "Fail Sanely"}, {"uroven": 1, "text": "Progressive Rollouts"}, {"uroven": 1, "text": "Define SLOs Like a User"}, {"uroven": 1, "text": "Error Budgets"}, {"uroven": 1, "text": "Monitoring"}, {"uroven": 1, "text": "Postmortems"}, {"uroven": 1, "text": "Capacity Planning"}, {"uroven": 1, "text": "Overloads and Failure"}, {"uroven": 1, "text": "SRE Teams"}], "markdown": "# A Collection of Best Practices for Production Services\n\nWritten by Ben Treynor SlossEdited by Betsy Beyer\n\n## Fail Sanely\n\nSanitize and validate configuration inputs, and respond to implausible inputs by *both* continuing to operate in the previous state *and* alerting to the receipt of bad input. Bad input often falls into one of these categories:\n\nIncorrect data\n\nValidate both syntax and, if possible, semantics. Watch for empty data and partial or truncated data (e.g., alert if the configuration is *N*% smaller than the previous version).\n\nDelayed data\n\nThis may invalidate current data due to timeouts. Alert well before the data is expected to expire.\n\nFail in a way that preserves function, possibly at the expense of being overly permissive or overly simplistic. We’ve found that it’s generally safer for systems to continue functioning with their previous configuration and await a human’s approval before using the new, perhaps invalid, data.\n\n# Progressive Rollouts\n\nNonemergency rollouts *must* proceed in stages. Both configuration and binary changes introduce risk, and you mitigate this risk by applying the change to small fractions of traffic and capacity at one time. The size of your service or rollout, as well as your risk profile, will inform the percentages of production capacity to which the rollout is pushed, and the appropriate time frame between stages. It’s also a good idea to perform different stages in different geographies, in order to detect problems related to diurnal traffic cycles and geographical traffic mix differences.\n\nRollouts should be supervised. To ensure that nothing unexpected is occurring during the rollout, it must be monitored either by the engineer performing the rollout stage or—preferably—a demonstrably reliable monitoring system. If unexpected behavior is detected, roll back first and diagnose afterward in order to minimize Mean Time to Recovery.\n\n# Define SLOs Like a User\n\nMeasure availability and performance in terms that matter to an end user. See [Service Level Objectives](/sre-book/service-level-objectives/) for more discussion.\n\n# Error Budgets\n\nBalance reliability and the pace of innovation with error budgets (see [Motivation for Error Budgets](/sre-book/embracing-risk#xref_risk-management_unreliability-budgets)), which define the acceptable level of failure for a service, over some period; we often use a month. A budget is simply 1 minus a service’s SLO; for instance, a service with a 99.99% availability target has a 0.01% “budget” for unavailability. As long as the service hasn’t spent its error budget for the month through the background rate of errors plus any downtime, the development team is free (within reason) to launch new features, updates, and so on.\n\nIf the error budget is spent, the service freezes changes (except urgent security and bug fixes addressing any cause of the increased errors) until either the service has earned back room in the budget, or the month resets. For mature services with an SLO greater than 99.99%, a quarterly rather than monthly budget reset is appropriate, because the amount of allowable downtime is small.\n\nError budgets eliminate the structural tension that might otherwise develop between SRE and product development teams by giving them a common, data-driven mechanism for assessing launch risk. They also give both SRE and product development teams a common goal of developing practices and technology that allow faster innovation and more launches without \"blowing the budget.\"\n\n# Monitoring\n\nMonitoring may have only three output types:\n\nPages\n\nA human must do something *now*\n\nTickets\n\nA human must do something within a few days\n\nLogging\n\nNo one need look at this output immediately, but it’s available for later analysis if needed\n\nIf it’s important enough to bother a human, it should either *require* immediate action (i.e., page) or be treated as a bug and entered into your bug-tracking system. Putting alerts into email and hoping that someone will read all of them and notice the important ones is the moral equivalent of piping them to */dev/null*: they will eventually be ignored. History demonstrates this strategy is an attractive nuisance because it can work for a while, but it relies on eternal human vigilance, and the inevitable outage is thus more severe when it happens.\n\n# Postmortems\n\nPostmortems (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)) should be blameless and focus on process and technology, not people. Assume the people involved in an incident are intelligent, are well intentioned, and were making the best choices they could given the information they had available at the time. It follows that we can’t “fix” the people, but must instead fix their environment: e.g., improving system design to avoid entire classes of problems, making the appropriate information easily available, and automatically validating operational decisions to make it difficult to put systems in dangerous states.\n\n# Capacity Planning\n\nProvision to handle a simultaneous planned and unplanned outage, without making the user experience unacceptable; this results in an \"*N* + 2” configuration, where peak traffic can be handled by *N* instances (possibly in degraded mode) while the largest 2 instances are unavailable:\n\n- Validate prior demand forecasts against reality until they consistently match. Divergence implies unstable forecasting, inefficient provisioning, and risk of a capacity shortfall.\n- Use load testing rather than tradition to establish the resource-to-capacity ratio: a cluster of *X* machines could handle *Y* queries per second three months ago, but can it still do so given changes to the system?\n- Don’t mistake day-one load for steady-state load. Launches often attract more traffic, while they’re also the time you especially want to put the product’s best foot forward. See [Reliable Product Launches at Scale](/sre-book/reliable-product-launches/) and [Launch Coordination Checklist](/sre-book/launch-checklist/) .\n\n# Overloads and Failure\n\nServices should produce reasonable but suboptimal results if overloaded. For example, Google Search will search a smaller fraction of the index, and stop serving features like Instant to continue to provide good quality web search results when overloaded. Search SRE tests web search clusters beyond their rated capacity to ensure they perform acceptably when overloaded with traffic.\n\nFor times when load is high enough that even degraded responses are too expensive for all queries, practice graceful load shedding, using well-behaved queuing and dynamic timeouts; see [Handling Overload](/sre-book/handling-overload/). Other techniques include answering requests after a significant delay (“tarpitting”) and choosing a consistent subset of clients to receive errors, preserving a good user experience for the remainder.\n\nRetries can amplify low error rates into higher levels of traffic, leading to cascading failures (see [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/)). Respond to cascading failures by dropping a fraction of traffic (including retries!) upstream of the system once total load exceeds total capacity.\n\nEvery client that makes an RPC must implement exponential backoff (with jitter) for retries, to dampen error amplification. Mobile clients are especially troublesome because there may be millions of them and updating their code to fix behavior takes a significant amount of time—possibly weeks—and requires that users install updates.\n\n# SRE Teams\n\nSRE teams should spend no more than 50% of their time on operational work (see [Eliminating Toil](/sre-book/eliminating-toil/)); operational overflow should be directed to the product development team. Many services also include the product developers in the on-call rotation and ticket handling, even if there is currently no overflow. This provides incentives to design systems that minimize or eliminate operational toil, along with ensuring that the product developers are in touch with the operational side of the service. A regular production meeting between SREs and the development team (see [Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/)) is also helpful.\n\nWe’ve found that at least eight people need to be part of the on-call team, in order to avoid fatigue and allow sustainable staffing and low turnover. Preferably, those on-call should be in two well-separated geographic locations (e.g., California and Ireland) to provide a better quality of life by avoiding nighttime pages; in this case, six people at each site is the minimum team size.\n\nExpect to handle no more than two events per on-call shift (e.g., per 12 hours): it takes time to respond to and fix outages, start the postmortem, and file the resulting bugs. More frequent events may degrade the quality of response, and suggest that something is wrong with (at least one of) the system’s design, monitoring sensitivity, and response to postmortem bugs.\n\nIronically, if you implement these best practices, the SRE team may eventually end up out of practice in responding to incidents due to their infrequency, making a long outage out of a short one. Practice handling hypothetical outages (see [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg)) routinely and improve your incident-handling documentation in the process.", "znaku_textu": 9356, "slov": 1431, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:50", "sha256": "1917a42e6867fdae4974e4eacb9386e175d17cf88cac3f9347a8b181205ec7b4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/service-best-practices/", "titulek": "Google SRE: Production Services Best Practices", "h1": "A Collection of Best Practices for Production Services", "popis": "Explore SRE best practices | How Google SRE team use capacity planning, SLO's, resilience engineering to proactively manage and maintain world-class reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/service-best-practices/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/service-best-practices/"}, "headline": "A Collection of Best Practices for Production Services", "description": "Sanitize and validate configuration inputs, and respond to implausible inputs by both continuing to operate in the previous state and alerting to the receipt of bad input.", "author": [{"@type": "Person", "name": "Ben Treynor Sloss"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "A Collection of Best Practices for Production Services"}, {"uroven": 2, "text": "Fail Sanely"}, {"uroven": 1, "text": "Progressive Rollouts"}, {"uroven": 1, "text": "Define SLOs Like a User"}, {"uroven": 1, "text": "Error Budgets"}, {"uroven": 1, "text": "Monitoring"}, {"uroven": 1, "text": "Postmortems"}, {"uroven": 1, "text": "Capacity Planning"}, {"uroven": 1, "text": "Overloads and Failure"}, {"uroven": 1, "text": "SRE Teams"}], "markdown": "# A Collection of Best Practices for Production Services\n\nWritten by Ben Treynor SlossEdited by Betsy Beyer\n\n## Fail Sanely\n\nSanitize and validate configuration inputs, and respond to implausible inputs by *both* continuing to operate in the previous state *and* alerting to the receipt of bad input. Bad input often falls into one of these categories:\n\nIncorrect data\n\nValidate both syntax and, if possible, semantics. Watch for empty data and partial or truncated data (e.g., alert if the configuration is *N*% smaller than the previous version).\n\nDelayed data\n\nThis may invalidate current data due to timeouts. Alert well before the data is expected to expire.\n\nFail in a way that preserves function, possibly at the expense of being overly permissive or overly simplistic. We’ve found that it’s generally safer for systems to continue functioning with their previous configuration and await a human’s approval before using the new, perhaps invalid, data.\n\n# Progressive Rollouts\n\nNonemergency rollouts *must* proceed in stages. Both configuration and binary changes introduce risk, and you mitigate this risk by applying the change to small fractions of traffic and capacity at one time. The size of your service or rollout, as well as your risk profile, will inform the percentages of production capacity to which the rollout is pushed, and the appropriate time frame between stages. It’s also a good idea to perform different stages in different geographies, in order to detect problems related to diurnal traffic cycles and geographical traffic mix differences.\n\nRollouts should be supervised. To ensure that nothing unexpected is occurring during the rollout, it must be monitored either by the engineer performing the rollout stage or—preferably—a demonstrably reliable monitoring system. If unexpected behavior is detected, roll back first and diagnose afterward in order to minimize Mean Time to Recovery.\n\n# Define SLOs Like a User\n\nMeasure availability and performance in terms that matter to an end user. See [Service Level Objectives](/sre-book/service-level-objectives/) for more discussion.\n\n# Error Budgets\n\nBalance reliability and the pace of innovation with error budgets (see [Motivation for Error Budgets](/sre-book/embracing-risk#xref_risk-management_unreliability-budgets)), which define the acceptable level of failure for a service, over some period; we often use a month. A budget is simply 1 minus a service’s SLO; for instance, a service with a 99.99% availability target has a 0.01% “budget” for unavailability. As long as the service hasn’t spent its error budget for the month through the background rate of errors plus any downtime, the development team is free (within reason) to launch new features, updates, and so on.\n\nIf the error budget is spent, the service freezes changes (except urgent security and bug fixes addressing any cause of the increased errors) until either the service has earned back room in the budget, or the month resets. For mature services with an SLO greater than 99.99%, a quarterly rather than monthly budget reset is appropriate, because the amount of allowable downtime is small.\n\nError budgets eliminate the structural tension that might otherwise develop between SRE and product development teams by giving them a common, data-driven mechanism for assessing launch risk. They also give both SRE and product development teams a common goal of developing practices and technology that allow faster innovation and more launches without \"blowing the budget.\"\n\n# Monitoring\n\nMonitoring may have only three output types:\n\nPages\n\nA human must do something *now*\n\nTickets\n\nA human must do something within a few days\n\nLogging\n\nNo one need look at this output immediately, but it’s available for later analysis if needed\n\nIf it’s important enough to bother a human, it should either *require* immediate action (i.e., page) or be treated as a bug and entered into your bug-tracking system. Putting alerts into email and hoping that someone will read all of them and notice the important ones is the moral equivalent of piping them to */dev/null*: they will eventually be ignored. History demonstrates this strategy is an attractive nuisance because it can work for a while, but it relies on eternal human vigilance, and the inevitable outage is thus more severe when it happens.\n\n# Postmortems\n\nPostmortems (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)) should be blameless and focus on process and technology, not people. Assume the people involved in an incident are intelligent, are well intentioned, and were making the best choices they could given the information they had available at the time. It follows that we can’t “fix” the people, but must instead fix their environment: e.g., improving system design to avoid entire classes of problems, making the appropriate information easily available, and automatically validating operational decisions to make it difficult to put systems in dangerous states.\n\n# Capacity Planning\n\nProvision to handle a simultaneous planned and unplanned outage, without making the user experience unacceptable; this results in an \"*N* + 2” configuration, where peak traffic can be handled by *N* instances (possibly in degraded mode) while the largest 2 instances are unavailable:\n\n- Validate prior demand forecasts against reality until they consistently match. Divergence implies unstable forecasting, inefficient provisioning, and risk of a capacity shortfall.\n- Use load testing rather than tradition to establish the resource-to-capacity ratio: a cluster of *X* machines could handle *Y* queries per second three months ago, but can it still do so given changes to the system?\n- Don’t mistake day-one load for steady-state load. Launches often attract more traffic, while they’re also the time you especially want to put the product’s best foot forward. See [Reliable Product Launches at Scale](/sre-book/reliable-product-launches/) and [Launch Coordination Checklist](/sre-book/launch-checklist/) .\n\n# Overloads and Failure\n\nServices should produce reasonable but suboptimal results if overloaded. For example, Google Search will search a smaller fraction of the index, and stop serving features like Instant to continue to provide good quality web search results when overloaded. Search SRE tests web search clusters beyond their rated capacity to ensure they perform acceptably when overloaded with traffic.\n\nFor times when load is high enough that even degraded responses are too expensive for all queries, practice graceful load shedding, using well-behaved queuing and dynamic timeouts; see [Handling Overload](/sre-book/handling-overload/). Other techniques include answering requests after a significant delay (“tarpitting”) and choosing a consistent subset of clients to receive errors, preserving a good user experience for the remainder.\n\nRetries can amplify low error rates into higher levels of traffic, leading to cascading failures (see [Addressing Cascading Failures](/sre-book/addressing-cascading-failures/)). Respond to cascading failures by dropping a fraction of traffic (including retries!) upstream of the system once total load exceeds total capacity.\n\nEvery client that makes an RPC must implement exponential backoff (with jitter) for retries, to dampen error amplification. Mobile clients are especially troublesome because there may be millions of them and updating their code to fix behavior takes a significant amount of time—possibly weeks—and requires that users install updates.\n\n# SRE Teams\n\nSRE teams should spend no more than 50% of their time on operational work (see [Eliminating Toil](/sre-book/eliminating-toil/)); operational overflow should be directed to the product development team. Many services also include the product developers in the on-call rotation and ticket handling, even if there is currently no overflow. This provides incentives to design systems that minimize or eliminate operational toil, along with ensuring that the product developers are in touch with the operational side of the service. A regular production meeting between SREs and the development team (see [Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/)) is also helpful.\n\nWe’ve found that at least eight people need to be part of the on-call team, in order to avoid fatigue and allow sustainable staffing and low turnover. Preferably, those on-call should be in two well-separated geographic locations (e.g., California and Ireland) to provide a better quality of life by avoiding nighttime pages; in this case, six people at each site is the minimum team size.\n\nExpect to handle no more than two events per on-call shift (e.g., per 12 hours): it takes time to respond to and fix outages, start the postmortem, and file the resulting bugs. More frequent events may degrade the quality of response, and suggest that something is wrong with (at least one of) the system’s design, monitoring sensitivity, and response to postmortem bugs.\n\nIronically, if you implement these best practices, the SRE team may eventually end up out of practice in responding to incidents due to their infrequency, making a long outage out of a short one. Practice handling hypothetical outages (see [Disaster Role Playing](/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg)) routinely and improve your incident-handling documentation in the process.", "znaku_textu": 9356, "slov": 1431, "odkazu": 54, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/service-best-practices", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:18", "sha256": "1917a42e6867fdae4974e4eacb9386e175d17cf88cac3f9347a8b181205ec7b4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/service-level-objectives", "titulek": "Google SRE - Defining slo: service level objective meaning", "h1": "Service Level Objectives", "popis": "SRE SLO book to understand service level objective meaning and the various service level terminilogy including sla slo sli to improve service reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/service-level-objectives/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/service-level-objectives/"}, "headline": "Service Level Objectives", "description": "It's impossible to manage a service correctly, let alone well, without understanding which behaviors really matter for that service and how to measure and evaluate those behaviors.", "image": "https://lh3.googleusercontent.com/G-Ljl-lx35hRTILL9pwj-ty2S5KE8piLPmx4wZSoaLpnfvw4WgdseYm-X5ZPCMNZS01eJmyZFwjHL4yK3ptj6WglYlX20Oi3dxA", "author": [{"@type": "Person", "name": "Chris Jones"}, {"@type": "Person", "name": "John Wilkes"}, {"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Cody Smith"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Service Level Objectives"}, {"uroven": 2, "text": "Service Level Terminology"}, {"uroven": 2, "text": "Indicators"}, {"uroven": 2, "text": "Objectives"}, {"uroven": 2, "text": "Agreements"}, {"uroven": 1, "text": "Indicators in Practice"}, {"uroven": 2, "text": "What Do You and Your Users Care About?"}, {"uroven": 2, "text": "Collecting Indicators"}, {"uroven": 2, "text": "Aggregation"}, {"uroven": 2, "text": "Standardize Indicators"}, {"uroven": 1, "text": "Objectives in Practice"}, {"uroven": 2, "text": "Defining Objectives"}, {"uroven": 2, "text": "Choosing Targets"}, {"uroven": 2, "text": "Control Measures"}, {"uroven": 2, "text": "SLOs Set Expectations"}, {"uroven": 1, "text": "Agreements in Practice"}], "markdown": "# Service Level Objectives\n\nWritten by Chris Jones, John Wilkes, and Niall Murphy with Cody Smith\nEdited by Betsy Beyer\n\nIt’s impossible to manage a service correctly, let alone well, without understanding which behaviors really matter for that service and how to measure and evaluate those behaviors. To this end, we would like to define and deliver a given *level of service* to our users, whether they use an internal API or a public product.\n\nWe use intuition, experience, and an understanding of what users want to define *service level indicators* (SLIs), *objectives* (SLOs), and *agreements* (SLAs). These measurements describe basic properties of metrics that matter, what values we want those metrics to have, and how we’ll react if we can’t provide the expected service. Ultimately, choosing appropriate metrics helps to drive the right action if something goes wrong, and also gives an SRE team confidence that a service is healthy.\n\nThis chapter describes the framework we use to wrestle with the problems of metric modeling, metric selection, and metric analysis. Much of this explanation would be quite abstract without an example, so we’ll use the Shakespeare service outlined in [Shakespeare: A Sample Service](/sre-book/production-environment#xref_production-environment_shakespeare) to illustrate our main points.\n\n## Service Level Terminology\n\nMany readers are likely familiar with the concept of an SLA, but the terms *SLI* and *SLO* are also worth careful definition, because in common use, the term *SLA* is overloaded and has taken on a number of meanings depending on context. We prefer to separate those meanings for clarity.\n\n## Indicators\n\nAn SLI is a service level *indicator*—a carefully defined quantitative measure of some aspect of the level of service that is provided.\n\nMost services consider *request latency*—how long it takes to return a response to a request—as a key SLI. Other common SLIs include the *error rate*, often expressed as a fraction of all requests received, and *system throughput*, typically measured in requests per second. The measurements are often aggregated: i.e., raw data is collected over a measurement window and then turned into a rate, average, or percentile.\n\nIdeally, the SLI directly measures a service level of interest, but sometimes only a proxy is available because the desired measure may be hard to obtain or interpret. For example, client-side latency is often the more user-relevant metric, but it might only be possible to measure latency at the server.\n\nAnother kind of SLI important to SREs is *availability*, or the fraction of the time that a service is usable. It is often defined in terms of the fraction of well-formed requests that succeed, sometimes called *yield*. (*Durability*—the likelihood that data will be retained over a long period of time—is equally important for [data storage systems.](https://sre.google/sre-book/data-integrity/)) Although 100% availability is impossible, near-100% availability is often readily achievable, and the industry commonly expresses high-availability values in terms of the number of \"nines\" in the availability percentage. For example, availabilities of 99% and 99.999% can be referred to as \"2 nines\" and \"5 nines\" availability, respectively, and the current published target for Google Compute Engine availability is “three and a half nines”—99.95% availability.\n\n## Objectives\n\nAn SLO is a *service level objective*: a target value or range of values for a service level that is measured by an SLI. A natural structure for SLOs is thus *SLI ≤ target*, or *lower bound ≤ SLI ≤ upper bound*. For example, we might decide that we will return Shakespeare search results \"quickly,\" adopting an SLO that our average search request latency should be less than 100 milliseconds.\n\nChoosing an appropriate SLO is complex. To begin with, you don’t always get to choose its value! For incoming HTTP requests from the outside world to your service, the queries per second (QPS) metric is essentially determined by the desires of your users, and you can’t really set an SLO for that.\n\nOn the other hand, you *can* say that you want the average latency per request to be under 100 milliseconds, and setting such a goal could in turn motivate you to write your frontend with low-latency behaviors of various kinds or to buy certain kinds of low-latency equipment. (100 milliseconds is obviously an arbitrary value, but in general lower latency numbers are good. There are excellent reasons to believe that fast is better than slow, and that user-experienced latency above certain values actually drives people away— see \"Speed Matters\" [[Bru09]](/sre-book/bibliography#Bru09) for more details.)\n\nAgain, this is more subtle than it might at first appear, in that those two SLIs—QPS and latency—might be connected behind the scenes: higher QPS often leads to larger latencies, and it’s common for services to have a performance cliff beyond some load threshold.\n\nChoosing and [publishing SLOs](https://sre.google/resources/practices-and-processes/art-of-slos/) to users sets expectations about how a service will perform. This strategy can reduce unfounded complaints to service owners about, for example, the service being slow. Without an explicit SLO, users often develop their own beliefs about desired performance, which may be unrelated to the beliefs held by the people designing and operating the service. This dynamic can lead to both over-reliance on the service, when users incorrectly believe that a service will be more available than it actually is (as happened with Chubby: see The Global Chubby Planned Outage), and under-reliance, when prospective users believe a system is flakier and less reliable than it actually is.\n\n## Agreements\n\nFinally, SLAs are service level *agreements*: an explicit or implicit contract with your users that includes consequences of meeting (or missing) the SLOs they contain. The consequences are most easily recognized when they are financial—a rebate or a penalty—but they can take other forms. An easy way to tell the difference between an SLO and an SLA is to ask \"what happens if the SLOs aren’t met?\": if there is no explicit consequence, then you are almost certainly looking at an SLO.16\n\nSRE doesn’t typically get involved in constructing SLAs, because SLAs are closely tied to business and product decisions. SRE does, however, get involved in helping to avoid triggering the consequences of missed SLOs. They can also help to define the SLIs: there obviously needs to be an objective way to measure the SLOs in the agreement, or disagreements will arise.\n\nGoogle Search is an example of an important service that doesn’t have an SLA for the public: we want everyone to use Search as fluidly and efficiently as possible, but we haven’t signed a contract with the whole world. Even so, there are still consequences if Search isn’t available—unavailability results in a hit to our reputation, as well as a drop in advertising revenue. Many other Google services, such as Google for Work, do have explicit SLAs with their users. Whether or not a particular service has an SLA, it’s valuable to define SLIs and SLOs and use them to manage the service.\n\nSo much for the theory—now for the experience.\n\n# Indicators in Practice\n\nGiven that we’ve made the case for *why* choosing appropriate [metrics to measure your service](https://sre.google/sre-book/practical-alerting/) is important, how do you go about identifying what metrics are meaningful to your service or system?\n\n## What Do You and Your Users Care About?\n\nYou shouldn’t use every metric you can track in your monitoring system as an SLI; an understanding of what your users want from the system will inform the judicious selection of a few indicators. Choosing too many indicators makes it hard to pay the right level of attention to the indicators that matter, while choosing too few may leave significant behaviors of your system unexamined. We typically find that a handful of representative indicators are enough to evaluate and reason about a system’s health.\n\nServices tend to fall into a few broad categories in terms of the SLIs they find relevant:\n\n- *User-facing serving systems* , such as the Shakespeare search frontends, generally care about *availability* , *latency* , and *throughput* . In other words: Could we respond to the request? How long did it take to respond? How many requests could be handled?\n- *Storage systems* often emphasize *latency* , *availability* , and *durability* . In other words: How long does it take to read or write data? Can we access the data on demand? Is the data still there when we need it? See [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/) for an extended discussion of these issues.\n- *Big data systems* , such as data processing pipelines, tend to care about *throughput* and *end-to-end latency* . In other words: How much data is being processed? How long does it take the data to progress from ingestion to completion? (Some pipelines may also have targets for latency on individual processing stages.)\n- All systems should care about *correctness* : was the right answer returned, the right data retrieved, the right analysis done? Correctness is important to track as an indicator of system health, even though it’s often a property of the data in the system rather than the infrastructure *per se* , and so usually not an SRE responsibility to meet.\n\n## Collecting Indicators\n\nMany indicator metrics are most naturally gathered on the server side, using a monitoring system such as Borgmon (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)) or Prometheus, or with periodic log analysis—for instance, HTTP 500 responses as a fraction of all requests. However, some systems should be instrumented with *client*-side collection, because not measuring behavior at the client can miss a range of problems that affect users but don’t affect server-side metrics. For example, concentrating on the response latency of the Shakespeare search backend might miss poor user latency due to problems with the page’s JavaScript: in this case, measuring how long it takes for a page to become usable in the browser is a better proxy for what the user actually experiences.\n\n## Aggregation\n\nFor simplicity and usability, we often aggregate raw measurements. This needs to be done carefully.\n\nSome metrics are seemingly straightforward, like the number of requests *per second* served, but even this apparently straightforward measurement implicitly aggregates data over the measurement window. Is the measurement obtained once a second, or by averaging requests over a minute? The latter may hide much higher instantaneous request rates in bursts that last for only a few seconds. Consider a system that serves 200 requests/s in even-numbered seconds, and 0 in the others. It has the same average load as one that serves a constant 100 requests/s, but has an *instantaneous* load that is twice as large as the *average* one. Similarly, averaging request latencies may seem attractive, but obscures an important detail: it’s entirely possible for most of the requests to be fast, but for a long tail of requests to be much, much slower.\n\nMost metrics are better thought of as *distributions* rather than averages. For example, for a latency SLI, some requests will be serviced quickly, while others will invariably take longer—sometimes much longer. A simple average can obscure these tail latencies, as well as changes in them. Figure 4-1 provides an example: although a typical request is served in about 50 ms, 5% of requests are 20 times slower! Monitoring and alerting based only on the average latency would show no change in behavior over the course of the day, when there are in fact significant changes in the tail latency (the topmost line).\n\nFigure 4-1. 50th, 85th, 95th, and 99th percentile latencies for a system. Note that the Y-axis has a logarithmic scale.\n\nUsing percentiles for indicators allows you to consider the shape of the distribution and its differing attributes: a high-order percentile, such as the 99th or 99.9th, shows you a plausible worst-case value, while using the 50th percentile (also known as the median) emphasizes the typical case. The higher the variance in response times, the more the typical user experience is affected by long-tail behavior, an effect exacerbated at high load by queuing effects. User studies have shown that people typically prefer a slightly slower system to one with high variance in response time, so some SRE teams focus only on high percentile values, on the grounds that if the 99.9th percentile behavior is good, then the typical experience is certainly going to be.\n\n## Standardize Indicators\n\nWe recommend that you standardize on common definitions for SLIs so that you don’t have to reason about them from first principles each time. Any feature that conforms to the standard definition templates can be omitted from the specification of an individual SLI, e.g.:\n\n- Aggregation intervals: “Averaged over 1 minute”\n- Aggregation regions: “All the tasks in a cluster”\n- How frequently measurements are made: “Every 10 seconds”\n- Which requests are included: “HTTP GETs from black-box monitoring jobs”\n- How the data is acquired: “Through our monitoring, measured at the server”\n- Data-access latency: “Time to last byte”\n\nTo save effort, build a set of reusable SLI templates for each common metric; these also make it simpler for everyone to understand what a specific SLI means.\n\n# Objectives in Practice\n\nStart by thinking about (or finding out!) what your users care about, not what you can measure. Often, what your users care about is difficult or impossible to measure, so you’ll end up approximating users’ needs in some way. However, if you simply start with what’s easy to measure, you’ll end up with less useful SLOs. As a result, we’ve sometimes found that working from desired objectives backward to specific indicators works better than choosing indicators and then coming up with targets.\n\n## Defining Objectives\n\nFor maximum clarity, SLOs should specify how they’re measured and the conditions under which they’re valid. For instance, we might say the following (the second line is the same as the first, but relies on the SLI defaults of the previous section to remove redundancy):\n\n- 99% (averaged over 1 minute) of `Get` RPC calls will complete in less than 100 ms (measured across all the backend servers).\n- 99% of `Get` RPC calls will complete in less than 100 ms.\n\nIf the shape of the performance curves are important, then you can specify multiple SLO targets:\n\n- 90% of `Get` RPC calls will complete in less than 1 ms.\n- 99% of `Get` RPC calls will complete in less than 10 ms.\n- 99.9% of `Get` RPC calls will complete in less than 100 ms.\n\nIf you have users with heterogeneous workloads such as a bulk processing pipeline that cares about throughput and an interactive client that cares about latency, it may be appropriate to define separate objectives for each class of workload:\n\n- 95% of throughput clients’ `Set` RPC calls will complete in < 1 s.\n- 99% of latency clients’ `Set` RPC calls with payloads < 1 kB will complete in < 10 ms.\n\nIt’s both unrealistic and undesirable to insist that SLOs will be met 100% of the time: doing so can reduce the rate of innovation and deployment, require expensive, overly conservative solutions, or both. Instead, it is better to allow an error budget—a rate at which the SLOs can be missed—and track that on a daily or weekly basis. Upper management will probably want a monthly or quarterly assessment, too. (An error budget is just an SLO for meeting other SLOs!)\n\nThe SLO violation rate can be compared against the error budget (see [Motivation for Error Budgets](/sre-book/embracing-risk#xref_risk-management_unreliability-budgets)), with the gap used as an input to the process that decides when to roll out new releases.\n\n## Choosing Targets\n\nChoosing targets (SLOs) is not a purely technical activity because of the product and business implications, which should be reflected in both the SLIs and SLOs (and maybe SLAs) that are selected. Similarly, it may be necessary to trade off certain product attributes against others within the constraints posed by staffing, time to market, hardware availability, and funding. While SRE should be part of this conversation, and advise on the risks and viability of different options, we’ve learned a few lessons that can help make this a more productive discussion:\n\nDon’t pick a target based on current performance\n\nWhile understanding the merits and limits of a system is essential, adopting values without reflection may lock you into supporting a system that requires heroic efforts to meet its targets, and that cannot be improved without significant redesign.\n\nKeep it simple\n\nComplicated aggregations in SLIs can obscure changes to system performance, and are also harder to reason about.\n\nAvoid absolutes\n\nWhile it’s tempting to ask for a system that can scale its load \"infinitely\" without any latency increase and that is \"always\" available, this requirement is unrealistic. Even a system that approaches such ideals will probably take a long time to design and build, and will be expensive to operate—and probably turn out to be unnecessarily better than what users would be happy (or even delighted) to have.\n\nHave as few SLOs as possible\n\nChoose just enough SLOs to provide good coverage of your system’s attributes. Defend the SLOs you pick: if you can’t ever win a conversation about priorities by quoting a particular SLO, it’s probably not worth having that SLO.17 However, not all product attributes are amenable to SLOs: it’s hard to specify \"user delight\" with an SLO.\n\nPerfection can wait\n\nYou can always refine SLO definitions and targets over time as you learn about a system’s behavior. It’s better to start with a loose target that you tighten than to choose an overly strict target that has to be relaxed when you discover it’s unattainable.\n\nSLOs can—and should—be a major driver in prioritizing work for SREs and product developers, because they reflect what users care about. A good SLO is a helpful, legitimate forcing function for a development team. But a poorly thought-out SLO can result in wasted work if a team uses heroic efforts to meet an overly aggressive SLO, or a bad product if the SLO is too lax. SLOs are a massive lever: use them wisely.\n\n## Control Measures\n\nSLIs and SLOs are crucial elements in the control loops used to manage systems:\n\n1. Monitor and measure the system’s SLIs.\n2. Compare the SLIs to the SLOs, and decide whether or not action is needed.\n3. If action is needed, figure out *what* needs to happen in order to meet the target.\n4. Take that action.\n\nFor example, if step 2 shows that request latency is increasing, and will miss the SLO in a few hours unless something is done, step 3 might include testing the hypothesis that the servers are CPU-bound, and deciding to add more of them to spread the load. Without the SLO, you wouldn’t know whether (or when) to take action.\n\n## SLOs Set Expectations\n\nPublishing SLOs sets expectations for system behavior. Users (and potential users) often want to know what they can expect from a service in order to understand whether it’s appropriate for their use case. For instance, a team wanting to build a photo-sharing website might want to avoid using a service that promises very strong durability and low cost in exchange for slightly lower availability, though the same service might be a perfect fit for an archival records management system.\n\nIn order to set realistic expectations for your users, you might consider using one or both of the following tactics:\n\nKeep a safety margin\n\nUsing a tighter internal SLO than the SLO advertised to users gives you room to respond to chronic problems before they become visible externally. An SLO buffer also makes it possible to accommodate reimplementations that trade performance for other attributes, such as cost or ease of maintenance, without having to disappoint users.\n\nDon’t overachieve\n\nUsers build on the reality of what you offer, rather than what you say you’ll supply, particularly for infrastructure services. If your service’s actual performance is much better than its stated SLO, users will come to rely on its current performance. You can avoid over-dependence by deliberately taking the system offline occasionally (Google’s Chubby service introduced planned outages in response to being overly available),18 throttling some requests, or designing the system so that it isn’t faster under light loads.\n\nUnderstanding how well a system is meeting its expectations helps decide whether to invest in making the system faster, more available, and more resilient. Alternatively, if the service is doing fine, perhaps staff time should be spent on other priorities, such as paying off technical debt, adding new features, or introducing other products.\n\n# Agreements in Practice\n\nCrafting an SLA requires business and legal teams to pick appropriate consequences and penalties for a breach. SRE’s role is to help them understand the likelihood and difficulty of meeting the SLOs contained in the SLA. Much of the advice on SLO construction is also applicable for SLAs. It is wise to be conservative in what you advertise to users, as the broader the constituency, the harder it is to change or delete SLAs that prove to be unwise or difficult to work with.\n\n16Most people really mean SLO when they say \"SLA.\" One giveaway: if somebody talks about an \"SLA violation,\" they are almost always talking about a missed SLO. A real SLA violation might trigger a court case for breach of contract.\n\n17If you can’t ever win a conversation about SLOs, it’s probably not worth having an SRE team for the product.\n\n18Failure injection [[Ben12]](/sre-book/bibliography#Ben12) serves a different purpose, but can also help set expectations.", "znaku_textu": 21808, "slov": 3584, "odkazu": 67, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:51", "sha256": "449fb54ce65e05102fac46c797a08b86c5ab93ade2c70c63ae25e7648d687d7d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/service-level-objectives/", "titulek": "Google SRE - Defining slo: service level objective meaning", "h1": "Service Level Objectives", "popis": "SRE SLO book to understand service level objective meaning and the various service level terminilogy including sla slo sli to improve service reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/service-level-objectives/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/service-level-objectives/"}, "headline": "Service Level Objectives", "description": "It's impossible to manage a service correctly, let alone well, without understanding which behaviors really matter for that service and how to measure and evaluate those behaviors.", "image": "https://lh3.googleusercontent.com/G-Ljl-lx35hRTILL9pwj-ty2S5KE8piLPmx4wZSoaLpnfvw4WgdseYm-X5ZPCMNZS01eJmyZFwjHL4yK3ptj6WglYlX20Oi3dxA", "author": [{"@type": "Person", "name": "Chris Jones"}, {"@type": "Person", "name": "John Wilkes"}, {"@type": "Person", "name": "Niall Murphy"}, {"@type": "Person", "name": "Cody Smith"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Service Level Objectives"}, {"uroven": 2, "text": "Service Level Terminology"}, {"uroven": 2, "text": "Indicators"}, {"uroven": 2, "text": "Objectives"}, {"uroven": 2, "text": "Agreements"}, {"uroven": 1, "text": "Indicators in Practice"}, {"uroven": 2, "text": "What Do You and Your Users Care About?"}, {"uroven": 2, "text": "Collecting Indicators"}, {"uroven": 2, "text": "Aggregation"}, {"uroven": 2, "text": "Standardize Indicators"}, {"uroven": 1, "text": "Objectives in Practice"}, {"uroven": 2, "text": "Defining Objectives"}, {"uroven": 2, "text": "Choosing Targets"}, {"uroven": 2, "text": "Control Measures"}, {"uroven": 2, "text": "SLOs Set Expectations"}, {"uroven": 1, "text": "Agreements in Practice"}], "markdown": "# Service Level Objectives\n\nWritten by Chris Jones, John Wilkes, and Niall Murphy with Cody Smith\nEdited by Betsy Beyer\n\nIt’s impossible to manage a service correctly, let alone well, without understanding which behaviors really matter for that service and how to measure and evaluate those behaviors. To this end, we would like to define and deliver a given *level of service* to our users, whether they use an internal API or a public product.\n\nWe use intuition, experience, and an understanding of what users want to define *service level indicators* (SLIs), *objectives* (SLOs), and *agreements* (SLAs). These measurements describe basic properties of metrics that matter, what values we want those metrics to have, and how we’ll react if we can’t provide the expected service. Ultimately, choosing appropriate metrics helps to drive the right action if something goes wrong, and also gives an SRE team confidence that a service is healthy.\n\nThis chapter describes the framework we use to wrestle with the problems of metric modeling, metric selection, and metric analysis. Much of this explanation would be quite abstract without an example, so we’ll use the Shakespeare service outlined in [Shakespeare: A Sample Service](/sre-book/production-environment#xref_production-environment_shakespeare) to illustrate our main points.\n\n## Service Level Terminology\n\nMany readers are likely familiar with the concept of an SLA, but the terms *SLI* and *SLO* are also worth careful definition, because in common use, the term *SLA* is overloaded and has taken on a number of meanings depending on context. We prefer to separate those meanings for clarity.\n\n## Indicators\n\nAn SLI is a service level *indicator*—a carefully defined quantitative measure of some aspect of the level of service that is provided.\n\nMost services consider *request latency*—how long it takes to return a response to a request—as a key SLI. Other common SLIs include the *error rate*, often expressed as a fraction of all requests received, and *system throughput*, typically measured in requests per second. The measurements are often aggregated: i.e., raw data is collected over a measurement window and then turned into a rate, average, or percentile.\n\nIdeally, the SLI directly measures a service level of interest, but sometimes only a proxy is available because the desired measure may be hard to obtain or interpret. For example, client-side latency is often the more user-relevant metric, but it might only be possible to measure latency at the server.\n\nAnother kind of SLI important to SREs is *availability*, or the fraction of the time that a service is usable. It is often defined in terms of the fraction of well-formed requests that succeed, sometimes called *yield*. (*Durability*—the likelihood that data will be retained over a long period of time—is equally important for [data storage systems.](https://sre.google/sre-book/data-integrity/)) Although 100% availability is impossible, near-100% availability is often readily achievable, and the industry commonly expresses high-availability values in terms of the number of \"nines\" in the availability percentage. For example, availabilities of 99% and 99.999% can be referred to as \"2 nines\" and \"5 nines\" availability, respectively, and the current published target for Google Compute Engine availability is “three and a half nines”—99.95% availability.\n\n## Objectives\n\nAn SLO is a *service level objective*: a target value or range of values for a service level that is measured by an SLI. A natural structure for SLOs is thus *SLI ≤ target*, or *lower bound ≤ SLI ≤ upper bound*. For example, we might decide that we will return Shakespeare search results \"quickly,\" adopting an SLO that our average search request latency should be less than 100 milliseconds.\n\nChoosing an appropriate SLO is complex. To begin with, you don’t always get to choose its value! For incoming HTTP requests from the outside world to your service, the queries per second (QPS) metric is essentially determined by the desires of your users, and you can’t really set an SLO for that.\n\nOn the other hand, you *can* say that you want the average latency per request to be under 100 milliseconds, and setting such a goal could in turn motivate you to write your frontend with low-latency behaviors of various kinds or to buy certain kinds of low-latency equipment. (100 milliseconds is obviously an arbitrary value, but in general lower latency numbers are good. There are excellent reasons to believe that fast is better than slow, and that user-experienced latency above certain values actually drives people away— see \"Speed Matters\" [[Bru09]](/sre-book/bibliography#Bru09) for more details.)\n\nAgain, this is more subtle than it might at first appear, in that those two SLIs—QPS and latency—might be connected behind the scenes: higher QPS often leads to larger latencies, and it’s common for services to have a performance cliff beyond some load threshold.\n\nChoosing and [publishing SLOs](https://sre.google/resources/practices-and-processes/art-of-slos/) to users sets expectations about how a service will perform. This strategy can reduce unfounded complaints to service owners about, for example, the service being slow. Without an explicit SLO, users often develop their own beliefs about desired performance, which may be unrelated to the beliefs held by the people designing and operating the service. This dynamic can lead to both over-reliance on the service, when users incorrectly believe that a service will be more available than it actually is (as happened with Chubby: see The Global Chubby Planned Outage), and under-reliance, when prospective users believe a system is flakier and less reliable than it actually is.\n\n## Agreements\n\nFinally, SLAs are service level *agreements*: an explicit or implicit contract with your users that includes consequences of meeting (or missing) the SLOs they contain. The consequences are most easily recognized when they are financial—a rebate or a penalty—but they can take other forms. An easy way to tell the difference between an SLO and an SLA is to ask \"what happens if the SLOs aren’t met?\": if there is no explicit consequence, then you are almost certainly looking at an SLO.16\n\nSRE doesn’t typically get involved in constructing SLAs, because SLAs are closely tied to business and product decisions. SRE does, however, get involved in helping to avoid triggering the consequences of missed SLOs. They can also help to define the SLIs: there obviously needs to be an objective way to measure the SLOs in the agreement, or disagreements will arise.\n\nGoogle Search is an example of an important service that doesn’t have an SLA for the public: we want everyone to use Search as fluidly and efficiently as possible, but we haven’t signed a contract with the whole world. Even so, there are still consequences if Search isn’t available—unavailability results in a hit to our reputation, as well as a drop in advertising revenue. Many other Google services, such as Google for Work, do have explicit SLAs with their users. Whether or not a particular service has an SLA, it’s valuable to define SLIs and SLOs and use them to manage the service.\n\nSo much for the theory—now for the experience.\n\n# Indicators in Practice\n\nGiven that we’ve made the case for *why* choosing appropriate [metrics to measure your service](https://sre.google/sre-book/practical-alerting/) is important, how do you go about identifying what metrics are meaningful to your service or system?\n\n## What Do You and Your Users Care About?\n\nYou shouldn’t use every metric you can track in your monitoring system as an SLI; an understanding of what your users want from the system will inform the judicious selection of a few indicators. Choosing too many indicators makes it hard to pay the right level of attention to the indicators that matter, while choosing too few may leave significant behaviors of your system unexamined. We typically find that a handful of representative indicators are enough to evaluate and reason about a system’s health.\n\nServices tend to fall into a few broad categories in terms of the SLIs they find relevant:\n\n- *User-facing serving systems* , such as the Shakespeare search frontends, generally care about *availability* , *latency* , and *throughput* . In other words: Could we respond to the request? How long did it take to respond? How many requests could be handled?\n- *Storage systems* often emphasize *latency* , *availability* , and *durability* . In other words: How long does it take to read or write data? Can we access the data on demand? Is the data still there when we need it? See [Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/) for an extended discussion of these issues.\n- *Big data systems* , such as data processing pipelines, tend to care about *throughput* and *end-to-end latency* . In other words: How much data is being processed? How long does it take the data to progress from ingestion to completion? (Some pipelines may also have targets for latency on individual processing stages.)\n- All systems should care about *correctness* : was the right answer returned, the right data retrieved, the right analysis done? Correctness is important to track as an indicator of system health, even though it’s often a property of the data in the system rather than the infrastructure *per se* , and so usually not an SRE responsibility to meet.\n\n## Collecting Indicators\n\nMany indicator metrics are most naturally gathered on the server side, using a monitoring system such as Borgmon (see [Practical Alerting from Time-Series Data](/sre-book/practical-alerting/)) or Prometheus, or with periodic log analysis—for instance, HTTP 500 responses as a fraction of all requests. However, some systems should be instrumented with *client*-side collection, because not measuring behavior at the client can miss a range of problems that affect users but don’t affect server-side metrics. For example, concentrating on the response latency of the Shakespeare search backend might miss poor user latency due to problems with the page’s JavaScript: in this case, measuring how long it takes for a page to become usable in the browser is a better proxy for what the user actually experiences.\n\n## Aggregation\n\nFor simplicity and usability, we often aggregate raw measurements. This needs to be done carefully.\n\nSome metrics are seemingly straightforward, like the number of requests *per second* served, but even this apparently straightforward measurement implicitly aggregates data over the measurement window. Is the measurement obtained once a second, or by averaging requests over a minute? The latter may hide much higher instantaneous request rates in bursts that last for only a few seconds. Consider a system that serves 200 requests/s in even-numbered seconds, and 0 in the others. It has the same average load as one that serves a constant 100 requests/s, but has an *instantaneous* load that is twice as large as the *average* one. Similarly, averaging request latencies may seem attractive, but obscures an important detail: it’s entirely possible for most of the requests to be fast, but for a long tail of requests to be much, much slower.\n\nMost metrics are better thought of as *distributions* rather than averages. For example, for a latency SLI, some requests will be serviced quickly, while others will invariably take longer—sometimes much longer. A simple average can obscure these tail latencies, as well as changes in them. Figure 4-1 provides an example: although a typical request is served in about 50 ms, 5% of requests are 20 times slower! Monitoring and alerting based only on the average latency would show no change in behavior over the course of the day, when there are in fact significant changes in the tail latency (the topmost line).\n\nFigure 4-1. 50th, 85th, 95th, and 99th percentile latencies for a system. Note that the Y-axis has a logarithmic scale.\n\nUsing percentiles for indicators allows you to consider the shape of the distribution and its differing attributes: a high-order percentile, such as the 99th or 99.9th, shows you a plausible worst-case value, while using the 50th percentile (also known as the median) emphasizes the typical case. The higher the variance in response times, the more the typical user experience is affected by long-tail behavior, an effect exacerbated at high load by queuing effects. User studies have shown that people typically prefer a slightly slower system to one with high variance in response time, so some SRE teams focus only on high percentile values, on the grounds that if the 99.9th percentile behavior is good, then the typical experience is certainly going to be.\n\n## Standardize Indicators\n\nWe recommend that you standardize on common definitions for SLIs so that you don’t have to reason about them from first principles each time. Any feature that conforms to the standard definition templates can be omitted from the specification of an individual SLI, e.g.:\n\n- Aggregation intervals: “Averaged over 1 minute”\n- Aggregation regions: “All the tasks in a cluster”\n- How frequently measurements are made: “Every 10 seconds”\n- Which requests are included: “HTTP GETs from black-box monitoring jobs”\n- How the data is acquired: “Through our monitoring, measured at the server”\n- Data-access latency: “Time to last byte”\n\nTo save effort, build a set of reusable SLI templates for each common metric; these also make it simpler for everyone to understand what a specific SLI means.\n\n# Objectives in Practice\n\nStart by thinking about (or finding out!) what your users care about, not what you can measure. Often, what your users care about is difficult or impossible to measure, so you’ll end up approximating users’ needs in some way. However, if you simply start with what’s easy to measure, you’ll end up with less useful SLOs. As a result, we’ve sometimes found that working from desired objectives backward to specific indicators works better than choosing indicators and then coming up with targets.\n\n## Defining Objectives\n\nFor maximum clarity, SLOs should specify how they’re measured and the conditions under which they’re valid. For instance, we might say the following (the second line is the same as the first, but relies on the SLI defaults of the previous section to remove redundancy):\n\n- 99% (averaged over 1 minute) of `Get` RPC calls will complete in less than 100 ms (measured across all the backend servers).\n- 99% of `Get` RPC calls will complete in less than 100 ms.\n\nIf the shape of the performance curves are important, then you can specify multiple SLO targets:\n\n- 90% of `Get` RPC calls will complete in less than 1 ms.\n- 99% of `Get` RPC calls will complete in less than 10 ms.\n- 99.9% of `Get` RPC calls will complete in less than 100 ms.\n\nIf you have users with heterogeneous workloads such as a bulk processing pipeline that cares about throughput and an interactive client that cares about latency, it may be appropriate to define separate objectives for each class of workload:\n\n- 95% of throughput clients’ `Set` RPC calls will complete in < 1 s.\n- 99% of latency clients’ `Set` RPC calls with payloads < 1 kB will complete in < 10 ms.\n\nIt’s both unrealistic and undesirable to insist that SLOs will be met 100% of the time: doing so can reduce the rate of innovation and deployment, require expensive, overly conservative solutions, or both. Instead, it is better to allow an error budget—a rate at which the SLOs can be missed—and track that on a daily or weekly basis. Upper management will probably want a monthly or quarterly assessment, too. (An error budget is just an SLO for meeting other SLOs!)\n\nThe SLO violation rate can be compared against the error budget (see [Motivation for Error Budgets](/sre-book/embracing-risk#xref_risk-management_unreliability-budgets)), with the gap used as an input to the process that decides when to roll out new releases.\n\n## Choosing Targets\n\nChoosing targets (SLOs) is not a purely technical activity because of the product and business implications, which should be reflected in both the SLIs and SLOs (and maybe SLAs) that are selected. Similarly, it may be necessary to trade off certain product attributes against others within the constraints posed by staffing, time to market, hardware availability, and funding. While SRE should be part of this conversation, and advise on the risks and viability of different options, we’ve learned a few lessons that can help make this a more productive discussion:\n\nDon’t pick a target based on current performance\n\nWhile understanding the merits and limits of a system is essential, adopting values without reflection may lock you into supporting a system that requires heroic efforts to meet its targets, and that cannot be improved without significant redesign.\n\nKeep it simple\n\nComplicated aggregations in SLIs can obscure changes to system performance, and are also harder to reason about.\n\nAvoid absolutes\n\nWhile it’s tempting to ask for a system that can scale its load \"infinitely\" without any latency increase and that is \"always\" available, this requirement is unrealistic. Even a system that approaches such ideals will probably take a long time to design and build, and will be expensive to operate—and probably turn out to be unnecessarily better than what users would be happy (or even delighted) to have.\n\nHave as few SLOs as possible\n\nChoose just enough SLOs to provide good coverage of your system’s attributes. Defend the SLOs you pick: if you can’t ever win a conversation about priorities by quoting a particular SLO, it’s probably not worth having that SLO.17 However, not all product attributes are amenable to SLOs: it’s hard to specify \"user delight\" with an SLO.\n\nPerfection can wait\n\nYou can always refine SLO definitions and targets over time as you learn about a system’s behavior. It’s better to start with a loose target that you tighten than to choose an overly strict target that has to be relaxed when you discover it’s unattainable.\n\nSLOs can—and should—be a major driver in prioritizing work for SREs and product developers, because they reflect what users care about. A good SLO is a helpful, legitimate forcing function for a development team. But a poorly thought-out SLO can result in wasted work if a team uses heroic efforts to meet an overly aggressive SLO, or a bad product if the SLO is too lax. SLOs are a massive lever: use them wisely.\n\n## Control Measures\n\nSLIs and SLOs are crucial elements in the control loops used to manage systems:\n\n1. Monitor and measure the system’s SLIs.\n2. Compare the SLIs to the SLOs, and decide whether or not action is needed.\n3. If action is needed, figure out *what* needs to happen in order to meet the target.\n4. Take that action.\n\nFor example, if step 2 shows that request latency is increasing, and will miss the SLO in a few hours unless something is done, step 3 might include testing the hypothesis that the servers are CPU-bound, and deciding to add more of them to spread the load. Without the SLO, you wouldn’t know whether (or when) to take action.\n\n## SLOs Set Expectations\n\nPublishing SLOs sets expectations for system behavior. Users (and potential users) often want to know what they can expect from a service in order to understand whether it’s appropriate for their use case. For instance, a team wanting to build a photo-sharing website might want to avoid using a service that promises very strong durability and low cost in exchange for slightly lower availability, though the same service might be a perfect fit for an archival records management system.\n\nIn order to set realistic expectations for your users, you might consider using one or both of the following tactics:\n\nKeep a safety margin\n\nUsing a tighter internal SLO than the SLO advertised to users gives you room to respond to chronic problems before they become visible externally. An SLO buffer also makes it possible to accommodate reimplementations that trade performance for other attributes, such as cost or ease of maintenance, without having to disappoint users.\n\nDon’t overachieve\n\nUsers build on the reality of what you offer, rather than what you say you’ll supply, particularly for infrastructure services. If your service’s actual performance is much better than its stated SLO, users will come to rely on its current performance. You can avoid over-dependence by deliberately taking the system offline occasionally (Google’s Chubby service introduced planned outages in response to being overly available),18 throttling some requests, or designing the system so that it isn’t faster under light loads.\n\nUnderstanding how well a system is meeting its expectations helps decide whether to invest in making the system faster, more available, and more resilient. Alternatively, if the service is doing fine, perhaps staff time should be spent on other priorities, such as paying off technical debt, adding new features, or introducing other products.\n\n# Agreements in Practice\n\nCrafting an SLA requires business and legal teams to pick appropriate consequences and penalties for a breach. SRE’s role is to help them understand the likelihood and difficulty of meeting the SLOs contained in the SLA. Much of the advice on SLO construction is also applicable for SLAs. It is wise to be conservative in what you advertise to users, as the broader the constituency, the harder it is to change or delete SLAs that prove to be unwise or difficult to work with.\n\n16Most people really mean SLO when they say \"SLA.\" One giveaway: if somebody talks about an \"SLA violation,\" they are almost always talking about a missed SLO. A real SLA violation might trigger a court case for breach of contract.\n\n17If you can’t ever win a conversation about SLOs, it’s probably not worth having an SRE team for the product.\n\n18Failure injection [[Ben12]](/sre-book/bibliography#Ben12) serves a different purpose, but can also help set expectations.", "znaku_textu": 21808, "slov": 3584, "odkazu": 67, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/sre-book/service-level-objectives", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:22:59", "sha256": "449fb54ce65e05102fac46c797a08b86c5ab93ade2c70c63ae25e7648d687d7d", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/simplicity/", "titulek": "Google SRE - Operational Simplicity: Stability and Agility", "h1": "System Stability Versus Agility", "popis": "Operational simplicity in aodrqew, balancing stability and agility to enhance reliability, reduce complexity, and focus on impactful innovation.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/simplicity/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/simplicity/"}, "headline": "Simplicity", "description": "Software systems are inherently dynamic and unstable. A software system can only be perfectly stable if it exists in a vacuum. If we stop changing the codebase, we stop introducing bugs.", "author": [{"@type": "Person", "name": "Max Luebbe"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Simplicity"}, {"uroven": 1, "text": "System Stability Versus Agility"}, {"uroven": 1, "text": "The Virtue of Boring"}, {"uroven": 1, "text": "I Won’t Give Up My Code!"}, {"uroven": 1, "text": "The \"Negative Lines of Code\" Metric"}, {"uroven": 1, "text": "Minimal APIs"}, {"uroven": 1, "text": "Modularity"}, {"uroven": 1, "text": "Release Simplicity"}, {"uroven": 1, "text": "A Simple Conclusion"}], "markdown": "## Simplicity\n\nWritten by Max Luebbe\nEdited by Tim Harvey\n\n> The price of reliability is the pursuit of the utmost simplicity.\n> \n> C.A.R. Hoare, Turing Award lecture\n\nSoftware systems are inherently dynamic and unstable.38 A software system can only be perfectly stable if it exists in a vacuum. If we stop changing the codebase, we stop introducing bugs. If the underlying hardware or libraries never change, neither of these components will introduce bugs. If we freeze the current user base, we’ll never have to scale the system. In fact, a good summary of the SRE approach to managing systems is: \"At the end of the day, our job is to keep agility and stability in balance in the system.\"39\n\n# System Stability Versus Agility\n\nIt sometimes makes sense to sacrifice stability for the sake of agility. I’ve often approached an unfamiliar problem domain by conducting what I call exploratory coding—setting an explicit shelf life for whatever code I write with the understanding that I’ll need to try and fail once in order to really understand the task I need to accomplish. Code that comes with an expiration date can be much more liberal with test coverage and release management because it will never be shipped to production or be seen by users.\n\nFor the majority of [production software systems](https://sre.google/sre-book/production-environment/), we want a balanced mix of stability and agility. SREs work to create procedures, practices, and tools that render software more reliable. At the same time, SREs ensure that this work has as little impact on developer agility as possible. In fact, SRE’s experience has found that reliable processes tend to actually increase developer agility: rapid, reliable production rollouts make changes in production easier to see. As a result, once a bug surfaces, it takes less time to find and fix that bug. Building reliability into development allows developers to focus their attention on what we really do care about—the functionality and performance of their software and systems.\n\n# The Virtue of Boring\n\nUnlike just about everything else in life, \"boring\" is actually a positive attribute when it comes to software! We don’t want our programs to be spontaneous and interesting; we want them to stick to the script and predictably accomplish their business goals. In the words of Google engineer Robert Muth, \"Unlike a detective story, the lack of excitement, suspense, and puzzles is actually a desirable property of source code.\" Surprises in production are the nemeses of SRE.\n\nAs Fred Brooks suggests in his \"No Silver Bullet\" essay [[Bro95]](/sre-book/bibliography#Bro95), it is very important to consider the difference between essential complexity and accidental complexity. Essential complexity is the complexity inherent in a given situation that cannot be removed from a problem definition, whereas accidental complexity is more fluid and can be resolved with engineering effort. For example, writing a web server entails dealing with the essential complexity of serving web pages quickly. However, if we write a web server in Java, we may introduce accidental complexity when trying to minimize the performance impact of garbage collection.\n\nWith an eye towards minimizing accidental complexity, SRE teams should:\n\n- Push back when accidental complexity is introduced into the systems for which they are responsible\n- Constantly strive to eliminate complexity in systems they onboard and for which they assume operational responsibility\n\n# I Won’t Give Up My Code!\n\nBecause engineers are human beings who often form an emotional attachment to their creations, confrontations over large-scale purges of the source tree are not uncommon. Some might protest, \"What if we need that code later?\" \"Why don’t we just comment the code out so we can easily add it again later?\" or \"Why don’t we gate the code with a flag instead of deleting it?\" These are all terrible suggestions. Source control systems make it easy to reverse changes, whereas hundreds of lines of commented code create distractions and confusion (especially as the source files continue to evolve), and code that is never executed, gated by a flag that is always disabled, is a metaphorical time bomb waiting to explode, as painfully experienced by Knight Capital, for example (see \"Order In the Matter of Knight Capital Americas LLC\" [[Sec13]](/sre-book/bibliography#Sec13)).\n\nAt the risk of sounding extreme, when you consider a web service that’s expected to be available 24/7, to some extent, every new line of code written is a liability. SRE promotes practices that make it more likely that all code has an essential purpose, such as scrutinizing code to make sure that it actually drives business goals, routinely removing dead code, and building bloat detection into all levels of testing.\n\n# The \"Negative Lines of Code\" Metric\n\nThe term \"software bloat\" was coined to describe the tendency of software to become slower and bigger over time as a result of a constant stream of additional features. While bloated software seems intuitively undesirable, its negative aspects become even more clear when considered from the SRE perspective: every line of code changed or added to a project creates the potential for introducing new defects and bugs. A smaller project is easier to understand, easier to test, and frequently has fewer defects. Bearing this perspective in mind, we should perhaps entertain reservations when we have the urge to add new features to a project. Some of the most satisfying coding I’ve ever done was deleting thousands of lines of code at a time when it was no longer useful.\n\n# Minimal APIs\n\nFrench poet Antoine de Saint Exupery wrote, \"perfection is finally attained not when there is no longer more to add, but when there is no longer anything to take away\" [[Sai39]](/sre-book/bibliography#Sai39). This principle is also applicable to the design and construction of software. APIs are a particularly clear expression of why this rule should be followed.\n\nWriting clear, minimal APIs is an essential aspect of managing simplicity in a software system. The fewer methods and arguments we provide to consumers of the API, the easier that API will be to understand, and the more effort we can devote to making those methods as good as they can possibly be. Again, a recurring theme appears: the conscious decision to not take on certain problems allows us to focus on our core problem and make the solutions we explicitly set out to create substantially better. In software, less is more! A small, simple API is usually also a hallmark of a well-understood problem.\n\n# Modularity\n\nExpanding outward from APIs and single binaries, many of the rules of thumb that apply to object-oriented programming also apply to the design of distributed systems. The ability to make changes to parts of the system in isolation is essential to creating a supportable system. Specifically, loose coupling between binaries, or between binaries and configuration, is a simplicity pattern that simultaneously promotes developer agility and system stability. If a bug is discovered in one program that is a component of a larger system, that bug can be fixed and pushed to production independent of the rest of the system.\n\nWhile the modularity that APIs offer may seem straightforward, it is not so apparent that the notion of modularity also extends to how changes to APIs are introduced. Just a single change to an API can force developers to rebuild their entire system and run the risk of introducing new bugs. Versioning APIs allows developers to continue to use the version that their system depends upon while they upgrade to a newer version in a safe and considered way. The release cadence can vary throughout a system, instead of requiring a full production push of the entire system every time a feature is added or improved.\n\nAs a system grows more complex, the separation of responsibility between APIs and between binaries becomes increasingly important. This is a direct analogy to object-oriented class design: just as it is understood that it is poor practice to write a \"grab bag\" class that contains unrelated functions, it is also poor practice to create and put into production a \"util\" or \"misc\" binary. A well-designed distributed system consists of collaborators, each of which has a clear and well-scoped purpose.\n\nThe concept of modularity also applies to data formats. One of the central strengths and design goals of Google’s protocol buffers40 was to create a wire format that was backward and forward compatible.\n\n# Release Simplicity\n\nSimple releases are generally better than complicated releases. It is much easier to measure and understand the impact of a single change rather than a batch of changes released simultaneously. If we release 100 unrelated changes to a system at the same time and performance gets worse, understanding which changes impacted performance, and how they did so, will take considerable effort or additional instrumentation. If the release is performed in smaller batches, we can move faster with more confidence because each code change can be understood in isolation in the larger system. This approach to releases can be compared to gradient descent in machine learning, in which we find an optimum solution by taking small steps at a time, and considering if each change results in an improvement or degradation.\n\n# A Simple Conclusion\n\nThis chapter has repeated one theme over and over: [software simplicity](https://sre.google/workbook/simplicity/) is a prerequisite to reliability. We are not being lazy when we consider how we might simplify each step of a given task. Instead, we are clarifying what it is we actually want to accomplish and how we might most easily do so. Every time we say \"no\" to a feature, we are not restricting innovation; we are keeping the environment uncluttered of distractions so that focus remains squarely on innovation, and real engineering can proceed.\n\n38This is often true of complex systems in general; see [[Per99]](/sre-book/bibliography#Per99) and [[Coo00]](/sre-book/bibliography#Coo00).\n\n39Coined by my former manager, Johan Anderson, around the time I became an SRE.\n\n40Protocol buffers, also referred to as \"protobufs,\" are a language-neutral, platform-neutral extensible mechanism for serializing structured data. For more details, see [*https://developers.google.com/protocol-buffers/docs/overview#a-bit-of-history*](https://developers.google.com/protocol-buffers/docs/overview#a-bit-of-history).", "znaku_textu": 10503, "slov": 1678, "odkazu": 65, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:18", "sha256": "f83fd37327df7e48a6da3de87f6ce9ee9778c7bf67c12a94e1c8c36a6321c722", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://developers.google.com/protocol-buffers/docs/overview", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/software-engineering-in-sre/", "titulek": "Google SRE - Developing Software for Complex Machines", "h1": "Software Engineering in SRE", "popis": "Google SRE engineers and their solutions to keep production running, and production intricacies to maintain uptime and minimize latency.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/software-engineering-in-sre/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/software-engineering-in-sre/"}, "headline": "Software Engineering in SRE", "description": "Google's production environment is—by some measures—one of the most complex machines humanity has ever built. SREs have firsthand experience with the intricacies of production, making them uniquely well suited to develop the appropriate tools to solve internal problems and use cases related to keeping production running.", "image": "https://lh3.googleusercontent.com/z_XOZMj7dYZLNoXe6lRreL7ApCUhLXNSh65avwBinXCXqvD_YzHoZqfRA5hJzYEZwc15uAbhJMZEWE59x51bsKnC6pHwBGkcciynOw", "author": [{"@type": "Person", "name": "Dave Helstroom"}, {"@type": "Person", "name": "Trisha Weir"}, {"@type": "Person", "name": "Evan Leonard"}, {"@type": "Person", "name": "Kurt Delimon"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Software Engineering in SRE"}, {"uroven": 2, "text": "Why Is Software Engineering Within SRE Important?"}, {"uroven": 1, "text": "Auxon Case Study: Project Background and Problem Space"}, {"uroven": 2, "text": "Traditional Capacity Planning"}, {"uroven": 3, "text": "Brittle by nature"}, {"uroven": 3, "text": "Laborious and imprecise"}, {"uroven": 2, "text": "Our Solution: Intent-Based Capacity Planning"}, {"uroven": 1, "text": "Intent-Based Capacity Planning"}, {"uroven": 2, "text": "Precursors to Intent"}, {"uroven": 3, "text": "Dependencies"}, {"uroven": 3, "text": "Performance metrics"}, {"uroven": 3, "text": "Prioritization"}, {"uroven": 2, "text": "Introduction to Auxon"}, {"uroven": 2, "text": "Requirements and Implementation: Successes and Lessons Learned"}, {"uroven": 3, "text": "Approximation"}, {"uroven": 2, "text": "Raising Awareness and Driving Adoption"}, {"uroven": 3, "text": "Set expectations"}, {"uroven": 3, "text": "Identify appropriate customers"}, {"uroven": 3, "text": "Customer service"}, {"uroven": 3, "text": "Designing at the right level"}, {"uroven": 2, "text": "Team Dynamics"}, {"uroven": 1, "text": "Fostering Software Engineering in SRE"}, {"uroven": 2, "text": "Successfully Building a Software Engineering Culture in SRE: Staffing and Development Time"}, {"uroven": 1, "text": "Conclusions"}], "markdown": "# Software Engineering in SRE\n\nWritten by Dave Helstroom and Trisha Weir with Evan Leonard and Kurt Delimon\nEdited by Kavita Guliani\n\nAsk someone to name a Google software engineering effort and they’ll likely list a consumer-facing product like Gmail or Maps; some might even mention underlying infrastructure such as Bigtable or Colossus. But in truth, there is a massive amount of behind-the-scenes software engineering that consumers never see. A number of those products are developed within SRE.\n\nGoogle’s production environment is—by some measures—one of the most complex machines humanity has ever built. SREs have firsthand experience with the intricacies of production, making them uniquely well suited to develop the appropriate tools to solve internal problems and use cases related to keeping production running. The majority of these tools are related to the overall directive of maintaining uptime and keeping latency low, but take many forms: examples include binary rollout mechanisms, monitoring, or a development environment built on dynamic server composition. Overall, these SRE-developed tools are full-fledged software engineering projects, distinct from one-off solutions and quick hacks, and the SREs who develop them have adopted a product-based mindset that takes both internal customers and a roadmap for future plans into account.\n\n## Why Is Software Engineering Within SRE Important?\n\nIn many ways, the vast scale of Google production has necessitated internal software development, because few third-party tools are designed at sufficient scale for Google’s needs. The company’s history of successful software projects has led us to appreciate the benefits of developing directly within SRE.\n\nSREs are in a unique position to effectively develop internal software for a number of reasons:\n\n- The breadth and depth of Google-specific production knowledge within the SRE organization allows its engineers to design and create software with the appropriate considerations for dimensions such as scalability, graceful degradation during failure, and the ability to easily interface with other infrastructure or tools.\n- Because SREs are embedded in the subject matter, they easily understand the needs and requirements of the tool being developed.\n- A direct relationship with the intended user—fellow SREs—results in frank and high-signal user feedback. Releasing a tool to an internal audience with high familiarity with the problem space means that a development team can launch and iterate more quickly. Internal users are typically more understanding when it comes to minimal UI and other alpha product issues.\n\nFrom a purely pragmatic standpoint, Google clearly benefits from having engineers with SRE experience developing software. By deliberate design, the growth rate of SRE-supported services exceeds the growth rate of the SRE organization; one of SRE’s guiding principles is that \"team size should not scale directly with service growth.\" Achieving linear team growth in the face of exponential service growth requires perpetual automation work and efforts to streamline tools, processes, and other aspects of a service that introduce inefficiency into the day-to-day operation of production. Having the people with direct experience running production systems developing the tools that will ultimately contribute to uptime and latency goals makes a lot of sense.\n\nOn the flip side, individual SREs, as well as the broader SRE organization, also benefit from SRE-driven software development.\n\nFully fledged software development projects within SRE provide career development opportunities for SREs, as well as an outlet for engineers who don’t want their coding skills to get rusty. Long-term project work provides much-needed balance to interrupts and on-call work, and can provide job satisfaction for engineers who want their careers to maintain a balance between [software engineering and systems engineering](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/).\n\nBeyond the design of automation tools and other efforts to reduce the workload for engineers in SRE, software development projects can further benefit the SRE organization by attracting and helping to retain engineers with a broad variety of skills. The desirability of team diversity is doubly true for SRE, where a variety of backgrounds and problem-solving approaches can help prevent blind spots. To this end, Google always strives to staff its SRE teams with a mix of engineers with traditional software development experience and engineers with systems engineering experience.\n\n# Auxon Case Study: Project Background and Problem Space\n\nThis case study examines Auxon, a powerful tool developed within SRE to automate capacity planning for services running in Google production. To best understand how Auxon was conceived and the problems it addresses, we’ll first examine the problem space associated with capacity planning, and the difficulties that traditional approaches to this task present for services at Google and across the industry as a whole. For more context on how Google uses the terms *service* and *cluster*, see [The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/).\n\n## Traditional Capacity Planning\n\nThere are myriad tactics for capacity planning of compute resources (see [[Hix15a]](/sre-book/bibliography#Hix15a)), but the majority of these approaches boil down to a *cycle* that can be approximated as follows:\n\n1) Collect demand forecasts.\n\nHow many resources are needed? When and where are these resources needed?\n\nUses the best data we have available today to plan into the future Typically covers anywhere from several quarters to years\n\n2) Devise build and allocation plans.\n\nGiven this forecasted outlook, what’s the best way to meet this demand with additional supply of resources? How much supply, and in what locations?\n\n3) Review and sign off on plan.\n\nIs the forecast reasonable? Does the plan line up with budgetary, product-level, and technical considerations?\n\n4) Deploy and configure resources.\n\nOnce resources eventually arrive (potentially in phases over the course of some defined period of time), which services get to use the resources? How do I make typically lower-level resources (CPU, disk, etc.) useful for services?\n\nIt bears stressing that capacity planning is a neverending *cycle*: assumptions change, deployments slip, and budgets are cut, resulting in revision upon revision of The Plan. And each revision has trickle-down effects that must propagate throughout the plans of all subsequent quarters. For example, a shortfall this quarter must be made up in future quarters. Traditional capacity planning uses demand as a key driver, and manually shapes supply to fit demand in response to each change.\n\n### Brittle by nature\n\nTraditional capacity planning produces a resource allocation plan that can be disrupted by any seemingly minor change. For example:\n\n- A service undergoes a decrease in efficiency, and needs more resources than expected to serve the same demand.\n- Customer adoption rates increase, resulting in an increase in projected demand.\n- The delivery date for a new cluster of compute resources slips.\n- A product decision about a performance goal changes the shape of the required service deployment (the service’s footprint) and the amount of required resources .\n\nMinor changes require cross-checking the entire allocation plan to make sure that the plan is still feasible; larger changes (such as delayed resource delivery or product strategy changes) potentially require re-creating the plan from scratch. A delivery slippage in a single cluster might impact the redundancy or latency requirements of multiple services: resource allocations in other clusters must be increased to make up for the slippage, and these and any other changes would have to propagate throughout the plan.\n\nAlso, consider that the capacity plan for any given quarter (or other time frame) is based on the expected outcome of the capacity plans of previous quarters, meaning that a change in any one quarter results in work to update subsequent quarters.\n\n### Laborious and imprecise\n\nFor many teams, the process of collecting the data necessary to generate demand forecasts is slow and error-prone. And when it is time to find capacity to meet this future demand, not all resources are equally suitable. For example, if latency requirements mean that a service must commit to serve user demand on the same continent as the user, obtaining additional resources in North America won’t alleviate a capacity shortfall in Asia. Every forecast has *constraints*, or parameters around how it can be fulfilled; constraints are fundamentally related to intent, which is discussed in the next section.\n\nMapping constrained resource requests into allocations of actual resources from the available capacity is equally slow: it’s both complex and tedious to bin pack requests into limited space by hand, or to find solutions that fit a limited budget.\n\nThis process may already paint a grim picture, but to make matters worse, the tools it requires are typically unreliable or cumbersome. Spreadsheets suffer severely from scalability problems and have limited error-checking abilities. Data becomes stale, and tracking changes becomes difficult. Teams often are forced to make simplifying assumptions and reduce the complexity of their requirements, simply to render maintaining adequate capacity a tractable problem.\n\nWhen service owners face the challenges of fitting a series of requests for capacity from various services into the resources available to them, in a manner that meets the various constraints a service may have, additional imprecision ensues. Bin packing is an NP-hard problem that is difficult for human beings to compute by hand. Furthermore, the capacity request from a service is generally an inflexible set of demand requirements: *X* cores in cluster *Y*. The reasons why *X* cores or *Y* cluster are needed, and any degrees of freedom around those parameters, are long lost by the time the request reaches a human trying to fit a list of demands into available supply.\n\nThe net result is a massive expenditure of human effort to come up with a bin packing that is approximate, at best. The process is brittle to change, and there are no known bounds on an optimal solution.\n\n## Our Solution: Intent-Based Capacity Planning\n\n*Specify the requirements, not the implementation.*\n\nAt Google, many teams have moved to an approach we call *Intent-based Capacity Planning*. The basic premise of this approach is to programmatically encode the dependencies and parameters (*intent*) of a service’s needs, and use that encoding to autogenerate an allocation plan that details which resources go to which service, in which cluster. If demand, supply, or service requirements change, we can simply autogenerate a new plan in response to the changed parameters, which is now the new best distribution of resources.\n\nWith a service’s true requirements and flexibility captured, the capacity plan is now dramatically more nimble in the face of change, and we can reach an optimal solution that meets as many parameters as possible. With bin packing delegated to computers, human toil is drastically reduced, and service owners can focus on high-order priorities like SLOs, production dependencies, and service infrastructure requirements, as opposed to low-level scrounging for resources.\n\nAs an added benefit, using computational optimization to map from intent to implementation achieves much greater precision, ultimately resulting in cost savings to the organization. Bin packing is still far from a solved problem, because certain types are still considered NP-hard; however, today’s algorithms can solve to a known optimal solution.\n\n# Intent-Based Capacity Planning\n\n*Intent* is the rationale for how a service owner wants to run their service. Moving from concrete resource demands to motivating reasons in order to arrive at the true capacity planning intent often requires several layers of abstraction. Consider the following chain of abstraction:\n\n1) \"I want 50 cores in clusters X, Y, and Z for service Foo.\"\n\nThis is an explicit resource request. But…*why do we need this many resources specifically in these particular clusters?*\n\n2) \"I want a 50-core footprint in any 3 clusters in geographic region YYY for service Foo.\"\n\nThis request introduces more degrees of freedom and is potentially easier to fulfill, although it doesn’t explain the reasoning behind its requirements. But…*why do we need this quantity of resources, and why 3 footprints?*\n\n3) \"I want to meet service Foo’s demand in each geographic region, and have N + 2 redundancy.\"\n\nSuddenly greater flexibility is introduced and we can understand at a more \"human\" level what happens if service Foo does not receive these resources. But…*why do we need N + 2 for service Foo?*\n\n4) \"I want to run service Foo at 5 nines of reliability.\"\n\nThis is a more abstract requirement, and the ramification if the requirement isn’t met becomes clear: reliability will suffer. And we have even greater flexibility here: perhaps running at *N* + 2 is not actually sufficient or optimal for this service, and some other deployment plan would be more suitable.\n\nSo what level of intent should be used by intent-driven capacity planning? Ideally, all levels of intent should be supported together, with services benefiting the more they shift to specifying intent versus implementation. In Google’s experience, services tend to achieve the best wins as they cross to step 3: good degrees of flexibility are available, and the ramifications of this request are in higher-level and understandable terms. Particularly sophisticated services may aim for step 4.\n\n## Precursors to Intent\n\nWhat information do we need in order to capture a service’s intent? Enter dependencies, performance metrics, and prioritization.\n\n### Dependencies\n\nServices at Google depend on many other infrastructure and user-facing services, and these dependencies heavily influence where a service can be placed. For example, imagine user-facing service Foo, which depends upon Bar, an infrastructure storage service. Foo expresses a requirement that Bar must be located within 30 milliseconds of network latency of Foo. This requirement has important repercussions for where we place both Foo *and* Bar, and intent-driven capacity planning must take these constraints into account.\n\nFurthermore, production dependencies are nested: to build upon the preceding example, imagine service Bar has its own dependencies on Baz, a lower-level distributed storage service, and Qux, an application management service. Therefore, where we can now place Foo depends on where we can place Bar, Baz, and Qux. A given set of production dependencies can be shared, possibly with different stipulations around intent.\n\n### Performance metrics\n\nDemand for one service trickles down to result in demand for one or more other services. Understanding the chain of dependencies helps formulate the general scope of the bin packing problem, but we still need more information about expected resource usage. How many compute resources does service Foo need to serve *N* user queries? For every *N* queries of service Foo, how many Mbps of data do we expect for service Bar?\n\nPerformance metrics are the glue between dependencies. They convert from one or more higher-level resource type(s) to one or more lower-level resource type(s). Deriving appropriate performance metrics for a service can involve load testing and resource usage monitoring.\n\n### Prioritization\n\nInevitably, resource constraints result in trade-offs and hard decisions: of the many requirements that all services have, which requirements should be sacrificed in the face of insufficient capacity?\n\nPerhaps *N* + 2 redundancy for service Foo is more important than *N* + 1 redundancy for service Bar. Or perhaps the feature launch of *X* is less important than *N* + 0 redundancy for service Baz.\n\nIntent-driven planning forces these decisions to be made transparently, openly, and consistently. Resource constraints entail the same trade-offs, but all too often, the prioritization can be ad hoc and opaque to service owners. Intent-based planning allows prioritization to be as granular or coarse as needed.\n\n## Introduction to Auxon\n\nAuxon is Google’s implementation of an intent-based capacity planning and resource allocation solution, and a prime example of an SRE-designed and developed software engineering product: it was built by a small group of software engineers and a technical program manager within SRE over the course of two years. Auxon is a perfect case study to demonstrate how software development can be fostered within SRE.\n\nAuxon is actively used to plan the use of many millions of dollars of machine resources at Google. It has become a critical component of capacity planning for several major divisions within Google.\n\nAs a product, Auxon provides the means to collect intent-based descriptions of a service’s resource requirements and dependencies. These user intents are expressed as requirements for how the owner would like the service to be provisioned. Requirements might be specified as a request like, \"My service must be *N* + 2 per continent\" or \"The frontend servers must be no more than 50 ms away from the backend servers.\" Auxon collects this information either via a user configuration language or via a programmatic API, thus translating human intent into machine-parseable constraints. Requirements can be prioritized, a feature that’s useful if resources are insufficient to meet all requirements, and therefore trade-offs must be made. These requirements—the intent—are ultimately represented internally as a giant mixed-integer or linear program. Auxon solves the linear program, and uses the resultant bin packing solution to formulate an allocation plan for resources.\n\nFigure 18-1 and the explanations that follow it outline Auxon’s major components.\n\nFigure 18-1. The major components of Auxon\n\n*Performance Data* describes how a service scales: for every unit of demand *X* in cluster *Y*, how many units of dependency *Z* are used? This scaling data may be derived in a number of ways depending on the maturity of the service in question. Some services are load tested, while others infer their scaling based upon past performance.\n\n*Per-Service Demand Forecast Data* describes the usage trend for forecasted demand signals. Some services derive their future usage from demand forecasts—a forecast of queries per second broken down by continent. Not all services have a demand forecast: some services (e.g., a storage service like Colossus) derive their demand purely from services that depend upon them.\n\n*Resource Supply* provides data about the availability of base-level, fundamental resources: for example, the number of machines expected to be available for use at a particular point in the future. In linear program terminology, the resource supply acts as an *upper bound* that limits how services can grow and where services can be placed. Ultimately, we want to make the best use of this resource supply as the intent-based description of the combined group of services allows.\n\n*Resource Pricing* provides data about how much base-level, fundamental resources cost. For instance, the cost of machines may vary globally based upon the space/power charges of a given facility. In linear program terminology, the prices inform the overall calculated costs, which act as the *objective* that we want to minimize.\n\n*Intent Config* is the key to how intent-based information is fed to Auxon. It defines what constitutes a service, and how services relate to one another. The config ultimately acts as a configuration layer that allows all the other components to be wired together. It’s designed to be human-readable and configurable.\n\n*Auxon Configuration Language Engine* acts based upon the information it receives from the Intent Config. This component formulates a machine-readable request: a protocol buffer that can be understood by the Auxon Solver. It applies light sanity checking to the configuration, and is designed to act as the gateway between the human-configurable intent definition and the machine-parseable optimization request.\n\n*Auxon Solver* is the brain of the tool. It formulates the giant mixed-integer or linear program based upon the optimization request received from the Configuration Language Engine. It is designed to be very scalable, which allows the solver to run in parallel upon hundreds or even thousands of machines running within Google’s clusters. In addition to mixed-integer linear programming toolkits, there are also components within the Auxon Solver that handle tasks such as scheduling, managing a pool of workers, and descending decision trees.\n\n*Allocation Plan* is the output of the Auxon Solver. It prescribes which resources should be allocated to which services in what locations. It is the computed implementation details of the intent-based definition of the capacity planning problem’s requirements. The Allocation Plan also includes information about any requirements that could not be satisfied—for example, if a requirement couldn’t be met due to a lack of resources, or competing requirements that were otherwise too strict.\n\n## Requirements and Implementation: Successes and Lessons Learned\n\nAuxon was first imagined by an SRE and a technical program manager who had separately been tasked by their respective teams with capacity planning large portions of Google’s infrastructure. Having performed manual capacity planning in spreadsheets, they were well positioned to understand the inefficiencies and opportunities for improvement through automation, and the features such a tool might require.\n\nThroughout Auxon’s development, the SRE team behind the product continued to be deeply involved in the production world. The team maintained a role in on-call rotations for several of Google’s services, and participated in design discussions and technical leadership of these services. Through these ongoing interactions, the team was able to stay grounded in the production world: they acted as both the consumer and developer of their own product. When the product failed, the team was directly impacted. Feature requests were informed through the team’s own firsthand experiences. Not only did firsthand experience of the problem space buy a huge sense of ownership in the product’s success, but it also helped give the product credibility and legitimacy within SRE.\n\n### Approximation\n\nDon’t focus on perfection and purity of solution, especially if the bounds of the problem aren’t well known. Launch and iterate.\n\nAny sufficiently complex software engineering effort is bound to encounter uncertainty as to how a component should be designed or how a problem should be tackled. Auxon met with such uncertainty early in its development because the linear programming world was uncharted territory for the team members. The limitations of linear programming, which seemed to be a central part of how the product would likely function, were not well understood. To address the team’s consternation over this insufficiently understood dependency, we opted to initially build a simplified solver engine (the so-called \"Stupid Solver\") that applied some simple heuristics as to how services should be arranged based upon the user’s specified requirements. While the Stupid Solver would never yield a truly optimal solution, it gave the team a sense that our vision for Auxon was achievable even if we didn’t build something perfect from day one.\n\nWhen deploying approximation to help speed development, it’s important to undertake the work in a way that allows the team to make future enhancements and revisit approximation. In the case of the Stupid Solver, the entire solver interface was abstracted away within Auxon such that the solver internals could be swapped out at a later date. Eventually, as we built confidence in a unified linear programming model, it was a simple operation to switch out the Stupid Solver for something, well, smarter.\n\nAuxon’s product requirements also had some unknowns. Building software with fuzzy requirements can be a frustrating challenge, but some degree of uncertainty need not be a showstopper. Use this fuzziness as an incentive to ensure that the software is designed to be both general and modular. For instance, one of the aims of the Auxon project was to integrate with automation systems within Google to allow an Allocation Plan to be directly enacted on production (assigning resources and turning up/turning down/resizing services as appropriate). However, at the time, the world of automation systems was in a great deal of flux, as a huge variety of approaches were in use. Rather than try to design unique solutions to allow Auxon to work with each individual tool, we instead shaped the Allocation Plan to be universally useful such that these automation systems could work on their own integration points. This \"agnostic\" approach became key to Auxon’s process for onboarding new customers, because it allowed customers to begin using Auxon without switching to a particular turnup automation tool, forecasting tool, or performance data tool.\n\nWe also leveraged modular designs to deal with fuzzy requirements when building a model of machine performance within Auxon. Data on future machine platform performance (e.g., CPU) was scarce, but our users wanted a way to model various scenarios of machine power. We abstracted away the machine data behind a single interface, allowing the user to swap in different models of future machine performance. We later extended this modularity further, based on increasingly defined requirements, to provide a simple machine performance modeling library that worked within this interface.\n\nIf there’s one theme to draw from our Auxon case study, it’s that the old motto of \"[launch and iterate](https://sre.google/sre-book/reliable-product-launches/)\" is particularly relevant in SRE software development projects. Don’t wait for the perfect design; rather, keep the overall vision in mind while moving ahead with design and development. When you encounter areas of uncertainty, design the software to be flexible enough so that if process or strategy changes at a higher level, you don’t incur a huge rework cost. But at the same time, stay grounded by making sure that general solutions have a real-world–specific implementation that demonstrates the utility of the design.\n\n## Raising Awareness and Driving Adoption\n\nAs with any product, SRE-developed software must be designed with knowledge of its users and requirements. It needs to drive adoption through utility, performance, and demonstrated ability to both benefit Google’s production reliability goals and to better the lives of SREs. The process of socializing a product and achieving buy-in across an organization is key to the project’s success.\n\nDon’t underestimate the effort required to raise awareness and interest in your software product—a single presentation or email announcement isn’t enough. Socializing internal software tools to a large audience demands all of the following:\n\n- A consistent and coherent approach\n- User advocacy\n- The sponsorship of senior engineers and management, to whom you will have to demonstrate the utility of your product\n\nIt’s important to consider the perspective of the customer in making your product usable. An engineer might not have the time or the inclination to dig into the source code to figure out how to use a tool. Although internal customers are generally more tolerant of rough edges and early alphas than external customers, it’s still necessary to provide documentation. SREs are busy, and if your solution is too difficult or confusing, they will write their own solution.\n\n### Set expectations\n\nWhen an engineer with years of familiarity in a problem space begins designing a product, it’s easy to imagine a utopian end-state for the work. However, it’s important to differentiate aspirational goals of the product from minimum success criteria (or Minimum Viable Product). Projects can lose credibility and fail by promising too much, too soon; at the same time, if a product doesn’t promise a sufficiently rewarding outcome, it can be difficult to overcome the necessary activation energy to convince internal teams to try something new. Demonstrating steady, incremental progress via small releases raises user confidence in your team’s ability to deliver useful software.\n\nIn the case of Auxon, we struck a balance by planning a long-term roadmap alongside short-term fixes. Teams were promised that:\n\n- Any onboarding and configuration efforts would provide the immediate benefit of alleviating the pain of manually bin packing short-term resource requests.\n- As additional features were developed for Auxon, the same configuration files would carry over and provide new, and much broader, long-term cost savings and other benefits. The project road map enabled services to quickly determine if their use cases or required features weren’t implemented in the early versions. Meanwhile, Auxon’s iterative development approach fed into development priorities and new milestones for the road map.\n\n### Identify appropriate customers\n\nThe team developing Auxon realized that a one-size solution might not fit all; many larger teams already had home-grown solutions for capacity planning that worked passably well. While their custom tools weren’t perfect, these teams didn’t experience sufficient pain in the capacity planning process to try a new tool, especially an alpha release with rough edges.\n\nThe initial versions of Auxon intentionally targeted teams that had no existing capacity planning processes in place. Because these teams would have to invest configuration effort whether they adopted an existing tool or our new approach, they were interested in adopting the newest tool. The early successes Auxon achieved with these teams demonstrated the utility of the project, and turned the customers themselves into advocates for the tool. Quantifying the usefulness of the product proved further beneficial; when we onboarded one of Google’s Business Areas, the team authored a case study detailing the process and comparing the before and after results. The time savings and reduction of human toil alone presented a huge incentive for other teams to give Auxon a try.\n\n### Customer service\n\nEven though software developed within SRE targets an audience of TPMs and engineers with high technical proficiency, any sufficiently innovative software still presents a learning curve to new users. Don’t be afraid to provide white glove customer support for early adopters to help them through the onboarding process. Sometimes automation also entails a host of emotional concerns, such as fear that someone’s job will be replaced by a shell script. By working one-on-one with early users, you can address those fears personally, and demonstrate that rather than owning the toil of performing a tedious task manually, the team instead owns the configurations, processes, and ultimate results of their technical work. Later adopters are convinced by the happy examples of early adopters.\n\nFurthermore, because Google’s SRE teams are distributed across the globe, early-adopter advocates for a project are particularly beneficial, because they can serve as local experts for other teams interested in trying out the project.\n\n### Designing at the right level\n\nAn idea that we’ve termed *agnosticism*—writing the software to be generalized to allow myriad data sources as input—was a key principle of Auxon’s design. Agnosticism meant that customers weren’t required to commit to any one tool in order to use the Auxon framework. This approach allowed Auxon to remain of sufficient general utility even as teams with divergent use cases began to use it. We approached potential users with the message, \"come as you are; we’ll work with what you’ve got.\" By avoiding over-customizing for one or two big users, we achieved broader adoption across the organization and lowered the barrier to entry for new services.\n\nWe’ve also consciously endeavored to avoid the pitfall of defining success as 100% adoption across the organization. In many cases, there are diminishing returns on closing the last mile to enable a feature set that is sufficient for every service in the long tail at Google.\n\n## Team Dynamics\n\nIn selecting engineers to work on an SRE software development product, we’ve found great benefit from creating a seed team that combines generalists who are able to get up to speed quickly on a new topic with engineers possessing a breadth of knowledge and experience. A diversity of experiences covers blind spots as well as the pitfalls of assuming that every team’s use case is the same as yours.\n\nIt’s essential for your team to establish a working relationship with necessary specialists, and for your engineers to be comfortable working in a new problem space. For SRE teams at most companies, venturing into this new problem space requires outsourcing tasks or working with consultants, but SRE teams at larger organizations may be able to partner with in-house experts. During the initial phases of conceptualizing and designing Auxon, we presented our design document to Google’s in-house teams that specialize in Operations Research and Quantitative Analysis in order to draw upon their expertise in the field and to bootstrap the Auxon team’s knowledge about capacity planning.\n\nAs project development continued and Auxon’s feature set grew more broad and complex, the team acquired members with backgrounds in statistics and mathematical optimization, which at a smaller company might be akin to bringing an outside consultant in-house. These new team members were able to identify areas for improvement when the project’s basic functionality was complete and adding finesse had become our top priority.\n\nThe right time to engage specialists will, of course, vary from project to project. As a rough guideline, the project should be successfully off the ground and demonstrably successful, such that the skills of the current team would be significantly bolstered by the additional expertise.\n\n# Fostering Software Engineering in SRE\n\nWhat makes a project a good candidate to take the leap from one-off tool to fully fledged software engineering effort? Strong positive signals include engineers with firsthand experience in the relative domain who are interested in working on the project, and a target user base that is highly technical (and therefore able to provide high-signal bug reports during the early phases of development). The project should provide noticeable benefits, such as reducing toil for SREs, improving an existing piece of infrastructure, or streamlining a complex process.\n\nIt’s important for the project to fit into the overall set of objectives for the organization, so that engineering leaders can weigh its potential impact and subsequently advocate for your project, both with their reporting teams and with other teams that might interface with their teams. Cross-organizational socialization and review help prevent disjoint or overlapping efforts, and a product that can easily be established as furthering a department-wide objective is easier to staff and support.\n\nWhat makes a poor candidate project? Many of the same red flags you might instinctively identify in any software project, such as software that touches many moving parts at once, or software design that requires an all-or-nothing approach that prevents iterative development. Because Google SRE teams are currently organized around the services they run, SRE-developed projects are particularly at risk of being overly specific work that only benefits a small percentage of the organization. Because team incentives are aligned primarily to provide a great experience for the users of one particular service, projects often fail to generalize to a broader use case as standardization across SRE teams comes in second place. At the opposite end of the spectrum, overly generic frameworks can be equally problematic; if a tool strives to be too flexible and too universal, it runs the risk of not quite fitting any use case, and therefore having insufficient value in and of itself. Projects with grand scope and abstract goals often require significant development effort, but lack the concrete use cases required to deliver end-user benefit on a reasonable time frame.\n\nAs an example of a broad use case: a layer-3 load balancer developed by Google SREs proved so successful over the years that it was repurposed as a customer-facing product offering via Google Cloud Load Balancer [[Eis16]](/sre-book/bibliography#Eis16).\n\n## Successfully Building a Software Engineering Culture in SRE: Staffing and Development Time\n\nSREs are often generalists, as the desire to learn breadth-first instead of depth-first lends itself well to understanding the bigger picture (and there are few pictures bigger than the intricate inner workings of modern technical infrastructure). These engineers often have strong coding and software development skills, but may not have the traditional SWE experience of being part of a product team or having to think about customer feature requests. A quote from an engineer on an early SRE software development project sums up the conventional SRE approach to software: \"I have a design doc; why do we need requirements?\" Partnering with engineers, TPMs, or PMs who are familiar with user-facing software development can help build a team software development culture that brings together the best of both software product development and hands-on production experience.\n\nDedicated, noninterrupted, project work time is essential to any software development effort. Dedicated project time is necessary to enable progress on a project, because it’s nearly impossible to write code—much less to concentrate on larger, more impactful projects—when you’re thrashing between several tasks in the course of an hour. Therefore, the ability to work on a software project without interrupts is often an attractive reason for engineers to begin working on a development project. Such time must be aggressively defended.\n\nThe majority of software products developed within SRE begin as side projects whose utility leads them to grow and become formalized. At this point, a product may branch off into one of several possible directions:\n\n- Remain a grassroots effort developed in engineers’ spare time\n- Become established as a formal project through structured processes (see Getting There )\n- Gain executive sponsorship from within SRE leadership to expand into a fully staffed software development effort\n\nHowever, in any of these scenarios—and this is a point worth stressing—it’s essential that the SREs involved in any development effort continue working as SREs instead of becoming full-time developers embedded in the SRE organization. Immersion in the world of production gives SREs performing development work an invaluable perspective, as they are both the creator and the customer for any product.\n\nIf you like the idea of organized software development in SRE, you’re probably wondering how to introduce a software development model to an SRE organization focused on production support.\n\nFirst, recognize that this goal is as much an organizational change as it is a technical challenge. SREs are used to working closely with their teammates, quickly analyzing and reacting to problems. Therefore, you’re working against the natural instinct of an SRE to quickly write some code to meet their immediate needs. If your SRE team is small, this approach may not be problematic. However, as your organization grows, this ad hoc approach won’t scale, instead resulting in largely functional, yet narrow or single-purpose, software solutions that can’t be shared, which inevitably lead to duplicated efforts and wasted time.\n\nNext, think about what you want to achieve by developing software in SRE. Do you just want to foster better software development practices within your team, or are you interested in software development that produces results that can be used across teams, possibly as a standard for the organization? In larger established organizations, the latter change will take time, possibly spanning multiple years. Such a change needs to be tackled on multiple fronts, but has a higher payback. The following are some guidelines from Google’s experience:\n\nCreate and communicate a clear message\n\nIt’s important to define and communicate your strategy, plans, and—most importantly—the benefits SRE gains from this effort. SREs are a skeptical lot (in fact, skepticism is a trait for which we specifically hire); an SRE’s initial response to such an effort will likely be, \"that sounds like too much overhead\" or \"it will never work.\" Start by making a compelling case of how this strategy will help SRE; for example:\n\nConsistent and supported software solutions speed ramp-up for new SREs. Reducing the number of ways to perform the same task allows the entire department to benefit from the skills any single team has developed, thus making knowledge and effort portable across teams.\n\nWhen SREs start to ask questions about *how* your strategy will work, rather than *if* the strategy should be pursued, you know you’ve passed the first hurdle.\n\nEvaluate your organization’s capabilities\n\nSREs have many skills, but it’s relatively common for an SRE to lack experience as part of a team that built and shipped a product to a set of users. In order to develop useful software, you’re effectively creating a product team. That team includes required roles and skills that your SRE organization may not have formerly demanded. Will someone play the role of product manager, acting as the customer advocate? Does your tech lead or project manager have the skills and/or experience to run an agile development process?\n\nBegin filling these gaps by taking advantage of the skills already present in your company. Ask your product development team to help you establish agile practices via training or coaching. Solicit consulting time from a product manager to help you define product requirements and prioritize feature work. Given a large enough software-development opportunity, there may be a case to hire dedicated people for these roles. Making the case to hire for these roles is easier once you have some positive experiment results.\n\nLaunch and iterate\n\nAs you initiate an SRE software development program, your efforts will be followed by many watchful eyes. It’s important to establish credibility by delivering some product of value in a reasonable amount of time. Your first round of products should aim for relatively straightforward and achievable targets—ones without controversy or existing solutions. We also found success in pairing this approach with a six-month rhythm of product update releases that provided additional useful features. This release cycle allowed teams to focus on identifying the right set of features to build, and then building those features while simultaneously learning how to be a productive software development team. After the initial launch, some Google teams moved to a push-on-green model for even faster delivery and feedback.\n\nDon’t lower your standards\n\nAs you start to develop software, you may be tempted to cut corners. Resist this urge by holding yourself to the same standards to which your product development teams are held. For example:\n\nAsk yourself: if this product were created by a separate dev team, would you onboard the product? If your solution enjoys broad adoption, it may become critical to SREs in order to successfully perform their jobs. Therefore, reliability is of utmost importance. Do you have proper code review practices in place? Do you have end-to-end or integration testing? Have another SRE team review the product for production readiness as they would if onboarding any other service.\n\nIt takes a long time to build credibility for your software development efforts, but only a short time to lose credibility due to a misstep.\n\n# Conclusions\n\nSoftware engineering projects within Google SRE have flourished as the organization has grown, and in many cases the lessons learned from and successful execution of earlier software development projects have paved the way for subsequent endeavors. The unique hands-on production experience that SREs bring to developing tools can lead to innovative approaches to age-old problems, as seen with the development of Auxon to address the complex problem of capacity planning. SRE-driven software projects are also noticeably beneficial to the company in developing a sustainable model for supporting services at scale. Because SREs often develop software to streamline inefficient processes or automate common tasks, these projects mean that the SRE team doesn’t have to scale linearly with the size of the services they support. Ultimately, the benefits of having SREs devoting some of their time to software development are reaped by the company, the SRE organization, and the SREs themselves.", "znaku_textu": 45178, "slov": 7080, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:19", "sha256": "86c57e966626c2d1bd4e297bcb62c6c9d312a1408e327caea3da474e24bb4df0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/table-of-contents/", "titulek": "Google SRE - Site reliability engineering book Google index", "h1": "Table of Contents", "popis": "Go through the complete table of contents of sre Google book, outlined are the key topics and insights covered in this essential resource for SRE professionals.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/table-of-contents/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Table of Contents"}], "markdown": "# Table of Contents\n\n- [Foreword](/sre-book/foreword/)\n- [Preface](/sre-book/preface/)\n- [**Part I - Introduction**](/sre-book/part-I-introduction/)\n- [Chapter 1 - Introduction](/sre-book/introduction/)\n- [Chapter 2 - The Production Environment at Google, from the Viewpoint of an SRE](/sre-book/production-environment/)\n- [**Part II - Principles**](/sre-book/part-II-principles/)\n- [Chapter 3 - Embracing Risk](/sre-book/embracing-risk/)\n- [Chapter 4 - Service Level Objectives](/sre-book/service-level-objectives/)\n- [Chapter 5 - Eliminating Toil](/sre-book/eliminating-toil/)\n- [Chapter 6 - Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/)\n- [Chapter 7 - The Evolution of Automation at Google](/sre-book/automation-at-google/)\n- [Chapter 8 - Release Engineering](/sre-book/release-engineering/)\n- [Chapter 9 - Simplicity](/sre-book/simplicity/)\n- [**Part III - Practices**](/sre-book/part-III-practices/)\n- [Chapter 10 - Practical Alerting](/sre-book/practical-alerting/)\n- [Chapter 11 - Being On-Call](/sre-book/being-on-call/)\n- [Chapter 12 - Effective Troubleshooting](/sre-book/effective-troubleshooting/)\n- [Chapter 13 - Emergency Response](/sre-book/emergency-response/)\n- [Chapter 14 - Managing Incidents](/sre-book/managing-incidents/)\n- [Chapter 15 - Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)\n- [Chapter 16 - Tracking Outages](/sre-book/tracking-outages/)\n- [Chapter 17 - Testing for Reliability](/sre-book/testing-reliability/)\n- [Chapter 18 - Software Engineering in SRE](/sre-book/software-engineering-in-sre/)\n- [Chapter 19 - Load Balancing at the Frontend](/sre-book/load-balancing-frontend/)\n- [Chapter 20 - Load Balancing in the Datacenter](/sre-book/load-balancing-datacenter/)\n- [Chapter 21 - Handling Overload](/sre-book/handling-overload/)\n- [Chapter 22 - Addressing Cascading Failures](/sre-book/addressing-cascading-failures/)\n- [Chapter 23 - Managing Critical State: Distributed Consensus for Reliability](/sre-book/managing-critical-state/)\n- [Chapter 24 - Distributed Periodic Scheduling with Cron](/sre-book/distributed-periodic-scheduling/)\n- [Chapter 25 - Data Processing Pipelines](/sre-book/data-processing-pipelines/)\n- [Chapter 26 - Data Integrity: What You Read Is What You Wrote](/sre-book/data-integrity/)\n- [Chapter 27 - Reliable Product Launches at Scale](/sre-book/reliable-product-launches/)\n- [**Part IV - Management**](/sre-book/part-IV-management/)\n- [Chapter 28 - Accelerating SREs to On-Call and Beyond](/sre-book/accelerating-sre-on-call/)\n- [Chapter 29 - Dealing with Interrupts](/sre-book/dealing-with-interrupts/)\n- [Chapter 30 - Embedding an SRE to Recover from Operational Overload](/sre-book/operational-overload/)\n- [Chapter 31 - Communication and Collaboration in SRE](/sre-book/communication-and-collaboration/)\n- [Chapter 32 - The Evolving SRE Engagement Model](/sre-book/evolving-sre-engagement-model/)\n- [**Part V - Conclusions**](/sre-book/part-V-conclusions/)\n- [Chapter 33 - Lessons Learned from Other Industries](/sre-book/lessons-learned/)\n- [Chapter 34 - Conclusion](/sre-book/conclusion/)\n- [Appendix A - Availability Table](/sre-book/availability-table/)\n- [Appendix B - A Collection of Best Practices for Production Services](/sre-book/service-best-practices/)\n- [Appendix C - Example Incident State Document](/sre-book/incident-document/)\n- [Appendix D - Example Postmortem](/sre-book/example-postmortem/)\n- [Appendix E - Launch Coordination Checklist](/sre-book/launch-checklist/)\n- [Appendix F - Example Production Meeting Minutes](/sre-book/production-meeting/)\n- [Bibliography](/sre-book/bibliography/)", "znaku_textu": 3483, "slov": 383, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:00", "sha256": "340dc9874c17386f85eb636fa0f86bc21834eb745280bebb8177d07e71a22e90", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/testing-reliability/", "titulek": "Google SRE - Stress Testing: Build Confidence in System", "h1": "Testing for Reliability", "popis": "Stress testing helps SREs quantify confidence in the systems they maintain, enabling them to make informed decisions about releases and changes.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/testing-reliability/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/testing-reliability/"}, "headline": "Testing for Reliability", "description": "One key responsibility of Site Reliability Engineers is to quantify confidence in the systems they maintain. SREs perform this task by adapting classical software testing techniques to systems at scale.", "image": "https://lh3.googleusercontent.com/TK6IE07bQYqR2YkDFsfcIz-EcvQ4FbJoD_O0gxzGXJFHXZkrD6N66hLtANofjSkAdQbRtbY7PSAs0lfJKvfkjtFvojahQjUj4ahhEg", "author": [{"@type": "Person", "name": "Alex Perry"}, {"@type": "Person", "name": "Max Luebbe"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Testing for Reliability"}, {"uroven": 5, "text": "Relationships Between Testing and Mean Time to Repair"}, {"uroven": 2, "text": "Types of Software Testing"}, {"uroven": 2, "text": "Traditional Tests"}, {"uroven": 3, "text": "Unit tests"}, {"uroven": 3, "text": "Integration tests"}, {"uroven": 3, "text": "System tests"}, {"uroven": 2, "text": "Production Tests"}, {"uroven": 5, "text": "Rollouts Entangle Tests"}, {"uroven": 3, "text": "Configuration test"}, {"uroven": 3, "text": "Stress test"}, {"uroven": 3, "text": "Canary test"}, {"uroven": 1, "text": "Creating a Test and Build Environment"}, {"uroven": 1, "text": "Testing at Scale"}, {"uroven": 2, "text": "Testing Scalable Tools"}, {"uroven": 5, "text": "Barrier Defenses Against Risky Software"}, {"uroven": 2, "text": "Testing Disaster"}, {"uroven": 5, "text": "Using Statistical Tests"}, {"uroven": 2, "text": "The Need for Speed"}, {"uroven": 5, "text": "Testing Deadlines"}, {"uroven": 2, "text": "Pushing to Production"}, {"uroven": 2, "text": "Expect Testing Fail"}, {"uroven": 5, "text": "Break-Glass and Testing"}, {"uroven": 2, "text": "Integration"}, {"uroven": 2, "text": "Production Probes"}, {"uroven": 5, "text": "Fake Backend Versions"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Testing for Reliability\n\nWritten by Alex Perry and Max Luebbe\nEdited by Diane Bates\n\n> If you haven't tried it, assume it's broken.\n> \n> Unknown\n\nOne key responsibility of Site Reliability Engineers is to quantify confidence in the systems they maintain. SREs perform this task by adapting classical [software testing techniques](https://sre.google/sre-book/testing-reliability/) to systems at scale.86 Confidence can be measured both by past reliability and future reliability. The former is captured by analyzing data provided by monitoring historic system behavior, while the latter is quantified by making predictions from data about past system behavior. In order for these predictions to be strong enough to be useful, one of the following conditions must hold:\n\n- The site remains completely unchanged over time with no software releases or changes in the server fleet, which means that future behavior will be similar to past behavior.\n- You can confidently describe all changes to the site, in order for analysis to allow for the uncertainty incurred by each of these changes.\n\nTesting is the mechanism you use to demonstrate specific areas of equivalence when changes occur.87 Each test that passes both before and after a change reduces the uncertainty for which the analysis needs to allow. Thorough testing helps us predict the future reliability of a given site with enough detail to be practically useful.\n\nThe amount of testing you need to conduct depends on the reliability requirements for your system. As the percentage of your codebase covered by tests increases, you reduce uncertainty and the potential decrease in reliability from each change. Adequate testing coverage means that you can make more changes before reliability falls below an acceptable level. If you make too many changes too quickly, the predicted reliability approaches the acceptability limit. At this point, you may want to stop making changes while new monitoring data accumulates. The accumulating data supplements the tested coverage, which validates the reliability being asserted for revised execution paths. Assuming the served clients are randomly distributed [[Woo96]](/sre-book/bibliography#Woo96), sampling statistics can extrapolate from monitored metrics whether the aggregate behavior is making use of new paths. These statistics identify the areas that need better testing or other retrofitting.\n\n##### Relationships Between Testing and Mean Time to Repair\n\nPassing a test or a series of tests doesn’t necessarily prove reliability. However, tests that are failing generally prove the absence of reliability.\n\nA monitoring system can uncover bugs, but only as quickly as the reporting pipeline can react. The *Mean Time to Repair* (MTTR) measures how long it takes the operations team to fix the bug, either through a rollback or another action.\n\nIt’s possible for a testing system to identify a bug with zero MTTR. Zero MTTR occurs when a system-level test is applied to a subsystem, and that test detects the exact same problem that monitoring would detect. Such a test enables the push to be blocked so the bug never reaches production (though it still needs to be repaired in the source code). Repairing zero MTTR bugs by blocking a push is both quick and convenient. The more bugs you can find with zero MTTR, the higher the *Mean Time Between Failures* (MTBF) experienced by your users.\n\nAs MTBF increases in response to better testing, developers are encouraged to release features faster. Some of these features will, of course, have bugs. New bugs result in an opposite adjustment to release velocity as these bugs are found and fixed.\n\nAuthors writing about software testing largely agree on what coverage is needed. Most conflicts of opinion stem from conflicting terminology, differing emphasis on the impact of testing in each of the software lifecycle phases, or the particularities of the systems on which they’ve conducted testing. For a discussion about testing at Google in general, see [[Whi12]](/sre-book/bibliography#Whi12). The following sections specify how software testing–related terminology is used in this chapter.\n\n## Types of Software Testing\n\nSoftware tests broadly fall into two categories: traditional and production. Traditional tests are more common in software development to evaluate the correctness of software offline, during development. Production tests are performed on a live web service to evaluate whether a deployed software system is working correctly.\n\n## Traditional Tests\n\nAs shown in Figure 17-1, traditional software testing begins with unit tests. Testing of more complex functionality is layered atop unit tests.\n\nFigure 17-1. The hierarchy of traditional tests\n\n### Unit tests\n\nA *unit test* is the smallest and simplest form of software testing. These tests are employed to assess a separable unit of software, such as a class or function, for correctness independent of the larger software system that contains the unit. Unit tests are also employed as a form of specification to ensure that a function or module exactly performs the behavior required by the system. Unit tests are commonly used to introduce test-driven development concepts.\n\n### Integration tests\n\nSoftware components that pass individual unit tests are assembled into larger components. Engineers then run an *integration test* on an assembled component to verify that it functions correctly. Dependency injection, which is performed with tools such as Dagger,88 is an extremely powerful technique for creating mocks of complex dependencies so that an engineer can cleanly test a component. A common example of a dependency injection is to replace a stateful database with a lightweight mock that has precisely specified behavior.\n\n### System tests\n\nA *system test* is the largest scale test that engineers run for an undeployed system. All modules belonging to a specific component, such as a server that passed integration tests, are assembled into the system. Then the engineer tests the end-to-end functionality of the system. System tests come in many different flavors:\n\nSmoke tests\n\n*Smoke tests*, in which engineers test very simple but critical behavior, are among the simplest type of system tests. Smoke tests are also known as *sanity testing*, and serve to short-circuit additional and more expensive testing.\n\nPerformance tests\n\nOnce basic correctness is established via a smoke test, a common next step is to write another variant of a system test to ensure that the performance of the system stays acceptable over the duration of its lifecycle. Because response times for dependencies or resource requirements may change dramatically during the course of development, a system needs to be tested to make sure that it doesn’t become incrementally slower without anyone noticing (before it gets released to users). For example, a given program may evolve to need 32 GB of memory when it formerly only needed 8 GB, or a 10 ms response time might turn into 50 ms, and then into 100 ms. A performance test ensures that over time, a system doesn’t degrade or become too expensive.\n\nRegression tests\n\nAnother type of system test involves preventing bugs from sneaking back into the codebase. Regression tests can be analogized to a gallery of rogue bugs that historically caused the system to fail or produce incorrect results. By documenting these bugs as tests at the system or integration level, engineers refactoring the codebase can be sure that they don’t accidentally introduce bugs that they’ve already invested time and effort to eliminate.\n\nIt’s important to note that tests have a cost, both in terms of time and computational resources. At one extreme, unit tests are very cheap in both dimensions, as they can usually be completed in milliseconds on the resources available on a laptop. At the other end of the spectrum, bringing up a complete server with required dependencies (or mock equivalents) to run related tests can take significantly more time—from several minutes to multiple hours—and possibly require dedicated computing resources. Mindfulness of these costs is essential to developer productivity, and also encourages more efficient use of testing resources.\n\n## Production Tests\n\nProduction tests interact with a live production system, as opposed to a system in a hermetic testing environment. These tests are in many ways similar to black-box monitoring (see [Monitoring Distributed Systems](/sre-book/monitoring-distributed-systems/)), and are therefore sometimes called *black-box testing*. Production tests are essential to running a reliable production service.\n\n##### Rollouts Entangle Tests\n\nIt’s often said that testing is (or should be) performed in a hermetic environment [[Nar12]](/sre-book/bibliography#Nar12). This statement implies that production is not hermetic. Of course, production usually isn’t hermetic, because rollout cadences make live changes to the production environment in small and well-understood chunks.\n\nTo manage uncertainty and hide risk from users, changes might not be pushed live in the same order that they were added to source control. Rollouts often happen in stages, using mechanisms that gradually shuffle users around, in addition to monitoring at each stage to ensure that the new environment isn’t hitting anticipated yet unexpected problems. As a result, the entire production environment is intentionally not representative of any given version of a binary that’s checked into source control.\n\nIt’s possible for source control to have more than one version of a binary and its associated configuration file waiting to be made live. This scenario can cause problems when tests are conducted against the live environment. For example, the test might use the latest version of a configuration file located in source control along with an older version of the binary that’s live. Or it might test an older version of the configuration file and find a bug that’s been fixed in a newer version of the file.\n\nSimilarly, a system test can use the configuration files to assemble its modules before running the test. If the test passes, but its version is one in which the configuration test (discussed in the following section) fails, the result of the test is valid hermetically, but not operationally. Such an outcome is inconvenient.\n\n### Configuration test\n\nAt Google, web service configurations are described in files that are stored in our version control system. For each configuration file, a separate *configuration test* examines production to see how a particular binary is actually configured and reports discrepancies against that file. Such tests are inherently not hermetic, as they operate outside the test infrastructure sandbox.\n\nConfiguration tests are built and tested for a specific version of the checked-in configuration file. Comparing which version of the test is passing in relation to the goal version for automation implicitly indicates how far actual production currently lags behind ongoing engineering work.\n\nThese nonhermetic configuration tests tend to be especially valuable as part of a distributed monitoring solution since the pattern of passes/fails across production can identify paths through the service stack that don’t have sensible combinations of the local configurations. The monitoring solution’s rules try to match paths of actual user requests (from the trace logs) against that set of undesirable paths. Any matches found by the rules become alerts that ongoing releases and/or pushes are not proceeding safely and remedial action is needed.\n\nConfiguration tests can be very simple when the production deployment uses the actual file content and offers a real-time query to retrieve a copy of the content. In this case, the test code simply issues that query and diffs the response against the file. The tests become more complex when the configuration does one of the following:\n\n- Implicitly incorporates defaults that are built into the binary (meaning that the tests are separately versioned as a result)\n- Passes through a preprocessor such as bash into command-line flags (rendering the tests subject to expansion rules)\n- Specifies behavioral context for a shared runtime (making the tests depend on that runtime’s release schedule)\n\n### Stress test\n\nIn order to safely operate a system, SREs need to understand the limits of both the system and its components. In many cases, individual components don’t gracefully degrade beyond a certain point—instead, they catastrophically fail. Engineers use *stress tests* to find the limits on a web service. Stress tests answer questions such as:\n\n- How full can a database get before writes start to fail?\n- How many queries a second can be sent to an application server before it becomes overloaded, causing requests to fail?\n\n### Canary test\n\nThe *canary test* is conspicuously absent from this list of production tests. The term *canary* comes from the phrase \"canary in a coal mine,\" and refers to the practice of using a live bird to detect toxic gases before humans were poisoned.\n\nTo conduct a canary test, a subset of servers is upgraded to a new version or configuration and then left in an incubation period. Should no unexpected variances occur, the release continues and the rest of the servers are upgraded in a progressive fashion.89 Should anything go awry, the modified servers can be quickly reverted to a known good state. We commonly refer to the incubation period for the upgraded servers as \"baking the binary.\"\n\nA canary test isn’t really a test; rather, it’s structured user acceptance. Whereas configuration and stress tests confirm the existence of a specific condition over deterministic software, a canary test is more ad hoc. It only exposes the code under test to less predictable live production traffic, and thus, it isn’t perfect and doesn’t always catch newly introduced faults.\n\nTo provide a concrete example of how a canary might proceed: consider a given underlying fault that relatively rarely impacts user traffic and is being deployed with an upgrade rollout that is exponential. We expect a growing cumulative number of reported variances CU = RK where R is the rate of those reports, U is the order of the fault (defined later), and K is the period over which the traffic grows by a factor of e, or 172%.90\n\nIn order to avoid user impact, a rollout that triggers undesirable variances needs to be quickly rolled back to the prior configuration. In the short time it takes automation to observe the variances and respond, it is likely that several additional reports will be generated. Once the dust has settled, these reports can estimate both the cumulative number C and rate R.\n\nDividing and correcting for K gives an estimate of U, the order of the underlying fault.91 Some examples:\n\n- U=1: The user’s request encountered code that is simply broken.\n- U=2: This user’s request randomly damages data that a future user’s request may see.\n- U=3: The randomly damaged data is also a valid identifier to a previous request.\n\nMost bugs are of order one: they scale linearly with the amount of user traffic [[Per07]](/sre-book/bibliography#Per07). You can generally track down these bugs by converting logs of all requests with unusual responses into new regression tests. This strategy doesn’t work for higher-order bugs; a request that repeatedly fails if all the preceding requests are attempted in order will suddenly pass if some requests are omitted. It is important to catch these higher-order bugs during release, because otherwise, operational workload can increase very quickly.\n\nKeeping the dynamics of higher- versus lower-order bugs in mind, when you are using an exponential rollout strategy, it isn’t necessary to attempt to achieve fairness among fractions of user traffic. As long as each method for establishing a fraction uses the same K interval, the estimate of U will be valid even though you can’t yet determine which method was instrumental in illuminating the fault. Using many methods sequentially while permitting some overlap keeps the value of K small. This strategy minimizes the total number of user-visible variances C while still allowing an early estimate of U (hoping for 1, of course).\n\n# Creating a Test and Build Environment\n\nWhile it’s wonderful to think about these types of tests and failure scenarios on day one of a project, frequently SREs join a developer team when a project is already well underway—once the team’s project validates its research model, its library proves that the project’s underlying algorithm is scalable, or perhaps when all of the user interface mocks are finally acceptable. The team’s codebase is still a prototype and comprehensive testing hasn’t yet been designed or deployed. In such situations, where should your testing efforts begin? Conducting unit tests for every key function and class is a completely overwhelming prospect if the current test coverage is low or nonexistent. Instead, start with testing that delivers the most impact with the least effort.\n\nYou can start your approach by asking the following questions:\n\n- Can you prioritize the codebase in any way? To borrow a technique from feature development and project management, if every task is high priority, none of the tasks are high priority. Can you stack-rank the components of the system you’re testing by any measure of importance?\n- Are there particular functions or classes that are absolutely mission-critical or business-critical? For example, code that involves billing is a commonly business-critical. Billing code is also frequently cleanly separable from other parts of the system.\n- Which APIs are other teams integrating against? Even the kind of breakage that never makes it past release testing to a user can be extremely harmful if it confuses another developer team, causing them to write wrong (or even just suboptimal) clients for your API.\n\nShipping software that is obviously broken is among the most cardinal sins of a developer. It takes little effort to create a series of smoke tests to run for every release. This type of low-effort, high-impact first step can lead to highly tested, reliable software.\n\nOne way to establish a strong testing culture92 is to start documenting all reported bugs as test cases. If every bug is converted into a test, each test is supposed to initially fail because the bug hasn’t yet been fixed. As engineers fix the bugs, the software passes testing and you’re on the road to developing a comprehensive regression test suite.\n\nAnother key task for creating well-tested software is to set up a testing infrastructure. The foundation for a strong testing infrastructure is a versioned source control system that tracks every change to the codebase.\n\nOnce source control is in place, you can add a continuous build system that builds the software and runs tests every time code is submitted. We’ve found it optimal if the build system notifies engineers the moment a change breaks a software project. At the risk of sounding obvious, it’s essential that the latest version of a software project in source control is working completely. When the build system notifies engineers about broken code, they should drop all of their other tasks and prioritize fixing the problem. It is appropriate to treat defects this seriously for a few reasons:\n\n- It’s usually harder to fix what’s broken if there are changes to the codebase after the defect is introduced.\n- Broken software slows down the team because they must work around the breakage .\n- Release cadences, such as nightly and weekly builds, lose their value.\n- The ability of the team to respond to a request for an emergency release (for example, in response to a security vulnerability disclosure) becomes much more complex and difficult.\n\nThe concepts of stability and agility are traditionally in tension in the world of SRE. The last bullet point provides an interesting case where stability actually drives agility. When the build is predictably solid and reliable, developers can iterate faster!\n\nSome build systems like Bazel93 have valuable features that afford more precise control over testing. For example, Bazel creates dependency graphs for software projects. When a change is made to a file, Bazel only rebuilds the part of the software that depends on that file. Such systems provide reproducible builds. Instead of running all tests at every submit, tests only run for changed code. As a result, tests execute cheaper and faster.\n\nThere are a variety of tools to help you quantify and visualize the level of test coverage you need [[Cra10]](/sre-book/bibliography#Cra10). Use these tools to shape the focus of your testing: approach the prospect of creating highly tested code as an engineering project rather than a philosophical mental exercise. Instead of repeating the ambiguous refrain \"We need more tests,\" set explicit goals and deadlines.\n\nRemember that not all software is created equal. Life-critical or revenue-critical systems demand substantially higher levels of test quality and coverage than a non-production script with a short shelf life.\n\n# Testing at Scale\n\nNow that we’ve covered the fundamentals of testing, let’s examine how SRE takes a systems perspective to testing in order to drive reliability at scale.\n\nA small unit test might have a short list of dependencies: one source file, the testing library, the runtime libraries, the compiler, and the local hardware running the tests. A robust testing environment dictates that those dependencies each have their own test coverage, with tests that specifically address use cases that other parts of the environment expect. If the implementation of that unit test depends on a code path inside a runtime library that doesn’t have test coverage, an unrelated change in the environment94 can lead the unit test to consistently pass testing, regardless of faults in the code under test.\n\nIn contrast, a release test might depend on so many parts that it has a transitive dependency on every object in the code repository. If the test depends on a clean copy of the production environment, in principle, every small patch requires performing a full disaster recovery iteration. Practical testing environments try to select branch points among the versions and merges. Doing so resolves the maximum amount of dependent uncertainty for the minimum number of iterations. Of course, when an area of uncertainty resolves into a fault, you need to select additional branch points.\n\n## Testing Scalable Tools\n\nAs pieces of software, SRE tools also need testing.95 SRE-developed tools might perform tasks such as the following:\n\n- Retrieving and propagating database performance metrics\n- Predicting usage metrics to plan for capacity risks\n- Refactoring data within a service replica that isn’t user accessible\n- Changing files on a server\n\nSRE tools share two characteristics:\n\n- Their side effects remain within the tested mainstream API\n- They’re isolated from user-facing production by an existing validation and release barrier\n\n##### Barrier Defenses Against Risky Software\n\nSoftware that bypasses the usual heavily tested API (even if it does so for a good cause) could wreak havoc on a live service. For example, a database engine implementation might allow administrators to temporarily turn off transactions in order to shorten maintenance windows. If the implementation is used by batch update software, user-facing isolation may be lost if that utility is ever accidentally launched against a user-facing replica. Avoid this risk of havoc with design:\n\n1. Use a separate tool to place a barrier in the replication configuration so that the replica cannot pass its health check. As a result, the replica isn’t released to users.\n2. Configure the risky software to check for the barrier upon startup. Allow the risky software to only access unhealthy replicas.\n3. Use the replica health validating tool you use for black-box monitoring to remove the barrier.\n\nAutomation tools are also software. Because their risk footprint appears out-of-band for a different layer of the service, their testing needs are more subtle. Automation tools perform tasks like the following:\n\n- Database index selection\n- Load balancing between datacenters\n- Shuffling relay logs for fast remastering\n\nAutomation tools share two characteristics:\n\n- The actual operation performed is against a robust, predictable, and well-tested API\n- The purpose of the operation is the side effect that is an invisible discontinuity to another API client\n\nTesting can demonstrate the desired behavior of the other service layer, both before and after the change. It’s often possible to test whether internal state, as seen through the API, is constant across the operation. For example, databases pursue correct answers, even if a suitable index isn’t available for the query. On the other hand, some documented API invariants (such as a DNS cache holding until the TTL) may not hold across the operation. For example, if a runlevel change replaces a local nameserver with a caching proxy, both choices can promise to retain completed lookups for many seconds. It’s unlikely that the cache state is handed over from one to the other.\n\nGiven that automation tools imply additional release tests for other binaries to handle environmental transients, how do you define the environment in which those automation tools run? After all, the automation for shuffling containers to improve usage is likely to try to shuffle itself at some point if it also runs in a container. It would be embarrassing if a new release of its internal algorithm yielded dirty memory pages so quickly that the network bandwidth of the associated mirroring ended up preventing the code from finalizing the live migration. Even if there’s an integration test for which the binary intentionally shuffles itself around, the test likely doesn’t use a production-sized model of the container fleet. It almost certainly isn’t allowed to use scarce high-latency intercontinental bandwidth for testing such races.\n\nEven more amusingly, one automation tool might be changing the environment in which another automation tool runs. Or both tools might be changing the environment of the other automation tool simultaneously! For example, a fleet upgrading tool likely consumes the most resources when it’s pushing upgrades. As a result, the container rebalancing would be tempted to move the tool. In turn, the container rebalancing tool occasionally needs upgrading. This circular dependency is fine if the associated APIs have restart semantics, someone remembered to implement test coverage for those semantics, and checkpoint health is assured independently.\n\n## Testing Disaster\n\nMany disaster recovery tools can be carefully designed to operate *offline*. Such tools do the following:\n\n- Compute a *checkpoint* state that is equivalent to cleanly stopping the service\n- Push the checkpoint state to be *loadable* by existing nondisaster validation tools\n- Support the usual release *barrier* tools, which trigger the *clean start* procedure\n\nIn many cases, you can implement these phases so that the associated tests are easy to write and offer excellent coverage. If any of the constraints (offline, checkpoint, loadable, barrier, or clean start) must be broken, it’s much harder to show confidence that the associated tool implementation will work at any time on short notice.\n\nOnline repair tools inherently operate outside the mainstream API and therefore become more interesting to test. One challenge you face in a distributed system is determining if normal behavior, which may be eventually consistent by nature, will interact badly with the repair. For example, consider a race condition that you can attempt to analyze using the offline tools. An offline tool is generally written to expect instant consistency, as opposed to eventual consistency, because instant consistency is less challenging to test. This situation becomes complicated because the repair binary is generally built separately from the serving production binary that it’s racing against. Consequently, you might need to build a unified instrumented binary to run within these tests so that the tools can observe transactions.\n\n##### Using Statistical Tests\n\nStatistical techniques, such as Lemon [[Ana07]](/sre-book/bibliography#Ana07) for fuzzing, and Chaos Monkey96 and Jepsen97 for distributed state, aren’t necessarily repeatable tests. Simply rerunning such tests after a code change doesn’t definitively prove that the observed fault is fixed.98 However, these techniques can be useful:\n\n- They can provide a log of all the randomly selected actions that are taken in a given run—sometimes simply by logging the random number generator seed.\n- If this log is immediately refactored as a release test, running it a few times before starting on the bug report is often helpful. The rate of nonfailure on replay tells you how hard it will be to later assert that the fault is fixed.\n- Variations in how the fault is expressed help you pinpoint suspicious areas in the code.\n- Some of those later runs may demonstrate failure situations that are more severe than those in the original run. In response, you may want to escalate the bug’s severity and impact.\n\n## The Need for Speed\n\nFor every version (patch) in the code repository, every defined test provides a pass or fail indication. That indication may change for repeated and seemingly identical runs. You can estimate the actual likelihood of a test passing or failing by averaging over those many runs and computing the statistical uncertainty of that likelihood. However, performing this calculation for every test at every version point is computationally infeasible.\n\nInstead, you must form hypotheses about the many scenarios of interest and run the appropriate number of repeats of each test and version to allow a reasonable inference. Some of these scenarios are benign (in a code quality sense), while others are actionable. These scenarios affect all the test attempts to varying extents and, because they are coupled, reliably and quickly obtaining a list of actionable hypotheses (i.e., components that are actually broken) means estimating all scenarios at the same time.\n\nEngineers who use the testing infrastructure want to know if their code—usually a tiny fraction of all the source behind a given test run—is broken. Often, not being broken implies that any observed failures can be blamed on someone else’s code. In other words, the engineer wants to know if their code has an unanticipated race condition that makes the test flaky (or more flaky than the test already was due to other factors).\n\n##### Testing Deadlines\n\nMost tests are simple, in the sense that they run as a self-contained hermetic binary that fits in a small compute container for a few seconds. These tests give engineers interactive feedback about mistakes before the engineer switches context to the next bug or task.\n\nTests that require orchestration across many binaries and/or across a fleet that has many containers tend to have startup times measured in seconds. Such tests are usually unable to offer interactive feedback, so they can be classified as batch tests. Instead of saying \"don’t close the editor tab\" to the engineer, these test failures are saying \"this code is not ready for review\" to the code reviewer.\n\nThe informal deadline for the test is the point at which the engineer makes the next context switch. Test results are best given to the engineer before he or she switches context, because otherwise the next context may involve XKCD compiling.99\n\nSuppose an engineer is working on a service with over 21,000 simple tests and occasionally proposes a patch against the service’s codebase. To test the patch, you want to compare the vector of pass/fail results from the codebase before the patch with the vector of results from the codebase after the patch. A favorable comparison of those two vectors provisionally qualifies the codebase as releasable. This qualification creates an incentive to run the many release and integration tests, as well as other distributed binary tests that examine scaling of the system (in case the patch uses significantly more local compute resources) and complexity (in case the patch creates a superlinear workload elsewhere).\n\nAt what rate can you incorrectly flag a user’s patch as damaging by miscalculating environmental flakiness? It seems likely that users would vehemently complain if 1 in 10 patches is rejected. But a rejection of 1 patch among 100 perfect patches might go without comment.\n\nThis means you’re interested in the 42,000th root (one for each defined test before the patch, and one for each defined test after the patch) of 0.99 (the fraction of patches that are accepted). This calculation:\n\nsuggests that those individual tests must run correctly over 99.9999% of the time. Hmm.\n\n## Pushing to Production\n\nWhile production configuration management is commonly kept in a source control repository, configuration is often separate from the developer source code. Similarly, the software testing infrastructure often can’t see production configuration. Even if the two are located in the same repository, changes for configuration management are made in branches and/or a segregated directory tree that test automation has historically ignored.\n\nIn a legacy corporate environment where software engineers develop binaries and throw them over the wall to the administrators who update the servers, segregation of testing infrastructure and production configuration is at best annoying, and at worst can damage reliability and agility. Such segregation might also lead to tool duplication. In a nominally integrated Ops environment, this segregation degrades resiliency because it creates subtle inconsistencies between the behavior for the two sets of tools. This segregation also limits project velocity because of commit races between the versioning systems.\n\nIn the SRE model, the impact of segregating testing infrastructure from production configuration is appreciably worse, as it prevents relating the model describing production to the model describing the application behavior. This discrepancy impacts engineers who want to find statistical inconsistencies in expectations at development time. However, this segregation doesn’t slow down development so much as prevent the system architecture from changing, because there is no way to eliminate migration risk.\n\nConsider a scenario of unified versioning and unified testing, so that the SRE methodology is applicable. What impact would the failure of a distributed architecture migration have? A fair amount of testing will probably occur. So far, it’s assumed that a software engineer would likely accept the test system giving the wrong answer 1 time in 10 or so. What risk are you willing to take with the migration if you know that testing may return a false negative and the situation could become really exciting, really quickly? Clearly, some areas of test coverage need a higher level of paranoia than others. This distinction can be generalized: some test failures are indicative of a larger impact risk than other test failures.\n\n## Expect Testing Fail\n\nNot too long ago, a software product might have released once per year. Its binaries were generated by a compiler toolchain over many hours or days, and most of the testing was performed by humans against manually written instructions. This release process was inefficient, but there was little need to automate it. The release effort was dominated by documentation, data migration, user retraining, and other factors. Mean Time Between Failure (MTBF) for those releases was one year, no matter how much testing took place. So many changes happened per release that some user-visible breakage was bound to be hiding in the software. Effectively, the reliability data from the previous release was irrelevant for the next release.\n\nEffective API/ABI management tools and interpreted languages that scale to large amounts of code now support building and executing a new software version every few minutes. In principle, a sufficiently large army of humans100 could complete testing on each new version using the methods described earlier and achieve the same quality bar for each incremental version. Even though ultimately only the same tests are applied to the same code, that final software version has higher quality in the resulting release that ships annually. This is because in addition to the annual versions, the intermediate versions of the code are also being tested. Using intermediates, you can unambiguously map problems found during testing back to their underlying causes and be confident that the whole issue, and not just the limited symptom that was exposed, is fixed. This principle of a shorter feedback cycle is equally effective when applied to automated test coverage.\n\nIf you let users try more versions of the software during the year, the MTBF suffers because there are more opportunities for user-visible breakage. However, you can also discover areas that would benefit from additional test coverage. If these tests are implemented, each improvement protects against some future failure. Careful reliability management combines the limits on uncertainty due to test coverage with the limits on user-visible faults in order to adjust the release cadence. This combination maximizes the knowledge that you gain from operations and end users. These gains drive test coverage and, in turn, product release velocity.\n\nIf an SRE modifies a configuration file or adjusts an automation tool’s strategy (as opposed to implementing a user feature), the engineering work matches the same conceptual model. When you are defining a release cadence based on reliability, it often makes sense to segment the reliability budget by functionality, or (more conveniently) by team. In such a scenario, the feature engineering team aims to achieve a given uncertainty limit that affects their goal release cadence. The SRE team has a separate budget with its own associated uncertainty, and thus an upper limit on their release rate.\n\nIn order to remain reliable and to avoid scaling the number of SREs supporting a service linearly, the production environment has to run mostly unattended. To remain unattended, the environment must be resilient against minor faults. When a major event that demands manual SRE intervention occurs, the tools used by SRE must be suitably tested. Otherwise, that intervention decreases confidence that historical data is applicable to the near future. The reduction in confidence requires waiting for an analysis of monitoring data in order to eliminate the uncertainty incurred. Whereas the previous discussion in Testing Scalable Tools focused on how to meet the opportunity of test coverage for an SRE tool, here you see that testing determines how often it is appropriate to use that tool against production.\n\nConfiguration files generally exist because changing the configuration is faster than rebuilding a tool. This low latency is often a factor in keeping MTTR low. However, these same files are also changed frequently for reasons that don’t need that reduced latency. When viewed from the point of view of reliability:\n\n- A configuration file that exists to keep MTTR low, and is only modified when there’s a failure, has a release cadence slower than the MTBF. There can be a fair amount of uncertainty as to whether a given manual edit is actually truly optimal without the edit impacting the overall site reliability.\n- A configuration file that changes more than once per user-facing application release (for example, because it holds release state) can be a major risk if these changes are not treated the same as application releases. If testing and monitoring coverage of that configuration file is not considerably better than that of the user application, that file will dominate site reliability in a negative way.\n\nOne method of handling configuration files is to make sure that every configuration file is categorized under only one of the options in the preceding bulleted list, and to somehow enforce that rule. Should you take the latter strategy, make sure of the following:\n\n- Each configuration file has enough test coverage to support regular routine editing .\n- Before releases, file edits are somewhat delayed while waiting for release testing.\n- Provide a break-glass mechanism to push the file live before completing the testing. Since breaking the glass impairs reliability, it’s generally a good idea to make the break noisy by (for example) filing a bug requesting a more robust resolution for next time.\n\n##### Break-Glass and Testing\n\nYou can implement a break-glass mechanism to disable release testing. Doing so means that whoever makes a hurried manual edit isn’t told about any mistakes until the real user impact is reported by monitoring. It’s better to leave the tests running, associate the early push event with the pending testing event, and (as soon as possible) back-annotate the push with any broken tests. This way, a flawed manual push can be quickly followed by another (hopefully less flawed) manual push. Ideally, that break-glass mechanism automatically boosts the priority of those release tests so that they can preempt the routine incremental validation and coverage workload that the test infrastructure is already processing.\n\n## Integration\n\nIn addition to unit testing a configuration file to mitigate its risk to reliability, it’s also important to consider integration testing configuration files. The contents of the configuration file are (for testing purposes) potentially hostile content to the interpreter reading the configuration. Interpreted languages such as Python are commonly used for configuration files because their interpreters can be embedded, and some simple sandboxing is available to protect against nonmalicious coding errors.\n\nWriting your configuration files in an interpreted language is risky, as this approach is fraught with latent failures that are hard to definitively address. Because loading content actually consists of executing a program, there’s no inherent upper limit on how inefficient loading can be. In addition to any other testing, you should pair this type of integration testing with careful deadline checking on all integration test methods in order to label tests that do not run to completion in a reasonable amount of time as failed.\n\nIf the configuration is instead written as text in a custom syntax, every category of test needs separate coverage from scratch. Using an existing syntax such as YAML in combination with a heavily tested parser like Python’s `safe_load` removes some of the toil incurred by the configuration file. Careful choice of syntax and parser can ensure there’s a hard upper limit on how long the loading operation can take. However, the implementer needs to address schema faults, and most simple strategies for doing so don’t have an upper bound on runtime. Even worse, these strategies tend not to be robustly unit tested.\n\nThe benefit of using protocol buffers101 is that the schema is defined in advance and automatically checked at load time, removing even more of the toil, yet still offering the bounded runtime.\n\nThe role of SRE generally includes writing systems engineering tools102 (if no one else is already writing them) and adding robust validation with test coverage. All tools can behave unexpectedly due to bugs not caught by testing, so defense in depth is advisable. When one tool behaves unexpectedly, engineers need to be as confident as possible that most of their other tools are working correctly and can therefore mitigate or resolve the side effects of that misbehavior. A key element of delivering site reliability is finding each anticipated form of misbehavior and making sure that some test (or another tool’s tested input validator) reports that misbehavior. The tool that finds the problem might not be able to fix or even stop it, but should at least report the problem before a catastrophic outage occurs.\n\nFor example, consider the configured list of all users (such as */etc/passwd* on a non-networked Unix-style machine) and imagine an edit that unintentionally causes the parser to stop after parsing only half of the file. Because recently created users haven’t loaded, the machine will most likely continue to run without problem, and many users may not notice the fault. The tool that maintains home directories can easily notice the mismatch between the actual directories present and those implied by the (partial) user list and urgently report the discrepancy. This tool’s value lies in reporting the problem, and it should avoid attempting to remediate on its own (by deleting lots of user data).\n\n## Production Probes\n\nGiven that testing specifies acceptable behavior in the face of known data, while monitoring confirms acceptable behavior in the face of unknown user data, it would seem that major sources of risk—both the known and the unknown—are covered by the combination of testing and monitoring. Unfortunately, actual risk is more complicated.\n\nKnown good requests should work, while known bad requests should error. Implementing both kinds of coverage as an integration test is generally a good idea. You can replay the same bank of test requests as a release test. Splitting the known good requests into those that can be replayed against production and those that can’t yields three sets of requests:\n\n- Known bad requests\n- Known good requests that can be replayed against production\n- Known good requests that can’t be replayed against production\n\nYou can use each set as both integration and release tests. Most of these tests can also be used as monitoring probes.\n\nIt would seem to be superfluous and, in principle, pointless to deploy such monitoring because these exact same requests have already been tried two other ways. However, those two ways were different for a few reasons:\n\n- The release test probably wrapped the integrated server with a frontend and a fake backend.\n- The probe test probably wrapped the release binary with a load balancing frontend and a separate scalable persistent backend.\n- Frontends and backends probably have independent release cycles. It’s likely that the schedules for those cycles occur at different rates (due to their adaptive release cadences).\n\nTherefore, the monitoring probe running in production is a configuration that wasn’t previously tested.\n\nThose probes should never fail, but what does it mean if they do fail? Either the frontend API (from the load balancer) or the backend API (to the persistent store) is not equivalent between the production and release environments. Unless you already know why the production and release environments aren’t equivalent, the site is likely broken.\n\nThe same production updater that gradually replaces the application also gradually replaces the probes so that all four combinations of old-or-new probes sending requests to old-or-new applications are being continuously generated. That updater can detect when one of the four combinations is generating errors and roll back to the last known good state. Usually, the updater expects each newly started application instance to be unhealthy for a short time as it prepares to start receiving lots of user traffic. If the probes are already inspected as part of the readiness check, the update safely fails indefinitely, and no user traffic is ever routed to the new version. The update remains paused until engineers have time and inclination to diagnose the fault condition and then encourage the production updater to cleanly roll back.\n\nThis production test by probe does indeed offer protection to the site, plus clear feedback to the engineers. The earlier that feedback is given to engineers, the more useful it is. It’s also preferable that the test is automated so that the delivery of warnings to engineers is scalable.\n\nAssume that each component has the older software version that’s being replaced and the newer version that’s rolling out (now or very soon). The newer version might be talking to the old version’s peer, which forces it to use the deprecated API. Or the older version might be talking to a peer’s newer version, using the API which (at the time the older version was released) didn’t work properly yet. But it works now, honest! You’d better hope those tests for future compatibility (which are running as monitoring probes) had good API coverage.\n\n##### Fake Backend Versions\n\nWhen implementing release tests, the fake backend is often maintained by the peer service’s engineering team and merely referenced as a build dependency. The hermetic test that is executed by the testing infrastructure always combines the fake backend and the test frontend at the same build point in the revision control history.\n\nThat build dependency may be providing a runnable hermetic binary and, ideally, the engineering team maintaining it cuts a release of that fake backend binary at the same time they cut their main backend application and their probes. If that backend release is available, it might be worthwhile to include hermetic frontend release tests (without the fake backend binary) in the frontend release package.\n\nYour monitoring should be aware of all release versions on both sides of a given service interface between two peers. This setup ensures that retrieving every combination of the two releases and determining whether the test still passes doesn’t take much extra configuration. This monitoring doesn’t have to happen continuously—you only need to run new combinations that are the result of either team cutting a new release. Such problems don’t have to block that new release itself.\n\nOn the other hand, rollout automation should ideally block the associated production rollout until the problematic combinations are no longer possible. Similarly, the peer team’s automation may consider draining (and upgrading) the replicas that haven’t yet moved from a problematic combination.\n\n# Conclusion\n\nTesting is one of the most profitable investments engineers can make to improve the reliability of their product. Testing isn’t an activity that happens once or twice in the lifecycle of a project; it’s continuous. The amount of effort required to write good tests is substantial, as is the effort to build and maintain infrastructure that promotes a strong testing culture. You can’t fix a problem until you understand it, and in engineering, you can only understand a problem by measuring it. The methodologies and techniques in this chapter provide a solid foundation for measuring faults and uncertainty in a software system, and help engineers reason about the reliability of software as it’s written and released to users.\n\n86This chapter explains how to maximize the value derived from investing engineering effort into testing. Once an engineer defines suitable tests (for a given system) in a generalized way, the remaining work is common across all SRE teams and thus may be considered shared infrastructure. That infrastructure consists of a scheduler (to share budgeted resources across otherwise unrelated projects) and executors (that sandbox test binaries to prevent them from being considered trusted). These two infrastructure components can each be considered an ordinary SRE-supported service (much like cluster scale storage), and therefore won’t be discussed further here.\n\n87For further reading on equivalence, see [*https://stackoverflow.com/questions/1909280/equivalence-class-testing-vs-boundary-value-testing*](https://stackoverflow.com/questions/1909280/equivalence-class-testing-vs-boundary-value-testing).\n\n88See [*https://dagger.dev/*](https://dagger.dev/).\n\n89A standard rule of thumb is to start by having the release impact 0.1% of user traffic, and then scaling by orders of magnitude every 24 hours while varying the geographic location of servers being upgraded (then on day 2: 1%, day 3: 10%, day 4: 100%).\n\n90For instance, assuming a 24 hour interval of continuous exponential growth between 1% and 10%, seconds, or about 10 hours and 25 minutes.\n\n91We’re using order here in the sense of “big O notation” order of complexity. For more context, see [*https://en.wikipedia.org/wiki/Big_O_notation*](https://en.wikipedia.org/wiki/Big_O_notation).\n\n92For more on this topic, we highly recommend [[Bla14]](/sre-book/bibliography#Bla14) by our former coworker and ex-Googler, Mike Bland.\n\n93See [*https://github.com/google/bazel*](https://github.com/google/bazel).\n\n94For example, code under test that wraps a nontrivial API to provide a simpler and backward-compatible abstraction. The API that used to be synchronous instead returns a future. Calling argument errors still deliver an exception, but not until the future is evaluated. The code under test passes the API result directly back to the caller. Many cases of argument misuse may not be caught.\n\n95This section talks specifically about tools used by SRE that need to be scalable. However, SRE also develops and uses tools that don’t necessarily need to be scalable. The tools that don’t need to be scalable also need to be tested, but these tools are out of scope for this section, and therefore won’t be discussed here. Because their risk footprint is similar to user-facing applications, similar testing strategies are applicable on such SRE-developed tools.\n\n96See [*https://github.com/Netflix/SimianArmy/wiki/Chaos-Monkey*](https://github.com/Netflix/SimianArmy/wiki/Chaos-Monkey).\n\n97See [*https://github.com/aphyr/jepsen*](https://github.com/aphyr/jepsen).\n\n98Even if the test run is repeated with the same random seed so that the task kills are in the same order, there is no serialization between the kills and the fake user traffic. Therefore, there’s no guarantee that the actual previously observed code path will now be exercised again.\n\n99See [*https://xkcd.com/303/*](https://xkcd.com/303/).\n\n100Perhaps acquired through *Mechanical Turk* or similar services.\n\n101See [*https://github.com/google/protobuf*](https://github.com/google/protobuf).\n\n102Not because software engineers shouldn’t write them. Tools that cross between technology verticals and span abstraction layers tend to have weak associations with many software teams and a slightly stronger association with systems teams.", "znaku_textu": 54246, "slov": 8537, "odkazu": 103, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:21", "sha256": "77af60da090da38fb5c24258655ad8f37528334570b38f3ca0ab6d4a84d79332", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://stackoverflow.com/questions/1909280/equivalence-class-testing-vs-boundary-value-testing", "https://dagger.dev/", "https://en.wikipedia.org/wiki/Big_O_notation", "https://github.com/google/bazel", "https://github.com/Netflix/SimianArmy/wiki/Chaos-Monkey", "https://github.com/aphyr/jepsen", "https://xkcd.com/303/", "https://github.com/google/protobuf", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/sre-book/tracking-outages/", "titulek": "Google SRE - Outage Monitoring with Outalator: Boost Safety", "h1": "Tracking Outages", "popis": "Track, analyze, and learn from outage with Outalator. Group alerts, annotate incidents, and enhance service management for better reliability over time.", "klicova_slova": "", "kanonicka": "https://sre.google/sre-book/tracking-outages/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/sre-book/tracking-outages/"}, "headline": "Tracking Outages", "description": "Improving reliability over time is only possible if you start from a known baseline and can track progress. 'Outalator', our outage tracker, is one of the tools we use to do just that. Outalator is a system that passively receives all alerts sent by our monitoring systems and allows us to annotate, group, and analyze this data.", "image": "https://lh3.googleusercontent.com/tqkGuMSHVriPcsdFuQe35AUW-1YT8P-lLithSrANq0LGq-leX5xYs_0eUpuiOTjuBl9D1V2dmh1rESvdyYWF3UeUN4NjAn8sFjxIAro", "author": [{"@type": "Person", "name": "Gabe Krabbe"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Tracking Outages"}, {"uroven": 2, "text": "Escalator"}, {"uroven": 1, "text": "Outalator"}, {"uroven": 2, "text": "Aggregation"}, {"uroven": 2, "text": "Tagging"}, {"uroven": 2, "text": "Analysis"}, {"uroven": 3, "text": "Reporting and communication"}, {"uroven": 2, "text": "Unexpected Benefits"}], "markdown": "# Tracking Outages\n\nWritten by Gabe Krabbe \n\n Edited by Lisa Carey\n\nImproving reliability over time is only possible if you start from a known baseline and can track progress. \"Outalator,\" our outage tracker, is one of the tools we use to do just that. Outalator is a system that passively receives all alerts sent by our monitoring systems and allows us to annotate, group, and analyze this data.\n\nSystematically learning from past problems is essential to effective service management. Postmortems (see [Postmortem Culture: Learning from Failure](/sre-book/postmortem-culture/)) provide detailed information for individual outages, but they are only part of the answer. They are only written for incidents with a large impact, so issues that have individually small impact but are frequent and widespread don’t fall within their scope. Similarly, postmortems tend to provide useful insights for improving a single service or set of services, but may miss opportunities that would have a small effect in individual cases, or opportunities that have a poor cost/benefit ratio, but that would have large horizontal impact.84\n\nWe can also get useful information from questions such as, \"How many alerts per on-call shift does this team get?\", \"What’s the ratio of actionable/nonactionable alerts over the last quarter?\", or even simply \"Which of the services this team manages creates the most toil?\"\n\n## Escalator\n\nAt Google, all alert notifications for SRE share a central replicated system that tracks whether a human has acknowledged receipt of the notification. If no acknowledgment is received after a configured interval, the system escalates to the next configured destination(s)—e.g., from primary on-call to secondary. This system, called \"The Escalator,\" was initially designed as a largely transparent tool that received copies of emails sent to on-call aliases. This functionality allowed Escalator to easily integrate with existing workflows without requiring any change in user behavior (or, at the time, monitoring system behavior).\n\n# Outalator\n\nFollowing Escalator’s example, where we added useful features to existing infrastructure, we created a system that would deal not just with the individual escalating notifications, but with the next layer of abstraction: outages.\n\nOutalator lets users view a time-interleaved list of notifications for multiple queues at once, instead of requiring a user to switch between queues manually. Figure 16-1 shows multiple queues as they appear in Outalator’s queue view. This functionality is handy because frequently a single SRE team is the primary point of contact for services with distinct secondary escalation targets, usually the developer teams.\n\nFigure 16-1. Outalator queue view\n\nOutalator stores a copy of the original notification and allows annotating incidents. For convenience, it silently receives and saves a copy of any email replies as well. Because some follow-ups are less helpful than others (for example, a reply-all sent with the sole purpose of adding more recipients to the cc list), annotations can be marked as \"important.\" If an annotation is important, other parts of the message are collapsed into the interface to cut down on clutter. Together, this provides more context when referring to an incident than a possibly fragmented email thread.\n\nMultiple escalating notifications (\"alerts\") can be combined into a single entity (\"incident\") in the Outalator. These notifications may be related to the same single incident, may be otherwise unrelated and uninteresting auditable events such as privileged database access, or may be spurious monitoring failures. This grouping functionality, shown in Figure 16-2, unclutters the overview displays and allows for separate analysis of \"incidents per day\" versus \"alerts per day.\"\n\nFigure 16-2. Outalator view of an incident\n\n## Aggregation\n\nA single event may, and often will, trigger multiple alerts. For example, network failures cause timeouts and unreachable backend services for everyone, so all affected teams receive their own alerts, including the owners of backend services; meanwhile, the network operations center will have its own klaxons ringing. However, even smaller issues affecting a single service may trigger multiple alerts due to multiple error conditions being diagnosed. While it is worthwhile to attempt to minimize the number of alerts triggered by a single event, triggering multiple alerts is unavoidable in most trade-off calculations between false positives and false negatives.\n\nThe ability to group multiple alerts together into a single *incident* is critical in dealing with this duplication. Sending an email saying \"this is the same thing as that other thing; they are symptoms of the same incident\" works for a given alert: it can prevent duplication of debugging or panic. But sending an email for each alert is not a practical or scalable solution for handling duplicate alerts within a team, let alone between teams or over longer periods of time.\n\n## Tagging\n\nOf course, not every alerting event is an incident. False-positive alerts occur, as well as test events or mistargeted emails from humans. The Outalator itself does not distinguish between these events, but it allows general-purpose *tagging* to add metadata to notifications, at any level. Tags are mostly free-form, single \"words.\" Colons, however, are interpreted as semantic separators, which subtly promotes the use of hierarchical namespaces and allows some automatic treatment. This namespacing is supported by suggested tag prefixes, primarily \"cause\" and \"action,\" but the list is team-specific and generated based on historical usage. For example, \"cause:network\" might be sufficient information for some teams, whereas another team might opt for more specific tags, such as \"cause:network:switch\" versus \"cause:network:cable.\" Some teams may frequently use \"customer:132456”-style tags, so \"customer\" would be suggested for those teams, but not for others.\n\nTags can be parsed and turned into a convenient link (\"bug:76543\" links to the bug tracking system). Other tags are just a single word (\"bogus\" is widely used for false positives). Of course, some tags are typos (\"cause:netwrok\") and some tags aren’t particularly helpful (\"problem-went-away\"), but avoiding a predetermined list and allowing teams to find their own preferences and standards will result in a more useful tool and better data. Overall, tags have been a remarkably powerful tool for teams to obtain and provide an overview of a given service’s pain points, even without much, or even any, formal analysis. As trivial as tagging appears, it is probably one of the Outalator’s most useful unique features.\n\n## Analysis\n\nOf course, SRE does much more than just react to incidents. Historical data is useful when one is responding to an incident—the question \"what did we do last time?\" is always a good starting point. But historical information is far more useful when it concerns systemic, periodic, or other wider problems that may exist. Enabling such analysis is one of the most important functions of an outage tracking tool.\n\nThe bottom layer of analysis encompasses counting and basic aggregate statistics for reporting. The details depend on the team, but include information such as incidents per week/month/quarter and alerts per incident. The next layer is more important, and easy to provide: comparison between teams/services and over time to identify first patterns and trends. This layer allows teams to determine whether a given alert load is \"normal\" relative to their own track record and that of other services. \"That’s the third time this week\" can be good or bad, but knowing whether \"it\" used to happen five times per day or five times per month allows interpretation.\n\nThe next step in data analysis is finding wider issues, which are not just raw counts but require some semantic analysis. For example, identifying the infrastructure component causing most incidents, and therefore the potential benefit from increasing the stability or performance of this component,85 assumes that there is a straightforward way to provide this information alongside the incident records. As a simple example: different teams have service-specific alert conditions such as \"stale data\" or \"high latency.\" Both conditions may be caused by network congestion leading to database replication delays and need intervention. Or, they could be within the nominal service level objective, but are failing to meet the higher expectations of users. Examining this information across multiple teams allows us to identify systemic problems and choose the correct solution, especially if the solution may be the introduction of more artificial failures to stop over-performing.\n\n### Reporting and communication\n\nOf more immediate use to frontline SREs is the ability to select zero or more outalations and include their subjects, tags, and \"important\" annotations in an email to the next on-call engineer (and an arbitrary cc list) in order to pass on recent state between shifts. For periodic reviews of the production services (which occur weekly for most teams), the Outalator also supports a \"report mode,\" in which the important annotations are expanded inline with the main list in order to provide a quick overview of lowlights.\n\n## Unexpected Benefits\n\nBeing able to identify that an alert, or a flood of alerts, coincides with a given other outage has obvious benefits: it increases the speed of diagnosis and reduces load on other teams by acknowledging that there is indeed an incident. There are additional nonobvious benefits. To use Bigtable as an example, if a service has a disruption due to an apparent Bigtable incident, but you can see that the Bigtable SRE team has not been alerted, manually alerting the team is probably a good idea. Improved cross-team visibility can and does make a big difference in incident resolution, or at least in incident mitigation.\n\nSome teams across the company have gone so far as to set up dummy escalator configurations: no human receives the notifications sent there, but the notifications appear in the Outalator and can be tagged, annotated, and reviewed. One example for this \"system of record\" use is to log and audit the use of privileged or role accounts (though it must be noted that this functionality is basic, and used for technical, rather than legal, audits). Another use is to record and automatically annotate runs of periodic jobs that may not be idempotent—for example, automatic application of schema changes from version control to database systems.\n\n84For example, it might take significant engineering effort to make a particular change to Bigtable that only has a small mitigating effect for one outage. However, if that same mitigation were available across many events, the engineering effort may well be worthwhile.\n\n85On the one hand, \"most incidents caused\" is a good starting point for reducing the number of alerts triggered and improving the overall system. On the other hand, this metric may simply be an artifact of over-sensitive monitoring or a small set of client systems misbehaving or themselves running outside the agreed service level. And on the gripping hand, the number of incidents alone gives no indication as to the difficulty to fix or severity of impact.", "znaku_textu": 11314, "slov": 1776, "odkazu": 57, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:21", "sha256": "335fd7b4cdcddf83384cb73081552959ced585e40e46a22235df337c1c4ec73d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/static/pdf/45764.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 380504, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:37", "sha256": "db2b2971efb61af6d8c8af2e2c32d5a6bb845d1c64daf0810e5b64860dedcf1f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/45765.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 255206, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:38", "sha256": "434e6d59a2d5b78bc47e5fc9f9247e3683328eed7c98eb8f761183468705e033", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/Anatomy_Of_An_Incident.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 8388608, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:47", "sha256": "424d2ef0f8f8a3f842ea097cb5335391825b2adc9560e7d4d18f2c12f5abb404", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/CaseStudiesInfrastructureChangeManagement.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 2359853, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:47", "sha256": "64c163cfbb22f3f3f28db314c258af2fc84192b252dd39204c8da0883ec6674e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/CaseStudyInCommunityDrivenSoftwareDevelopment.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 5000724, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:50", "sha256": "69136a4294c2b02158edf689ec17cb00225b4a39cb37ba341d122223c889b71c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/CreatingProductionLaunchPlan.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 2592555, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:53", "sha256": "eaa256ae3ce37597645ba489528c198a422304e6cee616781c34f3154e82a21c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/EngineeringReliableMobileApplications.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 1703650, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:56", "sha256": "5947290e0c1670893c3e03c58927cd4d93cc80cff44e518feca349ccf1967600", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/IncidentManagementGuide.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 399924, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:57", "sha256": "1167c3f8df5670a4661ef6ff8b5e122565535b0a7adc6a89fe53819ac9e0ee57", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/IncidentMeticsInSre.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 5220800, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:59", "sha256": "e4165791de61e4bdaac350d7a05bc82eebad5d35516ec22f85d8156740b50243", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/LessonsLearnedFromTwoDecades.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 324601, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:59", "sha256": "22ddb24c591dc9680e3d6f50ca314375dc9e7448abac73beed03fac133ce7460", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/SloAdoptionAndUsageInSre.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 8266873, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:02", "sha256": "2b92c9eb6d8f13d24cf06371d0b05e866e410bf05fc11127d3bb68ca66c85d29", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/TrainingSiteReliabilityEngineers.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 2275021, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:04", "sha256": "4f92fa6305b32f37599499108643e7e96022fb99ba37728e36774025532ec643", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/calculus_of.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 1634577, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:35", "sha256": "586c8c5363be70b280fc964da9feaf6ad4e8c8c8935b19e0598af26fa3d8a6be", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/canary_analysis.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 645954, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:36", "sha256": "509717ba22115380f42e7679134b6cbc520a6378564019a15c760731c0e71ddd", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/cloud-cre-production-maturity-assessment.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 333020, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:34", "sha256": "49b7aa566c91d44a79b8f3e34433e3a8de1b931b8e539d742c2ed9a84170f71e", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/enterprise-roadmap-to-sre.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 3545322, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:06", "sha256": "43f4e3e073adf058412a565b68fa89b2a577470b3e82ee26ef3436e68284de51", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/image-server.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 2067412, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:07", "sha256": "d2d1b8ca4e148fe1abb8242ee728fa4dcdc1134b1f51b6644fc43185c832a711", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/jp-art-of-slos-handbook-pdf-a4.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 1067534, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:08", "sha256": "ee5b396d2906cbde86f7af496baa2c1d6aad997d589a43c4b0fd3b8b0b6bb059", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/jp-art-of-slos-howto-pdf-a4.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 447719, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:09", "sha256": "178b15a86382bbfc3423181fa438af394298821efb1d223c771373142edf863a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/jp-art-of-slos-slides-pdf.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 1542902, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:10", "sha256": "c5a1f63bf95ebd50088a2d26fa12260b53e55432d5d9c13c962c77e07f3b2a9a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/jp-art-of-slos-worksheet-pdf-a4.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 58549, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:11", "sha256": "0c1290df60a8f10e53f3b5629784285b6fd95940b72dd91acacda17d1ee36dc4", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/jp-enterprise-roadmap-to-sre.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 8388608, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:13", "sha256": "d8a7ea4a9f04c517c49e9c716b0e238da9b24c00b7b64f4c314e52f8c524ea1d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/login-summer20-08-ross.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 174023, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:41", "sha256": "e760a29fdfc824c6fff194d1976a0906414f03b129fbfb23de6b58f2548166ee", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/login_spring17_09_lunney.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 386439, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:36", "sha256": "79a3f9912b70cee3480b1d1fc0b35d229c1dbb470bec24d0a3c0935d5e8ee7cf", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/login_winter20_10_torres.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 923654, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:33", "sha256": "4cb95c5300d4cd2187a627ccfeaeec21450018be7d4cf29759202ff9a45cdacc", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/reliable_data_processing_with_minimal_toil.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 395350, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:15", "sha256": "ec111aec36486fe37048022cee0aeb381b86d6235df45a87b61312a24fc639d5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-00.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 104292, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:16", "sha256": "b6adc8936ccbd535a88adee13e2bdb3b5f9a31003a4f68457df7d99e9ad340fa", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 149509, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:17", "sha256": "cbfe7ad71514e02c6f808473abc6f58217200954dfc80c6902211594cf4804de", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 132082, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:18", "sha256": "fc3d8ecfe498bf7eb7bf178fa447ce2d855a1d984a7da3035bba5da0193b0d73", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 127681, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:19", "sha256": "b9d98787c8b5818756a25aefdc70d675ffdaa08c159120181f863838ed68d818", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 128165, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:20", "sha256": "59a14907520d44d87f94385c96b207ae6ecabec80d6f2c611f727c97e3ebc5a6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 150522, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:21", "sha256": "68491a19f8d2157edd52349746ece65d961d0f51cd833a4826e195304451490d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 203242, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:22", "sha256": "4f48290ba4be68bb1d3ddea29bf64c5f90c2312132a8b9abc04882d2347a3c6e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 169755, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:23", "sha256": "db036144d07b057ddcd20efbe7ae2b4e019b140d56e58bd8d71e869fdf4b6416", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 161287, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:24", "sha256": "5c19d47039f4fa8c5d6ef7182f1c772a2ca66132d8b2c7d544df51c1cb2e7a52", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-01-09.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 125695, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:25", "sha256": "b8797dd7cccf9290bf7e07082197cf3e67dbf1be7264c353f05456bd00181f8f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 201248, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:26", "sha256": "4859df95ef1602d1dd2553ff02be082b51df5dc27da2eadc8739760a260ee3b8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 210143, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:27", "sha256": "87180c59563b49e41455117f14c5f2e47dfe8e436e964a6fff55074989f2773d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 159540, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:28", "sha256": "2177ca138d340e304b62bca0abba712e1b9dc67af07ffc7c60dc6cd7e34d1d9b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 183851, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:29", "sha256": "a5c3d47fa6a9072a1098e6635302f3c9d0c8dd71f4581805e13c0a30324e773e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 217588, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:30", "sha256": "90ebd80cc1840c2240a33106e2538e9dbd7d2acd78d660515a7f4d1be6f44540", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 218687, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:31", "sha256": "abf3839ab92d8f432d16a98cfd9c6d765118cfc527f09fad11d6819678ae8267", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 236417, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:32", "sha256": "8a5d93f6c85242faefe6e92ef0ebb885b8e11a1ee52c15580452aaf85a455a68", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-02-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 246279, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:33", "sha256": "87481b12f71fd7b1592b97ad2aba5b66f39210e0112a609d268723f4c417ff45", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 113193, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:35", "sha256": "a4eda91ca42314f26c9bcf418f27ccb98cc02d3e5bc596fdd5cbefc6693acd93", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 86464, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:34", "sha256": "d34e687ac091c155647275a1218d8313c252bc726203ffb20f7fc82cf80489af", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 97090, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:31", "sha256": "d4cd62f7cc93317caa0bf1ee8c69fe23b1fe51427dc0601109452dc702bff547", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 86685, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:30", "sha256": "fefc56983e9de9d369030dc8dba9b766830edb5b854109c284dee13cd851c22c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 132692, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:27", "sha256": "a757467720d8f1e3c9ac4a939fa224469235a82e36fea026cacb4cf07730fea6", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 151123, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:25", "sha256": "29e9889c32c9a156b87adf94b7e62e7c3a27d4d276adaa8416e35647f758a8a7", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 119219, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:23", "sha256": "a81ae2c2846f4cb843aa893d0f760bef7ec774086a4486f0c33391d43b6705fa", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 137465, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:21", "sha256": "ae4dd6d9827bb8ebd7e7ad5a78515f73eba3d7afb70056272874d7b4da8923df", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-09.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 165385, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:19", "sha256": "a2f2ab355789c8091bb6a9fedd6bb59f48cc90c1a63857e1b3c09cabb837d5ec", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-10.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 131548, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:17", "sha256": "9d5276af76209154b27c1b7ac89e384823c1b98455a3614eab5c6a5576936f25", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-11.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 207629, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:16", "sha256": "a3c57e63ff9790e74fd50c3d55249d2bddc1fba743775822f6843c14fff113c4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-12.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 141996, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:14", "sha256": "a15140321062d9431a8ff6fb7e18c7329e25ed9c87273f53334a20040e8a6b06", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-13.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 208144, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:11", "sha256": "c85fc588c17bd78cac45680426824644f2f71031590b07e66c8c75005ecd077d", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-03-14.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 121867, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:10", "sha256": "bba778f2a6adb06356db183f699f566250f9731cb2fc584853dd092f59483255", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-00.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 151140, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:57", "sha256": "d61bd19c7ed754ebf57052b8261cc54414adbfb251f3c31d59cd6d1c1da0296f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 173892, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:55", "sha256": "596b9295bd14f78c633705df866515c16deac9ea0f67eb442c895506ecc1ba26", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 298159, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:53", "sha256": "f7f04c51312039cfe7618494eb072ea3abe44cb2f1528cdac13e8caf39cbbb4c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 339592, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:51", "sha256": "99a6dc30eb04dbef4344e8116afa6f6c00d2d13ba195e74dbae263bd40287b2c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 219295, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:49", "sha256": "a71a8d4e42b44080348e9e5de947f6c98061626c861a1838c2b3d326ea1443a4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 357328, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:47", "sha256": "20bb4d8ca36b9acb029d9f6a65a98b5267c22883c7779aa1ccd0faa888fe54c9", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 352238, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:45", "sha256": "fdd90d695d0253c5633a35bfb6d6ac03aecc7dcdfa96b82326434c7cf6b20775", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 274821, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:43", "sha256": "68fc5557d6fdd16bcc26f43674f86f6ee8cdbd7099c70d2364c02c31f3153026", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 229494, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:41", "sha256": "c09a34e6b4d6159e72d2f80a45a8999e9220fd3657a84672c5926ccf8f116e7f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-09.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 329147, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:39", "sha256": "dd10afe43c124ffb45aa450f15af13f42d7cd8ac4b06111fb8e6644d1e0d16d3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-04-10.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 243915, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:37", "sha256": "5adc18637b9fbecd5346fc79aa135d8072a34115b59a2bd7f8f926bb2088c4ea", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 205038, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:13", "sha256": "dc7fe976068d64db8300b0b5305207d106a2c880e3841901a8a8ea052598a8eb", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 212145, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:11", "sha256": "8fce7c5b8fce877f6bf6c8e2150b3d7cddb85fb3ab309badef21fe5fc47a8a92", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 165598, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:09", "sha256": "4831215862a7cf06eba9874af13bc9b4b8e2f958a4e4980ae5edc89f630331d6", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 172637, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:07", "sha256": "34b39ea001657bb28b08c84919fca4d3c8bf0fec4fa912c38273edbb42041a06", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 52128, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:05", "sha256": "066ed99330adce69adc975ad95e12fe9157da61489935a6f64fbe5be15c2c061", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 209482, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:03", "sha256": "3a3ef15460955b3061c577382d8f63601e1db1da036b014fbe951ca965069cfb", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 164560, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:01", "sha256": "b6b92c4b3d9d9007bce887cb7f20a0b8fd263c131d1596558cb3e2e8fc98beef", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-05-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 207990, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:51:59", "sha256": "b6efcf0d3f5b0d35cca5f69208c2736175b0197f5e492c2b1c73eb9e29ac7b6f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-01.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 101873, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:31", "sha256": "712dde686ec7dfae8b3a5f93ee0c933f39faf3cf2759fcdc97834418eb079b0a", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-02.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 264981, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:29", "sha256": "7ca78a172bb726bf03dadd84e36164d805d45fbc533aa14a36f3f221fb3d694a", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-03.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 87634, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:27", "sha256": "5c2894a849aec2eadcb796054c10af727056c4b51bfc5baf9973af952112c362", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-04.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 153981, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:25", "sha256": "9da95ff1431651d6d8918869c630c847770fef320a8ddf66d03f30f212e642b6", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-05.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 92277, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:23", "sha256": "68b1218f9ae9fd396cbb92b22090fe20d4dac4b816687024b34b3db4e5ba2bdd", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-06.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 81187, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:19", "sha256": "71712bb9ea9e6980462bfe940c9178a85ad8c2bfe34ae31c0a6f17793faa53f8", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-07.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 78578, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:21", "sha256": "480ccacb4c7a03558f647a5be4913d6ba986d81492f7de0b6fded7e13fcbb65b", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-08.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 77020, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:17", "sha256": "b321282a8388db9eae5c86d79f7e22c0cea16e6729292eeb1c7f241d827d5123", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre-prodcast-06-09.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 152995, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:15", "sha256": "d77a8aedad44d6784e104741bc88787d20e055c70aadbe227842333ef7f7a9c4", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre_flash_cards_a4.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 58991, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:34", "sha256": "1dcc4315a1cf0b1a3ba1f8e7a4155e93bc130a7dd581b4521d96f9104148cfd8", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/static/pdf/sre_flash_cards_us_letter.pdf", "titulek": "", "h1": "", "popis": "", "klicova_slova": "", "kanonicka": "", "jazyk": "", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [], "markdown": "", "znaku_textu": 0, "slov": 0, "odkazu": 0, "kodovani": "", "kodovani_deklarovane": null, "format": "pdf", "bajtu": 58923, "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:11:35", "sha256": "bf3c408aaca4bf0183c397318649c70c2e86e1713d95c3a82c2309c62a070fb1", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "application/pdf", "odkazy_externi": []} {"url": "https://sre.google/stpa/teaching/", "titulek": "STPA (System Theoretic Process Analysis) -- Teaching a new way to prevent outages at Google", "h1": "Teaching a new way to prevent outages at Google", "popis": "Read how Google is using System Theoretic Process Analysis (STPA) to analyze pure software systems and discover risks.", "klicova_slova": "", "kanonicka": "https://sre.google/stpa/teaching/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Teaching a new way to prevent outages at Google"}, {"uroven": 2, "text": "By Garrett Holthaus, Technical Writer"}, {"uroven": 3, "text": "STPA in one paragraph"}, {"uroven": 3, "text": "Why does Google need custom STPA training?"}, {"uroven": 3, "text": "Early training efforts"}, {"uroven": 3, "text": "Growing as educators"}, {"uroven": 3, "text": "Learning what motivates our audience"}, {"uroven": 3, "text": "Dataflow diagrams vs. control structures"}, {"uroven": 3, "text": "Putting it all together"}, {"uroven": 3, "text": "You can do it too!"}], "markdown": "# Teaching a new way to prevent outages at Google\n\n## By Garrett Holthaus, Technical Writer\n\nFrom a young age, I enjoyed the detective work of diagnosing and fixing a broken system–electronics, in my case. There was something fulfilling about taking a silent radio and getting it playing again, sometimes with only a few dollars' worth of replacement parts. So, it wasn't a stretch to shift from post-failure analysis to pre-failure analysis in my first job out of college, as a microprocessor validation engineer. I ran tests on a simulator to find hardware bugs before the chip went into production and the cost to fix problems increased exponentially. I'll always remember the senior engineer who told me to put on my \"evil\" hat and try to break the chip by throwing the unexpected at it. But how do you come up with the unexpected? Better still, how do you know where to even start looking for possible issues? Now I'm at Google, where the system complexity is even greater, and Site Reliability Engineers (SREs) work to [prevent outages](https://sre.google/sre-book/tracking-outages/) on a planet-scale computer with billions of users. Thankfully, Google has seen increasing success finding issues so they can be fixed before they cause an outage. We're using System Theoretic Process Analysis (STPA), a paper and pencil method that has been successfully used in many other industries since its creation in the early 2000s, to analyze pure software systems and discover the unknown unknowns (risks of which you are unaware and not actively seeking). In order to scale [STPA at Google](https://sre.google/resources/practices-and-processes/stpa/), we need more experts trained in applying STPA to Google's software systems. In this article, I'll discuss Google's development of custom, in-house STPA training, as well as what we've learned about STPA education in a pure software environment.\n\n### STPA in one paragraph\n\nSTPA uses system and control theory to model the control-feedback loops in a complex system. It treats system safety as a control problem, and looks for all the ways that control actions in the system might cause the system to enter an unsafe state. Instead of trying to think of all the discrete actions that would immediately cause an outage, and then trying to prevent them, STPA focuses on defining the unsafe system states that could lead to an outage in worst case conditions. By taking the approach to understand why these unsafe control actions might occur, STPA enables us to discover complex, unintended system interactions, which are often the cause of system outages. Once we understand how the system gets into an unsafe state, we can design and implement controls to prevent this, thus preventing the outages associated with unsafe operation. Or, we can detect the unsafe state and take action to resume safe operation. If automatic correction isn't feasible, we can at least alert the humans who are part of the system to the unsafe situation.\n\n### Why does Google need custom STPA training?\n\nGiven the success Google has had in running STPA—discovering previously unknown issues, and fixing them before they can cause outages—it's clearly in Google's interest to develop more in-house STPA expertise and scale our efforts. There are plenty of existing STPA educational materials and many external consultants who can provide in-person training, so why does Google need to develop custom training? To answer this question, I need to give a bit of history. STPA training at Google started in 2021 with an initial class for a group of 40 interested Googlers. The interest and momentum spread, and we decided to start hosting instructor-led training sessions based on existing materials. There are a lot of compelling STPA examples from other industries–stories of disasters and eye-opening lessons learned from applying STPA. However, when we presented these examples of physical systems (such as the [Mars Polar Lander crash](https://en.wikipedia.org/wiki/Mars_Polar_Lander#Loss_of_communications)) to Google audiences, the response we got was, \"That's interesting, but I don't see how it applies to my pure software system.\" So, it was clear that we needed some software examples, and even better, some examples of STPA applied to Google systems.\n\n### Early training efforts\n\nEven with examples from your own industry or company, STPA training can seem like a daunting task. Successful application of STPA requires significant effort to learn the theory. Then, you need guidance or mentorship from someone with STPA experience until you've gained experience yourself. So, we decided to start with one part of STPA that can stand on its own–the concept of a control structure, modeling a system with control-feedback loops. **Figure 1:** Basic control-feedback loop The basic control-feedback loop consists of a **controller** and a **controlled process**. We want to keep the controlled process from entering an unsafe state. For example, perhaps we want to keep the temperature of a chemical manufacturing process within a safe range. Or, maybe the controlled process is a database of user-generated content, like business reviews, and we want to keep it free of incorrect or abusive content. The controller issues **control actions** to change the state of the controlled process. So, for our database, the controller might issue a control action to add, update, or remove content. But how does the controller know what control action to issue? It knows because it has some idea of the current state of the controlled process, and it gets this idea from **feedback**. Based on this feedback, it updates its model of the controlled process, then applies an algorithm (a software algorithm, in this case) to determine what control action to issue. A **control structure** consists of a number of these basic control loops, interconnected by their control actions and feedback paths. We've seen that just the act of building this model causes a shift in design thinking to include system-level feedback. While most software developers do a thoughtful job of designing the control path–even without knowledge of control theory–they spend less time (if any!) designing the feedback path. When introducing STPA to new teams, we frequently identify missing or inadequate feedback in the control structure for their system, which starts a fruitful discussion on how to improve their design. We designed and gave our control structure training. However, we discovered that teaching people to create a useful control structure is very difficult to accomplish over a limited period of time. In particular, teaching the right level of controller abstraction to enable meaningful analysis was a major challenge for a 2-day workshop. Though participants in our workshop got a solid start, it takes time, experience creating control structures, and guidance from experts to achieve skill in modeling a system with control feedback loops. Also, though people found the class interesting, it was less compelling without the other steps of STPA, where the control structure plays a key role in discovering design flaws and unsafe system behavior. Finally, perhaps the biggest challenge was that the seven participants in the initial class built control structures for their seven completely different software systems, and we, as the instructors, had our hands full learning enough about each complex system to offer meaningful feedback.\n\n### Growing as educators\n\nAfter the control structures course, we decided it would be more appealing and effective to teach all the steps of STPA. Our goal was to get Googlers to the point where they could get a strong start on their own, running STPA for their system. Thanks to this initial effort on the part of the software developers, learning STPA and doing some of the analysis, things would go more smoothly when an STPA expert joined. This strategy would enable faster generation of high quality results–namely, a list of system design issues waiting to cause outages, as well as recommendations to fix these issues. So, we started building one-hour courses for each step of STPA. As previously mentioned, we had enough feedback about non-Google STPA examples to know they weren't compelling for our audience. So, as we built the new training, we adopted a general approach: use a non-Google example to introduce the concepts and process for each STPA step, then follow this up with a real example of applying that step to a Google system. We got good compliments on the real Google examples, but we also learned something else about motivating our audience.\n\n### Learning what motivates our audience\n\nAs we held training sessions for more Googlers, spoke to more SREs, and led STPA projects for more teams, some powerful themes began to emerge that consistently resonated with our audience. The first, as mentioned before, was the concept of feedback. We started using examples from Google STPAs where a feedback path, or in some cases the lack of a feedback path, caused problems. There were examples of feedback from one software component to another, but also examples of missing or incomplete feedback to humans in the system. In one particular case at Google, a software controller–acting on bad feedback from another software system–determined that it should issue an unsafe control action. It scheduled this action to happen after 30 days. Even though there were indicators that this unsafe action was going to occur, no software engineers–humans–were actually monitoring the indicators. So, after 30 days, the unsafe control action occurred, resulting in an outage. In this one outage, there were two feedback issues–bad feedback from one piece of software to another, and missing feedback from the software to the engineers. We've used STPA to analyze several outages that involved missing or incorrect feedback to humans. As with this outage, where the unsafe condition existed for 30 days, many of the others could have been easily avoided if humans in the system had been made aware of some unsafe system state. This is one of the core principles of STPA–you have a better chance of preventing an outage if you focus on preventing, or at least detecting, the unsafe system states that lead to an outage. Over and over, we would hear from other Googlers that these examples had caused a shift in thinking about how they approached system design. Focusing not just on control paths, but also on feedback paths, led to increased awareness of other pieces of software infrastructure that interacted with their own piece. For example, instead of assuming that a neighboring system would always behave perfectly, people started asking, \"what if that system passes me bad or incomplete information, or doesn't get the information to my system at the right time?\" The Ariane 5 rocket, which veered off course and self-destructed on its first launch, is a famous example of a software feedback issue. Among many variables in the code was a floating point value representing the rocket's orientation. This is quite reasonable, but buried in the code was a handoff from one piece of software to another–feedback–where the receiving software interpreted this value as a 16-bit integer. The designers had confidence in this receiving piece of system software that used integer math, since it had functioned perfectly well in the Ariane 4. System thinking leads designers to ask questions like, \"What happens if I get an integer error due to a value passed from an adjacent software system?\" In the case of Ariane 5, one conclusion is that this kind of error makes it unsafe to interpret the received value as the true rocket orientation, which is what actually happened in the disaster.\n\n### Dataflow diagrams vs. control structures\n\nGiven that inadequate or missing feedback came up often in STPA at Google, and that thinking about feedback frequently made an impression on the system designers, we shifted our messaging. We started focusing on STPA's ability to analyze not only the control path, but also the feedback path–a part of software design that, as we've seen, often gets little to no attention. The focus on feedback happens naturally in STPA because we model the system as a control structure–several control loops connected by control actions and feedback. This type of system model contrasts greatly with another model frequently used in software design: the **dataflow diagram**. These diagrams show how data moves between different software components, e.g. via remote procedure calls. Unlike control structures, dataflow diagrams do not indicate whether data is control or feedback. They also don't establish the **control hierarchy**–which pieces of software control the state of other pieces of software. Because control structures show this hierarchy, they are often called **hierarchical control structures**. For software systems consisting of millions of lines of code, dataflow diagrams can be fiendishly complex. **Figure 2:** Example dataflow diagram–where are the flaws? At the start of this article, I mentioned that it's often not obvious where to start looking for issues in a complex system. If you were asked to analyze the dataflow diagram above–33 boxes with a spider web of arrows connecting them–how would you determine what outages might occur due to complex system interactions? For example, many of the boxes at the bottom and top of the diagram only have arrows going into them, not out. If these software components were to go down, how would it affect the system? Even if none of these components were to go down, how do we know there wouldn't be outages due to unforeseen, complex interactions between the components? If you don't know what these software components do, it's difficult to say. Worse, this example dataflow diagram is relatively simple compared to typical software system complexity, especially at Google. **Figure 3:** Example control structure Using a control structure to model the control-feedback relationships in a system allows for a level of abstraction that makes this analysis–searching for complex system interactions that could lead to an outage–practical. A typical control structure for a Google system has 10–15 boxes, and meaningful analysis can be done with even fewer boxes. The control structure above, with only 4 boxes, is from an actual Google STPA. After working with the system experts to build this control structure, we immediately noticed missing feedback from controller C to controller B–in other words, controller B did not have enough information to support the decisions it needed to make. As we continued running STPA, we also discovered additional system design issues that might lead to outages. Control structures make it clear what the goal of each software controller is, what other pieces of software it controls, and where it gets feedback. Each arrow is labeled with the control actions or feedback passing between different parts of the system, making it easy to see whether each controller is getting the information it needs to issue the right control actions. Most importantly, we can list the context under which a particular control action would be unsafe, leading to an unsafe system state and possibly an outage. Again, in training and working with many different Googlers to create control structures, we hit on a convincing message: In the process of applying STPA, you are effectively narrowing down the search for issues from millions of lines of code to a few hundred lines. This happens through identifying where in the software the decisions happen that lead to unsafe behavior. We do this by building scenarios that lead to unsafe control actions–the scenarios literally point to the lines of code responsible for a possible outage!\n\n### Putting it all together\n\nThanks to incorporating real Google examples in our training, and finding the right message to engage and motivate our audience, we were getting noticed by more teams at Google. In addition, the feedback continued trending in a positive direction. One participant said the following: \"The class itself is very well structured. I've heard about STPA in past years, but this was the first time I saw it explained with concrete examples. The Google example at the end was also really helpful.\" One team even asked for a custom workshop to run a mini-STPA on their system. As we built out our training, a major accomplishment was a new three-day workshop focused not just on control structures, but on all the steps of STPA, built around another real Google example. However, now we ran into some new challenges. The first challenge was that, although interest was high and registration filled up within a few days of announcing the first workshop, only about half the registrants showed up. This can probably be attributed to the difficulty in budgeting three days of time for training. To address this challenge, we decided on a stepped approach. We developed two STPA tutorials of 30 and 60 minutes, again built on real Google examples, showing impactful results. At the end of each tutorial, we advertised the workshop. The goal was to reach as many people as possible with these tutorials (it's easier to find 30 minutes in your day than to find several hours), then have attendees self-select for the workshop—those who are the most motivated from these initial tutorials will sign up for the workshop and actually attend. The second challenge was that, although folks who have attended the workshop enjoyed it and expressed continuing interest in STPA, for the most part, they didn't actually try running STPA on their own system. That brings us to the latest phase of STPA training development at Google: we are building a self-serve internal version of our workshop, with a series of short recordings, including homework assignments. As Googlers watch the videos, they'll fill out templates with additional guidance to start STPA on their own system. Our hope is that working incrementally and doing each part of STPA right after watching the corresponding training video will be less intimidating. By the time a Googler completes the workshop, they'll have a good start on STPA for their system, and as mentioned earlier, this will allow quick generation of high quality results when an STPA expert joins the analysis. Even better, we can take the self-selection principle one level higher, and hopefully find Google's next cadre of STPA experts–early adopters who will help scale STPA at Google by championing it to their individual teams.\n\n### You can do it too!\n\nThe more you learn about STPA, and the more you see results from successful application of STPA to your business or industry, the more you realize you can't afford not to use it. It's a convincing tool for tackling the unknown unknowns that are everywhere in today's ever increasing complex systems. From a few individuals or a small team bringing in an expert STPA facilitator to guide your company's first STPA, you can build awareness and expertise, and expand the use of STPA, as many others have done. For software companies looking to adopt STPA, there's no substitute for building internal training based on actual software examples–this will enable your software engineers to really see the benefits of STPA and commit to the process of learning it. Yes, there will be challenges along the way, just as Google has faced, but remember–most software companies are great at pivoting to address changing priorities and strategies. If your STPA training falls flat, pivot and try again! Before you know it, you'll be reaping the benefits of improved system reliability and safety. For more details on SRE's adoption of STPA at Google, the theory behind STPA, and a case study of STPA application at Google, see \"[The Evolution of SRE at Google.](https://goo.gle/stpa-article)\"", "znaku_textu": 19818, "slov": 3227, "odkazu": 45, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:10:41", "sha256": "20c8e8cc1575641984ae6026cc3c74bbdc9e95b17ce570177f92633986d51132", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://goo.gle/sre-20-ll", "https://goo.gle/mobaa-vector", "https://goo.gle/sre-classroom", "https://goo.gle/sre-classroom-distributed-pubsub", "https://goo.gle/sre-classroom-imageserver", "https://en.wikipedia.org/wiki/Mars_Polar_Lander", "https://goo.gle/stpa-article", "https://www.twitter.com/googlesre/", "https://www.youtube.com/google", "https://www.google.com/", "https://about.google/", "https://about.google/products/", "https://policies.google.com/privacy", "https://policies.google.com/terms", "https://support.google.com/?hl=en"]} {"url": "https://sre.google/workbook/alerting-on-slos/", "titulek": "Google SRE - Prometheus Alerting: Turn SLOs into Alerts", "h1": "Alerting on SLOs", "popis": "Turn SLOs into actionable alerts on significant events using Prometheus alerting. Improve precision, recall, detection time, and time for alerting.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/alerting-on-slos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/alerting-on-slos/"}, "headline": "Alerting on SLOs", "description": "This chapter explains how to turn your SLOs into actionable alerts on significant events. Both our first SRE book and this book talk about implementing SLOs. We believe that having good SLOs that measure the reliability of your platform, as experienced by your customers, provides the highest-quality indication for when an on-call engineer should respond.", "image": "https://lh3.googleusercontent.com/mpK6cdpAGND9oCGaTETVhOmXF5TZegWCspB5h4p2JJmWmAgOgdEE8LVMSod2YSU5JGlMs0Ok7rKz7LvRwi48QrMRf0WTByDB4ynP", "author": [{"@type": "Person", "name": "Steven Thurgood"}, {"@type": "Person", "name": "Jess Frame"}, {"@type": "Person", "name": "Anthony Lenton"}, {"@type": "Person", "name": "Carmela Quinito"}, {"@type": "Person", "name": "Anton Tolchanov"}, {"@type": "Person", "name": "Nejc Trdin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Alerting on SLOs"}, {"uroven": 2, "text": "Alerting Considerations"}, {"uroven": 1, "text": "Ways to Alert on Significant Events"}, {"uroven": 5, "text": "1: Target Error Rate ≥ SLO Threshold"}, {"uroven": 5, "text": "2: Increased Alert Window"}, {"uroven": 5, "text": "3: Incrementing Alert Duration"}, {"uroven": 5, "text": "4: Alert on Burn Rate"}, {"uroven": 5, "text": "5: Multiple Burn Rate Alerts"}, {"uroven": 5, "text": "6: Multiwindow, Multi-Burn-Rate Alerts"}, {"uroven": 1, "text": "Low-Traffic Services and Error Budget Alerting"}, {"uroven": 5, "text": "Generating Artificial Traffic"}, {"uroven": 5, "text": "Combining Services"}, {"uroven": 5, "text": "Making Service and Infrastructure Changes"}, {"uroven": 5, "text": "Lowering the SLO or Increasing the Window"}, {"uroven": 1, "text": "Extreme Availability Goals"}, {"uroven": 1, "text": "Alerting at Scale"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Alerting on SLOs\n\nBy Steven Thurgood\nwith Jess Frame, Anthony Lenton,\nCarmela Quinito, Anton Tolchanov, and Nejc Trdin\n\nThis chapter explains how to turn your SLOs into actionable alerts on significant events. Both our [first SRE book](https://sre.google/sre-book/table-of-contents/) and this book talk about implementing SLOs. We believe that having good SLOs that measure the reliability of your platform, as experienced by your customers, provides the highest-quality indication for when an on-call engineer should respond. Here we give specific guidance on how to turn those SLOs into alerting rules so that you can respond to problems before you consume too much of your error budget.\n\nOur examples present a series of increasingly complex implementations for alerting metrics and logic; we discuss the utility and shortcomings of each. While our examples use a simple request-driven service and [Prometheus syntax](https://prometheus.io/), you can apply this approach in any alerting framework.\n\n## Alerting Considerations\n\nIn order to generate alerts from service level indicators (SLIs) and an [error budget,](https://sre.google/workbook/implementing-slos/) you need a way to combine these two elements into a specific rule. Your goal is to be notified for a significant event: an event that consumes a large fraction of the error budget.\n\nConsider the following attributes when evaluating an alerting strategy:\n\nPrecision\n\n- The proportion of events detected that were significant. Precision is 100% if every alert corresponds to a significant event. Note that alerting can become particularly sensitive to nonsignificant events during low-traffic periods (discussed in Low-Traffic Services and Error Budget Alerting ).\n\nRecall\n\n- The proportion of significant events detected. Recall is 100% if every significant event results in an alert.\n\nDetection time\n\n- How long it takes to send notifications in various conditions. Long detection times can negatively impact the error budget.\n\nReset time\n\n- How long alerts fire after an issue is resolved. Long reset times can lead to confusion or to issues being ignored.\n\n# Ways to Alert on Significant Events\n\nConstructing alert [rules for your SLOs](https://sre.google/sre-book/service-level-objectives/) can become quite complex. Here we present six ways to configure alerting on significant events, in order of increasing fidelity, to arrive at an option that offers good control over the four parameters of precision, recall, detection time, and reset time simultaneously. Each of the following approaches addresses a different problem, and some eventually solve multiple problems at the same time. The first three nonviable attempts work toward the latter three viable alerting strategies, with approach 6 being the most viable and most highly recommended option. The first method is simple to implement but inadequate, while the optimal method provides a complete solution to defend an SLO over both the long and the short term.\n\nFor the purposes of this discussion, “error budgets” and “error rates” apply to all SLIs, not just those with “error” in their name. In the section [What to Measure: Using SLIs](/workbook/implementing-slos#what-to-measure-using-slis), we recommend using SLIs that capture the ratio of good events to total events. The error budget gives the number of allowed bad events, and the error rate is the ratio of bad events to total events.\n\n##### 1: Target Error Rate ≥ SLO Threshold\n\nFor the most trivial solution, you can choose a small time window (for example, 10 minutes) and alert if the error rate over that window exceeds the SLO.\n\nFor example, if the SLO is 99.9% over 30 days, alert if the error rate over the previous 10 minutes is ≥ 0.1%:\n\n```\n- alert: HighErrorRate\n expr: job:slo_errors_per_request:ratio_rate10m{job=\"myjob\"} >= 0.001\n```\n\nAlerting when the recent error rate is equal to the SLO means that the system detects a budget spend of:\n\nalerting window sizereporting period\n\nFigure 5-1 shows the relationship between detection time and error rate for an example service with an alert window of 10 minutes and a 99.9% SLO.\n\nFigure 5-1. Detection time for an example service with an alert window of 10 minutes and a 99.9% SLO\n\nTable 5-1 shows the benefits and disadvantages of alerting when the immediate error rate is too high.\n\n| Pros | Cons |\n| --- | --- |\n| Detection time is good: 0.6 seconds for a total outage. This alert fires on any event that threatens the SLO, exhibiting good recall. | Precision is low: The alert fires on many events that do not threaten the SLO. A 0.1% error rate for 10 minutes would alert, while consuming only 0.02% of the monthly error budget. Taking this example to an extreme, you could receive up to 144 alerts per day every day, not act upon any alerts, and still meet the SLO. |\n\n##### 2: Increased Alert Window\n\nWe can build upon the preceding example by changing the size of the alert window to improve precision. By increasing the window size, you spend a higher budget amount before triggering an alert.\n\nTo keep the [rate of alerts manageable](https://sre.google/sre-book/dealing-with-interrupts/), you decide to be notified only if an event consumes 5% of the 30-day error budget—a 36-hour window:\n\n```\n- alert: HighErrorRate\n expr: job:slo_errors_per_request:ratio_rate36h{job=\"myjob\"} > 0.001\n```\n\nNow, the detection time is:\n\n1−SLOerror ratio×alerting window size\n\nTable 5-2 shows the benefits and disadvantages of alerting when the error rate is too high over a larger window of time.\n\n| Pros | Cons |\n| --- | --- |\n| Detection time is still good: 2 minutes and 10 seconds for a complete outage. Better precision than the previous example: by ensuring that the error rate is sustained for longer, an alert will likely represent a significant threat to the error budget. | Very poor reset time: In the case of 100% outage, an alert will fire shortly after 2 minutes, and continue to fire for the next 36 hours. Calculating rates over longer windows can be expensive in terms of memory or I/O operations, due to the large number of data points. |\n\nFigure 5-2 shows that while the error rate over a 36-hour period has fallen to a negligible level, the 36-hour average error rate remains above the threshold.\n\nFigure 5-2. Error rate over a 36-hour period\n\n##### 3: Incrementing Alert Duration\n\nMost monitoring systems allow you to add a duration parameter to the alert criteria so the alert won’t fire unless the value remains above the threshold for some time. You may be tempted to use this parameter as a relatively inexpensive way to add longer windows:\n\n```\n- alert: HighErrorRate\n expr: job:slo_errors_per_request:ratio_rate1m{job=\"myjob\"} > 0.001\n for: 1h\n```\n\nTable 5-3 shows the benefits and disadvantages of using a duration parameter for alerts.\n\n| Pros | Cons |\n| --- | --- |\n| Alerts can be higher precision. Requiring a sustained error rate before firing means that alerts are more likely to correspond to a significant event. | Poor recall and poor detection time: Because the duration does not scale with the severity of the incident, a [100% outage alerts](https://sre.google/workbook/error-budget-policy/) after one hour, the same detection time as a 0.2% outage. The 100% outage would consume 140% of the 30-day budget in that hour. If the metric even momentarily returns to a level within SLO, the duration timer resets. An SLI that fluctuates between missing SLO and passing SLO may never alert. |\n\nFor the reasons listed in Table 5-3, we do not recommend using durations as part of your SLO-based alerting criteria.1\n\nFigure 5-3 shows the average error rate over a 5-minute window of a service with a 10-minute duration before the alert fires. A series of 100% error spikes lasting 5 minutes every 10 minutes never triggers an alert, despite consuming 35% of the error budget.\n\nFigure 5-3. A service with 100% error spikes every 10 minutes\n\nEach spike consumed almost 12% of the 30-day budget, yet the alert never triggered.\n\n##### 4: Alert on Burn Rate\n\nTo improve upon the previous solution, you want to create an alert with good detection time and high precision. To this end, you can introduce a burn rate to reduce the size of the window while keeping the alert budget spend constant.\n\nBurn rate is how fast, relative to the SLO, the service consumes the error budget. Figure 5-4 shows the relationship between burn rates and error budgets.\n\nThe example service uses a burn rate of 1, which means that it’s consuming error budget at a rate that leaves you with exactly 0 budget at the end of the SLO’s time window (see [Chapter 4](https://sre.google/sre-book/service-level-objectives/) in our first book). With an SLO of 99.9% over a time window of 30 days, a constant 0.1% error rate uses exactly all of the error budget: a burn rate of 1.\n\nFigure 5-4. Error budgets relative to burn rates\n\nTable 5-4 shows burn rates, their corresponding error rates, and the time it takes to exhaust the SLO budget.\n\n| Burn rate | Error rate for a 99.9% SLO | Time to exhaustion |\n| --- | --- | --- |\n| 1 | 0.1% | 30 days |\n| 2 | 0.2% | 15 days |\n| 10 | 1% | 3 days |\n| 1,000 | 100% | 43 minutes |\n\nBy keeping the alert window fixed at one hour and deciding that a 5% error budget spend is significant enough to notify someone, you can derive the burn rate to use for the alert.\n\nFor burn rate–based alerts, the time taken for an alert to fire is:\n\n1−SLOerror ratio× alerting window size×burn rate\n\nThe error budget consumed by the time the alert fires is:\n\nburn rate × alerting window sizeperiod\n\nFive percent of a 30-day error budget spend over one hour requires a burn rate of 36. The alerting rule now becomes:\n\n```\n- alert: HighErrorRate\n expr: job:slo_errors_per_request:ratio_rate1h{job=\"myjob\"} > 36 * 0.001\n```\n\nTable 5-5 shows the benefits and limitations of alerting based on burn rate.\n\n| Pros | Cons |\n| --- | --- |\n| Good precision: This strategy chooses a significant portion of error budget spend upon which to alert. Shorter time window, which is cheaper to calculate. Good detection time. Better reset time: 58 minutes. | Low recall: A 35x burn rate never alerts, but consumes all of the 30-day error budget in 20.5 hours. Reset time: 58 minutes is still too long. |\n\n##### 5: Multiple Burn Rate Alerts\n\nYour alerting logic can use multiple burn rates and time windows, and fire alerts when burn rates surpass a specified threshold. This option retains the benefits of alerting on burn rates and ensures that you don’t overlook lower (but still significant) error rates.\n\nIt’s also a good idea to set up ticket notifications for incidents that typically go unnoticed but can exhaust your error budget if left unchecked—for example, a 10% budget consumption in three days. This rate of errors catches significant events, but since the rate of budget consumption provides adequate time to address the event, you don’t need to page someone.\n\nWe recommend 2% budget consumption in one hour and 5% budget consumption in six hours as reasonable starting numbers for paging, and 10% budget consumption in three days as a good baseline for ticket alerts. The appropriate numbers depend on the service and the baseline page load. For busier services, and depending on on-call responsibilities over weekends and holidays, you may want ticket alerts for the six-hour window.\n\nTable 5-6 shows the corresponding burn rates and time windows for percentages of SLO budget consumed.\n\n| SLO budget consumption | Time window | Burn rate | Notification |\n| --- | --- | --- | --- |\n| 2% | 1 hour | 14.4 | Page |\n| 5% | 6 hours | 6 | Page |\n| 10% | 3 days | 1 | Ticket |\n\nThe alerting configuration may look like something like:\n\n```\nexpr: (\n job:slo_errors_per_request:ratio_rate1h{job=\"myjob\"} > (14.4*0.001)\n or\n job:slo_errors_per_request:ratio_rate6h{job=\"myjob\"} > (6*0.001)\n )\nseverity: page\n\nexpr: job:slo_errors_per_request:ratio_rate3d{job=\"myjob\"} > 0.001\nseverity: ticket\n```\n\nFigure 5-5 shows the detection time and alert type according to the error rate.\n\nFigure 5-5. Error rate, detection time, and alert notification\n\nMultiple burn rates allow you to adjust the alert to give appropriate priority based on how quickly you have to respond. If an issue will exhaust the error budget within hours or a few days, sending an active notification is appropriate. Otherwise, a ticket-based notification to address the alert the next working day is more appropriate.2\n\nTable 5-7 lists the benefits and disadvantages of using multiple burn rates.\n\n| Pros | Cons |\n| --- | --- |\n| Ability to adapt the monitoring configuration to many situations according to criticality: alert quickly if the error rate is high; alert eventually if the error rate is low but sustained. Good precision, as with all fixed-budget portion alert approaches. Good recall, because of the three-day window. Ability to choose the most appropriate alert type based upon how quickly someone has to react to defend the SLO. | More numbers, window sizes, and thresholds to manage and reason about. An even longer reset time, as a result of the three-day window. To avoid multiple alerts from firing if all conditions are true, you need to implement alert suppression. For example: 10% budget spend in five minutes also means that 5% of the budget was spent in six hours, and 2% of the budget was spent in one hour. This scenario will trigger three notifications unless the monitoring system is smart enough to prevent it from doing so. |\n\n##### 6: Multiwindow, Multi-Burn-Rate Alerts\n\nWe can enhance the multi-burn-rate alerts in iteration 5 to notify us only when we’re still actively burning through the budget—thereby reducing the number of false positives. To do this, we need to add another parameter: a shorter window to check if the error budget is still being consumed as we trigger the alert.\n\nA good guideline is to make the short window 1/12 the duration of the long window, as shown in Figure 5-6. The graph shows both alerting threshold. After experiencing 15% errors for 10 minutes, the short window average goes over the alerting threshold immediately, and the long window average goes over the threshold after 5 minutes, at which point the alert starts firing. The short window average drops below the threshold 5 minutes after the errors stop, at which point the alert stops firing. The long window average drops below the threshold 60 minutes after the errors stop.\n\nFigure 5-6. Short and long windows for alerting\n\nFor example, you can send a page-level alert when you exceed the 14.4x burn rate over both the previous one hour and the previous five minutes. This alert fires only once you’ve consumed 2% of the budget, but exhibits a better reset time by ceasing to fire five minutes later, rather than one hour later:\n\n```\nexpr: (\n job:slo_errors_per_request:ratio_rate1h{job=\"myjob\"} > (14.4*0.001)\n and\n job:slo_errors_per_request:ratio_rate5m{job=\"myjob\"} > (14.4*0.001)\n )\n or\n (\n job:slo_errors_per_request:ratio_rate6h{job=\"myjob\"} > (6*0.001)\n and\n job:slo_errors_per_request:ratio_rate30m{job=\"myjob\"} > (6*0.001)\n )\nseverity: page\n\nexpr: (\n job:slo_errors_per_request:ratio_rate24h{job=\"myjob\"} > (3*0.001)\n and\n job:slo_errors_per_request:ratio_rate2h{job=\"myjob\"} > (3*0.001)\n )\n or\n (\n job:slo_errors_per_request:ratio_rate3d{job=\"myjob\"} > 0.001\n and\n job:slo_errors_per_request:ratio_rate6h{job=\"myjob\"} > 0.001\n )\nseverity: ticket\n```\n\nWe recommend the parameters listed in Table 5-8 as the starting point for your SLO-based alerting configuration.\n\n| Severity | Long window | Short window | Burn rate | Error budget consumed |\n| --- | --- | --- | --- | --- |\n| Page | 1 hour | 5 minutes | 14.4 | 2% |\n| Page | 6 hours | 30 minutes | 6 | 5% |\n| Ticket | 3 days | 6 hours | 1 | 10% |\n\nWe have found that alerting based on multiple burn rates is a powerful way to implement SLO-based alerting.\n\nTable 5-9 shows the benefits and limitations of using multiple burn rates and window sizes.\n\n| Pros | Cons |\n| --- | --- |\n| A flexible alerting framework that allows you to control the type of alert according to the severity of the incident and the requirements of the organization. Good precision, as with all fixed-budget portion alert approaches. Good recall, because of the three-day window. | Lots of parameters to specify, which can make alerting rules hard to manage. For more on managing alerting rules, see Alerting at Scale. |\n\n# Low-Traffic Services and Error Budget Alerting\n\nThe multiwindow, multi-burn-rate approach just detailed works well when a sufficiently high rate of incoming requests provides a meaningful signal when an issue arises. However, these approaches can cause problems for systems that receive a low rate of requests. If a system has either a low number of users or natural low-traffic periods (such as nights and weekends), you may need to alter your approach.\n\nIt’s harder to automatically distinguish unimportant events in low-traffic services. For example, if a system receives 10 requests per hour, then a single failed request results in an hourly error rate of 10%. For a 99.9% SLO, this request constitutes a 1,000x burn rate and would page immediately, as it consumed 13.9% of the 30-day error budget. This scenario allows for only seven failed requests in 30 days. Single requests can fail for a large number of ephemeral and uninteresting reasons that aren’t necessarily cost-effective to solve in the same way as large systematic outages.\n\nThe best solution depends on the nature of the service: what is the impact3 of a single failed request? A high-availability target may be appropriate if failed requests are one-off, high-value requests that aren’t retried. It may make sense from a business perspective to investigate every single failed request. However, in this case, the alerting system notifies you of an error too late.\n\nWe recommend a few key options to handle a low-traffic service:\n\n- Generate artificial traffic to compensate for the lack of signal from real users.\n- Combine smaller services into a larger service for monitoring purposes.\n- Modify the product so that either:\n\n##### Generating Artificial Traffic\n\nA system can synthesize user activity to check for potential errors and high-latency requests. In the absence of real users, your monitoring system can detect synthetic errors and requests, so your on-call engineers can respond to issues before they impact too many actual users.\n\nArtificial traffic provides more signals to work with, and allows you to reuse your existing monitoring logic and SLO values. You may even already have most of the necessary traffic-generating components, such as black-box probers and integration tests.\n\nGenerating artificial load does have some downsides. Most services that warrant SRE support are complex, and have a large system control surface. Ideally, the system should be designed and built for monitoring using artificial traffic. Even for a nontrivial service, you can synthesize only a small portion of the total number of user request types. For a stateful service, the greater number of states exacerbates this problem.\n\nAdditionally, if an issue affects real users but doesn’t affect artificial traffic, the successful artificial requests hide the real user signal, so you aren’t notified that users see errors.\n\n##### Combining Services\n\nIf multiple low-traffic services contribute to one overall function, combining their requests into a single higher-level group can detect significant events more precisely and with fewer false positives. For this approach to work, the services must be related in some way—you can combine microservices that form part of the same product, or multiple request types handled by the same binary.\n\nA downside to combining services is that a complete failure of an individual service may not count as a significant event. You can increase the likelihood that a failure will affect the group as a whole by choosing services with a shared failure domain, such as a common backend database. You can still use longer-period alerts that eventually catch these 100% failures for individual services.\n\n##### Making Service and Infrastructure Changes\n\nAlerting on significant events aims to provide sufficient notice to mitigate problems before they exhaust the entire error budget. If you can’t adjust the monitoring to be less sensitive to ephemeral events, and generating synthetic traffic is impractical, you might instead consider changing the service to reduce the user impact of a single failed request. For example, you might:\n\n- Modify the client to retry, with exponential backoff and jitter. 4\n- Set up fallback paths that capture the request for eventual execution, which can take place on the server or on the client.\n\nThese changes are useful for high-traffic systems, but even more so for low-traffic systems: they allow for more failed events in the error budget, more signal from monitoring, and more time to respond to an incident before it becomes significant.\n\n##### Lowering the SLO or Increasing the Window\n\nYou might also want to reconsider if the impact of a single failure on the error budget accurately reflects its impact on users. If a small number of errors causes you to lose error budget, do you really need to page an engineer to fix the issue immediately? If not, users would be equally happy with a lower SLO. With a lower SLO, an engineer is notified only of a larger sustained outage.\n\nOnce you have negotiated lowering the SLO with the service’s stakeholders (for example, lowering the SLO from 99.9% to 99%), implementing the change is very simple: if you already have systems in place for reporting, monitoring, and alerting based upon an SLO threshold, simply add the new SLO value to the relevant systems.\n\nLowering the SLO does have a downside: it involves a product decision. Changing the SLO affects other aspects of the system, such as expectations around system behavior and when to enact the error budget policy. These other requirements may be more important to the product than avoiding some number of low-signal alerts.\n\nIn a similar manner, increasing the time window used for the alerting logic ensures alerts that trigger pages are more significant and worthy of attention.\n\nIn practice, we use some combination of the following methods to alert for low-traffic services:\n\n- Generating fake traffic, when doing so is possible and can achieve good coverage\n- Modifying clients so that ephemeral failures are less likely to cause user harm\n- Aggregating smaller services that share some failure mode\n- Setting SLO thresholds commensurate with the actual impact of a failed request\n\n# Extreme Availability Goals\n\nServices with an extremely low or an extremely high availability goal may require special consideration. For example, consider a service that has a 90% availability target. Table 5-8 says to page when 2% of the error budget in a single hour is consumed. Because a 100% outage consumes only 1.4% of the budget in that hour, this alert could never fire. If your error budgets are set over long time periods, you may need to tune your alerting parameters.\n\nFor services with an extremely high availability goal, the time to exhaustion for a 100% outage is extremely small. A 100% outage for a service with a target monthly availability of 99.999% would exhaust its budget in 26 seconds—which is smaller than the metric collection interval of many monitoring services, let alone the end-to-end time to generate an alert and pass it through notification systems like email and SMS. Even if the alert goes straight to an automated resolution system, the issue may entirely consume the error budget before you can mitigate it.\n\nReceiving notifications that you have only 26 seconds of budget left isn’t necessarily a bad strategy; it’s just not useful for defending the SLO. The only way to defend this level of reliability is to design the system so that the chance of a 100% outage is extremely low. That way, you can fix issues before consuming the budget. For example, if you initially roll out that change to only 1% of your users, and burn your error budget at the same rate of 1%, you now have 43 minutes before you exhaust your error budget. See [Canarying Releases](https://sre.google/workbook/canarying-releases/) for tactics on designing such a system.\n\n# Alerting at Scale\n\nWhen you scale your service, make sure that your alerting strategy is likewise scalable. You might be tempted to specify custom alerting parameters for individual services. If your service comprises 100 microservices (or equivalently, a single service with 100 different request types), this scenario very quickly accumulates toil and cognitive load that does not scale.\n\nIn this case, we strongly advise against specifying the alert window and burn rate parameters independently for each service, because doing so quickly becomes overwhelming.5 Once you decide on your alerting parameters, apply them to all your services.\n\nOne technique for managing a large number of SLOs is to group request types into buckets of approximately similar availability requirements. For example, for a service with availability and latency SLOs, you can group its request types into the following buckets:\n\n`CRITICAL`\n\n- For request types that are the most important, such as a request when a user logs in to the service.\n\n`HIGH_FAST`\n\n- For requests with high availability and low latency requirements. These requests involve core interactive functionality, such as when a user clicks a button to see how much money their advertising inventory has made this month.\n\n`HIGH_SLOW`\n\n- For important but less latency-sensitive functionality, such as when a user clicks a button to generate a report of all advertising campaigns over the past few years, and does not expect the data to return instantly.\n\n`LOW`\n\n- For requests that must have some availability, but for which outages are mostly invisible to users—for example, polling handlers for account notifications that can fail for long periods of time with no user impact.\n\n`NO_SLO`\n\n- For functionality that is completely invisible to the user—for example, dark launches or alpha functionality that is explicitly outside of any SLO.\n\nBy grouping requests rather than placing unique availability and latency objectives on all request types, you can group requests into five buckets, like the example in Table 5-10.\n\n| Request class | Availability | Latency @ 90%6 | Latency @ 99% |\n| --- | --- | --- | --- |\n| `CRITICAL` | 99.99% | 100 ms | 200 ms |\n| `HIGH_FAST` | 99.9% | 100 ms | 200 ms |\n| `HIGH_SLOW` | 99.9% | 1,000 ms | 5,000 ms |\n| `LOW` | 99% | None | None |\n| `NO_SLO` | None | None | None |\n\nThese buckets provide sufficient fidelity for protecting user happiness, but entail less toil than a system that is more complicated and expensive to manage that probably maps more precisely to the user experience.\n\n# Conclusion\n\nIf you set SLOs that are meaningful, understood, and represented in metrics, you can configure alerting to notify an on-caller only when there are actionable, specific threats to the error budget.\n\nThe techniques for alerting on significant events range from alerting when your error rate goes above your SLO threshold to using multiple levels of burn rate and window sizes. In most cases, we believe that the multiwindow, multi-burn-rate alerting technique is the most appropriate approach to defending your application’s SLOs.\n\nWe hope we have given you the context and tools required to make the right configuration decisions for your own application and organization.\n\n1Duration clauses can occasionally be useful when you are filtering out ephemeral noise over very short durations. However, you still need to be aware of the cons listed in this section.\n\n2As described in the [introduction](https://sre.google/sre-book/introduction/) to Site Reliability Engineering, pages and tickets are the only valid ways to get a human to take action.\n\n3The section [What to Measure: Using SLIs](https://sre.google/workbook/implementing-slos#what-to-measure-using-slis) recommends a style of SLI that scales according to the impact on the user.\n\n4See [“Overloads and Failure”](https://sre.google/sre-book/service-best-practices#id-AnCKIZFpUej) in Site Reliability Engineering.\n\n5With the exception of temporary changes to alerting parameters, which are necessary when you’re fixing an ongoing outage and you don’t need to receive notifications during that period.\n\n6Ninety percent of requests are [faster than this threshold](https://sre.google/sre-book/service-level-objectives#id-9nCjSvF4t4iN).", "znaku_textu": 27958, "slov": 4492, "odkazu": 78, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:31", "sha256": "5a2195ae9280d92489ec6c5be9781ef191d73137514da7c716ebabf5479cfcf5", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://prometheus.io/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/canarying-releases/", "titulek": "Google SRE - Canary Release: Deployment Safety and Efficiency", "h1": "Canarying Releases", "popis": "Discover how canary release can improve deployment safety by testing new changes on a small portion of users before a full rollout.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/canarying-releases/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/canarying-releases/"}, "headline": "Canarying Releases", "description": "We define canarying as a partial and time-limited deployment of a change in a service and its evaluation. This evaluation helps us decide whether or not to proceed with the rollout. The part of the service that receives the change is 'the canary', and the remainder of the service is 'the control'.", "image": "https://lh3.googleusercontent.com/FLe0gFWs3z9ZDLh-R5tPmX-eEY6Gh6_X3Xxj-foAsiriHg3YX7okGWh4E0tS3web5kaGkvjNib9ttwYVw8vryV6lwjy4zP7c1pOY", "author": [{"@type": "Person", "name": "Alec Warner"}, {"@type": "Person", "name": "Štěpán Davidovič"}, {"@type": "Person", "name": "Alex Hidalgo"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Kyle Smith"}, {"@type": "Person", "name": "Matt Duftler"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Canarying Releases"}, {"uroven": 2, "text": "Release Engineering Principles"}, {"uroven": 1, "text": "Balancing Release Velocity and Reliability"}, {"uroven": 1, "text": "What Is Canarying?"}, {"uroven": 1, "text": "Release Engineering and Canarying"}, {"uroven": 5, "text": "Requirements of a Canary Process"}, {"uroven": 5, "text": "Our Example Setup"}, {"uroven": 1, "text": "A Roll Forward Deployment Versus a Simple Canary Deployment"}, {"uroven": 1, "text": "Canary Implementation"}, {"uroven": 5, "text": "Minimizing Risk to SLOs and the Error Budget"}, {"uroven": 5, "text": "Choosing a Canary Population and Duration"}, {"uroven": 1, "text": "Selecting and Evaluating Metrics"}, {"uroven": 5, "text": "Metrics Should Indicate Problems"}, {"uroven": 5, "text": "Metrics Should Be Representative and Attributable"}, {"uroven": 5, "text": "Before/After Evaluation Is Risky"}, {"uroven": 5, "text": "Use a Gradual Canary for Better Metric Selection"}, {"uroven": 1, "text": "Dependencies and Isolation"}, {"uroven": 1, "text": "Canarying in Noninteractive Systems"}, {"uroven": 1, "text": "Requirements on Monitoring Data"}, {"uroven": 5, "text": "Blue/Green Deployment"}, {"uroven": 5, "text": "Artificial Load Generation"}, {"uroven": 5, "text": "Traffic Teeing"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Canarying Releases\n\nBy Alec Warner and Štěpán Davidovič\nwith Alex Hidalgo, Betsy Beyer, Kyle Smith, and Matt Duftler\n\nRelease engineering is a term we use to describe all the processes and artifacts related to getting code from a repository into a running production system. Automating releases can help avoid many of the traditional pitfalls associated with release engineering: the toil of repetitive and manual tasks, the inconsistency of a nonautomated process, the inability of knowing the exact state of a rollout, and the difficulty of rolling back. The [automation of release engineering](https://sre.google/sre-book/release-engineering/) has been well covered in other literature—for example, books on continuous integration and continuous delivery (CI/CD).1\n\nWe define canarying as a partial and time-limited deployment of a change in a service and its evaluation. This evaluation helps us decide whether or not to proceed with the rollout. The part of the service that receives the change is “the canary,” and the remainder of the service is “the control.” The logic underpinning this approach is that usually the canary deployment is performed on a much smaller subset of production, or affects a much smaller subset of the user base than the control portion. Canarying is effectively an A/B testing process.\n\nWe’ll first cover the basics of [release engineering](../../sre-book/release-engineering/) and the benefits of automating releases to establish a shared vocabulary.\n\n## Release Engineering Principles\n\nThe basic principles of release engineering are as follows:\n\nReproducible builds\n\n- The build system should be able to take the build inputs (source code, assets, and so on) and produce repeatable artifacts. The code built from the same inputs last week should produce the same output this week.\n\nAutomated builds\n\n- Once code is checked in, automation should produce build artifacts and upload them to a storage system.\n\nAutomated tests\n\n- Once the automated build system builds artifacts, a test suite of some kind should ensure they function.\n\nAutomated deployments\n\n- Deployments should be performed by computers, not humans.\n\nSmall deployments\n\n- Build artifacts should contain small, self-contained changes.\n\nThese principles provide specific benefits to operators:\n\n- Reducing operational load on engineers by removing manual and repetitive tasks.\n- Enforcing peer review and version control, since automation is generally code-based.\n- Establishing consistent, repeatable, automated processes, resulting in fewer mistakes.\n- Enabling monitoring of the release pipeline, allowing for measurement and continuous improvement by addressing questions like:\n\nCI/CD coupled with release automation can deliver continuous improvements to the development cycle, as shown in Figure 16-1. When releases are automated, you can release more often. For software with a nontrivial rate of change, releasing more often means fewer changes are bundled in any given release artifact. Smaller, self-contained release artifacts make it cheaper and easier to roll back any given release artifact in the event of a bug. Quicker release cadences mean that bug fixes reach users faster.\n\nFigure 16-1. The virtuous cycle of CI/CD\n\n# Balancing Release Velocity and Reliability\n\nRelease velocity (hereafter called “shipping”) and reliability are often treated as opposing goals. The business wants to ship new features and product improvements as quickly as possible with 100% reliability! While that goal is not achievable (as 100% is never the right target for reliability; see [Implementing SLOs](https://sre.google/workbook/implementing-slos/)), it is possible to ship as quickly as possible while meeting specific reliability goals for a given product.\n\nThe first step toward this goal is understanding the impact of shipping on software reliability. In Google’s experience, a majority of incidents are triggered by binary or configuration pushes (see [Results of Postmortem Analysis](https://sre.google/workbook/postmortem-analysis/)). Many kinds of software changes can result in a system failure—for example, changes in the behavior of an underlying component, changes in the behavior of a dependency (such as an API), or a change in configuration like DNS.\n\nDespite the risk inherent in making changes to software, these changes—bug fixes, security patches, and new features—are necessary for the business to succeed. Instead of advocating against change, you can use the concept of SLOs and error budgets to measure the impact of releases on your reliability. Your goal should be to ship software as quickly as possible while meeting the reliability targets your users expect. The following section discusses how you can use a canary process to achieve these goals.\n\n# What Is Canarying?\n\nThe term canarying refers to the [practice of bringing canaries into coal mines to determine if the mine is safe for humans](https://en.wikipedia.org/wiki/John_Scott_Haldane). Because the birds are smaller and breathe faster than humans, they are intoxicated by dangerous gases faster than their human handlers.\n\nEven if your release pipeline is fully automated, you won’t be able to detect all release-related defects until real traffic is hitting the service. By the time a release is ready to be deployed to production, your testing strategy should instill reasonable confidence that the release is safe and works as intended. However, your test environments aren’t 100% identical to production, and your tests probably don’t cover 100% of possible scenarios. Some defects will reach production. If a release deploys instantly everywhere, any defects will deploy in the same way.\n\nThis scenario might be acceptable if you can detect and resolve the defects quickly. However, you have a safer alternative: initially expose just some of your production traffic to the new release using a canary. Canarying allows the deployment pipeline to detect defects as quickly as possible with as little impact to your service as possible.\n\n# Release Engineering and Canarying\n\nWhen deploying a new version of a system or its key components (such as configuration or data), we bundle changes—changes that typically have not been exposed to real-world inputs, such as user-facing traffic or batch processing of user-supplied data. Changes bring new features and capabilities, but they also bring risk that is exposed at the time of deployment. Our goal is to mitigate this risk by testing each change on a small portion of traffic to gain confidence that it has no ill effects. We will discuss evaluation processes later in this chapter.\n\nThe canary process also lets us gain confidence in our change as we expose it to larger and larger amounts of traffic. Introducing the change to actual production traffic also enables us to identify problems that might not be visible in testing frameworks like unit testing or load testing, which are often more artificial.\n\nWe will examine the process of canarying and its evaluation using a worked example, while steering clear of a deep dive into statistics. Instead, we focus on the process as a whole and typical practical considerations. We use a simple application on App Engine to illustrate various aspects of the rollout.\n\n##### Requirements of a Canary Process\n\nCanarying for a given service requires specific capabilities:\n\n- A method to deploy the canary change to a subset of the population of the service. 2\n- An evaluation process to evaluate if the canaried change is “good” or “bad.”\n- Integration of the canary evaluations into the release process.\n\nUltimately, the canary process demonstrates value when canaries detect bad release candidates with high confidence, and identify good releases without false positives.\n\n##### Our Example Setup\n\nWe’ll use a simple frontend web service application to illustrate some canarying concepts. The application offers an HTTP-based API that consumers can use to manipulate various data (simple information like the price of a product). The example application has some tunable parameters that we can use to simulate various production symptoms, to be evaluated by the canary process. For example, we can make the application return errors for 20% of requests, or we can stipulate that 5% of requests take at least two seconds.\n\nWe illustrate the canary process using an application deployed on Google App Engine, but the principles apply to any environment. While the example application is fairly contrived, in real-world scenarios, similar applications share common signals with our example that can be used in a canary process.\n\nOur example service has two potential versions: live and release candidate. The live version is the version currently deployed in production, and the release candidate is a newly built version. We use these versions to illustrate various rollout concepts and how to implement canaries to make the rollout process safer.\n\n# A Roll Forward Deployment Versus a Simple Canary Deployment\n\nLet’s first look at a deployment with no canary process, so we can later compare it to a canaried deployment in terms of error budget savings and general impact when a breakage occurs. Our deployment process features a development environment. Once we feel the code is working in the development environment, we deploy that version in the production environment.\n\nShortly after our deployment, our monitoring starts reporting a high rate of errors (see Figure 16-2, where we intentionally configured our sample application to fail 20% of requests to simulate a defect in the example service). For the sake of this example, let’s say that our deployment process doesn’t provide us the option to roll back to a previously known good configuration. Our best option to fix the errors is to find defects in the production version, patch them, and deploy a new version during the outage. This course of action will almost certainly prolong the user impact of the bug.\n\nFigure 16-2. High rate of errors after deployment\n\nTo improve upon this initial deployment process, we can utilize canaries in our rollout strategy to reduce the impact of a bad code push. Instead of deploying to production all at once, we need a way to create a small segment of production that runs our release candidate. Then we can send a small portion of the traffic to that segment of production (the canary) and compare it against the other segment (the control). Using this method, we can spot defects in the release candidate before all of production is affected.\n\nThe simple canary deployment in our App Engine example [splits traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic) between specific labeled versions of our application. You can split traffic using App Engine, or any number of other methods, such as backend weights on a load balancer, proxy configurations, or round-robin DNS records.\n\nFigure 16-3 shows that the impact of the change is greatly reduced when we use a canary; in fact, the errors are barely visible! This raises an interesting issue: the canary evaluation is difficult to see and track compared to the overall traffic trend.\n\nFigure 16-3. Error rate of canary deployment; because the canary population is a small subset of production, the overall error rate is reduced\n\nTo get a clearer picture of the errors we need to track at a reasonable scale, we can look at our key metric (HTTP response codes) by App Engine application version, as shown in Figure 16-4. When we look at per-version breakdown, we can plainly see the errors the new version introduces. We can also observe from Figure 16-4 that the live version is serving very few errors.\n\nWe can now tune our deployment to automatically react based on the HTTP error rate by App Engine version. If the error rate of the canary metric is too far from the control error rate, this signals the canary deployment is “bad.” In response, we should pause and roll back the deployment, or perhaps contact a human to help troubleshoot the issue. If the error ratios are similar, we can proceed with the deployment as normal. In the case of Figure 16-4, our canary deployment is clearly bad and we should roll it back.\n\nFigure 16-4. HTTP response codes by App Engine version; the release candidate serves the vast majority of the errors, while the live version produces a low number of errors at a steady state (note: the graph uses a base-10 log scale)\n\n# Canary Implementation\n\nNow that we’ve seen a fairly trivial canary deployment implementation, let’s dig deeper into the parameters that we need to understand for a successful canary process.\n\n##### Minimizing Risk to SLOs and the Error Budget\n\n[Implementing SLOs](https://sre.google/workbook/implementing-slos/) discusses how SLOs reflect business requirements around service availability. These requirements also apply to canary implementations. The canary process risks only a small fragment of our error budget, which is limited by time and the size of the canary population.\n\nGlobal deployment can place the SLO at risk fairly quickly. If we deploy the candidate from our trivial example, we would risk failing 20% of requests. If we instead use a canary population of 5%, we serve 20% errors for 5% of traffic, resulting in a 1% overall error rate (as seen earlier in Figure 16-3). This strategy allows us to conserve our error budget—impact on the budget is directly proportional to the amount of traffic exposed to defects. We can assume that detection and rollback take about the same time for both the naive deployment and the canary deployment, but when we integrate a canary process into our deployment, we learn valuable information about our new version at a much lower cost to our system.\n\nThis is a very simple model that assumes uniform load. It also assumes that we can spend our entire error budget (beyond what we’ve already included in the organic measurement of current availability) on canaries. Rather than actual availability, here we consider only unavailability introduced by new releases. Our model also assumes a 100% failure rate because this is a worst-case scenario.3 It is likely that defects in the canary deployment will not affect 100% of system usage. We also allow overall system availability to go below SLO for the duration of the canary deployment.4\n\nThis model has clear flaws, but is a solid starting point that you can adjust to match business needs.5 We recommend using the simplest model that meets your technical and business objectives. In our experience, focusing on making the model as technically correct as possible often leads to overinvestment in modeling. For services with high rates of complexity, overly complex models can lead to incessant model tuning for no real benefit.\n\n##### Choosing a Canary Population and Duration\n\nWhen choosing an appropriate canary duration, you need to factor in development velocity. If you release daily, you can’t let your canary last for a week while running only one canary deployment at a time. If you deploy weekly, you have time to perform fairly long canaries. If you deploy continuously (for example, 20 times in a day), your canary duration must be significantly shorter. On a related note, while we can run multiple canary deployments simultaneously, doing so adds significant mental effort to track system state. This can become problematic during any nonstandard circumstances, when reasoning about the system’s state quickly is important. Running simultaneous canaries also increases the risk of signal contamination if the canaries overlap. We strongly advise running only one canary deployment at a time.\n\nFor basic evaluation, we do not need a terribly large canary population in order to detect key critical conditions.6 However, a representative canary process requires decisions across many dimensions:\n\nSize and duration\n\n- It should be sizeable and last long enough to be representative of the overall deployment. Terminating a canary deployment after receiving just a handful of queries doesn’t provide a useful signal for systems characterized by diverse queries with varied functionality. The higher the processing rate, the less time is required to get a representative sample in order to ensure the observed behavior is actually attributable to the canaried change, and not just a random artifact.\n\nTraffic volume\n\n- We need to receive enough traffic on the system to ensure it has handled a representative sample, and that the system has a chance to react negatively to the inputs. Typically, the more homogeneous the requests, the less traffic volume you need.\n\nTime of day\n\n- Performance defects typically manifest only under heavy load, 7 so deploying at an off-peak time likely wouldn’t trigger performance-related defects.\n\nMetrics to evaluate\n\n- The representativeness of a canary is tightly connected to the metrics we choose to evaluate (which we’ll discuss later in this chapter). We can evaluate trivial metrics like query success quickly, but other metrics (such as queue depth) may need more time or a large canary population to provide a clear signal.\n\nFrustratingly, these requirements can be mutually at odds. Canarying is a balancing act, informed both by cold analysis of worst-case scenarios and the past realistic track record of a system. Once you’ve gathered metrics from past canaries, you can choose canary parameters based upon typical canary evaluation failure rates rather than hypothetical worst-case scenarios.\n\n# Selecting and Evaluating Metrics\n\nSo far, we have been looking at the success ratio, a very clear and obvious metric for canary evaluation. But intuitively, we know this single metric is not sufficient for a meaningful canary process. If we serve all requests at 10 times the latency, or use 10 times as much memory while doing so, we might also have a problem. Not all metrics are good candidates for evaluating a canary. What properties of metrics are best suited for evaluating whether a canary is good or bad?\n\n##### Metrics Should Indicate Problems\n\nFirst and foremost, the metric needs to be able to indicate problems in the service. This is tricky because what constitutes a “problem” isn’t always objective. We can probably consider a failed user request problematic.8 But what if a request takes 10% longer, or the system requires 10% more memory? We typically recommend using SLIs as a place to start thinking about canary metrics. Good SLIs tend to have strong attribution to service health. If SLIs are already being measured to drive SLO compliance, we can reuse that work.\n\nAlmost any metric can be problematic when taken to the extreme, but there’s also a cost to adding too many metrics to your canary process. We need to correctly define a notion of acceptable behavior for each of the metrics. If the idea of acceptable behavior is overly strict, we will get lots of false positives; that is, we will think a canary deployment is bad, even though it isn’t. Conversely, if a definition of acceptable behavior is too loose, we will be more likely to let a bad canary deployment go undetected. Choosing what’s acceptable behavior correctly can be an expensive process—it’s time-consuming and requires analysis. When it’s done poorly, however, your results can completely mislead you. Also, you need to reevaluate expectations on a regular basis as the service, its feature set, and its behavior evolve.\n\nWe should stack-rank the metrics we want to evaluate based on our opinion of how well they indicate actual user-perceivable problems in the system. Select the top few metrics to use in canary evaluations (perhaps no more than a dozen). Too many metrics can bring diminishing returns, and at some point, the returns are outweighed by the cost of maintaining them, or the negative impact on trust in the release process if they are not maintained.\n\nTo make this guideline more tangible, let’s look at our example service. It has many metrics we might evaluate: CPU usage, memory footprint, HTTP return codes (200s, 300s, etc.), latency of response, correctness, and so on. In this case, our best metrics are likely the HTTP return codes and latency of response because their degradation most closely maps to an actual problem that impacts users. In this scenario, metrics for CPU usage aren’t as useful: an increase in resource usage doesn’t necessarily impact a service and may result in a flaky or noisy canary process. This can result in the canary process being disabled or ignored by operators, which can defeat the point of having a canary process in the first place. In the case of frontend services, we intuitively know that being slower or failing to respond are typically reliable signals that there are problems in the service.\n\nHTTP return codes contain interesting tricky cases, such as code 404, which tells us the resource was not found. This could happen because users get the wrong URL (imagine a broken URL getting shared on a popular discussion board), or because the server incorrectly stops serving a resource. Often we can work around problems like this by excluding 400-level codes from our canary evaluation and adding black-box monitoring to test for the presence of a particular URL. We can then include the black-box data as part of our canary analysis to help isolate our canary process from odd user behaviors.\n\n##### Metrics Should Be Representative and Attributable\n\nThe source of changes in the observed metrics should be clearly attributable to the change we are canarying, and should not be influenced by external factors.\n\nIn a large population (for example, many servers or many containers), we are likely to have outliers—oversubscribed machines, machines running different kernels with different performance characteristics, or machines on an overloaded segment of the network. The difference between the canary population and the control is just as much a function of the change we have deployed as the difference between the two infrastructures on which we deploy.\n\nManaging canaries is a balancing act between a number of forces. Increasing the size of the canary population is one way to decrease impact of this problem (as discussed earlier). When we reach what we consider a reasonable canary population size for our system, we need to consider whether the metrics we have chosen could show high variance.\n\nWe should also be aware of shared failure domains between our canary and control environments; a bad canary could negatively impact the control, while bad behavior in the system might lead us to incorrectly evaluate the canary. Similarly, make sure that your metrics are well isolated. Consider a system that runs both our application and other processes. A dramatic increase in CPU usage of the system as a whole would make for a poor metric, as other processes in the system (database load, log rotation, etc.) might be causing that increase. A better metric would be CPU time spent as the process served the request. An even better metric would be CPU time spent serving the request over the window of time the serving process was actually scheduled on a CPU. While a heavily oversubscribed machine colocated with our process is obviously a problem (and monitoring should catch it!), it isn’t caused by the change we’re canarying, so it should not be flagged as a canary deployment failure.\n\nCanaries also need to be attributable; that is, you should also be able to tie the canary metric to SLIs. If a metric can change wildly with no impact to service, it’s unlikely to make a good canary metric.\n\n##### Before/After Evaluation Is Risky\n\nA before/after canary process is an extension of the attribution problem. In this process, the old system is fully replaced by the new system, and your canary evaluation compares system behavior before and after the change over a set period of time. One might call this process a “canary deployment in time-space,” where you choose the A/B groups by segmenting time instead of segmenting the population by machines, cookies, or other means. Because time is one of the biggest sources of change in observed metrics, it is difficult to assess degradation of performance with before/after evaluation.\n\nWhile the canary deployment might have caused the degradation, the degradation may very well have happened in the control system too. This scenario becomes even more problematic if we attempt to run a canary deployment over a longer period of time. For example, if we perform a release on Monday, we may be comparing behavior during a business day to behavior during a weekend, introducing a large amount of noise. In this example, users may use the service very differently over the weekend, thereby introducing noise in the canary process.\n\nThe before/after process itself introduces a question of whether a big error spike (as introduced by a before/after evaluation) is better than a small but possibly longer rate of errors (as introduced by a small canary). If the new release is completely broken, how quickly can we detect and revert? A before/after canary may detect the problem faster, but the overall time to recovery may still be quite substantial and similar to a smaller canary. During that time, users suffer.\n\n##### Use a Gradual Canary for Better Metric Selection\n\nMetrics that don’t meet our ideal properties may still bring great value. We can introduce these metrics by using a more nuanced canary process.\n\nInstead of simply evaluating a single canary stage, we can use a canary containing multiple stages that reflect our ability to reason about the metrics. In the first stage, we have no confidence or knowledge about the behavior of this release. We therefore want to use a small stage in order to minimize negative impact. In a small canary, we prefer metrics that are the clearest indication of a problem—application crashes, request failures, and the like. Once this stage passes successfully, the next stage will have a larger canary population to increase confidence in our analysis of the impact of the changes.\n\n# Dependencies and Isolation\n\nThe system being tested will not operate in a complete vacuum. For practical reasons, the canary population and the control may share backends, frontends, networks, data stores, and other infrastructure. There may even be extremely nonobvious interactions with the client. For example, imagine two consecutive requests sent by a single client. The first request may be handled by the canary deployment. The response by the canary may change the content of the second request, which may land on the control, altering the control’s behavior.\n\nImperfect isolation has several consequences. Most importantly, we need to be aware that if the canarying process provides results that indicate we should stop a production change and investigate the situation, the canary deployment isn’t necessarily at fault. This fact is true of canarying in general, but in practice, it’s frequently enforced by isolation issues.\n\nAdditionally, imperfect isolation means that bad behavior of the canary deployment can also negatively impact the control. Canarying is an A/B comparison, and it’s possible that both A and B can change in tandem; this may cause confusion in the canary evaluation. It is important to also use absolute measures, such as defined SLOs, to ensure the system is operating correctly.\n\n# Canarying in Noninteractive Systems\n\nThe chapter has focused on an interactive request/response system, which in many ways is the simplest and most commonly discussed system design. Other systems, such as asynchronous processing pipelines, are equally important, but have different canarying considerations, which we’ll enumerate briefly. For more information on canarying as related to data processing pipelines, see [Data Processing Pipelines](https://sre.google/workbook/data-processing/).\n\nFirst and foremost, the duration and deployment of the canary inherently depends on the duration of work unit processing. We’ve ignored this factor when it comes to interactive systems, assuming work unit processing will take no more than a few seconds, which is shorter than the canary duration. Work unit processing in noninteractive systems, such as rendering pipelines or video encoding, can take much longer. Accordingly, make sure the canary duration at minimum spans the duration of a single work unit.\n\nIsolation can become more complex for noninteractive systems. Many pipeline systems have a single work assigner and a fleet of workers with the application code. In multistage pipelines, a work unit is processed by a worker, then returned to the pool for the same or another worker to perform the next stage of processing. It is helpful for canary analysis to ensure that the workers processing a particular unit of work are always pulled from the same pool of workers—either the canary pool or the control pool. Otherwise, the signals get increasingly mixed (for more about the need to untangle signals, see Requirements on Monitoring Data).\n\nFinally, metric selection can be more complicated. We may be interested in end-to-end time to process the work unit (similar to latency in interactive systems), as well as quality of the processing itself (which is, of course, completely application-specific).\n\nGiven these caveats, the general concept of canarying remains viable, and the same high-level principles apply.\n\n# Requirements on Monitoring Data\n\nWhen conducting canary evaluation, you must be able to compare the canary signals to the control signals. Often, this requires some care in structuring the monitoring system—effective comparisons are straightforward and produce meaningful results.\n\nConsider our earlier example of a canary deployment to 5% of the population that runs at a 20% error rate. Because monitoring likely looks at the system as a whole, it will detect an overall error rate of only 1%. Depending on the system, this signal might be indistinguishable from other sources of errors (see Figure 16-3).\n\nIf we break down metrics by population servicing the request (the canary versus the control), we can observe the separate metrics (see Figure 16-4). We can plainly see the error rate in the control versus the canary, a stark illustration of what a full deployment would bring. Here we see that monitoring that reasons well about an entire service isn’t sufficient to analyze our canary. When collecting monitoring data, it is important to be able to perform fine-grained breakdowns that enable you to differentiate metrics between the canary and control populations.\n\nAnother challenge with collecting metrics is that canary deployments are time-limited by design. This can cause problems when metrics are aggregated over specific periods. Consider the metric errors per hour. We can calculate this metric by summing the requests over the past hour. If we use this metric to evaluate our canary, we might encounter problems, as described in the following timeline:\n\n1. An unrelated event causes some errors to occur.\n2. A canary is deployed to 5% of the population; the canary duration is 30 minutes.\n3. The canary system starts to watch the errors-per-hour metric to see if the deployment is good or bad.\n4. The deployment is detected as bad because the errors-per-hour metric is significantly different from the errors per hour of the control population.\n\nThis scenario is a result of using a metric that is computed hourly to evaluate a deployment that is only 30 minutes long. As a result, the canary process provides a very muddied signal. When using metrics to evaluate canary success, make sure the intervals of your metrics are either the same as or less than your canary duration.\n\nOften, our conversations with customers touch upon using blue/green deployment, artificial load generation, and/or traffic teeing in production. These concepts are similar to canarying, so while they’re not strictly canary processes, they might be used as such.\n\n##### Blue/Green Deployment\n\nBlue/green deployment maintains two instances of a system: one that is serving traffic (green), and another that is ready to serve traffic (blue). After deploying a new release in the blue environment, you can then move traffic to it. The cutover doesn’t require downtime, and rollback is a trivial reversal of the router change. One downside is that this setup uses twice as many resources as a more “traditional” deployment. In this setup, you are effectively performing a before/after canary (discussed earlier).\n\nYou can use blue/green deployments more or less as normal canaries by utilizing both blue and green deployments simultaneously (rather than independently). In this strategy, you can deploy the canary to the blue (standby) instance and slowly split traffic between green and blue environments. Both your evaluations and the metrics that compare the blue environment to the green environment should be tied to traffic control. This setup resembles an A/B canary, where the green environment is the control, the blue environment is the canary deployment, and the canary population is controlled by the amount of traffic sent to each.\n\n##### Artificial Load Generation\n\nInstead of exposing live user traffic to a canary deployment, it may be tempting to err on the side of safety and use artificial load generation. Often, you can run load tests in multiple deployment stages (QA, preproduction, and even in production). While these activities don’t qualify as canarying according to our definition, they are still viable approaches to finding defects with some caveats.\n\nTesting with synthetic load does a good job of maximizing code coverage, but doesn’t provide good state coverage. It can be especially hard to artificially simulate load in mutable systems (systems with caches, cookies, request affinity, etc.). Artificial load also might not accurately model organic traffic shifts that happen in a real system. Some regressions may manifest only during events not included in the artificial load, leading to gaps in coverage.\n\nArtificial load also works poorly in mutable systems. For example, it may be downright dangerous to attempt to generate artificial load on a billing system: the system might start sending callouts to credit card providers, which would then start actively charging customers. While we can avoid testing dangerous code paths, the lack of testing on these paths reduces our test coverage.\n\n##### Traffic Teeing\n\nIf artificial load is not representative, we could copy the traffic and send it to both the production system and the system in the test environment. This technique is referred to as teeing. While the production system serves the actual traffic and delivers responses to users, the canary deployment serves the copy and discards the responses. You might even compare the canary responses to the actual responses and run further analysis.\n\nThis strategy can provide representative traffic, but is often more complicated to set up than a more straightforward canary process. Traffic teeing also doesn’t adequately identify risk in stateful systems; copies of traffic may introduce unexpected influences between the seemingly independent deployments. For example, if the canary deployment and production systems share a cache, an artificially inflated cache hit rate would invalidate performance measurements for the canary metrics.\n\n# Conclusion\n\nYou can use a number of tools and approaches to automate your releases and introduce canarying into your pipeline. No single testing methodology is a panacea, and testing strategies should be informed by the requirements and behavior of the system. Canarying can be a simple, robust, and easily integratable way to supplement testing. When you catch system defects early, users are minimally impacted. Canarying can also provide confidence in frequent releases and improve development velocity. Just as testing methodology must evolve alongside system requirements and design, so must canarying.\n\n1The authors of this chapter are fans of Jez Humble and David Farley's book Continuous Delivery: Reliable Software Releases Through Build, Test, and Deployment Automation (Boston: Pearson, 2011).\n\n2The fraction of total service load you run on the canary should be proportional to the size of the canary population.\n\n3At least as far as availability is concerned. This analysis obviously does not cover the impact of incidents, such as a data leak.\n\n4For a sufficiently small canary, where the fraction of service equals the difference between actual availability and SLO, we can canary nonstop with confidence. This is our use of the error budget.\n\n5As British statistician George Box said, “Essentially, all models are wrong, but some are useful.” George E. P. Box and Norman R. Draper, Empirical Model-Building and Response Surfaces (New York: John Wiley and Sons, 1987).\n\n6See a discussion of real-world outages at [https://bit.ly/2LgorFz](https://www.usenix.org/conference/osdi14/technical-sessions/presentation/yuan).\n\n7For example, consider resource contention problems, such as database write conflicts or locking in multithreaded applications.\n\n8A failed user request isn’t necessarily problematic. User requests can fail because the user requested something unreasonable, such as accessing a nonexistent URL. We need to be disciplined in distinguishing errors like these from problems in the systems.", "znaku_textu": 37194, "slov": 5921, "odkazu": 69, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:01", "sha256": "aaa8cc0be260c5408b4376c8da435bf527f3ddefc34da083276b3d611e0caeeb", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://github.com/cfregly/gertrude", "https://github.com/etsy/feature", "https://sreworkbook.page.link/XfKZ", "https://en.wikipedia.org/wiki/John_Scott_Haldane", "https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic", "https://www.usenix.org/conference/osdi14/technical-sessions/presentation/yuan", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/colophon/", "titulek": "Google SRE - Intricate Design of the SRE Logo", "h1": "Colophon", "popis": "Explore the creative process behind the SRE logo design, a visual representation of the principles and practices of Site Reliability Engineering.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/colophon/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/colophon/"}, "headline": "Colophon", "description": "The animal on the cover of The Site Reliability Workbook is a green thornytail iguana (Uracentron azureum), an arboreal lizard that lives in the Amazon and other South American rainforests.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Colophon"}], "markdown": "# Colophon\n\nThe animal on the cover of The Site Reliability Workbook is a green thornytail iguana (Uracentron azureum), an arboreal lizard that lives in the Amazon and other South American rainforests.\n\nThe skin of this lizard is a very vivid green, interspersed with black stripes. As its name suggests, it also has rows of spikes on its tail, but the purpose of these is unclear. The green thornytail lizard is rather small, at about 3.5 inches long, and is difficult to spot in the wild because it tends to live high in the forest canopy (where it can more easily bask in sunlight). Ants make up the bulk of the lizard's diet, which it catches by using a \"sit and wait\" method until insects wander by its location on a tree.\n\nMany of the animals on O'Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to [animals.oreilly.com](https://www.oreilly.com/animals.csp).\n\nThe cover image is from a loose plate, source unknown. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag's Ubuntu Mono.", "znaku_textu": 1158, "slov": 201, "odkazu": 38, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:55", "sha256": "46e2acc05a562f1adee98389d432bf629c0ab71eb93bb525d678aeddeedc156b", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.oreilly.com/animals.csp", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/conclusion/", "titulek": "Google SRE - SRE for Developers: Insights and Innovations", "h1": "Conclusion", "popis": "The future of SRE for developers, including its adoption by enterprise, potential in other disciplines, and the growing global community.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/conclusion/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/conclusion/"}, "headline": "Conclusion", "description": "This volume has been a labor of love for us, and we are deeply grateful that you decided to read it. This process has taught each of us some surprising lessons about what SRE has become and made us all very excited to see what comes next.", "author": [{"@type": "Person", "name": "Dave Rensin"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Niall Richard Murphy"}, {"@type": "Person", "name": "Stephen Thorne"}, {"@type": "Person", "name": "Kent Kawahara"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Conclusion"}, {"uroven": 5, "text": "Onward…"}, {"uroven": 5, "text": "The Future Belongs to the Past"}, {"uroven": 5, "text": "SRE + "}, {"uroven": 5, "text": "Trickles, Streams, and Floods"}, {"uroven": 5, "text": "SRE Belongs to All of Us"}, {"uroven": 5, "text": "On Gratitude"}], "markdown": "# Conclusion\n\nBy Dave Rensin, Betsy Beyer, Niall Richard Murphy,\nStephen Thorne, and Kent Kawahara\n\n##### Onward…\n\nThe American economist Edgar Fiedler used to say that “[h]e who lives by the crystal ball soon learns to eat ground glass.” Predicting the future is dangerous.\n\nNonetheless, we’re going to risk the broken glass and try to say a few useful words about what we think comes after this book.\n\n##### The Future Belongs to the Past\n\nOur experiences since the publication of the first [SRE book](https://sre.google/sre-book/table-of-contents/) and the process of assembling this volume have clearly demonstrated a huge pent-up demand for SRE from enterprises both large and small. From this, some interesting observations emerge.\n\nFirst, large enterprises tend to have correspondingly large appetites to adopt SRE practices in a robust way. The familiar meme that large enterprises are slow to change is decidedly not true in this case. We expect to see a lot of interesting innovation in the SRE space from these firms over the next year, and that’s really exciting.\n\nNext, smaller firms are finding ways to adopt SRE practices regardless of whether or not they can staff a full-blown, globally distributed SRE team. We’ve long speculated that although the substance and sequence of the dishes are vitally important, people don’t have to eat the whole SRE meal at once. We are now seeing that notion put into good practice, and that’s also really exciting because it allows everyone to participate.\n\nFinally, if you are reading this book and wondering if there’s a market opportunity for you to offer services or build products that help firms adopt SRE, then the answer is a resounding yes. In fact, if that’s something you decide to do, please let us know through O'Reilly at [bookquestions@oreilly.com](mailto:bookquestions@oreilly.com). We’d like to keep up with your progress.\n\n##### SRE + \n\nWe heard from many thoughtful people that SRE principles and practices seem like they should also apply to other disciplines—particularly security. We didn’t cover the SRE/security overlap in the first book (or this book), but this is clearly a quickly burgeoning area of focus. If you’re wondering why we didn’t cover it in any depth in this volume, it’s because we’re not sure what we want to say about it (yet).\n\nAt the time of this writing (early spring 2018) we’re already seeing the emergence of the term DevSecOps—a recognition that development, security, and operations are all interdependent—in the marketplace. If you’re an SRE looking for a useful and unexplored space in which to spend some time, that’s a really good candidate!\n\nIn general, we think this is the start of a trend toward asking, “How would SRE be applied to ?” It certainly stands to reason that some SRE principles and practices could have value in other domains.\n\nWe’re pretty excited to see where that leads…\n\n##### Trickles, Streams, and Floods\n\nThe number of people offering to contribute content to this volume was much larger than the previous volume. That seems easy enough to explain—the first book was pretty popular, so people were keen to contribute to the second one. However, the variety of people offering to pitch in has been interesting. The types and range of the content proposals we evaluated surprised us. For example, a team of lawyers approached us about how they might incorporate error budgets into nontechnical legal agreements. How SRE applies to the legal profession is a topic clearly out of scope for this book, but is probably really interesting to a whole other professional population.\n\nBecause of this variety, we decided that this volume will not just be an implementation companion to the previous book. It will also be a launching point for whole new streams of SRE-related content. That means more books, articles, podcasts, videos, and who knows what else. This volume is a beginning, not an end.\n\n##### SRE Belongs to All of Us\n\nWhen we started work on the first book, our primary motivation was to explain SRE—this interesting thing we do to make Google work well for our users. It seemed useful to spread that knowledge around.\n\nIn our enthusiasm to explain our view of the world, we anchored on our direct experiences. As a result, we unintentionally alienated some in the larger DevOps community and beyond, who felt we ignored other organizations’ contributions to the field. This volume aims to correct that mistake by devoting considerable space to discussing DevOps and SRE and why they are not at odds.\n\nTo our great joy, SRE is a growing community of practitioners that now extends very far outside of Google. In fact, it’s likely that the number of non-Google SREs will significantly outnumber Google SREs by the time you read this.\n\nWhatever its history, SRE is now a global community of which Google is one member. It belongs to all of us, and that’s a good thing. It’s already abundantly clear, via conferences like SREcon, meetups, and other publications, that we all have a lot to share with and learn from each other. To that end, we hope this book further expands that ongoing conversation.\n\n##### On Gratitude\n\nThis volume has been a labor of love for us, and we are deeply grateful that you decided to read it. This process has taught each of us some surprising lessons about what SRE has become and made us all very excited to see what comes next.\n\n(And since we are SREs, we’ll be starting a lengthy postmortem on this process. Who knows, maybe you’ll even see it in a blog post one of these days…)\n\n- May your queries flow and your pagers stay silent.\n - —Dave, Betsy, Niall, Stephen, and Kent", "znaku_textu": 5629, "slov": 949, "odkazu": 39, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:49", "sha256": "184da4a4ea17ab5cb35bc994cbb84d9ad94386658a63bea85191ae0c30ff4c5f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/configuration-design/", "titulek": "Chapter 14 - Configuration Design and Best Practices, Google SRE BookGoogle SRE - Human-computer interface for system design", "h1": "Configuration Design and Best Practices", "popis": "Human-computer interface in configuration design. Examine configuration from the perspective of someone who designs an infrastructure system.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/configuration-design/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/configuration-design/"}, "headline": "Configuration Design and Best Practices", "description": "Configuring systems is a common SRE task everywhere. It can be a tiring and frustratingly detailed activity, particularly if the engineer isn't deeply familiar with the system they're configuring or the configuration hasn't been designed with clarity and usability in mind.", "image": "https://lh3.googleusercontent.com/tXWFq117rKZtf1mMtvlJfqr7IAqLsGvzl8U-6tTLksO4rBynltBA14J2CyG2wPUeZarfFId9erx0-KVApNfPIbZb61jdO0jZtqPe", "author": [{"@type": "Person", "name": "Štěpán Davidovič"}, {"@type": "Person", "name": "Niall Richard Murphy"}, {"@type": "Person", "name": "Christophe Kalt"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Configuration Design and Best Practices"}, {"uroven": 2, "text": "What Is Configuration?"}, {"uroven": 5, "text": "Configuration and Reliability"}, {"uroven": 5, "text": "Separating Philosophy and Mechanics"}, {"uroven": 1, "text": "Configuration Philosophy"}, {"uroven": 5, "text": "Configuration Asks Users Questions"}, {"uroven": 5, "text": "Questions Should Be Close to User Goals"}, {"uroven": 5, "text": "Mandatory and Optional Questions"}, {"uroven": 5, "text": "Escaping Simplicity"}, {"uroven": 1, "text": "Mechanics of Configuration"}, {"uroven": 5, "text": "Separate Configuration and Resulting Data"}, {"uroven": 5, "text": "Importance of Tooling"}, {"uroven": 6, "text": "Semantic validation"}, {"uroven": 6, "text": "Configuration syntax"}, {"uroven": 5, "text": "Ownership and Change Tracking"}, {"uroven": 5, "text": "Safe Configuration Change Application"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Configuration Design and Best Practices\n\nBy Štěpán Davidovič\nwith Niall Richard Murphy, Christophe Kalt, and Betsy Beyer\n\nConfiguring systems is a common SRE task everywhere. It can be a tiring and frustratingly detailed activity, particularly if the engineer isn’t deeply familiar with the system they’re configuring or the configuration hasn’t been designed with clarity and usability in mind. Most commonly, you perform configuration in one of two scenarios: during initial setup when you have plenty of time, or during an emergency reconfiguration when you need to handle an incident.\n\nThis chapter examines configuration from the perspective of someone who designs and maintains an infrastructure system. It describes our experiences and strategies for designing configuration in a safe and sustainable way.\n\n## What Is Configuration?\n\nWhen we deploy [software systems](https://sre.google/sre-book/simplicity/), we do not think of them as fixed and never-changing. Ever-evolving business needs, infrastructure requirements, and other factors mean that systems are constantly in flux. When we need to change system behavior quickly, and the change process requires an expensive, lengthy rebuild and redeployment process, a code change won’t suffice. Instead, configuration—which we can loosely define as a human-computer interface for modifying system behavior—provides a low-overhead way to change system functionality. SREs take advantage of this on a regular basis, when deploying systems and tuning their performance, as well as during incident response.\n\nWe can reason about systems as having three key components:\n\n- The software\n- The data set that the system works with\n- The system configuration\n\nWhile we can intuitively identify each of these components, they are often far from clearly separated. For example, many systems use programming languages for configuration, or at least have the capability to reference programming languages. Examples include Apache and modules, such as [mod_lua](https://httpd.apache.org/docs/trunk/mod/mod_lua.html) and its request hooks, or the window manager XMonad and its [Haskell-based configuration](https://sreworkbook.page.link/YNzL). Similarly, data sets might contain code, such as stored SQL procedures, which can amount to complex applications.\n\nA good configuration interface allows quick, confident, and testable configuration changes. When users don’t have a straightforward way to update configuration, mistakes are more likely. Users experience increased cognitive load and a significant learning curve.\n\n##### Configuration and Reliability\n\nBecause our systems are ultimately managed by humans, humans are responsible for configuration. The quality of the human-computer interface of a system’s configuration impacts an organization’s ability to run that system reliably. The impact of a well-crafted (or poorly crafted) configuration interface is similar to the impact of code quality on system maintainability over time.\n\nHowever, configuration tends to differ meaningfully from code in several aspects. Changing a system’s capabilities via code is typically a lengthy and involved process, involving small incremental changes, code reviews, and testing. In contrast, changing a single configuration option can have dramatic changes on functionality—for example, one bad firewall configuration rule may lock you out of your own system. Unlike code, configuration often lives in an untested (or even untestable) environment.\n\nSystem configuration changes may need to be made under significant pressure. During an incident, a configuration system that can be simply and safely adjusted is essential. Consider the interface design of early airplanes: confusing controls and indicators led to accidents. Research at the time showed that operator failures were frequent, regardless of pilot skill or experience.1 The link between usability and reliability translates to computing systems. Consider what happens if we swap a control stick and dial indicators for .conf files and monitoring graphs.\n\n##### Separating Philosophy and Mechanics\n\nWe usually discuss configuration when designing new software or assembling a new system out of existing software components. How will we configure it? How will the configuration load? We’ll separate the overarching topic of configuration into two parts: configuration philosophy and configuration mechanics.\n\nConfiguration philosophy pertains to aspects of configuration that are completely independent of the chosen language and other mechanics. Our discussion of philosophy encompasses how to structure the configuration, how to achieve the correct level of abstraction, and how to support diverging use cases seamlessly.\n\nOur discussion of mechanics covers topics like language design, deployment strategies, and interactions with other systems. This chapter focuses less on mechanics, partly because topics like language choice are already being discussed across the industry. Additionally, because a given organization may already have strong outside requirements like preexisting configuration infrastructure, configuration mechanics aren’t easily generalizable. The following chapter on Jsonnet gives a practical example of configuration mechanics—in particular, language design—in existing software.\n\nDiscussing philosophy and mechanics separately allows us to reason more clearly about configuration. In practice, implementation details like configuration language (be it XML or Lua) don’t matter if configuration requires a huge amount of user input that’s difficult to understand. Conversely, even the simplest configuration inputs can cause problems if they must be entered into a very cumbersome interface. Consider the (very) old Linux kernel configuration process: configuration updates had to be made through a command-line terminal that required a sequence of commands to set each parameter. To make even the simplest correction, users had to start the configuration process from scratch.2\n\n# Configuration Philosophy\n\nThis section discusses aspects of configuration that are completely independent of implementation, so these topics generalize across all implementations.\n\nIn the following philosophy, our ideal configuration is no configuration at all. In this ideal world, the system automatically recognizes the correct configuration based on deployment, workload, or pieces of configuration that already existed when the new system was deployed. Of course, for many systems, this ideal is unlikely to be attainable in practice. However, it highlights the desirable direction of configuration: away from a large number of tunables and toward simplicity.\n\nHistorically, mission-critical systems offered a large amount of controls (which amount to system configuration), but also required significant human operator training. Consider the complex array of operator controls in the NASA spacecraft control center in Figure 14-1. In modern computer systems, such training is no longer feasible for the majority of the industry.\n\nFigure 14-1. Control panel in the NASA spacecraft control center, illustrating possibly very complex configuration\n\nWhile this ideal reduces the amount of control we can exercise over a system, it decreases both the surface area for error and cognitive load on the operator. As the complexity of systems grows, operator cognitive load becomes increasingly important.\n\nWhen we’ve applied these principles in practical systems at Google, they typically resulted in easy, broad adoption and low cost for internal user support.\n\n##### Configuration Asks Users Questions\n\nRegardless of what you’re configuring and how you’re configuring it, the human-computer interaction ultimately boils down to an interface that asks users questions, requesting inputs on how the system should operate. This model of conceptualization holds true regardless of whether users are editing XML files or using a configuration GUI wizard.\n\nIn modern software systems, we can approach this model from two different perspectives:\n\nInfrastructure-centric view\n\n- It’s useful to offer as many configuration knobs as possible. Doing so enables users to tune the system to their exact needs. The more knobs, the better, because the system can be tuned to perfection.\n\nUser-centric view\n\n- Configuration asks questions about infrastructure that the user must answer before they can get back to working on their actual business goal. The fewer knobs, the better, because answering configuration questions is a chore.\n\nDriven by our initial philosophy of minimizing user inputs, we favor the user-centric view.\n\nThe implications of this software design decision extend beyond configuration. Focusing configuration on the user means that your software needs to be designed with a particular set of use cases for your key audience. This requires user research. In contrast, an infrastructure-centric approach means that your software effectively provides base infrastructure, but turning it into a practical system requires considerable configuration from the user. These models are not in strict conflict, but attempting to reconcile them can be quite difficult. Perhaps counterintuitively, limited configuration options can lead to better adoption than extremely versatile software—onboarding effort is substantially lower because the software mostly works “out of the box.”\n\nSystems that begin from an infrastructure-centric view may move toward a more user-centric focus as the system matures, by removing some configuration knobs via various means (some of which are discussed in subsequent sections).\n\n##### Questions Should Be Close to User Goals\n\nAs we follow the philosophy of user-centric configuration, we want to make sure users can easily relate to the questions we ask. We can think of the nature of user inputs on a spectrum: on one end, the user describes their needs in their own terms (fewer configuration options); on the other end, the user describes exactly how the system should implement their needs (more configuration options).\n\nLet’s use making tea as an analogy to configuring a system. With fewer configuration options, a user can ask for “hot green tea” and get roughly what they want. On the opposite end of the spectrum, a user can specify the whole process: water volume, boiling temperature, tea brand and flavor, steeping time, tea cup type, and tea volume in the cup. Using more configuration options might be closer to perfection, but the effort required to adhere to such detail might cost more than the marginal benefit of a near-perfect drink.\n\nThis analogy is helpful both to the users and the developers who work on the configuration system. When a user specifies exact steps, the system needs to follow them. But when the user instead describes their high-level goals, the system can evolve over time and improve how it implements these goals. A good upfront understanding of user goals for the system is a necessary first step here.\n\nFor a practical illustration of how this spectrum plays out, consider job scheduling. Imagine you have a one-off analytical process to run. Systems like [Kubernetes](https://kubernetes.io/) or [Mesos](https://mesos.apache.org/) enable you to meet your actual goal of running analysis, without burdening you with minute details like deciding which physical machine(s) your analytical process should run on.\n\n##### Mandatory and Optional Questions\n\nA given configuration setup might contain two types of questions: mandatory and optional. Mandatory questions must be answered for the configuration to provide any functionality at all. One example might be who to charge for an operation. Optional questions don’t dictate core functionality, but answering them can improve the quality of the function—for example, setting a number of worker processes.\n\nIn order to remain user-centric and easy to adopt, your system should minimize the number of mandatory configuration questions. This is not an easy task, but it’s important. While one might argue that adding one or two small steps incurs little cost, the life of an engineer is often an endless chain of individually small steps. The principled reduction of these small steps can dramatically improve productivity.\n\nAn initial set of mandatory questions often includes the questions you thought about when designing the system. The easiest path to reduce mandatory questions is to convert them to optional questions, which means providing default answers that apply safely and effectively to most, if not all, users. For example, instead of requiring the user to define whether an execution should be dry-run or not, we can simply do dry-run by default.\n\nWhile this default value is often a static, hardcoded value, it doesn’t have to be. It can be dynamically determined based on other properties of the system. Taking advantage of dynamic determination can further simplify your configuration.\n\nFor context, consider the following examples of dynamic defaults. A computationally intensive system might typically decide how many computation threads to deploy via a configuration control. Its dynamic default deploys as many threads as the system (or container) has execution cores. In this case, a single static default isn’t useful. Dynamic default means we don’t need to ask the user to determine the right number of threads for the system to deploy on a given platform. Similarly, a Java binary deployed alone in a container could automatically adjust its heap limits depending on memory available in the container. These two examples of dynamic defaults reflect common deployments. If you need to restrict resource usage, it’s useful to be able to override dynamic defaults in the configuration.\n\nThe implemented dynamic defaults might not work out for everyone. Over time, users might prefer different approaches and ask for greater control over the dynamic defaults. If a significant portion of configuration users report problems with dynamic defaults, it’s likely that your decision logic no longer matches the requirements of your current user base. Consider implementing broad improvements that enable your dynamic defaults to run without requiring additional configuration knobs. If only a small fraction of users are unhappy, they may be better off manually setting configuration options. Implementing more complexity in the system creates more work for users (e.g., increased cognitive load to read documentation).\n\nWhen choosing default answers for optional questions, regardless of whether you opt for static or dynamic defaults, think carefully about the impact of your choice. Experience shows that most users will use the default, so this is both a chance and a responsibility. You can subtly nudge people in the right direction, but designating the wrong default will do a lot of harm. For example, consider configuration defaults and their impact outside of computer science. Countries where the default for organ donors is opt-in (and individuals can opt out if they’re so inclined) have [dramatically greater ratios of organ donors](https://science.sciencemag.org/content/302/5649/1338) than countries with an opt-out default.3 Simply selecting a specific default has a profound impact on medical options throughout the entire system.\n\nSome optional questions start without a clear use case. You may want to remove these questions altogether. A large number of optional questions might confuse the user, so you should add configuration knobs only when motivated by a real need. Finally, if your configuration language happens to use the concept of inheritance, it is useful to be able to revert to the default value for any optional question in the leaf configurations.\n\n##### Escaping Simplicity\n\nThus far, we’ve discussed reducing the configuration of a system to its simplest form. However, the configuration system may need to account for power users as well. To return to our tea analogy, what if we really need to steep the tea for a particular duration?\n\nOne strategy to accommodate power users is to find the lowest common denominator of what regular users and power users require, and settle on that level of complexity as the default. The downside is that this decision impacts everyone; even the simplest use cases now need to be considered in low-level terms.\n\nBy thinking about configuration in terms of optional overrides of default behavior, the user configures “green tea,” and then adds “steep the tea for five minutes.” In this model, the default configuration is still high-level and close to the user’s goals, but the user can fine-tune low-level aspects. This approach is not novel. We can draw parallels to high-level programming languages like C++ or Java, which enable programmers to include machine (or VM) instructions in code otherwise written in the high-level language. In some consumer software, we see screens with advanced options that can offer more fine-grained control than the typical view.\n\nIt’s useful to think about optimizing for the sum of hours spent configuring across the organization. Consider not only the act of configuration itself, but also the decision paralysis users might experience when presented with many options, the time it takes to correct the configuration after taking a wrong turn, the slower rate of change due to lower confidence, and more. When you are considering configuration design alternatives, the option that accomplishes a complex configuration in fewer but significantly harder steps may be preferable if it makes supporting the most common use cases significantly easier.\n\nIf you find that more than a small subset of your users need a complex configuration, you may have incorrectly identified the common use cases. If so, revisit the initial product assumptions for your system and conduct additional user research.\n\n# Mechanics of Configuration\n\nOur discussion up to this point has covered configuration philosophy. This section shifts focus to the mechanics of how a user interacts with the configuration.\n\n##### Separate Configuration and Resulting Data\n\nWhich language to store the configuration in is an inevitable question. You could choose to have pure data like in an INI, YAML, or XML file. Alternatively, the configuration could be stored in a higher-level language that allows for much more flexible configuration.\n\nFundamentally, all questions the user is asked boil down to static information. This may include obviously static answers to questions like “How many threads should be used?” But even “What function should be used for every request?” is just a static reference to a function.\n\nTo answer the age-old question of whether configuration is code or data, our experience has shown that having both code and data, but separating the two, is optimal. The system infrastructure should operate on plain static data, which can be in formats like [Protocol Buffers](https://developers.google.com/protocol-buffers/), [YAML](https://yaml.org/), or [JSON](https://www.json.org/). This choice does not imply that the user needs to actually interact with pure data. Users can interact with a higher-level interface that generates this data. This data format can, however, be used by APIs that allow further stacking of systems and automation.\n\nThis high-level interface can be almost anything. It can be a high-level language like Python-based Domain-Specific Language (DSL), Lua, or purpose-built languages, such as Jsonnet (which we will discuss in more detail in [Configuration Specifics](https://sre.google/workbook/configuration-specifics/)). We can think of such an interface as a compilation, similar to how we treat C++ code.4 The high-level interface might also be no language at all, with the configuration ingested by a web UI.\n\nStarting with a configuration UI that’s deliberately separated from its static data representation means the system has flexibility for deployment. Various organizations may have different cultural norms or product requirements (such as using specific languages within the company or needing to externalize configuration to end users), and a system this versatile can be adapted to support diverse configuration requirements. Such a system can also effortlessly support multiple languages.5 See Figure 14-2.\n\nThis separation can be completely invisible to the user. The user’s common path may be to edit files in the configuration language while everything else happens behind the scenes. For example, once the user submits changes to the system, the newly stored configuration is automatically compiled into raw data.6\n\nFigure 14-2. Configuration flow with a separate configuration interface and configuration data infrastructure. Note the web UI typically also displays the current configuration, making the relationship bidirectional.\n\nOnce the static configuration data is obtained, it can also be used in data analysis. For instance, if the generated configuration data is in JSON format, it can be [loaded into PostgreSQL and analyzed with database queries](https://www.postgresql.org/docs/10/static/functions-json.html). As the infrastructure owner, you can then quickly and easily query for which configuration parameters are being used and by whom. This query is useful for identifying features you can remove or measuring the impact of a buggy option.\n\nWhen consuming the final configuration data, you will find it useful to also store metadata about how the configuration was ingested. For example, if you know the data came from a configuration file in Jsonnet or you have the full path to the original before it was compiled into data, you can track down the configuration authors.\n\nIt is also acceptable for the configuration language to be static data. For example, both your infrastructure and interface might use plain JSON. However, avoid tight coupling between the data format you use as the interface and the data format you use internally. For example, you may use a data structure internally that contains the data structure consumed from configuration. The internal data structure might also contain completely implementation-specific data that never needs to be surfaced outside of the system.\n\n##### Importance of Tooling\n\nTooling can make the difference between a chaotic nightmare and a sustainable and scalable system, but it is often overlooked when configuration systems are designed. This section discusses the key tools that should be available for an optimal configuration system.\n\n###### Semantic validation\n\nWhile most languages offer syntax validation out of the box, don’t overlook semantic validation. Even if your configuration is syntactically valid, is it likely to do useful things? Or did the user reference a nonexistent directory (due to a typo), or need a thousand times more RAM than they actually have (because units aren’t what the user expected)?\n\nValidating that the configuration is semantically meaningful, to the maximum extent possible, can help prevent outages and decrease operational costs. For every possible misconfiguration, we should ask ourselves if we could prevent it at the moment the user commits the configuration, rather than after changes are submitted.\n\n###### Configuration syntax\n\nWhile it’s key to ensure that configuration accomplishes what the user wants, it is also important to remove mechanical obstacles. From a syntax perspective, the configuration language should offer the following:\n\nSyntax highlighting in editors (used within the company)\n\n- Often, you’ve already solved this by reusing an existing language. However, domain-specific languages may have additional “syntactic sugar” that can benefit from specialized highlighting.\n\nLinter\n\n- Use a linter to identify common inconsistencies in language use. [Pylint](https://www.pylint.org/) is one popular language example.\n\nAutomatic syntax formatter\n\n- Built-in standardization minimizes relatively unimportant discussions about formatting and decreases cognitive load as contributors switch projects. Standard formatting may also allow for easier automatic editing, which is helpful in systems used broadly within a large organization. Examples of autoformatters in existing languages include clang-format 7 and [autopep8](https://pypi.org/project/autopep8/) .\n\nThese tools enable users to write and edit configuration with confidence that their syntax is correct.8 Incorrect indentation in whitespace-oriented configs can have potentially great consequences—some of which standard formatting can prevent.\n\n##### Ownership and Change Tracking\n\nBecause configuration can potentially impact critical systems of companies and institutions, it’s important to ensure good user isolation, and to understand what changes happened in the system. As mentioned in [Postmortem Culture: Learning from Failure](https://sre.google/workbook/postmortem-culture/), an effective postmortem culture avoids blaming individuals. However, it’s helpful both during an incident and while you’re conducting a postmortem to know who changed a configuration, and to understand how the configuration change impacted the system. This holds true whether the incident is due to an accident or a malicious actor.\n\nEach configuration snippet for the system should have a clear owner. For example, if you use configuration files, their directories might be owned by a single production group. If files in a directory can only have one owner, it’s much easier to track who makes changes.\n\nVersioning configuration, regardless of how it is performed, allows you to go back in time to see what the configuration looked like at any given point in time. Checking configuration files into a versioning system, such as Subversion or Git, is a common practice nowadays, but this practice is equally important for configuration ingested by web UI or remote APIs. You may also wish to have tighter coupling between the configuration and the software being configured. By doing so, you can avoid inadvertently configuring features that are either not yet available or no longer supported in the software.\n\nOn a related note, it is useful (and sometimes required) to log both changes to the configuration and the resulting application to the system. The simple act of committing a new version of a configuration does not always mean that the configuration is directly applied (more on that later). When a [system configuration](https://sre.google/workbook/configuration-specifics/) change is suspected as the culprit during an incident response, it is useful to be able to quickly determine the full set of configuration edits that went into the change. This enables confident rollbacks, and the ability to notify parties whose configurations were impacted.\n\n##### Safe Configuration Change Application\n\nAs discussed earlier, configuration is an easy way to make large changes to system functionality, but it is often not unit-tested or even easily testable. Since we want to avoid reliability incidents, we should inspect what the safe application of a configuration change means.\n\nFor a configuration change to be safe, it must have three main properties:\n\n- The ability to be deployed gradually, avoiding an all-or-nothing change\n- The ability to roll back the change if it proves dangerous\n- Automatic rollback (or at a minimum, the ability to stop progress) if the change leads to loss of operator control\n\nWhen deploying a new configuration, it is important to avoid a global all-at-once push. Instead, push the new configuration out gradually—doing so allows you to detect issues and abort a problematic push before causing a 100% outage. This is one reason why tools such as Kubernetes use a rolling update strategy for updating software or configuration instead of updating every pod all at once. (See [Canarying Releases](https://sre.google/workbook/canarying-releases/) for related discussions.)\n\nThe ability to roll back is important for decreasing incident duration. Rolling back the offending configuration can mitigate an outage much more quickly than attempting to patch it with a temporary fix—there is inherently lower confidence that a patch will improve things.\n\nLast but not least, the system should be especially careful when handling changes that might lead to sudden loss of operator control. On desktop systems, screen resolution changes often prompt a countdown and reset if a user does not confirm changes. This is because an incorrect monitor setting might prevent the user from reverting the change. Similarly, it is common for system admins to accidentally firewall themselves out of the system that they are currently setting up.\n\nThese principles are not unique to configuration and apply to other methods of changing deployed systems, such as upgrading binaries or pushing new data sets.\n\n# Conclusion\n\nTrivial configuration changes can impact a production system in dramatic ways, so we need to deliberately design configuration to mitigate these risks. Configuration design carries aspects of both API and UI design and should be purposeful—not just a side effect of system implementation. Separating configuration into philosophy and mechanics helps us gain clarity as we design internal systems, and enables us to scope discussion correctly.\n\nApplying these recommendations takes time and diligence. For an example of how we’ve applied these principles in practice, see the [ACM Queue article on Canary Analysis Service](https://queue.acm.org/detail.cfm?id=3194655). When designing this practical internal system, we spent about a month trying to reduce mandatory questions and finding good answers for optional questions. Our efforts created a simple configuration system. Because it was easy to use, it was widely adopted internally. We’ve seen little need for user support—since users can easily understand the system, they can make changes with confidence. Of course, we have not eliminated misconfigurations and user support entirely, nor do we ever expect to.\n\n1Kim Vicente, The Human Factor (New York: Routledge, 2006), 71–6.\n\n2While clearly a hyperbole, a [Reddit thread about the worst volume control interface](https://www.reddit.com/r/ProgrammerHumor/search?q=volume&restrict_sr=on) can provide insight into the difference between good and bad mechanics of answering the same question, “What should the volume be?”\n\n3Full text: [https://www.dangoldstein.com/papers/DefaultsScience.pdf](https://www.dangoldstein.com/papers/DefaultsScience.pdf).\n\n4Jsonnet is used to compile into Kubernetes YAML, providing a real-world illustration for this parallel. See [https://ksonnet.heptio.com/](https://ksonnet.io/).\n\n5This can be useful when an organization performs migrations to new technologies, integrates acquisitions, or focuses on shared infrastructure but otherwise has divergent development and system management practices.\n\n6There are various practical ways to automate compiling a new configuration into raw data. For example, if you store your configuration in a version control system, a post-commit hook can facilitate this. Alternatively, a periodic update process can perform this, at the cost of some delay.\n\n7Although C++ is unlikely to be used for configuration, [clang-format](https://clang.llvm.org/docs/ClangFormat.html) nicely demonstrates that even a language more complex than most languages used for configuration can in fact be fully autoformatted.\n\n8In very large organizations, it is also useful to be able to annotate pieces of a broadly reused configuration that has been deprecated. When a replacement is available, automatic rewriting tools facilitate centralized changes, helping to avoid legacy issues.", "znaku_textu": 31471, "slov": 4685, "odkazu": 75, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:41", "sha256": "eb9a1c10aa0e502cfe5061c0d26cbf980155ed1b07dd3c61536f9e1aeaa2e7fa", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://httpd.apache.org/docs/trunk/mod/mod_lua.html", "https://sreworkbook.page.link/YNzL", "https://kubernetes.io/", "https://mesos.apache.org/", "https://science.sciencemag.org/content/302/5649/1338", "https://developers.google.com/protocol-buffers/", "https://yaml.org/", "https://www.json.org/", "https://www.postgresql.org/docs/10/static/functions-json.html", "https://www.pylint.org/", "https://pypi.org/project/autopep8/", "https://queue.acm.org/detail.cfm?id=3194655", "https://www.reddit.com/r/ProgrammerHumor/search?q=volume&restrict_sr=on", "https://www.dangoldstein.com/papers/DefaultsScience.pdf", "https://ksonnet.io/", "https://clang.llvm.org/docs/ClangFormat.html", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/configuration-specifics/", "titulek": "Google SRE - Configuration Management Strategies for Teams", "h1": "Configuration-Induced Toil", "popis": "SRE team can manage configuration-related toil with automation, best practices, and effective strategies to reduce complexity in production systems.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/configuration-specifics/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/configuration-specifics/"}, "headline": "Configuration Specifics", "description": "This book covers the subject of toil at length. If your SRE team is burdened with a lot of configuration-related toil, we hope that implementing some of the ideas presented in this chapter will help you reclaim some of the time you spend making configuration changes.", "author": [{"@type": "Person", "name": "Dave Cunningham"}, {"@type": "Person", "name": "Misha Brukman"}, {"@type": "Person", "name": "Christophe Kalt"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Configuration Specifics"}, {"uroven": 1, "text": "Configuration-Induced Toil"}, {"uroven": 1, "text": "Reducing Configuration-Induced Toil"}, {"uroven": 1, "text": "Critical Properties and Pitfalls of Configuration Systems"}, {"uroven": 5, "text": "Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem"}, {"uroven": 5, "text": "Pitfall 3: Building Too Much Domain-Specific Optimization"}, {"uroven": 5, "text": "Pitfall 4: Interleaving “Configuration Evaluation” with “Side Effects”"}, {"uroven": 5, "text": "Pitfall 5: Using an Existing General-Purpose Scripting Language Like Python, Ruby, or Lua"}, {"uroven": 1, "text": "Integrating a Configuration Language"}, {"uroven": 5, "text": "Generating Config in Specific Formats"}, {"uroven": 5, "text": "Driving Multiple Applications"}, {"uroven": 1, "text": "Integrating an Existing Application: Kubernetes"}, {"uroven": 5, "text": "What Kubernetes Provides"}, {"uroven": 5, "text": "Example Kubernetes Config"}, {"uroven": 5, "text": "Integrating the Configuration Language"}, {"uroven": 1, "text": "Integrating Custom Applications (In-House Software)"}, {"uroven": 1, "text": "Effectively Operating a Configuration System"}, {"uroven": 5, "text": "Versioning"}, {"uroven": 5, "text": "Source Control"}, {"uroven": 5, "text": "Tooling"}, {"uroven": 5, "text": "Testing"}, {"uroven": 1, "text": "When to Evaluate Configuration"}, {"uroven": 5, "text": "Very Early: Checking in the JSON"}, {"uroven": 6, "text": "Pros"}, {"uroven": 6, "text": "Cons"}, {"uroven": 5, "text": "Middle of the Road: Evaluate at Build Time"}, {"uroven": 6, "text": "Pros"}, {"uroven": 6, "text": "Cons"}, {"uroven": 5, "text": "Late: Evaluate at Runtime"}, {"uroven": 6, "text": "Pros"}, {"uroven": 6, "text": "Cons"}, {"uroven": 1, "text": "Guarding Against Abusive Configuration"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Configuration Specifics\n\nBy Dave Cunningham and Misha Brukman\nwith Christophe Kalt and Betsy Beyer\n\nManaging production systems is one of the many ways SREs provide value to an organization. The task of configuring and running applications in production requires insight into how those systems are put together and how they work. When things go wrong, the on-call engineer needs to know exactly where the configurations are and how to change them. This responsibility can become a burden if a team or organization hasn’t invested in addressing configuration-related toil.\n\nThis book covers the subject of toil at length (see [Eliminating Toil](https://sre.google/workbook/eliminating-toil/)). If your SRE team is burdened with a lot of configuration-related toil, we hope that implementing some of the ideas presented in this chapter will help you reclaim some of the time you spend making configuration changes.\n\n# Configuration-Induced Toil\n\nAt the start of a project’s lifecycle, configuration is usually relatively lightweight and straightforward. You might have a few files in a data-only format like [INI](https://en.wikipedia.org/wiki/INI_file), [JSON](https://json.org/), [YAML](https://yaml.org/), or XML. Managing these files requires little toil. As the number of applications, servers, and variations increases over time, configuration can become very complex and verbose. For example, you might have originally “changed a setting” by editing one configuration file, but now you have to update configuration files in multiple locations. Reading such configuration is also hard, as important differences are hidden in a sea of irrelevant duplicated details. We can characterize this configuration-related toil as replication toil: the mundane task of [managing configuration](https://sre.google/sre-book/release-engineering/) replicated across a system. This kind of toil isn’t limited to large organizations and huge systems—it’s especially common to microservice architectures with many independently configured components.\n\nEngineers often respond to replication toil by building automation or a configuration framework. They aim to remove duplication in the config system, and to make configuration easier to understand and maintain. Reusing techniques from software engineering, this approach often makes use of a “configuration language.” Google SRE has created a number of configuration languages with the aim of [reducing toil](https://sre.google/sre-book/eliminating-toil/) for our largest and most complex production systems.\n\nUnfortunately, this tactic doesn’t necessarily eliminate configuration toil. Freed from an overwhelming number of individual configs, the project (and its config corpus) grows with renewed energy. Inevitably, you run up against complexity toil: the challenging and frustrating task of dealing with the emergent and sometimes undesirable behaviors of complex automation. This kind of toil typically materializes in larger organizations (10+ engineers) and compounds with growth. The earlier you can tackle complexity toil, the better; the size and complexity of configuration will only grow over time.\n\n# Reducing Configuration-Induced Toil\n\nIf your project is riddled with configuration-related toil, you have a few basic strategies for improving the situation.\n\nIn rare cases, and if your application is custom-built, you might opt to remove the configuration altogether. The application may be naturally better than a configuration language at handling certain aspects of configuration: it might make sense for the application to assign defaults because it has access to information about the machine, or to vary some values dynamically because it can scale according to load.\n\nIf removing configuration is not an option, and replication toil is becoming a problem, consider automation to reduce the duplication in your configuration corpus. You might integrate a new configuration language, or you might need to improve or replace your existing configuration setup.1 The next section, Critical Properties and Pitfalls of Configuration Systems, provides some guidance on choosing or designing that system.\n\nIf you go the route of setting up a new configuration framework, you’ll need to integrate the configuration language with the application that needs to be configured. Integrating an Existing Application: Kubernetes uses Kubernetes as an example of an existing application to be integrated, and Integrating Custom Applications (In-House Software) gives some more general advice. These sections walk through some examples using Jsonnet (which we chose as a representative configuration language for illustration purposes).\n\nOnce you have a configuration system in place to help with replication toil—whether you’re already committed to your existing solution, or you choose to implement a new configuration language—the best practices in Effectively Operating a Configuration System, When to Evaluate Configuration, and Guarding Against Abusive Configuration should be helpful in optimizing your setup, no matter which language you’re using. Adopting those processes and tools can help [minimize complexity toil](https://sre.google/workbook/eliminating-toil/).\n\n# Critical Properties and Pitfalls of Configuration Systems\n\n[Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/) outlined some critical properties of any configuration system. In addition to generic ideal requirements like lightweightness, ease of learning, simplicity, and expressive power, an efficient configuration system must:\n\n- Support configuration health, engineer confidence, and productivity via tooling for managing the config files (linters, debuggers, formatters, IDE integration, etc.).\n- Provide hermetic evaluation of configuration for rollbacks and general replayability.\n- Separate config and data to allow for easy analysis of the config and a range of configuration interfaces.\n\nIt is not widely understood that these properties are critical, and arriving at our current understanding was indeed a journey. During this journey, Google invented several configuration systems that lacked these critical properties. We were not alone, either. Despite the great variety of popular configuration systems, it is difficult to find one that does not fall foul of at least one of the following pitfalls.\n\n##### Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem\n\nIf you’re not intentionally designing a language, then it’s highly unlikely the “language” you’ll end up with is a good one.\n\nWhile configuration languages describe data rather than behavior, they still have the other characteristics of programming languages. If our configuration strategy starts with the objective of using a data-only format, programming language features tend to creep through the back door. Rather than remaining a data-only language, the format becomes an esoteric and complex programming language.\n\nFor example, some systems add a `count` attribute to the schema of a virtual machine (VM) being provisioned. This attribute is not a property of the VM itself, but instead indicates that you want more than one of them. While useful, this is a feature of a programming language, not a data format, because it requires an external evaluator or interpreter. A classical programming language approach would use logic outside the artifact, such as a `for` loop or list comprehension, to generate more VMs as required.\n\nAnother example is a configuration language that accrues [string interpolation rules](https://en.wikipedia.org/wiki/String_interpolation) instead of supporting general expressions. The strings appear to be “just data,” although they can actually contain complex code, including data structure operations, checksums, base64 encoding, and so on.\n\nThe popular YAML + Jinja solution also has drawbacks. Simple pure-data formats such as XML, JSON, YAML, and text-formatted protocol buffers are excellent choices for pure-data use cases. Likewise, textual templating engines such as Jinja2 or Go templates are excellent for HTML templating. But when combined in a configuration language, they become difficult for both humans and tools to maintain and analyze. In all of these cases, this pitfall leaves us with a complex esoteric “language” that isn’t suited to tooling.\n\nSREs typically feel configuration usability problems when operating systems at scale. A new language won’t have good tooling support (IDE support, good linters), and developing custom tooling is painful if the language has undocumented or esoteric semantics.\n\nAdding ad hoc programming language features to a simple config format over time might create a feature-complete solution, but ad hoc languages are more complex and usually have less expressive power than their formally designed equivalents. They also risk developing gotchas and idiosyncrasies because their authors couldn’t consider the interaction between features ahead of time.\n\nInstead of hoping your configuration system won’t grow complex enough to need simple programming constructs, it’s better to consider these requirements at the initial design phase.\n\n##### Pitfall 3: Building Too Much Domain-Specific Optimization\n\nThe smaller the user base is for a new domain-specific solution, the longer you have to wait to accumulate enough users to justify building tooling. Engineers are unwilling to spend time understanding the language properly because it has little applicability outside this domain. Learning resources like [Stack Overflow](https://stackoverflow.com/) are less likely to be available.\n\n##### Pitfall 4: Interleaving “Configuration Evaluation” with “Side Effects”\n\nSide effects include either making changes to external systems, or consulting out-of-band data sources (DNS, VM IDs, latest build versions) during configuration runs.\n\nSystems that allow these side effects violate hermeticity, and also prevent the separation of config from data. In an extreme case, it is impossible to debug your config without spending money by reserving cloud resources. In order to allow separation of config and data, first evaluate the config, then make the resulting data available to the user to analyze, and only then allow for side effects.\n\n##### Pitfall 5: Using an Existing General-Purpose Scripting Language Like Python, Ruby, or Lua\n\nThis seems like a trivial way to avoid the first four pitfalls, but implementations that use a general-purpose scripting language are heavyweight and/or need intrusive sandboxing to ensure hermeticity. Since general-purpose languages can access the local system, security considerations may also call for sandboxing.\n\nAdditionally, we can’t assume that the people maintaining configuration will be familiar with all of these languages.\n\nThe desire to avoid these pitfalls led to the development of reusable domain-specific languages (DSLs) for configuration, such as [HOCON](https://github.com/lightbend/config/blob/master/HOCON.md), [Flabbergast](https://github.com/flabbergast-config/flabbergast), [Dhall](https://github.com/dhall-lang/dhall-lang), and [Jsonnet](https://jsonnet.org/). We recommend using an existing DSL for configuration. Even if a DSL seems too powerful for your needs, you may need the additional functionality at some point, and you can always restrict the functionality of the language using an in-house style guide.\n\n# Integrating a Configuration Language\n\nThis section uses Jsonnet to discuss how to integrate a configuration language with the application you need to configure, but the same techniques also transfer to other configuration languages.\n\n##### Generating Config in Specific Formats\n\nA configuration language might natively output in the correct format. For example, Jsonnet outputs JSON, which is compatible with many applications. JSON is also sufficient for consumers of languages that extend JSON, such as JavaScript, YAML, or [HashiCorp’s Configuration Language](https://github.com/hashicorp/hcl). If this is your situation, you don’t need to perform any further integration work.\n\nFor other configuration formats that are not natively supported:\n\n1. You need to find a way to represent configuration data within the configuration language. Usually, this is not hard because configuration values like maps, lists, strings, and other primitive values are generic and available in all languages.\n2. Once this data is represented in the config language, you can use the constructs of that language to reduce duplication (and thus, toil).\n3. You need to write (or reuse) a serialization function for the necessary output format. For example, the Jsonnet standard library has functions for outputting INI and XML from its internal JSON-like representation. If configuration data resists representation within the configuration language (for example, a Bash script), you can use basic string templating techniques as a last resort. You can find practical examples at [https://bit.ly/2La0zDe](https://jsonnet.org/articles/output-formats.html) .\n\n##### Driving Multiple Applications\n\nOnce you can drive arbitrary existing applications from the config language, you might be able to target several applications from the same config. If your applications use different config formats, you’ll need to perform some conversion work. Once you’re able to generate configuration in the necessary formats, you can easily unify, synchronize, and eliminate repetition across your entire config corpus. Given the prevalence of JSON and JSON-based formats, you may not even have to generate different formats—for example, this is true if you use a deployment architecture that uses [GCP Deployment Manager](https://cloud.google.com/deployment-manager/), [AWS Cloud Formation](https://aws.amazon.com/cloudformation/), or [Terraform](https://www.terraform.io/) for base infrastructure, plus Kubernetes for containers.\n\nAt this point, you can:\n\n- Output an Nginx web server configuration and a Terraform firewall configuration from a single Jsonnet evaluation that defines the port only once.\n- Configure your monitoring dashboards, retention policies, and alert notification pipelines from the same files.\n- Manage the performance tradeoff between VM startup scripts and disk image-building scripts by moving initialization commands from one list to another.\n\nAfter you unite disparate configs in one place, you have many opportunities to refine and abstract the config. Configs can even be nested—for example, a [Cassandra config](https://cassandra.apache.org/) may be embedded inside the Deployment Manager config of its base infrastructure or inside a Kubernetes ConfigMap. A good configuration language can handle any awkward string quoting and generally make this operation natural and simple.\n\nTo make it easy to write many different files for various applications, Jsonnet has a mode that expects config execution to yield a single JSON object that maps filenames to file content (formatted as needed). You can simulate this facility in other configuration languages by emitting a map from string to string and using a postprocessing step or wrapper script to write the files.\n\n# Integrating an Existing Application: Kubernetes\n\nKubernetes makes for an interesting case study for a couple of reasons:\n\n- Jobs running on Kubernetes need to be configured, and their configuration can become complex.\n- Kubernetes does not come with a bundled configuration language (not even an ad hoc one, thankfully).\n\nKubernetes users with minimally complex objects simply use YAML. Users with larger infrastructure extend their Kubernetes workflow with languages like Jsonnet to provide the abstraction facilities needed at that scale.\n\n##### What Kubernetes Provides\n\nKubernetes is an open source system for orchestrating containerized workloads on a cluster of machines. Its API allows you to manage the containers themselves and many important details, such as communication between containers, communication in/out of the cluster, load balancing, storage, progressive rollout, and autoscaling. Each item of configuration is represented with a JSON object that can be managed via an API endpoint. The command-line tool kubectl lets you read these objects from disk and send them to the API.\n\nOn disk, the JSON objects are actually encoded as YAML streams.3 YAML is easily readable and converts easily to JSON via commonly available libraries. The out-of-the-box user experience involves writing YAML files that represent Kubernetes objects and running kubectl to deploy them to a cluster.\n\nTo learn about best practices for configuring Kubernetes, see the [Kubernetes documentation on that topic](https://kubernetes.io/docs/concepts/configuration/overview/).\n\n##### Example Kubernetes Config\n\nYAML, the user interface to Kubernetes configuration, provides some simple features like comments, and has a concise syntax that most people prefer to raw JSON. However, YAML falls short when it comes to abstraction: it only provides anchors,4 which are rarely useful in practice and are not supported by Kubernetes.\n\nSuppose you want to replicate a Kubernetes object four times with different namespaces, labels, and other minor variations. Following the best practices of immutable infrastructure, you store the config of all four variants, duplicating the other identical aspects of the configuration. The following code snippet presents one variant (for the sake of brevity, we omit the other three files):\n\n```\n # example1.yaml\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: guestbook\n tier: frontend\n name: frontend\n namespace: prod\nspec:\n externalTrafficPolicy: Cluster\n ports:\n - port: 80\n protocol: TCP\n targetPort: 80\n selector:\n app: guestbook\n tier: frontend\n sessionAffinity: None\n type: NodePort\n```\n\nThe variants are hard to read and maintain because the important differences are obscured.\n\n##### Integrating the Configuration Language\n\nAs discussed in Configuration-Induced Toil, managing a large number of YAML files can take a significant amount of time. A configuration language can help simplify this task. The most straightforward approach is to emit a single Kubernetes object from each execution of Jsonnet, then pipe the resulting JSON directly into kubectl, which processes the JSON as if it’s YAML. Alternatively, you could emit a YAML stream(a sequence of such objects5) or a single kubectl list object, or have Jsonnet emit multiple files from the same config. For further discussion, see the [Jsonnet website](https://jsonnet.org/articles/kubernetes.html).\n\nDevelopers should be aware that in general, YAML allows you to write configs that are not expressible in JSON (and therefore, can’t be generated by Jsonnet). YAML configs can contain exceptional IEEE floating-point values like NaN, or objects with nonstring fields like arrays, other objects, or null. In practice, these features are very rarely used, and Kubernetes doesn’t allow them because the config must be JSON-encoded when sent to the API.\n\nThe following snippet shows what our example Kubernetes configuration would look like in Jsonnet:\n\n```\n // templates.libsonnet\n{\n MyTemplate:: {\n local service = self,\n tier:: error 'Needs tier',\n apiVersion: 'v1',\n kind: 'Service',\n\n local selector_labels = { app: 'guestbook', tier: service.tier },\n\n metadata: {\n labels: selector_labels,\n name: 'guestbook-' + service.tier,\n namespace: 'default',\n },\n\n spec: {\n externalTrafficPolicy: 'Cluster',\n ports: [{\n port: 80,\n protocol: 'TCP',\n targetPort: 80,\n }],\n selector: selector_labels,\n sessionAffinity: 'None',\n type: 'NodePort',\n },\n },\n}\n```\n\n```\n // example1.jsonnet\nlocal templates = import 'templates.libsonnet';\n\ntemplates.MyTemplate {\n tier: 'frontend',\n}\n```\n\n```\n // example2.jsonnet\nlocal templates = import 'templates.libsonnet';\n\ntemplates.MyTemplate {\n tier: 'backend',\n metadata+: {\n namespace: 'prod',\n },\n}\n```\n\n```\n // example3.jsonnet\nlocal templates = import 'templates.libsonnet';\n\ntemplates.MyTemplate {\n tier: 'frontend',\n metadata+: {\n namespace: 'prod',\n labels+: { foo: 'bar' },\n },\n}\n```\n\n```\n // example4.jsonnet\nlocal templates = import 'templates.libsonnet';\n\ntemplates.MyTemplate {\n tier: 'backend',\n}\n```\n\nNote the following:\n\n- We express all four variants by instantiating an abstract template four times, but you could also use functional abstractions.\n- While we use a separate Jsonnet file for each instance, you might also consolidate them in a single file.\n- In the abstract template, the namespace defaults to `default` and the tier must be overridden.\n- At first glance, the Jsonnet is slightly more verbose, but reduces toil as the number of template instantiations grows.\n\nWithin `MyTemplate`, the `local` keyword defines a variable `service`, which is initialized to `self` (a reference to the closest enclosing object). This allows you to refer to the object from within nested objects, where `self` is redefined.\n\nThe `tier` field has two colons (rather than the regular JSON single colon) and is hidden (not output) in the generated JSON. Otherwise, Kubernetes will reject `tier` as an unrecognized field. Hidden fields can still be overridden and referenced—in this case, as `service.tier`.\n\nThe template cannot be used by itself because referencing `service.tier` triggers the `error` construct, which raises a runtime error with the given text. To avoid the error, each instance of the template overrides the `tier` field with some other expression. In other words, this pattern expresses something similar to a pure virtual/abstract method.\n\nUsing functions for abstraction means that config can only be parameterized. In contrast, templates allow you to override any field from the parent. As described in [Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/), while simplicity should be fundamental to your design, the ability to escape simplicity is important. Template overrides provide a useful escape hatch to change specific details that might normally be considered too low-level. For example:\n\n```\ntemplates.MyTemplate {\n tier: 'frontend',\n spec+: {\n sessionAffinity: 'ClientIP',\n },\n}\n```\n\nHere’s a typical workflow to convert an existing template to Jsonnet:\n\n1. Convert one of the YAML variants to JSON.\n2. Run the resulting JSON through the Jsonnet formatter.\n3. Manually add Jsonnet constructs to abstract and instantiate the code (as shown in the example).\n\nThe example showed how to remove duplication while retaining certain fields that were different. Using a configuration language becomes more compelling as differences become more subtle (e.g., strings are slightly different) or challenging to express (e.g., configuration has structural differences like additional elements in arrays, or the same difference applied across all elements of an array).\n\nIn general, abstracting commonalities across different configurations promotes separation of concerns and has the same benefits as modularity in programming languages. You can take advantage of abstraction capabilities for a number of different use cases:\n\n- A single team might need to create multiple versions of their configuration that are almost (but not quite) the same—for example, when managing deployments across varied environments (prod/stage/dev/test), tuning deployments on different architectures, or adjusting capacity in different geographies.\n- An organization might have an infrastructure team that maintains reusable components—API serving frameworks, cache servers, or MapReduces—that are used by the application teams. For each component, the infrastructure team can maintain a template that defines the Kubernetes objects needed to run that component at scale. Each application team can instantiate that template to add the particulars of their application.\n\n# Integrating Custom Applications (In-House Software)\n\nIf your infrastructure utilizes any custom applications (i.e., software developed in-house, as opposed to off-the-shelf solutions), then you can design those applications to coexist with a reusable configuration language. The suggestions in this section should improve the overall user configuration experience when you are writing config files or interacting with the generated config data (e.g., for debugging purposes, or when integrating with other tools). They should also simplify the application’s design and separate configuration from data.\n\nYour broad strategy for approaching custom applications should be to:\n\n- Let the config language handle what it’s designed for: the language aspect of the problem.\n- Let your application handle all other functionality.\n\nThe following best practices include examples that use Jsonnet, but the same recommendations apply to other languages:\n\n- Consume a single pure data file, and let the config language split the config into files using imports. This means the config language implementation only has to emit (and the application only has to consume) a single file. Also, since applications can combine files in different ways, this strategy explicitly and clearly delineates how the files are combined to form the application configuration.\n- Represent collections of named entities using objects, where the field contains the object name and the value contains the rest of the entity. Avoid using an array of objects where each element has a name field. Bad JSON: [\n { \"name\": \"cat\", ... },\n { \"name\": \"dog\", ... }\n] Good JSON: {\n \"cat\": { ... },\n \"dog\": { ... }\n} This strategy makes the collection (and individual animals) easier to extend, and you can reference entities by name (e.g., `animals.cat`) instead of referencing brittle indexes (e.g., `animals[0]`).\n- Avoid grouping entities by type at the top level. Structure the JSON so that logically related configuration is grouped in the same subtree. This allows abstraction (at the config language level) to follow functional boundaries. Bad JSON: {\n \"pots\": { \"pot1\": { ... }, \"pot2\": { ... } },\n \"lids\": { \"lid1\": { ... }, \"lid2\": { ... } }\n} Good JSON: {\n \"pot_assembly1\": { \"pot\": { ... }, \"lid\": { ... } },\n \"pot_assembly2\": { \"pot\": { ... }, \"lid\": { ... } }\n} At the config language level, this strategy enables abstractions like the following: local kitchen = import 'kitchen.libsonnet';\n{\n pot_assembly1: kitchen.CrockPot,\n pot_assembly2: kitchen.SaucePan { pot+: { color: 'red' } },\n}\n- Generally keep the data representation design simple:\n - Avoid embedding language features in the data representation (as mentioned in Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem . These types of abstractions will be underpowered and only create confusion, since they force users to decide whether to use the abstraction features in the data representation or in the configuration language.\n - Don’t worry about overly verbose data representation. Solutions to reduce verbosity introduce complexity, and the problem can be managed in the configuration language.\n - Avoid interpreting custom string interpolation syntax, such as conditionals or placeholder references in strings, in your application. Sometimes interpretation is unavoidable—for example, when you need to describe actions that are performed after the pure data version of the config is generated (alerts, handlers, etc.). But otherwise, let the config language do as much of the language-level work as possible.\n\nAs mentioned earlier, if you can remove configuration altogether, doing so is always your best option. Although the configuration language can hide the complexity of the underlying model by using templates with default values, the generated config data is not completely hidden—it may be processed by tools, inspected by humans, or loaded into config databases. For the same reason, don’t rely on the configuration language to fix inconsistent naming, plurals, or mistakes in the underlying model—fix them in the model itself. If you can’t fix inconsistencies in the model, it is better to live with them at the language level to avoid even more inconsistency.\n\nIn our experience, configuration changes tend to dominate outage root causes over time in a system (see our list of top causes of outages in [Results of Postmortem Analysis](https://sre.google/workbook/postmortem-analysis/)). Validating your config changes is a key step to maintaining reliability. We recommend validating the generated config data immediately after configuration execution. Syntactic validation alone (i.e., checking whether JSON is parsable) won’t find many bugs. After generic schema validation, check properties that are specific to your application’s domain—for example, whether required fields are present, referenced filenames exist, and provided values are within allowed ranges.\n\nYou can validate Jsonnet’s JSON with [JSONschema](https://json-schema.org/). For applications using [protocol buffers](https://developers.google.com/protocol-buffers/docs/proto3), you can easily generate the canonical JSON form of these buffers from Jsonnet, and the protocol buffer implementation will validate during deserialization.\n\nNo matter how you decide to validate, do not ignore unrecognized field names, as they may indicate a typo at the configuration language level. Jsonnet can mask fields that should not be output using the `::` syntax. It’s also a good idea to perform the same validation in a precommit hook.\n\n# Effectively Operating a Configuration System\n\nWhen implementing “configuration as code” in any language, we recommend following the discipline and processes that aid software engineering generally.\n\n##### Versioning\n\nConfiguration languages usually trigger engineers to write libraries of templates and utility functions. Often, one team maintains these libraries, but many other teams may consume them. When you need to make a breaking change to the library, you have two choices:\n\n- Commit a global update of all client code, refactoring the code so that it still works (this may not be organizationally possible).\n- Version the library so that different consumers can use different versions and migrate independently. Consumers who opt to use deprecated versions won’t get the benefits of the new versions and will incur technical debt—someday, they will have to refactor their code to use the new library.\n\nMost languages, including Jsonnet, do not provide any specific support for versioning; instead, you can easily use directories. For a practical example in Jsonnet, see the [ksonnet-lib repository](https://github.com/ksonnet/ksonnet-lib), where the version is the first component of the imported path:\n\n`local k = import 'ksonnet.beta.2/k.libsonnet';`\n\n##### Source Control\n\n[Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/) advocates keeping a historical record of config changes (including who made them) and ensuring that rollbacks are easy and reliable. Checking configuration into source control brings all these capabilities, plus the ability to code review config changes.\n\n##### Tooling\n\nConsider how you will enforce style and lint your configurations, and investigate if there’s an editor plug-in that integrates these tools into your workflow. Your goals here are to maintain a consistent style across all authors, to improve readability, and to detect errors. Some editors support post-write hooks that can run formatters and other external tools for you. You can also use precommit hooks to run the same tools to ensure checked-in config is high quality.\n\n##### Testing\n\nWe recommend implementing unit tests for upstream template libraries. Make sure the libraries generate the expected concrete configuration when instantiated in various ways. Similarly, libraries of functions should include unit tests so they can be maintained with confidence.\n\nIn Jsonnet, you can write tests as Jsonnet files that:\n\n1. Import the library to be tested.\n2. Exercise the library.\n3. Use either the `assert` statement or the standard library `assertEqual` function to validate its output. The latter presents any mismatching values in its error messages.\n\nThe following example tests the `joinName` function and `MyTemplate`:\n\n**// utils_test.jsonnet**\nlocal utils = import 'utils.libsonnet';\nstd.assertEqual(utils.joinName(['foo', 'bar']), 'foo-bar') &&\nstd.assertEqual(utils.MyTemplate { tier: 'frontend' }, { ... })\n\nFor larger test suites, you can take advantage of a [more comprehensive unit test framework developed by Jsonnet community members](https://github.com/yugui/jsonnetunit). You can use this framework to define and run suites of tests in a structured manner—for example, to report the set of all failing tests instead of aborting execution at the first failing assertion.\n\n# When to Evaluate Configuration\n\nOur critical properties include hermeticity; that is, configuration languages must generate the same config data regardless of where or when they execute. As described in [Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/) a system can be hard or impossible to roll back if it depends on resources that can change outside of its hermetic environment. Generally, hermeticism means that Jsonnet code is always interchangeable with the expanded JSON it represents. Accordingly, you can generate JSON from Jsonnet at any time between when the Jsonnet is updated and when you need the JSON—even each time you need the JSON.\n\nWe recommend storing configuration in version control. Then your earliest opportunity to validate the config is before check-in. At the other extreme, an application can evaluate the config when it needs the JSON data. As a middle-of-the-road option, you can evaluate at build time. Each of these options has various tradeoffs, and you should optimize according to the specifics of your use case.\n\n##### Very Early: Checking in the JSON\n\nYou can generate JSON from the Jsonnet code before checking both in to version control. The typical workflow is as follows:\n\n1. Modify the Jsonnet files.\n2. Run the Jsonnet command-line tool (perhaps wrapped in a script) to regenerate JSON files.\n3. Use a precommit hook to ensure that the Jsonnet code and JSON output are always consistent.\n4. Package everything into a pull request for a code review.\n\n###### Pros\n\n- The reviewer can sanity-check the concrete changes—for example, a refactoring should not affect the generated JSON at all.\n- You can inspect line annotations by multiple authors across different versions at both the generated and abstracted level. This is useful for auditing changes.\n- You don’t need to run Jsonnet at runtime, which can help to limit complexity, binary size, and/or risk exposure.\n\n###### Cons\n\n- The generated JSON is not necessarily readable—for example, if it embeds long strings.\n- The JSON may not be suitable for checking into version control for other reasons—for example, if it’s too large or contains secrets.\n- Merge conflicts may arise if many concurrent edits to separate Jsonnet files converge to a single JSON file.\n\n##### Middle of the Road: Evaluate at Build Time\n\nYou can avoid checking JSON into source control by running the Jsonnet command-line utility at build time and embedding the generated JSON into the release artifact (e.g., as a tarball). The application code simply reads the JSON file from disk at initialization time. If you’re using Bazel, you can easily achieve this using the [Jsonnet Bazel rules](https://github.com/bazelbuild/rules_jsonnet). At Google, we commonly favor this approach because of the pros listed next.\n\n###### Pros\n\n- You have the ability to control runtime complexity, binary size, and risk exposure without having to rebuild the JSON files in each pull request.\n- There’s no risk of desynchronization between originating Jsonnet code and resulting JSON.\n\n###### Cons\n\n- The build is more complex.\n- It’s harder to evaluate the concrete change during code review.\n\n##### Late: Evaluate at Runtime\n\nLinking the Jsonnet library allows the application itself to interpret the config at any time, yielding an in-memory representation of the generated JSON config.\n\n###### Pros\n\n- It’s simpler, as you don’t need a prior evaluation.\n- You gain the ability to evaluate Jsonnet code provided by the user during execution.\n\n###### Cons\n\n- Any linked library increases the footprint and risk exposure.\n- Configuration bugs may be discovered at runtime, which is too late.\n- If the Jsonnet code is untrusted, you must take special care. (We discuss why in Guarding Against Abusive Configuration .)\n\nTo follow our running example, when should you run Jsonnet if you’re generating Kubernetes objects?\n\nThe answer depends on your implementation. If you’re building something like ksonnet (a client-side command-line tool that runs Jsonnet code from the local filesystem), the easiest solution is to link the Jsonnet library into the tool and evaluate the Jsonnet in process. Doing so is safe because code runs on the author’s own machine.\n\n[Box.com](https://www.box.com/)'s infrastructure uses Git hooks to push configuration changes to production. To avoid executing Jsonnet on the server, the Git hooks act on generated JSON that’s kept in the repository. For a deployment management daemon like Helm or Spinnaker, your only choice is to evaluate the Jsonnet on the server at runtime (with the caveats described in the next section).\n\n# Guarding Against Abusive Configuration\n\nUnlike long-running services, configuration execution should quickly terminate with the resulting config. Unfortunately, due to bugs or deliberate attacks, configuration may take an arbitrary amount of CPU time or memory. To illustrate why, consider the following nonterminating Jsonnet program:\n\n`local f(x) = f(x + 1); f(0)`\n\nA program that uses unbounded memory is similar:\n\n`local f(x) = f(x + [1]); f([])`\n\nYou can write equivalent examples using objects instead of functions, or in other configuration languages.\n\nYou might try to avoid overconsuming resources by restricting the language so that it is no longer [Turing complete](https://en.wikipedia.org/wiki/Turing_completeness). However, enforcing that all configurations terminate doesn’t necessarily prevent overconsuming resources. It’s easy to write a program that consumes enough time or memory to be practically nonterminating. For example:\n\n`local f(x) = if x == 0 then [] else [f(x - 1), f(x - 1)]; f(100)`\n\nIn fact, [such programs exist](https://en.wikipedia.org/wiki/Billion_laughs_attack) even with simple config formats like XML and YAML.\n\nIn practice, the risk of these scenarios depends on the situation. On the less problematic side, suppose a command-line tool uses Jsonnet to build Kubernetes objects and then deploys those objects. In this case, the Jsonnet code is trusted: accidents that produce nontermination are rare, and you can use Ctrl-C to mitigate them. Accidental memory exhaustion is extremely unlikely. At the other extreme, with a service like Helm or Spinnaker, which accepts arbitrary config code from an end user and evaluates it in a request handler, you must be very careful to avoid DOS attacks that might tie up request handlers or exhaust memory.\n\nIf you evaluate untrusted Jsonnet code in a request handler, you can avoid such attacks by sandboxing the Jsonnet execution. One easy strategy is to use a separate process and `ulimit` (or its non-UNIX equivalent). Typically, you need to fork to the command-line executable instead of linking the Jsonnet library. As a result, programs that do not complete within given resources fail safely and inform the end user. For additional defense against C++ memory exploits, you can use the native Go implementation of Jsonnet.\n\n# Conclusion\n\nWhether you use Jsonnet, adopt another configuration language, or develop your own, we hope that you can apply these best practices to manage the complexity and operational load required to configure your production system with confidence.\n\nAt a minimum, the critical properties of a configuration language are good tooling, hermetic configurations, and separation of configuration and data.\n\nYour system may not be complex enough to need a configuration language. Transitioning to a domain-specific language like Jsonnet is a strategy to consider when your complexity increases. Doing so will allow you to provide a consistent and well-structured interface, and will free up your SRE team’s time to work on other important projects.\n\n1\n\nNote that you may be able to write software to convert your old configuration language to the new language; however, if your original source language is nonstandard or broken, this isn’t a viable option.\n\n2While fields from computational biology to video games use Jsonnet, the most enthusiastic adopters are from the Kubernetes community. Box.com uses Jsonnet to describe the workloads that run on their Kubernetes-based internal infrastructure platform. Databricks and Bitnami also use the language extensively.\n\n3A YAML stream is a file that contains many YAML documents separated by `\"---\"`.\n\n4YAML Specification §6.9.2.\n\n5In the YAML specification, objects are known as documents.", "znaku_textu": 40738, "slov": 5963, "odkazu": 86, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:42", "sha256": "895f8d43eff854f27a1430a0a32b99dd6408121fe0f00c109182c95abc373c90", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/INI_file", "https://json.org/", "https://yaml.org/", "https://en.wikipedia.org/wiki/String_interpolation", "https://stackoverflow.com/", "https://github.com/lightbend/config/blob/master/HOCON.md", "https://github.com/flabbergast-config/flabbergast", "https://github.com/dhall-lang/dhall-lang", "https://jsonnet.org/", "https://jsonnet.org/learning/tutorial.html", "https://github.com/hashicorp/hcl", "https://jsonnet.org/articles/output-formats.html", "https://cloud.google.com/deployment-manager/", "https://aws.amazon.com/cloudformation/", "https://www.terraform.io/", "https://cassandra.apache.org/", "https://kubernetes.io/docs/concepts/configuration/overview/", "https://jsonnet.org/articles/kubernetes.html", "https://json-schema.org/", "https://developers.google.com/protocol-buffers/docs/proto3", "https://github.com/ksonnet/ksonnet-lib", "https://github.com/yugui/jsonnetunit", "https://github.com/bazelbuild/rules_jsonnet", "https://www.box.com/", "https://en.wikipedia.org/wiki/Turing_completeness", "https://en.wikipedia.org/wiki/Billion_laughs_attack", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/data-processing/", "titulek": "Google SRE - Improve and Optimize Data Processing Pipelines", "h1": "Data Processing Pipelines", "popis": "Strategies for enhancing data processing pipelines, including pipelines design, best practices, and case studies to boost efficiency and reliability.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/data-processing/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/data-processing/"}, "headline": "Data Processing Pipelines", "description": "This chapter starts by using product examples to examine some common types of applications of big data processing pipelines. We then explore how to identify pipeline requirements and design patterns, and enumerate some best practices of managing data processing pipelines throughout the development lifecycle.", "image": "https://lh3.googleusercontent.com/vdUfamzd5mee2I60GqUQ320uUWsdLNyoV1EurdYE1DuuMirVPINhi78GHxFZV4kLmXXTzw7BRtmjxAw08DjD_zVWcVXB_l0OsZaR", "author": [{"@type": "Person", "name": "Rita Sodt"}, {"@type": "Person", "name": "Igor Maravić (Spotify)"}, {"@type": "Person", "name": "Gary Luo"}, {"@type": "Person", "name": "Gary O'Connor"}, {"@type": "Person", "name": "Kate Ward"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Data Processing Pipelines"}, {"uroven": 2, "text": "Pipeline Applications"}, {"uroven": 5, "text": "Event Processing/Data Transformation to Order or Structure Data"}, {"uroven": 5, "text": "Data Analytics"}, {"uroven": 5, "text": "Machine Learning"}, {"uroven": 1, "text": "Pipeline Best Practices"}, {"uroven": 5, "text": "Define and Measure Service Level Objectives"}, {"uroven": 6, "text": "Data freshness"}, {"uroven": 6, "text": "Data correctness"}, {"uroven": 6, "text": "Data isolation/load balancing"}, {"uroven": 6, "text": "End-to-end measurement"}, {"uroven": 5, "text": "Plan for Dependency Failure"}, {"uroven": 5, "text": "Create and Maintain Pipeline Documentation"}, {"uroven": 6, "text": "System diagrams"}, {"uroven": 6, "text": "Process documentation"}, {"uroven": 6, "text": "Playbook entries"}, {"uroven": 5, "text": "Map Your Development Lifecycle"}, {"uroven": 6, "text": "Prototyping"}, {"uroven": 6, "text": "Testing with a 1% dry run"}, {"uroven": 6, "text": "Staging"}, {"uroven": 6, "text": "Canarying"}, {"uroven": 6, "text": "Performing a partial deployment"}, {"uroven": 6, "text": "Deploying to production"}, {"uroven": 5, "text": "Reduce Hotspotting and Workload Patterns"}, {"uroven": 5, "text": "Implement Autoscaling and Resource Planning"}, {"uroven": 5, "text": "Adhere to Access Control and Security Policies"}, {"uroven": 5, "text": "Plan Escalation Paths"}, {"uroven": 1, "text": "Pipeline Requirements and Design"}, {"uroven": 5, "text": "What Features Do You Need?"}, {"uroven": 5, "text": "Idempotent and Two-Phase Mutations"}, {"uroven": 5, "text": "Checkpointing"}, {"uroven": 5, "text": "Code Patterns"}, {"uroven": 6, "text": "Reusing code"}, {"uroven": 6, "text": "Using the microservice approach to creating pipelines"}, {"uroven": 5, "text": "Pipeline Production Readiness"}, {"uroven": 6, "text": "Pipeline maturity matrix"}, {"uroven": 1, "text": "Pipeline Failures: Prevention and Response"}, {"uroven": 5, "text": "Potential Failure Modes"}, {"uroven": 6, "text": "Delayed data"}, {"uroven": 6, "text": "Corrupt data"}, {"uroven": 5, "text": "Potential Causes"}, {"uroven": 6, "text": "Pipeline dependencies"}, {"uroven": 6, "text": "Pipeline application or configuration"}, {"uroven": 6, "text": "Unexpected resource growth"}, {"uroven": 6, "text": "Region-level outage"}, {"uroven": 1, "text": "Case Study: Spotify"}, {"uroven": 5, "text": "Event Delivery"}, {"uroven": 5, "text": "Event Delivery System Design and Architecture"}, {"uroven": 6, "text": "Data collection"}, {"uroven": 6, "text": "Extract Transform Load"}, {"uroven": 6, "text": "Data delivery"}, {"uroven": 5, "text": "Event Delivery System Operation"}, {"uroven": 6, "text": "Timeliness"}, {"uroven": 6, "text": "Skewness"}, {"uroven": 6, "text": "Completeness"}, {"uroven": 5, "text": "Customer Integration and Support"}, {"uroven": 6, "text": "Documentation"}, {"uroven": 6, "text": "System monitoring"}, {"uroven": 6, "text": "Capacity planning"}, {"uroven": 6, "text": "Development process"}, {"uroven": 6, "text": "Incident handling"}, {"uroven": 5, "text": "Summary"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Data Processing Pipelines\n\nBy Rita Sodt and Igor Maravić (Spotify)\nwith Gary Luo, Gary O’Connor, and Kate Ward\n\nData processing is a complex field that’s constantly evolving to meet the demands of larger data sets, intensive data transformations, and a desire for fast, reliable, and inexpensive results. The current landscape features data sets that are generated and collected from a variety of sources—from mobile usage statistics to integrated sensor networks to web application logs, and more. Data processing pipelines can turn these often unbounded, unordered, global-scale data sets into structured, indexed storage that can help inform crucial business decisions or unlock new product features. In addition to providing insight into system and user behavior, [data processing](https://sre.google/sre-book/data-integrity/) is often business-critical. Delayed or incorrect data in your pipeline can manifest in user-facing issues that are expensive, labor-intensive, and time-consuming to fix.\n\nThis chapter starts by using product examples to examine some common types of applications of big data processing pipelines. We then explore how to identify pipeline requirements and design patterns, and enumerate some best practices of managing data processing pipelines throughout the development lifecycle. We cover tradeoffs you can make to optimize your pipeline and techniques for measuring the important signals of pipeline health. For a service to remain healthy and reliable once it’s deployed, SREs (as well as developers) should be able to navigate all of these tasks. Ideally, SREs should be involved in this work from its early stages: Google’s SRE teams regularly consult with teams developing a data processing pipeline to ensure that the pipeline can be easily released, modified, and run without causing issues for customers.\n\nFinally, the Spotify case study provides an overview of their event delivery processing pipeline, which uses a combination of in-house, Google Cloud, and other third-party solutions to manage a complex, business-critical data processing pipeline. Whether you own a pipeline directly, or own another service that depends on the data that a pipeline produces, we hope you can use the information in this chapter to help make your pipelines (and services) more reliable.\n\nFor a comprehensive discussion of Google’s philosophies on data processing pipelines, see the [Data Processing Pipelines](https://sre.google/sre-book/data-processing-pipelines/) chapter of our first SRE book.\n\n## Pipeline Applications\n\nThere is a wide variety of pipeline applications, each with its own strengths and use cases. A pipeline can involve multiple stages; each stage is a separate process with dependencies on other stages. One pipeline might contain multiple stages, which are abstracted away with a high-level specification. An example of this is in Cloud Dataflow: a user writes the business logic with a relatively high-level API, and the [pipeline technology](https://cloud.google.com/dataflow/pipelines/specifying-exec-params) itself translates this data into a series of steps or stages where one’s output is the input of another. To give you an idea of the breadth of pipeline applications, next we describe several pipeline applications and their recommended uses. We use two example companies with different pipeline and implementation requirements to demonstrate different ways of meeting their respective data needs. These examples illustrate how your specific use case defines your project goals, and how you can use these goals to make an informed decision on what data pipeline works best for you.\n\n##### Event Processing/Data Transformation to Order or Structure Data\n\nThe Extract Transform Load (ETL) model is a common paradigm in data processing: data is extracted from a source, transformed, and possibly denormalized, and then “reloaded” into a specialized format. In more modern applications, this might look like a cognitive process: data acquisition from some kind of sensor (live or playback) and a selection and marshalling phase, followed by “training” of a specialized data structure (like a machine learning network).\n\nETL pipelines work in a similar way. Data is extracted from a single (or multiple) sources, transformed, and then loaded (or written) into another data source. The transformation phase can serve a variety of use cases, such as:\n\n- Making changes to the data format to add or remove a field\n\n- Aggregating computing functions across data sources\n\n- Applying an index to the data so it has better characteristics for serving jobs that consume the data\n\nTypically, an ETL pipeline prepares your data for further analysis or serving. When used correctly, ETL pipelines can perform complex data manipulations and ultimately increase the efficiency of your system. Some examples of ETL pipelines include:\n\n- Preprocessing steps for machine learning or business intelligence use cases\n\n- Computations, such as counting how many times a given event type occurs within a specific time interval\n\n- Calculating and preparing billing reports\n\n- Indexing pipelines like the ones that power Google’s web search\n\n##### Data Analytics\n\nBusiness intelligence refers to technologies, tools, and practices for collecting, integrating, analyzing, and presenting large volumes of information to enable better decision making.1 Whether you have a retail product, a mobile game, or [Internet of Things–connected sensors](https://en.wikipedia.org/wiki/Internet_of_things), aggregating data across multiple users or devices can help you identify where things are broken or working well.\n\nTo illustrate the data analytics use case, let’s examine a fictional company and their recently launched mobile and web game, Shave the Yak. The owners want to know how their users interact with the game, both on their mobile devices and on the web. As a first step, they produce a data analytics report of the game that processes data about player events. The company’s business leaders have requested monthly reports on the most used features of the game so they can plan new feature development and perform market analysis. The mobile and web analytics for the game are stored in Google Cloud [BigQuery](https://cloud.google.com/bigquery/) tables that are updated three times a day by [Google Analytics](https://en.wikipedia.org/wiki/Google_Analytics). The team set up a job that runs whenever new data is added to these tables. On completion, the job makes an entry in the company’s daily aggregate table.\n\n##### Machine Learning\n\nMachine learning (ML) applications are used for a variety of purposes, like helping predict cancer, classifying spam, and personalizing product recommendations for users. Typically, an ML system has the following stages:\n\n1. Data features and their [labels](https://en.wikipedia.org/wiki/Labeled_data) are extracted from a larger data set.\n2. An ML algorithm trains a model on the extracted features.\n3. The model is evaluated on a test set of data.\n4. The model is made available (served) to other services.\n5. Other systems make decisions using the responses served by the model.\n\nTo demonstrate an ML pipeline in action, let’s consider an example of a fictional company, Dressy, that sells dresses online. The company wants to increase their revenue by offering targeted recommendations to their users. When a new product is uploaded to the site, Dressy wants their system to start incorporating that product into user recommendations within 12 hours. Ultimately, Dressy would like to present users with near-real-time recommendations as they interact with the site and rate dresses. As a first step in their recommender system, Dressy investigates the following approaches:\n\nCollaborative\n\n- Show products that are similar to each other.\n\nClustering\n\n- Show products that have been liked by a similar user.\n\nContent-based\n\n- Show products that are similar to other products that the user has viewed or liked.\n\nAs an online shop, Dressy has a data set of user profile information and reviews, so they opt to use a clustering filter. New products that are uploaded to their system don’t have structured data or consistent labels (e.g., some vendors may include extra information about color, size, and features of the dress using different categories and formats). Consequently, they need to implement a pipeline to preprocess the data into a format compatible with [TensorFlow](https://www.tensorflow.org/) that joins both the product information and user profile data. The ML system includes pipelines to preprocess data from multiple sources needed to train the model. Using the training data, Dressy’s development team creates a TensorFlow model to serve the appropriate recommendations to customers. Figure 13-1 shows the full ML solution. We detail each step afterward.\n\nFigure 13-1. ML data processing pipeline\n\n1. The development team elects to use a streaming dataflow pipeline, Google Cloud Dataflow, to preprocess the data into a format of labeled dresses by sending images to an image classification service that returns a list of characteristics.\n2. The team preprocesses data from multiple sources that will be used to train a model that returns the top five most similar dresses. Their workflow generates an ML model from the dress product data and purchase history from customer profiles stored in BigQuery.\n3. They choose to use a streaming Dataflow pipeline to preprocess the data into a format of customer personalization profiles. These profiles are used as input to train a TensorFlow model. The trained TensorFlow model binary is stored in a [Google Cloud Storage (GCS) bucket](https://cloud.google.com/storage/) . Before being promoted to production, the team ensures the model passes accuracy checks when evaluated against a test set of the preprocessed data used for model evaluation.\n4. A service provides the recommendations for a given customer, which the web and mobile frontends use. The team uses TensorFlow with the [Cloud ML online prediction service](https://cloud.google.com/ml-engine/) .\n5. A customer-facing, frontend service for making purchases serves the user data based on the up-to-date dress recommendations from the prediction service.\n\nDressy has noticed that occasionally a new model doesn’t get published for over 24 hours, and the recommendations trigger intermittent errors. This is a common issue when a new model is deployed for the first time; however, there are some simple steps you can take to resolve this problem. If you start to notice that decisions, classifications, or recommendations either aren’t being surfaced or are stale or incorrect, ask yourself:\n\n- Is data stuck coming into the pipeline before it can be preprocessed to train the model?\n- Do we have a poor ML model caused by a software bug? Is there a lot of spam? Are the features used to train the model poorly chosen?\n- Has a new version of the ML model been recently generated, or is a stale version of the model running in production?\n\nLuckily, Dressy has a set of tools to monitor and detect an issue before their customers experience any problems. If and when an outage occurs, these tools can help them to quickly repair or roll back any offending code. For more details on implementing monitoring and alerting, see [Monitoring](https://sre.google/workbook/monitoring/).\n\n# Pipeline Best Practices\n\nThe following pipeline best practices apply to pipelines that are run as a service (i.e., pipelines that are responsible for correctly processing data in a timely manner for consumption by other systems). Multiple steps are required to properly deploy a pipeline as a service. These steps range from defining and measuring your customer needs with an SLO, to gracefully responding to degradations and failures, to writing documentation and creating a development lifecycle that catches issues before they reach production.\n\n##### Define and Measure Service Level Objectives\n\nIt’s important to automatically detect when your pipeline is unhealthy and if you are failing to meet your customer’s needs. Receiving notifications when you’re in danger of exceeding your error budget (for more details on error budget, see [Implementing SLOs](https://sre.google/workbook/implementing-slos/)) helps to minimize customer impact. At the same time, it’s important to strike a comfortable balance between reliability and feature launches—your customers care about both. The remainder of this section provides examples of pipeline SLOs and how to maintain them.\n\n###### Data freshness\n\nMost pipeline data freshness SLOs are in one of the following formats:\n\n- X % of data processed in Y [seconds, days, minutes].\n- The oldest data is no older than Y [seconds, days, minutes].\n- The pipeline job has completed successfully within Y [seconds, days, minutes].\n\nFor example, the Shave the Yak mobile game could choose to target an SLO requiring 99% of all user actions that impact the user score to be reflected in the scoreboard within 30 minutes.\n\n###### Data correctness\n\nCreating SLOs for data correctness ensures that you are alerted about potential data errors in your pipeline. For example, a correctness error in a billing pipeline could result in customers being charged too much or too little. A correctness target can be difficult to measure, especially if there is no predefined correct output. If you don’t have access to such data, you can generate it. For example, use test accounts to calculate the expected output. Once you have this “golden data,” you can compare expected and actual output. From there, you can create monitoring for errors/discrepancies and implement threshold-based alerting as test data flows through a real production system.\n\nAnother data correctness SLO involves backward-looking analysis. For example, you might set a target that no more than 0.1% of your invoices are incorrect per quarter. You might set another SLO target for the number of hours/days that bad data or errors are served from the pipeline output data. The notion of data correctness varies by product and application.\n\n###### Data isolation/load balancing\n\nSometimes you will have segments of data that are higher in priority or that require more resources to process. If you promise a tighter SLO on high-priority data, it’s important to know that this data will be processed before lower-priority data if your resources become constrained. The implementation of this support varies from pipeline to pipeline, but often manifests as different queues in task-based systems or different jobs. Pipeline workers can be configured to take the highest available priority task. There could be multiple pipeline applications or pipeline worker jobs running with different configurations of resources—such as memory, CPU, or [network tiers](https://cloud.google.com/network-tiers/)—and work that fails to succeed on lower provisioned workers could be retried on higher provisioned ones. In times of resource or system constraints, when it’s impossible to process all data quickly, this separation allows you to preferentially process higher-priority items over lower ones.\n\n###### End-to-end measurement\n\nIf your pipeline has a series of stages, it can be tempting to measure a per-stage or per-component SLO. However, measuring SLOs in this fashion doesn’t capture your customer’s experience or the end-to-end health of your system. For example, imagine you have an event-based pipeline such as Google Analytics. The end-to-end SLO includes log input collection and any number of pipeline steps that happen before data reaches the serving state. You could monitor each stage individually and offer an SLO on each one, but customers only care about the SLO for the sum of all stages. If you’re measuring SLOs for each stage, you would be forced to tighten your per-component alerting, which could result in more alerts that don’t model the user experience.\n\nAdditionally, if you measure data correctness only per stage, you could miss end-to-end data corruption bugs. For example, each stage in your pipeline could report that all is well, but one stage introduces a field that it expects a downstream job to process. This upstream stage assumes that the extra data has been processed and used to serve requests to users. A downstream job doesn’t expect the additional field, so it drops the data. Both jobs think they are correct, but the user doesn’t see the data.\n\n##### Plan for Dependency Failure\n\nOnce you define your SLO, it’s good practice to confirm that you aren’t overdepending on the SLOs/SLAs of other products that fail to meet their commitments. Many products, such as Google Cloud Platform, list their [SLA promises](https://cloud.google.com/terms/sla/) on their sites. Once you identify any third-party dependencies, at a minimum, design for the largest failure accounted for in their advertised SLAs. For example, when defining an SLO, the owner of a pipeline that reads or writes data to Cloud Storage would ensure that the [uptimes and guarantees advertised](https://cloud.google.com/storage/sla) are appropriate. If the single-region uptime guarantee was less than required by the pipeline to meet its SLO on data processing time, the pipeline owner may choose to replicate the data across regions to get the higher availability.\n\nWhen a service provider’s infrastructure breaks its SLAs, the result can negatively impact dependent pipelines. If your pipeline depends on more strict guarantees than the service provider advertises, your service could fail even if the service provider remains within their SLA. Sometimes, realistically planning for dependency failure can mean accepting a lower level of reliability and offering a looser SLA to your customers.2\n\nAt Google, to encourage pipeline development with dependency failure in mind, we stage planned outages. For example, many pipelines at Google depend on the availability of the datacenter where they run. Our Disaster Recovery Testing (DiRT) frequently targets these systems, simulating a regional outage. When a regional outage occurs, pipelines that have planned for failure automatically fail over to another region. Other pipelines are delayed until the operator of the failed pipeline is alerted by their monitoring and manually fails over. Successful manual failover assumes that the pipeline can obtain enough resources to bring up a production stack in another region. In a best-case scenario, an unsuccessful manual failover prolongs an outage. In a worst-case scenario, processing jobs may have continued processing stale data, which introduces out-of-date or incorrect data in any downstream pipelines. Recovery tactics from an incident like this vary depending on your setup. For example, if correct data was overwritten with incorrect data, you may have to restore data from a previous backup version and reprocess any missing data.\n\nIn summary, it’s good practice to prepare for the day when the systems you depend on are unavailable. Even the best products will fail and experience outages. Regularly practice disaster recovery scenarios to ensure your systems are resilient to common and uncommon failures. Assess your dependencies and automate your system responses as much as possible.\n\n##### Create and Maintain Pipeline Documentation\n\nWhen well written and maintained, system documentation can help engineers visualize the data pipeline and its dependencies, understand complex system tasks, and potentially shorten downtime in an outage. We recommend three categories of documentation for your pipeline.\n\n###### System diagrams\n\nSystem diagrams, similar to Figure 13-2, can help on-call engineers quickly find potential failure points. At Google, we encourage teams to draw system diagrams that show each component (both pipeline applications and data stores), and the transformations that happen at each step. Each of the components and transformations shown in your diagram can get stuck, causing data to stop flowing through the system. Each component can also introduce a software or application configuration bug that impacts data correctness.\n\nA system diagram should contain quick links to other monitoring and debugging information at different pipeline stages. Ideally, these links should pull from live monitoring information, displaying the current status of each stage (e.g., waiting for dependent job to finish/processing/complete). Displaying historical runtime information can also indicate if a pipeline stage is taking longer than expected. This delay can foreshadow performance degradation or an outage.\n\nFinally, even in complex systems, a system diagram makes it easier for developers to analyze data dependencies they should be aware of during feature launches.\n\nFigure 13-2. Pipeline system diagram (PII = personally identifiable information)\n\n###### Process documentation\n\nIt’s important to document how to perform common tasks, such as releasing a new version of a pipeline or introducing a change to the data format. Ideally, you should also document less common (often manual) tasks, such as initial service turnup or final service turndown in a new region. Once your tasks are documented, investigate the possibility of automating away any manual work. If the tasks and system are automated, consider generating your documentation directly from the source so you can keep both in sync.\n\n###### Playbook entries\n\nEach alert condition in your system should have a corresponding playbook entry that describes the steps to recovery. At Google, we find it useful to link this documentation in any alert messages sent to on-call engineers. Playbook entries are discussed in more detail in the [Being On-Call](https://sre.google/sre-book/being-on-call/) chapter of our first book.\n\n##### Map Your Development Lifecycle\n\nAs shown in Figure 13-3, the development lifecycle of a pipeline (or a change to a pipeline) isn’t too different from the development lifecycle of other systems. This section follows a typical release flow through each stage of the pipeline development lifecycle.\n\nFigure 13-3. Pipeline development lifecycle with release workflow\n\n###### Prototyping\n\nThe first phase of development involves prototyping your pipeline and verifying semantics. Prototyping ensures that you can express the business logic necessary to execute your pipeline. You may discover that one programming language allows you to better express your business logic, or that a particular language more easily integrates with your existing libraries. A particular programming model may suit your specific use case (e.g., Dataflow versus MapReduce, batch versus streaming). For an example of a completed programming model comparison, see our blog post [“Dataflow/Beam & Spark: A Programming Model Comparison”](https://cloud.google.com/dataflow/blog/dataflow-beam-and-spark-comparison). If you are adding a feature to an existing pipeline, we recommend adding your code and running unit tests in the prototype stage.\n\n###### Testing with a 1% dry run\n\nOnce you have completed your prototype, it’s helpful to run a small setup on the full stack using production data. For example, run your pipeline using an experimental set, or a 1% dry run of production data in a nonproduction environment. Gradually scale up, tracking your pipeline performance to ensure you don’t encounter any bottlenecks. When your product has launched to customers, run performance tests. These tests are an integral development step that helps prevent outages caused by new feature rollouts.\n\n###### Staging\n\nBefore deploying to production, it’s useful to run your system in a preproduction (or staging) environment. The data in your staging environment should be as close to actual production data as possible. We recommend keeping a full copy of production data or at least a representative subset. Unit tests won’t catch all pipeline issues, so it’s important to let the data flow through the system end-to-end to catch integration issues.\n\nIntegration tests can also identify errors. Using both unit and [integration tests](https://sre.google/sre-book/testing-reliability/), run an A/B comparison of your newly generated data to previously generated known good data. For example, check your previous release for expected or unexpected differences before certifying the release and marking it ready to move to production.\n\n###### Canarying\n\nPipeline testing and verification requires more time and care than stateless jobs—the data is persisted and the transformations are often complex. If something goes wrong in your production release, it’s important to catch the issue early so you can limit the impact. Canarying your pipeline can help! Canarying is a process whereby you partially deploy your service (in this case, the pipeline application) and monitor the results. For a more detailed discussion of canarying, see [Canarying Releases](https://sre.google/workbook/canarying-releases/). Canarying is tied to the entire pipeline rather than a single process. During a canary phase, you may choose to process the same real production data as the live pipeline but skip writes to production storage; techniques such as two-phase mutation can help (see Idempotent and Two-Phase Mutations). Often, you’ll have to wait for the complete cycle of processing to finish before you can discover any customer-impacting issues. After your dry run (or two-phase mutation), compare the results of your canary pipeline with your live pipeline to confirm their health and check for data differences.\n\nSometimes it is possible to progress through the canary by gradually updating tasks of a job or by updating first in one region and then another, but this is not always possible with pipelines. Pipelines that use replicated data, such as Dataproc3 and Dataflow,4 support regional endpoints5 and prevent this kind of canary progression—you can’t reload one cell in isolation from another. If you run a multihomed pipeline, it may not be possible to deploy to a single region (or a percentage of servers) like you might with a serving job. Instead, perform a rollout for a small percentage of data first, or as described earlier, roll out in dry-run mode first.\n\nDuring verification of your canary or preproduction environment, it is important to assess the health of your pipeline. Usually, you can use the same metrics you use to track your SLOs. Verifying your canary is a task that lends itself well to automation.\n\n###### Performing a partial deployment\n\nIn addition to canarying your changes, you may also want to perform a partial deployment, particularly if there is a major feature launch or change that could impact system performance and resource usage. It can be difficult to predict the impact of these kinds of launches without first testing your changes on a subset of real traffic. You can implement a partial deployment as a flag or configuration option in your pipeline that accepts an allowed subset of data. Consider first processing your new features on one or two accounts, then gradually ramping up the amount of data (e.g., ~1%, ~10%, ~50%, and finally, 100% of your sample data).\n\nThere are a number of ways your partial deployment can go wrong: the input data might be incorrect or delayed, your data processing might have a bug, or your final storage might have an error. Any of these issues can result in an outage. Avoid promoting a corrupt set of data to your low-latency frontends. Aim to catch these types of issues as early as possible, before they reach your users.\n\n###### Deploying to production\n\nOnce you have fully promoted your new pipeline binaries and/or config to production, you should be reasonably confident that you’ve vetted any potential issues (and if an issue does occur, that your monitoring will alert you). If your deployment goes wrong, be able to quickly restore from a known good state (e.g., roll back the binaries) and mark any potentially broken data as bad (e.g., replace the bad data with data from a previous backup version, make sure no jobs read the affected data, and/or reprocess the data if necessary).\n\n##### Reduce Hotspotting and Workload Patterns\n\nHotspotting happens when a resource becomes overloaded from excessive access, resulting in an operation failure. Pipelines are susceptible to workload patterns—both through reads and writes—that can cause delays in isolated regions of data. Some common examples of hotspotting include:\n\n- Errors thrown because multiple pipeline workers are accessing a single serving task, causing overload.\n- CPU exhaustion due to concurrent access to a piece of data that is available on only one machine. Often, the internals of your data storage have a lowest level of granularity that may become unavailable if accessed heavily (e.g., a [Spanner tablet](https://www.usenix.org/system/files/conference/osdi12/osdi12-final-16.pdf) can become overloaded due to a problematic section of data even though most of the data storage is fine).\n- Latency due to row-level lock contention in a database.\n- Latency due to concurrent access to a hard drive, which exceeds the physical ability of the drive head to move fast enough to quickly locate the data. In this case, consider using solid state drives.\n- A large work unit that requires many resources.\n\nHotspotting can be isolated to a subset of data. To combat hotspotting, you can also block fine-grained data such as individual records. If that data is blocked, the rest of the pipeline can progress. Typically, your infrastructure can provide this functionality. If a chunk of processing work is consuming a disproportionate amount of resources, the pipeline framework can dynamically rebalance by breaking the work into smaller pieces. To be safe, it’s still best to build an emergency shutdown into your client logic to allow you to stop processing and isolate fine-grained chunks of processing work characterized by large resource usage or errors. For example, you should be able to quickly set a flag or push a config that allows you to skip input data that matches a certain pattern or problematic user.\n\nOther strategies to reduce hotspotting include:\n\n- Restructuring your data or access patterns to spread the load evenly\n- Reducing the load (e.g., statically allocate some or all of your data)\n- Reducing lock granularity to avoid data lock contention\n\n##### Implement Autoscaling and Resource Planning\n\nSpikes in workload are common and can lead to service outages if you’re unprepared for them. Autoscaling can help you handle these spikes. By using autoscaling, you don’t have to provision for peak load 100% of the time (for more details on autoscaling, see [Managing Load](https://sre.google/workbook/managing-load/)). Constantly running the number of workers required for peak capacity is an expensive and inefficient use of resources. Autoscaling turns down idle workers so you won’t pay for resources you don’t need. This strategy is particularly important for streaming pipelines and workloads that are variable. Batch pipelines may run simultaneously and will consume as many resources as are available.\n\nPredicting the future growth of your system and allocating capacity accordingly ensures that your service won’t run out of resources. It’s also important to weigh the cost of resources against the engineering effort needed to make the pipeline more efficient. When conducting resource planning with an estimate of future growth, keep in mind that costs may not be isolated to just running your pipeline job. You may also be paying the data storage and network bandwidth costs for replicating data across regions or cross-region writes and reads. Additionally, some data store systems are more expensive than others. Even though unit storage costs are low, these costs can quickly add up for very large data sets or expensive data access patterns that use a lot of computing resources on the storage servers. It’s good practice to help drive down costs by periodically examining your data set and pruning unused content.\n\nAlthough the effectiveness of a series of pipeline stages should be measured according to its end-to-end SLO, the pipeline efficiency and resource usage should be measured at each individual stage. For example, imagine that you have many jobs using BigQuery and notice a significant increase in BigQuery resource usage after a release. If you can quickly determine which jobs are responsible, you can focus your engineering effort on those jobs to drive down costs.\n\n##### Adhere to Access Control and Security Policies\n\nData flows through your system and is often persisted along the way. When managing any persisted data, we recommend you adhere to the following privacy, security, and data integrity principles:\n\n- Avoid storing personally identifiable information (PII) in temporary storage. If you’re required to store PII temporarily, make sure the data is properly encrypted.\n- Restrict access to the data. Grant each pipeline stage only the minimal access it needs to read the output data from the previous stage.\n- Put time to live (TTL) limits on logs and PII.\n\nConsider a BigQuery instance that is tied to a GCP project whose access permissions can be managed with Google Cloud Identity and Access Management (e.g., the Dressy example described earlier). Creating different projects and instances per function allows more fine-grained scoping to restrict access. Tables can have a master project and cross-create views among client projects to allow them controlled access. For example, Dressy has restricted access to tables containing sensitive customer information for jobs from specific project roles.\n\n##### Plan Escalation Paths\n\nIt is important to design your pipeline to be resilient so that a system failure (like a machine or zonal outage) never triggers an SLO violation page. By the time you get paged, you need to manually intervene because all automated measures have been exhausted. If you have well-defined SLOs and reliable metrics and alert detection, you’ll be alerted before your customers notice or report issues. When an SLO is violated, it’s important to respond quickly and send proactive communication to your customers.\n\n# Pipeline Requirements and Design\n\nToday’s market provides many pipeline technology and framework options, and it can be overwhelming to identify which one best suits your use case. Some platforms provide fully managed pipelines. Others give you more flexibility but require more hands-on management. In SRE, we often take a significant amount of time during the design phase to assess which technology is the best fit. We compare and contrast the various design options based on user needs, product requirements, and system constraints. This section discusses tools you can use to both assess your pipeline technology options and make improvements to existing pipelines.\n\n##### What Features Do You Need?\n\nTable 13-1 provides a list of features we recommend you optimize for when managing a data processing pipeline. Some of these features may already be present in your existing pipeline technology (e.g., via managed pipeline platforms, client application logic, or operational tools). Your application may not need some of these features—for example, you don’t need “exactly once” semantics if your work units are idempotent and can be performed more than once for the same result.\n\n| Pipeline item | Feature |\n| --- | --- |\n| Latency | Use an API that supports streaming, batch, or both. Streaming processing is generally better than batch processing at supporting lower-latency applications. If you choose batch but might at some point want streaming, an API that is interchangeable may reduce the migration cost later. |\n| Data correctness | Exactly-once semantics globally. You can require that data is processed (at most) once to get correct results. Two-phase mutations. \n Windowing functions for event processing and aggregations. You may want fixed time, session, or sliding windows to divide data (since data is not always processed in the order in which it’s received). You may also want in-order guarantees. Black-box monitoring. The ability to control the flow of multiple jobs or stages of your pipeline. This control should allow you to gate a job until another completes so the job does not process incomplete data. |\n| High availability | Multihoming. Autoscaling. |\n| Mean Time to Resolve (MTTR) incidents in data processing | Tie your code changes to a release, which allows for fast rollbacks. Have tested data backup and restore procedures in place. In the event of an outage, ensure that you can easily drain a region from serving or processing. Have useful alert messages, dashboards, and logs for debugging. In particular, your monitoring should be quick to identify the reason(s) why a pipeline is delayed and/or why data is corrupt. Use data checkpointing to help recover faster when a pipeline is interrupted. |\n| Mean Time to Detect (MTTD) outages | Ensure you have SLO monitoring in place. Monitoring out-of-SLO alerts allows you to detect issues that impact your customers. Alerting on the [symptom (versus the cause)](https://sre.google/sre-book/monitoring-distributed-systems#id-9nCjSOtmcj) reduces monitoring gaps. |\n| Development lifecycle to prevent errors from reaching production | We recommend running any changes in a canary environment before deploying to production. This strategy lowers the possibility of a change impacting SLOs in production. |\n| Inspect and predict resource usage or cost | Create (or use an existing) resource accounting dashboard. Be sure to include resources like storage and network. Create a metric that allows you to correlate or predict growth. |\n| Ease of development | Support a language that best fits your use case. Often pipeline technologies limit your options to one or two languages. Use a simple API for defining data transformations and expressing your pipeline logic. Consider the tradeoff between simplicity and flexibility. Reuse base libraries, metrics, and reporting. When you’re creating a new pipeline, reusable resources allow you to focus development on any new business logic. |\n| Ease of operation | Use existing automation and operational tools as much as possible. Doing so reduces operational costs, as you don’t need to maintain your own tools. Automate as many operational tasks as possible. Larger tasks that are performed infrequently may include a chain of dependencies and prerequisites that can be too numerous or complex for a human to assess in a timely manner (e.g., moving your data and pipeline stack from region A to region B, then turning down region A). To ease a transition like this, consider investing in automation. Perhaps introduce some pipeline health checks on the pipeline stack in region B before putting it into production. |\n\n##### Idempotent and Two-Phase Mutations\n\nPipelines can process large amounts of data. When a pipeline fails, some data must be reprocessed. You can use the idempotent mutations design pattern to prevent storing duplicate or incorrect data. An [idempotent](https://en.wikipedia.org/wiki/Idempotence) mutation is a type of mutation that can be applied multiple times with the same result. Implementing this design pattern allows separate executions of a pipeline with the same input data to always produce the same result.\n\nWhen testing or canarying a pipeline, you need to know if your applied mutations are acceptable to the pipeline owner according to the expected output. The two-phase mutation design pattern can help here. Typically, the data is read from a source and transformed, and then a mutation is applied. With two-phase mutation, the mutations themselves are stored in a temporary location. A separate verification step (or pipeline) can run against these potential mutations to validate them for correctness. A follow-up pipeline step applies the verified mutations only after the mutations pass validation. Figure 13-4 shows an example of two-phase mutation.\n\nFigure 13-4. Two-phase mutation\n\n##### Checkpointing\n\nTypically, pipelines are long-running processes that analyze or mutate large amounts of data. Without special consideration, pipelines that are terminated early will lose their state, requiring the entire pipeline to be executed again. This is especially true for pipelines that create AI models, as each iteration of the model calculation relies on previous calculations. Checkpointing is a technique that enables long-running processes like pipelines to periodically save partial state to storage so that they can resume the process later.\n\nWhile checkpointing is often used for the failure case, it’s also useful when a job needs to be preempted or rescheduled (e.g., to change CPU or RAM limits). The job can be cleanly shut down, and upon rescheduling, it’s able to detect which work units have already been processed. Checkpointing has the added advantage of enabling a pipeline to skip potentially expensive reads or computations because it already knows the work is done.\n\n##### Code Patterns\n\nSome common code patterns can make your pipelines more efficient to manage and reduce the effort required to make changes or updates.\n\n###### Reusing code\n\nIf you operate multiple similar pipelines and want to implement a new monitoring capability or metric, you have to instrument each separate system. This common workflow isn’t difficult if you use the right strategy. Implementing reusable code libraries allows you to add a metric for monitoring in one place and share it across multiple pipelines or stages. Shared libraries allow you to:\n\n- Gain insight across all data pipelines in a standard way.\n- Reuse other data analytics systems for each pipeline (e.g., a traffic report that works for all of your pipelines).\n- Alert on the same metric for multiple jobs, such as a generic data freshness alert.\n\n###### Using the microservice approach to creating pipelines\n\nWhen using microservices, it’s important to have a service perform a single task and do it well. It’s easier to operate a group of microservices that use the same core libraries, varying only in their business logic, than it is to operate many custom services. A similar pattern can apply to pipelines. Instead of creating one monolithic pipeline application, create smaller pipelines that you can release and monitor separately. In doing so, you will get the same benefits as you get from a microservices architecture.\n\n##### Pipeline Production Readiness\n\nAs discussed in [SRE Engagement Model](https://sre.google/workbook/engagement-model/), a PRR (Production Readiness Review) is the process that Google SRE teams use to onboard a new service. In the same spirit, we use a pipeline maturity matrix when consulting on the choice or design of a pipeline technology.\n\n###### Pipeline maturity matrix\n\nThe matrix in Table 13-2 measures five key characteristics (but you can extend the matrix to measure other characteristics you wish to optimize or standardize for):\n\n- Failure tolerance\n- Scalability\n- Monitoring and debugging\n- Transparency and ease of implementation\n- Unit and integration testing\n\nThe maturity matrix represents the collective knowledge of many pipeline experts at Google. These individuals are responsible for running pipelines across multiple Google products and productionizing the associated systems.\n\nEach characteristic is measured on a scale of 1 to 5, where 1 represents “Chaotic” (unplanned, ad hoc, risky, fully manual) and 5 represents “Continuous improvement.” To score your system, read the descriptions for each characteristic below, and select the best matching milestone. If more than one milestone applies, use the score in the middle (i.e., 2 or 4). A completed scoresheet will give you a clear picture of where your system needs improvement.\n\nWe recommend that you spend the time to make improvements in any weak areas identified by the matrix. Instrumenting monitoring, alerting, and other tooling recommended by the matrix can be time-intensive. When making improvements, you can start by looking for existing products or open source tools that fit your needs instead of creating your own. At Google, we encourage teams to use existing pipeline technologies or tools that provide out-of-the-box pipeline support and features. The more tools and processes that can be reused, the better.\n\n| | *1. Chaotic* | *3. Functional* | *5. Continuous improvement* |\n| --- | --- | --- | --- |\n| *Failure tolerance* | | | |\n| Failover | No support for failover | Some support for work unit retries (even if manual) | Multihomed with automatic failover |\n| Global work scheduling | No support for global work scheduling, multihoming, or failover | Support for hot/hot/hot processing (process same work in all three regions so if any region is unavailable, there is at least one still running) | Support for effective warm/warm/warm processing (distribute work in all three regions and store work centrally to deal with any region loss) |\n| Failed task management | No support for failed work units | --- | Automatic retries for failed work units Automatic quarantine of bad work units |\n| *Scalability* | | | |\n| Automatic scaling of available worker pool | No autoscaling; manual intervention required | Autoscaling works with the use of additional manual tools | Built-in automatic autoscaling support with no requirement for configuration inside a third-party tool |\n| Automatic dynamic resharding to effect balanced load across the pool | Work units are fixed with no ability to make changes | Supports manual resharding of work, or resharding can be achieved automatically with additional code | Built-in support for dynamic subsharding to balance work across the available worker pool |\n| Load shedding/task prioritization | No work unit prioritization exists | Some capability for work unit prioritization | An easy-to-use feature for work unit prioritization exists Built-in support for load shedding Workers understand preemption notification, after which a worker will clean up (finish work/mitigate) |\n| *Monitoring and debugging* | | | |\n| Debugging tools and capabilities | No logs; no way to identify or track failed work units | There is a solution to identify a failed work unit and extract associated logs | There is a solution that allows a user to access logs for the time at which the work unit failed; this data is retrieved directly from the failed work unit There is a solution to automatically quarantine and replay a failed work unit |\n| Dashboards and visualizations | No dashboards or visualization solutions that support the display of pipeline information | There is an easy-to-configure dashboard showing the following information:\n Number of work units in various stages of completion Latency and aging information for each stage | A fine-grained visualization of the entire execution map for a pipeline A visualization for delays up to each stage A visualization and rationale for throttling and pushback Information about limiting factors due to resource usage Information about the distribution of internal state worker machines (e.g., stack graph) Information about how many work units are failing, stuck, or slow Historical run statistics are presented and preserved |\n| *Ease of implementation and transparency* | | | |\n| Discoverability | No feature for discoverability (a list of the pipelines that are running and their status) | Some support for discoverability; manual setup might be required, or not all pipelines are discoverable | Built-in support for automatic discoverability; a global data registry service that allows the listing of configured pipelines |\n| Code | Significant setup cost for using the technology | Some reusable components available | Base frameworks are available and require minimum code The pipeline can be configured in machine-readable format Zero config Libraries with semantics similar to other pipeline solutions that are most heavily used in related teams |\n| Documentation and best practices | Sparse or outdated documentation | Minimal setup documentation for each component | Comprehensive and up-to-date documentation Training examples for new users |\n| *Unit and integration testing* | | | |\n| Unit testing framework | No support or unit testing framework | Tests take a long time to run and frequently time out Too many resource requirements No code coverage support Easy to switch data sources to test a resource | Runs with [sanitizers](https://github.com/google/sanitizers) (ASAN, TSAN, etc.) The build dependency graph is as small as possible Code coverage support Provides debugging info and results No external dependencies Built-in test data generation library |\n| Ease of configuration (this has direct relevance to the scalability aspect of the pipeline) | Test configuration is not supported or requires a significant amount of time to learn, in addition to learning about the pipeline itself—for example, testing uses a different programming language and a different API than the pipeline | The first integration test requires significant setup, but subsequent tests are either a copy/paste or an extension to the first with minimal overrides—for example, a test data generator could be minimally tweaked to support collecting test data for many different pipeline applications | Decoupling from production configuration, while not preventing reuse; easier to define integration test configuration and reuse relevant parts of prod configuration |\n| Support for integration testing frameworks (this describes how well a pipeline should interact and support various integration testing methodologies, which are not necessarily part of the pipeline itself) | Using Cloud or third-party open source tools for diffing, monitoring, integration testing, and so on, can be difficult to implement and/or resource-intensive; requires in-house tools or tools do not exist | Minimal documentation and examples of integration testing tools and methodologies used in conjunction with the pipeline Large amount of time required even for data sets with minimal input Difficult to trigger on-demand execution for testing scenarios Difficult to separate production from nonproduction concerns (e.g., all event logs go to production logging service) | Built-in support for scaled-down input data Support for diffing of output data (e.g., persisting output test data) Configurable monitoring for test run validation Ample documentation and examples of integration tests built for the pipeline |\n\n# Pipeline Failures: Prevention and Response\n\nA pipeline can fail for many reasons, but the most common culprits are data delay and data corruption. When an outage occurs, finding and repairing the issue quickly will greatly reduce its impact. At Google, when an outage or SLO violation occurs, we track metrics for MTTD and MTTR. Tracking these metrics indicates how effective we are at detecting and repairing an issue. In the postmortem that follows any outage at Google, we analyze the cause of the outage to elicit any patterns and address sources of operational toil.\n\nThis section describes some common failure modes, methods to effectively respond to pipeline failures, and strategies to help you prevent future pipeline failures.\n\n##### Potential Failure Modes\n\n###### Delayed data\n\nA pipeline can fail if its input or output is delayed. Without the proper precautions, a downstream job may start running even though it doesn’t have the necessary data. Stale data is almost always better than incorrect data. If your pipeline processes incomplete or corrupt data, errors will propagate downstream. Restoring or reprocessing bad data takes time and can prolong an outage. Instead, if your pipeline stalls, waits for data, and then resumes once the data becomes available, the data remains high quality. Creating data dependencies that are respected by all stages is important.\n\nDepending on the type of pipeline, the impact of delayed data can range from stale application data to stalled pipelines. In batch processing pipelines, each stage waits for its predecessor to finish before it begins. Streaming systems are more flexible: using event-time processing, such as Dataflow, a downstream stage can start a portion of work as soon as the corresponding upstream portion completes, rather than waiting for all portions to complete.\n\nWhen an outage of this nature occurs, you will likely need to notify any dependent services. If the outage is user-visible, you may also have to notify your customers. When you’re debugging pipeline outages, it’s helpful to see the progress of current and past pipeline runs, and to have direct links to log files and a diagram of the flow of data. It’s also useful to be able to trace a unit of work through the system while analyzing its counters and statistics.\n\n###### Corrupt data\n\nIf undetected, corrupt pipeline data (input and/or output) can cause user-facing issues. You can circumvent many user-facing issues by having tests that identify corrupt data in place, and using logic that alerts you to potential corruption. For example, pipeline systems can implement blocking policies and abuse/spam detection to automatically or manually filter out bad sources of data.\n\nCorrupt data can have many causes: software bugs, data incompatibility, unavailable regions, configuration bugs, and so on. There are two main steps involved in fixing corrupt data:\n\n1. Mitigate the impact by preventing further corrupt data from entering the system.\n2. Restore your data from a previously known good version, or reprocess to repair the data.\n\nIf a single region is serving corrupt data, you may need to drain your serving jobs and/or data processing from that region. If a software or configuration bug is at fault, you may need to quickly roll back the relevant binary. Often, data corruption can cause windows of data that are incorrect and need to be reprocessed once the underlying issue has been fixed, such as fixing a software bug in a pipeline binary. To reduce the cost of reprocessing, consider selective reprocessing—read in and process only the user or account information impacted by the data corruption. Alternatively, you could persist some intermediate data that can serve as a checkpoint to avoid reprocessing a pipeline from end to end.\n\nIf the output of your pipeline is corrupt, downstream jobs may propagate the corrupt data or serving jobs may serve incorrect data. Even with the best testing, development, and release practices in place, a software or configuration bug can introduce data corruption. We recommend that you plan for this eventuality and have the ability to quickly reprocess and restore your data. Recovering from this kind of data corruption is labor-intensive and difficult to automate.\n\n##### Potential Causes\n\n###### Pipeline dependencies\n\nWhen you’re trying to determine the cause of an outage, it’s useful to investigate pipeline dependencies, such as storage, network systems, or other services. These dependencies may be throttling your requests/traffic or, if they are out of resources, refusing any new data. The rate of input/output can slow for a variety of reasons:\n\n- The output sink or storage could be refusing writes of a piece of data.\n- There could be a particular hotspot data range that cannot complete.\n- There might be a storage bug.\n\nSome pipeline dependency issues won’t resolve themselves. It’s important to file a ticket or bug, and to allow for enough time to add more resources or address traffic patterns. Implementing load balancing and dropping low-priority data may help mitigate the impact.\n\n###### Pipeline application or configuration\n\nA pipeline failure could be the result of a bottleneck, a bug in your pipeline jobs, or a bug in the configurations themselves (e.g., CPU-intensive processing, performance regression, out-of-memory failures, abusive data prone to hotspotting, or configs that point to the incorrect input/output locations). Depending on the cause, there are several possible solutions:\n\n- Roll back the binary/config, cherry-pick a fix, or repair any permission issues.\n- Consider restructuring the data that’s causing the issue.\n\nApplication or configuration errors can introduce data incorrectness or lead to delayed data. These kinds of errors are the most common causes of outages. We recommend spending time on pipeline development and ensuring that new binaries and configurations perform well in a nonproduction environment before they are fully deployed.\n\n###### Unexpected resource growth\n\nA sudden and unplanned jump in system load may cause a pipeline to fail. You may need additional unplanned resources to keep your service running. Automatic scaling of your application jobs can help meet the demand of new load, but you should also be aware that an increased pipeline load can also put a strain on downstream dependencies—you may also need to plan for more storage and/or network resources.\n\nGood resource planning and accurate growth prediction can help in these cases, but such predictions may not always be correct. We recommend becoming familiar with the process of requesting additional emergency resources. Depending on the nature of your pipeline’s deployment and the quantity of resources required, the time needed to acquire these resources can be substantial. Therefore, we recommend preparing interim solutions to keep your service up and running—for example, prioritize different classes of data through your pipeline.\n\n###### Region-level outage\n\nA regional outage is bad for all pipelines, but singly homed pipelines are particularly vulnerable. If your pipeline runs in a single region that suddenly becomes unavailable, the pipeline will stop until the region comes back up. If you have multihomed pipelines with automatic failover, your response may be as simple as draining processing or serving from an affected region until the outage is over. When a region is down, data can become stranded or delayed, resulting in incorrect output from your pipeline. As a result, the correctness of the data output from any dependent jobs or services may be compromised.\n\n# Case Study: Spotify\n\nby Igor Maravić\n\nSpotify is the leading music streaming company in the world. Every day, tens of millions of people use Spotify to listen to their favorite songs, share music with their friends, and discover new artists.\n\nThis case study describes our event delivery system, which is responsible for reliably collecting instrumentation data generated from Spotify applications. The data produced by this system helps us to better understand our end users and to provide them with the right music at the right time.\n\n##### Event Delivery\n\nWe refer to end-user interactions as events. Every time a user listens to a song, clicks an ad, or follows a playlist, we record an event. Spotify captures and publishes hundreds of billions of events (of multiple types) to our servers daily. These events have many uses at Spotify, from A/B test analysis to showing play counts to powering personalized discovery playlists. Most importantly, we pay royalties to artists based on delivered events.6 It’s imperative that we have a reliable means of event storage and delivery.\n\nBefore we can process event data, that data needs to be collected and delivered to persistent storage. We use an event delivery system to reliably collect and persist all published events. The event delivery system is one of the core pillars of our data infrastructure, as almost all of our data processing depends—either directly or indirectly—on the data it delivers.\n\nAll delivered events are partitioned by type and publishing time. As shown in Figure 13-5, events published during any given hour are grouped together and stored in a designated directory, called a delivered hourly bucket. These buckets are then grouped into event-type directories. This partitioning scheme simplifies data access control, ownership, retention, and consumption at Spotify.\n\nFigure 13-5. Delivered hourly buckets\n\nHourly buckets are the only interface our data jobs have with the event delivery system. As a result, we measure performance and define SLOs for our event delivery system based on how well we deliver hourly buckets per event type.\n\n##### Event Delivery System Design and Architecture\n\nOur hourly buckets reside on Google Cloud Storage (GCS). Early in the design process, we decided to decouple data collection from data delivery within the system. To achieve this, we used a globally distributed persistent queue, Google Cloud [Pub/Sub](https://cloud.google.com/pubsub/), as an intermediate layer. Once decoupled, data collection and delivery act as independent failure domains, which limits the impact of any production issues and results in a more resilient system. Figure 13-6 depicts the architecture of our event delivery system.\n\nFigure 13-6. Event delivery system architecture\n\n###### Data collection\n\nProduced events7 are grouped by event types. Each event type describes a user action in the Spotify application. For example, one event type could refer to a user subscribing to a playlist, while another event type could refer to a user starting playback of a song. To ensure that separate event types don’t impact each other, the system has full event type isolation. Individual events from different event types are published to their [allocated topics](https://cloud.google.com/pubsub/docs/admin) in Google Cloud Pub/Sub. Publishing is performed by our microservices, which run both in Spotify datacenters and on [Google Compute Engine (GCE)](https://cloud.google.com/compute/). In order to be delivered, each published event stream is handled by a dedicated instance of an ETL process.\n\n###### Extract Transform Load\n\nThe ETL process is responsible for delivering published events to the correct hourly buckets on GCS. The ETL process has three steps/components:\n\n1. A dedicated microservice consumes events from the event stream.\n2. Another microservice assigns events to their hourly partitions.\n3. A batch data job running on Dataproc deduplicates events from their hourly partitions and persists them to their final location on GCS.\n\nEach ETL component has a single responsibility, which makes the components easier to develop, test, and operate.\n\n###### Data delivery\n\nEvent type delivery is dynamically enabled or disabled directly by our customers (other engineering teams at Spotify). Delivery is controlled via simple configuration. In the configuration, customers define which event types should be delivered. As delivery of each event type is turned on or off, a microservice dynamically acquires and releases the Google GCE resources on which the ETL runs. The following code shows an example event type that a customer can enable/disable:\n\nevents:\n -CollectionUpdate\n -AddedToCollection\n -RemovedFromCollection\n\nWhen a customer enables delivery of a new event type, we don’t know in advance what quantity of resources are required to guarantee the delivery. Consequently, manually determining necessary resources is very expensive. To achieve optimal resource utilization for delivery of different event types, we use GCE [Autoscaler](https://cloud.google.com/compute/docs/load-balancing-and-autoscaling).\n\n##### Event Delivery System Operation\n\nDefining and communicating SLOs for our event delivery system helps in three ways:\n\nDesign and development\n\n- When developing our systems, having clear SLOs in place gives us goals to work toward. These goals help us make pragmatic design choices and optimize our systems for simplicity.\n\nIdentify performance issues\n\n- Once our systems are deployed in production, SLOs help us to identify which parts of the system aren’t performing well and where we need to focus our efforts.\n\nSet customer expectations\n\n- SLOs allow us to manage our customer expectations and avoid unnecessary support requests. When the limits of our system are clear to our customers, they are empowered to decide how to design, build, and operate their own systems that depend on our data.\n\nWe provide our customers with three SLO types for our event delivery system: timeliness, completeness, and skewness (discussed next). These SLOs are based on hourly data buckets provided by GCS. To be as objective as possible and to avoid bloating event delivery with features that have nothing to do with it, we measure all SLOs using independent external systems (e.g., Datamon, a data visualization tool explained in the next section).\n\n###### Timeliness\n\nOur timeliness SLO is defined as the maximum delay of delivering an hourly bucket of data. Delivery delay is calculated as the time difference between when the bucket was delivered and the earliest theoretical time the bucket could have been closed. Figure 13-7 provides an example of this delivery delay. The diagram shows the buckets for hours 12, 13, and 14. If the bucket for hour 13 was closed at 14:53, we would say the closing delay was 53 minutes.\n\nFigure 13-7. Event time partitioning\n\nTimeliness of data delivery is the metric we use to evaluate the performance of our data pipelines. To measure and visualize timeliness, we use a tool called Datamon, our internal data monitoring tool that was built around the notion of hourly buckets. Figure 13-8 shows a typical Datamon UI. Each green rectangle (in grayscale, the vast majority of the rectangles) represents an on-time hourly bucket. Gray rectangles (clustered here on the righthand side) indicate buckets that have not been delivered, while red rectangles (3 dark rectangles on the very top row) indicate buckets that weren’t delivered within the required SLO. Days when all hours were successfully delivered are shown as a single green rectangle.\n\nFigure 13-8. Datamon for Spotify’s data monitoring system\n\nDownstream data jobs can’t start their processing until the hourly buckets on which they depend are delivered. Each data job periodically checks the delivery status of its dependencies before processing the data. Any delay in delivery affects the timeliness of downstream jobs. Our customers care deeply about having data delivered in a timely fashion. To help us prioritize delivery of events during an incident, our event delivery system’s timeliness SLO is split into three priority tiers: high, normal, and low. Our customers configure to the appropriate tier for their event type.\n\n###### Skewness\n\nWe define our skewness SLO as the maximal percentage of data that can be misplaced on a daily basis. Skewness (and completeness) are concepts specific to our event delivery system and are not present in our other data pipelines. Defining an SLO for these concepts was a key requirement when we were designing our event delivery system, as it processes (among other event types) finance-bearing events. For all other events, best-effort delivery is good enough and we don’t expose a corresponding SLO. Whether or not an event is finance-bearing is determined by customer configuration.\n\nTo determine when an hourly bucket should be delivered, our event delivery system uses heuristics. By definition, heuristics aren’t always completely correct. As a result, undelivered events from previously delivered buckets might be delivered to an incorrect future hourly bucket. This misplaced event is referred to as a skew. A skew can negatively impact jobs, since they might first underreport and then overreport values for some time periods. Figure 13-9 shows an example of skewed data delivery.\n\nFigure 13-9. Delivery of skewed data\n\n###### Completeness\n\nEvents can be lost in a distributed system in many ways—for example, a new release of our software may contain a bug, a cloud service may go down, or a developer might accidentally delete some persisted events. To ensure we are alerted about data loss, we measure completeness. We define completeness as the percentage of events that are delivered after they are successfully published to the system.\n\nWe report on skewness and completeness daily. To measure these values, we use an internal auditing system that compares the counts for all published and delivered events. Any mismatch is reported, and we take appropriate action.\n\nIn order to have timeliness, skewness, and completeness SLO guarantees, we assign events to our hourly buckets at the time they were received at our servers, not when they were produced on the clients. If our users are in offline mode, produced events can be buffered for up to 30 days on the clients before being published. Additionally, users can modify the system time on their device, which can result in inaccurately timestamped events. For these reasons, we use the timestamp from Spotify servers.\n\nWe don’t provide any SLOs regarding the data quality or accuracy of events delivered via our event delivery system. We observed that in a majority of cases, quality depends on the content of each event, which is populated by the business logic of our customers. To allow our system to scale with the number of customers, we keep it focused exclusively on delivering data. In this regard, we use the analogy that event delivery should behave like a postal service: your mail should be delivered on time, intact, and unopened. We leave the responsibility of providing quality SLOs to our internal teams that own the business logic and therefore understand the contents of the data.\n\n##### Customer Integration and Support\n\nMany Spotify teams interact with the event delivery system daily. To encourage adoption and decrease the learning curve, we took the following steps to simplify user interaction with the event delivery system:\n\nEvent delivery as a fully managed service\n\n- We wanted to avoid exposing the complexity of the system to our customers, allowing them to focus on the specific problems they’re trying to solve. We strived to hide any system complexities behind a well-defined and easy-to-understand API.\n\nLimited functionality\n\n- To keep our APIs simple, we support only a limited set of functionalities. Events can be published only in a specific in-house format, and can be delivered only to hourly buckets with a single serialization format. These simple APIs cover the majority of our use cases.\n\nDelivery of each event needs to be explicitly enabled\n\n- When a customer enables delivery of an event, they define whether the event is financial-bearing and its associated timeliness requirements. Furthermore, event ownership needs to be explicitly defined as part of the enabling process. We strongly believe that holding our internal teams accountable for events they produce results in higher data quality. Explicit ownership of the events also gives us a clear channel of communication during incidents.\n\n###### Documentation\n\nNo matter how simple interacting with the system is, good documentation is required to provide a good customer experience. Subpar and stale documentation is a common problem in fast-paced companies like Spotify. To address this, we treat our documentation like any other software product: all support requests that come to our team are treated either as issues with our documentation or as issues in the actual product. Most support requests are related to the system’s public APIs. Some examples of questions we try to answer when writing our documentation include:\n\n- How is the delivery of an event type enabled?\n- Where is the data delivered?\n- How is the data partitioned?\n- What are our SLOs?\n- What kind of support should our customers expect during incidents?\n\nOur goal is to minimize the amount of support requests we receive as our customer base grows.\n\n###### System monitoring\n\nMonitoring our SLOs provides high-level insights into the general health of the system. Our reliable catch-all monitoring solution ensures we always get alerted when something goes wrong. The main problem with using an SLO violation as criteria for monitoring is that we get alerted after our customers have been affected. To avoid this, we need sufficient operational monitoring of our system to resolve or mitigate issues before an SLO is broken.\n\nWe monitor the various components of our system separately, starting with basic system metrics, then building to more complex ones. For example, we monitor CPU usage as a signal for instance health. CPU usage is not always the most critical resource, but it works well as a basic signal.\n\nSometimes system monitoring is insufficient when we’re trying to understand and fix production issues. To supplement our monitoring data, we also maintain application logs. These logs contain important information related to the operation and health of the component they describe. We take great care to ensure we gather only the correct amount of logging data, as it’s easy for irrelevant logs to drown useful ones. For example, a bad logging implementation might log all the incoming requests for a high-volume component that deals with incoming requests. Assuming that most of the requests are similar, logging every request doesn’t add much value. Additionally, when too many requests are logged, it becomes difficult to find other log entries, disk fills up faster, and the overall performance of our service starts to degrade. A better approach is to either rate-limit the amount of logged requests, or to log only interesting requests (like the ones that result in unhandled exceptions).\n\nDebugging components in production by reading through application logs is challenging, and should be a last resort.\n\n###### Capacity planning\n\nReliable round-the-clock operation of the event delivery system requires the correct amount of allocated resources, especially since the components are deployed into a single GCP project and they share a common quota pool. We use capacity planning to determine how many resources each system component needs.\n\nFor the majority of our system components, capacity planning is based on CPU usage. We provision each component to have 50% of CPU usage during peak hours. This provision acts as a safety margin that allows our system to handle unexpected bursts of traffic. When Spotify ran its own datacenters, we provided each component with static resources. This led to a waste of resources during off-peak hours and an inability to handle large bursts in traffic. To improve resource utilization, we use GCE Autoscaler for some of our stateless components.\n\nWe had some growing pains in the early days of implementing Autoscaler; under certain conditions, Autoscaler can cause failures. For example, we use CPU usage as a metric to perform autoscaling. Autoscaler itself depends on a strong correlation between CPU usage and the amount of work performed by each component instance. If the relationship is broken—either through the addition of CPU-hungry daemons to each component instance or due to component instances extensively burning CPU without doing any work—Autoscaler will start far too many instances.\n\nWhen Autoscaler is presented with constantly increasing CPU usage that has no correlation with the amount of work performed, it will scale indefinitely until it uses all of the resources it can find. To prevent Autoscaler from using up all of our quota, we implemented some workarounds:\n\n- We limit the maximum number of instances Autoscaler can use.\n- We heavily restrict the CPU usage of all daemons running on an instance.\n- We aggressively throttle a component’s CPU usage as soon as we detect that no useful work is being done.\n\nEven when using Autoscaler, we need to conduct capacity planning. We need to ensure that we have enough quota, and that the maximum number of instances Autoscaler can use is set high enough to serve traffic during peaks, but low enough to limit the impact of “runaway” autoscaling.\n\n###### Development process\n\nTo ship new features and improvements swiftly, we developed the event delivery system (shown in Figure 13-10) following the [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) and [continuous delivery](https://en.wikipedia.org/wiki/Continuous_delivery) (CI/CD) process. According to this process, valid, proven, or reviewed system changes are deployed as soon as they’re made. Having sufficient test coverage is a prerequisite for each change to be successfully deployed without negatively impacting our SLOs.\n\nWe write tests following a [“testing pyramid” philosophy](https://testing.googleblog.com/2015/04/just-say-no-to-more-end-to-end-tests.html). This means that for each of our components, we have plenty of unit tests that focus on components’ inner workings—in addition to a smaller number of integration tests that focus on components’ public API. At the highest level of the testing pyramid, we have a system-wide, end-to-end test. In this end-to-end test, all components are treated as black boxes so the system in the test environment resembles the one in production as much as possible.\n\nAfter initial development, every change goes through a peer review. As a part of the review process, all tests are executed on a shared CI/CD server, and the results are presented to the developers. Changes can be merged only after the reviewers approve the change and all the tests have successfully passed. As soon as the change is merged, the deployment process is triggered.\n\nThe event delivery system is a critical component in Spotify’s infrastructure. If it stopped delivering data, all data processing in Spotify would stall. For this reason, we decided to take a more conservative approach to deployments and deploy each change in stages. We require a manual approval before a deployment can move from one stage to another.\n\nFigure 13-10. Development process\n\nDuring the first deployment stage, the change is deployed to the staging environment. This low-risk staging system doesn’t handle production traffic. For testing purposes, a representative fraction of production traffic is mirrored in the staging system, which is a replica of the system running in production. At the second deployment stage, the change is deployed to a small subset of production instances, or canaries. We perform a full production deployment only after we ensure that everything went well, both in staging and canaries (see [Canarying Releases](https://sre.google/workbook/canarying-releases/)).\n\n###### Incident handling\n\nWhen dealing with an incident, our first priority is to mitigate the damage and return the system to a stable previous state. To avoid making the situation worse, we refrain from deploying any major changes to our components during an incident. The exception to this rule is if we conclude that the incident was caused by recently deployed new code. In such cases, we immediately roll the system back to a previous working version.\n\nToday, the most common operational failures we encounter are caused either by a system malfunction (e.g., we introduce a software bug or a performance regression) or a failure with an external service on which we depend (e.g., an update to a service API isn’t backward-compatible or a service breaks its SLO). We use many battle-tested Google Cloud and internal Spotify services, like Cloud Pub/Sub and [Helios](https://github.com/spotify/helios), to speed up development of our system and to reduce our operational load. In the event of an incident caused by an external service, we have a dedicated on-call team8\n\n who provides support. One drawback of using external services is that we can’t do much to mitigate the problem ourselves. Furthemore, communicating the issue to a third party takes valuable time during an incident. Nevertheless, we believe that the ability to delegate responsibility is worth the occasional feeling of powerlessness.\n\nUnexpected system behavior under heavy load is another common source of operational failure. Testing services under exact production conditions is impossible, so it’s hard to predict all of the edge cases that can happen. It can also be difficult to emulate the load our components face in production. Heavy load in combination with unforeseen edge cases can lead to interesting failure scenarios, such as the Autoscaler example described earlier in Capacity planning.\n\nOperational system failures can cause our SLOs to break. If our data freshness SLO is broken, no customer action is expected; customers must simply wait for their data to arrive. However, if our skewness or completeness SLOs are breached, we might need to involve customers, as data quality is compromised. When we detect either completeness or skewness issues, the impacted events require reprocessing to be delivered correctly:\n\n- To deal with incompleteness, events need to be redelivered from the last checkpoint known to be good.\n- To deal with excessive skewness, already delivered events are reshuffled and assigned to their correct hourly buckets.\n\nBoth redelivery and reshuffling of events are done manually. After the delivered events are modified, we strongly advise our customers to reprocess them to produce data of sufficient quality.\n\n##### Summary\n\nSpotify’s event delivery system has evolved over the years. Because previous iterations were far less reliable, our engineers were paged every few nights. We spent the majority of our development sprints on incident remediations and postmortems. When designing the current incarnation, we focused on building a modularized system that does one core thing well: deliver events. Additionally, we wanted to provide event delivery as a product to the rest of Spotify. To achieve this, we needed to define and meet SLOs so that we could set clear expectations for our customers.\n\nWe employ a range of strategies to keep the service up and running—from well-documented on-call procedures to using well-proven external services (such as Google Cloud Pub/Sub). Furthermore, a single team is responsible for the development and operation of the system throughout its entire lifecycle. This development structure allows us to use the team experience we gain from maintaining the system to continually improve it.\n\nAs a result of these efforts, we now have a reliable system that allows us to focus our time on meeting more ambitious completeness, skewness, and timeliness SLOs. This results in better usability and a better overall customer experience.\n\n# Conclusion\n\nApplying SRE best practices to pipelines can help you make smart design choices and develop automation tools so that pipelines are easy to operate, scale more effectively, and are more reliable. Spotify’s event delivery system is an example of a pipeline built and operated with core SRE principles in mind, using a variety of technologies—from in-house, Google Cloud, and third parties—chosen to meet the customer’s need for timely data processing. Without proper care for operational best practices, pipelines may be more prone to failure and require a lot of manual work, especially during periods of growth, migrations, feature launches, or cleanup after outages. As with any complex system design, it is important to know your requirements and the SLOs you have chosen to keep, assess the available technology, and document the design and how to perform common tasks.\n\n1See Umeshwar Dayal et al., “Data Integration Flows for Business Intelligence,” in Proceedings of the 12th International Conference on Extending Database Technology: Advances in Database Technology (New York: ACM, 2000), 1–11.\n\n2For more details about factoring dependencies into your service’s reliability, see Ben Treynor et al., “The Calculus of Service Availability,” ACM Queue 15, no. 2 (2017), [https://queue.acm.org/detail.cfm?id=3096459](https://queue.acm.org/detail.cfm?id=3096459).\n\n3[Cloud Dataproc](https://cloud.google.com/dataproc/) is a fully managed cloud service for running Apache Spark and Apache Hadoop clusters.\n\n4[Cloud Dataflow](https://cloud.google.com/dataflow/) is a fully managed cloud service for transforming data in stream and batch modes, with equal reliability and expressiveness.\n\n5[Regional endpoints](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) control workers, and store and handle metadata for a Cloud Dataflow job.\n\n6Delivered events are events that have been delivered to persistent storage and are exposed in such a way that they can be consumed by customers of the event delivery system (e.g., data jobs).\n\n7Produced events are both the events that have been delivered and the events that are currently flowing through the event delivery system.\n\n8The external service provider guarantees SLAs and has its own on-call team to ensure the product is meeting these SLAs.", "znaku_textu": 84050, "slov": 12993, "odkazu": 104, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:40", "sha256": "804d7d0a0d87bbd2c0d8138f31bf60147c274a5744d8484a1ede1cfca67b1f7d", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://cloud.google.com/dataflow/pipelines/specifying-exec-params", "https://en.wikipedia.org/wiki/Internet_of_things", "https://cloud.google.com/bigquery/", "https://en.wikipedia.org/wiki/Google_Analytics", "https://en.wikipedia.org/wiki/Labeled_data", "https://www.tensorflow.org/", "https://cloud.google.com/storage/", "https://cloud.google.com/ml-engine/", "https://cloud.google.com/network-tiers/", "https://cloud.google.com/terms/sla/", "https://cloud.google.com/storage/sla", "https://cloud.google.com/dataflow/blog/dataflow-beam-and-spark-comparison", "https://www.usenix.org/system/files/conference/osdi12/osdi12-final-16.pdf", "https://en.wikipedia.org/wiki/Idempotence", "https://github.com/google/sanitizers", "https://cloud.google.com/pubsub/", "https://cloud.google.com/pubsub/docs/admin", "https://cloud.google.com/compute/", "https://cloud.google.com/compute/docs/load-balancing-and-autoscaling", "https://en.wikipedia.org/wiki/Continuous_integration", "https://en.wikipedia.org/wiki/Continuous_delivery", "https://testing.googleblog.com/2015/04/just-say-no-to-more-end-to-end-tests.html", "https://github.com/spotify/helios", "https://queue.acm.org/detail.cfm?id=3096459", "https://cloud.google.com/dataproc/", "https://cloud.google.com/dataflow/", "https://cloud.google.com/dataflow/docs/concepts/regional-endpoints", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/editors/", "titulek": "Google SRE - Fundamentals from Experienced SRE Experts", "h1": "About the Editors", "popis": "Learn from the experts in Site Reliability Engineering with Google SRE - a comprehensive guide written by experienced SRE book writers.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/editors/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/editors/"}, "headline": "About the Editors", "description": "Betsy Beyer is a Technical Writer for Google Site Reliability Engineering in NYC. She has previously written documentation for Google Datacenters and Hardware Operations teams. Before moving to New York, Betsy was a lecturer on technical writing at Stanford University.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "About the Editors"}], "markdown": "# About the Editors\n\n*Betsy Beyer* is a Technical Writer for Google Site Reliability Engineering in NYC. She has previously written documentation for Google Datacenters and Hardware Operations teams. Before moving to New York, Betsy was a lecturer on technical writing at Stanford University. En route to her current career, Betsy studied International Relations and English Literature, and holds degrees from Stanford and Tulane.\n\n*Niall Richard Murphy* has been working in internet infrastructure for 20 years. He is a company founder, a published author, a photographer, and holds degrees in Computer Science & Mathematics and Poetry Studies.\n\n*Dave Rensin* is a Google SRE Director, previous O’Reilly author, and serial entrepreneur. He holds a degree in Statistics.\n\n*Kent Kawahara* is a Program Manager for Google's Site Reliability Engineering team focused on Google Cloud Platform customers and is based in Sunnyvale, CA. In previous Google roles, he managed technical and design teams to develop advertising support tools and worked with large advertisers and agencies on strategic advertising initiatives. Prior to Google, he worked in Product Management, Software QA, and Professional Services at two successful telecommunications startups. He holds a BS in Electrical Engineering and Computer Science from the University of California at Berkeley.\n\n*Stephen Thorne* is a Senior Site Reliability Engineer at Google. He currently works in Customer Reliability Engineering, helping to integrate Google's Cloud customers' operations with Google SRE. Stephen learned how to be an SRE on the team that runs Google's advertiser and publisher user interfaces, and later worked on App Engine. Before his time at Google, he fought against spam and viruses in his home country of Australia, where he also earned his BSc in Computer Science.", "znaku_textu": 1829, "slov": 277, "odkazu": 37, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:54", "sha256": "3298f737ed723e58e73543f5b594d7b657e9721db29ce942ec4f502ac3224026", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/eliminating-toil/", "titulek": "Google SRE - Operational Efficiency: Eliminating Toil", "h1": "Eliminating Toil", "popis": "SREs optimize their time by eliminating toil, the repetitive, predictable tasks related. The characteristics of toil and operational efficiency.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/eliminating-toil/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/eliminating-toil/"}, "headline": "Eliminating Toil", "description": "Toil is seemingly unavoidable for any team that manages a production service. System maintenance inevitably demands a certain amount of rollouts, upgrades, restarts, alert triaging, and so forth. These activities can quickly consume a team if left unchecked and unaccounted for.", "image": "https://lh3.googleusercontent.com/Nf3p898ln4j5W6RgFYMy1KUKZ_j7NutXzM0BWdp1lEDdncBjOBGR15XsXRPNxRhE9_s6Be1Y8Y24Ep9L909k2j8EEJwgVAFluEctpA", "author": [{"@type": "Person", "name": "Dave Challoner"}, {"@type": "Person", "name": "Joanna Wijntjes"}, {"@type": "Person", "name": "David Huska"}, {"@type": "Person", "name": "Matthew Sartwell"}, {"@type": "Person", "name": "Chris Coykendall"}, {"@type": "Person", "name": "Chris Schrier"}, {"@type": "Person", "name": "John Looney"}, {"@type": "Person", "name": "Vivek Rau"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Max Luebbe"}, {"@type": "Person", "name": "Alex Perry"}, {"@type": "Person", "name": "Murali Suriar"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Eliminating Toil"}, {"uroven": 2, "text": "What Is Toil?"}, {"uroven": 1, "text": "Measuring Toil"}, {"uroven": 1, "text": "Toil Taxonomy"}, {"uroven": 5, "text": "Business Processes"}, {"uroven": 5, "text": "Production Interrupts"}, {"uroven": 5, "text": "Release Shepherding"}, {"uroven": 5, "text": "Migrations"}, {"uroven": 5, "text": "Cost Engineering and Capacity Planning"}, {"uroven": 5, "text": "Troubleshooting for Opaque Architectures"}, {"uroven": 1, "text": "Toil Management Strategies"}, {"uroven": 5, "text": "Identify and Measure Toil"}, {"uroven": 5, "text": "Engineer Toil Out of the System"}, {"uroven": 5, "text": "Reject the Toil"}, {"uroven": 5, "text": "Use SLOs to Reduce Toil"}, {"uroven": 5, "text": "Start with Human-Backed Interfaces"}, {"uroven": 5, "text": "Provide Self-Service Methods"}, {"uroven": 5, "text": "Get Support from Management and Colleagues"}, {"uroven": 5, "text": "Promote Toil Reduction as a Feature"}, {"uroven": 5, "text": "Start Small and Then Improve"}, {"uroven": 5, "text": "Increase Uniformity"}, {"uroven": 5, "text": "Assess Risk Within Automation"}, {"uroven": 5, "text": "Automate Toil Response"}, {"uroven": 5, "text": "Use Open Source and Third-Party Tools"}, {"uroven": 5, "text": "Use Feedback to Improve"}, {"uroven": 1, "text": "Case Studies"}, {"uroven": 1, "text": "Case Study 1: Reducing Toil in the Datacenter with Automation"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Design First Effort: Saturn Line-Card Repair"}, {"uroven": 5, "text": "Implementation"}, {"uroven": 5, "text": "Design Second Effort: Saturn Line-Card Repair Versus Jupiter Line-Card Repair"}, {"uroven": 5, "text": "Implementation"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 6, "text": "UIs should not introduce overhead or complexity"}, {"uroven": 6, "text": "Don’t rely on human expertise"}, {"uroven": 6, "text": "Design reusable components"}, {"uroven": 6, "text": "Don’t overthink the problem"}, {"uroven": 6, "text": "Sometimes imperfect automation is good enough"}, {"uroven": 6, "text": "Repair automation is not fire and forget"}, {"uroven": 6, "text": "Build in risk assessment and defense in depth"}, {"uroven": 6, "text": "Get a failure budget and manager support"}, {"uroven": 6, "text": "Think holistically"}, {"uroven": 1, "text": "Case Study 2: Decommissioning Filer-Backed Home Directories"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Design and Implementation"}, {"uroven": 5, "text": "Key Components"}, {"uroven": 6, "text": "Moonwalk"}, {"uroven": 6, "text": "Moira Portal"}, {"uroven": 6, "text": "Archiving and migration automation"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 6, "text": "Challenge assumptions and retire expensive business processes"}, {"uroven": 6, "text": "Build self-service interfaces"}, {"uroven": 6, "text": "Start with human-backed interfaces"}, {"uroven": 6, "text": "Melt snowflakes"}, {"uroven": 6, "text": "Employ organizational nudges"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Eliminating Toil\n\nBy David Challoner, Joanna Wijntjes, David Huska,\nMatthew Sartwell, Chris Coykendall, Chris Schrier,\nJohn Looney, and Vivek Rau\nwith Betsy Beyer, Max Luebbe, Alex Perry, and Murali Suriar\n\nGoogle SREs spend much of their time optimizing—squeezing every bit of performance from a system through project work and developer collaboration. But the scope of optimization isn’t limited to compute resources: it’s also important that SREs optimize how they spend their time. Primarily, we want to avoid performing tasks classified as toil. For a comprehensive discussion of toil, see [Chapter 5](https://sre.google/sre-book/eliminating-toil/) in Site Reliability Engineering. For the purposes of this chapter, we’ll define toil as the repetitive, predictable, constant stream of tasks related to maintaining a service.\n\nToil is seemingly unavoidable for any team that manages a production service. System maintenance inevitably demands a certain amount of rollouts, upgrades, restarts, alert triaging, and so forth. These activities can quickly consume a team if left unchecked and unaccounted for. Google limits the time SRE teams spend on operational work (including both toil- and non-toil-intensive work) at 50% (for more context on why, see [Chapter 5](https://sre.google/sre-book/eliminating-toil/) in our first book). While this target may not be appropriate for your organization, there’s still an advantage to placing an upper bound on toil, as identifying and quantifying toil is the first step toward optimizing your team’s time.\n\n## What Is Toil?\n\nToil tends to fall on a spectrum measured by the following characteristics, which are described in our first book. Here, we provide a concrete example for each toil characteristic:\n\nManual\n\n- When the tmp directory on a web server reaches 95% utilization, engineer Anne logs in to the server and scours the filesystem for extraneous log files to delete.\n\nRepetitive\n\n- A full tmp directory is unlikely to be a one-time event, so the task of fixing it is repetitive.\n\nAutomatable1\n\n- If your team has remediation documents with content like “log in to X, execute this command, check the output, restart Y if you see…,” these instructions are essentially pseudocode to someone with software development skills! In the tmp directory example, the solution has been partially automated. It would be even better to fully automate the problem detection and remediation by not requiring a human to run the script. Better still, submit a patch so that the software no longer breaks in this way.\n\nNontactical/reactive\n\n- When you receive too many alerts along the lines of “disk full” and “server down,” they distract engineers from higher-value engineering and potentially mask other, higher-severity alerts. As a result, the health of the service suffers.\n\nLacks enduring value\n\n- Completing a task often brings a satisfying sense of accomplishment, but this repetitive satisfaction isn’t a positive in the long run. For example, closing that alert-generated ticket ensured that the user queries continued to flow and HTTP requests continued to serve with status codes < 400, which is good. However, resolving the ticket today won’t prevent the issue in the future, so the payback has a short duration.\n\nGrows at least as fast as its source\n\n- Many classes of operational work grow as fast as (or faster than) the size of the underlying infrastructure. For example, you can expect time spent performing hardware repairs to increase in lock-step fashion with the size of a server fleet. Physical repair work may unavoidably scale with the number of machines, but ancillary tasks (for example, making software/configuration changes) doesn’t necessarily have to.\n\nSources of toil may not always meet all of these criteria, but remember that toil comes in many forms. In addition to the preceding traits, consider the effect a particular piece of work has on team morale. Do people enjoy doing a task and find it rewarding, or is it the type of work that’s often neglected because it’s viewed as boring or unrewarding?2 Toil can slowly deflate team morale. Time spent working on toil is generally time not spent thinking critically or expressing creativity; reducing toil is an acknowledgment that an engineer’s effort is better utilized in areas where human judgment and expression are possible.\n\n# Measuring Toil\n\nHow do you know how much of your operational work is toil? And once you’ve decided to take action to reduce toil, how do you know if your efforts were successful or justified? Many SRE teams answer these questions with a combination of experience and intuition. While such tactics might produce results, we can improve upon them.\n\nExperience and intuition are not repeatable, objective, or transferable. Members of the same team or organization often arrive at different conclusions regarding the magnitude of engineering effort lost to toil, and therefore prioritize remediation efforts differently. Furthermore, toil reduction efforts can span quarters or even years (as demonstrated by some of the case studies in this chapter), during which time team priorities and personnel can change. To maintain focus and justify cost over the long term, you need an objective measure of progress. Usually, teams must choose a toil-reduction project from several candidates. An objective measure of toil allows your team to evaluate the severity of the problems and prioritize them to achieve maximum return on engineering investment.\n\nBefore beginning toil reduction projects, it’s important to analyze cost versus benefit and to confirm that the time saved through eliminating toil will (at minimum) be proportional to the time invested in first developing and then maintaining an automated solution (Figure 6-1). Projects that look “unprofitable” from a simplistic comparison of hours saved versus hours invested might still be well worth undertaking because of the many indirect or intangible benefits of automation. Potential benefits could include:\n\n- Growth in engineering project work over time, some of which will further reduce toil\n- Increased team morale and decreased team attrition and burnout\n- Less context switching for interrupts, which raises team productivity\n- Increased process clarity and standardization\n- Enhanced technical skills and career growth for team members\n- Reduced training time\n- Fewer outages attributable to human errors\n- Improved security\n- Shorter response times for user requests\n\nFigure 6-1. Estimate the amount of time you’ll spend on toil reduction efforts, and make sure that the benefits outweigh the cost (source: [xkcd.com/1319/](https://xkcd.com/1319/))\n\nSo how do we recommend you measure toil?\n\n1. Identify it. [Chapter 5](https://sre.google/sre-book/eliminating-toil/) of the first SRE book offers guidelines for identifying the toil in your operations. The people best positioned to identify toil depend upon your organization. Ideally, they will be stakeholders, including those who will perform the actual work.\n2. Select an appropriate unit of measure that expresses the amount of human effort applied to this toil. Minutes and hours are a natural choice because they are objective and universally understood. Be sure to account for the cost of context switching. For efforts that are distributed or fragmented, a different well-understood bucket of human effort may be more appropriate. Some examples of units of measure include an applied patch, a completed ticket, a manual production change, a predictable email exchange, or a hardware operation. As long as the unit is objective, consistent, and well understood, it can serve as a measurement of toil.\n3. Track these measurements continuously before, during, and after toil reduction efforts. Streamline the measurement process using tools or scripts so that collecting these measurements doesn’t create additional toil!\n\n# Toil Taxonomy\n\nToil, like a crumbling bridge or a leaky dam, hides in the banal day to day. The categories in this section aren’t exhaustive, but represent some common categories of toil. Many of these categories seem like “normal” engineering work, and they are. It’s helpful to think of toil as a spectrum rather than a binary classification.\n\n##### Business Processes\n\nThis is probably the most common source of toil. Maybe your team manages some computing resource—compute, storage, network, load balancers, databases, and so on—along with the hardware that supplies that resource. You deal with onboarding users, configuring and securing their machines, performing software updates, and adding and removing servers to moderate capacity. You also work to minimize cost or waste of that resource. Your team is the human interface to the machine, typically interacting with internal customers who file tickets for their needs. Your organization may even have multiple ticketing systems and work intake systems.\n\nTicket toil is a bit insidious because ticket-driven business processes usually accomplish their goal. Users get what they want, and because the toil is typically dispersed evenly across the team, the toil doesn’t loudly and obviously call for remediation. Wherever a ticket-driven process exists, there’s a chance that toil is quietly accumulating nearby. Even if you’re not explicitly planning to automate a process, you can still perform process improvement work such as simplification and streamlining—the processes will be easier to automate later, and easier to manage in the meantime.\n\n##### Production Interrupts\n\nInterrupts are a general class of time-sensitive janitorial tasks that keep systems running. For example, you may need to fix an acute shortage of some resource (disk, memory, I/O) by manually freeing up disk space or restarting applications that are leaking memory. You may be filing requests to replace hard drives, “kicking” unresponsive systems, or manually tweaking capacity to meet current or expected loads. Generally, interrupts take attention away from more important work.\n\n##### Release Shepherding\n\nIn many organizations, deployment tools automatically shepherd releases from development to production. Even with automation, thorough code coverage, code reviews, and numerous forms of automated testing, this process doesn’t always go smoothly. Depending on the tooling and release cadence, release requests, rollbacks, emergency patches, and repetitive or manual configuration changes, releases may still generate toil.\n\n##### Migrations\n\nYou may find yourself frequently migrating from one technology to another. You perform this work manually or with limited scripting because, hopefully, you’re only going to move from X to Y once. Migrations come in many forms, but some examples include changes of data stores, cloud vendors, source code control systems, application libraries, and tooling.\n\nIf you approach a large-scale migration manually, the migration quite likely involves [toil](https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/). You may be inclined to execute the migration manually because it’s a one-time effort. While you might even be tempted to view it as “project work” rather than “toil”, migration work can also meet many of the criteria of toil. Technically, modifying backup tooling for one database to work with another is software development, but this work is basically just refactoring code to replace one interface with another. This work is repetitive, and to a large extent, the business value of the backup tooling is the same as before.\n\n##### Cost Engineering and Capacity Planning\n\nWhether you own hardware or use an infrastructure provider (cloud), cost engineering and capacity planning usually entail some associated toil. For example:\n\n- Ensuring a cost-effective baseline or burstable capability for future needs across resources like compute, memory, or IOPS (input/output operations per second). This may translate into purchase orders, AWS Reserved Instances, or Cloud/Infrastructure as a Service contract negotiation.\n- Preparing for (and recovering from) critical high-traffic events like a product launch or holiday.\n- Reviewing downstream and upstream service levels/limits.\n- Optimizing workload against different footprint configurations. (Do you want to buy one big box, or four smaller boxes?)\n- Optimizing applications against the billing specifics of proprietary cloud service offerings (DynamoDB for AWS or Cloud Datastore for GCP).\n- Refactoring tooling to make better use of cheaper “spot” or “preemptable” resources.\n- Dealing with oversubscribed resources, either upstream with your infrastructure provider or with your downstream customers.\n\n##### Troubleshooting for Opaque Architectures\n\nDistributed microservice architectures are now common, and as systems become more distributed, new failure modes arise. An organization may not have the resources to build sophisticated distributed tracing, high-fidelity monitoring, or detailed dashboards. Even if the business does have these tools, they might not work with all systems. Troubleshooting may even require logging in to individual systems and writing ad hoc log analytics queries with scripting tools.\n\nTroubleshooting itself isn’t inherently bad, but you should aim to focus your energy on novel failure modes—not the same type of failure every week caused by brittle system architecture. With each new critical upstream dependency of availability P, availability decreases by 1 – P due to the combined chance of failure. A four 9s service that adds nine critical four 9s dependencies is now a three 9s service.3\n\n# Toil Management Strategies\n\nWe’ve found that performing toil management is critical if you’re operating a production system of any scale. Once you identify and quantify toil, you need a plan for eliminating it. These efforts may take weeks or quarters to accomplish, so it’s important to have a solid overarching strategy.\n\nEliminating toil at its source is the optimal solution, but if doing so isn’t possible, then you must handle the toil by other means. Before we dive into the specifics of two in-depth case studies, this section provides some general strategies to consider when you’re planning a toil reduction effort. As you’ll observe across the two stories, the nuances of toil vary from team to team (and from company to company), but regardless of specificity, some common tactics ring true for organizations of any size or flavor. Each of the following patterns is illustrated in a concrete way in at least one of the subsequent case studies.\n\n##### Identify and Measure Toil\n\nWe recommend that you adopt a data-driven approach to identify and compare sources of toil, make objective remedial decisions, and quantify the time saved (return on investment) by toil reduction projects. If your team is experiencing toil overload, treat toil reduction as its own project. Google SRE teams often track toil in bugs and rank toil according to the cost to fix it and the time saved by doing so. See the section Measuring Toil for techniques and guidance.\n\n##### Engineer Toil Out of the System\n\nThe optimal strategy for handling toil is to eliminate it at the source. Before investing effort in managing the toil generated by your existing systems and processes, examine whether you can reduce or eliminate that toil by changing the system.\n\nA team that runs a system in production has invaluable experience with how that system works. They know the quirks and tedious bits that cause the most amount of toil. An SRE team should apply this knowledge by working with product development teams to develop operationally friendly software that is not only less toilsome, but also more scalable, secure, and resilient.\n\n##### Reject the Toil\n\nA toil-laden team should make data-driven decisions about how best to spend their time and engineering effort. In our experience, while it may seem counterproductive, rejecting a toil-intensive task should be the first option you consider. For a given set of toil, analyze the cost of responding to the toil versus not doing so. Another tactic is to intentionally delay the toil so that tasks accumulate for batch or parallelized processing. Working with toil in larger aggregates reduces interrupts and helps you identify patterns of toil, which you can then target for elimination.\n\n##### Use SLOs to Reduce Toil\n\nAs discussed in [Implementing SLOs](https://sre.google/workbook/implementing-slos/), services should have a [documented service level objective (SLO)](https://cloudplatform.googleblog.com/2017/01/availability-part-deux--CRE-life-lessons.html). A well-defined SLO enables engineers to make informed decisions. For example, you might ignore certain operational tasks if doing so does not consume or exceed the service’s error budget. An SLO that focuses on overall service health, rather than individual devices, is more flexible and sustainable as the service grows. See [Implementing SLOs](https://sre.google/workbook/implementing-slos/) for guidance on writing effective SLOs.\n\n##### Start with Human-Backed Interfaces\n\nIf you have a particularly complex business problem with many edge cases or types of requests, consider a partially automated approach as an interim step toward full automation. In this approach, your service receives structured data—usually via a defined API—but engineers may still handle some of the resulting operations. Even if some manual effort remains, this “engineer behind the curtain” approach allows you to incrementally move toward full automation. Use customer input to progress toward a more uniform way of collecting this data; by decreasing free-form requests, you can move closer to handling all requests programmatically. This approach can save back and forth with customers (who now have clear indicators of the information you need) and save you from overengineering a big-bang solution before you’ve fully mapped and understood the domain.\n\n##### Provide Self-Service Methods\n\nOnce you’ve defined your service offering via a typed interface (see Start with Human-Backed Interfaces), move to providing self-service methods for users. You can provide a web form, binary or script, API, or even just documentation that tells users how to issue pull requests to your service’s configuration files. For example, rather than asking engineers to file a ticket to provision a new virtual machine for their development work, give them a simple web form or script that triggers the provisioning. Allow the script to gracefully degrade to a ticket for specialized requests or if a failure occurs.4 Human-backed interfaces are a good start in the war against toil, but service owners should always aim to make their offerings self-service where possible.\n\n##### Get Support from Management and Colleagues\n\nIn the short term, toil reduction projects reduce the staff available to address feature requests, performance improvements, and other operational tasks. But if the toil reduction is successful, in the long term the team will be healthier and happier, and have more time for engineering improvements.\n\nIt is important for everyone in the organization to agree that toil reduction is a worthwhile goal. Manager support is crucial in defending staff from new demands. Use objective metrics about toil to make the case for pushback.\n\n##### Promote Toil Reduction as a Feature\n\nTo create strong business cases for toil reduction, look for opportunities to couple your strategy with other desirable features or business goals. If a complementary goal—for example, security, scalability, or reliability—is compelling to your customers, they’ll be more willing to give up their current toil-generating systems for shiny new ones that aren’t as toil intentive. Then, reducing toil is just a nice side effect of helping users!\n\n##### Start Small and Then Improve\n\nDon’t try to design the perfect system that eliminates all toil. Automate a few high-priority items first, and then improve your solution using the time you gained by eliminating that toil, applying the lessons learned along the way. Pick clear metrics such as MTTR (Mean Time to Repair) to measure your success.\n\n##### Increase Uniformity\n\nAt scale, a diverse production environment becomes exponentially harder to manage. Special devices require time-consuming and error-prone ongoing management and incident response. You can use the “pets versus cattle” approach5 to add redundancy and enforce consistency in your environment. Choosing what to consider cattle depends on the needs and scale of an organization. It may be reasonable to evaluate network links, switches, machines, racks of machines, or even entire clusters as interchangeable units.\n\nShifting devices to a cattle philosophy may have a high initial cost, but can reduce the cost of maintenance, disaster recovery, and resource utilization in the medium to long term. Equipping multiple devices with the same interface implies that they have consistent configuration, are interchangeable, and require less maintenance. A consistent interface (to divert traffic, restore traffic, perform a shutdown, etc.) for a variety of devices allows for more flexible and scalable automation.\n\nGoogle aligns business incentives to encourage engineering teams to unify across our ever-evolving toolkit of internal technologies and tools. Teams are free to choose their own approaches, but they have to own the toil generated by unsupported tools or legacy systems.\n\n##### Assess Risk Within Automation\n\nAutomation can save countless hours in human labor, but in the wrong circumstances, it can also trigger outages. In general, defensive software is always a good idea; when automation wields admin-level powers, defensive software is crucial. Every action should be assessed for its safety before execution. This includes changes that might reduce serving capacity or redundancy. When you’re implementing automation, we recommend the following practices:\n\n- Handle user input defensively, even if that input is flowing from upstream systems—that is, be sure to validate the input carefully in context.\n- Build in safeguards that are equivalent to the types of indirect alerts that a human operator might receive. Safeguards might be as simple as command timeouts, or might be more sophisticated checks of current system metrics or the number of current outages. For this reason, monitoring, alerting, and instrumentation systems should be consumable by both machine and human operators.\n- Be aware that even read operations, naively implemented, can spike device load and trigger outages. As automation scales, these safety checks can eventually dominate workload.\n- Minimize the impact of outages caused by incomplete safety checks of automation. Automation should default to human operators if it runs into an unsafe condition.\n\n##### Automate Toil Response\n\nOnce you identify a piece of toil as automatable, it’s worthwhile to consider how to best mirror the human workflow in software. You rarely want to literally transcribe a human workflow into a machine workflow. Also note that automation shouldn’t eliminate human understanding of what’s going wrong.\n\nOnce your process is thoroughly documented, try to break down the manual work into components that can be implemented separately and used to create a composable software library that other automation projects can reuse later. As the upcoming datacenter repair case study illustrates, automation often provides the opportunity to reevaluate and simplify human workflows.\n\n##### Use Open Source and Third-Party Tools\n\nSometimes you don’t have to do all of the work to reduce toil yourself. Many efforts like one-off migrations may not justify building their own bespoke tooling, but you’re probably not the first organization to tread this path. Look for opportunities to use or extend third-party or open source libraries to reduce development costs, or at least to help you transition to partial automation.\n\n##### Use Feedback to Improve\n\nIt’s important to actively seek feedback from other people who interact with your tools, workflows, and automation. Your users will make different assumptions about your tools depending on their understanding of the underlying systems. The less familiar your users are with these systems, the more important it is to actively seek feedback from users. Leverage surveys, user experience (UX) studies, and other mechanisms to understand how your tools are used, and integrate this feedback to produce more effective automation in the future.\n\nHuman input is only one dimension of feedback you should consider. Also measure the effectiveness of automated tasks according to metrics like latency, error rate, rework rate, and human time saved (across all groups involved in the process). Ideally, find high-level measures you can compare before and after any automation or toil reduction efforts.\n\n# Case Studies\n\nThe following case studies illustrate the strategies for toil reduction just discussed. Each story describes an important area of Google’s infrastructure that reached a point at which it could no longer scale sublinearly with human effort; over time, an increasing number of engineer hours resulted in smaller returns on that investment. Much of that effort you’ll now recognize as toil. For each case study, we detail how the engineers identified, assessed, and mitigated that toil. We also discuss the results and the lessons we learned along the way.\n\nIn the first case study, Google’s datacenter networking had a scaling problem: we had a massive number of Google-designed components and links to monitor, mitigate, and repair. We needed a strategy to minimize the toilsome nature of this work for datacenter technicians.\n\nThe second case study focuses on a team running their own “outlier” specialized hardware to support toil-intensive business processes that had become deeply entrenched within Google. This case study illustrates benefits of reevaluating and replacing operationally expensive business processes. It demonstrates that with a little persistence and perseverance, it’s possible to move to alternatives even when constrained by the institutional inertia of a large organization.\n\nTaken together, these case studies provide a concrete example of each toil reduction strategy covered earlier. Each case study begins with a list of relevant toil reduction strategies.\n\n# Case Study 1: Reducing Toil in the Datacenter with Automation\n\n##### Background\n\nThis case study takes place in Google’s datacenters. Similar to all datacenters, Google’s machines are connected to switches, which are connected to routers. Traffic flows in and out from these routers via links that in turn connect to other routers on the internet. As Google’s requirements for handling internet traffic grew, the number of machines required to serve that traffic increased dramatically. Our datacenters grew in scope and complexity as we figured out how to serve a large amount of traffic efficiently and economically. This growth changed the nature of datacenter manual repairs from occasional and interesting to frequent and rote—two signals of toil.\n\nWhen Google first began running its own datacenters, each datacenter’s network topology featured a small number of network devices that managed traffic to a large number of machines. A single network device failure could significantly impact network performance, but a relatively small team of engineers could handle troubleshooting the small number of devices. At this early stage, engineers debugged problems and shifted traffic away from failed components manually.\n\nOur next-generation datacenter had significantly more machines and introduced [software-defined networking (SDN) with a folded Clos topology](https://sreworkbook.page.link/B4tU) which greatly increased the number of switches. Figure 6-2 shows the complexity of traffic flow for a small datacenter Clos switch network. This proportionately larger number of devices meant that a larger number of components could now fail. While each individual failure had less impact on network performance than before, the sheer volume of issues began to overwhelm the engineering staff.\n\nIn addition to introducing a heavy load of new problems to debug, the complex layout was confusing to technicians: Which exact links needed to be checked? Which line card6 did they need to replace? What was a Stage 2 switch, versus a Stage 1 or Stage 3 switch? Would shutting down a switch create problems for users?\n\nFigure 6-2. A small Clos network, which supports 480 machines attached below Stage 1\n\nRepairing failed datacenter line cards was one obvious growing work backlog, so we targeted this task as our first stage of creating datacenter network repair automation. This case study describes how we introduced repair automation for our first generation of line cards (named Saturn). We then discuss the improvements we introduced with the next generation of line cards for Jupiter fabrics.\n\nAs shown in Figure 6-3, before the automation project, each fix in the datacenter line-card repair workflow required an engineer to do the following:\n\n1. Check that it was safe to move traffic from the affected switch.\n2. Shift traffic away from the failed device (a “drain” operation).\n3. Perform a reboot or repair (such as replacing a line card).\n4. Shift traffic back to the device (an “undrain” operation).\n\nThis unvarying and repetitive work of draining, undraining, and repairing devices is a textbook example of toil. The repetitive nature of the work introduced problems of its own—for example, engineers might multitask by working on a line card while also debugging more challenging problems. As a result, the distracted engineer might accidentally introduce an unconfigured switch back to the network.\n\nFigure 6-3. Datacenter (Saturn) line-card repair workflow before automation: all steps require manual work\n\n##### Problem Statement\n\nThe datacenter repairs problem space had the following dimensions:\n\n- We couldn’t grow the team fast enough to keep up with the volume of failures, and we couldn’t fix problems fast enough to prevent negative impact to the fabric.\n- Performing the same steps repeatedly and frequently introduced too many human errors.\n- Not all line-card failures had the same impact. We didn’t have a way to prioritize more serious failures.\n- Some failures were transient. We wanted the option to restart the line card or reinstall the switch as a first pass at repair. Ideally, we could then programmatically capture the problem if it happened again and flag the device for replacement.\n- The new topology required us to manually assess the risk of isolating capacity before we could take action. Every manual risk assessment was an opportunity for human error that could result in an outage. Engineers and technicians on the floor didn’t have a good way to gauge how many devices and links would be impacted by their planned repair.\n\n##### What We Decided to Do\n\nInstead of assigning every issue to an engineer for risk assessment, drain, undrain, and validation, we decided to create a framework for automation that, when coupled with an on-site technician where appropriate, could support these operations programmatically.\n\n##### Design First Effort: Saturn Line-Card Repair\n\nOur high-level goal was to build a system that would respond to problems detected on network devices, rather than relying on an engineer to triage and fix these problems. Instead of sending a “line card down” alert to an engineer, we wrote the software to request a drain (to remove traffic) and create a case for a technician. The new system had a few notable features:\n\n- We leveraged existing tools where possible. As shown in Figure 6-3 , our alerting could already detect problems on the fabric line cards; we repurposed that alerting to trigger an automated repair. The new workflow also repurposed our ticketing system to support network repairs.\n- We built in automated risk assessment to prevent accidental isolation of devices during a drain and to trigger safety mechanisms where required. This eliminated a huge source of human errors.\n- We adopted a strike policy that was tracked by software: the first failure (or strike) only rebooted the card and reinstalled the software. A second failure triggered card replacement and full return to the vendor.\n\n##### Implementation\n\nThe new automated workflow (shown in Figure 6-4) proceeded as follows:\n\n1. The problematic line card is detected and a symptom is added to a specific component in the database.\n2. The repair service picks up the problem and enables repairs on the switch. The service performs a risk assessment to confirm that no capacity will be isolated by the operation, and then:\n3. The workflow manager detects the new case and sends it to a pool of repair cases for a technician to claim.\n4. The technician claims the case, sees a red “stop” in the UI (indicating that the switch needs to be drained before repairs are started), and executes the repair in three steps:\n5. The automated repair system brings the line card up again. After a pause to give the card time to initialize, the workflow manager triggers an operation to restore traffic to the switch and close the repair case.\n\nFigure 6-4. Saturn line-card repair workflow with automation: manual work required only to push a button and replace the line card\n\nThe new system freed the engineering team from a large volume of toilsome work, giving them more time to pursue productive projects elsewhere: working on Jupiter, the next-generation Clos topology.\n\n##### Design Second Effort: Saturn Line-Card Repair Versus Jupiter Line-Card Repair\n\nCapacity requirements in the datacenter continued to double almost every 12 months. As a result, our next-generation datacenter fabric, Jupiter, was more than six times larger than any previous Google fabric. The volume of problems was also six times larger. Jupiter presented scaling challenges for repair automation because thousands of fiber links and hundreds of line cards could fail in each layer. Fortunately, the increase in potential failure points was accompanied by far greater redundancy, which meant we could implement more ambitious automation. As shown in Figure 6-5 we preserved some of the general workflow from Saturn and added a few important modifications:\n\n- After an automated drain/reboot cycle determined that we wanted to replace hardware, we sent the hardware to a technician. However, instead of requiring a technician to initiate the drain with the “Push prep button to drain switch,” we automatically drained the entire switch when it failed.\n- We added automation for installing and pushing the configuration that engages after component replacement.\n- We enabled automation for verifying that the repair was successful before undraining the switch.\n- We focused attention on recovering the switch without involving a technician unless absolutely necessary.\n\nFigure 6-5. Saturn line-card down automation (left) versus Jupiter automation (right)\n\n##### Implementation\n\nWe adopted a simple and uniform workflow for every line-card problem on Jupiter switches: declare the switch down, drain it, and begin a repair.\n\nThe automation carried out the following:\n\n1. The problem switch-down is detected and a symptom is added to the database.\n2. The repair service picks up the problem and enables repairs on the switch: drain the entire switch, and add a drain reason.\n3. Attempt (via two distinct methods) to power-cycle the switch.\n4. If this was the second failure, send the case directly to the technician, requesting new hardware. After the hardware change occurs, run automated verification and then install and configure the switch. Remove the repair reason, clear the problem from the database, and undrain the switch.\n\nThis new workflow management was a complete rewrite of the previous repair system. Again, we leveraged existing tools when possible:\n\n- The operations for configuring new switches (install and verify) were the same operations we needed to verify that a switch that had been replaced.\n- Deploying new fabrics quickly required the ability to BERT 7 and cable-audit 8 programmatically. Before restoring traffic, we reused that capability to automatically run test patterns on links that had fallen into repairs. These tests further improved performance by identifying faulty links.\n\nThe next logical improvement was to automate mitigation and repair of memory errors on Jupiter switch line cards. As shown in Figure 6-6, prior to automation, this workflow depended heavily on an engineer to determine if the failure was hardware- or software-related, and then to drain and reboot the switch or arrange a repair if appropriate.\n\nFigure 6-6. Jupiter memory error repair workflow before automation\n\nOur automation simplified the repair workflow by no longer attempting to troubleshoot memory errors (see Sometimes imperfect automation is good enough for why this made sense). Instead, we treated memory errors the same way we handled failed line cards. To extend automation to memory errors, we simply had to add another symptom to a config file to make it act on the new problem type. Figure 6-7 depicts the automated workflow for memory errors.\n\nFigure 6-7. Jupiter memory error repair workflow with automation\n\n##### Lessons Learned\n\nDuring the several years we worked to automate network repair, we learned a lot of general lessons about how to effectively reduce toil.\n\n###### UIs should not introduce overhead or complexity\n\nFor Saturn-based line cards, replacing a line card required draining the entire switch. Draining the entire switch early in the repair process meant losing the working capacity of all line cards on the switch while waiting for replacement parts and a technician. We introduced a button in the UI called “Prep component” that allowed a technician to drain traffic from the entire switch right before they were ready to replace the card, thereby eliminating unnecessary downtime for the rest of the switch (see “Push prep button to drain switch” in Figure 6-5).\n\nThis aspect of the UI and repair workflow introduced a number of unexpected problems:\n\n- After pressing the button, the technician did not get feedback on drain progress but instead simply had to wait for permission to proceed.\n- The button didn’t reliably sync with the actual state of the switch. As a result, sometimes a drained switch did not get repaired, or a technician interrupted traffic by acting upon an undrained switch.\n- Components that did not have automation enabled returned a generic “contact engineering” message when a problem arose. Newer technicians did not know the best way to reach someone who could help. Engineers who were contacted were not always immediately available.\n\nIn response to user reports and problems with regressions caused by the complexity of the feature, we designed future workflows to ensure the switch was safe and ready for repair before the technician arrived at the switch.\n\n###### Don’t rely on human expertise\n\nWe leaned too heavily on experienced datacenter technicians to identify errors in our system (for example, when the software indicated it was safe to proceed with repairs, but the switch was actually undrained). These technicians also had to perform several tasks manually, without being prompted by automation.\n\nExperience is difficult to replicate. In one particularly high-impact episode, a technician decided to expedite the “press button and wait for results” experience by initiating concurrent drains on every line card waiting for repairs at the datacenter, resulting in network congestion and user-visible packet loss. Our software didn’t anticipate and prevent this action because we didn’t test the automation with new technicians.\n\n###### Design reusable components\n\nWhere possible, avoid monolithic designs. Build complex automation workflows from separable components, each of which handles a distinct and well-defined task. We could easily reuse or adapt key components of our early Jupiter automation for each successive generation of fabric, and it was easier to add new features when we could build on automation that already existed. Successive variations on Jupiter-type fabrics could leverage work done in earlier iterations.\n\n###### Don’t overthink the problem\n\nWe overanalyzed the memory error problem for Jupiter line cards. In our attempts at precise diagnosis, we sought to distinguish software errors (fixable by reboots) from hardware errors (which required card replacement), and also to identify errors that impacted traffic versus errors that did not. We spent nearly three years (2012–2015) collecting data on over 650 discrete memory error problems before realizing this exercise was probably overkill, or at least shouldn’t block our repair automation project.\n\nOnce we decided to act upon any error we detected, it was straightforward to use our existing repair automation to implement a simple policy of draining, rebooting, and reinstalling switches in response to memory errors. If the problem recurred, we concluded that the failure was likely hardware-based and requested component replacement. We gathered data over the course of a quarter and discovered that most of the errors were transient—most switches recovered after being rebooted and reinstalled. We didn’t need additional data to perform the repair, so the three-year delay in implementing the automation was unnecessary.\n\n###### Sometimes imperfect automation is good enough\n\nWhile the ability to verify links with BERT before undraining them was handy, BERT tooling didn’t support network management links. We added these links into the existing link repair automation with a check that allowed them to skip verification. We were comfortable bypassing verification because the links didn’t carry customer traffic, and we could add this functionality later if verification turned out to be important.\n\n###### Repair automation is not fire and forget\n\nAutomation can have a very long lifetime, so make sure to plan for project continuity as people leave and join the team. New engineers should be trained on legacy systems so they can fix bugs. Due to parts shortages for Jupiter fabrics, Saturn-based fabrics lived on long after the originally targeted end-of-life date, requiring us to introduce some improvements quite late in Saturn’s overall lifespan.\n\nOnce adopted, automation may become entrenched for a long time, with positive and negative consequences. When possible, design your automation to evolve in a flexible way. Relying on inflexible automation makes systems brittle to change. Policy-based automation can help by clearly separating intent from a generic implementation engine, allowing automation to evolve more transparently.\n\n###### Build in risk assessment and defense in depth\n\nAfter building new tools for Jupiter that determined the risk of a drain operation before executing it, the complexity we encountered led us to introduce a secondary check for defense in depth. The second check established an upper limit for the number of impacted links, and another limit for impacted devices. If we exceeded either threshold, a tracking bug to request further investigation opened automatically. We tuned these limits over time to reduce false positives. While we originally considered this a temporary measure until the primary risk assessment stabilized, the secondary check has proven useful for identifying atypical repair rates due to power outages and software bugs (for one example, see [“Automation: Enabling Failure at Scale”](https://sre.google/sre-book/automation-at-google/) in Site Reliability Engineering).\n\n###### Get a failure budget and manager support\n\nRepair automation can sometimes fail, especially when first introduced. Management support is crucial in preserving the project and empowering the team to persevere. We recommend establishing an error budget for antitoil automation. You should also explain to external stakeholders that automation is essential despite the risk of failures, and that it enables continuous improvement in reliability and efficiency.\n\n###### Think holistically\n\nUltimately, the complexity of scenarios to be automated is the real hurdle to overcome. Reexamine the system before you work on automating it—can you simplify the system or workflow first?\n\nPay attention to all aspects of the workflow you are automating, not just the aspects that create toil for you personally. Conduct testing with the people directly involved in the work and actively seek their feedback and assistance. If they make mistakes, find out how your UI could be clearer, or what additional safety checks you need. Make sure your automation doesn’t create new toil—for example, by opening unnecessary tickets that need human attention. Creating problems for other teams will increase resistance to future automation endeavors.\n\n# Case Study 2: Decommissioning Filer-Backed Home Directories\n\n##### Background\n\nIn the early days of Google, the Corp Data Storage (CDS) SRE team provided home directories to all Googlers. Similar to Active Directory’s Roaming Profiles, common in Enterprise IT, Googlers could use the same home directories across workstations and platforms. The CDS team also offered “Team Shares” for cross-team collaboration in a shared storage space. We provided home directories and Team Shares via a fleet of Netapp Storage Appliances over NFS/CIFS (or “filers”). This storage was operationally expensive but provided a much-needed service to Googlers.\n\n##### Problem Statement\n\nAs years passed, these filer solutions were mostly deprecated by other, better, storage solutions: our version control systems (Piper9/Git-on-borg10), Google Drive, Google Team Drive, Google Cloud Storage, and an internal, shared, globally distributed filesystem called x20. These alternatives were superior for a number of reasons:\n\n- NFS/CIFS protocols were never designed to operate over a WAN, so user experience rapidly degraded with even a few tens of milliseconds of latency. This created problems for remote workers or globally distributed teams, as the data could live only in one location.\n- Compared to alternatives, these appliances were expensive to run and scale.\n- It would have taken significant work to make NFS/CIFS protocols compatible with Google’s Beyond Corp 11 network security model.\n\nMost relevant to this chapter, home directories and Team Shares were toil-intensive. Many facets of storage provisioning were ticket-driven. Although these workflows were often partially scripted, they represented a sizable amount of the CDS team’s toil. We spent a lot of time creating and configuring shares, modifying access, troubleshooting end user issues, and performing turnups and turndowns to manage capacity. CDS also managed the provisioning, racking, and cabling processes for this specialized hardware, in addition to their configuration, updates, and backups. Due to latency requirements, we often had to deploy in remote offices instead of Google datacenters—which sometimes required a team member to travel a substantial distance to manage a deployment.\n\n##### What We Decided to Do\n\nFirst, we gathered data: CDS created a tool called Moonwalk to analyze how employees used our services. We collected traditional business intelligence metrics like daily active users (DAU) and monthly active users (MAU), and asked questions like, “Which job families actually use their home directories?” and “Of the users who use filers every day, what kind of files do they access the most?” Moonwalk, combined with user surveys, validated that the business needs currently served by filers could be better served by alternative solutions that had lower operational overhead and cost. Another compelling business reason led us to move away from filers: if we could migrate most of our filer use cases to G Suite/GCP, then we could use the lessons we learned to improve these products, thereby enabling other large enterprises to migrate to G Suite/GCP.\n\nNo single alternative could meet all of the current filer use cases. However, by breaking the problem into smaller addressable components, we found that in aggregate, a handful of alternatives could cover all of our use cases. The alternative solutions were more specialized, but each provided a better user experience than a generalized filer-powered solution. For example:\n\nx2012\n\n- Was a great way for teams to globally share static artifacts like binaries\n\nG Suite Team Drive\n\n- Worked well for office document collaboration, and was much more tolerant of user latency than NFS\n\nGoogle’s Colossus File System\n\n- Allowed teams to share large data files more securely and scalably than NFS\n\nPiper/Git-on-Borg\n\n- Could better sync dotfiles (engineers’ personalized tool preferences)\n\nA new history-as-a-service tool\n\n- Could host cross-workstation command-line history\n\nAs we catalogued use cases and found alternatives, the decommissioning plan took shape.\n\n##### Design and Implementation\n\nMoving away from filers was an ongoing, iterative, multiyear effort that entailed multiple internal projects:\n\nMoira\n\n- Home directory decommissioning\n\nTekmor\n\n- Migrating the long tail of home directory users\n\nMigra\n\n- Team Share decommissioning\n\nAzog\n\n- Retiring home directory/share infrastructure and associated hardware\n\nThis case study focuses on the first project, Moira. The subsequent projects built upon what we learned from and created for Moira.\n\nAs shown in Figure 6-8, Moira consisted of four phases.\n\nFigure 6-8. The four stages of Project Moira\n\nThe first step to retiring a legacy system is to stop or (often more realistically) to slow or discourage new adoption. It’s much more painful to take something away from users than never offer it in the first place. Moonwalk data showed that nonengineering Googlers used their shared home directories the least, so our initial phase targeted these users. As the phases grew in scope, so did our confidence in the alternative storage solutions and our migration processes and tooling. Each phase of the project had an associated design document that examined the proposal along dimensions like security, scalability, testing, and launch. We also paid special attention to user experience, expectations, and communication. Our goal was making sure that users affected by each phase understood the reasons for the decommissioning project and the easiest way to archive or migrate their data.\n\n##### Key Components\n\n###### Moonwalk\n\nWhile we had basic statistics about our users’ shares (share sizes, for example), we needed to understand our users’ workflows to help drive business decisions around the deprecation. We set up a system called Moonwalk to gather and report this information.\n\nMoonwalk stored the data about who was accessing what files and when in BigQuery, which allowed us to create reports and perform ad hoc queries to understand our users better. Using BigQuery, we summarized access patterns across 2.5 billion files using 300 terabytes of disk space. This data was owned by 60,000 POSIX users in 400 disk volumes on 124 NAS appliances in 60 geographic sites around the world.\n\n###### Moira Portal\n\nOur large user base made managing the home directory decommissioning effort with a manual ticket-based process untenable. We needed to make the entire process—surveying users, communicating the reasons for the decommissioning project, and walking through either archiving their data or migrating to an alternative—as low-touch as possible. Our final requirements were:\n\n- A landing page describing the project\n- A continually updated FAQ\n- The status and usage information associated with the current user’s share\n- Options to request, deactivate, archive, delete, extend, or reactivate a share\n\nOur business logic became fairly complicated because we had to account for a number of user scenarios. For example, a user might leave Google, go on a temporary leave, or have data under a litigation hold. Figure 6-9 provides a sample design doc state diagram illustrating this complexity.\n\nFigure 6-9. Business logic based upon user scenarios\n\nThe technology powering the portal was relatively simple. Written in Python with the Flask framework, it read and wrote to a Bigtable, and used a number of background jobs and schedulers to manage its work.\n\n###### Archiving and migration automation\n\nWe needed a lot of ancillary tooling to glue the portal and configuration management together, and to query and communicate with users. We also needed to be sure we identified the right users for the right communications. False positives (erroneously reporting action required) or false negatives (failing to notify a user that you were taking something away) were both unacceptable, and errors here would mean extra work in the form of lost credibility and customer service.\n\nWe worked with alternative storage system owners to add features to their roadmaps. As a result, less mature alternatives became more suitable for filer use cases as the project progressed. We could also use and extend tooling from other teams. For example, we used another team’s internally developed tool to migrate data from Google Cloud Storage to Google Drive as part of the Portal’s auto-archiving functionality.\n\nThe effort required substantial software development over the life of the project. We built and iterated upon each component—the Moonwalk reporting pipeline, the portal, and the automation to better manage retiring and archiving shares—in response to the next phase’s requirements and user feedback. We approached a feature-complete state only in phase three (almost two years in); and even then, we needed additional tooling to handle a “long tail” of around 800 users. This low and slow approach had definite benefits. It allowed us to:\n\n- Maintain a lean team (averaging three CDS team members)\n- Reduce the disruption to user workflows\n- Limit toil for Techstop (Google’s internal technical support organization)\n- Build tools on an as-needed basis to avoid wasted engineering effort\n\nAs with all engineering decisions, there were tradeoffs: the project would be long-lived, so the team had to endure filer-related operational toil while engineering these solutions.\n\nThe program officially completed in 2016. We’ve reduced home directories from 65,000 to around 50 at the time of writing. (The current Azog Project aims to retire these last users and fully decommission the filer hardware.) Our users’ experience has improved, and CDS has retired operationally expensive hardware and processes.\n\n##### Lessons Learned\n\nWhile no one alternative could replace the filer-backed storage that Googlers had used for 14+ years, we didn’t necessarily need a wholesale replacement. By effectively moving up the stack from a generalized but limited filesystem-level solution to multiple application-specific solutions, we traded flexibility for improved scalability, latency tolerance, and security. The Moira team had to anticipate a variety of user journeys and consider alternatives in various stages of maturity. We had to manage expectations around these alternatives: in aggregate, they could provide a better user experience, but getting there wouldn’t be painless. We learned the following lessons about effectively reducing toil along the way.\n\n###### Challenge assumptions and retire expensive business processes\n\nBusiness requirements drift and new solutions continuously emerge, so it’s worthwhile to periodically question toil-intensive business processes. As we discussed in Toil Management Strategies, rejecting toil (deciding not to perform toilsome tasks) is often the simplest way to eliminate it, even though this approach isn’t always quick or easy. Shore up your case with user analytics and business justifications beyond mere toil reduction. The primary business justification for filer decommissioning came down to the benefits of a Beyond Corp security model. So, while Moira was a great way to reduce the CDS team’s toil, emphasizing the many security benefits of decommissioning filers made for a more compelling business case.\n\n###### Build self-service interfaces\n\nWe built a custom portal for Moira (which was relatively expensive), but there are often easier alternatives. Many teams at Google manage and configure their services using version control, and process organizational requests in the form of pull requests (called changelists, or CLs). This approach requires little or no involvement from the service’s team, but gives us the benefits of code review and continuous deployment processes to validate, test, and deploy internal service configuration changes.\n\n###### Start with human-backed interfaces\n\nAt several points, the Moira team used an “engineer behind the curtain” approach that married automation with manual work by engineers. For example, share requests opened tracking bugs, which our automation updated as we processed the requests. The system also assigned end users bugs to remind them to address their shares. Tickets can serve as a quick and dirty GUI for automation: they keep a log of work, update stakeholders, and provide a simple human fallback mechanism if automation goes awry. In our case, if a user needed help with their migration or if automation couldn’t process their request, the bug was automatically routed to a queue that SREs handled manually.\n\n###### Melt snowflakes\n\nAutomation craves conformity. Moira’s engineers chose to retool our automation to either handle share edge cases specifically, or to delete/modify nonconforming shares to match expectations of tooling. This allowed us to approach zero-touch automation for much of the migration processes.\n\nFigure 6-10. The garden gnome that wouldn’t go away\n\n###### Employ organizational nudges\n\nLook for ways to nudge new users to adopt better (and hopefully less toil-intensive) alternatives. In this vein, Moira required escalations for new share or quota requests and recognized users who retired their shares. It’s also important to provide good documentation around service setup, best practices, and when to use your service. Google teams frequently employ codelabs or cookbooks that teach users how to set up and use their service for common use cases. As a result, most user onboarding doesn’t require help from the team that owns the service.\n\n# Conclusion\n\nAt minimum, the amount of toil associated with running a production service grows linearly with its complexity and scale. Automation is often the gold standard of toil elimination, and can be combined with a number of other tactics. Even when toil isn’t worth the effort of full automation, you can decrease engineering and operations workloads through strategies like partial automation or changing business processes.\n\nThe patterns and methods for eliminating toil described in this chapter can be generalized to work for a variety of other large-scale production services. Eliminating toil frees up engineering time to focus on the more enduring aspects of services, and allows teams to keep manual tasks at a minimum as the complexity and scale of modern service architectures continue to increase.\n\nIt’s important to note that eliminating toil isn’t always the best solution. As mentioned throughout this chapter, you should consider the measurable costs associated with identifying, designing, and implementing processes or automation solutions around toil. Once you identify toil, it's crucial to determine when toil reduction makes sense, using metrics, return on investment (ROI) analysis, risk assessment, and iterative development.\n\nToil usually starts small, and can rapidly grow to consume an entire team. SRE teams must be relentless in eliminating toil, because even if the task seems daunting, the benefits usually exceed the costs. Each of the projects we described required perseverance and dedication from its respective teams, who sometimes battled skepticism or institutional resistance, and who always faced competing high priorities. We hope these stories encourage you to identify your toil, quantify it, and then work toward eliminating it. Even if you can’t invest in a big project today, you can start with a small proof of concept that can help change your team’s willingness to deal with toil.\n\n1Whether something is automatable is the most subjective characteristic listed here; your perspective will evolve as you gain experience by automating away toil. A problem space that once seemed intractable (or too risky) will become feasible once you get comfortable with “letting the robots do the work.”\n\n2Some engineers do not mind working on toil for a prolonged period—not everyone’s tolerance threshold for toil is the same. Over the longer term, toil causes career stagnation while promoting burnout-induced turnover. A certain level of toil is unavoidable, but we recommend reducing it where feasible—for the health of the team, the service, and individuals alike.\n\n3In other words, if a service and its nine dependencies each have 99.99% availability, the aggregate availability of the service will be 0.999910 = 99.9%. For further reading on how dependencies factor into service availability, see [\"The Calculus of Service Availability\"](https://queue.acm.org/detail.cfm?id=3096459).\n\n4Of course, you won’t be able to handle some one-off cases via self-service (“you want a VM with how much RAM?”), but aim to cover the majority of use cases. Moving 80–90% of requests to self-service is still a huge reduction in workload!\n\n5In short, moving away from individual specialized devices toward a fleet of devices with a common interface. See Case Study 1: Reducing Toil in the Datacenter with Automation for a detailed explanation of this analogy.\n\n6A line card is a modular component that usually provides multiple interfaces to the network. It is seated in the backplane of a chassis along with other line cards and components. Modular network switches consist of a chassis that includes a backplane, power entry modules, control card module, and one or more line cards. Each line card supports network connections either to machines or other line cards (in other switches). As with a USB network interface adapter, you can replace any line card without powering down the whole switch, provided the line card has been “drained,” meaning that the other interfaces have been told to stop sending traffic to it.\n\n7Bit error rate test: check for unhealthy links before restoring service.\n\n8Check for miscabled ports.\n\n9Piper is Google’s internal version control system. For more information, see Rachel Potvin and Josh Levenberg, “Why Google Stores Billions of Lines of Code in a Single Repository,” Communications of the ACM 59, no. 7 (2016): 78–87, [https://bit.ly/2J4jgMi](https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext).\n\n10Google also has scalable self-service Git hosting for code that doesn’t live in Piper.\n\n11[Beyond Corp](https://cloud.google.com/beyondcorp/) is an initiative to move from a traditional perimeter-based security model to a cryptographic identity-based model. When a Google laptop connects to an internal Google service, the service verifies trust through a combination of a cryptographic certificate identifying the laptop, a second factor owned by the user (such as a USB security key), the client device config/state, and the user’s credentials.\n\n12x20 is an internal globally shared, highly available filesystem with POSIX-like filesystem semantics.", "znaku_textu": 63481, "slov": 9753, "odkazu": 88, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:32", "sha256": "72b3ce695300c7860198b7adede7c90c896206bb0db7d3e009e0e5773d56bcf6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://xkcd.com/1319/", "https://cloudplatform.googleblog.com/2017/01/availability-part-deux--CRE-life-lessons.html", "https://18f.gsa.gov/2014/09/08/the-encasement-strategy-on-legacy-systems-and-the/", "https://sreworkbook.page.link/B4tU", "https://queue.acm.org/detail.cfm?id=3096459", "https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext", "https://cloud.google.com/beyondcorp/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/engagement-model", "titulek": "Google SRE- Continuous Improvement for Reliable Service", "h1": "The Service Lifecycle", "popis": "Use continuous improvement strategies for service reliability throughout the service lifecycle, from architecture to deprecation and abandonment.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/engagement-model/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/engagement-model/"}, "headline": "SRE Engagement Model", "description": "This chapter adopts the perspective of an SRE team that’s intending to provide support for a new service. We look at how to engage most effectively with the service, and with the developer and product teams who own it.", "image": "https://lh3.googleusercontent.com/o3zJmQc95_I6XC7ZUu-d75hqG857oOAZ7iRDnTfPY-SpaV36Lx_vewXbPTfC7sT-VsmKGvi6FSYsTm4eAhP6RdttioSVSASMZorJog", "author": [{"@type": "Person", "name": "Michael Wildpaner"}, {"@type": "Person", "name": "Gráinne Sheerin"}, {"@type": "Person", "name": "Daniel Rogers"}, {"@type": "Person", "name": "Surya Prashanth Sanagavarapu (New York Times)"}, {"@type": "Person", "name": "Adrian Hilton"}, {"@type": "Person", "name": "Shylaja Nukala"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "SRE Engagement Model"}, {"uroven": 1, "text": "The Service Lifecycle"}, {"uroven": 5, "text": "Phase 1: Architecture and Design"}, {"uroven": 5, "text": "Phase 2: Active Development"}, {"uroven": 5, "text": "Phase 3: Limited Availability"}, {"uroven": 5, "text": "Phase 4: General Availability"}, {"uroven": 5, "text": "Phase 5: Deprecation"}, {"uroven": 5, "text": "Phase 6: Abandoned"}, {"uroven": 5, "text": "Phase 7: Unsupported"}, {"uroven": 1, "text": "Setting Up the Relationship"}, {"uroven": 5, "text": "Communicating Business and Production Priorities"}, {"uroven": 5, "text": "Identifying Risks"}, {"uroven": 5, "text": "Aligning Goals"}, {"uroven": 5, "text": "Setting Ground Rules"}, {"uroven": 5, "text": "Planning and Executing"}, {"uroven": 1, "text": "Sustaining an Effective Ongoing Relationship"}, {"uroven": 5, "text": "Investing Time in Working Better Together"}, {"uroven": 5, "text": "Maintaining an Open Line of Communication"}, {"uroven": 5, "text": "Performing Regular Service Reviews"}, {"uroven": 5, "text": "Reassessing When Ground Rules Start to Slip"}, {"uroven": 5, "text": "Adjusting Priorities According to Your SLOs and Error Budget"}, {"uroven": 5, "text": "Handling Mistakes Appropriately"}, {"uroven": 6, "text": "Sleep on it"}, {"uroven": 6, "text": "Meet in person (or as close to it as possible) to resolve issues"}, {"uroven": 6, "text": "Be positive"}, {"uroven": 6, "text": "Understand differences in communication"}, {"uroven": 1, "text": "Scaling SRE to Larger Environments"}, {"uroven": 5, "text": "Supporting Multiple Services with a Single SRE Team"}, {"uroven": 5, "text": "Structuring a Multiple SRE Team Environment"}, {"uroven": 5, "text": "Adapting SRE Team Structures to Changing Circumstances"}, {"uroven": 5, "text": "Running Cohesive Distributed SRE Teams"}, {"uroven": 1, "text": "Ending the Relationship"}, {"uroven": 5, "text": "Case Study 1: Ares"}, {"uroven": 5, "text": "Case Study 2: Data Analysis Pipeline"}, {"uroven": 6, "text": "The pivot"}, {"uroven": 6, "text": "Communication breakdown"}, {"uroven": 6, "text": "Decommission"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## SRE Engagement Model\n\nBy Michael Wildpaner, Gráinne Sheerin, Daniel Rogers,\nand Surya Prashanth Sanagavarapu (New York Times)\nwith Adrian Hilton and Shylaja Nukala\n\n[Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) in our first SRE book describes technical and procedural approaches that an SRE team can take to analyze and improve the reliability of a service. These strategies include Production Readiness Reviews (PRRs), early engagement, and continuous improvement.\n\nSimply put, [SRE principles](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/) aim to maximize the engineering velocity of developer teams while keeping products reliable. This two-fold goal is good for the product users and good for the company. But there’s a limit to how much even the best SRE team can accomplish, and the SRE model is less effective when the domain is too large and overly complex. The current microservices movement makes this dynamic even more acute—a small company can easily have more microservices than a single SRE team can handle. Given a large production landscape, and with the knowledge that they can’t cover every service, an SRE team must decide where to focus their attention to achieve the best results. Product development and SRE teams can collaborate to identify the correct point of focus.\n\nThis chapter adopts the perspective of an SRE team that’s intending to provide support for a new service. We look at how to engage most effectively with the service, and with the developer and product teams who own it. Although [SRE engagement](https://sre.google/sre-book/communication-and-collaboration/) often builds around one or more services, the engagement entails much more than the services themselves—it focuses on understanding the aims of developer and product teams and finding the right way to support them.\n\nMost of this discussion is applicable regardless of your organization’s scale. While we use the word team frequently, a team could theoretically start off as a single person (although that person would be quite busy). Regardless of your team’s size, it’s important to proactively define the role of SRE and manage communication and collaboration with product development.\n\n# The Service Lifecycle\n\nAs described in the [preface](https://sre.google/sre-book/preface/) to the first SRE book, an SRE team’s contributions to service reliability happen throughout all phases of the service lifecycle. Their application of production knowledge and experience can substantially improve the reliability of a service well before any SRE picks up the pager for the service.\n\nFigure 18-1 shows the ideal levels of SRE engagement over the course of a service’s life. However, an SRE team might begin their engagement with a service at any stage in the lifecycle. For example, if the development team begins planning a replacement service for an SRE-supported service, SRE might be involved in the new service very early on. Alternatively, an SRE team might formally engage with a service once it has been generally available for months or years and is now facing reliability or scaling challenges. This section provides guidance on how SRE teams can effectively contribute at each phase.\n\nFigure 18-1. Level of SRE engagement during the service lifecycle\n\n##### Phase 1: Architecture and Design\n\nSRE can influence the architecture and design of a software system in different ways:\n\n- Creating best practices, such as resilience to various single points of failure, that a developer team can employ when building a new product\n- Documenting the dos and don’ts of particular infrastructure systems (based upon prior experience) so developers can choose their building blocks wisely, use them correctly, and avoid known pitfalls\n- Providing early engagement consulting to discuss specific architectures and design choices in detail, and to help validate assumptions with the help of targeted prototypes\n- Joining the developer team and participating in development work\n- Codesigning part of the service\n\nFixing architectural mistakes becomes more difficult later in the development cycle. Early SRE engagement can help avoid costly redesigns that become necessary when systems interact with real-world users and need to scale in response to service growth.\n\n##### Phase 2: Active Development\n\nAs the product takes shape during active development, SREs can start [productionizing the service](https://sre.google/sre-book/evolving-sre-engagement-model/)—getting it in shape to be released into production. Productionalization typically includes capacity planning, setting up extra resources for redundancy, planning for spike and overload handling, implementing load balancing, and putting in place sustainable operational practices like monitoring, alerting, and performance tuning.\n\n##### Phase 3: Limited Availability\n\nAs a service progresses toward Beta, the number of users, variety of use cases, intensity of usage, and availability and performance demands increase. At this stage, SRE can help measure and evaluate reliability. We strongly recommend defining SLOs before general availability (GA) so that the service teams have an objective measure of how reliable the service is. The product team still has the option to withdraw a product that can’t meet its target reliability.\n\nDuring this phase, the SRE team can also help scale the system by building a capacity model, acquiring resources for upcoming launch phases, and automating turnups and in-place service resizing. SRE can ensure proper monitoring coverage and help create alerts that ideally match the upcoming service SLOs.\n\nWhile service usage is still changing, the SRE team can expect an increased amount of work during incident response and operational duties because the teams are still learning how the service works and how to manage its failure modes. We recommend sharing this work between the developer and SRE teams. That way, the developer team gains operational experience with the service and the SREs gain experience with the service in general. Operational work and incident management will inform the system changes and updates the service owners need to make before GA.\n\n##### Phase 4: General Availability\n\nIn this phase, the service has passed the Production Readiness Review (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) in Site Reliability Engineering for more details) and is accepting all users. While SRE typically performs the majority of operational work, the developer team should continue to field a small part of all operational and incident response work so they don’t lose perspective on these aspects of the service. They might permanently include one developer in the on-call rotation to help the developers keep track of operational load.\n\nIn the early phase of GA, as the developer team focuses on maturing the service and launching the first batches of new features, it also needs to stay in the loop to understand system properties under real load. In the later stages of GA, the developer team provides small incremental features and fixes, some of which are informed by operational needs and any production incidents that occur.\n\n##### Phase 5: Deprecation\n\nNo system runs forever. If and when a better replacement system is available, the existing system is closed for new users and all engineering focuses on transitioning users from the existing system to the new one. SRE operates the existing system mostly without involvement from the developer team, and supports the transition with development and operational work.\n\nWhile SRE effort required for the existing system is reduced, SRE is effectively supporting two full systems. Headcount and staffing should be adjusted accordingly.\n\n##### Phase 6: Abandoned\n\nOnce a service is abandoned, the developer team typically resumes operational support. SRE supports service incidents on a best-effort basis. For a service with internal users, SRE hands over [service management](https://sre.google/sre-book/introduction/) to any remaining users. This chapter provides two case studies of how SRE can hand back a service to developer teams.\n\n##### Phase 7: Unsupported\n\nThere are no more users, and the service has been shut down. SRE helps to delete references to the service in production configurations and in documentation.\n\n# Setting Up the Relationship\n\nA service does not exist in a vacuum: the SRE team engages with the developer team that builds the service and the product team that determines how it should evolve. This section recommends some strategies and tactics for building and maintaining good working relationships with those teams.\n\n##### Communicating Business and Production Priorities\n\nBefore you can help someone, you need to understand their needs. To that end, SREs need to understand what the product developers expect the SRE engagement to achieve. When engaging with a developer team, SREs should build a deep understanding of the product and business goals. SREs should be able to articulate their role and how SRE engagement can enable developers to execute toward these goals.\n\nTeams need to regularly talk with each other about business and production priorities. The SRE and developer leadership teams should ideally work as a unit, meeting regularly and exchanging views about technical and prioritization challenges. Sometimes SRE leads join the product development leadership team.\n\n##### Identifying Risks\n\nBecause an SRE team is focused on system reliability, they are well positioned to identify potential risks. Gauging the likelihood and potential impact of those risks as accurately as possible is important, as the cost of disrupting regular development and feature flow is significant to the product and to engineers.\n\n##### Aligning Goals\n\nThe developer and SRE teams both care about reliability, availability, performance, scalability, efficiency, and feature and launch velocity. However, SRE operates under different incentives, mainly favoring service long-term viability over new feature launches.\n\nIn our experience, developer and SRE teams can strike the right balance here by maintaining their individual foci but also explicitly supporting the goals of the other group. SREs can have an explicit goal to support the developer team’s release velocity and ensure the success of all approved launches. For example, SRE might state, “We will support you in releasing as quickly as is safe,” where “safe” generally implies staying within error budget. Developers should then commit to dedicating a reasonable percentage of engineering time to fixing and preventing the things that are breaking reliability: resolving ongoing service issues at the design and implementation level, paying down technical debt, and including SREs in new feature development early so that they can participate in design conversations.\n\n##### Setting Ground Rules\n\nAt Google, every SRE team has two major goals:\n\nShort term\n\n- Fulfill the product’s business needs by providing an operationally stable system that is available and scales with demand, with an eye on maintainability.\n\nLong term\n\n- Optimize service operations to a level where ongoing human work is no longer needed, so the SRE team can move on to work on the next high-value engagement.\n\nTo this end, the teams should agree upon some principles of cooperation, such as:\n\n- Definitions of (and a hard limit on) operational work.\n- An agreed-upon and measured SLO for the service that is used to prioritize engineering work for both the developer and SRE teams. You can start without an SLO in place, but our experience shows that not establishing this context from the beginning of the relationship means you’ll have to backtrack to this step later. For an example of how engineering work proceeds less than ideally in the absence of an SLO, see [Case Study 1: Scaling Waze—From Ad Hoc to Planned Change](/workbook/organizational-change#case-study-1-scaling-waze—from-ad-hoc-to-planned-change) .\n- An agreed-upon quarterly error budget that determines release velocity and other safety parameters, such as excess service capacity to handle unexpected usage growth.\n- Developer involvement in daily operations to ensure that ongoing issues are visible, and that fixing their root causes is prioritized.\n\n##### Planning and Executing\n\nProactive planning and coordinated execution ensure that SRE teams meet expectations and product goals while optimizing operations and reducing operational cost. We suggest planning at two (connected) levels:\n\n- With developer leadership, set priorities for products and services and publish yearly roadmaps.\n- Review and update roadmaps on a regular basis, and derive goals (quarterly or otherwise) that line up with the roadmap.\n\nRoadmaps ensure that each team has a long-term time horizon of clear, high-impact work. There can be good reasons to forego roadmaps (for example, if the development organization is changing too quickly). However, in a stable environment, the absence of a roadmap may be a signal that the SRE team can merge with another team, move service management work back to the development teams, expand scope, or dissolve.\n\nHolding ongoing strategy conversations with developer leadership helps to quickly identify shifts in focus, discuss new opportunities for SRE to add value to the business, or stop activities that are not cost-effective for the product.\n\nRoadmaps can focus on more than just improving the product. They can also address how to apply and improve common SRE technologies and processes to drive down operational cost.\n\n# Sustaining an Effective Ongoing Relationship\n\nHealthy and effective relationships require ongoing effort. The strategies outlined in this section have worked well for us.\n\n##### Investing Time in Working Better Together\n\nThe simple act of spending time with each other helps SREs and developers collaborate more effectively. We recommend that SREs meet regularly with their counterparts for the services they run. It’s also a good idea for SREs to meet periodically with other SRE teams who run services that either send traffic to the service or provide common infrastructure that the service uses. The SRE team can then escalate confidently and quickly during outages or disagreements because the teams know each other and have already set expectations of how escalations should be initiated and managed.\n\n##### Maintaining an Open Line of Communication\n\nIn addition to the day-to-day communication between teams, we’ve found a couple methods of more formal information exchange to be particularly helpful over the course of the engagement.\n\nSREs can give a quarterly “state of production” talk to product development leadership to help them understand where they should invest resources and how exactly SRE is helping their product or service. In a similar vein, developers can give a periodic “state of the product” talk to the SRE team or involve SRE in the developer team’s executive presentations. This gives the SRE team an overview of what the developer team has accomplished over the last quarter (and lets the SREs see how their own work enabled that). It also provides an update on where the product is going over the next few quarters, and where the product lead sees SRE engaging to make that happen.\n\n##### Performing Regular Service Reviews\n\nAs the decision makers for the service’s future, the SRE and developer team leads responsible for the service should meet face-to-face at least once a year. Meeting more frequently than this can be challenging—for example, because it may involve intercontinental travel. During this meeting, we typically share our roadmaps for the next 12–18 months and discuss new projects and launches.\n\nSRE teams sometimes facilitate a retrospective exercise, where the leads discuss what the teams want to stop doing, keep doing, and start doing. Items can appear in more than one area, and all opinions are valid. These sessions need active facilitation because the best results come from full-team participation. This is often rated the most useful session in the service meeting because it yields details that can drive significant service changes.\n\n##### Reassessing When Ground Rules Start to Slip\n\nIf cooperation in any of the agreed-upon areas (see Setting Ground Rules) begins to regress, both developers and SRE need to change priorities to get the service back in shape. We have found that, depending on the urgency, this can mean any of the following:\n\n- The teams identify specific engineers who must drop their lower-priority tasks to focus on the regression.\n- Both teams call a “reliability hackathon,” but usual team priorities continue outside of the hackathon days.\n- A feature freeze is declared and the majority of both teams focus on resolving the regression.\n- Technical leadership determines that the reliability of the product is at acute risk, and the teams call an “all hands on deck” response.\n\n##### Adjusting Priorities According to Your SLOs and Error Budget\n\nThe subtle art of crafting a well-defined SLO helps a team prioritize appropriately. If a service is in danger of missing the SLO or has exhausted the error budget, both teams can work with high priority to get the service back into safety. They can address the situation through both tactical measures (for example, overprovisioning to address traffic-related performance regressions) and more strategic software fixes (such as optimizations, caching, and graceful degradation).\n\nIf a service is well within SLO and has ample error budget left, we recommend using the spare error budget to increase feature velocity rather than spending overproportional efforts on service improvements.\n\n##### Handling Mistakes Appropriately\n\nHumans inevitably make mistakes. Consistent with our [postmortem culture](https://sre.google/sre-book/postmortem-culture/), we don’t blame people, and instead focus on system behavior. Your mileage may vary, but we have had success with the following tactics.\n\n###### Sleep on it\n\nIf possible, don’t conduct follow-up conversations when you’re tired or emotions are high. During high-stress situations, people can easily misinterpret tone in written communication like emails. Readers will remember how the words made them feel, not necessarily what was written. When you’re communicating across locations, it’s often worth the time to set up a video chat so that you can see facial expressions and hear the tone of voice that helps disambiguate words.\n\n###### Meet in person (or as close to it as possible) to resolve issues\n\nInteractions conducted solely via code reviews or documentation can quickly become drawn out and frustrating. When a behavior or decision from another team is at odds with our expectations, we talk with them about our assumptions and ask about missing context.\n\n###### Be positive\n\nThank people for their positive behaviors. Doing so can be simple—for example, during code reviews, design reviews, and failure scenario training, we ask engineers to call out what was good and explain why. You might also recognize good code comments or thank people for their time when they invest in a rigorous design review.\n\n###### Understand differences in communication\n\nDifferent teams have different internal expectations for how information is disseminated. Understanding these differences can help strengthen relationships.\n\n# Scaling SRE to Larger Environments\n\nThe scenarios we’ve discussed so far involve a single SRE team, a single developer team, and one service. Larger companies, or even small companies that use a microservices model, may need to scale some or all of these numbers.\n\n##### Supporting Multiple Services with a Single SRE Team\n\nBecause SREs have specialized skills and are a scarce resource, Google generally maintains an SRE-to-developer ratio of < 10%. Therefore, one SRE team commonly works with multiple developer teams in their product area (PA).\n\nIf SREs are scarce relative to the number of services that merit SRE support, an SRE team can focus their efforts on one service, or on a few services from a small number of developer teams.\n\nIn our experience, you can scale limited SRE resources to many services if those services have the following characteristics:\n\n- Services are part of a single product. This provides end-to-end ownership of the user experience and alignment with the user.\n- Services are built on similar tech stacks. This minimizes cognitive load and enables effective reuse of technical skills.\n- Services are built by the same developer team or a small number of related developer teams. This minimizes the number of relationships and makes it easier to align priorities.\n\n##### Structuring a Multiple SRE Team Environment\n\nIf your company is big enough to have multiple SRE teams, and perhaps multiple products, you need to choose a structure for how SRE and the product groups relate.\n\nWithin Google, we support a complex developer organization. As shown in Figure 18-2, each PA consists of multiple product groups that each contain multiple products. The SRE organization shadows the developer organization hierarchically, with shared priorities and best practices at each level. This model works when all teams in a group, or all groups in a PA, share the same or similar specific business goals, and when every product group has both a product leader and an SRE lead.\n\nFigure 18-2. Large-scale developer-to-SRE team relationships (per product area)\n\nIf your organization has multiple SRE teams, you’ll need to group them in some way. The two main approaches we’ve seen work well are:\n\n- Group the teams within a product, so they don’t have to coordinate with too many different developer teams.\n- Group the teams within a technology stack (e.g., “storage” or “networking”).\n\nTo prevent churn in SRE teams during developer reorgs, we recommend organizing SRE teams according to technology rather than developer PA reporting structure. For example, many teams that support storage systems are structured and operate in the same way. Grouping storage systems in technology-focused product groups may make more sense even if they come from different parts of the developer organization.\n\n##### Adapting SRE Team Structures to Changing Circumstances\n\nIf you need to modify the structure of your SRE teams to reflect changing PA needs, we recommend creating, splitting (sharding), merging, and dissolving SRE teams based on service needs and engineering and operational load. Each SRE team should have a clear charter that reflects their services, technology, and operations. When a single SRE team has too many services, rather than building new teams from scratch, we prefer to shard the existing team into multiple teams to transfer culture and grow existing leadership. Changes like this are inevitably disruptive to existing teams, so we’d recommend that you restructure teams only when necessary.\n\n##### Running Cohesive Distributed SRE Teams\n\nIf you need to ensure 24/7 coverage and business continuity, and you have a global presence, it’s worth trying to distribute your SRE teams around the globe to provide even coverage. If you have a number of globally distributed teams, we recommend colocating teams based upon adjacency and upon similarity of services and shared technology. We’ve found that singleton teams are generally less effective and more vulnerable to the effects of reorgs outside the team—we create such teams only if clearly defined business needs call for them and we’ve considered all other options.\n\nMany companies don’t have the resources for full global coverage, but even if you’re split only across buildings (never mind continents), it’s important to create and maintain a two-location arrangement.\n\nIt’s also important to create and maintain organizational standards that drive planning and execution and foster and maintain a shared team culture. To this end, we find it useful to gather the entire team in one physical location periodically—for example, at an org-wide summit every 12–18 months.\n\nSometimes it doesn’t make sense for everyone on the team to own certain responsibilities—for example, conducting regular test restores from backups or implementing cross-company technical mandates. When balancing these responsibilities between a team’s distributed sites, keep the following strategies in mind:\n\n- Assign individual responsibilities to single locations, but rotate them regularly (e.g., yearly).\n- Share every responsibility between locations, making an active effort to balance the involvement and workload.\n- Don’t lock a responsibility to a single location for multiple years. We’ve found that the costs of this configuration ultimately outweigh the benefits. Although that location will tend to become really good at executing those responsibilities, this fosters an “us versus them” mentality, hinders distribution of knowledge, and presents a risk for business continuity.\n\nAll of these strategies require locations to maintain tactical and strategic communication.\n\n# Ending the Relationship\n\nSRE engagements aren’t necessarily indefinite. SREs provide value by doing impactful engineering work. If the work is no longer impactful (i.e., the value proposition of an SRE engagement goes away), or if the majority of the work is no longer on the engineering (versus operations) side, you may need to revisit the ongoing SRE engagement. In general, individual SREs will move away from toil-heavy teams to teams with more interesting engineering work.\n\nOn a team level, you might hand back a service if SRE no longer provides sufficient business value to merit the costs. For example:\n\n1. If a service has been optimized to a level where ongoing SRE engagement is no longer necessary\n2. If a service’s importance or relevance has diminished\n3. If a service is reaching end of life\n\nThe following case studies demonstrate how two Google SRE engagement models ended. The first ends with largely positive results, while the other ends with a more nuanced outcome.\n\n##### Case Study 1: Ares\n\nGoogle’s Abuse SRE and Common Abuse Tool (CAT) teams provided anti-abuse protection for most Google properties and worked with customer-facing products to keep users safe. The Abuse SRE team applied engineering work to lower CAT’s operational support burden so that the developers were able to take a direct role in supporting their users. These users were the Googlers operating the properties defended by CAT, who had high expectations about the efficacy of CAT and its response time to problems or new threats.\n\nEfficient abuse fighting requires constant attention, rapid adaptive changes, and nimble flexibility in the face of new threats and attacks. These requirements clashed with the common SRE goals of reliable and planned feature development. CAT teams routinely needed to implement fast development and deploy new protections to properties under attack. However, Abuse SRE pushed back on requested changes, requesting more in-depth analysis of the consequences each new protection would have on the overall production system. Time constraints on consultations between teams and reviews compounded this tension.\n\nTo hopefully improve the situation, Abuse SRE and CAT leadership engaged in a multiyear project to create a dedicated infrastructure team within CAT. The newly formed “Ares” team had a mandate to unify abuse-fighting infrastructure for Google properties. This team was staffed by CAT engineers who had production infrastructure knowledge and experience building and running large services. The teams started an exchange program to transfer production management knowledge from Abuse SRE to the CAT infrastructure team members.\n\nAbuse SREs taught the Ares team that the easiest way to launch a new service in production (when you’re already running large distributed services) is to minimize the additional cognitive load that the service imposes. To reduce this cognitive load, systems should be as homogeneous as possible. Deploying and managing a collection of production services together means they can share the same release structure, capacity planning, subservices for accessing storage, and so on. Following this advice, Ares redesigned the whole abuse-fighting stack, applying modularity concepts to shift toward a microservice model. They also built a new layer that provided abstractions for developers so that they didn’t have to worry about lower-level production details like monitoring, logging, and storage.\n\nAt this point, the Ares team started to act more like an SRE team for CAT by administering the new abuse-fighting infrastructure. Meanwhile, Abuse SRE focused on the production deployment and efficient day-to-day operation of the overall abuse-fighting infrastructure.\n\nCollaboration between the Ares engineers and Abuse SRE resulted in the following improvements:\n\n- Because the CAT team now had “in-house” production experts that were also experts in abuse fighting, Abuse SRE no longer had to vet new feature integration. This greatly reduced time to production for new features. At the same time, the CAT team’s developer velocity increased because the new infrastructure abstracted away production management details.\n- The Abuse SRE team now had many fewer requests from the CAT team to launch new features, as most of the requests did not require infrastructure changes. The team also needed less knowledge to evaluate the impact of a new feature, since infrastructure changes were rarely required. When infrastructure changes were necessary, Abuse SRE only needed to clarify the implications on the infrastructure rather than specific feature functionality.\n- Products that needed to integrate with abuse-fighting infrastructure had a faster and more predictable turnaround time since a product integration was now equivalent in effort to a feature launch.\n\nAt the end of this project, Abuse SREs disengaged from directly supporting CAT, focusing instead on the underlying infrastructure. This did not compromise CAT’s reliability or overburden the CAT team with additional operational work; instead, it increased CAT’s overall development velocity.\n\nCurrently, Ares protects users across a large number of Google properties. Since the team’s inception, SREs and product development have partnered to make collaborative decisions on how infrastructure will work in production. This partnership was only possible because the Ares effort created a sense of shared destiny.\n\n##### Case Study 2: Data Analysis Pipeline\n\nSometimes the cost of maintaining an SRE support relationship is higher than the value (perceived or measured) that SREs provide. In these cases, it makes sense to end the relationship by disbanding the SRE team.1\n\nWhen the value of a relationship declines over time, it is extremely difficult to identify a point in time when it makes sense to terminate that relationship. Two teams at Google that supported a revenue-critical data analysis pipeline had to face this challenge. Figuring out that a parting of the ways was appropriate was not a trivial task, especially after a decade of cooperation. In retrospect, we were able to identify several patterns within the team interaction that were strong indicators that we needed to reconsider the relationship between the SRE team and the product team.\n\n###### The pivot\n\nThree years before the turndown, all involved parties recognized that their primary data analysis pipeline was running into scaling limitations. At that time, the developer team decided to start planning their new system and dedicated a small number of engineers to the new effort. As that effort began to coalesce, it made sense to deprioritize development of large, complex, or risky features for the existing system in favor of work on the new system. This had two important effects over time:\n\n- An informal rule was applied to new projects: if the project’s complexity or the risk involved in modifying the existing system to accommodate the project was sufficiently high, then it was better to make that investment in the new system.\n- As resources shifted to developing the new system, even relatively conservative changes to the existing system became more difficult. Nevertheless, usage continued to grow at an extremely high rate.\n\n###### Communication breakdown\n\nKeeping an existing system operational while a replacement system is simultaneously designed, built, and launched is challenging for any engineering team. Stresses naturally build between the people focused on new versus old systems, and teams need to make difficult prioritization decisions. These difficulties can be compounded when the teams are separated organizationally—for example, an SRE team focused on maintaining and operating an existing system and a developer team working on the next-generation system.\n\nRegular, open, and cooperative communication is vital throughout this entire cycle in order to maintain and preserve a good working relationship across teams. In this example, a gap in communication led to a breakdown in the working relationship between teams.\n\n###### Decommission\n\nIt took some time to realize that the disconnectedness between the SRE and developer teams was insurmountable. Ultimately, the simplest solution was to remove the organizational barrier and give the developer team full control over prioritizing work on old and new systems. The systems were expected to overlap for 18–24 months before the old system was fully phased out.\n\nCombining SRE and product development functions into a single team allowed upper management to be maximally responsive to their areas of accountability. Meanwhile, the team could decide how to balance operational needs and velocity. Although decommissioning two SRE teams was not a pleasant experience, doing so resolved the continual tension over where to invest engineering effort.\n\nDespite the inevitable extra operational load on the developer team, realigning ownership of the old system with people who had greater knowledge of service internals provided the opportunity to more quickly address operational problems. This team also had more insight into potential causes of outages, which generally resulted in more effective troubleshooting and quicker issue resolution. However, there were some unavoidable negative impacts while the developer team learned about the nuances of the operational work needed to support the service in a short amount of time. The SRE team’s final job was to make the transfer of this knowledge as smooth as possible, equipping the developer team to take on the work.\n\nIt is worth noting that if the working relationship were healthier—with teams working together effectively to solve problems—SRE would have handed production work back to the developer team for a short period of time. After the system was restabilized and hardened for expected growth needs, SRE would normally reassume responsibility of the system. SRE and development teams need to be willing to address issues head on and identify points of tension that need resetting. Part of SRE’s job is to help maintain production excellence in the face of changing business needs, and often this means engaging with developers to find solutions to challenging problems.\n\n# Conclusion\n\nThe form of an SRE team’s engagement changes over the various phases of a service’s lifecycle. This chapter provided advice specific to each phase. Examples from both the Google and the New York Times SRE teams show that effectively managing the engagement is just as important as making good technical design decisions. Sometimes an SRE engagement should reach a natural conclusion. Case studies from Ares and a data analysis pipeline team provided examples of how this can happen, and how best to end the engagement.\n\nWhen it comes to best practices for setting up an effective relationship between SRE and product development teams, a shared sense of purpose and goals with regular and open communication is key. You can scale an SRE team’s impact in a number of ways, but these principles for relationship management should always hold true. For sustaining the long-term success of an engagement, investing in aligning team goals and understanding each other’s objectives is as important as defending SLOs.\n\n1Google HR supports employees by finding new opportunities when such transitions occur.", "znaku_textu": 36113, "slov": 5593, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:55", "sha256": "8fa705b3bc4b67087a1e2f2fa1a143b6ba794085ea5996b2f0f28a65ecaeeb70", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.atlassian.com/agile/project-management/epics-stories-themes", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/engagement-model/", "titulek": "Google SRE- Continuous Improvement for Reliable Service", "h1": "The Service Lifecycle", "popis": "Use continuous improvement strategies for service reliability throughout the service lifecycle, from architecture to deprecation and abandonment.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/engagement-model/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/engagement-model/"}, "headline": "SRE Engagement Model", "description": "This chapter adopts the perspective of an SRE team that’s intending to provide support for a new service. We look at how to engage most effectively with the service, and with the developer and product teams who own it.", "image": "https://lh3.googleusercontent.com/o3zJmQc95_I6XC7ZUu-d75hqG857oOAZ7iRDnTfPY-SpaV36Lx_vewXbPTfC7sT-VsmKGvi6FSYsTm4eAhP6RdttioSVSASMZorJog", "author": [{"@type": "Person", "name": "Michael Wildpaner"}, {"@type": "Person", "name": "Gráinne Sheerin"}, {"@type": "Person", "name": "Daniel Rogers"}, {"@type": "Person", "name": "Surya Prashanth Sanagavarapu (New York Times)"}, {"@type": "Person", "name": "Adrian Hilton"}, {"@type": "Person", "name": "Shylaja Nukala"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "SRE Engagement Model"}, {"uroven": 1, "text": "The Service Lifecycle"}, {"uroven": 5, "text": "Phase 1: Architecture and Design"}, {"uroven": 5, "text": "Phase 2: Active Development"}, {"uroven": 5, "text": "Phase 3: Limited Availability"}, {"uroven": 5, "text": "Phase 4: General Availability"}, {"uroven": 5, "text": "Phase 5: Deprecation"}, {"uroven": 5, "text": "Phase 6: Abandoned"}, {"uroven": 5, "text": "Phase 7: Unsupported"}, {"uroven": 1, "text": "Setting Up the Relationship"}, {"uroven": 5, "text": "Communicating Business and Production Priorities"}, {"uroven": 5, "text": "Identifying Risks"}, {"uroven": 5, "text": "Aligning Goals"}, {"uroven": 5, "text": "Setting Ground Rules"}, {"uroven": 5, "text": "Planning and Executing"}, {"uroven": 1, "text": "Sustaining an Effective Ongoing Relationship"}, {"uroven": 5, "text": "Investing Time in Working Better Together"}, {"uroven": 5, "text": "Maintaining an Open Line of Communication"}, {"uroven": 5, "text": "Performing Regular Service Reviews"}, {"uroven": 5, "text": "Reassessing When Ground Rules Start to Slip"}, {"uroven": 5, "text": "Adjusting Priorities According to Your SLOs and Error Budget"}, {"uroven": 5, "text": "Handling Mistakes Appropriately"}, {"uroven": 6, "text": "Sleep on it"}, {"uroven": 6, "text": "Meet in person (or as close to it as possible) to resolve issues"}, {"uroven": 6, "text": "Be positive"}, {"uroven": 6, "text": "Understand differences in communication"}, {"uroven": 1, "text": "Scaling SRE to Larger Environments"}, {"uroven": 5, "text": "Supporting Multiple Services with a Single SRE Team"}, {"uroven": 5, "text": "Structuring a Multiple SRE Team Environment"}, {"uroven": 5, "text": "Adapting SRE Team Structures to Changing Circumstances"}, {"uroven": 5, "text": "Running Cohesive Distributed SRE Teams"}, {"uroven": 1, "text": "Ending the Relationship"}, {"uroven": 5, "text": "Case Study 1: Ares"}, {"uroven": 5, "text": "Case Study 2: Data Analysis Pipeline"}, {"uroven": 6, "text": "The pivot"}, {"uroven": 6, "text": "Communication breakdown"}, {"uroven": 6, "text": "Decommission"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## SRE Engagement Model\n\nBy Michael Wildpaner, Gráinne Sheerin, Daniel Rogers,\nand Surya Prashanth Sanagavarapu (New York Times)\nwith Adrian Hilton and Shylaja Nukala\n\n[Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) in our first SRE book describes technical and procedural approaches that an SRE team can take to analyze and improve the reliability of a service. These strategies include Production Readiness Reviews (PRRs), early engagement, and continuous improvement.\n\nSimply put, [SRE principles](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/) aim to maximize the engineering velocity of developer teams while keeping products reliable. This two-fold goal is good for the product users and good for the company. But there’s a limit to how much even the best SRE team can accomplish, and the SRE model is less effective when the domain is too large and overly complex. The current microservices movement makes this dynamic even more acute—a small company can easily have more microservices than a single SRE team can handle. Given a large production landscape, and with the knowledge that they can’t cover every service, an SRE team must decide where to focus their attention to achieve the best results. Product development and SRE teams can collaborate to identify the correct point of focus.\n\nThis chapter adopts the perspective of an SRE team that’s intending to provide support for a new service. We look at how to engage most effectively with the service, and with the developer and product teams who own it. Although [SRE engagement](https://sre.google/sre-book/communication-and-collaboration/) often builds around one or more services, the engagement entails much more than the services themselves—it focuses on understanding the aims of developer and product teams and finding the right way to support them.\n\nMost of this discussion is applicable regardless of your organization’s scale. While we use the word team frequently, a team could theoretically start off as a single person (although that person would be quite busy). Regardless of your team’s size, it’s important to proactively define the role of SRE and manage communication and collaboration with product development.\n\n# The Service Lifecycle\n\nAs described in the [preface](https://sre.google/sre-book/preface/) to the first SRE book, an SRE team’s contributions to service reliability happen throughout all phases of the service lifecycle. Their application of production knowledge and experience can substantially improve the reliability of a service well before any SRE picks up the pager for the service.\n\nFigure 18-1 shows the ideal levels of SRE engagement over the course of a service’s life. However, an SRE team might begin their engagement with a service at any stage in the lifecycle. For example, if the development team begins planning a replacement service for an SRE-supported service, SRE might be involved in the new service very early on. Alternatively, an SRE team might formally engage with a service once it has been generally available for months or years and is now facing reliability or scaling challenges. This section provides guidance on how SRE teams can effectively contribute at each phase.\n\nFigure 18-1. Level of SRE engagement during the service lifecycle\n\n##### Phase 1: Architecture and Design\n\nSRE can influence the architecture and design of a software system in different ways:\n\n- Creating best practices, such as resilience to various single points of failure, that a developer team can employ when building a new product\n- Documenting the dos and don’ts of particular infrastructure systems (based upon prior experience) so developers can choose their building blocks wisely, use them correctly, and avoid known pitfalls\n- Providing early engagement consulting to discuss specific architectures and design choices in detail, and to help validate assumptions with the help of targeted prototypes\n- Joining the developer team and participating in development work\n- Codesigning part of the service\n\nFixing architectural mistakes becomes more difficult later in the development cycle. Early SRE engagement can help avoid costly redesigns that become necessary when systems interact with real-world users and need to scale in response to service growth.\n\n##### Phase 2: Active Development\n\nAs the product takes shape during active development, SREs can start [productionizing the service](https://sre.google/sre-book/evolving-sre-engagement-model/)—getting it in shape to be released into production. Productionalization typically includes capacity planning, setting up extra resources for redundancy, planning for spike and overload handling, implementing load balancing, and putting in place sustainable operational practices like monitoring, alerting, and performance tuning.\n\n##### Phase 3: Limited Availability\n\nAs a service progresses toward Beta, the number of users, variety of use cases, intensity of usage, and availability and performance demands increase. At this stage, SRE can help measure and evaluate reliability. We strongly recommend defining SLOs before general availability (GA) so that the service teams have an objective measure of how reliable the service is. The product team still has the option to withdraw a product that can’t meet its target reliability.\n\nDuring this phase, the SRE team can also help scale the system by building a capacity model, acquiring resources for upcoming launch phases, and automating turnups and in-place service resizing. SRE can ensure proper monitoring coverage and help create alerts that ideally match the upcoming service SLOs.\n\nWhile service usage is still changing, the SRE team can expect an increased amount of work during incident response and operational duties because the teams are still learning how the service works and how to manage its failure modes. We recommend sharing this work between the developer and SRE teams. That way, the developer team gains operational experience with the service and the SREs gain experience with the service in general. Operational work and incident management will inform the system changes and updates the service owners need to make before GA.\n\n##### Phase 4: General Availability\n\nIn this phase, the service has passed the Production Readiness Review (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) in Site Reliability Engineering for more details) and is accepting all users. While SRE typically performs the majority of operational work, the developer team should continue to field a small part of all operational and incident response work so they don’t lose perspective on these aspects of the service. They might permanently include one developer in the on-call rotation to help the developers keep track of operational load.\n\nIn the early phase of GA, as the developer team focuses on maturing the service and launching the first batches of new features, it also needs to stay in the loop to understand system properties under real load. In the later stages of GA, the developer team provides small incremental features and fixes, some of which are informed by operational needs and any production incidents that occur.\n\n##### Phase 5: Deprecation\n\nNo system runs forever. If and when a better replacement system is available, the existing system is closed for new users and all engineering focuses on transitioning users from the existing system to the new one. SRE operates the existing system mostly without involvement from the developer team, and supports the transition with development and operational work.\n\nWhile SRE effort required for the existing system is reduced, SRE is effectively supporting two full systems. Headcount and staffing should be adjusted accordingly.\n\n##### Phase 6: Abandoned\n\nOnce a service is abandoned, the developer team typically resumes operational support. SRE supports service incidents on a best-effort basis. For a service with internal users, SRE hands over [service management](https://sre.google/sre-book/introduction/) to any remaining users. This chapter provides two case studies of how SRE can hand back a service to developer teams.\n\n##### Phase 7: Unsupported\n\nThere are no more users, and the service has been shut down. SRE helps to delete references to the service in production configurations and in documentation.\n\n# Setting Up the Relationship\n\nA service does not exist in a vacuum: the SRE team engages with the developer team that builds the service and the product team that determines how it should evolve. This section recommends some strategies and tactics for building and maintaining good working relationships with those teams.\n\n##### Communicating Business and Production Priorities\n\nBefore you can help someone, you need to understand their needs. To that end, SREs need to understand what the product developers expect the SRE engagement to achieve. When engaging with a developer team, SREs should build a deep understanding of the product and business goals. SREs should be able to articulate their role and how SRE engagement can enable developers to execute toward these goals.\n\nTeams need to regularly talk with each other about business and production priorities. The SRE and developer leadership teams should ideally work as a unit, meeting regularly and exchanging views about technical and prioritization challenges. Sometimes SRE leads join the product development leadership team.\n\n##### Identifying Risks\n\nBecause an SRE team is focused on system reliability, they are well positioned to identify potential risks. Gauging the likelihood and potential impact of those risks as accurately as possible is important, as the cost of disrupting regular development and feature flow is significant to the product and to engineers.\n\n##### Aligning Goals\n\nThe developer and SRE teams both care about reliability, availability, performance, scalability, efficiency, and feature and launch velocity. However, SRE operates under different incentives, mainly favoring service long-term viability over new feature launches.\n\nIn our experience, developer and SRE teams can strike the right balance here by maintaining their individual foci but also explicitly supporting the goals of the other group. SREs can have an explicit goal to support the developer team’s release velocity and ensure the success of all approved launches. For example, SRE might state, “We will support you in releasing as quickly as is safe,” where “safe” generally implies staying within error budget. Developers should then commit to dedicating a reasonable percentage of engineering time to fixing and preventing the things that are breaking reliability: resolving ongoing service issues at the design and implementation level, paying down technical debt, and including SREs in new feature development early so that they can participate in design conversations.\n\n##### Setting Ground Rules\n\nAt Google, every SRE team has two major goals:\n\nShort term\n\n- Fulfill the product’s business needs by providing an operationally stable system that is available and scales with demand, with an eye on maintainability.\n\nLong term\n\n- Optimize service operations to a level where ongoing human work is no longer needed, so the SRE team can move on to work on the next high-value engagement.\n\nTo this end, the teams should agree upon some principles of cooperation, such as:\n\n- Definitions of (and a hard limit on) operational work.\n- An agreed-upon and measured SLO for the service that is used to prioritize engineering work for both the developer and SRE teams. You can start without an SLO in place, but our experience shows that not establishing this context from the beginning of the relationship means you’ll have to backtrack to this step later. For an example of how engineering work proceeds less than ideally in the absence of an SLO, see [Case Study 1: Scaling Waze—From Ad Hoc to Planned Change](/workbook/organizational-change#case-study-1-scaling-waze—from-ad-hoc-to-planned-change) .\n- An agreed-upon quarterly error budget that determines release velocity and other safety parameters, such as excess service capacity to handle unexpected usage growth.\n- Developer involvement in daily operations to ensure that ongoing issues are visible, and that fixing their root causes is prioritized.\n\n##### Planning and Executing\n\nProactive planning and coordinated execution ensure that SRE teams meet expectations and product goals while optimizing operations and reducing operational cost. We suggest planning at two (connected) levels:\n\n- With developer leadership, set priorities for products and services and publish yearly roadmaps.\n- Review and update roadmaps on a regular basis, and derive goals (quarterly or otherwise) that line up with the roadmap.\n\nRoadmaps ensure that each team has a long-term time horizon of clear, high-impact work. There can be good reasons to forego roadmaps (for example, if the development organization is changing too quickly). However, in a stable environment, the absence of a roadmap may be a signal that the SRE team can merge with another team, move service management work back to the development teams, expand scope, or dissolve.\n\nHolding ongoing strategy conversations with developer leadership helps to quickly identify shifts in focus, discuss new opportunities for SRE to add value to the business, or stop activities that are not cost-effective for the product.\n\nRoadmaps can focus on more than just improving the product. They can also address how to apply and improve common SRE technologies and processes to drive down operational cost.\n\n# Sustaining an Effective Ongoing Relationship\n\nHealthy and effective relationships require ongoing effort. The strategies outlined in this section have worked well for us.\n\n##### Investing Time in Working Better Together\n\nThe simple act of spending time with each other helps SREs and developers collaborate more effectively. We recommend that SREs meet regularly with their counterparts for the services they run. It’s also a good idea for SREs to meet periodically with other SRE teams who run services that either send traffic to the service or provide common infrastructure that the service uses. The SRE team can then escalate confidently and quickly during outages or disagreements because the teams know each other and have already set expectations of how escalations should be initiated and managed.\n\n##### Maintaining an Open Line of Communication\n\nIn addition to the day-to-day communication between teams, we’ve found a couple methods of more formal information exchange to be particularly helpful over the course of the engagement.\n\nSREs can give a quarterly “state of production” talk to product development leadership to help them understand where they should invest resources and how exactly SRE is helping their product or service. In a similar vein, developers can give a periodic “state of the product” talk to the SRE team or involve SRE in the developer team’s executive presentations. This gives the SRE team an overview of what the developer team has accomplished over the last quarter (and lets the SREs see how their own work enabled that). It also provides an update on where the product is going over the next few quarters, and where the product lead sees SRE engaging to make that happen.\n\n##### Performing Regular Service Reviews\n\nAs the decision makers for the service’s future, the SRE and developer team leads responsible for the service should meet face-to-face at least once a year. Meeting more frequently than this can be challenging—for example, because it may involve intercontinental travel. During this meeting, we typically share our roadmaps for the next 12–18 months and discuss new projects and launches.\n\nSRE teams sometimes facilitate a retrospective exercise, where the leads discuss what the teams want to stop doing, keep doing, and start doing. Items can appear in more than one area, and all opinions are valid. These sessions need active facilitation because the best results come from full-team participation. This is often rated the most useful session in the service meeting because it yields details that can drive significant service changes.\n\n##### Reassessing When Ground Rules Start to Slip\n\nIf cooperation in any of the agreed-upon areas (see Setting Ground Rules) begins to regress, both developers and SRE need to change priorities to get the service back in shape. We have found that, depending on the urgency, this can mean any of the following:\n\n- The teams identify specific engineers who must drop their lower-priority tasks to focus on the regression.\n- Both teams call a “reliability hackathon,” but usual team priorities continue outside of the hackathon days.\n- A feature freeze is declared and the majority of both teams focus on resolving the regression.\n- Technical leadership determines that the reliability of the product is at acute risk, and the teams call an “all hands on deck” response.\n\n##### Adjusting Priorities According to Your SLOs and Error Budget\n\nThe subtle art of crafting a well-defined SLO helps a team prioritize appropriately. If a service is in danger of missing the SLO or has exhausted the error budget, both teams can work with high priority to get the service back into safety. They can address the situation through both tactical measures (for example, overprovisioning to address traffic-related performance regressions) and more strategic software fixes (such as optimizations, caching, and graceful degradation).\n\nIf a service is well within SLO and has ample error budget left, we recommend using the spare error budget to increase feature velocity rather than spending overproportional efforts on service improvements.\n\n##### Handling Mistakes Appropriately\n\nHumans inevitably make mistakes. Consistent with our [postmortem culture](https://sre.google/sre-book/postmortem-culture/), we don’t blame people, and instead focus on system behavior. Your mileage may vary, but we have had success with the following tactics.\n\n###### Sleep on it\n\nIf possible, don’t conduct follow-up conversations when you’re tired or emotions are high. During high-stress situations, people can easily misinterpret tone in written communication like emails. Readers will remember how the words made them feel, not necessarily what was written. When you’re communicating across locations, it’s often worth the time to set up a video chat so that you can see facial expressions and hear the tone of voice that helps disambiguate words.\n\n###### Meet in person (or as close to it as possible) to resolve issues\n\nInteractions conducted solely via code reviews or documentation can quickly become drawn out and frustrating. When a behavior or decision from another team is at odds with our expectations, we talk with them about our assumptions and ask about missing context.\n\n###### Be positive\n\nThank people for their positive behaviors. Doing so can be simple—for example, during code reviews, design reviews, and failure scenario training, we ask engineers to call out what was good and explain why. You might also recognize good code comments or thank people for their time when they invest in a rigorous design review.\n\n###### Understand differences in communication\n\nDifferent teams have different internal expectations for how information is disseminated. Understanding these differences can help strengthen relationships.\n\n# Scaling SRE to Larger Environments\n\nThe scenarios we’ve discussed so far involve a single SRE team, a single developer team, and one service. Larger companies, or even small companies that use a microservices model, may need to scale some or all of these numbers.\n\n##### Supporting Multiple Services with a Single SRE Team\n\nBecause SREs have specialized skills and are a scarce resource, Google generally maintains an SRE-to-developer ratio of < 10%. Therefore, one SRE team commonly works with multiple developer teams in their product area (PA).\n\nIf SREs are scarce relative to the number of services that merit SRE support, an SRE team can focus their efforts on one service, or on a few services from a small number of developer teams.\n\nIn our experience, you can scale limited SRE resources to many services if those services have the following characteristics:\n\n- Services are part of a single product. This provides end-to-end ownership of the user experience and alignment with the user.\n- Services are built on similar tech stacks. This minimizes cognitive load and enables effective reuse of technical skills.\n- Services are built by the same developer team or a small number of related developer teams. This minimizes the number of relationships and makes it easier to align priorities.\n\n##### Structuring a Multiple SRE Team Environment\n\nIf your company is big enough to have multiple SRE teams, and perhaps multiple products, you need to choose a structure for how SRE and the product groups relate.\n\nWithin Google, we support a complex developer organization. As shown in Figure 18-2, each PA consists of multiple product groups that each contain multiple products. The SRE organization shadows the developer organization hierarchically, with shared priorities and best practices at each level. This model works when all teams in a group, or all groups in a PA, share the same or similar specific business goals, and when every product group has both a product leader and an SRE lead.\n\nFigure 18-2. Large-scale developer-to-SRE team relationships (per product area)\n\nIf your organization has multiple SRE teams, you’ll need to group them in some way. The two main approaches we’ve seen work well are:\n\n- Group the teams within a product, so they don’t have to coordinate with too many different developer teams.\n- Group the teams within a technology stack (e.g., “storage” or “networking”).\n\nTo prevent churn in SRE teams during developer reorgs, we recommend organizing SRE teams according to technology rather than developer PA reporting structure. For example, many teams that support storage systems are structured and operate in the same way. Grouping storage systems in technology-focused product groups may make more sense even if they come from different parts of the developer organization.\n\n##### Adapting SRE Team Structures to Changing Circumstances\n\nIf you need to modify the structure of your SRE teams to reflect changing PA needs, we recommend creating, splitting (sharding), merging, and dissolving SRE teams based on service needs and engineering and operational load. Each SRE team should have a clear charter that reflects their services, technology, and operations. When a single SRE team has too many services, rather than building new teams from scratch, we prefer to shard the existing team into multiple teams to transfer culture and grow existing leadership. Changes like this are inevitably disruptive to existing teams, so we’d recommend that you restructure teams only when necessary.\n\n##### Running Cohesive Distributed SRE Teams\n\nIf you need to ensure 24/7 coverage and business continuity, and you have a global presence, it’s worth trying to distribute your SRE teams around the globe to provide even coverage. If you have a number of globally distributed teams, we recommend colocating teams based upon adjacency and upon similarity of services and shared technology. We’ve found that singleton teams are generally less effective and more vulnerable to the effects of reorgs outside the team—we create such teams only if clearly defined business needs call for them and we’ve considered all other options.\n\nMany companies don’t have the resources for full global coverage, but even if you’re split only across buildings (never mind continents), it’s important to create and maintain a two-location arrangement.\n\nIt’s also important to create and maintain organizational standards that drive planning and execution and foster and maintain a shared team culture. To this end, we find it useful to gather the entire team in one physical location periodically—for example, at an org-wide summit every 12–18 months.\n\nSometimes it doesn’t make sense for everyone on the team to own certain responsibilities—for example, conducting regular test restores from backups or implementing cross-company technical mandates. When balancing these responsibilities between a team’s distributed sites, keep the following strategies in mind:\n\n- Assign individual responsibilities to single locations, but rotate them regularly (e.g., yearly).\n- Share every responsibility between locations, making an active effort to balance the involvement and workload.\n- Don’t lock a responsibility to a single location for multiple years. We’ve found that the costs of this configuration ultimately outweigh the benefits. Although that location will tend to become really good at executing those responsibilities, this fosters an “us versus them” mentality, hinders distribution of knowledge, and presents a risk for business continuity.\n\nAll of these strategies require locations to maintain tactical and strategic communication.\n\n# Ending the Relationship\n\nSRE engagements aren’t necessarily indefinite. SREs provide value by doing impactful engineering work. If the work is no longer impactful (i.e., the value proposition of an SRE engagement goes away), or if the majority of the work is no longer on the engineering (versus operations) side, you may need to revisit the ongoing SRE engagement. In general, individual SREs will move away from toil-heavy teams to teams with more interesting engineering work.\n\nOn a team level, you might hand back a service if SRE no longer provides sufficient business value to merit the costs. For example:\n\n1. If a service has been optimized to a level where ongoing SRE engagement is no longer necessary\n2. If a service’s importance or relevance has diminished\n3. If a service is reaching end of life\n\nThe following case studies demonstrate how two Google SRE engagement models ended. The first ends with largely positive results, while the other ends with a more nuanced outcome.\n\n##### Case Study 1: Ares\n\nGoogle’s Abuse SRE and Common Abuse Tool (CAT) teams provided anti-abuse protection for most Google properties and worked with customer-facing products to keep users safe. The Abuse SRE team applied engineering work to lower CAT’s operational support burden so that the developers were able to take a direct role in supporting their users. These users were the Googlers operating the properties defended by CAT, who had high expectations about the efficacy of CAT and its response time to problems or new threats.\n\nEfficient abuse fighting requires constant attention, rapid adaptive changes, and nimble flexibility in the face of new threats and attacks. These requirements clashed with the common SRE goals of reliable and planned feature development. CAT teams routinely needed to implement fast development and deploy new protections to properties under attack. However, Abuse SRE pushed back on requested changes, requesting more in-depth analysis of the consequences each new protection would have on the overall production system. Time constraints on consultations between teams and reviews compounded this tension.\n\nTo hopefully improve the situation, Abuse SRE and CAT leadership engaged in a multiyear project to create a dedicated infrastructure team within CAT. The newly formed “Ares” team had a mandate to unify abuse-fighting infrastructure for Google properties. This team was staffed by CAT engineers who had production infrastructure knowledge and experience building and running large services. The teams started an exchange program to transfer production management knowledge from Abuse SRE to the CAT infrastructure team members.\n\nAbuse SREs taught the Ares team that the easiest way to launch a new service in production (when you’re already running large distributed services) is to minimize the additional cognitive load that the service imposes. To reduce this cognitive load, systems should be as homogeneous as possible. Deploying and managing a collection of production services together means they can share the same release structure, capacity planning, subservices for accessing storage, and so on. Following this advice, Ares redesigned the whole abuse-fighting stack, applying modularity concepts to shift toward a microservice model. They also built a new layer that provided abstractions for developers so that they didn’t have to worry about lower-level production details like monitoring, logging, and storage.\n\nAt this point, the Ares team started to act more like an SRE team for CAT by administering the new abuse-fighting infrastructure. Meanwhile, Abuse SRE focused on the production deployment and efficient day-to-day operation of the overall abuse-fighting infrastructure.\n\nCollaboration between the Ares engineers and Abuse SRE resulted in the following improvements:\n\n- Because the CAT team now had “in-house” production experts that were also experts in abuse fighting, Abuse SRE no longer had to vet new feature integration. This greatly reduced time to production for new features. At the same time, the CAT team’s developer velocity increased because the new infrastructure abstracted away production management details.\n- The Abuse SRE team now had many fewer requests from the CAT team to launch new features, as most of the requests did not require infrastructure changes. The team also needed less knowledge to evaluate the impact of a new feature, since infrastructure changes were rarely required. When infrastructure changes were necessary, Abuse SRE only needed to clarify the implications on the infrastructure rather than specific feature functionality.\n- Products that needed to integrate with abuse-fighting infrastructure had a faster and more predictable turnaround time since a product integration was now equivalent in effort to a feature launch.\n\nAt the end of this project, Abuse SREs disengaged from directly supporting CAT, focusing instead on the underlying infrastructure. This did not compromise CAT’s reliability or overburden the CAT team with additional operational work; instead, it increased CAT’s overall development velocity.\n\nCurrently, Ares protects users across a large number of Google properties. Since the team’s inception, SREs and product development have partnered to make collaborative decisions on how infrastructure will work in production. This partnership was only possible because the Ares effort created a sense of shared destiny.\n\n##### Case Study 2: Data Analysis Pipeline\n\nSometimes the cost of maintaining an SRE support relationship is higher than the value (perceived or measured) that SREs provide. In these cases, it makes sense to end the relationship by disbanding the SRE team.1\n\nWhen the value of a relationship declines over time, it is extremely difficult to identify a point in time when it makes sense to terminate that relationship. Two teams at Google that supported a revenue-critical data analysis pipeline had to face this challenge. Figuring out that a parting of the ways was appropriate was not a trivial task, especially after a decade of cooperation. In retrospect, we were able to identify several patterns within the team interaction that were strong indicators that we needed to reconsider the relationship between the SRE team and the product team.\n\n###### The pivot\n\nThree years before the turndown, all involved parties recognized that their primary data analysis pipeline was running into scaling limitations. At that time, the developer team decided to start planning their new system and dedicated a small number of engineers to the new effort. As that effort began to coalesce, it made sense to deprioritize development of large, complex, or risky features for the existing system in favor of work on the new system. This had two important effects over time:\n\n- An informal rule was applied to new projects: if the project’s complexity or the risk involved in modifying the existing system to accommodate the project was sufficiently high, then it was better to make that investment in the new system.\n- As resources shifted to developing the new system, even relatively conservative changes to the existing system became more difficult. Nevertheless, usage continued to grow at an extremely high rate.\n\n###### Communication breakdown\n\nKeeping an existing system operational while a replacement system is simultaneously designed, built, and launched is challenging for any engineering team. Stresses naturally build between the people focused on new versus old systems, and teams need to make difficult prioritization decisions. These difficulties can be compounded when the teams are separated organizationally—for example, an SRE team focused on maintaining and operating an existing system and a developer team working on the next-generation system.\n\nRegular, open, and cooperative communication is vital throughout this entire cycle in order to maintain and preserve a good working relationship across teams. In this example, a gap in communication led to a breakdown in the working relationship between teams.\n\n###### Decommission\n\nIt took some time to realize that the disconnectedness between the SRE and developer teams was insurmountable. Ultimately, the simplest solution was to remove the organizational barrier and give the developer team full control over prioritizing work on old and new systems. The systems were expected to overlap for 18–24 months before the old system was fully phased out.\n\nCombining SRE and product development functions into a single team allowed upper management to be maximally responsive to their areas of accountability. Meanwhile, the team could decide how to balance operational needs and velocity. Although decommissioning two SRE teams was not a pleasant experience, doing so resolved the continual tension over where to invest engineering effort.\n\nDespite the inevitable extra operational load on the developer team, realigning ownership of the old system with people who had greater knowledge of service internals provided the opportunity to more quickly address operational problems. This team also had more insight into potential causes of outages, which generally resulted in more effective troubleshooting and quicker issue resolution. However, there were some unavoidable negative impacts while the developer team learned about the nuances of the operational work needed to support the service in a short amount of time. The SRE team’s final job was to make the transfer of this knowledge as smooth as possible, equipping the developer team to take on the work.\n\nIt is worth noting that if the working relationship were healthier—with teams working together effectively to solve problems—SRE would have handed production work back to the developer team for a short period of time. After the system was restabilized and hardened for expected growth needs, SRE would normally reassume responsibility of the system. SRE and development teams need to be willing to address issues head on and identify points of tension that need resetting. Part of SRE’s job is to help maintain production excellence in the face of changing business needs, and often this means engaging with developers to find solutions to challenging problems.\n\n# Conclusion\n\nThe form of an SRE team’s engagement changes over the various phases of a service’s lifecycle. This chapter provided advice specific to each phase. Examples from both the Google and the New York Times SRE teams show that effectively managing the engagement is just as important as making good technical design decisions. Sometimes an SRE engagement should reach a natural conclusion. Case studies from Ares and a data analysis pipeline team provided examples of how this can happen, and how best to end the engagement.\n\nWhen it comes to best practices for setting up an effective relationship between SRE and product development teams, a shared sense of purpose and goals with regular and open communication is key. You can scale an SRE team’s impact in a number of ways, but these principles for relationship management should always hold true. For sustaining the long-term success of an engagement, investing in aligning team goals and understanding each other’s objectives is as important as defending SLOs.\n\n1Google HR supports employees by finding new opportunities when such transitions occur.", "znaku_textu": 36113, "slov": 5593, "odkazu": 51, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/workbook/engagement-model", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:45", "sha256": "8fa705b3bc4b67087a1e2f2fa1a143b6ba794085ea5996b2f0f28a65ecaeeb70", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.atlassian.com/agile/project-management/epics-stories-themes", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/error-budget-policy/", "titulek": "Google SRE - Error Budget Policy for Service Reliability", "h1": "Example Error Budget Policy", "popis": "Learn how error budget policy manages SLO misses, balances reliability with features, and addresses outages to ensure service stability and innovation .", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/error-budget-policy/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/error-budget-policy/"}, "headline": "Example Error Budget Policy", "description": "The Example Game Service allows Android and iPhone users to play a game with each other. New releases of the backend code are pushed daily. New releases of clients are pushed weekly. This policy applies both to backend and client releases.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Example Error Budget Policy"}, {"uroven": 5, "text": "Service Overview"}, {"uroven": 5, "text": "Goals"}, {"uroven": 5, "text": "Non-Goals"}, {"uroven": 5, "text": "SLO Miss Policy"}, {"uroven": 5, "text": "Outage Policy"}, {"uroven": 5, "text": "Escalation Policy"}, {"uroven": 5, "text": "Background"}], "markdown": "# Example Error Budget Policy\n\n| Status | Published |\n| --- | --- |\n| Author | Steven Thurgood |\n| Date | 2018-02-19 |\n| Reviewers | David Ferguson |\n| Approvers | Betsy Beyer |\n| Approval Date | 2018-02-20 |\n| Revisit Date | 2019-02-01 |\n\n##### Service Overview\n\nThe Example Game Service allows Android and iPhone users to play a game with each other. New releases of the backend code are pushed daily. New releases of clients are pushed weekly. This policy applies both to backend and client releases.\n\n##### Goals\n\nThe goals of this policy are to:\n\n- Protect customers from repeated SLO misses\n- Provide an incentive to balance reliability with other features\n\n##### Non-Goals\n\nThis policy is not intended to serve as a punishment for missing SLOs. Halting change is undesirable; this policy gives teams permission to focus exclusively on reliability when data indicates that reliability is more important than other product features.\n\n##### SLO Miss Policy\n\nIf the service is performing at or above its SLO, then releases (including data changes) will proceed according to the release policy.\n\nIf the service has exceeded its [error budget](https://sre.google/sre-book/embracing-risk/) for the preceding four-week window, we will halt all changes and releases other than P01 issues or security fixes until the service is back within its SLO.\n\nDepending upon the cause of the SLO miss, the team may devote additional resources to working on reliability instead of feature work.\n\nThe team must work on reliability if:\n\n- A code bug or procedural error caused the service itself to exceed the error budget.\n- A postmortem reveals an opportunity to soften a hard dependency.\n- Miscategorized errors fail to consume budget that would have caused the service to miss its SLO.\n\nThe team may continue to work on non-reliability features if:\n\n- The outage was caused by a company-wide networking problem.\n- The outage was caused by a service maintained by another team, who have themselves frozen releases to address their reliability issues.\n- The error budget was consumed by users out of scope for the SLO (e.g., load tests or penetration testers).\n- Miscategorized errors consume budget even though no users were impacted.\n\n##### Outage Policy\n\nIf a single incident consumes more than 20% of error budget over four weeks, then the team must conduct a postmortem. The postmortem must contain at least one P0 action item to address the root cause.\n\nIf a single class of outage consumes more than 20% of error budget over a quarter, the team must have a P0 item on their quarterly planning document2 to address the issues in the following quarter.\n\n##### Escalation Policy\n\nIn the event of a disagreement between parties regarding the calculation of the [error budget](https://sre.google/workbook/slo-engineering-case-studies/) or the specific actions it defines, the issue should be escalated to the CTO to make a decision.\n\n##### Background\n\nError budgets are the tool SRE uses to balance service reliability with the pace of innovation. Changes are a major source of instability, representing roughly 70% of our outages, and development work for features competes with development work for stability. The error budget forms a control mechanism for diverting attention to stability as needed.\n\nAn error budget is 1 minus the SLO of the service. A 99.9% SLO service has a 0.1% error budget.\n\nIf our service receives 1,000,000 requests in four weeks, a 99.9% availability SLO gives us a budget of 1,000 errors over that period.\n\n1P0 is the highest priority of bug: all hands on deck; drop everything else until this is fixed.\n\n2At Google, quarterly planning is public, and teams are held accountable to their plans.", "znaku_textu": 3598, "slov": 582, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:51", "sha256": "b5b8e940f06f888d9c12a76c1d514f32f96a68faffb75733939fdba4466e3197", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/foreword-I/", "titulek": "Google SRE - SRE Handbook: Insights, Case Studies and IT", "h1": "Foreword I", "popis": "SRE handbook for practical guidance, case studies, and modern IT insights. Learn about service objectives, metrics, and the human aspect of audtomation.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/foreword-I/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/foreword-I/"}, "headline": "Foreword I", "description": "Having introduced the first SRE book for O'Reilly, I am honored to be invited back for the sequel. In this book, the writing team is leaving the history of the first book to speak for itself and reaching out to a broader audience, offering direct experiences, case studies, and informal guidance.", "author": [{"@type": "Person", "name": "Mark Burgess"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Foreword I"}], "markdown": "# Foreword I\n\n*Mark Burgess*\n\nHaving introduced the first SRE book for O’Reilly, I am honored to be invited back for the sequel. In this book, the writing team is leaving the history of the first book to speak for itself and reaching out to a broader audience, offering direct experiences, case studies, and informal guidance. The broad themes will be familiar to anyone in IT, perhaps relabeled and reprioritized, and with a modern sense of business awareness. In place of technical descriptions, here we have user-facing services and their promises or objectives. We see human-computer systems originate from within the evolving business, intrinsic to its purpose, rather than as foreign meteorites impacting an unsuspecting and pristine infrastructure. Cooperation of all human-computer parts is the focus. Indeed, the book might be summarized as follows:\n\n- Commit to clear promises that set service objectives, expectations, and levels.\n- Assess those promises continuously, with metrics and budgetary limits.\n- React quickly to keep and repair promises, be on-call, and guard autonomy to avoid new gatekeepers.\n\nKeeping promises reliably (to all stakeholders) depends on the stability of all their dependencies, of intent, and of the lives of the people involved (e.g., see [Thinking in Promises](https://shop.oreilly.com/product/0636920036289.do)). Remarkably, the human aspects of human-computer systems only grow alongside the perceived menace of scale: it turns out that automation doesn’t eliminate humans, after all; rather, it challenges us to reassert human needs across all scales, from the genesis of an individual idea to the massive deployments on behalf of a global user base.\n\nTeaching these lessons is a service challenge in its own right—and, like any service, hard-won knowledge is an iterative process. We make these lessons our own by questioning, trying, failing, rehearsing, and perfecting them. There’s a wealth of material to ponder and adapt in the book, so let’s go.", "znaku_textu": 1987, "slov": 307, "odkazu": 38, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:23", "sha256": "e25c75cde4c1446e57f65ffc68d5f622f23868cb6c01cf662c3da675b4d53524", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://shop.oreilly.com/product/0636920036289.do", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/foreword-II/", "titulek": "Google SRE - learn everything about SRE DevOps engineering", "h1": "Foreword II", "popis": "SRE in DevOps: Bridging reliabaility & automation, discover how SRE in deveops enhances system reliability through automation, monitoring & continuous improvement.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/foreword-II/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/foreword-II/"}, "headline": "Foreword II", "description": "When I found out people were working on a second SRE book, I reached out and asked if I could write a few words. The principles from the first SRE book align so well with what I always imagined DevOps to be, and the practices are insightful, even when they aren't 100% applicable outside of Google.", "author": [{"@type": "Person", "name": "Andrew Clay Shafer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Foreword II"}], "markdown": "# Foreword II\n\n*Andrew Clay Shafer*\n\nWhen I found out people were working on a second SRE book, I reached out and asked if I could write a few words. The principles from the first SRE book align so well with what I always imagined DevOps to be, and the practices are insightful, even when they aren’t 100% applicable outside of Google. After reading the principles from the first SRE book for the first time—[embracing risk (Chapter 3)](https://sre.google/sre-book/embracing-risk/), [service level objectives (Chapter 4)](https://sre.google/sre-book/service-level-objectives/), and [eliminating toil (Chapter 5)](https://sre.google/sre-book/eliminating-toil/)—I wanted to shout that message from the rooftops. “Embracing risk” resonated so much because I had used similar language many times to help traditional organizations motivate change. [Chapter 6](https://sre.google/sre-book/monitoring-distributed-systems/) was always an implicit DevOps goal, both to allow humans more time for creative higher-order work and to allow them to be more human. But I really fell in love with “service level objectives.” I love that the language and the process create a dispassionate contract between operational considerations and delivering new functionality. The SRE, SWE (software engineer), and business all agree that the service has to be up to be valuable, and the SRE solution quantifies objectives to drive actions and priorities. The solution—make the service level a target, and when you are below the target prioritize reliability over features—eliminates a classic conflict between operations and developers. This is a simple and elegant reframing that solves problems by not having them. I give these three chapters as a homework assignment to almost everyone I’ve met since. They are that good. Everyone should know. Tell all your friends. I’ve told all mine.\n\nThe last decade of my career has been focused on helping people deliver software with better tools and process. Sometimes people say I contributed to inventing DevOps, but I was just in the position to borrow and steal successful patterns from across many different organizations and projects. I get embarrassed when people say “DevOps” was invented by anyone, but especially by me. I don’t consider myself an expert in anything but being inquisitive. My idealized DevOps always patterned off whatever information I could extract or infer from my friends, and my friends happened to be building the internet. I had the privilege of behind-the-scenes access to people deploying and operating a representative sample of the world’s most incredible infrastructures and applications. DevOps symbolizes aspects of the emergent and existential optimizations required to rapidly deliver highly available software over the internet. The shift from software delivered on physical media to software delivered as a service forced an evolution of tools and processes. This evolution elevated operations’ contribution to the value chain. If the systems are down, the software has no value. The good news is, you don’t have to wait for shipping the next shrink-wrapped box to change the software. For some, this is also the bad news. I simply had the opportunity and perspective to articulate the most successful patterns of the new way to a receptive audience.\n\nIn 2008, before we used the word DevOps like we do now, I’d been through the dot-com collapse, grad school, and a couple of venture-funded rollercoaster rides as a developer—searching Google for answers daily the whole time. I was working on Puppet full-time and I was fascinated by the potential for automation to transform IT organizations. Puppet thrust me into solving problems in the operations domain. At this time, Google used Puppet to manage their corporate Linux and OS X workstations at a scale that pushed the capabilities of the Puppet server. We had a great working relationship with Google, but Google kept certain details of their internal operations secret as a matter of policy. I know this because I’m naturally curious and was constantly seeking more information. I always knew Google must have great internal tools and processes, but what these tools and processes were wasn’t always apparent. Eventually, I accepted that asking deep questions about Borg probably meant the current conversation wasn’t going very far. I would have loved to know more about how Google did everything, but this simply wasn’t allowed at the time. The significance of 2008 also includes the first O’Reilly Velocity conference and the year I met Patrick Debois. “DevOps” wasn’t a thing yet, but it was about to be. The time was right. The world was ready. DevOps symbolized a new way, a better way. If Site Reliability Engineering had been published then, I believe the community that formed would have rallied to fly the “eliminate toil” flag and the term DevOps might have never existed. Counterfactuals notwithstanding, I know the first SRE book personally advanced my understanding of the possible, and I already helped many others just with the SRE principles.\n\nIn the early days of the DevOps movement, we consciously avoided codifying practices because everything was evolving so rapidly and we didn’t want to set limits on what DevOps could become. Plus, we explicitly didn’t want anyone to “own” DevOps. When I wrote about DevOps in 2010, I made three distinct points. First, developers and operations can and should work together. Second, system administration will become more and more like software development. Finally, sharing with a global community of practice accelerates and multiplies our collective capabilities. Around the same time, my friends Damon Edward and John Willis coined the acronym CAMS for Culture, Automation, Metrics, and Sharing. Jez Humble later expanded this acronym to CALMS by adding Lean continuous improvement. What each of these words might mean in context deserves to be a full book, but I mention them here because Site Reliability Engineering explicitly references Culture, Automation, Metrics, and Sharing alongside anecdotes about Google’s journey to continuously improve. By publishing the first SRE book, Google shared their principles and practices with the global community. Now I define DevOps simply as “optimizing human performance and experience operating software, with software, and with humans.” I don’t want to put words in anyone’s mouth, but that seems like a great way to describe SRE as well.\n\nUltimately, I know DevOps when I see it and I see SRE at Google, in theory and practice, as one of the most advanced implementations. Good IT operations has always depended on good engineering, and solving operations problems with software has always been central to DevOps. Site Reliability Engineering makes the engineering aspect even more explicit. I cringe when I hear someone say “SRE versus DevOps.” For me, they are inseparable in time and space, as labels describing the sociotechnical systems that deliver modern infrastructure with software. I consider DevOps a loose generic set of principles and SRE an advanced explicit implementation. A parallel analogy would be the relationship between Agile and Extreme Programming (XP). True, XP is Agile, arguably the best of Agile, but not all organizations are capable of or willing to adopt XP.\n\nSome say “software is eating the world,” and I understand why they do, but “software” alone is not the right framing. Without the ubiquity of computational hardware connected with high-speed networks, much of what we take for granted as “software” would not be possible. This is an undeniable truth. What I think many miss in this conversation about technology are the humans. Technology exists because of humans and hopefully for humans, but if you look a little deeper, you also realize that the software we rely on, and probably take for granted, is largely dependent on humans. We rely on software, but software also relies on us. This is a single interconnected system of imperfect hardware—software and humans relying on themselves to build the future. Reliability is eating the world. Reliability is not just about technology, though, but also about people. The people and the technology form a single technosocial system. One nice feature about having Google share SRE with the rest of the industry is that any excuses about what kind of processes work at scale became invalid. Google set the highest standard for both reliability and scale. There might be valid arguments about why someone can’t adopt Google SRE practices directly, but the guiding principles should still apply. As I look at the landscape of possibilities to build the future and the ambition to transform human experience with software, I see a lot of ambitious projects to quite literally connect everything to the internet. My math says that the successful projects will find themselves ingesting and indexing incredible amounts of data. Few, if any, will surpass the scale of Google today, but some will be the same size Google was when they started SRE and will need to solve the same reliability problems. I contend that in these cases, adopting tools and process that look suspiciously like SRE is not optional but existential—though there is no need to wait for that crisis because SRE principles and practices apply at any scale.\n\nSRE is usually framed as how Google does operations, but that misses the bigger picture: SRE in practice enables software engineering, but also transforms architecture, security, governance, and compliance. When we leverage the SRE focus on providing a platform of services, all these other considerations get to have first-class emphasis, but where and how that happens may be quite different. Just like SRE (and hopefully DevOps) shifted more and more of the burden to software engineering, modern architecture and security practices evolve from slides, checklists, and hope to enabling the right behaviors with running code. Organizations adopting SRE principles and practices without revisiting these other aspects lose a huge opportunity to improve, and will also probably meet with internal resistance if the people who consider themselves responsible for those aspects are not converted into allies.\n\nI always enjoy learning. I read every word of the first SRE book straight through. I loved the language. I loved the anecdotes. I loved understanding more about how Google sees itself. But the question for me is always, “What behavior will I change?” Learning isn’t collecting information. Learning is changing behavior. This is easy to determine or even quantify in certain disciplines. You have learned to play a new song when you can play the song. You are better at chess when you win games against stronger players. Site Reliability Engineering, like DevOps, should not just be changing titles, but making definitive behavior changes, focusing on outcomes and obviously reliability. The Site Reliability Workbook promises to move forward from an enumeration of principles and practices by Google for Google toward more contextual actions and behaviors. Site reliability is for everyone, but reliability doesn’t come from reading books. Here’s to embracing risk and eliminating toil.", "znaku_textu": 11333, "slov": 1777, "odkazu": 41, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:24", "sha256": "dc8100a0ceff36253a21fe9df2a0aef6b8044f4c0a651bb03a9f91cf7a8ed686", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/how-sre-relates/", "titulek": "Google SRE - SRE vs DevOps, Similarity and Difference", "h1": "How SRE Relates to DevOps", "popis": "Differences and similarities between SRE and DevOps. Practices to improve production operations, reduce toil, and foster collaboration.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/how-sre-relates/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/how-sre-relates/"}, "headline": "How SRE Relates to DevOps", "description": "Operations, as a discipline, is hard. Not only is there the generally unsolved question of how to run systems well, but the best practices that have been found to work are highly context-dependent and far from widely adopted. There is also the largely unaddressed question of how to run operations teams well.", "author": [{"@type": "Person", "name": "Niall Richard Murphy"}, {"@type": "Person", "name": "Liz Fong-Jones"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Todd Underwood"}, {"@type": "Person", "name": "Laura Nolan"}, {"@type": "Person", "name": "Dave Rensin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "How SRE Relates to DevOps"}, {"uroven": 2, "text": "Background on DevOps"}, {"uroven": 5, "text": "No More Silos"}, {"uroven": 5, "text": "Accidents Are Normal"}, {"uroven": 5, "text": "Change Should Be Gradual"}, {"uroven": 5, "text": "Tooling and Culture Are Interrelated"}, {"uroven": 5, "text": "Measurement Is Crucial"}, {"uroven": 1, "text": "Background on SRE"}, {"uroven": 5, "text": "Operations Is a Software Problem"}, {"uroven": 5, "text": "Manage by Service Level Objectives (SLOs)"}, {"uroven": 5, "text": "Work to Minimize Toil"}, {"uroven": 5, "text": "Automate This Year’s Job Away"}, {"uroven": 5, "text": "Move Fast by Reducing the Cost of Failure"}, {"uroven": 5, "text": "Use the Same Tooling, Regardless of Function or Job Title"}, {"uroven": 1, "text": "Compare and Contrast"}, {"uroven": 1, "text": "Organizational Context and Fostering Successful Adoption"}, {"uroven": 5, "text": "Narrow, Rigid Incentives Narrow Your Success"}, {"uroven": 5, "text": "It’s Better to Fix It Yourself; Don’t Blame Someone Else"}, {"uroven": 5, "text": "Consider Reliability Work as a Specialized Role"}, {"uroven": 5, "text": "When Can Substitute for Whether"}, {"uroven": 5, "text": "Strive for Parity of Esteem: Career and Financial"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# How SRE Relates to DevOps\n\nclass SRE implements interface DevOps\n\nBy Niall Richard Murphy,\nLiz Fong-Jones, and Betsy Beyer,\nwith Todd Underwood, Laura Nolan,\nand Dave Rensin\n\nOperations, as a discipline, is hard.1 Not only is there the generally unsolved question of how to run systems well, but the best practices that have been found to work are highly context-dependent and far from widely adopted. There is also the largely unaddressed question of how to run operations teams well. Detailed analysis of these topics is generally thought to originate with [Operational Research](https://www.informs.org/Resource-Center/INFORMS-Student-Union/Career-FAQs) devoted to improving processes and output in the Allied military during World War II, but in reality, we have been thinking about how to [operate things better for millennia](https://penelope.uchicago.edu/Thayer/E/Roman/Texts/Frontinus/De_Aquis/home.html).\n\nYet, despite all this effort and thought, reliable production operations remains elusive—particularly in the domains of [information technology](https://www.independent.ie/business/irish/rbsulster-bank-fined-56m-for-2012-it-system-crash-30759473.html) and [software operability](https://threatpost.com/fda-software-failures-responsible-24-all-medical-device-recalls-062012/76720/). The enterprise world, for example, often treats operations as a cost center,2 which makes meaningful improvements in outcomes difficult if not impossible. The tremendous short-sightedness of this approach is not yet widely understood, but dissatisfaction with it has given rise to a revolution in how to organize what we do in IT.\n\nThat revolution stemmed from trying to solve a common set of problems. The newest solutions to these problems are called by two separate names—DevOps and Site Reliability Engineering (SRE). Although we talk about them individually as if they are totally separate reactions to the enterprise mentality just described,3 we hope to persuade you that in fact they are much more alike, and practitioners of each have much more in common, than you might assume.\n\nBut first, some background on the key tenets of each.\n\n## Background on DevOps\n\nDevOps is a loose set of practices, guidelines, and culture designed to break down silos in IT development, operations, networking, and security. Articulated by John Willis, Damon Edwards, and Jez Humble, [CA(L)MS](https://www.atlassian.com/devops)—which stands for Culture, Automation, Lean (as in [Lean management](https://searchcio.techtarget.com/definition/lean-management); also see [continuous delivery](https://puppet.com/blog/continuous-delivery-vs-continuous-deployment-what-s-diff)), Measurement, and Sharing—is a useful acronym for remembering the key points of DevOps philosophy. Sharing and collaboration are at the forefront of this movement. In a DevOps approach, you improve something (often by automating it), measure the results, and share those results with colleagues so the whole organization can improve. All of the CALMS principles are facilitated by a supportive culture.\n\nDevOps, Agile, and a variety of other business and software reengineering techniques are all examples of a general worldview on how best to do business in the modern world. None of the elements in the DevOps philosophy are easily separable from each other, and this is essentially by design. There are, however, a few key ideas that can be discussed in relative isolation.\n\n##### No More Silos\n\nThe first key idea is no more silos. This is a reaction to a couple ideas:\n\n- The historically popular but now increasingly old-fashioned arrangement of separate operations and development teams\n- The fact that extreme [siloization of knowledge](https://www.fastcompany.com/1839317/build-your-business-smash-your-silos) , incentives for purely local optimization, and [lack of collaboration](https://process-cafe.blogspot.com/2010/01/silo-thinking-and-why-it-is-bad.html) have in many cases been actively bad for business 4\n\n##### Accidents Are Normal\n\nThe second key idea is that accidents are not just a result of the isolated actions of an individual, but rather result from missing safeguards for when things inevitably go wrong.5 For example, a bad interface inadvertently encourages the wrong action under pressure; a system misfeature makes failure inevitable if the (unarticulated) wrong circumstances occur; broken monitoring makes it impossible to know if something is wrong, never mind what is wrong. Some more traditionally minded businesses possess the cultural instinct to root out the mistake maker and punish them. But doing so has its own consequences: most obviously, it creates incentives to confuse issues, hide the truth, and blame others, all of which are ultimately unprofitable distractions. Therefore, it is more profitable to focus on speeding recovery than preventing accidents.\n\n##### Change Should Be Gradual\n\nThe third key idea is that [change is best when it is small and frequent](https://www.azquotes.com/quote/1052920). In environments where change committees meet monthly to discuss thoroughly documented plans to make changes to the mainframe configuration, this is a radical idea. However, this is not a new idea. The notion that all changes must be considered by experienced humans and batched for efficient consideration turns out to be more or less the opposite of best practice. Change is risky, true, but the correct response is to split up your changes into smaller subcomponents where possible. Then you build a steady pipeline of low-risk change out of regular output from product, design, and infrastructure changes.6 This strategy, coupled with automatic testing of smaller changes and reliable rollback of bad changes, leads to approaches to change management like [continuous integration (CI)](https://martinfowler.com/articles/continuousIntegration.html) and [continuous delivery or deployment (CD)](https://puppet.com/blog/continuous-delivery-vs-continuous-deployment-what-s-diff).\n\n##### Tooling and Culture Are Interrelated\n\nTooling is an important component of DevOps, particularly given the emphasis on managing change correctly—today, change management relies on highly specific tools. Overall, however, proponents of DevOps strongly emphasize organizational culture—rather than tooling—as the key to success in adopting a new way of working. A good culture can work around broken tooling, but the opposite rarely holds true. As the saying goes, [culture eats strategy for breakfast](https://www.forbes.com/sites/shephyken/2015/12/05/drucker-said-culture-eats-strategy-for-breakfast-and-enterprise-rent-a-car-proves-it/#7c8d53832749). Like operations, change itself is hard.\n\n##### Measurement Is Crucial\n\nFinally, measurement is particularly crucial in the overall business context of, for example, breaking down silos and incident resolution. In each of these environments, you establish the reality of what’s happening by means of objective measurement, verify that you’re changing the situation as you expect, and create an objective foundation for conversations that different functions agree upon. (This applies in both business and other contexts, such as on-call.)\n\n# Background on SRE\n\nSite Reliability Engineering (SRE) is a term (and associated job role) coined by Ben Treynor Sloss, a VP of engineering at Google.7 As we can see in the previous section, DevOps is a broad set of principles about whole-lifecycle collaboration between operations and product development. SRE is a job role, a set of practices (described next) we’ve found to work, and some beliefs that animate those practices. If you think of DevOps as a philosophy and an approach to working, you can argue that SRE implements some of the philosophy that DevOps describes, and is somewhat closer to a concrete definition of a job or role than, say, “DevOps engineer.”8 So, in a way, class SRE implements interface DevOps.\n\nUnlike the DevOps movement, which originated from collaborations between leaders and practitioners at multiple companies, SRE at Google inherited much of its culture from the surrounding company before the term SRE became widely popularized across the industry. Given that trajectory, the discipline as a whole currently does not foreground cultural change by default quite as much as DevOps. (That doesn’t imply anything about whether cultural change is necessary to do SRE in an arbitrary organization, of course.)\n\nSRE is defined by the following concrete principles.\n\n##### Operations Is a Software Problem\n\nThe basic tenet of SRE is that doing operations well is a software problem. SRE should therefore use software engineering approaches to solve that problem. This is across a wide field of view, encompassing everything from process and business change to similarly complicated but more traditional software problems, such as rewriting a stack to eliminate single points of failure in business logic.\n\n##### Manage by Service Level Objectives (SLOs)\n\nSRE does not attempt to give everything 100% availability. As discussed in our first book, [Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/), this is the wrong target for a number of reasons. Instead, the product team and the SRE team select an appropriate availability target for the service and its user base, and the service is managed to that SLO.9 Deciding on such a target requires strong collaboration from the business. SLOs have cultural implications as well: as collaborative decisions among stakeholders, SLO violations bring teams back to the drawing board, blamelessly.\n\n##### Work to Minimize Toil\n\nFor SRE, any manual, structurally mandated operational task is abhorrent. (That doesn’t mean we don’t have any such operations: we have plenty of them. We just don’t like them.) We believe that if a machine can perform a desired operation, then a machine often should. [This is a distinction (and a value)](https://www.usenix.org/conference/srecon17europe/program/presentation/desai) not often seen in other organizations, where toil is the job, and that’s what you’re paying a person to do. For SRE in the Google context, toil is not the job—it can’t be. Any time spent on operational tasks means time not spent on project work—and project work is how we make our services more reliable and scalable.\n\nPerforming operational tasks does, however, by “the wisdom of production,” provide vital input into decisions. This work keeps us grounded by providing real-time feedback from a given system. Sources of toil need to be identifiable so you can minimize or eliminate them. However, if you find yourself in a position of operational underload, you may need to push new features and changes more often so that engineers remain familiar with the workings of the service you support.\n\n##### Automate This Year’s Job Away\n\nThe real work in this area is determining what to automate, under what conditions, and how to automate it.\n\nSRE as practiced in Google has a hard limit of how much time a team member can spend on toil, as opposed to engineering that produces lasting value: 50%. Many people think of this limit as a cap. In fact, it’s much more useful to think of it as a guarantee—an explicit statement, and enabling mechanism, for taking an engineering-based approach to problems rather than just toiling at them over and over.\n\nThere is an unintuitive and interesting interaction between this benchmark and how it plays out when we think about automation and toil. Over time, an SRE team winds up automating all that it can for a service, leaving behind things that can’t be automated ([the Murphy-Beyer effect](https://hopes-and-strategies.blogspot.com/2017/12/the-murphy-beyer-effect.html)). Other things being equal, this comes to dominate what an SRE team does unless other actions are taken. In the Google environment, you tend to either add more services, up to some limit that still supports 50% engineering time, or you are so successful at your automation that you can go and do something else completely different instead.\n\n##### Move Fast by Reducing the Cost of Failure\n\nOne of the main benefits of SRE engagement is not necessarily increased reliability, although obviously that does happen; it is actually improved product development output. Why? Well, a reduced mean time to repair (MTTR) for common faults results in increased product developer velocity, as engineers don’t have to waste time and focus cleaning up after these issues. This follows from the well-known fact that the later in the product lifecycle a problem is discovered, [the more expensive it is to fix](https://www.agilemodeling.com/essays/costOfChange.htm). SREs are specifically charged with improving undesirably late problem discovery, yielding benefits for the company as a whole.\n\nRigid boundaries between “application development” and “production” (sometimes called programmers and operators) are counterproductive. This is especially true if the segregation of responsibilities and classification of ops as a cost center leads to power imbalances or discrepancies in esteem or pay.\n\nSREs tend to be inclined to focus on production problems rather than business logic problems, but as their approach brings software engineering tools to bear on the problem, they share skill sets with product development teams. In general, an SRE has particular expertise around the availability, latency, performance, efficiency, change management, monitoring, emergency response, and capacity planning of the service(s) they are looking after. Those specific (and usually well-defined) competencies are the bread-and-butter of what SRE does for a product and for the associated product development team.10 Ideally, both product development and SRE teams should have a holistic view of the stack—the frontend, backend, libraries, storage, kernels, and physical machine—and no team should jealously own single components. It turns out that you can get a lot more done if you “blur the lines”11 and have SREs instrument JavaScript, or product developers qualify kernels: knowledge of how to make changes and the authority to do so are much more widespread, and incentives to jealously guard any particular function are removed.\n\nIn [Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/), we did not make it sufficiently clear that product development teams in Google own their service by default. SRE is neither available nor warranted for the bulk of services, although SRE principles still inform how services are managed throughout Google.12 The ownership model when an SRE team works with a product development team is ultimately a shared model as well.\n\n##### Use the Same Tooling, Regardless of Function or Job Title\n\nTooling is an incredibly important determinant of behavior, and it would be naive to assume that the efficacy of SRE in the Google context has nothing to do with the widely accessible [unified codebase](https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext), the wide array of software and systems tooling, the [highly optimized and proprietary](https://sre.google/sre-book/production-environment/) production stack, and so on. Yet we share this absolute assumption with DevOps: teams minding a service13 should use the same tools, regardless of their role in the organization. There is no good way to manage a service that has one tool for the SREs and another for the product developers, behaving differently (and potentially catastrophically so) in different situations. The more divergence you have, the less your company benefits from each effort to improve each individual tool.\n\n# Compare and Contrast\n\nLooking at the preceding principles, we immediately see quite a lot of commonality in the points outlined:\n\n- DevOps and SRE are both contingent on an acceptance that change is necessary in order to improve. Without that, there’s not much room for maneuvering. 14\n- Collaboration is front and center for DevOps work. An effective shared ownership model and partner team relationships are necessary for SRE to function. Like DevOps, SRE also has strong values shared across the organization, which can make climbing out of team-based silos slightly easier.\n- Change management is best pursued as small, continual actions, the majority of which are ideally both automatically tested and applied. The critical interaction between change and reliability makes this especially important for SRE.\n- The right tooling is critically important, and tooling to a certain extent determines the scope of your acts. Yet we must not focus too hard on whether something is achieved using some specific set of tools; at the end of the day, API orientation for system management is a more important philosophy that will outlast any particular implementation of it.\n- Measurement is absolutely key to how both DevOps and SRE work. For SRE, SLOs are dominant in determining the actions taken to improve the service. Of course, you can’t have SLOs without measurement (as well as cross-team debate—ideally among product, infrastructure/SRE, and the business). For DevOps, the act of measurement is often used to understand what the outputs of a process are, what the duration of feedback loops is, and so on. Both DevOps and SRE are data-oriented things, whether they are professions or philosophies.\n- The brute reality of managing production services means that bad things happen occasionally, and you have to talk about why. SRE and DevOps both practice [blameless postmortems](https://sre.google/sre-book/postmortem-culture/) in order to offset unhelpful, adrenaline-laden reactions.\n- Ultimately, implementing DevOps or SRE is a holistic act; both hope to make the whole of the team (or unit, or organization) better, as a function of working together in a highly specific way. For both DevOps and SRE, better velocity should be the outcome. 15\n\nAs you can see, there are many areas of commonality between DevOps and SRE.\n\nYet there are significant differences as well. DevOps is in some sense a wider philosophy and culture. Because it effects wider change than does SRE, DevOps is more context-sensitive. DevOps is relatively silent on how to run operations at a detailed level. For example, it is not prescriptive around the precise management of services. It chooses instead to concentrate on breaking down barriers in the wider organization. This has much value.\n\nSRE, on the other hand, has relatively narrowly defined responsibilities and its remit is generally service-oriented (and end-user-oriented) rather than whole-business-oriented. As a result, it brings an opinionated intellectual framework (including concepts like [error budgets](https://sre.google/sre-book/embracing-risk/)) to the problem of how to run systems effectively. Although SRE is, as a profession, highly aware of incentives and their effects, it in turn is relatively silent on topics like siloization and information barriers. It would support CI and CD not necessarily because of the business case, but because of the improved operational practices involved. Or, to put it another way, SRE believes in the same things as DevOps but for slightly different reasons.\n\n# Organizational Context and Fostering Successful Adoption\n\nDevOps and SRE have a very large conceptual overlap in how they operate. As you might expect, they also have a similar set of conditions that have to be true within the organization in order for them to a) be implementable in the first place, and b) obtain the maximum benefit from that implementation. As [Tolstoy almost but never quite said](https://www.goodreads.com/quotes/7142-all-happy-families-are-alike-each-unhappy-family-is-unhappy), effective operations approaches are all alike, whereas broken approaches are all broken in their own way. Incentives can in part explain why that is.\n\nIf an organization’s culture values the benefits of a DevOps approach and is willing to bear those costs—typically expressed as difficulties in hiring, the energy required to maintain fluidity in teams and responsibilities, and increased financial resources dedicated to compensating a skill set that is necessarily more rare—then that organization must also make sure the incentives are correct in order to achieve the full benefit of this approach.\n\nSpecifically, the following should hold true in the context of both DevOps and SRE.\n\n##### Narrow, Rigid Incentives Narrow Your Success\n\nMany companies accidentally define formal incentives that undermine collective performance. To avoid this mistake, don’t structure incentives to be narrowly tied to launch-related or reliability-related outcomes. As [any economist](https://en.wikipedia.org/wiki/Goodhart's_law) can tell you, if there is a numeric measure, people will find a way to game it to bad effect, sometimes even in a completely well-intentioned way.16 Instead, you should allow your people the freedom to find the right tradeoffs. As discussed earlier, DevOps or SRE can act as an accelerant for your product team in general, allowing the rest of the software org to ship features to customers in a continuous and reliable fashion. Such a dynamic also fixes one persistent problem with the traditional and divergent systems/software group approach: the lack of a feedback loop between design and production. A system with early SRE engagement (ideally, at design time) typically works better in production after deployment, regardless of who is responsible for managing the service. (Nothing slows down feature development like losing user data.)\n\n##### It’s Better to Fix It Yourself; Don’t Blame Someone Else\n\nFurthermore, avoid any incentives to pass off the blame for production incidents or system failures onto other groups. In many ways, the dynamics of passing off blame is the core problem with the traditional model for engineering operations, as separating operations and software teams allows separate incentives to emerge. Instead, consider adopting the following practices to combat blame passing at an organizational level:\n\n- Don’t just allow, but actively encourage , engineers to change code and configuration when required for the product. Also allow these teams the authority to be radical within the limits of their mission, thereby eliminating incentives to proceed more slowly.\n- Support blameless postmortems. 17 Doing so eliminates incentives to downplay or cover up a problem. This step is crucial in fully understanding the product and actually optimizing its performance and functionality, and relies on the wisdom of production mentioned previously.\n\nAllow support to move away from products that are irredeemably operationally difficult. The threat of support withdrawal motivates product development to fix issues both in the run-up to support and once the product is itself supported, saving everyone time. What it means to be “irredeemably operationally difficult” may differ depending on your context—the dynamic here should be one of mutually understood responsibilities. Pushback to other orgs might be a softer, “We think there are higher-value uses of the time of people with this skill set,” or framed within the limit of, “These people will quit if they’re tasked with too much operational work and aren’t given the opportunity to use their engineering skill set.” At Google, the practice of outright withdrawing support from such products has become institutional.\n\n##### Consider Reliability Work as a Specialized Role\n\nAt Google, SRE and product development are separate organizations. Each group has its own focus, priorities, and management, and does not have to do the bidding of the other. However, the product development teams effectively fund the [growth of SRE with new hires](../../sre-book/accelerating-sre-on-call/) when a product is successful. In this way, product development has a stake in the success of SRE teams, just as SREs have a stake in the success of the product development teams. SRE is also fortunate to receive high-level support from management, which ensures that engineering teams’ objections to supporting services “the SRE way” are generally short-lived. You don’t need to have an org chart to do things differently, though—you just need a different community of practice to emerge.\n\nRegardless of whether you fork your organizational chart or use more informal mechanisms, it’s important to recognize that specialization creates challenges. Practitioners of DevOps and SRE benefit from having a community of peers for support and career development, and job ladders that reward them18 for the unique skills and perspectives they bring to the table.\n\nIt’s important to note that the organizational structure employed by Google, as well as some of the aforementioned incentives, is somewhat reliant on a sizeable organization. For example, if your 20-person startup has only one (comparatively small) product, there’s not much sense in allowing withdrawal of operational support. It’s still possible to take a DevOps-style approach,19 but the ability to improve an operationally poor product is undermined if literally all you can do is help it grow. Usually, though, people have more choice than they imagine about how to fulfill those growth needs versus the rate at which technical debt accumulates.20\n\n##### When Can Substitute for Whether\n\nHowever, when your organization or product grows beyond a certain size, you can exercise more latitude in what products to support, or how to prioritize that support. If it’s clear that support for system X is going to happen much sooner than support for system Y, the implicit conditionality can play much the same role as the choice to not support services in the SRE world.\n\nAt Google, SRE’s strong partnership with product development has proven to be critically important: if such a relationship exists at your organization, then the decision to withdraw (or supply) support can be based on objective data about comparative operational characteristics, thereby avoiding otherwise nonproductive conversations.\n\nA productive relationship between SRE and product development also helps in avoiding the organizational anti-pattern in which a product development team has to ship a product or feature before it’s quite ready. Instead, SRE can work with a development team to improve the product before the burden of maintenance shifts away from the people with the most expertise to fix it.\n\n##### Strive for Parity of Esteem: Career and Financial\n\nFinally, make sure that the career incentives to do the right thing are in place: we want our DevOps/SRE organization to be held in the same esteem as their product development counterparts. Therefore, members of each team should be rated by roughly the same methods and have the same financial incentives.\n\n# Conclusion\n\nIn many ways, DevOps and SRE sit, in both practice and philosophy, very close to each other in the overall landscape of IT operations.\n\nBoth DevOps and SRE require discussion, management support, and buy-in from the people actually doing the work to make serious progress. Implementing either of them is a journey and not a quick fix: the practice of rename-and-shame21 is a hollow one, unlikely to yield benefit. Given that it is a more opinionated implementation of how to perform operations, SRE has more concrete suggestions on how to change your work practices earlier on in that journey, albeit requiring specific adaptation. DevOps, having a wider focus, is somewhat more difficult to reason about and translate into concrete steps, but precisely because of that wider focus, is likely to meet with weaker initial resistance.\n\nBut practitioners of each use many of the same tools, the same approaches to change management, and the same data-based decision-making mindset. At the end of the day, we all face the same persistent problem: production, and making it better—no matter what we’re called.\n\nFor those interested in further reading, the following suggestions should help you develop a wider understanding of the cultural, business, and technical underpinnings of the operations revolution taking place right now:\n\n- [Site Reliability Engineering](https://sre.google/sre-book/table-of-contents/)\n- [Effective DevOps](https://shop.oreilly.com/product/0636920039846.do)\n- [The Phoenix Project](https://shop.oreilly.com/product/9780988262508.do)\n- [The Practice of Cloud System Administration: DevOps and SRE Practices for Web Services, Volume 2](https://www.amazon.com/Practice-Cloud-System-Administration-Practices/dp/032194318X/ref=sr_1_1?ie=UTF8&qid=1527184188&sr=8-1&keywords=practice+of+cloud+system+administration)\n- [Accelerate: The Science of Lean Software and DevOps](https://www.amazon.com/Accelerate-Software-Performing-Technology-Organizations/dp/1942788339/ref=sr_1_2?ie=UTF8&&qid=1515161455&&sr=8-2&&keywords=accelerate)\n\n1Note that as this discussion appears in a book about SRE, some of this discussion is specific to software service operations, as opposed to IT operations.\n\n2Mary Poppendieck has an excellent article on this called “[The Cost Center Trap](https://www.leanessays.com/2017/11/the-cost-center-trap.html).” Another way in which this approach fails is when a very large and improbable disaster completely wipes out the cost savings you made by moving to a low-grade operations model (c.f. the [British Airways outage in May 2017](https://www.independent.co.uk/news/business/news/british-airways-system-outage-it-worker-power-supply-switch-off-accident-flights-delayed-cancelled-a7768581.html)).\n\n3Of course, there are a number of other potential reactions. For example, ITIL® is another approach to IT management that advocates for better standardization.\n\n4Note also that because this is a complicated world, there are also [positive effects](https://www.fastcompany.com/1837301/5-ways-process-killing-your-productivity) to [partitioning](https://smallbusiness.chron.com/advantages-disadvantages-collaboration-between-businesses-20642.html), silos, and the like, but the downsides seem to be particularly pernicious in the domain of operations.\n\n5See [https://en.wikipedia.org/wiki/Normal_Accidents](https://en.wikipedia.org/wiki/Normal_Accidents).\n\n6Higher-risk changes, or those unvalidatable by automatic means, should obviously still be vetted by humans, if not enacted by them.\n\n7The history of SRE at Google is that it sprang from a precursor team, which was more operationally focused, and Ben provided the impetus for treating the problem from an engineering standpoint.\n\n8This is a misnomer in a large number of ways, perhaps the most fundamental being that you can’t just hire some people, call them “DevOps engineers,” and expect benefits immediately. You have to buy into the whole philosophy of changing how you work in order to benefit. As [Andrew Clay Shafer says](https://twitter.com/littleidea/status/921252993877426176), “People sell DevOps, but you can’t buy it.” And, as Seth Vargo points out in [“The 10 Myths of DevOps”](https://www.sethvargo.com/the-ten-myths-of-devops/), you can’t “hire a DevOp to fix your organization.”\n\n9A service level objective is a target for performance of a particular metric (e.g., available 99.9% of the time).\n\n10Of course, not every team does everything, but those are the most common headings under which SRE works.\n\n11Perform a layering violation, if you think of this as layered stacks.\n\n12In fact, there’s a Production Readiness Review for onboarding anything; SRE won’t just onboard services from a standing start.\n\n13A service is loosely defined as software running to perform some business need, generally with availability constraints.\n\n14Within Google, that question is largely settled, and services change state, configuration, ownership, direction, and so on, all the time. To a certain extent, SRE at Google is the beneficiary of the “change is necessary” argument having been fought and won a number of times in the past. But not completely [evenly distributed](https://medium.com/not-evenly-distributed/the-future-has-arrived-fed56cec3266), as William Gibson might say.\n\n15See relevant research at [https://devops-research.com/research.html](https://devops-research.com/research.html).\n\n16See [https://en.wikipedia.org/wiki/Goodhart%27s_law](https://en.wikipedia.org/wiki/Goodhart%27s_law) and [https://skybrary.aero/bookshelf/books/2336.pdf](https://skybrary.aero/bookshelf/books/2336.pdf).\n\n17See, for example, [https://codeascraft.com/2012/05/22/blameless-postmortems/](https://codeascraft.com/2012/05/22/blameless-postmortems/).\n\n18In orgs that have well-developed cultures of either. Early-stage companies likely do not have established ways to reward these job roles.\n\n19Indeed, arguably, that’s your only choice unless you outsource operations.\n\n20For a discussion of how to apply SRE principles in different contexts, see [SRE Team Lifecycles](https://sre.google/workbook/team-lifecycles/).\n\n21In other words, simply retitling a group DevOps or SRE with no other change in their organizational positioning, resulting in inevitable shaming of the team when promised improvement is not forthcoming.", "znaku_textu": 33161, "slov": 4854, "odkazu": 119, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:26", "sha256": "0789c58d5966de22a6ad1f5b9cd76189c033e39c966edabcb8b4379541517aad", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.informs.org/Resource-Center/INFORMS-Student-Union/Career-FAQs", "https://penelope.uchicago.edu/Thayer/E/Roman/Texts/Frontinus/De_Aquis/home.html", "https://www.independent.ie/business/irish/rbsulster-bank-fined-56m-for-2012-it-system-crash-30759473.html", "https://threatpost.com/fda-software-failures-responsible-24-all-medical-device-recalls-062012/76720/", "https://www.atlassian.com/devops", "https://searchcio.techtarget.com/definition/lean-management", "https://puppet.com/blog/continuous-delivery-vs-continuous-deployment-what-s-diff", "https://www.fastcompany.com/1839317/build-your-business-smash-your-silos", "https://process-cafe.blogspot.com/2010/01/silo-thinking-and-why-it-is-bad.html", "https://www.azquotes.com/quote/1052920", "https://martinfowler.com/articles/continuousIntegration.html", "https://www.forbes.com/sites/shephyken/2015/12/05/drucker-said-culture-eats-strategy-for-breakfast-and-enterprise-rent-a-car-proves-it/", "https://www.usenix.org/conference/srecon17europe/program/presentation/desai", "https://hopes-and-strategies.blogspot.com/2017/12/the-murphy-beyer-effect.html", "https://www.agilemodeling.com/essays/costOfChange.htm", "https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext", "https://www.goodreads.com/quotes/7142-all-happy-families-are-alike-each-unhappy-family-is-unhappy", "https://en.wikipedia.org/wiki/Goodhart's_law", "https://shop.oreilly.com/product/0636920039846.do", "https://shop.oreilly.com/product/9780988262508.do", "https://www.amazon.com/Practice-Cloud-System-Administration-Practices/dp/032194318X/ref=sr_1_1?ie=UTF8&keywords=practice+of+cloud+system+administration&qid=1527184188&sr=8-1", "https://www.amazon.com/Accelerate-Software-Performing-Technology-Organizations/dp/1942788339/ref=sr_1_2?ie=UTF8&keywords=accelerate&qid=1515161455&sr=8-2", "https://www.leanessays.com/2017/11/the-cost-center-trap.html", "https://www.independent.co.uk/news/business/news/british-airways-system-outage-it-worker-power-supply-switch-off-accident-flights-delayed-cancelled-a7768581.html", "https://www.fastcompany.com/1837301/5-ways-process-killing-your-productivity", "https://smallbusiness.chron.com/advantages-disadvantages-collaboration-between-businesses-20642.html", "https://en.wikipedia.org/wiki/Normal_Accidents", "https://twitter.com/littleidea/status/921252993877426176", "https://www.sethvargo.com/the-ten-myths-of-devops/", "https://medium.com/not-evenly-distributed/the-future-has-arrived-fed56cec3266", "https://devops-research.com/research.html", "https://skybrary.aero/bookshelf/books/2336.pdf", "https://codeascraft.com/2012/05/22/blameless-postmortems/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/implementing-slos", "titulek": "Google SRE - Continuous Improvement To Get Reliability", "h1": "Implementing SLOs", "popis": "Learn to use Service Level Objectives (SLOs) for continuous improvement in reliability and customer satisfaction, and discover the importance of SLOs.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/implementing-slos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/implementing-slos/"}, "headline": "Implementing SLOs", "description": "Service level objectives (SLOs) specify a target level for the reliability of your service. Because SLOs are key to making data-driven decisions about reliability, they're at the core of SRE practices.", "image": "https://lh3.googleusercontent.com/ybtJ6StguyvFHIm7A2AlS3BcLKUy6DQCUHOHS-p0efcZcQvdY1ua1XXCZaKnPBcbekeulT72dIWWNNv3k1REJOTQS4KTWOjtbcx6IvA", "author": [{"@type": "Person", "name": "Steven Thurgood"}, {"@type": "Person", "name": "David Ferguson"}, {"@type": "Person", "name": "Alex Hidalgo"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Implementing SLOs"}, {"uroven": 2, "text": "Why SREs Need SLOs"}, {"uroven": 1, "text": "Getting Started"}, {"uroven": 5, "text": "Reliability Targets and Error Budgets"}, {"uroven": 5, "text": "What to Measure: Using SLIs"}, {"uroven": 6, "text": "Types of components"}, {"uroven": 1, "text": "A Worked Example"}, {"uroven": 5, "text": "Moving from SLI Specification to SLI Implementation"}, {"uroven": 6, "text": "API and HTTP server availability and latency"}, {"uroven": 6, "text": "Pipeline freshness, coverage, and correctness"}, {"uroven": 5, "text": "Measuring the SLIs"}, {"uroven": 6, "text": "Load balancer metrics"}, {"uroven": 6, "text": "Calculating the SLIs"}, {"uroven": 5, "text": "Using the SLIs to Calculate Starter SLOs"}, {"uroven": 1, "text": "Choosing an Appropriate Time Window"}, {"uroven": 1, "text": "Getting Stakeholder Agreement"}, {"uroven": 5, "text": "Establishing an Error Budget Policy"}, {"uroven": 5, "text": "Documenting the SLO and Error Budget Policy"}, {"uroven": 5, "text": "Dashboards and Reports"}, {"uroven": 1, "text": "Continuous Improvement of SLO Targets"}, {"uroven": 5, "text": "Improving the Quality of Your SLO"}, {"uroven": 1, "text": "Decision Making Using SLOs and Error Budgets"}, {"uroven": 1, "text": "Advanced Topics"}, {"uroven": 5, "text": "Modeling User Journeys"}, {"uroven": 5, "text": "Grading Interaction Importance"}, {"uroven": 5, "text": "Modeling Dependencies"}, {"uroven": 5, "text": "Experimenting with Relaxing Your SLOs"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Implementing SLOs\n\nBy Steven Thurgood and David Ferguson\n\nwith Alex Hidalgo and Betsy Beyer\n\nService level objectives (SLOs) specify a target level for the reliability of your service. Because SLOs are key to making data-driven decisions about reliability, they’re at the core of SRE practices. In many ways, this is the most important chapter in this book.\n\nOnce you’re equipped with a few guidelines, setting up initial SLOs and a process for refining them can be straightforward. [Chapter 4](https://sre.google/sre-book/service-level-objectives/) in our first book introduced the topic of SLOs and SLIs (service level indicators), and gave some advice on how to use them.\n\nAfter discussing the motivation behind SLOs and error budgets, this chapter provides a step-by-step recipe to get you started thinking about SLOs, and also some advice about how to iterate from there. We’ll then cover how to use SLOs to make effective business decisions, and explore some advanced topics. Finally, we’ll give you some examples of SLOs for different types of services and some pointers on how to create more sophisticated SLOs in specific situations.1\n\n## Why SREs Need SLOs\n\nEngineers are a scarce resource at even the largest organizations. Engineering time should be invested in the most important characteristics of the most important services. Striking the right balance between investing in functionality that will win new customers or retain current ones, versus investing in the reliability and scalability that will keep those customers happy, is difficult. At Google, we’ve learned that a well-thought-out and adopted SLO is key to making data-informed decisions about the opportunity cost of reliability work, and to determining how to appropriately prioritize that work.\n\nSREs’ core responsibilities aren’t merely to automate “all the things” and hold the pager. Their day-to-day tasks and projects are driven by SLOs: ensuring that SLOs are defended in the short term and that they can be maintained in the medium to long term. One could even claim that without SLOs, there is no need for SREs.\n\nSLOs are a tool to help determine what engineering work to prioritize. For example, consider the engineering tradeoffs for two reliability projects: automating rollbacks and moving to a replicated data store. By calculating the estimated impact on our error budget, we can determine which project is most beneficial to our users. See the section Decision Making Using SLOs and Error Budgets for more detail on this, and [“Managing Risk”](https://sre.google/sre-book/embracing-risk/\n#id-AnCDFmtB) in Site Reliability Engineering.\n\n# Getting Started\n\nAs a starting point for establishing a basic [set of SLOs](https://sre.google/workbook/slo-engineering-case-studies/), let’s assume that your service is some form of code that has been compiled and released and is running on networked infrastructure that users access via the web. Your system’s maturity level might be one of the following:\n\n- A greenfield development, with nothing currently deployed\n- A system in production with some monitoring to notify you when things go awry, but no formal objectives, no concept of an error budget, and an unspoken goal of 100% uptime\n- A running deployment with an SLO below 100%, but without a common understanding about its importance or how to leverage it to make continuous improvement choices—in other words, an SLO without teeth\n\nIn order to adopt an error budget-based approach to Site Reliability Engineering, you need to reach a state where the following hold true:\n\n- There are SLOs that all stakeholders in the organization have approved as being fit for the product.\n- The people responsible for ensuring that the service meets its SLO have agreed that it is possible to meet this SLO under normal circumstances.\n- The organization has committed to using the error budget for decision making and prioritizing. This commitment is formalized in an error budget policy.\n- There is a process in place for refining the SLO.\n\nOtherwise, you won’t be able to adopt an error budget–based approach to reliability. SLO compliance will simply be another KPI (key performance indicator) or reporting metric, rather than a decision-making tool.\n\n##### Reliability Targets and Error Budgets\n\nThe first step in formulating appropriate SLOs is to talk about what an SLO should be, and what it should cover.\n\nAn SLO sets a target level of reliability for the service’s customers. Above this threshold, almost all users should be happy with your service (assuming they are otherwise happy with the utility of the service).2 Below this threshold, users are likely to start complaining or to stop using the service. Ultimately, user happiness is what matters—happy users use the service, generate revenue for your organization, place low demands on your customer support teams, and recommend the service to their friends. We keep our services reliable to keep our customers happy.\n\nCustomer happiness is a rather fuzzy concept; we can’t measure it precisely. Often we have very little visibility into it at all, so how do we begin? What do we use for our first SLO?\n\nOur experience has shown that 100% reliability is the wrong target:\n\n- If your SLO is aligned with customer satisfaction, 100% is not a reasonable goal. Even with redundant components, automated health checking, and fast failover, there is a nonzero probability that one or more components will fail simultaneously, resulting in less than 100% availability.\n- Even if you could achieve 100% reliability within your system, your customers would not experience 100% reliability. The chain of systems between you and your customers is often long and complex, and any of these components can fail. 3 This also means that as you go from 99% to 99.9% to 99.99% reliability, each extra nine comes at an increased cost, but the marginal utility to your customers steadily approaches zero.\n- If you do manage to create an experience that is 100% reliable for your customers, and want to maintain that level of reliability, you can never update or improve your service. The number one source of outages is change: pushing new features, applying security patches, deploying new hardware, and scaling up to meet customer demand will impact that 100% target. Sooner or later, your service will stagnate and your customers will go elsewhere, which is not great for anyone’s bottom line.\n- An SLO of 100% means you only have time to be reactive. You literally cannot do anything other than react to < 100% availability, which is guaranteed to happen. Reliability of 100% is not an engineering culture SLO—it’s an operations team SLO.\n\nOnce you have an SLO target below 100%, it needs to be owned by someone in the organization who is empowered to make tradeoffs between feature velocity and reliability. In a small organization, this may be the CTO; in larger organizations, this is normally the product owner (or product manager).\n\n##### What to Measure: Using SLIs\n\nOnce you agree that 100% is the wrong number, how do you determine the right number? And what are you measuring, anyway? Here, [service level indicators](https://sre.google/sre-book/service-level-objectives/) come into play: an SLI is an indicator of the level of service that you are providing.\n\nWhile many numbers can function as an SLI, we generally recommend treating the SLI as the ratio of two numbers: the number of good events divided by the total number of events. For example:\n\n- Number of successful HTTP requests / total HTTP requests (success rate)\n- Number of gRPC calls that completed successfully in < 100 ms / total gRPC requests\n- Number of search results that used the entire corpus / total number of search results, including those that degraded gracefully\n- Number of “stock check count” requests from product searches that used stock data fresher than 10 minutes / total number of stock check requests\n- Number of “good user minutes” according to some extended list of criteria for that metric / total number of user minutes\n\nSLIs of this form have a couple of particularly useful properties. The SLI ranges from 0% to 100%, where 0% means nothing works, and 100% means nothing is broken. We have found this scale intuitive, and this style lends itself easily to the concept of an error budget: the SLO is a target percentage and the error budget is 100% minus the SLO. For example, if you have a 99.9% success ratio SLO, then a service that receives 3 million requests over a four-week period had a budget of 3,000 (0.1%) errors over that period. If a single outage is responsible for 1,500 errors, that error costs 50% of the error budget.4\n\nIn addition, making all of your SLIs follow a consistent style allows you to take better advantage of tooling: you can write alerting logic, SLO analysis tools, error budget calculation, and reports to expect the same inputs: numerator, denominator, and threshold. Simplification is a bonus here.\n\nWhen attempting to formulate SLIs for the first time, you might find it useful to further divide SLIs into SLI specification and SLI implementation:\n\nSLI specification\n\n- The assessment of service outcome that you think matters to users, independent of how it is measured.\n- For example: Ratio of home page requests that loaded in < 100 ms\n\nSLI implementation\n\n- The SLI specification and a way to measure it.\n\n- For example:\n\nAs you can see, a single SLI specification might have multiple SLI implementations, each with its own set of pros and cons in terms of quality (how accurately they capture the experience of a customer), coverage (how well they capture the experience of all customers), and cost.\n\nYour first attempt at an SLI and SLO doesn’t have to be correct; the most important goal is to get something in place and measured, and to set up a feedback loop so you can improve. (We dive deeper into this topic in Continuous Improvement of SLO Targets.)\n\nIn [our first book](https://sre.google/sre-book/table-of-contents/), we advise against picking an SLO based upon current performance, because this can commit you to unnecessarily strict SLOs. While that advice is true, your current performance can be a good place to start if you don’t have any other information, and if you have a good process for iterating in place (which we’ll cover later). However, don’t let current performance limit you as you refine your SLO: your customers will also come to expect your service to perform at its SLO, so if your service returns successful requests 99.999% of the time in less than 10 ms, any significant regression from that baseline may make them unhappy.\n\nTo create your first set of SLOs, you need to decide upon a few key SLI specifications that matter to your service. Availability and latency SLOs are pretty common; freshness, durability, correctness, quality, and coverage SLOs also have their place (we’ll talk more about those later).\n\nIf you are having trouble figuring out what sort of SLIs to start with, it helps to start simple:\n\n- Choose one application for which you want to define SLOs. If your product comprises many applications, you can add those later.\n- Decide clearly who the “users” are in this situation. These are the people whose happiness you are optimizing.\n- Consider the common ways your users interact with your system—common tasks and critical activities.\n- Draw a high-level architecture diagram of your system; show the key components, the request flow, the data flow, and the critical dependencies. Group these components into categories listed in the following section (there may be some overlap and ambiguity; use your intuition and don’t let perfect be the enemy of the good).\n\nYou should think carefully about exactly what you select as your SLIs, but you also shouldn’t overcomplicate things. Especially if you’re just starting your SLI journey, pick an aspect of your system that’s relevant but easy to measure—you can always iterate and refine later.\n\n###### Types of components\n\nThe easiest way to get started with setting SLIs is to abstract your system into a few common types of components. You can then use our list of suggested SLIs for each component to choose the ones most relevant to your service:\n\nRequest-driven\n\n- The user creates some type of event and expects a response. For example, this could be an HTTP service where the user interacts with a browser or an API for a mobile application.\n\nPipeline\n\n- A system that takes records as input, mutates them, and places the output somewhere else. This might be a simple process that runs on a single instance in real time, or a multistage batch process that takes many hours. Examples include:\n\nStorage\n\n- A system that accepts data (e.g., bytes, records, files, videos) and makes it available to be retrieved at a later date.\n\n# A Worked Example\n\nConsider a simplified architecture for a mobile phone game, shown in Figure 2-1.\n\nFigure 2-1. Architecture for an example mobile phone game\n\nThe app running on the user’s phone interacts with an HTTP API running in the cloud. The API writes state changes to a permanent storage system. A pipeline periodically runs over this data to generate league tables that provide high scores for today, this week, and all time. This data is written to a separate league table data store, and the results are available via the mobile app (for in-game scores) and a website. Users can upload custom avatars, which are used both in-game via the API and in the high score website, to the User Data table.\n\nGiven this setup, we can start thinking about how users interact with the system, and what sort of SLIs would measure the various aspects of a user’s experience.\n\nSome of these SLIs may overlap: a request-driven service may have a correctness SLI, a pipeline may have an availability SLI, and durability SLIs might be viewed as a variant on correctness SLIs. We recommend choosing a small number (five or fewer) of SLI types that represent the most critical functionality to your customers.\n\nIn order to capture both the typical user experience and the long tail, we also recommend using multiple grades of SLOs for some types of SLIs. For example, if 90% of users’ requests return within 100 ms, but the remaining 10% take 10 seconds, many users will be unhappy. A latency SLO can capture this user base by setting multiple thresholds: 90% of requests are faster than 100 ms, and 99% of requests are faster than 400 ms. This principle applies to all SLIs with parameters that measure user unhappiness.\n\nTable 2-1 provides some common SLIs for different types of services.\n\n| Type of service | Type of SLI | Description |\n| --- | --- | --- |\n| Request-driven | Availability | The proportion of requests that resulted in a successful response. |\n| Request-driven | Latency | The proportion of requests that were faster than some threshold. |\n| Request-driven | Quality | If the service degrades gracefully when overloaded or when backends are unavailable, you need to measure the proportion of responses that were served in an undegraded state. For example, if the User Data store is unavailable, the game is still playable but uses generic imagery. |\n| Pipeline | Freshness | The proportion of the data that was updated more recently than some time threshold. Ideally this metric counts how many times a user accessed the data, so that it most accurately reflects the user experience. |\n| Pipeline | Correctness | The proportion of records coming into the pipeline that resulted in the correct value coming out. |\n| Pipeline | Coverage | For batch processing, the proportion of jobs that processed above some target amount of data.\n For streaming processing, the proportion of incoming records that were successfully processed\n within some time window. |\n| Storage | Durability | The proportion of records written that can be successfully read. Take particular care with\n durability SLIs: the data that the user wants may be only a small portion of the data that is\n stored. For example, if you have 1 billion records for the previous 10 years, but the user wants\n only the records from today (which are unavailable), then they will be unhappy even though\n almost all of their data is readable. |\n\n##### Moving from SLI Specification to SLI Implementation\n\nNow that we know our SLI specifications, we need to start thinking about how to implement them.\n\nFor your first SLIs, choose something that requires a minimum of engineering work. If your web server logs are already available, but setting up probes would take weeks and instrumenting your JavaScript would take months, use the logs.\n\nYou need enough information to measure the SLI: for availability, you need the success/failure status; for slow requests, you need the time taken to serve the request. You may need to reconfigure your web server to record this information. If you’re using a cloud-based service, some of this information may already be available in a monitoring dashboard.\n\nThere are various options for SLI implementations for our example architecture, each with its own pros and cons. The following sections detail SLIs for the three types of components in our system.\n\n###### API and HTTP server availability and latency\n\nFor all of the considered SLI implementations, we base the response success on the HTTP status code. 5XX responses count against SLO, while all other requests are considered successful. Our availability SLI is the proportion of successful requests, and our latency SLIs are the proportion of requests that are faster than defined thresholds.\n\nYour SLIs should be specific and measurable. To summarize the list of potential candidates provided in What to Measure: Using SLIs, your SLIs can use one or more of the following sources:\n\n- Application server logs\n- Load balancer monitoring\n- Black-box monitoring\n- Client-side instrumentation\n\nOur example uses the load balancer monitoring, as the metrics are already available and provide SLIs that are closer to the user’s experience than those from the application server’s logs.\n\n###### Pipeline freshness, coverage, and correctness\n\nWhen our pipeline updates the league table, it records a watermark containing the timestamp of when the data was updated. Some example SLI implementations:\n\n- Run a periodic query across the league table, counting the total number of fresh records and the total number of records. This will treat each stale record as equally important, regardless of how many users saw the data.\n- Make all clients of the league table check the watermark when they request fresh data and increment a metric counter saying that data was requested. Increment another counter if the data was fresher than a predefined threshold.\n\nFrom these two options, our example uses the client-side implementation, as it gives SLIs that are much more closely correlated with user experience and are straightforward to add.\n\nTo calculate our coverage SLI, our pipeline exports the number of records that it should have processed and the number of records that it successfully processed. This metric may miss records that our pipeline did not know about due to misconfiguration.\n\nWe have a couple potential approaches to measure correctness:\n\n- Inject data with known outputs into the system, and count the proportion of times that the output matches our expectations.\n- Use a method to calculate correct output based on input that is distinct from our pipeline itself (and likely more expensive, and therefore not suitable for our pipeline). Use this to sample input/output pairs, and count the proportion of correct output records. This methodology assumes that creating such a system is both possible and practical.\n\nOur example bases its correctness SLI on some manually curated data in the game state database, with known good outputs that are tested every time the pipeline runs. Our SLI is the proportion of correct entries for our test data. In order for this SLI to be representative of the actual user experience, we need to make sure that our manually curated data is representative of real-world data.\n\n##### Measuring the SLIs\n\nFigure 2-2 shows how our white-box monitoring system collects metrics from the various components of the example application.\n\nFigure 2-2. How our monitoring system collects SLI metrics\n\nLet’s walk through an example of using metrics from our monitoring system to calculate our starter SLOs. While our example uses availability and latency metrics, the same principles apply to all other potential SLOs. For a full list of the metrics that our system uses, see [Example SLO Document](https://sre.google/workbook/slo-document/). All of our examples use [Prometheus notation](https://prometheus.io/).\n\n###### Load balancer metrics\n\nTotal requests by backend (`\"api\"` or `\"web\"`) and response code:\n\n```\nhttp_requests_total{host=\"api\", status=\"500\"}\n```\n\nTotal latency, as a cumulative histogram; each bucket counts the number of requests that took less than or equal to that time:\n\n```\nhttp_request_duration_seconds{host=\"api\", le=\"0.1\"}\nhttp_request_duration_seconds{host=\"api\", le=\"0.2\"}\nhttp_request_duration_seconds{host=\"api\", le=\"0.4\"}\n```\n\nGenerally speaking, it is better to count the slow requests than to approximate them with a histogram. But, because that information isn’t available, we use the histogram provided by our monitoring system. Another approach would be to base explicit slow request counts on the various slowness thresholds in the load balancer’s configuration (e.g., for thresholds of 100 ms and 500 ms). This strategy would provide more accurate numbers but require more configuration, which makes changing the thresholds retroactively harder.\n\n`http_request_duration_seconds{host=\"api\", le=\"0.1\"}\n http_request_duration_seconds{host=\"api\", le=\"0.5\"}`\n\n###### Calculating the SLIs\n\nUsing the preceding metrics, we can calculate our current SLIs over the previous seven days, as shown in Table 2-2.\n\n| Availability | `sum(rate(http_requests_total{host=\"api\", status!~\"5..\"}[7d]))` `/` `sum(rate(http_requests_total{host=\"api\"}[7d])` |\n| --- | --- |\n| Latency | `histogram_quantile(0.9, rate(http_request_duration_seconds_bucket[7d]))` `histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[7d]))` |\n\n##### Using the SLIs to Calculate Starter SLOs\n\nWe can round down these SLIs to manageable numbers (e.g., two significant figures of availability, or up to 50 ms5 of latency) to obtain our starting SLOs.\n\nFor example, over four weeks, the API metrics show:\n\n- Total requests: 3,663,253\n- Total successful requests: 3,557,865 (97.123%)\n- 90th percentile latency: 432 ms\n- 99th percentile latency: 891 ms\n\nWe repeat this process for the other SLIs, and create a proposed SLO for the API, shown in Table 2-3.\n\n| SLO type | Objective |\n| --- | --- |\n| Availability | 97% |\n| Latency | 90% of requests < 450 ms |\n| Latency | 99% of requests < 900 ms |\n\n[Example SLO Document](https://sre.google/workbook/slo-document/) provides a full example of an SLO document. This document includes SLI implementations, which we omitted here for brevity.\n\nBased upon this proposed SLI, we can calculate our error budget over those four weeks, as shown in Table 2-4.\n\n| SLO | Allowed failures |\n| --- | --- |\n| 97% availability | 109,897 |\n| 90% of requests faster than 450 ms | 366,325 |\n| 99% of requests faster than 900 ms | 36,632 |\n\n# Choosing an Appropriate Time Window\n\nSLOs can be defined over various time intervals, and can use either a rolling window or a calendar-aligned window (e.g., a month). There are several factors you need to account for when choosing the window.\n\nRolling windows are more closely aligned with user experience: if you have a large outage on the final day of a month, your user doesn’t suddenly forget about it on the first day of the following month. We recommend defining this period as an integral number of weeks so it always contains the same number of weekends. For example, if you use a 30-day window, some periods might include four weekends while others include five weekends. If weekend traffic differs significantly from weekday traffic, your SLIs may vary for uninteresting reasons.\n\nCalendar windows are more closely aligned with business planning and project work. For example, you might evaluate your SLOs every quarter to determine where to focus the next quarter’s project headcount. Calendar windows also introduce some element of uncertainty: in the middle of the quarter, it is impossible to know how many requests you will receive for the rest of the quarter. Therefore, decisions made mid-quarter must speculate as to how much error budget you’ll spend in the remainder of the quarter.\n\nShorter time windows allow you to make decisions more quickly: if you missed your SLO for the previous week, then small course corrections—prioritizing relevant bugs, for example—can help avoid SLO violations in future weeks.\n\nLonger time periods are better for more strategic decisions: for example, if you could choose only one of three large projects, would you be better off moving to a high-availability distributed database, automating your rollout and rollback procedure, or deploying a duplicate stack in another zone? You need more than a week’s worth of data to evaluate large multiquarter projects; the amount of data required is roughly commensurate with the amount of engineering work being proposed to fix it.\n\nWe have found a four-week rolling window to be a good general-purpose interval. We complement this time frame with weekly summaries for task prioritization and quarterly summarized reports for project planning.\n\nIf the data source allows, you can then use this proposed SLO to calculate your actual SLO performance over that interval: if you set your initial SLO based on actual measurements, by design, you met your SLO. But we can also gather interesting information about the distribution. Were there any days during the past four weeks when our service did not meet its SLO? Do these days correlate with actual incidents? Was there (or should there have been) some action taken on those days in response to incidents?\n\nIf you do not have logs, metrics, or any other source of historical performance, you need to configure a data source. For example, as a low-fidelity solution for HTTP services, you can set up a remote monitoring service that performs some kind of periodic health check on the service (a ping or an HTTP GET) and reports back the number of successful requests. A number of online services can easily implement this solution.\n\n# Getting Stakeholder Agreement\n\nIn order for a proposed SLO to be useful and effective, you will need to get all stakeholders to agree to it:\n\n- The product managers have to agree that this threshold is good enough for users—performance below this value is unacceptably low and worth spending engineering time to fix.\n- The product developers need to agree that if the error budget has been exhausted, they will take some steps to reduce risk to users until the service is back in budget (as discussed in Establishing an Error Budget Policy ).\n- The team responsible for the production environment who are tasked with defending this SLO have agreed that it is defensible without Herculean effort, excessive toil, and burnout—all of which are damaging to the long-term health of the team and service.\n\nOnce all of these points are agreed upon, the hard part is done.6 You have started your SLO journey, and the remaining steps entail iterating from this starting point.\n\nTo defend your SLO you will need to set up monitoring and alerting (see [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/)) so that engineers receive timely notifications of threats to the error budget before those threats become deficits.\n\n##### Establishing an Error Budget Policy\n\nOnce you have an SLO, you can use the SLO to derive an error budget. In order to use this error budget, you need a policy outlining what to do when your service runs out of budget.\n\nGetting the [error budget policy](https://sre.google/workbook/error-budget-policy/) approved by all key stakeholders—the product manager, the development team, and the SREs—is a good test for whether the SLOs are fit for purpose:\n\n- If the SREs feel that the SLO is not defensible without undue amounts of toil, they can make a case for relaxing some of the objectives.\n- If the development team and product manager feel that the increased resources they’ll have to devote to fixing reliability will cause feature release velocity to fall below acceptable levels, then they can also argue for relaxing objectives. Remember that lowering the SLOs also lowers the number of situations to which the SREs will respond; the product manager needs to understand this tradeoff.\n- If the product manager feels that the SLO will result in a bad experience for a significant number of users before the error budget policy prompts anyone to address an issue, the SLOs are likely not tight enough.\n\nIf all three parties do not agree to enforce the error budget policy, you need to iterate on the SLIs and SLOs until all stakeholders are happy. Decide how to move forward and what you need to make the decision: more data, more resources, or a change to the SLI or SLO?\n\nWhen we talk about enforcing an error budget, we mean that once you exhaust your error budget (or come close to exhausting it), you should do something in order to restore stability to your system.\n\nTo make error budget enforcement decisions, you need to start with a written policy. This policy should cover the specific actions that must be taken when a service has consumed its entire error budget for a given period of time, and specify who will take them. Common owners and actions might include:\n\n- The development team gives top priority to bugs relating to reliability issues over the past four weeks.\n- The development team focuses exclusively on reliability issues until the system is within SLO. This responsibility comes with high-level approval to push back on external feature requests and mandates.\n- To reduce the risk of more outages, a production freeze halts certain changes to the system until there is sufficient error budget to resume changes.\n\nSometimes a service consumes the entirety of its error budget, but not all stakeholders agree that enacting the error budget policy is appropriate. If this happens, you need to return to the error budget policy approval stage.\n\n##### Documenting the SLO and Error Budget Policy\n\nAn appropriately defined SLO should be documented in a prominent location where other teams and stakeholders can review it. This documentation should include the following information:\n\n- The authors of the SLO, the reviewers (who checked it for technical accuracy), and the approvers (who made the business decision about whether it is the right SLO).\n- The date on which it was approved, and the date when it should next be reviewed.\n- A brief description of the service to give the reader context.\n- The details of the SLO: the objectives and the SLI implementations.\n- The details of how the error budget is calculated and consumed.\n- The rationale behind the numbers, and whether they were derived from experimental or observational data. Even if the SLOs are totally ad hoc, this fact should be documented so that future engineers reading the document don’t make bad decisions based upon ad hoc data.\n\nHow often you review an SLO document depends on the maturity of your SLO culture. When starting out, you should probably review the SLO frequently—perhaps every month. Once the appropriateness of the SLO becomes more established, you can likely reduce reviews to happen quarterly or even less frequently.\n\nThe error budget policy should also be documented, and should include the following information:\n\n- The policy authors, reviewers, and approvers\n- The date on which it was approved, and the date when it should next be reviewed\n- A brief description of the service to give the reader context\n- The actions to be taken in response to budget exhaustion\n- A clear escalation path to follow if there is disagreement on the calculation or whether the agreed-upon actions are appropriate in the circumstances\n- Depending upon the audience’s level of error budget experience and expertise, it may be beneficial to include an overview of error budgets.\n\nSee [Example SLO Document](https://sre.google/workbook/slo-document/) for an example of an SLO document and an error budget policy.\n\n##### Dashboards and Reports\n\nIn addition to the published SLO and error budget policy documents, it is useful to have reports and dashboards that provide in-time snapshots of the SLO compliance of your services, for communicating with other teams and for spotting problematic areas.\n\nThe report in Figure 2-3 shows the overall compliance of several services: whether they met all of their quarterly SLOs for the previous year (the numbers in parentheses indicate the number of objectives that were met, and the total number of objectives), and whether their SLIs were trending upward or downward in relation to the previous quarter and the same quarter last year.\n\nFigure 2-3. SLO compliance report\n\nIt is also useful to have dashboards showing SLI trends. These dashboards indicate if you are consuming budget at a higher-than-usual rate, or if there are patterns or trends you need to be aware of.\n\nThe dashboard in Figure 2-4 shows the error budget for a single quarter, midway through that quarter. Here we see that a single event consumed around 15% of the error budget over the course of two days.\n\nFigure 2-4. Error budget dashboard\n\nError budgets can be useful for quantifying these events—for example, “this outage consumed 30% of my quarterly error budget,” or “these are the top three incidents this quarter, ordered by how much error budget they consumed.”\n\n# Continuous Improvement of SLO Targets\n\nEvery service can benefit from continuous improvement. This is one of the central service goals in [ITIL](https://en.wikipedia.org/wiki/ITIL), for example.\n\nBefore you can improve your SLO targets, you need a source of information about user satisfaction with your service. There are a huge range of options:\n\n- You can count outages that were discovered manually, posts on public forums, support tickets, and calls to customer service.\n- You can attempt to measure user sentiment on social media.\n- You can add code to your system to periodically sample user happiness.\n- You can conduct face-to-face user surveys and samples.\n\nThe possibilities are endless, and the optimal method depends on your service. We recommend starting with a measurement that’s cheap to collect and iterating from that starting point. Asking your product manager to include reliability into their existing discussions with customers about pricing and functionality is an excellent place to start.\n\n##### Improving the Quality of Your SLO\n\nCount your manually detected outages. If you have support tickets, count those too. Look at periods when you had a known outage or incident. Check that these periods correlate with steep drops in error budget. Likewise, look at times when your SLIs indicate an issue, or your service fell out of SLO. Do these time periods correlate with known outages or an increase in support tickets? If you are familiar with statistical analysis, [Spearman’s rank correlation coefficient](https://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient) can be a useful way to quantify this relationship.\n\nFigure 2-5 shows a graph of the number of support tickets raised per day versus the measured loss in our error budget on that day. While not all tickets are related to reliability issues, there is a correlation between tickets and error budget loss. We see two outliers: one day with only 5 tickets, where we lost 10% of our error budget, and one day with 40 tickets, on which we lost no error budget. Both warrant closer investigation.\n\nFigure 2-5. Graph showing the number of support tickets per day versus the budget loss on that day\n\nIf some of your outages and ticket spikes are not captured in any SLI or SLO, or if you have SLI dips and SLO misses that don’t map to user-facing issues, this is a strong sign that your SLO lacks coverage. This situation is totally normal and should be expected. Your SLIs and SLOs should change over time as realities about the service they represent change. Don’t be afraid to examine and refine them over time!\n\nThere are several courses of action you can take if your SLO lacks coverage:\n\nChange your SLO\n\n- If your SLIs indicated a problem, but your SLOs didn’t prompt anyone to notice or respond, you may need to tighten your SLO.\n- If changing the SLO in either direction results in too many false positives or false negatives, then you also need to improve the SLI implementation.\n\nChange your SLI implementation\n\n- There are two ways to change your SLI implementation: either move the measurement closer to the user to improve the quality of the metric, or improve coverage so you capture a higher percentage of user interactions. For example:\n\nInstitute an aspirational SLO\n\n- Sometimes you determine that you need a tighter SLO to make your users happy, but improving your product to meet that SLO will take some time. If you implement the tighter SLO, you’ll be permanently out of SLO and subject to your error budget policy. In this situation, you can make the refined SLO an aspirational SLO —measured and tracked alongside your current SLO, but explicitly called out in your error budget policy as not requiring action. This way you can track your progress toward meeting the aspirational SLO, but you won’t be in a perpetual state of emergency.\n\nIterate\n\n- There are many different ways to iterate, and your review sessions will identify many potential improvements. Pick the option that’s most likely to give the highest return on investment. Especially during the first few iterations, err on the side of quicker and cheaper; doing so reduces the uncertainty in your metrics and helps you determine if you need more expensive metrics. Iterate as many times as you need to.\n\n# Decision Making Using SLOs and Error Budgets\n\nOnce you have SLOs, you can start using them for decision making.\n\nThe obvious decisions start from what to do when you’re not meeting your SLO—that is, when you’ve exhausted your error budget. As already discussed, the appropriate course of action when you exhaust your error budget should be covered by the error budget policy. Common policies include stopping feature launches until the service is once again within SLO or devoting some or all engineering time to working on reliability-related bugs.\n\nIn extreme circumstances, a team can declare an emergency with high-level approval to deprioritize all external demands (requests from other teams, for example) until the service meets exit criteria—typically that the service is within SLO and that you’ve taken steps to decrease the chances of a subsequent SLO miss. These steps may include improving monitoring, improving testing, removing dangerous dependencies, or rearchitecting the system to remove known failure types.\n\nYou can determine the scale of the incident according to the proportion of the error budget it consumed, and use this data to identify the most critical incidents that merit closer investigation.\n\nFor example, imagine a release of a new API version causes 100% `NullPointerException`s until the system can be reverted four hours later.8 Inspecting the raw server logs indicates that the issue caused 14,066 errors. Using the numbers from our 97% SLO earlier, and our budget of 109,897 errors, this single event used 13% of our error budget.\n\nOr perhaps the server on which our singly homed state database is stored fails, and restoring from backups takes 20 hours. We estimate (based upon historical traffic over that period) that this outage caused us 72,000 errors, or 65% of our error budget.\n\nImagine that our example company had only one server failure in five years, but typically experiences two or three bad releases that require rollbacks per year. We can estimate that, on average, bad pushes cost twice as much error budget as database failures. The numbers prove that addressing the release problem provides much more benefit than investing resources in investigating the server failure.\n\nIf the service is running flawlessly and needs little oversight, then it may be time to move the service to a less hands-on tier of support. You might continue to provide incident response management and high-level oversight, but you no longer need to be as closely involved with the product on a day-to-day basis. Therefore, you can focus your efforts on other systems that need more SRE support.\n\nTable 2-5 provides suggested courses of action based on three key dimensions:\n\n- Performance against SLO\n- The amount of toil required to operate the service\n- The level of customer satisfaction with the service\n\n| SLO | Toil | Customer satisfaction | Action |\n| --- | --- | --- | --- |\n| Met | Low | High | Choose to (a) relax release and deployment processes and increase velocity, or (b) step back from the engagement and focus engineering time on services that need more reliability. |\n| Met | Low | Low | Tighten SLO. |\n| Met | High | High | If alerting is generating false positives, reduce sensitivity. Otherwise, temporarily loosen the SLOs (or offload toil) and fix product and/or improve automated fault mitigation. |\n| Met | High | Low | Tighten SLO. |\n| Missed | Low | High | Loosen SLO. |\n| Missed | Low | Low | Increase alerting sensitivity. |\n| Missed | High | High | Loosen SLO. |\n| Missed | High | Low | Offload toil and fix product and/or improve automated fault mitigation. |\n\n# Advanced Topics\n\nOnce you have a healthy and mature SLO and error budget culture, you can continue to improve and refine how you measure and discuss the reliability of your services.\n\n##### Modeling User Journeys\n\nWhile all of the techniques discussed in this chapter will be beneficial to your organization, ultimately SLOs should center on improving the customer experience. Therefore, you should write SLOs in terms of user-centric actions.\n\nYou can use critical user journeys to help capture the experience of your customers. A critical user journey is a sequence of tasks that is a core part of a given user’s experience and an essential aspect of the service. For example, for an online shopping experience, critical user journeys might include:\n\n- Searching for a product\n- Adding a product to a shopping cart\n- Completing a purchase\n\nThese tasks will almost certainly not map well to your existing SLIs; each task requires multiple complex steps that can fail at any point, and inferring the success (or failure) of these actions from logs can be extremely difficult. (For example, how do you determine if the user failed at the third step, or if they simply got distracted by cat videos in another tab?) However, we need to identify what matters to the user before we can start making sure that aspect of the service is reliable.\n\nOnce you identify user-centric events, you can solve the problem of measuring them. You might measure them by joining distinct log events together, using advanced JavaScript probing, using client-side instrumentation, or using some other process. Once you can measure an event, it becomes just another SLI, which you can track alongside your existing SLIs and SLOs. Critical user journeys can improve your recall without affecting your precision.\n\n##### Grading Interaction Importance\n\nNot all requests are considered equal. The HTTP request from a mobile app that checks for account notifications (where notifications are generated by a daily pipeline) is important to your user, but is not as important as a billing-related request by your advertiser.\n\nWe need a way to distinguish certain classes of requests from others. You can use bucketing to accomplish this—that is, adding more labels to your SLIs, and then applying different SLOs to those different labels. Table 2-6 shows an example.\n\n| Customer tier | Availability SLO |\n| --- | --- |\n| Premium | 99.99% |\n| Free | 99.9% |\n\nYou can split requests by expected responsiveness, as shown in Table 2-7\n\n| Responsiveness | Latency SLO |\n| --- | --- |\n| Interactive (i.e., requests that block page load) | 90% of requests complete in 100 ms |\n| CSV download | 90% of downloads start within 5 s |\n\nIf you have the data available to apply your SLO to each customer independently, you can track the number of customers who are in SLO at any given time. Note that this number can be highly variable—customers who send a very low number of requests will have either 100% availability (because they were lucky enough to experience no failures) or very low availability (because the one failure they experienced was a significant percentage of their requests). Individual customers can fail to meet their SLO for uninteresting reasons, but in aggregate, tracking problems that affect a wide number of customers’ SLO compliance can be a useful signal.\n\n##### Modeling Dependencies\n\nLarge systems have many components. A single system may have a presentation layer, an application layer, a business logic layer, and a data persistence layer. Each of these layers may consist of many services or microservices.\n\nWhile your prime concern is implementing a user-centric SLO that covers the entire stack, SLOs can also be a useful way to coordinate and implement reliability requirements between different components in the stack.\n\nFor example, if a single component is a critical dependency9 for a particularly high-value interaction, its reliability guarantee should be at least as high as the reliability guarantee of the dependent action. The team that runs that particular component needs to own and manage its service’s SLO in the same way as the overarching product SLO.\n\nIf a particular component has inherent reliability limitations, the SLO can communicate that limitation. If the user journey that depends upon it needs a higher level of availability than that component can reasonably provide, you need to engineer around that condition. You can either use a different component or add sufficient defenses (caching, offline store-and-forward processing, graceful degradation, etc.) to handle failures in that component.\n\nIt can be tempting to try to math your way out of these problems. If you have a service that offers 99.9% availability in a single zone, and you need 99.95% availability, simply deploying the service in two zones should solve that requirement. The probability that both services will experience an outage at the same time is so low that two zones should provide 99.9999% availability. However, this reasoning assumes that both services are wholly independent, which is almost never the case. The two instances of your app will have common dependencies, common failure domains, shared fate, and global control planes—all of which can cause an outage in both systems, no matter how carefully it is designed and managed. Unless each of these dependencies and failure patterns is carefully enumerated and accounted for, any such calculations will be deceptive.\n\nThere are two schools of thought regarding how an error budget policy should address a missed SLO when the failure is caused by a dependency that’s handled by another team:\n\n- Your team should not halt releases or devote more time to reliability, as your system didn’t cause the issue.\n- You should enact a change freeze in order to minimize the chances of future outages, regardless of the cause of that outage.\n\nThe second approach will make your users happier. You have some flexibility in how you apply this principle. Depending on the nature of the outage and dependency, freezing changes may not be practical. Decide what is most appropriate for your service and its dependencies, and record that decision for posterity in your documented error budget. For an example of how this might work in practice, see the example error budget policy in [Example Error Budget Policy](https://sre.google/workbook/error-budget-policy/).\n\n##### Experimenting with Relaxing Your SLOs\n\nYou may want to experiment with the reliability of your application and measure which changes in reliability (e.g., adding latency into page load times) have a measurably adverse impact on user behavior (e.g., percentage of users completing a purchase). We recommend performing this sort of analysis only if you are confident that you have error budget to burn. There are many subtle interactions between latency, availability, customers, business domains, and competition (or lack thereof). To make a choice to deliberately lower the perceived customer experience is a Rubicon to be crossed extremely thoughtfully, if at all.\n\nWhile this exercise might seem scary (nobody wants to lose sales!), the knowledge you can gain by performing such experiments will allow you to improve your service in ways that could lead to even better performance (and higher sales!) in the future. This process may allow you to mathematically identify a relationship between a key business metric (e.g., sales) and a measurable technical metric (e.g., latency). If it does, you have gained a very valuable piece of data you can use to make important engineering decisions for your service going forward.\n\nThis exercise should not be a one-time activity. As your service evolves, so will your customers’ expectations. Make sure you regularly review the ongoing validity of the relationship.\n\nThis sort of analysis is also risky because you can misinterpret the data you get. For example, if you artificially slow your pages down by 50 ms and notice that no corresponding loss in conversions occurs, you might conclude that your latency SLO is too strict. However, your users might be unhappy, but simply lacking an alternative to your service at the moment. As soon as a competitor comes along, your users will leave. Be sure you are measuring the correct indicators, and take appropriate precautions.\n\n# Conclusion\n\nEvery topic covered in this book can be tied back to SLOs. Now that you’ve read this chapter, we hope you’ll agree that even partly formalized SLOs (which clearly state your promises to users) offer a framework to discuss system behavior with greater clarity, and can help with pinpointing actionable remedies when services fail to meet expectations.\n\nTo summarize:\n\n- SLOs are the tool by which you measure your service’s reliability.\n- Error budgets are a tool for balancing reliability with other engineering work, and a great way to decide which projects will have the most impact.\n- You should start using SLOs and error budgets today.\n\nFor an example SLO document and an example error budget policy, see Appendixes [Example SLO Document](https://sre.google/workbook/slo-document/) and [Example Error Budget Policy](https://sre.google/workbook/error-budget-policy/).\n\n1A note on terminology: throughout this chapter, we use the word reliability to talk about how a service is performing with regard to all of its SLIs. This could be indicative of many things, such as availability or latency.\n\n2This is distinct from a service level agreement (SLA), which is a business contract that comes into effect when your users are so unhappy you have to compensate them in some fashion.\n\n3For more details about factoring dependencies into your service’s reliability, see Ben Treynor, Mike Dahlin, Vivek Rau, and Betsy Beyer, “The Calculus of Service Availability,” ACM Queue 15, no. 2 (2017), [https://queue.acm.org/detail.cfm?id=3096459](https://queue.acm.org/detail.cfm?id=3096459).\n\n4If you measure your SLO over a calendar period, such as a quarter-year, then you may not know how big your budget will be at the end of the quarter if it’s based upon unpredictable metrics such as traffic. See Choosing an Appropriate Time Window for more discussion about reporting periods.\n\n550 ms because users are unlikely to perceive a 50 ms change in latency, but the appropriate window obviously depends on the service and the users. A reporting service will be different from a real-time game.\n\n6Disclaimer: there may be more difficult tasks in your future.\n\n7Recall is the proportion of significantly user-impacting events that the SLI captures. Precision is the proportion of events captured by the SLI that were significantly user-impacting.\n\n8It is worth reiterating here that an error budget is an approximation of user satisfaction. A four-hour outage every 30 days would probably result in fewer unhappy users than four separate one-hour outages every 30 days, which in turn would cause fewer unhappy users than a constant error rate of 0.5%, but our error budget treats them the same. These thresholds will vary between services.\n\n9A dependency is critical if its unavailability means that your service is also unavailable.", "znaku_textu": 52249, "slov": 8428, "odkazu": 84, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:49", "sha256": "8abcc353bff1ad3052f3b620e432446cfd7760f31616879fea414604dd33c2cd", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://prometheus.io/", "https://en.wikipedia.org/wiki/ITIL", "https://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient", "https://queue.acm.org/detail.cfm?id=3096459", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/implementing-slos/", "titulek": "Google SRE - Continuous Improvement To Get Reliability", "h1": "Implementing SLOs", "popis": "Learn to use Service Level Objectives (SLOs) for continuous improvement in reliability and customer satisfaction, and discover the importance of SLOs.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/implementing-slos/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/implementing-slos/"}, "headline": "Implementing SLOs", "description": "Service level objectives (SLOs) specify a target level for the reliability of your service. Because SLOs are key to making data-driven decisions about reliability, they're at the core of SRE practices.", "image": "https://lh3.googleusercontent.com/ybtJ6StguyvFHIm7A2AlS3BcLKUy6DQCUHOHS-p0efcZcQvdY1ua1XXCZaKnPBcbekeulT72dIWWNNv3k1REJOTQS4KTWOjtbcx6IvA", "author": [{"@type": "Person", "name": "Steven Thurgood"}, {"@type": "Person", "name": "David Ferguson"}, {"@type": "Person", "name": "Alex Hidalgo"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Implementing SLOs"}, {"uroven": 2, "text": "Why SREs Need SLOs"}, {"uroven": 1, "text": "Getting Started"}, {"uroven": 5, "text": "Reliability Targets and Error Budgets"}, {"uroven": 5, "text": "What to Measure: Using SLIs"}, {"uroven": 6, "text": "Types of components"}, {"uroven": 1, "text": "A Worked Example"}, {"uroven": 5, "text": "Moving from SLI Specification to SLI Implementation"}, {"uroven": 6, "text": "API and HTTP server availability and latency"}, {"uroven": 6, "text": "Pipeline freshness, coverage, and correctness"}, {"uroven": 5, "text": "Measuring the SLIs"}, {"uroven": 6, "text": "Load balancer metrics"}, {"uroven": 6, "text": "Calculating the SLIs"}, {"uroven": 5, "text": "Using the SLIs to Calculate Starter SLOs"}, {"uroven": 1, "text": "Choosing an Appropriate Time Window"}, {"uroven": 1, "text": "Getting Stakeholder Agreement"}, {"uroven": 5, "text": "Establishing an Error Budget Policy"}, {"uroven": 5, "text": "Documenting the SLO and Error Budget Policy"}, {"uroven": 5, "text": "Dashboards and Reports"}, {"uroven": 1, "text": "Continuous Improvement of SLO Targets"}, {"uroven": 5, "text": "Improving the Quality of Your SLO"}, {"uroven": 1, "text": "Decision Making Using SLOs and Error Budgets"}, {"uroven": 1, "text": "Advanced Topics"}, {"uroven": 5, "text": "Modeling User Journeys"}, {"uroven": 5, "text": "Grading Interaction Importance"}, {"uroven": 5, "text": "Modeling Dependencies"}, {"uroven": 5, "text": "Experimenting with Relaxing Your SLOs"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Implementing SLOs\n\nBy Steven Thurgood and David Ferguson\n\nwith Alex Hidalgo and Betsy Beyer\n\nService level objectives (SLOs) specify a target level for the reliability of your service. Because SLOs are key to making data-driven decisions about reliability, they’re at the core of SRE practices. In many ways, this is the most important chapter in this book.\n\nOnce you’re equipped with a few guidelines, setting up initial SLOs and a process for refining them can be straightforward. [Chapter 4](https://sre.google/sre-book/service-level-objectives/) in our first book introduced the topic of SLOs and SLIs (service level indicators), and gave some advice on how to use them.\n\nAfter discussing the motivation behind SLOs and error budgets, this chapter provides a step-by-step recipe to get you started thinking about SLOs, and also some advice about how to iterate from there. We’ll then cover how to use SLOs to make effective business decisions, and explore some advanced topics. Finally, we’ll give you some examples of SLOs for different types of services and some pointers on how to create more sophisticated SLOs in specific situations.1\n\n## Why SREs Need SLOs\n\nEngineers are a scarce resource at even the largest organizations. Engineering time should be invested in the most important characteristics of the most important services. Striking the right balance between investing in functionality that will win new customers or retain current ones, versus investing in the reliability and scalability that will keep those customers happy, is difficult. At Google, we’ve learned that a well-thought-out and adopted SLO is key to making data-informed decisions about the opportunity cost of reliability work, and to determining how to appropriately prioritize that work.\n\nSREs’ core responsibilities aren’t merely to automate “all the things” and hold the pager. Their day-to-day tasks and projects are driven by SLOs: ensuring that SLOs are defended in the short term and that they can be maintained in the medium to long term. One could even claim that without SLOs, there is no need for SREs.\n\nSLOs are a tool to help determine what engineering work to prioritize. For example, consider the engineering tradeoffs for two reliability projects: automating rollbacks and moving to a replicated data store. By calculating the estimated impact on our error budget, we can determine which project is most beneficial to our users. See the section Decision Making Using SLOs and Error Budgets for more detail on this, and [“Managing Risk”](https://sre.google/sre-book/embracing-risk/\n#id-AnCDFmtB) in Site Reliability Engineering.\n\n# Getting Started\n\nAs a starting point for establishing a basic [set of SLOs](https://sre.google/workbook/slo-engineering-case-studies/), let’s assume that your service is some form of code that has been compiled and released and is running on networked infrastructure that users access via the web. Your system’s maturity level might be one of the following:\n\n- A greenfield development, with nothing currently deployed\n- A system in production with some monitoring to notify you when things go awry, but no formal objectives, no concept of an error budget, and an unspoken goal of 100% uptime\n- A running deployment with an SLO below 100%, but without a common understanding about its importance or how to leverage it to make continuous improvement choices—in other words, an SLO without teeth\n\nIn order to adopt an error budget-based approach to Site Reliability Engineering, you need to reach a state where the following hold true:\n\n- There are SLOs that all stakeholders in the organization have approved as being fit for the product.\n- The people responsible for ensuring that the service meets its SLO have agreed that it is possible to meet this SLO under normal circumstances.\n- The organization has committed to using the error budget for decision making and prioritizing. This commitment is formalized in an error budget policy.\n- There is a process in place for refining the SLO.\n\nOtherwise, you won’t be able to adopt an error budget–based approach to reliability. SLO compliance will simply be another KPI (key performance indicator) or reporting metric, rather than a decision-making tool.\n\n##### Reliability Targets and Error Budgets\n\nThe first step in formulating appropriate SLOs is to talk about what an SLO should be, and what it should cover.\n\nAn SLO sets a target level of reliability for the service’s customers. Above this threshold, almost all users should be happy with your service (assuming they are otherwise happy with the utility of the service).2 Below this threshold, users are likely to start complaining or to stop using the service. Ultimately, user happiness is what matters—happy users use the service, generate revenue for your organization, place low demands on your customer support teams, and recommend the service to their friends. We keep our services reliable to keep our customers happy.\n\nCustomer happiness is a rather fuzzy concept; we can’t measure it precisely. Often we have very little visibility into it at all, so how do we begin? What do we use for our first SLO?\n\nOur experience has shown that 100% reliability is the wrong target:\n\n- If your SLO is aligned with customer satisfaction, 100% is not a reasonable goal. Even with redundant components, automated health checking, and fast failover, there is a nonzero probability that one or more components will fail simultaneously, resulting in less than 100% availability.\n- Even if you could achieve 100% reliability within your system, your customers would not experience 100% reliability. The chain of systems between you and your customers is often long and complex, and any of these components can fail. 3 This also means that as you go from 99% to 99.9% to 99.99% reliability, each extra nine comes at an increased cost, but the marginal utility to your customers steadily approaches zero.\n- If you do manage to create an experience that is 100% reliable for your customers, and want to maintain that level of reliability, you can never update or improve your service. The number one source of outages is change: pushing new features, applying security patches, deploying new hardware, and scaling up to meet customer demand will impact that 100% target. Sooner or later, your service will stagnate and your customers will go elsewhere, which is not great for anyone’s bottom line.\n- An SLO of 100% means you only have time to be reactive. You literally cannot do anything other than react to < 100% availability, which is guaranteed to happen. Reliability of 100% is not an engineering culture SLO—it’s an operations team SLO.\n\nOnce you have an SLO target below 100%, it needs to be owned by someone in the organization who is empowered to make tradeoffs between feature velocity and reliability. In a small organization, this may be the CTO; in larger organizations, this is normally the product owner (or product manager).\n\n##### What to Measure: Using SLIs\n\nOnce you agree that 100% is the wrong number, how do you determine the right number? And what are you measuring, anyway? Here, [service level indicators](https://sre.google/sre-book/service-level-objectives/) come into play: an SLI is an indicator of the level of service that you are providing.\n\nWhile many numbers can function as an SLI, we generally recommend treating the SLI as the ratio of two numbers: the number of good events divided by the total number of events. For example:\n\n- Number of successful HTTP requests / total HTTP requests (success rate)\n- Number of gRPC calls that completed successfully in < 100 ms / total gRPC requests\n- Number of search results that used the entire corpus / total number of search results, including those that degraded gracefully\n- Number of “stock check count” requests from product searches that used stock data fresher than 10 minutes / total number of stock check requests\n- Number of “good user minutes” according to some extended list of criteria for that metric / total number of user minutes\n\nSLIs of this form have a couple of particularly useful properties. The SLI ranges from 0% to 100%, where 0% means nothing works, and 100% means nothing is broken. We have found this scale intuitive, and this style lends itself easily to the concept of an error budget: the SLO is a target percentage and the error budget is 100% minus the SLO. For example, if you have a 99.9% success ratio SLO, then a service that receives 3 million requests over a four-week period had a budget of 3,000 (0.1%) errors over that period. If a single outage is responsible for 1,500 errors, that error costs 50% of the error budget.4\n\nIn addition, making all of your SLIs follow a consistent style allows you to take better advantage of tooling: you can write alerting logic, SLO analysis tools, error budget calculation, and reports to expect the same inputs: numerator, denominator, and threshold. Simplification is a bonus here.\n\nWhen attempting to formulate SLIs for the first time, you might find it useful to further divide SLIs into SLI specification and SLI implementation:\n\nSLI specification\n\n- The assessment of service outcome that you think matters to users, independent of how it is measured.\n- For example: Ratio of home page requests that loaded in < 100 ms\n\nSLI implementation\n\n- The SLI specification and a way to measure it.\n\n- For example:\n\nAs you can see, a single SLI specification might have multiple SLI implementations, each with its own set of pros and cons in terms of quality (how accurately they capture the experience of a customer), coverage (how well they capture the experience of all customers), and cost.\n\nYour first attempt at an SLI and SLO doesn’t have to be correct; the most important goal is to get something in place and measured, and to set up a feedback loop so you can improve. (We dive deeper into this topic in Continuous Improvement of SLO Targets.)\n\nIn [our first book](https://sre.google/sre-book/table-of-contents/), we advise against picking an SLO based upon current performance, because this can commit you to unnecessarily strict SLOs. While that advice is true, your current performance can be a good place to start if you don’t have any other information, and if you have a good process for iterating in place (which we’ll cover later). However, don’t let current performance limit you as you refine your SLO: your customers will also come to expect your service to perform at its SLO, so if your service returns successful requests 99.999% of the time in less than 10 ms, any significant regression from that baseline may make them unhappy.\n\nTo create your first set of SLOs, you need to decide upon a few key SLI specifications that matter to your service. Availability and latency SLOs are pretty common; freshness, durability, correctness, quality, and coverage SLOs also have their place (we’ll talk more about those later).\n\nIf you are having trouble figuring out what sort of SLIs to start with, it helps to start simple:\n\n- Choose one application for which you want to define SLOs. If your product comprises many applications, you can add those later.\n- Decide clearly who the “users” are in this situation. These are the people whose happiness you are optimizing.\n- Consider the common ways your users interact with your system—common tasks and critical activities.\n- Draw a high-level architecture diagram of your system; show the key components, the request flow, the data flow, and the critical dependencies. Group these components into categories listed in the following section (there may be some overlap and ambiguity; use your intuition and don’t let perfect be the enemy of the good).\n\nYou should think carefully about exactly what you select as your SLIs, but you also shouldn’t overcomplicate things. Especially if you’re just starting your SLI journey, pick an aspect of your system that’s relevant but easy to measure—you can always iterate and refine later.\n\n###### Types of components\n\nThe easiest way to get started with setting SLIs is to abstract your system into a few common types of components. You can then use our list of suggested SLIs for each component to choose the ones most relevant to your service:\n\nRequest-driven\n\n- The user creates some type of event and expects a response. For example, this could be an HTTP service where the user interacts with a browser or an API for a mobile application.\n\nPipeline\n\n- A system that takes records as input, mutates them, and places the output somewhere else. This might be a simple process that runs on a single instance in real time, or a multistage batch process that takes many hours. Examples include:\n\nStorage\n\n- A system that accepts data (e.g., bytes, records, files, videos) and makes it available to be retrieved at a later date.\n\n# A Worked Example\n\nConsider a simplified architecture for a mobile phone game, shown in Figure 2-1.\n\nFigure 2-1. Architecture for an example mobile phone game\n\nThe app running on the user’s phone interacts with an HTTP API running in the cloud. The API writes state changes to a permanent storage system. A pipeline periodically runs over this data to generate league tables that provide high scores for today, this week, and all time. This data is written to a separate league table data store, and the results are available via the mobile app (for in-game scores) and a website. Users can upload custom avatars, which are used both in-game via the API and in the high score website, to the User Data table.\n\nGiven this setup, we can start thinking about how users interact with the system, and what sort of SLIs would measure the various aspects of a user’s experience.\n\nSome of these SLIs may overlap: a request-driven service may have a correctness SLI, a pipeline may have an availability SLI, and durability SLIs might be viewed as a variant on correctness SLIs. We recommend choosing a small number (five or fewer) of SLI types that represent the most critical functionality to your customers.\n\nIn order to capture both the typical user experience and the long tail, we also recommend using multiple grades of SLOs for some types of SLIs. For example, if 90% of users’ requests return within 100 ms, but the remaining 10% take 10 seconds, many users will be unhappy. A latency SLO can capture this user base by setting multiple thresholds: 90% of requests are faster than 100 ms, and 99% of requests are faster than 400 ms. This principle applies to all SLIs with parameters that measure user unhappiness.\n\nTable 2-1 provides some common SLIs for different types of services.\n\n| Type of service | Type of SLI | Description |\n| --- | --- | --- |\n| Request-driven | Availability | The proportion of requests that resulted in a successful response. |\n| Request-driven | Latency | The proportion of requests that were faster than some threshold. |\n| Request-driven | Quality | If the service degrades gracefully when overloaded or when backends are unavailable, you need to measure the proportion of responses that were served in an undegraded state. For example, if the User Data store is unavailable, the game is still playable but uses generic imagery. |\n| Pipeline | Freshness | The proportion of the data that was updated more recently than some time threshold. Ideally this metric counts how many times a user accessed the data, so that it most accurately reflects the user experience. |\n| Pipeline | Correctness | The proportion of records coming into the pipeline that resulted in the correct value coming out. |\n| Pipeline | Coverage | For batch processing, the proportion of jobs that processed above some target amount of data.\n For streaming processing, the proportion of incoming records that were successfully processed\n within some time window. |\n| Storage | Durability | The proportion of records written that can be successfully read. Take particular care with\n durability SLIs: the data that the user wants may be only a small portion of the data that is\n stored. For example, if you have 1 billion records for the previous 10 years, but the user wants\n only the records from today (which are unavailable), then they will be unhappy even though\n almost all of their data is readable. |\n\n##### Moving from SLI Specification to SLI Implementation\n\nNow that we know our SLI specifications, we need to start thinking about how to implement them.\n\nFor your first SLIs, choose something that requires a minimum of engineering work. If your web server logs are already available, but setting up probes would take weeks and instrumenting your JavaScript would take months, use the logs.\n\nYou need enough information to measure the SLI: for availability, you need the success/failure status; for slow requests, you need the time taken to serve the request. You may need to reconfigure your web server to record this information. If you’re using a cloud-based service, some of this information may already be available in a monitoring dashboard.\n\nThere are various options for SLI implementations for our example architecture, each with its own pros and cons. The following sections detail SLIs for the three types of components in our system.\n\n###### API and HTTP server availability and latency\n\nFor all of the considered SLI implementations, we base the response success on the HTTP status code. 5XX responses count against SLO, while all other requests are considered successful. Our availability SLI is the proportion of successful requests, and our latency SLIs are the proportion of requests that are faster than defined thresholds.\n\nYour SLIs should be specific and measurable. To summarize the list of potential candidates provided in What to Measure: Using SLIs, your SLIs can use one or more of the following sources:\n\n- Application server logs\n- Load balancer monitoring\n- Black-box monitoring\n- Client-side instrumentation\n\nOur example uses the load balancer monitoring, as the metrics are already available and provide SLIs that are closer to the user’s experience than those from the application server’s logs.\n\n###### Pipeline freshness, coverage, and correctness\n\nWhen our pipeline updates the league table, it records a watermark containing the timestamp of when the data was updated. Some example SLI implementations:\n\n- Run a periodic query across the league table, counting the total number of fresh records and the total number of records. This will treat each stale record as equally important, regardless of how many users saw the data.\n- Make all clients of the league table check the watermark when they request fresh data and increment a metric counter saying that data was requested. Increment another counter if the data was fresher than a predefined threshold.\n\nFrom these two options, our example uses the client-side implementation, as it gives SLIs that are much more closely correlated with user experience and are straightforward to add.\n\nTo calculate our coverage SLI, our pipeline exports the number of records that it should have processed and the number of records that it successfully processed. This metric may miss records that our pipeline did not know about due to misconfiguration.\n\nWe have a couple potential approaches to measure correctness:\n\n- Inject data with known outputs into the system, and count the proportion of times that the output matches our expectations.\n- Use a method to calculate correct output based on input that is distinct from our pipeline itself (and likely more expensive, and therefore not suitable for our pipeline). Use this to sample input/output pairs, and count the proportion of correct output records. This methodology assumes that creating such a system is both possible and practical.\n\nOur example bases its correctness SLI on some manually curated data in the game state database, with known good outputs that are tested every time the pipeline runs. Our SLI is the proportion of correct entries for our test data. In order for this SLI to be representative of the actual user experience, we need to make sure that our manually curated data is representative of real-world data.\n\n##### Measuring the SLIs\n\nFigure 2-2 shows how our white-box monitoring system collects metrics from the various components of the example application.\n\nFigure 2-2. How our monitoring system collects SLI metrics\n\nLet’s walk through an example of using metrics from our monitoring system to calculate our starter SLOs. While our example uses availability and latency metrics, the same principles apply to all other potential SLOs. For a full list of the metrics that our system uses, see [Example SLO Document](https://sre.google/workbook/slo-document/). All of our examples use [Prometheus notation](https://prometheus.io/).\n\n###### Load balancer metrics\n\nTotal requests by backend (`\"api\"` or `\"web\"`) and response code:\n\n```\nhttp_requests_total{host=\"api\", status=\"500\"}\n```\n\nTotal latency, as a cumulative histogram; each bucket counts the number of requests that took less than or equal to that time:\n\n```\nhttp_request_duration_seconds{host=\"api\", le=\"0.1\"}\nhttp_request_duration_seconds{host=\"api\", le=\"0.2\"}\nhttp_request_duration_seconds{host=\"api\", le=\"0.4\"}\n```\n\nGenerally speaking, it is better to count the slow requests than to approximate them with a histogram. But, because that information isn’t available, we use the histogram provided by our monitoring system. Another approach would be to base explicit slow request counts on the various slowness thresholds in the load balancer’s configuration (e.g., for thresholds of 100 ms and 500 ms). This strategy would provide more accurate numbers but require more configuration, which makes changing the thresholds retroactively harder.\n\n`http_request_duration_seconds{host=\"api\", le=\"0.1\"}\n http_request_duration_seconds{host=\"api\", le=\"0.5\"}`\n\n###### Calculating the SLIs\n\nUsing the preceding metrics, we can calculate our current SLIs over the previous seven days, as shown in Table 2-2.\n\n| Availability | `sum(rate(http_requests_total{host=\"api\", status!~\"5..\"}[7d]))` `/` `sum(rate(http_requests_total{host=\"api\"}[7d])` |\n| --- | --- |\n| Latency | `histogram_quantile(0.9, rate(http_request_duration_seconds_bucket[7d]))` `histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[7d]))` |\n\n##### Using the SLIs to Calculate Starter SLOs\n\nWe can round down these SLIs to manageable numbers (e.g., two significant figures of availability, or up to 50 ms5 of latency) to obtain our starting SLOs.\n\nFor example, over four weeks, the API metrics show:\n\n- Total requests: 3,663,253\n- Total successful requests: 3,557,865 (97.123%)\n- 90th percentile latency: 432 ms\n- 99th percentile latency: 891 ms\n\nWe repeat this process for the other SLIs, and create a proposed SLO for the API, shown in Table 2-3.\n\n| SLO type | Objective |\n| --- | --- |\n| Availability | 97% |\n| Latency | 90% of requests < 450 ms |\n| Latency | 99% of requests < 900 ms |\n\n[Example SLO Document](https://sre.google/workbook/slo-document/) provides a full example of an SLO document. This document includes SLI implementations, which we omitted here for brevity.\n\nBased upon this proposed SLI, we can calculate our error budget over those four weeks, as shown in Table 2-4.\n\n| SLO | Allowed failures |\n| --- | --- |\n| 97% availability | 109,897 |\n| 90% of requests faster than 450 ms | 366,325 |\n| 99% of requests faster than 900 ms | 36,632 |\n\n# Choosing an Appropriate Time Window\n\nSLOs can be defined over various time intervals, and can use either a rolling window or a calendar-aligned window (e.g., a month). There are several factors you need to account for when choosing the window.\n\nRolling windows are more closely aligned with user experience: if you have a large outage on the final day of a month, your user doesn’t suddenly forget about it on the first day of the following month. We recommend defining this period as an integral number of weeks so it always contains the same number of weekends. For example, if you use a 30-day window, some periods might include four weekends while others include five weekends. If weekend traffic differs significantly from weekday traffic, your SLIs may vary for uninteresting reasons.\n\nCalendar windows are more closely aligned with business planning and project work. For example, you might evaluate your SLOs every quarter to determine where to focus the next quarter’s project headcount. Calendar windows also introduce some element of uncertainty: in the middle of the quarter, it is impossible to know how many requests you will receive for the rest of the quarter. Therefore, decisions made mid-quarter must speculate as to how much error budget you’ll spend in the remainder of the quarter.\n\nShorter time windows allow you to make decisions more quickly: if you missed your SLO for the previous week, then small course corrections—prioritizing relevant bugs, for example—can help avoid SLO violations in future weeks.\n\nLonger time periods are better for more strategic decisions: for example, if you could choose only one of three large projects, would you be better off moving to a high-availability distributed database, automating your rollout and rollback procedure, or deploying a duplicate stack in another zone? You need more than a week’s worth of data to evaluate large multiquarter projects; the amount of data required is roughly commensurate with the amount of engineering work being proposed to fix it.\n\nWe have found a four-week rolling window to be a good general-purpose interval. We complement this time frame with weekly summaries for task prioritization and quarterly summarized reports for project planning.\n\nIf the data source allows, you can then use this proposed SLO to calculate your actual SLO performance over that interval: if you set your initial SLO based on actual measurements, by design, you met your SLO. But we can also gather interesting information about the distribution. Were there any days during the past four weeks when our service did not meet its SLO? Do these days correlate with actual incidents? Was there (or should there have been) some action taken on those days in response to incidents?\n\nIf you do not have logs, metrics, or any other source of historical performance, you need to configure a data source. For example, as a low-fidelity solution for HTTP services, you can set up a remote monitoring service that performs some kind of periodic health check on the service (a ping or an HTTP GET) and reports back the number of successful requests. A number of online services can easily implement this solution.\n\n# Getting Stakeholder Agreement\n\nIn order for a proposed SLO to be useful and effective, you will need to get all stakeholders to agree to it:\n\n- The product managers have to agree that this threshold is good enough for users—performance below this value is unacceptably low and worth spending engineering time to fix.\n- The product developers need to agree that if the error budget has been exhausted, they will take some steps to reduce risk to users until the service is back in budget (as discussed in Establishing an Error Budget Policy ).\n- The team responsible for the production environment who are tasked with defending this SLO have agreed that it is defensible without Herculean effort, excessive toil, and burnout—all of which are damaging to the long-term health of the team and service.\n\nOnce all of these points are agreed upon, the hard part is done.6 You have started your SLO journey, and the remaining steps entail iterating from this starting point.\n\nTo defend your SLO you will need to set up monitoring and alerting (see [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/)) so that engineers receive timely notifications of threats to the error budget before those threats become deficits.\n\n##### Establishing an Error Budget Policy\n\nOnce you have an SLO, you can use the SLO to derive an error budget. In order to use this error budget, you need a policy outlining what to do when your service runs out of budget.\n\nGetting the [error budget policy](https://sre.google/workbook/error-budget-policy/) approved by all key stakeholders—the product manager, the development team, and the SREs—is a good test for whether the SLOs are fit for purpose:\n\n- If the SREs feel that the SLO is not defensible without undue amounts of toil, they can make a case for relaxing some of the objectives.\n- If the development team and product manager feel that the increased resources they’ll have to devote to fixing reliability will cause feature release velocity to fall below acceptable levels, then they can also argue for relaxing objectives. Remember that lowering the SLOs also lowers the number of situations to which the SREs will respond; the product manager needs to understand this tradeoff.\n- If the product manager feels that the SLO will result in a bad experience for a significant number of users before the error budget policy prompts anyone to address an issue, the SLOs are likely not tight enough.\n\nIf all three parties do not agree to enforce the error budget policy, you need to iterate on the SLIs and SLOs until all stakeholders are happy. Decide how to move forward and what you need to make the decision: more data, more resources, or a change to the SLI or SLO?\n\nWhen we talk about enforcing an error budget, we mean that once you exhaust your error budget (or come close to exhausting it), you should do something in order to restore stability to your system.\n\nTo make error budget enforcement decisions, you need to start with a written policy. This policy should cover the specific actions that must be taken when a service has consumed its entire error budget for a given period of time, and specify who will take them. Common owners and actions might include:\n\n- The development team gives top priority to bugs relating to reliability issues over the past four weeks.\n- The development team focuses exclusively on reliability issues until the system is within SLO. This responsibility comes with high-level approval to push back on external feature requests and mandates.\n- To reduce the risk of more outages, a production freeze halts certain changes to the system until there is sufficient error budget to resume changes.\n\nSometimes a service consumes the entirety of its error budget, but not all stakeholders agree that enacting the error budget policy is appropriate. If this happens, you need to return to the error budget policy approval stage.\n\n##### Documenting the SLO and Error Budget Policy\n\nAn appropriately defined SLO should be documented in a prominent location where other teams and stakeholders can review it. This documentation should include the following information:\n\n- The authors of the SLO, the reviewers (who checked it for technical accuracy), and the approvers (who made the business decision about whether it is the right SLO).\n- The date on which it was approved, and the date when it should next be reviewed.\n- A brief description of the service to give the reader context.\n- The details of the SLO: the objectives and the SLI implementations.\n- The details of how the error budget is calculated and consumed.\n- The rationale behind the numbers, and whether they were derived from experimental or observational data. Even if the SLOs are totally ad hoc, this fact should be documented so that future engineers reading the document don’t make bad decisions based upon ad hoc data.\n\nHow often you review an SLO document depends on the maturity of your SLO culture. When starting out, you should probably review the SLO frequently—perhaps every month. Once the appropriateness of the SLO becomes more established, you can likely reduce reviews to happen quarterly or even less frequently.\n\nThe error budget policy should also be documented, and should include the following information:\n\n- The policy authors, reviewers, and approvers\n- The date on which it was approved, and the date when it should next be reviewed\n- A brief description of the service to give the reader context\n- The actions to be taken in response to budget exhaustion\n- A clear escalation path to follow if there is disagreement on the calculation or whether the agreed-upon actions are appropriate in the circumstances\n- Depending upon the audience’s level of error budget experience and expertise, it may be beneficial to include an overview of error budgets.\n\nSee [Example SLO Document](https://sre.google/workbook/slo-document/) for an example of an SLO document and an error budget policy.\n\n##### Dashboards and Reports\n\nIn addition to the published SLO and error budget policy documents, it is useful to have reports and dashboards that provide in-time snapshots of the SLO compliance of your services, for communicating with other teams and for spotting problematic areas.\n\nThe report in Figure 2-3 shows the overall compliance of several services: whether they met all of their quarterly SLOs for the previous year (the numbers in parentheses indicate the number of objectives that were met, and the total number of objectives), and whether their SLIs were trending upward or downward in relation to the previous quarter and the same quarter last year.\n\nFigure 2-3. SLO compliance report\n\nIt is also useful to have dashboards showing SLI trends. These dashboards indicate if you are consuming budget at a higher-than-usual rate, or if there are patterns or trends you need to be aware of.\n\nThe dashboard in Figure 2-4 shows the error budget for a single quarter, midway through that quarter. Here we see that a single event consumed around 15% of the error budget over the course of two days.\n\nFigure 2-4. Error budget dashboard\n\nError budgets can be useful for quantifying these events—for example, “this outage consumed 30% of my quarterly error budget,” or “these are the top three incidents this quarter, ordered by how much error budget they consumed.”\n\n# Continuous Improvement of SLO Targets\n\nEvery service can benefit from continuous improvement. This is one of the central service goals in [ITIL](https://en.wikipedia.org/wiki/ITIL), for example.\n\nBefore you can improve your SLO targets, you need a source of information about user satisfaction with your service. There are a huge range of options:\n\n- You can count outages that were discovered manually, posts on public forums, support tickets, and calls to customer service.\n- You can attempt to measure user sentiment on social media.\n- You can add code to your system to periodically sample user happiness.\n- You can conduct face-to-face user surveys and samples.\n\nThe possibilities are endless, and the optimal method depends on your service. We recommend starting with a measurement that’s cheap to collect and iterating from that starting point. Asking your product manager to include reliability into their existing discussions with customers about pricing and functionality is an excellent place to start.\n\n##### Improving the Quality of Your SLO\n\nCount your manually detected outages. If you have support tickets, count those too. Look at periods when you had a known outage or incident. Check that these periods correlate with steep drops in error budget. Likewise, look at times when your SLIs indicate an issue, or your service fell out of SLO. Do these time periods correlate with known outages or an increase in support tickets? If you are familiar with statistical analysis, [Spearman’s rank correlation coefficient](https://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient) can be a useful way to quantify this relationship.\n\nFigure 2-5 shows a graph of the number of support tickets raised per day versus the measured loss in our error budget on that day. While not all tickets are related to reliability issues, there is a correlation between tickets and error budget loss. We see two outliers: one day with only 5 tickets, where we lost 10% of our error budget, and one day with 40 tickets, on which we lost no error budget. Both warrant closer investigation.\n\nFigure 2-5. Graph showing the number of support tickets per day versus the budget loss on that day\n\nIf some of your outages and ticket spikes are not captured in any SLI or SLO, or if you have SLI dips and SLO misses that don’t map to user-facing issues, this is a strong sign that your SLO lacks coverage. This situation is totally normal and should be expected. Your SLIs and SLOs should change over time as realities about the service they represent change. Don’t be afraid to examine and refine them over time!\n\nThere are several courses of action you can take if your SLO lacks coverage:\n\nChange your SLO\n\n- If your SLIs indicated a problem, but your SLOs didn’t prompt anyone to notice or respond, you may need to tighten your SLO.\n- If changing the SLO in either direction results in too many false positives or false negatives, then you also need to improve the SLI implementation.\n\nChange your SLI implementation\n\n- There are two ways to change your SLI implementation: either move the measurement closer to the user to improve the quality of the metric, or improve coverage so you capture a higher percentage of user interactions. For example:\n\nInstitute an aspirational SLO\n\n- Sometimes you determine that you need a tighter SLO to make your users happy, but improving your product to meet that SLO will take some time. If you implement the tighter SLO, you’ll be permanently out of SLO and subject to your error budget policy. In this situation, you can make the refined SLO an aspirational SLO —measured and tracked alongside your current SLO, but explicitly called out in your error budget policy as not requiring action. This way you can track your progress toward meeting the aspirational SLO, but you won’t be in a perpetual state of emergency.\n\nIterate\n\n- There are many different ways to iterate, and your review sessions will identify many potential improvements. Pick the option that’s most likely to give the highest return on investment. Especially during the first few iterations, err on the side of quicker and cheaper; doing so reduces the uncertainty in your metrics and helps you determine if you need more expensive metrics. Iterate as many times as you need to.\n\n# Decision Making Using SLOs and Error Budgets\n\nOnce you have SLOs, you can start using them for decision making.\n\nThe obvious decisions start from what to do when you’re not meeting your SLO—that is, when you’ve exhausted your error budget. As already discussed, the appropriate course of action when you exhaust your error budget should be covered by the error budget policy. Common policies include stopping feature launches until the service is once again within SLO or devoting some or all engineering time to working on reliability-related bugs.\n\nIn extreme circumstances, a team can declare an emergency with high-level approval to deprioritize all external demands (requests from other teams, for example) until the service meets exit criteria—typically that the service is within SLO and that you’ve taken steps to decrease the chances of a subsequent SLO miss. These steps may include improving monitoring, improving testing, removing dangerous dependencies, or rearchitecting the system to remove known failure types.\n\nYou can determine the scale of the incident according to the proportion of the error budget it consumed, and use this data to identify the most critical incidents that merit closer investigation.\n\nFor example, imagine a release of a new API version causes 100% `NullPointerException`s until the system can be reverted four hours later.8 Inspecting the raw server logs indicates that the issue caused 14,066 errors. Using the numbers from our 97% SLO earlier, and our budget of 109,897 errors, this single event used 13% of our error budget.\n\nOr perhaps the server on which our singly homed state database is stored fails, and restoring from backups takes 20 hours. We estimate (based upon historical traffic over that period) that this outage caused us 72,000 errors, or 65% of our error budget.\n\nImagine that our example company had only one server failure in five years, but typically experiences two or three bad releases that require rollbacks per year. We can estimate that, on average, bad pushes cost twice as much error budget as database failures. The numbers prove that addressing the release problem provides much more benefit than investing resources in investigating the server failure.\n\nIf the service is running flawlessly and needs little oversight, then it may be time to move the service to a less hands-on tier of support. You might continue to provide incident response management and high-level oversight, but you no longer need to be as closely involved with the product on a day-to-day basis. Therefore, you can focus your efforts on other systems that need more SRE support.\n\nTable 2-5 provides suggested courses of action based on three key dimensions:\n\n- Performance against SLO\n- The amount of toil required to operate the service\n- The level of customer satisfaction with the service\n\n| SLO | Toil | Customer satisfaction | Action |\n| --- | --- | --- | --- |\n| Met | Low | High | Choose to (a) relax release and deployment processes and increase velocity, or (b) step back from the engagement and focus engineering time on services that need more reliability. |\n| Met | Low | Low | Tighten SLO. |\n| Met | High | High | If alerting is generating false positives, reduce sensitivity. Otherwise, temporarily loosen the SLOs (or offload toil) and fix product and/or improve automated fault mitigation. |\n| Met | High | Low | Tighten SLO. |\n| Missed | Low | High | Loosen SLO. |\n| Missed | Low | Low | Increase alerting sensitivity. |\n| Missed | High | High | Loosen SLO. |\n| Missed | High | Low | Offload toil and fix product and/or improve automated fault mitigation. |\n\n# Advanced Topics\n\nOnce you have a healthy and mature SLO and error budget culture, you can continue to improve and refine how you measure and discuss the reliability of your services.\n\n##### Modeling User Journeys\n\nWhile all of the techniques discussed in this chapter will be beneficial to your organization, ultimately SLOs should center on improving the customer experience. Therefore, you should write SLOs in terms of user-centric actions.\n\nYou can use critical user journeys to help capture the experience of your customers. A critical user journey is a sequence of tasks that is a core part of a given user’s experience and an essential aspect of the service. For example, for an online shopping experience, critical user journeys might include:\n\n- Searching for a product\n- Adding a product to a shopping cart\n- Completing a purchase\n\nThese tasks will almost certainly not map well to your existing SLIs; each task requires multiple complex steps that can fail at any point, and inferring the success (or failure) of these actions from logs can be extremely difficult. (For example, how do you determine if the user failed at the third step, or if they simply got distracted by cat videos in another tab?) However, we need to identify what matters to the user before we can start making sure that aspect of the service is reliable.\n\nOnce you identify user-centric events, you can solve the problem of measuring them. You might measure them by joining distinct log events together, using advanced JavaScript probing, using client-side instrumentation, or using some other process. Once you can measure an event, it becomes just another SLI, which you can track alongside your existing SLIs and SLOs. Critical user journeys can improve your recall without affecting your precision.\n\n##### Grading Interaction Importance\n\nNot all requests are considered equal. The HTTP request from a mobile app that checks for account notifications (where notifications are generated by a daily pipeline) is important to your user, but is not as important as a billing-related request by your advertiser.\n\nWe need a way to distinguish certain classes of requests from others. You can use bucketing to accomplish this—that is, adding more labels to your SLIs, and then applying different SLOs to those different labels. Table 2-6 shows an example.\n\n| Customer tier | Availability SLO |\n| --- | --- |\n| Premium | 99.99% |\n| Free | 99.9% |\n\nYou can split requests by expected responsiveness, as shown in Table 2-7\n\n| Responsiveness | Latency SLO |\n| --- | --- |\n| Interactive (i.e., requests that block page load) | 90% of requests complete in 100 ms |\n| CSV download | 90% of downloads start within 5 s |\n\nIf you have the data available to apply your SLO to each customer independently, you can track the number of customers who are in SLO at any given time. Note that this number can be highly variable—customers who send a very low number of requests will have either 100% availability (because they were lucky enough to experience no failures) or very low availability (because the one failure they experienced was a significant percentage of their requests). Individual customers can fail to meet their SLO for uninteresting reasons, but in aggregate, tracking problems that affect a wide number of customers’ SLO compliance can be a useful signal.\n\n##### Modeling Dependencies\n\nLarge systems have many components. A single system may have a presentation layer, an application layer, a business logic layer, and a data persistence layer. Each of these layers may consist of many services or microservices.\n\nWhile your prime concern is implementing a user-centric SLO that covers the entire stack, SLOs can also be a useful way to coordinate and implement reliability requirements between different components in the stack.\n\nFor example, if a single component is a critical dependency9 for a particularly high-value interaction, its reliability guarantee should be at least as high as the reliability guarantee of the dependent action. The team that runs that particular component needs to own and manage its service’s SLO in the same way as the overarching product SLO.\n\nIf a particular component has inherent reliability limitations, the SLO can communicate that limitation. If the user journey that depends upon it needs a higher level of availability than that component can reasonably provide, you need to engineer around that condition. You can either use a different component or add sufficient defenses (caching, offline store-and-forward processing, graceful degradation, etc.) to handle failures in that component.\n\nIt can be tempting to try to math your way out of these problems. If you have a service that offers 99.9% availability in a single zone, and you need 99.95% availability, simply deploying the service in two zones should solve that requirement. The probability that both services will experience an outage at the same time is so low that two zones should provide 99.9999% availability. However, this reasoning assumes that both services are wholly independent, which is almost never the case. The two instances of your app will have common dependencies, common failure domains, shared fate, and global control planes—all of which can cause an outage in both systems, no matter how carefully it is designed and managed. Unless each of these dependencies and failure patterns is carefully enumerated and accounted for, any such calculations will be deceptive.\n\nThere are two schools of thought regarding how an error budget policy should address a missed SLO when the failure is caused by a dependency that’s handled by another team:\n\n- Your team should not halt releases or devote more time to reliability, as your system didn’t cause the issue.\n- You should enact a change freeze in order to minimize the chances of future outages, regardless of the cause of that outage.\n\nThe second approach will make your users happier. You have some flexibility in how you apply this principle. Depending on the nature of the outage and dependency, freezing changes may not be practical. Decide what is most appropriate for your service and its dependencies, and record that decision for posterity in your documented error budget. For an example of how this might work in practice, see the example error budget policy in [Example Error Budget Policy](https://sre.google/workbook/error-budget-policy/).\n\n##### Experimenting with Relaxing Your SLOs\n\nYou may want to experiment with the reliability of your application and measure which changes in reliability (e.g., adding latency into page load times) have a measurably adverse impact on user behavior (e.g., percentage of users completing a purchase). We recommend performing this sort of analysis only if you are confident that you have error budget to burn. There are many subtle interactions between latency, availability, customers, business domains, and competition (or lack thereof). To make a choice to deliberately lower the perceived customer experience is a Rubicon to be crossed extremely thoughtfully, if at all.\n\nWhile this exercise might seem scary (nobody wants to lose sales!), the knowledge you can gain by performing such experiments will allow you to improve your service in ways that could lead to even better performance (and higher sales!) in the future. This process may allow you to mathematically identify a relationship between a key business metric (e.g., sales) and a measurable technical metric (e.g., latency). If it does, you have gained a very valuable piece of data you can use to make important engineering decisions for your service going forward.\n\nThis exercise should not be a one-time activity. As your service evolves, so will your customers’ expectations. Make sure you regularly review the ongoing validity of the relationship.\n\nThis sort of analysis is also risky because you can misinterpret the data you get. For example, if you artificially slow your pages down by 50 ms and notice that no corresponding loss in conversions occurs, you might conclude that your latency SLO is too strict. However, your users might be unhappy, but simply lacking an alternative to your service at the moment. As soon as a competitor comes along, your users will leave. Be sure you are measuring the correct indicators, and take appropriate precautions.\n\n# Conclusion\n\nEvery topic covered in this book can be tied back to SLOs. Now that you’ve read this chapter, we hope you’ll agree that even partly formalized SLOs (which clearly state your promises to users) offer a framework to discuss system behavior with greater clarity, and can help with pinpointing actionable remedies when services fail to meet expectations.\n\nTo summarize:\n\n- SLOs are the tool by which you measure your service’s reliability.\n- Error budgets are a tool for balancing reliability with other engineering work, and a great way to decide which projects will have the most impact.\n- You should start using SLOs and error budgets today.\n\nFor an example SLO document and an example error budget policy, see Appendixes [Example SLO Document](https://sre.google/workbook/slo-document/) and [Example Error Budget Policy](https://sre.google/workbook/error-budget-policy/).\n\n1A note on terminology: throughout this chapter, we use the word reliability to talk about how a service is performing with regard to all of its SLIs. This could be indicative of many things, such as availability or latency.\n\n2This is distinct from a service level agreement (SLA), which is a business contract that comes into effect when your users are so unhappy you have to compensate them in some fashion.\n\n3For more details about factoring dependencies into your service’s reliability, see Ben Treynor, Mike Dahlin, Vivek Rau, and Betsy Beyer, “The Calculus of Service Availability,” ACM Queue 15, no. 2 (2017), [https://queue.acm.org/detail.cfm?id=3096459](https://queue.acm.org/detail.cfm?id=3096459).\n\n4If you measure your SLO over a calendar period, such as a quarter-year, then you may not know how big your budget will be at the end of the quarter if it’s based upon unpredictable metrics such as traffic. See Choosing an Appropriate Time Window for more discussion about reporting periods.\n\n550 ms because users are unlikely to perceive a 50 ms change in latency, but the appropriate window obviously depends on the service and the users. A reporting service will be different from a real-time game.\n\n6Disclaimer: there may be more difficult tasks in your future.\n\n7Recall is the proportion of significantly user-impacting events that the SLI captures. Precision is the proportion of events captured by the SLI that were significantly user-impacting.\n\n8It is worth reiterating here that an error budget is an approximation of user satisfaction. A four-hour outage every 30 days would probably result in fewer unhappy users than four separate one-hour outages every 30 days, which in turn would cause fewer unhappy users than a constant error rate of 0.5%, but our error budget treats them the same. These thresholds will vary between services.\n\n9A dependency is critical if its unavailability means that your service is also unavailable.", "znaku_textu": 52249, "slov": 8428, "odkazu": 84, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/workbook/implementing-slos", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:28", "sha256": "8abcc353bff1ad3052f3b620e432446cfd7760f31616879fea414604dd33c2cd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://prometheus.io/", "https://en.wikipedia.org/wiki/ITIL", "https://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient", "https://queue.acm.org/detail.cfm?id=3096459", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/incident-response/", "titulek": "Google SRE - Root Cause Analysis for Probing Incident", "h1": "Incident Response", "popis": "Google and PagerDuty leverage root cause analysis in incident management. Learn from real-life case studies, and insights into incident response.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/incident-response/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/incident-response/"}, "headline": "Incident Response", "description": "The basic premise of incident management is to respond to an incident in a structured way. Large-scale incidents can be confusing; a structure that teams agree on beforehand can reduce chaos.", "author": [{"@type": "Person", "name": "Jennifer Mace"}, {"@type": "Person", "name": "Jelena Oertel"}, {"@type": "Person", "name": "Stephen Thorne"}, {"@type": "Person", "name": "Arup Chakrabarti (PagerDuty)"}, {"@type": "Person", "name": "Jian Ma"}, {"@type": "Person", "name": "Jessie Yang"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Incident Response"}, {"uroven": 2, "text": "Incident Management at Google"}, {"uroven": 5, "text": "Incident Command System"}, {"uroven": 5, "text": "Main Roles in Incident Response"}, {"uroven": 1, "text": "Case Studies"}, {"uroven": 5, "text": "Case Study 1: Software Bug—The Lights Are On but No One’s (Google) Home"}, {"uroven": 6, "text": "Context"}, {"uroven": 6, "text": "Incident"}, {"uroven": 6, "text": "Review"}, {"uroven": 5, "text": "Case Study 2: Service Fault—Cache Me If You Can"}, {"uroven": 6, "text": "Context"}, {"uroven": 6, "text": "Incident"}, {"uroven": 6, "text": "Review"}, {"uroven": 5, "text": "Case Study 3: Power Outage—Lightning Never Strikes Twice…Until It Does"}, {"uroven": 6, "text": "Context"}, {"uroven": 6, "text": "Incident"}, {"uroven": 6, "text": "Review"}, {"uroven": 5, "text": "Case Study 4: Incident Response at PagerDuty"}, {"uroven": 6, "text": "Major incident response at PagerDuty"}, {"uroven": 6, "text": "Tools used for incident response"}, {"uroven": 1, "text": "Putting Best Practices into Practice"}, {"uroven": 5, "text": "Incident Response Training"}, {"uroven": 5, "text": "Prepare Beforehand"}, {"uroven": 6, "text": "Decide on a communication channel"}, {"uroven": 6, "text": "Keep your audience informed"}, {"uroven": 6, "text": "Prepare a list of contacts"}, {"uroven": 6, "text": "Establish criteria for an incident"}, {"uroven": 5, "text": "Drills"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Incident Response\n\nBy Jennifer Mace, Jelena Oertel, Stephen Thorne,\nand Arup Chakrabarti (PagerDuty)\nwith Jian Ma and Jessie Yang\n\nEveryone wants their services to run smoothly all the time, but we live in an imperfect world in which outages do occur. What happens when a not-so-ordinary, urgent problem requires multiple individuals or teams to resolve it? You are suddenly faced with simultaneously managing the incident response and resolving the problem.\n\nResolving an incident means mitigating the impact and/or restoring the service to its previous condition. Managing an incident means coordinating the efforts of responding teams in an efficient manner and ensuring that communication flows both between the responders and to those interested in the incident’s progress. Many tech companies, including Google, have adopted and adapted best practices for managing incidents from [emergency response](https://sre.google/sre-book/emergency-response/) organizations, which have been using these practices for many years.\n\nThe basic premise of [incident management](https://sre.google/resources/practices-and-processes/incident-management-guide/) is to respond to an incident in a structured way. Large-scale incidents can be confusing; a structure that teams agree on beforehand can reduce chaos. Formulating rules about how to communicate and coordinate your efforts before disaster strikes allows your team to concentrate on resolving an incident when it occurs. If your team has already practiced and familiarized themselves with communication and coordination, they don’t need to worry about these factors during an incident.\n\nSetting up an incident response process doesn’t need to be a daunting task. There are a number of widely available resources that can provide some guidance, such as [Managing Incidents](https://sre.google/sre-book/managing-incidents/) in the first SRE Book. The basic principles of incident response include the following:\n\n- Maintain a clear line of command.\n- Designate clearly defined roles.\n- Keep a working record of debugging and mitigation as you go.\n- Declare incidents early and often.\n\nThis chapter shows how incident management is set up at Google and PagerDuty, and gives examples of where we got this process right and where we didn’t. The simple checklist in Putting Best Practices into Practicecan help you get started on creating your own incident response practice, if you don’t already have one.\n\n## Incident Management at Google\n\nIncident response provides a system for responding to and managing an incident. A framework and set of defined procedures allow a team to respond to an incident effectively and scale up their response. Google’s incident response system is based on the [Incident Command System (ICS)](https://en.wikipedia.org/wiki/Incident_Command_System).\n\n##### Incident Command System\n\nICS was established in 1968 by firefighters as a way to manage wildfires. This framework provides standardized ways to communicate and fill clearly specified roles during an incident. Based upon the success of the model, companies later adapted ICS to respond to computer and system failures. This chapter explores two such frameworks: [PagerDuty’s Incident Response process](https://response.pagerduty.com/about/) and Incident Management At Google ([IMAG](https://sre.google/sre-book/managing-incidents/)).\n\nIncident response frameworks have three common goals, also known as the “three Cs” (3Cs) of incident management:\n\n- Coordinate response effort.\n- Communicate between incident responders, within the organization, and to the outside world.\n- Maintain control over the incident response.\n\nWhen something goes wrong with incident response, the culprit is likely in one of these areas. Mastering the 3Cs is essential for effective incident response.\n\n##### Main Roles in Incident Response\n\nThe main roles in incident response are the Incident Commander (IC), Communications Lead (CL), and Operations or Ops Lead (OL). IMAG organizes these roles into a hierarchy: the IC leads the incident response, and the CL and OL report to the IC.\n\nWhen disaster strikes, the person who declares the incident typically steps into the IC role and directs the high-level state of the incident. The IC concentrates on the 3Cs and does the following:\n\n- Commands and coordinates the incident response, delegating roles as needed. By default, the IC assumes all roles that have not been delegated yet.\n- Communicates effectively.\n- Stays in control of the incident response.\n- Works with other responders to resolve the incident.\n\nThe IC may either hand off their role to someone else and assume the OL role, or assign the OL role to someone else. The OL works to respond to the incident by applying operational tools to mitigate or resolve the incident.\n\nWhile the IC and OL work on mitigating and resolving the incident, the CL is the public face of the [incident response team](https://sre.google/sre-book/managing-incidents/). The CL’s main duties include providing periodic updates to the incident response team and stakeholders, and managing inquiries about the incident.\n\nBoth the CL and OL may lead a team of people to help manage their specific areas of incident response. These teams can expand or contract as needed. If the incident becomes small enough, the CL role can be subsumed back into the IC role.\n\n# Case Studies\n\nThe following four large-scale incidents illustrate how incident response works in practice. Three of these case studies are from Google, and the last is a case study from PagerDuty, which provides perspective on how other organizations use ICS-derived frameworks. The Google examples start with an incident that wasn’t managed effectively, and progress to incidents that were managed well.\n\n##### Case Study 1: Software Bug—The Lights Are On but No One’s (Google) Home\n\nThis example shows how failing to declare an incident early on can leave a team without the tools to respond to an incident quickly and efficiently. While this incident was resolved without major calamity, early escalation would have produced a quicker, more organized response, and a better outcome.\n\n###### Context\n\nGoogle Home is a smart speaker and home assistant that responds to voice commands. The voice commands interact with Google Home’s software, which is called Google Assistant.\n\nInteracting with Google Home starts when a user says a hotword, a given phrase that triggers Google Assistant. Multiple users can use the same Google Home device by training the assistant to listen for a given hotword. The hotword model that identifies speakers is trained on the client, but the training data (i.e., the speaker recognition files) is stored on the server. The server handles bidirectional streaming of data. To handle overload during busy times, the server has a quota policy for Google Assistant. In order to protect servers from overly large request values, the quota limit is significantly higher than the baseline usage for Google Assistant on a given device.\n\nA bug in Google Assistant version 1.88 caused speaker recognition files to be fetched 50 times more often than expected, exceeding this quota. Initially, Google Home users in the central United States experienced only small traffic losses. As the rollout increased progressively to all Google Home devices, however, users lost half of their requests during the weekend of June 3, 2017.\n\n###### Incident\n\nAt 11:48 a.m. PST on Monday, May 22, Jasper, the developer on-call for Google Home, happened to be looking at the queries per second (QPS) graphs and noticed something strange: Google Assistant had been pinging training data every 30 minutes, instead of once per day as expected. He stopped the release of version 1.88, which had rolled out to 25% of users. He raised a bug—let’s call it bug 12345—with Google’s bug tracking system to explore why this was happening. On the bug, he noted that Google Assistant was pinging data 48 times a day, causing it to exceed its QPS capacity.\n\nAnother developer, Melinda, linked the issue to a previously reported bug, which we’ll call bug 67890: any time an app refreshed the device authentication and enrollment state, the speech processor restarted. This bug was slated to be fixed after the version 1.88 release, so the team requested a temporary increase in quota for the model to mitigate the overload from extra queries.\n\nThe version 1.88 release was started again and continued to roll out, reaching 50% of users by Wednesday, May 31. Unfortunately, the team later learned that bug 67890, while responsible for some extra traffic, was not the actual root cause of the more frequent fetches that Jasper had noticed.\n\nThat same morning, customers started reporting an issue to Google’s support team: any time someone said “OK Google” (or any other hotword to activate Google Home), the device responded with an error message. This issue prevented users from giving commands to Google Assistant. The team began to investigate what could be causing the errors that users reported. They suspected quota issues, so they requested another increase to the quota, which seemed to mitigate the problem.\n\nMeanwhile, the team continued to investigate bug 12345 to see what was triggering the errors. Although the quota connection was established early in the debugging process, miscommunication between the client and server developers had led developers down the wrong path during troubleshooting, and the full solution remained out of reach.\n\nThe team also puzzled over why Google Assistant’s traffic kept hitting quota limits. The client and server developers were confused by client-side errors that didn’t seem to be triggered by any problems on the server side. The developers added logging to the next release to help the team understand the errors better, and hopefully make progress in resolving the incident.\n\nBy Thursday, June 1, users reported that the issue had been resolved. No new issues were reported, so the version 1.88 release continued to roll out. However, the root cause of the original issue had not yet been identified.\n\nBy early Saturday morning, June 3, the version 1.88 release rollout surpassed 50%. The rollout was happening on a weekend, when developers were not readily available. The team had not followed the best practice of performing rollouts only during business days to ensure developers are around in case something goes wrong.\n\nWhen the version 1.88 release rollout reached 100% on Saturday, June 3, the client once more hit server limits for Google Assistant traffic. New reports from customers started coming in. Google employees reported that their Google Home devices were throwing errors. The Google Home support team received numerous customer phone calls, tweets, and Reddit posts about the issue, and Google Home’s help forum displayed [a growing thread](https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/googlehome/2uX6fX3MwTY/au7F4OXWCQAJ) discussing the issue. Despite all the user reports and feedback, the bug wasn’t escalated to a higher priority.\n\nOn Sunday, June 4, as the number of customer reports continued to increase, the support team finally raised the bug priority to the highest level. The team did not declare an incident, but continued to troubleshoot the issue via “normal” methods, using the bug tracking system for communication. The on-call developer noticed error rates in one of the datacenter clusters and pinged SRE, asking them to drain it. At the same time, the team submitted another request for a quota increase. Afterward, an engineer on the developer team noticed the drain had pushed errors into other cells, which provided additional evidence of quota issues. At 3:33 p.m., the developer team manager increased the quota for Google Assistant once again, and the impact on users stopped. The incident was over. The team identified the root cause (see the previous “Context” section) shortly thereafter.\n\n###### Review\n\nSome aspects of incident handling went really well, while others had room for improvement.\n\nFirst, the developers rallied on the weekend and provided valuable input to resolve the issue. This was both good and bad. While the team valued the time and effort these individuals contributed over the weekend, successful incident management shouldn’t rely on heroic efforts of individuals. What if the developers had been unreachable? At the end of the day, Google supports a good work-life balance—engineers shouldn’t be tapped during their free time to fix work-related problems. Instead, we should have conducted rollouts during business hours or organized an on-call rotation that provided paid coverage outside of business hours.\n\nNext, the team worked to mitigate the issue. Google always aims to first stop the impact of an incident, and then find the root cause (unless the root cause just happens to be identified early on). Once the issue is mitigated, it’s just as important to understand the root cause in order to prevent the issue from happening again. In this case, mitigation successfully stopped the impact on three separate occasions, but the team could only prevent the issue from recurring when they discovered the root cause. After the first mitigation, it would have been better to postpone the rollout until the root cause was fully determined, avoiding the major disruption that happened over the weekend.\n\nFinally, the team did not declare an incident when problems first appeared. Our experience shows that managed incidents are resolved faster. Declaring an incident early ensures that:\n\n- Miscommunication between the client and server developers is prevented.\n- Root-cause identification and incident resolution occur sooner.\n- Relevant teams are looped in earlier, making external communications faster and smoother.\n\nCentralized communication is an important principle of the IMAG protocol. For example, when disaster strikes, SREs typically gather in a “war room.” The war room can be a physical location like a conference room, or it can be virtual: teams might gather on an IRC channel or Hangout. The key here is to gather all the incident responders in one place and to communicate in real time to manage—and ultimately resolve—an incident.\n\n##### Case Study 2: Service Fault—Cache Me If You Can\n\nThe following incident illustrates what happens when a team of experts tries to debug a system with so many interactions that no single person can grasp all the details. Sound familiar?\n\n###### Context\n\nKubernetes is an open source container management system built collaboratively by many companies and individual contributors. Google Kubernetes Engine, or GKE, is a Google-managed system that creates, hosts, and runs Kubernetes clusters for users. This hosted version operates the control plane, while users upload and manage workloads in the way that suits them best.\n\nWhen a user first creates a new cluster, GKE fetches and initializes the Docker images their cluster requires. Ideally, these components are fetched and built internally so we can validate them. But because Kubernetes is an open source system, new dependencies sometimes slip in through the cracks.\n\n###### Incident\n\nOne Thursday at 6:41 a.m. PST, London’s on-call SRE for GKE, Zara, was paged for CreateCluster prober failures across several zones. No new clusters were being successfully created. Zara checked the prober dashboard and saw that failures were above 60% for two zones. She verified this issue was affecting user attempts to create new clusters, though traffic to existing clusters was not affected. Zara followed GKE’s documented procedure and declared an incident at 7:06 a.m.\n\nInitially, four people were involved in the incident:\n\n- Zara, who first noticed the problem, and was therefore the designated default Incident Commander\n- Two of Zara’s teammates\n- Rohit, the customer support engineer paged by the incident procedure\n\nSince Rohit was based in Zurich, Zara (the IC) opened a GKE Panic IRC channel where the team could debug together. While the other two SREs dug into monitoring and error messages, Zara explained the outage and its impact to Rohit. By 7:24 a.m., Rohit posted a notice to users that CreateCluster was failing in the Europe-West region. This was turning into a large incident.\n\nBetween 7 a.m. and 8:20 a.m., Zara, Rohit, and the others worked on troubleshooting the issue. They examined cluster startup logs, which revealed an error:\n\n```\nerror: failed to run Kubelet: cannot create certificate signing request: Post\nhttps://192.0.2.53/apis/certificates.k8s.io/v1beta1/certificatesigningrequests\n```\n\nThey needed to determine which part of the certificate creation failed. The SREs investigated the network, resource availability, and the certificate signing process. All seemed to work fine separately. At 8:22 a.m., Zara posted a summary of the investigation to the incident management system, and looked for a developer who could help her.\n\nThankfully, GKE had a developer on-call who could be paged for emergencies. The developer, Victoria, joined the channel. She asked for a tracking bug and requested that the team escalate the issue to the infrastructure on-call team.\n\nIt was now 8:45 a.m. The first Seattle SRE, Il-Seong, arrived at the office, lightly caffeinated and ready for the day. Il-Seong was a senior SRE with many years of experience in incident response. When he was informed about the ongoing incident, he jumped in to help. First, Il-Seong checked the day’s release against the timing of the alerts, and determined that the day’s release did not cause the incident. He then started a working document1 to collect notes. He suggested that Zara escalate the incident to the infrastructure, cloud networking, and compute engine teams to possibly eliminate those areas as root causes. As a result of Zara’s escalation, additional people joined the incident response:\n\n- The developer lead for GKE nodes\n- Cloud Networking on-call\n- Compute Engine on-call\n- Herais, another Seattle SRE\n\nAt 9:10 a.m., the incident channel had a dozen participants. The incident was 2.5 hours old, with no root cause and no mitigation. Communication was becoming a challenge. Normally, on-call handover from London to Seattle occurred at 10 a.m., but Zara decided to hand over incident command to Il-Seong before 10 a.m., since he had more experience with IMAG.\n\nAs Incident Commander, Il-Seong set up a formal structure to address the incident. He then designated Zara as Ops Lead and Herais as Communications (Comms) Lead. Rohit remained the External Communications Lead. Herais immediately sent an “all hands on deck” email to several GKE lists, including all developer leads, and asked experts to join the incident response.\n\nSo far, the incident responders knew the following:\n\n- Cluster creation failed where nodes attempted to register with the master.\n- The error message indicated the certificate signing module as the culprit.\n- All cluster creation in Europe was failing; all other continents were fine.\n- No other GCP services in Europe were seeing network or quota problems.\n\nThanks to the call for all hands on deck, Puanani, a GKE Security team member, joined the effort. She noticed the certificate signer was not starting. The certificate signer was trying to pull an image from DockerHub, and the image appeared to be corrupted. Victoria (the on-call GKE developer) ran Docker’s `pull` command for the image in two geographic locations. It failed when it ran on a cluster in Europe and succeeded on a cluster in the US. This indicated that the European cluster was the problem. At 9:56 a.m., the team had identified a plausible root cause.\n\nBecause DockerHub was an external dependency, mitigation and root causing would be especially challenging. The first option for mitigation was for someone at Docker to quickly fix the image. The second option was to reconfigure the clusters to fetch the image from a different location, such as Google Container Registry (GCR), Google’s secure image hosting system. All the other dependencies, including other references to the image, were located in GCR.\n\nIl-Seong assigned owners to pursue both options. He then delegated a team to investigate fixing the broken cluster. Discussion became too dense for IRC, so detailed debugging moved to the shared document, and IRC became the hub for decision making.\n\nFor the second option, pushing a new configuration meant rebuilding binaries, which took about an hour. At 10:59 a.m., when the team was 90% done rebuilding, they discovered another location that was using the bad image fetch path. In response, they had to restart the build.\n\nWhile the engineers on IRC worked on the two mitigation options, Tugay, an SRE, had an idea. Instead of rebuilding the configuration and pushing it out (a cumbersome and risky process), what if they intercepted Docker’s `pull` requests and substituted the response from Docker with an internal cached image? GCR had a mirror for doing precisely this. Tugay reached out to contacts on GCR’s SRE team, and they confirmed that the team could set `--registry-mirror=https://mirror.gcr.io` on the Docker configuration. Tugay started setting up this functionality and discovered that the mirror was already in place!\n\nAt 11:29 a.m., Tugay reported to IRC that these images were being pulled from the GCR mirror, not DockerHub. At 11:37 a.m., the Incident Commander paged GCR on-call. At 11:59 a.m., GCR on-call purged the corrupt image from their European storage layer. By 12:11 p.m., all European zones had fallen to 0% error.\n\nThe outage was over. All that remained was cleanup, and writing a truly epic postmortem.\n\nCreateCluster had failed in Europe for 6 hours and 40 minutes before it was fixed. In IRC, 41 unique users appeared throughout the incident, and IRC logs stretched to 26,000 words. The effort spun up seven IMAG task forces at various times, and as many as four worked simultaneously at any given time. On-calls were summoned from six teams, not including those from the “all hands on deck” call. The postmortem contained 28 action items.\n\n###### Review\n\nThe GKE CreateCluster outage was a large incident by anyone’s standards. Let’s explore what went well, and what could have been handled better.\n\n*What went well?* The team had several documented escalation paths and was familiar with incident response tactics. Zara, the GKE on-call, quickly verified that the impact was affecting actual customers. She then used an incident management system prepared beforehand to bring in Rohit, who communicated the outage to customers.\n\n*What could have been handled better?* The service itself had some areas of concern. Complexity and dependence on specialists were problematic. Logging was insufficient for diagnosis, and the team was distracted by the corruption on DockerHub, which was not the real issue.\n\nAt the beginning of the incident, the Incident Commander didn’t put a formal incident response structure in place. While Zara assumed this role and moved the conversation to IRC, she could have been much more proactive in coordinating information and making decisions. As a result, a handful of first responders pursued their own investigations without coordination. Il-Seong put a formal incident response structure in place two hours after the first page.\n\nFinally, the incident revealed a gap in GKE’s disaster readiness: the service didn’t have any early generic mitigations that would reduce user pain. Generic mitigations are actions that first responders take to alleviate pain, even before the root cause is fully understood. For example, responders could roll back a recent release when an outage is correlated with the release cycle, or reconfigure load balancers to avoid a region when errors are localized. It’s important to note that generic mitigations are blunt instruments and may cause other disruptions to the service. However, while they may have broader impact than a precise solution, they can be put in place quickly to stop the bleeding while the team discovers and addresses the root cause.\n\nLet’s look at the timeline of this incident again to see where a generic mitigation might have been effective:\n\n- *7 a.m. (Assessed impact).* Zara confirmed that users were affected by the outage.\n- *9:56 a.m. (Found possible cause).* Puanani and Victoria identified a rogue image.\n- *10:59 a.m. (Bespoke mitigation).* Several team members worked on rebuilding binaries to push a new configuration that would fetch images from a different location.\n- *11:59 a.m. (Found root cause and fixed the issue).* Tugay and GCR on-call disabled GCR caching and purged a corrupt image from their European storage layer.\n\nA generic mitigation after step 2 (found possible cause) would have been very useful here. If the responders had rolled back all images to a known good state once they discovered the issue’s general location, the incident would have been mitigated by 10 a.m. To mitigate an incident, you don’t have to fully understand the details—you only need to know the location of the root cause. Having the ability to mitigate an outage before its cause is fully understood is crucial for running robust services with high availability.\n\nIn this case, the responders would have benefited from some sort of tool that facilitated rollbacks. Mitigation tools do take engineering time to develop. The right time to create general-purpose mitigation tools is before an incident occurs, not when you are responding to an emergency. Browsing postmortems is a great way to discover mitigations and/or tools that would have been useful in retrospect, and build them into services so that you can better manage incidents in the future.\n\nIt’s important to remember that first responders must prioritize mitigation above all else, or time to resolution suffers. Having a generic mitigation in place, such as rollback and drain, speeds recovery and leads to happier customers. Ultimately, customers do not care whether or not you fully understand what caused an outage. What they want is to stop receiving errors.\n\nWith mitigation as top priority, an active incident should be addressed as follows:\n\n1. Assess the impact of the incident.\n2. Mitigate the impact.\n3. Perform a root-cause analysis of the incident.\n4. After the incident is over, fix what caused the incident and write a postmortem.\n\nAfterward, you can run incident response drills to exercise the vulnerabilities in the system, and engineers can work on projects to address these vulnerabilities.\n\n##### Case Study 3: Power Outage—Lightning Never Strikes Twice…Until It Does\n\nThe previous examples showed what can go wrong when you don’t have good incident response strategies in place. The next example illustrates an incident that was successfully managed. When you follow a well-defined and clear response protocol, you can handle even rare or unusual incidents with ease.\n\n###### Context\n\nPower grid events, such as lightning strikes, cause the power coming into a datacenter facility to vary wildly. Lightning strikes affecting the power grid are rare, but not unexpected. Google protects against sudden, unexpected power outages with backup generators and batteries, which are well tested and known to work in these scenarios.\n\nMany of Google’s servers have a large number of disks attached to them, with the disks located on a separate tray above or below the server. These trays have their own uninterruptible power supply (UPS) battery. When a power outage occurs, the backup generators activate but take a few minutes to start. During this period, the backup batteries attached to the servers and disk trays provide power until the backup generators are fully running, thereby preventing power grid events from impacting datacenter operation.\n\n###### Incident\n\nIn mid-2015, lightning struck the power grid near a Google datacenter in Belgium four times within two minutes. The datacenter’s backup generators activated to supply power to all the machines. While the backup generators were starting up, most of the servers ran on backup batteries for a few minutes.\n\nThe UPS batteries in the disk trays did not swap power usage to the backup batteries on the third and fourth lightning strikes because the strikes were too closely spaced. As a result, the disk trays lost power until the backup generators kicked in. The servers did not lose power, but were unable to access the disks that had power cycled.\n\nLosing a large number of disk trays on persistent disk storage resulted in read and write errors for many virtual machine (VM) instances running on Google Compute Engine (GCE). The Persistent Disk SRE on-call was immediately notified of these errors. Once the Persistent Disk SRE team established the impact, a major incident was declared and announced to all affected parties. The Persistent Disk SRE on-call assumed the role of Incident Commander.\n\nAfter an initial investigation and communication between stakeholders, we established that:\n\n- Each machine that lost a disk tray because of the temporary power outage needed to be rebooted.\n- While waiting for the reboot, some customer VMs had trouble reading and writing to their disks.\n- Any host that had both a disk tray and customer VMs could not simply be “rebooted” without losing the customer VMs that hadn’t been affected. Persistent Disk SRE asked GCE SRE to migrate unaffected VMs to other hosts.\n\nThe Persistent Disk SRE’s primary on-call retained the IC role, since that team had the best visibility into customer impact.\n\nOperations team members were tasked with the following objectives:\n\n- Safely restore power to use grid power instead of backup generators.\n- Restart all machines that were not hosting VMs.\n- Coordinate between Persistent Disk SRE and GCE SRE to safely move VMs away from the affected machines before restarting them.\n\nThe first two objectives were clearly defined, well understood, and documented. The datacenter ops on-call immediately started working to safely restore power, providing regular status reports to the IC. Persistent Disk SRE had defined procedures for restarting all machines not hosting virtual machines. A team member began restarting those machines.\n\nThe third objective was more vague and wasn’t covered by any existing procedures. The Incident Commander assigned a dedicated operations team member to coordinate with GCE SRE and Persistent Disk SRE. These teams collaborated to safely move VMs away from the affected machines so the affected machines could be rebooted. The IC closely monitored their progress and realized that this work called for new tools to be written quickly. The IC organized more engineers to report to the operations team so they could create the necessary tools.\n\nThe Communications Lead observed and asked questions about all incident-related activities, and was responsible for reporting accurate information to multiple audiences:\n\n- Company leaders needed information about the extent of the problem, and assurance that the problem was being addressed.\n- Teams with storage concerns needed to know when their storage would be fully available again.\n- External customers needed to be proactively informed about the problem with their disks in this cloud region.\n- Specific customers who had filed support tickets needed more information about the problems they were seeing, and advice on workarounds and timelines.\n\nAfter we mitigated the initial customer impact, we needed to do some follow-up, such as:\n\n- Diagnosing why the UPS used by the disk trays failed, and making sure that it doesn’t happen again.\n- Replacing the batteries in the datacenter that failed.\n- Manually clearing “stuck” operations caused by losing so many storage systems simultaneously.\n\nPost-incident analysis revealed that only a small number of writes—the writes pending on the machines that lost power during the incident—weren’t ever written to disk. Since Persistent Disk snapshots and all Cloud Storage data are stored in multiple datacenters for redundancy, only 0.000001% of data from running GCE machines was lost, and only data from running instances was at risk.\n\n###### Review\n\nBy declaring the incident early and organizing a response with clear leadership, a carefully managed group of people handled this complex incident effectively.\n\nThe Incident Commander delegated the normal problems of restoring power and rebooting servers to the appropriate Operations Lead. Engineers worked on fixing the issue and reported their progress back to the Operations Lead.\n\nThe more complex problem of meeting the needs of both GCE and Persistent Disk required coordinated decision making and interaction among multiple teams. The Incident Commander made sure to assign appropriate operations team members from both teams to the incident, and worked directly with them to drive toward a solution. The Incident Commander wisely focused on the most important aspect of the incident: addressing the needs of the impacted customers as quickly as possible.\n\n##### Case Study 4: Incident Response at PagerDuty\n\nby Arup Chakrabarti of PagerDuty\n\nPagerDuty has developed and refined our internal incident response practices over the course of several years. Initially, we staffed a permanent, company-wide Incident Commander and dedicated specific engineers per service to take part in incident response. As PagerDuty grew to over 400 employees and dozens of engineering teams, our Incident Response processes also changed. Every few months, we take a hard look at our processes, and update them to reflect business needs. Nearly everything we have learned is documented at [https://response.pagerduty.com.](https://response.pagerduty.com./) Our Incident Response processes are purposefully not static; they change and evolve just as our business does.\n\n###### Major incident response at PagerDuty\n\nTypically, small incidents require only a single on-call engineer to respond. When it comes to larger incidents, we place heavy emphasis on teamwork. An engineer shouldn’t feel alone in high-stress and high-impact scenarios. We use the following techniques to help promote teamwork:\n\nParticipating in simulation exercises\n\n- One way we teach teamwork is by participating in [Failure Friday](https://www.pagerduty.com/blog/failure-fridays-four-years/) . PagerDuty drew inspiration from [Netflix’s Simian Army](https://medium.com/netflix-techblog/the-netflix-simian-army-16e57fbab116) to create this program. Originally, Failure Friday was a manual failure injection exercise aimed at learning more about the ways our systems could break. Today, we also use this weekly exercise to recreate common problems in production and incident response scenarios.\n- Before Failure Friday starts, we nominate an Incident Commander (typically, a person training to become an IC). They are expected to behave and act like a real IC while conducting failure injection exercises. Throughout the drill, subject-matter experts use the same processes and vernacular they would use during an actual incident. This practice both familiarizes new on-call engineers with incident response language and processes and provides more seasoned on-call engineers with a refresher.\n\nPlaying time-bound simulation games\n\n- While Failure Friday exercises go a long way toward training engineers on different roles and processes, they can’t fully replicate the urgency of actual major incidents. We use simulation games with a time-bound urgency to capture that aspect of incident response.\n- [“Keep Talking and Nobody Explodes”](https://www.keeptalkinggame.com/) is one game we’ve leveraged heavily. It requires players to work together to defuse bombs within time limits. The stressful and communication-intensive nature of the game forces players to cooperate and work together effectively.\n\nLearning from previous incidents\n\n- Learning from previous incidents helps us respond better to major incidents in the future. To this end, we conduct and regularly review postmortems.\n- PagerDuty’s postmortem process involves open meetings and thorough documentation. By making this information easily accessible and discoverable, we aim to reduce the resolution time of future incidents, or prevent a future incident from happening altogether.\n- We also record all of the phone calls involved in a major incident so we can learn from the real-time communication feed.\n\nLet’s look at a recent incident in which PagerDuty had to leverage our incident response process. The incident occurred on October 6, 2017, and lasted more than 10 hours, but had very minimal customer impact.\n\n- *7:53 p.m.* A member of the PagerDuty SRE team was alerted that PagerDuty internal NTP servers were exhibiting clock drift. The on-call SRE validated that all automated recovery actions had been executed, and completed the mitigation steps in relevant runbooks. This work was documented in the SRE team’s dedicated Slack channel.\n- *8:20 p.m.* A member of PagerDuty Software Team A received an automated alert about clock drift errors in their services. Software Team A and the SRE team worked toward resolving the problem.\n- *9:17 p.m.* A member of PagerDuty Software Team B received an automated alert about clock drift errors on their services. The engineer from Team B joined the Slack channel where the issue was already being triaged and debugged.\n- *9:49 p.m.* The SRE on-call declared a major incident and alerted the Incident Commander on-call.\n- *9:55 p.m.* The IC assembled the response team, which included every on-call engineer that had a service dependent on NTP, and PagerDuty’s customer support on-call. The IC had the response team join the dedicated conference call and Slack channel. For the next eight hours, the response team worked on addressing and mitigating the issue. When the procedures in our runbooks didn’t resolve the issue, the response team started trying new recovery options in a methodical manner. During this time, we rotated on-call engineers and the IC every four hours. Doing so encouraged engineers to get rest and brought new ideas into the response team.\n- *5:33 a.m.* The on-call SRE made a configuration change to the NTP servers.\n- *6:13 a.m.* The IC validated that all services had recovered with their respective on-call engineers. Once validation was complete, the IC shut off the conference call and Slack channel and declared the incident complete. Given the wide impact of the NTP service, a postmortem was warranted. Before closing out the incident, the IC assigned the [postmortem analysis](https://sre.google/workbook/postmortem-analysis/) to the SRE team on-call for the service.\n\n###### Tools used for incident response\n\nOur Incident Response processes leverage three main tools:\n\nPagerDuty\n\n- We store all of our on-call information, service ownership, postmortems, incident metadata, and the like, in PagerDuty. This allows us to rapidly assemble the right team when something goes wrong.\n\nSlack\n\n- We maintain a dedicated channel (#incident-war-room) as a gathering place for all subject-matter experts and Incident Commanders. The channel is used mostly as an information ledger for the scribe, who captures actions, owners, and timestamps.\n\nConference calls\n\n- When asked to join any incident response, on-call engineers are required to dial in to a static conference call number. We prefer that all coordination decisions are made in the conference call, and that decision outcomes are recorded in Slack. We found this was the fastest way to make decisions. We also record every call to make sure that we can recreate any timeline in case the scribe misses important details.\n\nWhile Slack and conference calls are our communication channels of choice, you should use the communication method that works best for your company and its engineers.\n\nAt PagerDuty, how we handle incident response relates directly to the success of the company. Rather than facing such events unprepared, we purposefully prepare for incidents by conducting simulation exercises, reviewing previous incidents, and choosing the right tools to help us be resilient to any major incident that may come our way.\n\n# Putting Best Practices into Practice\n\nWe’ve seen examples of incidents that were handled well, and some that were not. By the time a pager alerts you to a problem, it’s too late to think about how to manage the incident. The time to start thinking about an incident management process is before an incident occurs. So how do you prepare and put theory into practice before disaster strikes? This section provides some recommendations.\n\n##### Incident Response Training\n\nWe highly recommend training responders to organize an incident so they have a pattern to follow in a real emergency. Knowing how to organize an incident, having a common language to use throughout the incident, and sharing the same expectations reduce the chance of miscommunication.\n\nThe full Incident Command System approach may be more than you need, but you can develop a framework for handling incidents by selecting the parts of the incident management process that are important to your organization. For example:\n\n- Let on-calls know they can delegate and escalate during an incident.\n- Encourage a mitigation-first response.\n- Define Incident Commander, Communications Lead, and Operations Lead roles.\n\nYou can adapt and summarize your incident response framework, and create a slide deck to present to new team members. We’ve learned that people are more receptive to [incident response training](https://sre.google/resources/practices-and-processes/anatomy-of-an-incident/) when they can connect the theory of incident response to actual scenarios and concrete actions. Therefore, be sure to include hands-on exercises and share what happened in past incidents, analyzing what went well and what didn’t go so well. You might also consider using external agencies that specialize in incident response classes and training.\n\n##### Prepare Beforehand\n\nIn addition to incident response training, it helps to prepare for an incident beforehand. Use the following tips and strategies to be better prepared.\n\n###### Decide on a communication channel\n\nDecide and agree on a communication channel (Slack, a phone bridge, IRC, HipChat, etc.) beforehand—no Incident Commander wants to make this decision during an incident. Practice using it so there are no surprises. If possible, pick a communications channel the team is already familiar with so that everyone on the team feels comfortable using it.\n\n###### Keep your audience informed\n\nUnless you acknowledge that an incident is happening and actively being addressed, people will automatically assume nothing is being done to resolve the issue. Similarly, if you forget to call off the response once the issue has been mitigated or resolved, people will assume the incident is ongoing. You can preempt this dynamic by keeping your audience informed throughout the incident with regular status updates. Having a prepared list of contacts (see the next tip) saves valuable time and ensures you don’t miss anyone.\n\nThink ahead about how you’ll draft, review, approve, and release public blog posts or press releases. At Google, teams seek guidance from the PR team. Also, prepare two or three ready-to-use templates for sharing information, making sure the on-call knows how to send them. No one wants to write these announcements under extreme stress with no guidelines. The templates make sharing information with the public easy and minimally stressful.\n\n###### Prepare a list of contacts\n\nHaving a list of people to email or page prepared beforehand saves critical time and effort. In Case Study 2: Service Fault—Cache Me If You Can, the Comms Lead made an “all hands on deck” call by sending an email to several GKE lists that were prepared beforehand.\n\n###### Establish criteria for an incident\n\nSometimes it’s clear that a paging issue is truly an incident. Other times, it’s not so clear. It’s helpful to have an established list of criteria for determining if an issue is indeed an incident. A team can come up with a solid list of criteria by looking at past outages, taking known high-risk areas into consideration.\n\nIn summary, it’s important to establish common ground for coordination and communication when responding to incidents. Decide on ways to communicate the incident, who your audience is, and who is responsible for what during an incident. These guidelines are easy to set up and have high impact on shortening the resolution time of an incident.\n\n##### Drills\n\nThe final step in the incident management process is practicing your incident management skills. By practicing during less critical situations, your team develops good habits and patterns of behavior for when lightning strikes—figuratively and literally. After introducing the theory of incident response through training, practice ensures that your incident response skills stay fresh.\n\nThere are several ways to conduct incident management drills. Google runs company-wide resilience testing (called Disaster Recovery Testing, or DiRT; see Kripa Krishnan’s article “Weathering the Unexpected”2), in which we create a controlled emergency that doesn’t actually impact customers. Teams respond to the controlled emergency as if it were a real emergency. Afterward, the teams review the emergency response procedures and discuss what happened. Accepting failure as a means of learning, finding value in gaps identified, and getting our leadership on board were key to successfully establishing the DiRT program at Google. On a smaller scale, we practice responding to specific incidents using exercises like Wheel of Misfortune (see [“Disaster Role Playing”](https://sre.google/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg) in Site Reliability Engineering).\n\nYou can also practice incident response by intentionally treating minor problems as major ones requiring a large-scale response. This lets your team practice with the procedures and tools in a real-world situation with lower stakes.\n\nDrills are a friendly way of trying out new incident response skills. Anyone on your team who could get swept into incident response—SREs, developers, and even customer support and marketing partners—should feel comfortable with these tactics.\n\nTo stage a drill, you can invent an outage and allow your team to respond to the incident. You can also create outages from postmortems, which contain plenty of ideas for incident management drills. Use real tools as much as possible to manage the incident. Consider breaking your test environment so the team can perform real troubleshooting using existing tools.\n\nAll these drills are far more useful if they’re run periodically. You can make drills impactful by following up each exercise with a report detailing what went well, what didn’t go well, and how things could have been handled better. The most valuable part of running a drill is examining their outcomes, which can reveal a lot about any gaps in incident management. Once you know what they are, you can work toward closing them.\n\n# Conclusion\n\nBe prepared for when disaster strikes. If your team practices and refreshes your incident response procedures regularly, you won’t panic when the inevitable outage occurs.\n\nThe circle of people you need to collaborate with during an incident expands with the size of the incident. When you’re working with people you don’t know, procedures help create the structure you need to quickly move toward a resolution. We strongly recommend establishing these procedures ahead of time when the world is not on fire. Regularly review and iterate on your incident management plans and playbooks.\n\nThe Incident Command System is a simple concept that is easily understood. It scales up or down according to the size of the company and the incident. Although it’s simple to understand, it isn’t easy to implement, especially in the middle of an incident when panic suddenly overtakes you. Staying calm and following the response structure during an emergency takes practice, and practice builds “muscle memory.” This gives you the confidence you’ll need for a real emergency.\n\nWe strongly recommend carving out some time in your team’s busy schedule to practice incident management on a regular basis. Secure support from leadership for dedicated practice time, and make sure they understand how incident response works in case you need to involve them in a real incident. Disaster preparedness can shave off valuable minutes or hours from response time and gives you a competitive edge. No company gets it right all the time—learn from your mistakes, move on, and do better the next time.\n\n1When three or more people work on an incident, it’s useful to start a collaborative document that lists working theories, eliminated causes, and useful debugging information, such as error logs and suspect graphs. The document preserves this information so it doesn’t get lost in the conversation.\n\n2Kripa Krishan, “Weathering the Unexpected,” Communications of the ACM 10, no. 9 (2012), [https://queue.acm.org/detail.cfm?id=2371516](https://queue.acm.org/detail.cfm?id=2371516).", "znaku_textu": 49069, "slov": 7633, "odkazu": 57, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:36", "sha256": "93051c32532a20c1aee3d6f9656d9dc04eb2c28da4f21e281138bc484fd0ddd6", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Incident_Command_System", "https://response.pagerduty.com/about/", "https://productforums.google.com/forum/", "https://response.pagerduty.com/", "https://www.pagerduty.com/blog/failure-fridays-four-years/", "https://medium.com/netflix-techblog/the-netflix-simian-army-16e57fbab116", "https://www.keeptalkinggame.com/", "https://queue.acm.org/detail.cfm?id=2371516", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/index/", "titulek": "Google SRE - Site Reliability Engineering Book Index", "h1": "Index", "popis": "Explore the Google SRE Book for key concepts, best practices, case studies, and real-world examples to enhance your understanding of SRE principles.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/index/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/index/"}, "headline": "Index", "description": "A list of all the major topics.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Index"}, {"uroven": 5, "text": "A"}, {"uroven": 5, "text": "B"}, {"uroven": 5, "text": "C"}, {"uroven": 5, "text": "D"}, {"uroven": 5, "text": "E"}, {"uroven": 5, "text": "F"}, {"uroven": 5, "text": "G"}, {"uroven": 5, "text": "H"}, {"uroven": 5, "text": "I"}, {"uroven": 5, "text": "J"}, {"uroven": 5, "text": "K"}, {"uroven": 5, "text": "L"}, {"uroven": 5, "text": "M"}, {"uroven": 5, "text": "N"}, {"uroven": 5, "text": "O"}, {"uroven": 5, "text": "P"}, {"uroven": 5, "text": "Q"}, {"uroven": 5, "text": "R"}, {"uroven": 5, "text": "S"}, {"uroven": 5, "text": "T"}, {"uroven": 5, "text": "U"}, {"uroven": 5, "text": "V"}, {"uroven": 5, "text": "W"}, {"uroven": 5, "text": "X"}, {"uroven": 5, "text": "Y"}], "markdown": "# Index\n\n##### A\n\n- abandoned phase (service lifecycle), SRE engagement in, [Phase 6: Abandoned](https://sre.google/workbook/engagement-model#phase-6-abandoned)\n- Abuse SRE and Common Abuse Tool (CAT) teams, Ares case study, [Case Study 1: Ares](https://sre.google/workbook/engagement-model/#case-study-1-ares)\n- access control policies for data processing pipelines, [Adhere to Access Control and Security Policies](https://sre.google/workbook/data-processing/#adhere-to-access-control-and-security-policies)\n- accidents, view in DevOps, [Accidents Are Normal](https://sre.google/workbook/how-sre-relates/#accidents-are-normal)\n- ACM Queue article on Canary Analysis service, [Conclusion](https://sre.google/workbook/configuration-design/#conclusion)\n- action items in postmortems, [Key action item characteristics missing](https://sre.google/workbook/postmortem-culture/#key-action-item-characteristics-missing)\n- active development phase (service lifecycle), SRE engagement in, [Phase 2: Active Development](https://sre.google/workbook/engagement-model/#phase-2-active-development)\n- ADKAR, [Background](https://sre.google/workbook/organizational-change/#background-2) , [The Prosci ADKAR Model](https://sre.google/workbook/organizational-change/#the-prosci-adkar-model)\n- AdMob and AdSense systems, [What we decided to do](https://sre.google/workbook/simplicity/#what-we-decided-to-do)\n- AdWords NALSD example, [AdWords Example](https://sre.google/workbook/non-abstract-design/#adwords-example)\n- alerts\n- analysis of postmortems, [Postmortem analysis](https://sre.google/workbook/postmortem-culture/#postmortem-analysis) , [Results of Postmortem Analysis](https://sre.google/workbook/postmortem-analysis/#results-of-postmortem-analysis)\n- animated (undesirable) language in postmortems, [Animated language](https://sre.google/workbook/postmortem-culture/#animated-language)\n- anycast, [Google Cloud Load Balancing](https://sre.google/workbook/managing-load/#google-cloud-load-balancing)\n- APIs\n- application errors in data processing pipeline, [Pipeline application or configuration](https://sre.google/workbook/data-processing/#pipeline-application-or-configuration)\n- Application Readiness Reviews (ARRs), [Aligning Goals](https://sre.google/workbook/engagement-model/#setting-shared-goals-and-expectations)\n- architecture and design phase (service lifecycle), SRE engagement in, [Phase 1: Architecture and Design](https://sre.google/workbook/engagement-model/#phase-1-architecture-and-design)\n- architecture and design, SRE team partnering on, [Partnering on architecture](https://sre.google/workbook/team-lifecycles#partnering-on-architecture)\n- architectures (opaque), troubleshooting for, [Troubleshooting for Opaque Architectures](https://sre.google/workbook/eliminating-toil/#troubleshooting-for-opaque-architectures)\n- artificial load generation, [Artificial Load Generation](https://sre.google/workbook/canarying-releases/#artificial-load-generation)\n- aspirational SLOs, [Improving the Quality of Your SLO](https://sre.google/workbook/implementing-slos/#improving-the-quality-of-your-slo)\n- authoring of postmortems, including all participants in, [Include all incident participants in postmortem authoring](https://sre.google/workbook/postmortem-culture/#include-all-incident-participants-in-postmortem-authoring)\n- autohealing, [Handling Unhealthy Machines](https://sre.google/workbook/managing-load/#handling-unhealthy-machines)\n- automated builds, [Release Engineering Principles](https://sre.google/workbook/canarying-releases/#release-engineering-principles)\n- automated health checking, [New bugs](https://sre.google/workbook/on-call/#new-bugs)\n- automation\n- autoscaling, [Autoscaling](https://sre.google/workbook/managing-load/#autoscaling)\n- availability\n- availability SLI, [A Worked Example](https://sre.google/workbook/implementing-slos/#a-worked-example)\n\n##### B\n\n- backend services, avoiding overloading in autoscaling, [Avoiding Overloading Backends](https://sre.google/workbook/managing-load/#avoiding-overloading-backends)\n- balance between on-call and project work for SREs, [Recap of “Being On-Call” Chapter of First SRE Book](https://sre.google/workbook/on-call/#recap-of-being-on-call-chapter-of-first-sre-book)\n- baseline of a functional team, [Reducing Overload and Restoring Team Health](https://sre.google/workbook/overload/#reducing-overload-and-restoring-team-health)\n- Beyond Corp network security protocol, [Problem Statement](https://sre.google/workbook/eliminating-toil/#problem-statement)\n- BGP (Border Gateway Protocol), [Anycast](https://sre.google/workbook/managing-load/#anycast)\n- blameful language, mitigating damage of, [Failing to reinforce the culture](https://sre.google/workbook/postmortem-culture/#failing-to-reinforce-the-culture)\n- blameless language, [Use blameless language](https://sre.google/workbook/postmortem-culture/#use-blameless-language)\n- blameless postmortems, [Compare and Contrast](https://sre.google/workbook/how-sre-relates/#compare-and-contrast) , [It’s Better to Fix It Yourself; Don’t Blame Someone Else](https://sre.google/workbook/how-sre-relates/#its-better-to-fix-it-yourself-dont-blame-someone-else) , [Postmortem Culture: Learning from Failure](https://sre.google/workbook/postmortem-culture/#postmortem-culture-learning-from-failure)\n- blue/green deployment, [Blue/Green Deployment](https://sre.google/workbook/canarying-releases/#blue-green-deployment)\n- boiling the frog, [Vigilance](https://sre.google/workbook/on-call/#vigilance)\n- Borg, [Background](https://sre.google/workbook/simplicity/#background-2)\n- breaks (long-term) in on-call scheduling, [Plan for long-term breaks](https://sre.google/workbook/on-call/#plan-for-long-term-breaks)\n- Bridges Transition Model, [Emotion-Based Models](https://sre.google/workbook/organizational-change/#emotion-based-models) , [How These Theories Apply to SRE](https://sre.google/workbook/organizational-change/#how-these-theories-apply-to-sre)\n- bucketing, using with SLIs, [Grading Interaction Importance](https://sre.google/workbook/implementing-slos/#grading-interaction-importance)\n- bugs\n- burn rate (error budgets)\n- business intelligence, [Data Analytics](https://sre.google/workbook/data-processing/#data-analytics)\n- business priorities, communicating between SRE and developer teams, [Communicating Business and Production Priorities](https://sre.google/workbook/engagement-model/#communicating-business-and-production-priorities)\n- business processes producing toil, [Business Processes](https://sre.google/workbook/eliminating-toil/#business-processes)\n\n##### C\n\n- calculations support (monitoring systems), [Calculations](https://sre.google/workbook/monitoring/#calculations)\n- CALMS (Culture, Automation, Lean, Measurement, and Sharing), [Background on DevOps](https://sre.google/workbook/how-sre-relates/#background-on-devops)\n- canarying releases, [Canarying Releases](https://sre.google/workbook/eliminating-toil/#canarying-releases) , [Identification delay](https://sre.google/workbook/on-call/#identification-delay)\n- capacity planning, [Cost Engineering and Capacity Planning](https://sre.google/workbook/eliminating-toil/#cost-engineering-and-capacity-planning)\n- CCN (cyclomatic complexity number), [Measuring Complexity](https://sre.google/workbook/simplicity/#measuring-complexity)\n- change control, [Organizational Change Management in SRE](https://sre.google/workbook/organizational-change/#organizational-change-management-in-sre)\n- change management\n- changes\n- checklist for new SRE team training, [Training roadmap](https://sre.google/workbook/on-call/#training-roadmap)\n- checklist for postmortems, [Postmortem checklist](https://sre.google/workbook/postmortem-culture/#postmortem-checklist)\n- checkpointing in data processing pipelines, [Checkpointing](https://sre.google/workbook/data-processing/#checkpointing)\n- clarity in good postmortem example, [Clarity](https://sre.google/workbook/postmortem-culture/#clarity)\n- click-through rate (CTR), [AdWords Example](https://sre.google/workbook/non-abstract-design/#adwords-example)\n- ClickMap (AdWords example), [LogJoiner](https://sre.google/workbook/non-abstract-design/#logjoiner)\n- client behavior changes, resulting in bugs, [New bugs](https://sre.google/workbook/on-call/#new-bugs)\n- Clos network topology, [Background](https://sre.google/workbook/eliminating-toil/#background-1)\n- cloud environment\n- code\n- codelabs, [Training roadmap](https://sre.google/workbook/on-call/#training-roadmap)\n- collaboration in DevOps and SRE, [Compare and Contrast](https://sre.google/workbook/how-sre-relates/#compare-and-contrast)\n- colocation facilities (colos), racks of proxy/cache machines in, [Case Study](https://sre.google/workbook/postmortem-culture/#case-study)\n- communication\n- Communications Lead (CL), [Incident](https://sre.google/workbook/incident-response/#incident)\n- completeness SLO (Spotify case study), [Completeness](https://sre.google/workbook/data-processing/#completeness)\n- complexity\n- complexity toil, [Configuration-Induced Toil](https://sre.google/workbook/configuration-specifics/#configuration-induced-toil)\n- components\n- Compute Engine, [Breaking Down the SLO Wall Between Customer and Cloud Provider](https://sre.google/workbook/slo-engineering-case-studies/#breaking-down-the-slo-wall-between-customer-and-cloud-provider)\n- conciseness in postmortems, [Conciseness](https://sre.google/workbook/postmortem-culture/#conciseness)\n- configuration, [Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/#configuration-design-and-best-practices)\n- configuration syntax, tooling for, [Configuration syntax](https://sre.google/workbook/configuration-design/#configuration-syntax)\n- connection tracking, [Maglev](https://sre.google/workbook/managing-load/#maglev)\n- consensus algorithms, [Multidatacenter](https://sre.google/workbook/non-abstract-design/#multidatacenter)\n- consistent hashing, [Maglev](https://sre.google/workbook/managing-load/#maglev)\n- contacts, preparing for an incident, [Prepare a list of contacts](https://sre.google/workbook/incident-response/#prepare-a-list-of-contacts)\n- context, missing, in bad postmortem, [Missing context](https://sre.google/workbook/postmortem-culture/#missing-context)\n- continuous integration and continuous delivery (CI/CD), [Canarying Releases](https://sre.google/workbook/canarying-releases/#canarying-releases) , [Change Should Be Gradual](https://sre.google/workbook/how-sre-relates/#change-should-be-gradual)\n- coordination of incident response effort, [Incident Command System](https://sre.google/workbook/incident-response/#incident-command-system)\n- correctness SLI, [A Worked Example](https://sre.google/workbook/implementing-slos/#a-worked-example)\n- correctness SLOs, [Data correctness](https://sre.google/workbook/data-processing/#data-correctness)\n- corrupt data (in data processing pipeline), [Corrupt data](https://sre.google/workbook/data-processing/#corrupt-data)\n- cost engineering, [Cost Engineering and Capacity Planning](https://sre.google/workbook/eliminating-toil/#cost-engineering-and-capacity-planning)\n- coverage SLI, [A Worked Example](https://sre.google/workbook/implementing-slos/#a-worked-example)\n- coverage, SLO lacking, [Improving the Quality of Your SLO](https://sre.google/workbook/implementing-slos/#improving-the-quality-of-your-slo)\n- CRE, [Engaging with CRE](https://sre.google/workbook/on-call/#engaging-with-cre)\n- CRITICAL requests, [Alerting at Scale](https://sre.google/workbook/alerting-on-slos/#alerting_at_scale)\n- cross-team reviews of postmortems, [Conduct cross-team reviews](https://sre.google/workbook/postmortem-culture/#conduct-cross-team-reviews)\n- CRUD-style APIs, monitoring system configuration, [Treat Your Configuration as Code](https://sre.google/workbook/monitoring/#treat-your-configuration-as-code)\n- Cs of incident management (coordinate, communicate, control), [Incident Command System](https://sre.google/workbook/incident-response/#incident-command-system)\n- CTR, [AdWords Example](https://sre.google/workbook/non-abstract-design/#adwords-example)\n- culture\n- customers\n- cyclomatic code complexity, [Measuring Complexity](https://sre.google/workbook/simplicity/#measuring-complexity)\n\n##### D\n\n- dashboards\n- data analysis pipeline, case study, [Case Study 2: Data Analysis Pipeline](https://sre.google/workbook/engagement-model/#case-study-2-data-analysis-pipeline)\n- data analytics, [Data Analytics](https://sre.google/workbook/data-processing/#data-analytics)\n- data collection to monitor causes in on-call load, [Data quality](https://sre.google/workbook/on-call/#data-quality)\n- data correctness, [Data correctness](https://sre.google/workbook/data-processing/#data-correctness)\n- data formats for configuration information, [Separate Configuration and Resulting Data](https://sre.google/workbook/configuration-design/#separate-configuration-and-resulting-data)\n- data freshness, [Data freshness](https://sre.google/workbook/data-processing/#data-freshness)\n- data isolation, [Data isolation/load balancing](https://sre.google/workbook/data-processing/#data-isolation-load-balancing)\n- data processing pipelines, [Data Processing Pipelines](https://sre.google/workbook/data-processing/#data-processing-pipelines)\n- data-only languages (configuration), [Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem](https://sre.google/workbook/configuration-specifics/#pitfall-1-failing-to-recognize-configuration-as-a-programming-language-problem)\n- datacenters\n- debugging, [Encourage Consistency](https://sre.google/workbook/monitoring/#encourage-consistency)\n- delayed data (in data processing pipeline), [Delayed data](https://sre.google/workbook/data-processing/#delayed-data)\n- Deming Cycle, [The Deming Cycle](https://sre.google/workbook/organizational-change/#the-deming-cycle)\n- dependencies\n- deployments\n- deprecation phase (service lifecycle), SRE engagement in, [Phase 5: Deprecation](https://sre.google/workbook/engagement-model/#phase-5-deprecation)\n- depth in postmortems, [Depth](https://sre.google/workbook/postmortem-culture/#depth)\n- design phase (service lifecycle), SRE engagement in, [Phase 1: Architecture and Design](https://sre.google/workbook/engagement-model/#phase-1-architecture-and-design)\n- design process (NALSD), [Design Process](https://sre.google/workbook/non-abstract-design/#design-process)\n- destructive testing or fuzzing, [Preexisting bugs](https://sre.google/workbook/on-call/#preexisting-bugs)\n- detection time (SLO alerts), [Alerting Considerations](https://sre.google/workbook/alerting-on-slos/#alerting-considerations)\n- development\n- DevOps\n- disaster and recovery testing, practicing with customers, [Step 5: Practice, Practice, Practice](https://sre.google/workbook/reaching-beyond/#step-5-practice-practice-practice)\n- disaster recovery testing (DiRT) at Google, [Drills](https://sre.google/workbook/incident-response/#drills) , [Plan for Dependency Failure](https://sre.google/workbook/data-processing/#plan-for-dependency-failure)\n- diskerase, [Case Study](https://sre.google/workbook/postmortem-culture/#case-study)\n- Display Ads Spiderweb, simplification of (case study), [Background](https://sre.google/workbook/simplicity/#backgroung-3)\n- distributed SRE teams, running, [Running Cohesive Distributed SRE Teams](https://sre.google/workbook/engagement-model/#running-cohesive-distributed-sre-teams)\n- distributed SREs, [Distributed SREs](https://sre.google/workbook/team-lifecycles/#distributed-sres)\n- documentation\n- domain-specific languages (DSLs) for configuration, [Pitfall 5: Using an Existing General-Purpose Scripting Language Like Python, Ruby, or Lua](https://sre.google/workbook/configuration-specifics/#pitfall-5-using-an-existing-general-purpose-scripting-language-like-python-ruby-or-lua)\n- domain-specific optimization (excessive) in configurations, [Pitfall 3: Building Too Much Domain-Specific Optimization](https://sre.google/workbook/configuration-specifics/#pitfall-3-building-too-much-domain-specific-optimization)\n- draining requests away from buggy system elements, [Mitigation delay](https://sre.google/workbook/on-call/#mitigation-delay)\n- drills (incident management), [Drills](https://sre.google/workbook/incident-response/#drills)\n- dropping work, [Prioritize and triage within one quarter](https://sre.google/workbook/overload/#prioritize-and-triage-within-one-quarter)\n- durability SLI, [A Worked Example](https://sre.google/workbook/implementing-slos/#a-worked-example)\n- duration parameter (alerts), incrementing, [3: Incrementing Alert Duration](https://sre.google/workbook/alerting-on-slos/#3-incrementing-alert-duration)\n\n##### E\n\n- ease of implementation and transparency\n- emergency response, practicing, [Identification delay](https://sre.google/workbook/on-call/#identification-delay)\n- emotion-based models for change management, [Emotion-Based Models](https://sre.google/workbook/organizational-change/#emotion-based-models)\n- end-to-end measurement for data processing pipeline SLOs, [End-to-end measurement](https://sre.google/workbook/data-processing/#end-to-end-measurement)\n- ending SRE engagements, [Ending the Relationship](https://sre.google/workbook/engagement-model/#ending-the-relationship)\n- Equal-Cost Multi-Path (ECMP) forwarding, [Maglev](https://sre.google/workbook/managing-load/#maglev)\n- error budgets, [Introduction of SLOs: A Journey in Progress](https://sre.google/workbook/slo-engineering-case-studies/#introduction-of-slos-a-journey-in-progress)\n- errors\n- evangelism, SLOs at Home Depot, [Evangelizing SLOs](https://sre.google/workbook/slo-engineering-case-studies/#evangelizing-slos) , [The SLO Culture Project](https://sre.google/workbook/slo-engineering-case-studies/#the-slo-culture-project)\n- events\n- Evernote, SLO case study, [Evernote’s SLO Story](https://sre.google/workbook/slo-engineering-case-studies/#evernotes-slo-story)\n- extract, transform, load (ETL) model, [Event Processing/Data Transformation to Order or Structure Data](https://sre.google/workbook/data-processing/#event-processing-data-transformation-to-order-or-structure-data)\n\n##### F\n\n- failures, [Accidents Are Normal](https://sre.google/workbook/how-sre-relates/#accidents-are-normal)\n- feature isolation, [Mitigation delay](https://sre.google/workbook/on-call/#mitigation-delay)\n- features\n- feedback from users, toil management with, [Use Feedback to Improve](https://sre.google/workbook/eliminating-toil/#use-feedback-to-improve)\n- finger pointing in postmortems, [Counterproductive finger pointing](https://sre.google/workbook/postmortem-culture/#counterproductive-finger-pointing)\n- follow-up to pager alerts, rigor in, [Rigor of follow-up](https://sre.google/workbook/on-call/#rigor-of-follow-up)\n- follow-up to postmortems, [Postmortem follow-up](https://sre.google/workbook/postmortem-culture/#postmortem-follow-up)\n- forming your first SRE team, [Forming](https://sre.google/workbook/team-lifecycles/#forming)\n- Four Golden Signals, [Dependencies](https://sre.google/workbook/monitoring/#dependencies) , [The SLO Culture Project](https://sre.google/workbook/slo-engineering-case-studies/#the-slo-culture-project)\n- freshness\n- freshness SLI, [A Worked Example](https://sre.google/workbook/implementing-slos/#a-worked-example)\n- funding and hiring (SREs), [SRE Funding and Hiring](https://sre.google/workbook/team-lifecycles/#sre-funding-and-hiring)\n- future protection from overload, [Protect yourself in the future](https://sre.google/workbook/overload/#protect-yourself-in-the-future)\n\n##### G\n\n- G Suite Team Drive, [What We Decided to Do](https://sre.google/workbook/eliminating-toil/#what-we-decided-to-do-2)\n- GCE, [Incident](https://sre.google/workbook/incident-response/#incident)\n- GCLB (Google Cloud Load Balancer), [Google Cloud Load Balancing](https://sre.google/workbook/managing-load/#google-cloud-load-balancing)\n- general availability phase (service lifecycle), SRE engagement in, [Phase 4: General Availability](https://sre.google/workbook/engagement-model/#phase-4-general-availability)\n- generic mitigations, [What could have been handled better?](https://sre.google/workbook/incident-response/#what-could-have-been-handled-better)\n- geographical splits (SRE teams), [Geographical Splits](https://sre.google/workbook/team-lifecycles/#geographical-splits)\n- Global Service Load Balancer (GSLB), [Global Service Load Balancer](https://sre.google/workbook/managing-load/#global-software-load-balancer)\n- glossary in good postmortem example, [Clarity](https://sre.google/workbook/postmortem-culture/#clarity) , [Good Postmortem](https://sre.google/workbook/postmortem-culture/#good-postmortem)\n- goals, aligning between SRE and development teams, [Aligning Goals](https://sre.google/workbook/engagement-model/#aligning-goals)\n- golden signals, [Dependencies](https://sre.google/workbook/monitoring/#dependencies)\n- Google AdWords, [AdWords Example](https://sre.google/workbook/non-abstract-design/#adwords-example)\n- Google Analytics, [Data Analytics](https://sre.google/workbook/data-processing/#data-analytics)\n- Google Apps Script, [Google’s template](https://sre.google/workbook/postmortem-culture/#googles-template)\n- Google Assistant (version 1.88), bug in, [Context](https://sre.google/workbook/incident-response/#context-1)\n- Google Cloud Load Balancer (GCLB), [Google Cloud Load Balancing](https://sre.google/workbook/managing-load/#google-cloud-load-balancing)\n- Google Cloud Load Balancing, [Google Cloud Load Balancing](https://sre.google/workbook/managing-load/#google-cloud-load-balancing)\n- Google Cloud Platform (GCP), [Moving our on-prem infrastructure to the cloud](https://sre.google/workbook/on-call/#moving-our-on-prem-infrastructure-to-the-cloud) , [SLO Engineering Case Studies](https://sre.google/workbook/slo-engineering-case-studies/#slo-engineering-case-studies)\n- Google Compute Engine (GCE), [Data collection](https://sre.google/workbook/data-processing/#data-collection)\n- Google Front Ends (GFE), [Google Front End](https://sre.google/workbook/managing-load/#google-front-end) , [Maglev](https://sre.google/workbook/managing-load/#maglev)\n- Google Home software bug incident response case study, [Case Study 1: Software Bug—The Lights Are On but No One’s (Google) Home](https://sre.google/workbook/incident-response/#case-study-1-software-bug—the-lights-are-on-but-no-ones-google-home)\n- Google Kubernetes Engine (GKE), CreateCluster failure case study, [Case Study 2: Service Fault—Cache Me If You Can](https://sre.google/workbook/incident-response/#service-fault—cache-me-if-you-can)\n- Google’s Colossus File System, [What We Decided to Do](https://sre.google/workbook/eliminating-toil/#what-we-decided-to-do-1)\n- Google’s Customer Reliability Engineering (CRE) team, [Engaging with CRE](https://sre.google/workbook/on-call/#engaging-with-cre) , [SLO Engineering Case Studies](https://sre.google/workbook/slo-engineering-case-studies/#slo-engineering-case-studies)\n- Google’s template for postmortems, [Google’s template](https://sre.google/workbook/postmortem-culture/#googles-template)\n- GSLB (Global Service Load Balancer), [Global Service Load Balancer](https://sre.google/workbook/managing-load/#global-software-load-balancer)\n\n##### H\n\n- HashiCorp Configuration Language, [Generating Config in Specific Formats](https://sre.google/workbook/configuration-specifics/#generating-config-in-specific-formats)\n- health checking, automated, problems with, [New bugs](https://sre.google/workbook/on-call/#new-bugs)\n- help, asking for, [Identification delay](https://sre.google/workbook/on-call/#identification-delay)\n- HIGH_FAST requests, [Alerting at Scale](https://sre.google/workbook/alerting-on-slos/#alerting_at_scale)\n- HIGH_SLOW requests, [Alerting at Scale](https://sre.google/workbook/alerting-on-slos/#alerting_at_scale)\n- Home Depot, SLO case study, [The Home Depot’s SLO Story](https://sre.google/workbook/slo-engineering-case-studies/#the-home-depots-slo-story)\n- horizontal projects, [Horizontal Projects](https://sre.google/workbook/team-lifecycles/#horizontal-projects)\n- horizontal SRE team, [Assembling a horizontal SRE team](https://sre.google/workbook/team-lifecycles/#assembling-a-horizontal-sre-team)\n- hotspotting, reducing in data processing pipeline, [Reduce Hotspotting and Workload Patterns](https://sre.google/workbook/data-processing/#reduce-hotspotting-and-workload-patterns)\n- HTTP requests\n- HTTP servers, availability and latency, [API and HTTP server availability and latency](https://sre.google/workbook/implementing-slos/#api-and-http-server-availability-and-latency)\n- HTTP status codes, [Clarifications and Caveats](https://sre.google/workbook/slo-document/#clarifications-and-caveats) , [Errors](https://sre.google/workbook/slo-engineering-case-studies/#errors) , [Problem](https://sre.google/workbook/monitoring/#problem)\n- human error causing new bugs in production, [New bugs](https://sre.google/workbook/on-call/#new-bugs)\n- human processes in pager load, [Pager load inputs](https://sre.google/workbook/on-call/#pager-load-inputs)\n- human-backed interfaces, starting with, [Start with Human-Backed Interfaces](https://sre.google/workbook/eliminating-toil/#start-with-human-backed-interfaces-1) , [Start with human-backed interfaces](https://sre.google/workbook/eliminating-toil/#start-with-human-backed-interfaces-2)\n- Hyrum’s Law, [Measuring Complexity](https://sre.google/workbook/simplicity/#measuring-complexity)\n\n##### I\n\n- IC (Incident Commander), [Main Roles in Incident Response](https://sre.google/workbook/incident-response/#main-roles-in-incident-response)\n- ICS (Incident Command System), [Incident Command System](https://sre.google/workbook/incident-response/#incident-command-system)\n- idempotent mutations, [Idempotent and Two-Phase Mutations](https://sre.google/workbook/data-processing/#idempotent-and-two-phase-mutations)\n- identification delay for causes of pages, [Identification delay](https://sre.google/workbook/on-call/#identification-delay)\n- incentives\n- incident response, [Incident Response](https://sre.google/workbook/incident-response/#incident-response)\n- incidents\n- infrastructure-centric view (configuration), [Configuration Asks Users Questions](https://sre.google/workbook/configuration-design/#configuration-asks-users-questions)\n- intent-based configuration, monitoring system, [Treat Your Configuration as Code](https://sre.google/workbook/monitoring/#treat-your-configuration-as-code)\n- interpersonal risk taking, [Problem Statement](https://sre.google/workbook/overload/#problem-statement-2)\n- interrupts, [Identifying and Recovering from Overload](https://sre.google/workbook/overload/#identifying-and-recovering-from-overload)\n- iterations for SLO quality improvement, [Improving the Quality of Your SLO](https://sre.google/workbook/implementing-slos/#improving-the-quality-of-your-slo)\n\n##### J\n\n- JavaScript, [Generating Config in Specific Formats](https://sre.google/workbook/configuration-specifics/#generating-config-in-specific-formats)\n- jitter, [Future-proofing](https://sre.google/workbook/managing-load/#future-proofing)\n- JSON, [Generating Config in Specific Formats](https://sre.google/workbook/configuration-specifics/#generating-config-in-specific-formats)\n- Jsonnet, [Integrating Custom Applications (In-House Software)](https://sre.google/workbook/configuration-specifics/#integrating-custom-applications-in-house-software) , [Pitfall 5: Using an Existing General-Purpose Scripting Language Like Python, Ruby, or Lua](https://sre.google/workbook/configuration-specifics/#pitfall-5-using-an-existing-general-purpose-scripting-language-like-python-ruby-or-lua) , [Separate Configuration and Resulting Data](/workbook/configuration-design/#separate-configuration-and-resulting-data)\n\n##### K\n\n- key details omitted in bad postmortem, [Key details omitted](/workbook/postmortem-culture/#key-details-omitted)\n- kill switches and manual overrides in autoscaling, [Including Kill Switches and Manual Overrides](/workbook/managing-load/#including-kill-switches-and-manual-overrides)\n- Kotter’s eight-step process for leading change, [How These Theories Apply to SRE](/workbook/organizational-change/#how-these-theories-apply-to-sre) , [Kotter’s Eight-Step Process for Leading Change](/workbook/organizational-change/#kotters-eight-step-process-for-leading)\n- Kubernetes, [Integrating an Existing Application: Kubernetes](/workbook/configuration-specifics/#integrating-an-existing-application-kubernetes) , [What we decided to do](/workbook/simplicity/#what-we-decided-to-do)\n- Kübler-Ross Change Curve, [Emotion-Based Models](/workbook/organizational-change/#emotion-based-models) , [How These Theories Apply to SRE](/workbook/organizational-change/#how-these-theories-apply-to-sre)\n\n##### L\n\n- languages, configuration\n- latency\n- latency SLI, [A Worked Example](/workbook/implementing-slos/#a-worked-example)\n- Launch Coordination Engineering (LCE) teams, [Launch Coordination Engineering Teams](/workbook/team-lifecycles/#launch-coordination-engineering-teams)\n- leadership in geographically split SRE teams, [Leadership: Joint ownership of a service](/workbook/team-lifecycles/#leadership-joint-ownership-of-a-service)\n- legacy systems, [Use Feedback to Improve](/workbook/eliminating-toil/#use-feedback-to-improve)\n- Lewin’s three-stage model for managing change, [Lewin’s Three-Stage Model](/workbook/organizational-change/#lewins-three-stage-model)\n- limited audience in bad postmortem example, [Limited audience](/workbook/postmortem-culture/#limited-audience)\n- limited availability phase (service lifecycle), SRE engagement in, [Phase 3: Limited Availability](/workbook/engagement-model/#phase-3-limited-availability)\n- line-card repair\n- linters, [Configuration syntax](/workbook/configuration-design/#configuration-syntax)\n- live version, [Our Example Setup](/workbook/canarying-releases/#our-example-setup)\n- load\n- load balancing\n- load balancer monitoring, [API and HTTP server availability and latency](/workbook/implementing-slos/#api-and-http-server-availability-and-latency)\n- load balancing\n- load shedding, [Combining Strategies to Manage Load](/workbook/managing-load/#combining-strategies-to-manage-load) , [New bugs](/workbook/on-call/#new-bugs)\n- LogJoiner (AdWords example), [LogJoiner](/workbook/non-abstract-design/#logjoiner)\n- logs, [Sources of Monitoring Data](/workbook/monitoring/#sources-of-monitoring-data)\n- long term goals (SRE team), [Setting Ground Rules](/workbook/engagement-model/#setting-ground-rules)\n- LOW (availability) requests, [Alerting at Scale](/workbook/alerting-on-slos/#alerting_at_scale)\n- low-traffic services, error budget alerting on, [Low-Traffic Services and Error Budget Alerting](/workbook/alerting-on-slos/#low-traffic-services-and-error-budget-alerting)\n\n##### M\n\n- machine learning, [Machine Learning](/workbook/data-processing/#machine-learning)\n- Maglev, [Anycast](/workbook/managing-load/#anycast)\n- major incident response at PagerDuty, [Major incident response at PagerDuty](/workbook/incident-response/#major-incident-response-at-pagerduty)\n- manual overrides and kill switches in autoscaling, [Including Kill Switches and Manual Overrides](/workbook/managing-load/#including-kill-switches-and-manual-overrides)\n- MapReduce, evaluating for use in AdWords distributed system, [MapReduce](/workbook/non-abstract-design/#mapreduce)\n- maturity matrix for data processing pipeline, [Pipeline maturity matrix](/workbook/data-processing/#pipeline-maturity-matrix)\n- McKinsey’s 7-S change management model, [McKinsey’s 7-S Model](/workbook/organizational-change/#mckinseys-7-s-model)\n- mean time to repair (MTTR), [Move Fast by Reducing the Cost of Failure](/workbook/how-sre-relates/#move-fast-by-reducing-the-cost-of-failure)\n- measurements\n- meeting in person to resolve issues, [Meet in person (or as close to it as possible) to resolve issues](/workbook/engagement-model/#meet-in-person-or-as-close-to-it-as-possible-to-resolve-issues)\n- metrics, [Sources of Monitoring Data](/workbook/monitoring/#sources-of-monitoring-data)\n- microservices\n- migrations, [Migrations](/workbook/eliminating-toil/#migrations)\n- Mission Control program (SRE teams), [Mission Control](/workbook/team-lifecycles/#mission-control)\n- mistakes, handling appropriately, [Handling Mistakes Appropriately](/workbook/engagement-model/#handling-mistakes-appropriately)\n- mitigation delays, reducing, [Mitigation delay](/workbook/on-call/#mitigation-delay)\n- mitigation in incident response, [What could have been handled better?](/workbook/incident-response/#what-could-have-been-handled-better)\n- mobility for SREs, [SRE Mobility](/workbook/team-lifecycles/#sre-mobility)\n- Moira portal, [Moira Portal](/workbook/eliminating-toil/#moira-portal)\n- monitoring, [Monitoring](/workbook/monitoring/#monitoring)\n- Moonwalk, [Moonwalk](/workbook/eliminating-toil/#moonwalk)\n- multidatacenter design (AdWords example), [Multidatacenter](/workbook/non-abstract-design/#multidatacenter)\n- Murphy-Beyer effect, [Automate This Year’s Job Away](/workbook/how-sre-relates/#automate-this-years-job-away)\n- mutations, idempotent and two-phase, [Idempotent and Two-Phase Mutations](/workbook/data-processing/#idempotent-and-two-phase-mutations)\n\n##### N\n\n- NALSD, [Introducing Non-Abstract Large System Design](/workbook/non-abstract-design/#introducing-non-abstract-large-system-design)\n- negative acknowledgments (NACKs), [Google Front End](/workbook/managing-load/#google-front-end)\n- NFS/CIFS protocols, [Background](/workbook/eliminating-toil/#background-2)\n- NO_SLO requests, [Alerting at Scale](/workbook/alerting-on-slos/#alerting_at_scale)\n- non-abstract large system design (NALSD), [Introducing Non-Abstract Large System Design](/workbook/non-abstract-design/#introducing-non-abstract-large-system-design)\n- noninteractive systems, canarying in, [Canarying in Noninteractive Systems](/workbook/canarying-releases/#canarying-in-noninteractive-systems)\n- norming (SRE teams), [Norming](/workbook/team-lifecycles/#norming)\n\n##### O\n\n- Omega, [Background](/workbook/simplicity/#background-2)\n- on-call, [On-Call](/workbook/on-call/#on-call)\n- operational load (or operational workload), [Identifying and Recovering from Overload](/workbook/overload/#identifying-and-recovering-from-overload)\n- operational overload (or work overload), [Identifying and Recovering from Overload](/workbook/overload/#identifying-and-recovering-from-overload)\n- operations, [How SRE Relates to DevOps](/workbook/how-sre-relates/#how-sre-relates-to-devops)\n- Operations or Ops Lead (OL), [Main Roles in Incident Response](/workbook/incident-response/#main-roles-in-incident-response)\n- organizational change (positive), rewarding, [Reward positive organizational change](/workbook/postmortem-culture/#reward-positive-organizational-change)\n- organizational change management in SRE, [Organizational Change Management in SRE](/workbook/organizational-change/#organizational-change-management-in-sre)\n- outages\n- overload, identifying and recovering from, [Identifying and Recovering from Overload](/workbook/overload/#identifying-and-recovering-from-overload)\n- ownership\n\n##### P\n\n- pager load, [Anatomy of Pager Load](/workbook/on-call/#anatomy-of-pager-load)\n- PagerDuty, incident response case study, [Case Study 4: Incident Response at PagerDuty](/workbook/incident-response/#case-study-4-incident-response-at-pagerduty)\n- part-time work schedules for on-call engineers, [Plan for part-time work schedules](/workbook/on-call/#plan-for-part-time-work-schedules)\n- participatory management, [What We Decided to Do](/workbook/overload/#what-we-decided-to-do)\n- Paxos consensus algorithm, [Multidatacenter](/workbook/non-abstract-design/#multidatacenter)\n- pDNS (Production DNS), eliminating dependency on itself (case study), [Background](/workbook/simplicity/#background-5)\n- peak-end rule, [Your Users, Not Your Monitoring, Decide Your Reliability](/workbook/reaching-beyond/#your-users-not-your-monitoring-decide-your-reliability)\n- perceived overload, [From Load to Overload](/workbook/overload/#from-load-to-overload) , [Identifying and Recovering from Overload](/workbook/overload/#identifying-and-recovering-from-overload)\n- performance\n- performing (SRE team), [Performing](/workbook/team-lifecycles/#performing)\n- pets vs. cattle approach, [Increase Uniformity](/workbook/eliminating-toil/#increase-uniformity)\n- pipeline components, [Types of components](/workbook/implementing-slos/#types-of-components)\n- pipelines, data processing, [Data Processing Pipelines](/workbook/data-processing/#data-processing-pipelines)\n- Piper/Git-on-Borg version control system, [What We Decided to Do](/workbook/eliminating-toil/#what-we-decided-to-do-2)\n- Plan-Do-Check-Act (or PDCA) Cycle, [The Deming Cycle](/workbook/organizational-change/#the-deming-cycle)\n- planning by SRE and development teams, [Planning and Executing](/workbook/engagement-model/#planning-and-executing)\n- platforms\n- playbooks, maintaining, [Training roadmap](/workbook/on-call/#training-roadmap)\n- point fixes for paging alerts, [Rigor of follow-up](/workbook/on-call/#rigor-of-follow-up)\n- Pokémon GO on GCLB, case study, [Case Study 1: Pokémon GO on GCLB](/workbook/managing-load/#pokemon-go-on-gclb)\n- positive behaviors, [Be positive](/workbook/engagement-model/#be-positive)\n- postmortems, [Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/#postmortem-culture-learning-from-failure)\n- precision in SLO alerts, [Alerting Considerations](/workbook/alerting-on-slos/#alerting-considerations)\n- preparations for incidents, [Prepare Beforehand](/workbook/incident-response/#prepare-beforehand)\n- preventative actions in postmortems, [Concrete action items](/workbook/postmortem-culture/#concrete-action-items) , [Key action item characteristics missing](/workbook/postmortem-culture/#key-action-item-characteristics-missing)\n- priorities\n- prioritizing and triaging issues, [Prioritize and triage within one quarter](/workbook/overload/#prioritize-and-triage-within-one-quarter)\n- probers, [Generating Artificial Traffic](/workbook/alerting-on-slos/#generating-artificial-traffic) , [Introduction of SLOs: A Journey in Progress](/workbook/slo-engineering-case-studies/#introduction-of-slos-a-journey-in-progress) , [What to Measure: Using SLIs](/workbook/implementing-slos/#what-to-measure-using-slis)\n- problem summary (postmortems), [Key details omitted](/workbook/postmortem-culture/#key-details-omitted)\n- problems (simulated), practicing with customers, [Step 5: Practice, Practice, Practice](/workbook/reaching-beyond/#step-5-practice-practice-practice)\n- process documentation for data processing pipelines, [Process documentation](/workbook/data-processing/#process-documentation)\n- production\n- production interrupts, [Production Interrupts](/workbook/eliminating-toil/#production-interrupts)\n- Production Readiness Reviews (PRRs), [Aligning Goals](/workbook/engagement-model/#aligning-goals) , [Pipeline Production Readiness](/workbook/data-processing/#pipeline-production-readiness) , [SRE Engagement Model](/workbook/engagement-model/#sre-engagement-model)\n- productionizing a service, [Phase 2: Active Development](/workbook/engagement-model/#phase-2-active-development)\n- programming languages\n- project lifecycle complexity, case study, [Case Study 2: Project Lifecycle Complexity](/workbook/simplicity/#case-study-2-project-lifecycle-complexity)\n- Prometheus monitoring system, [Prefer Loose Coupling](/workbook/monitoring/#prefer-loose-coupling)\n- Prosci ADKAR model, [Background](/workbook/organizational-change/#background-2) , [How These Theories Apply to SRE](/workbook/organizational-change/#how-these-theories-apply-to-sre) , [The Prosci ADKAR Model](/workbook/organizational-change/#the-prosci-adkar-model) , [What We Decided to Do](/workbook/organizational-change/#what-we-decided-to-do)\n- protocol buffers, [Integrating Custom Applications (In-House Software)](/workbook/configuration-specifics/#integrating-custom-applications-in-house-software) , [Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem](/workbook/configuration-specifics/#pitfall-1-failing-to-recognize-configuration-as-a-programming-language-problem)\n- psychological safety\n- publication of postmortems, [Delayed publication](/workbook/postmortem-culture/#delayed-publication) , [Promptness](/workbook/postmortem-culture/#promptness)\n\n##### Q\n\n- quality of service (QoS)\n- quality SLI, [A Worked Example](/workbook/implementing-slos/#a-worked-example)\n- QueryMap (AdWords example), [LogJoiner](/workbook/non-abstract-design/#logjoiner)\n- QueryStore (AdWords example), [LogJoiner](/workbook/non-abstract-design/#logjoiner)\n\n##### R\n\n- recall (SLO alerts), [Alerting Considerations](/workbook/alerting-on-slos/#alerting-considerations)\n- recovery efforts (in postmortems), [Key details omitted](/workbook/postmortem-culture/#key-details-omitted)\n- region-level outages in data processing pipeline, [Region-level outage](/workbook/data-processing/#region-level-outage)\n- regional groups of instances (RMiGs), autoscalers balancing instances across, [Avoiding Traffic Imbalance](/workbook/managing-load/#avoiding-traffic-imbalance)\n- relationships, sustaining between SRE and other teams, [Sustaining an Effective Ongoing Relationship](/workbook/engagement-model/#sustaining-an-effective-ongoing-relationship)\n- release candidate version, [Our Example Setup](/workbook/canarying-releases/#our-example-setup)\n- release engineering, [Canarying Releases](/workbook/canarying-releases/#canarying-releases)\n- releases\n- reliability\n- rename-and-shame, [Conclusion](https://sre.google/workbook/configuration-design/#conclusion)\n- repeating incidents, finding causes of, [Repeating incidents](/workbook/postmortem-culture/#repeating-incidents)\n- replication toil, [Configuration-Induced Toil](/workbook/configuration-specifics/#configuration-induced-toil)\n- reports on SLO compliance, [Dashboards and Reports](/workbook/implementing-slos/#dashboards-and-reports)\n- reproducible builds, [Release Engineering Principles](/workbook/canarying-releases/#release-engineering-principles)\n- request-driven components, [Types of components](/workbook/implementing-slos/#types-of-components)\n- requests\n- Requiem (postmortem storage tool), [Postmortem storage](/workbook/postmortem-culture/#postmortem-storage)\n- reset time (SLO alerts), [Alerting Considerations](/workbook/alerting-on-slos/#alerting-considerations)\n- resources\n- response times to pages, [Anatomy of Pager Load](/workbook/on-call/#anatomy-of-pager-load)\n- reusing code in data processing pipelines, [Reusing code](/workbook/data-processing/#reusing-code)\n- revenue coverage, [Be Thoughtful and Disciplined](/workbook/reaching-beyond/#be-thoughtful-and-disciplined)\n- reviews, designing in SRE with customers, [Step 4: Design Reviews and Risk Analysis](/workbook/reaching-beyond/#step-4-design-reviews-and-risk-analysis)\n- revision control system, storing monitoring system configuration in, [Treat Your Configuration as Code](/workbook/monitoring/#treat-your-configuration-as-code)\n- risk analysis in SRE with customers, [Step 4: Design Reviews and Risk Analysis](/workbook/reaching-beyond/#step-4-design-reviews-and-risk-analysis)\n- risks and mitigations for first SRE team, [Risks and mitigations](/workbook/team-lifecycles/#risks-and-mitigations)\n- risks, identifying by SRE team to developer team, [Identifying Risks](/workbook/engagement-model/#identifying-risks)\n- roadmaps, [Planning and Executing](/workbook/engagement-model/#planning-and-executing)\n- roll forward deployment vs. simple canary deployment, [A Roll Forward Deployment Versus a Simple Canary Deployment](/workbook/canarying-releases/#a-roll-forward-deployment-versus-a-simple-canary-deployment)\n- rollback strategy for releases, [New bugs](/workbook/on-call/#new-bugs)\n- rolling update strategy, [Safe Configuration Change Application](/workbook/configuration-design/#safe-configuration-change-application)\n- root causes and trigger (in postmortems), [Blamelessness](/workbook/postmortem-culture/#blamelessness) , [Key details omitted](/workbook/postmortem-culture/#key-details-omitted)\n- routing\n- RPCs (remote procedure calls)\n\n##### S\n\n- satellites, [Case Study](/workbook/postmortem-culture/#case-study)\n- scaling, [Autoscaling](/workbook/managing-load/#autoscaling)\n- scheduling on-call engineers, [On-Call Flexibility](/workbook/on-call/#on-call-flexibility)\n- scripting languages, general-purpose, using for configuration system, [Pitfall 5: Using an Existing General-Purpose Scripting Language Like Python, Ruby, or Lua](/workbook/configuration-specifics/#pitfall-5-using-an-existing-general-purpose-scripting-language-like-python-ruby-or-lua)\n- security policies for data processing pipeline, adhering to, [Adhere to Access Control and Security Policies](https://sre.google/workbook/data-processing/#adhere-to-access-control-and-security-policies)\n- self-healing, [New bugs](/workbook/on-call/#new-bugs)\n- self-regulating workload (SRE team), [Self-regulating workload](/workbook/team-lifecycles/#self-regulating-workload)\n- self-service methods for users, [Build self-service interfaces](/workbook/eliminating-toil/#build-self-service-interfaces) , [Provide Self-Service Methods](/workbook/eliminating-toil/#provide-self-service-methods)\n- semantic validation (configuration), [Semantic validation](/workbook/configuration-design/#semantic-validation)\n- service complexity and forming more SRE teams, [Where to split](/workbook/team-lifecycles/#where-to-split)\n- service level agreements (SLAs)\n- service level indicators (SLIs), [Implementing SLOs](/workbook/implementing-slos/#implementing-slos)\n- service level objectives (SLOs), [Implementing SLOs](/workbook/implementing-slos/#implementing-slos)\n- service lifecycle, SRE engagement during, [The Service Lifecycle](/workbook/engagement-model/#the-service-lifecycle)\n- service reviews (regular), performing, [Performing Regular Service Reviews](/workbook/engagement-model/#performing-regular-service-reviews)\n- services\n- sharded LogJoiner (AdWords example), [Calculations](/workbook/non-abstract-design/#calculations-1)\n- sharing postmortems openly, [Share Postmortems Openly](/workbook/postmortem-culture/#share-postmortems-openly)\n- shift length for on-call SREs, [On-Call Flexibility](/workbook/on-call/#on-call-flexibility)\n- short term goals (SRE team), [Setting Ground Rules](/workbook/engagement-model/#setting-ground-rules)\n- side effects, interleaving with configuration evaluation, [Pitfall 4: Interleaving “Configuration Evaluation” with “Side Effects”](/workbook/configuration-specifics/#pitfall-4-interleaving-configuration-evaluation-with-side-effects)\n- silos, elimination of, [No More Silos](/workbook/how-sre-relates/#no-more-silos)\n- simplicity, [Simplicity Is End-to-End, and SREs Are Good for That](/workbook/simplicity/#simplicity-is-end-to-end-and-sres-are-good-for-that)\n- site reliability engineering, [How SRE Relates to DevOps](/workbook/how-sre-relates/#how-sre-relates-to-devops)\n- site reliability engineers, [Why SREs Need SLOs](/workbook/implementing-slos/#why-sres-need-slos)\n- skewness SLO (Spotify case study), [Skewness](/workbook/data-processing/#skewness)\n- SLAs, [Breaking Down the SLO Wall Between Customer and Cloud Provider](/workbook/slo-engineering-case-studies/#breaking-down-the-slo-wall-between-customer-and-cloud-provider)\n- SLIs, [Implementing SLOs](/workbook/implementing-slos/#implementing-slos)\n- SLOs, [Implementing SLOs](/workbook/implementing-slos/#implementing-slos)\n- software engineering, [Finding Your First SRE](/workbook/team-lifecycles/#finding-your-first-sre)\n- software-defined networking (SDN), [Background](/workbook/eliminating-toil/#background-1)\n- source control, using with configurations, [Source Control](/workbook/configuration-specifics/#source-control)\n- speed of data retrieval (monitoring system), [Speed](/workbook/monitoring/#speed)\n- Spotify case study, [Case Study: Spotify](/workbook/data-processing/#case-study-spotify)\n- SRE (site reliability engineering)\n- SRE engagement model, [SRE Engagement Model](/workbook/engagement-model/#sre-engagement-model)\n- SRE teams\n- SREs (site reliability engineers)\n- staging, [New bugs](/workbook/on-call/#new-bugs)\n- stakeholders, getting agreement from on SLOs, [Getting Stakeholder Agreement](/workbook/implementing-slos/#getting-stakeholder-agreement)\n- stateful systems\n- statsd metric aggregation daemon, [Prefer Loose Coupling](/workbook/monitoring/#prefer-loose-coupling)\n- storage systems, [Types of components](/workbook/implementing-slos/#types-of-components)\n- storming (first SRE team), [Storming](/workbook/team-lifecycles/#storming)\n- stressors (psychological), identifying and alleviating, [Identify and alleviate psychosocial stressors](/workbook/overload/#identify-and-alleviate-psychosocial-stressors)\n- string interpolation, [Pitfall 1: Failing to Recognize Configuration as a Programming Language Problem](/workbook/configuration-specifics/#pitfall-1-failing-to-recognize-configuration-as-a-programming-language-problem)\n- sunk cost fallacy, [Problem Statement](/workbook/overload/#problem-statement-1)\n- superfluous (undesirable) language in postmortems, [Animated language](/workbook/postmortem-culture/#animated-language)\n- support for services, deciding on, [When Can Substitute for Whether](/workbook/how-sre-relates/#when-can-substitute-for-whether)\n- survive the week culture, [Scenario: A culture of “survive the week”](/workbook/on-call/#scenario-a-culture-of-survive-the-week)\n- swaps (short-term) in on-call scheduling, [Plan for short-term swaps](/workbook/on-call/#plan-for-short-term-swaps)\n- symptoms of overload, [Recognizing the Symptoms of Overload](/workbook/overload/#recognizing-the-symptoms-of-overload)\n- system architecture, covering in interviews with SREs, [Finding Your First SRE](/workbook/team-lifecycles/#finding-your-first-sre)\n- system diagrams for data processing pipeline, [System diagrams](/workbook/data-processing/#system-diagrams)\n- systemic fixes for pager alerts, [Rigor of follow-up](/workbook/on-call/#rigor-of-follow-up)\n- systems\n\n##### T\n\n- TCP, [Anycast](/workbook/managing-load/#anycast)\n- team, existing, converting to SRE team, [Converting a team in place](/workbook/team-lifecycles/#converting-a-team-in-place) , [Norming](/workbook/team-lifecycles/#norming)\n - risks and mitigations for, [A team converted in place](/workbook/team-lifecycles/#a-team-converted-in-place)\n- templates\n- testing\n- The Home Depot (THD), [The Home Depot’s SLO Story](/workbook/slo-engineering-case-studies/#the-home-depots-slo-story)\n- three Cs of incident management, [Incident Command System](/workbook/incident-response/#incident-command-system)\n- tickets\n- tiered SRE engagement, [Outcomes](/workbook/simplicity/#outcomes)\n- time for postmortems, lacking, [Lacking time to write postmortems](/workbook/postmortem-culture/#lacking-time-to-write-postmortems)\n- time windows for SLOs, [Choosing an Appropriate Time Window](/workbook/implementing-slos/#choosing-an-appropriate-time-window)\n- timeliness SLO (Spotify case study), [Timeliness](/workbook/data-processing/#timeliness)\n- toil\n- toil, eliminating, [Eliminating Toil](/workbook/eliminating-toil/#eliminating-toil)\n- tooling\n- tools\n- traffic teeing, [Traffic Teeing](/workbook/canarying-releases/#traffic-teeing)\n- traffic volume metrics, [The SLO Culture Project](/workbook/slo-engineering-case-studies/#the-slo-culture-project)\n- training\n- travel for SRE teams, [Travel](/workbook/team-lifecycles/#travel)\n- triaging interrupts, [Lessons Learned](/workbook/overload/#lessons-learned)\n- troubleshooting for opaque architectures, [Troubleshooting for Opaque Architectures](/workbook/eliminating-toil/#troubleshooting-for-opaque-architectures)\n- truncated exponential backoff, [Future-proofing](/workbook/managing-load/#future-proofing)\n- two-phase mutations, [Idempotent and Two-Phase Mutations](/workbook/data-processing/#idempotent-and-two-phase-mutations)\n\n##### U\n\n- ulimit utility, [Guarding Against Abusive Configuration](/workbook/configuration-specifics/#guarding-against-abusive-configuration)\n- unhealthy instances, handling, [Handling Unhealthy Machines](/workbook/managing-load/#handling-unhealthy-machines)\n- uniformity, increasing, [Increase Uniformity](/workbook/eliminating-toil/#increase-uniformity) , [Melt snowflakes](/workbook/eliminating-toil/#melt-snowflakes)\n- unsupported phase, service lifecycle, [Phase 7: Unsupported](/workbook/engagement-model/#phase-7-unsupported)\n- user behaviors causing bugs to manifest, [New bugs](/workbook/on-call/#new-bugs)\n- user journeys, modeling, [Modeling User Journeys](/workbook/implementing-slos/#modeling-user-journeys)\n- user-centric view (configuration), [Configuration Asks Users Questions](/workbook/configuration-design/#configuration-asks-users-questions)\n- users\n- utilization\n\n##### V\n\n- VALET (SLOs at Home Depot), [VALET](/workbook/slo-engineering-case-studies/#valet)\n- versioning, using with configurations, [Ownership and Change Tracking](/workbook/configuration-design/#ownership-and-change-tracking) , [Versioning](/workbook/configuration-specifics/#versioning)\n- virtual machines run by cloud provider, availability of, [Breaking Down the SLO Wall Between Customer and Cloud Provider](/workbook/slo-engineering-case-studies/#breaking-down-the-slo-wall-between-customer-and-cloud-provider)\n- visualizations, [Dashboards and Reports](/workbook/implementing-slos/#dashboards-and-reports)\n- volume (traffic), [The SLO Culture Project](/workbook/slo-engineering-case-studies/#the-slo-culture-project)\n\n##### W\n\n- Waze, scaling, change management case study, [Background](/workbook/organizational-change/#background-1)\n- wisdom of production, [Work to Minimize Toil](/workbook/how-sre-relates/#work-to-minimize-toil)\n- work overload, [Identifying and Recovering from Overload](/workbook/overload/#identifying-and-recovering-from-overload)\n- workloads\n\n##### X\n\n- x20 filesystem, [What We Decided to Do](/workbook/eliminating-toil/#what-we-decided-to-do-2)\n\n##### Y\n\n- YAML, [Generating Config in Specific Formats](/workbook/configuration-specifics/#generating-config-in-specific-formats)", "znaku_textu": 53719, "slov": 5368, "odkazu": 863, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:53", "sha256": "f892bfc8f2184ee354e407faca15cda9687dd115184590b5e6c0c7ec6b49ed96", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/managing-load/", "titulek": "Google SRE - Enhance Reliability With Cloud Load Balancer", "h1": "Google Cloud Load Balancing", "popis": "Google cloud load balancer ensures high availability, realibility, and low latency with advance traffic management strategies and stabilized anycast.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/managing-load/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/managing-load/"}, "headline": "Managing Load", "description": "This chapter describes Google's approach to traffic management with the hope that you can use these best practices to improve the efficiency, reliability, and availability of your services.", "image": "https://lh3.googleusercontent.com/RrDDHM62PHVB290U60uHYlbhVtA97w-hAnDyMTtkZ5VD904KkvSaUKrM_qCSpkw2RV7NfyWqNGjdcIDRtgqmJCbeGbx2JHZmP4Kpxw", "author": [{"@type": "Person", "name": "Cooper Bethea"}, {"@type": "Person", "name": "Gráinne Sheerin"}, {"@type": "Person", "name": "Jennifer Mace"}, {"@type": "Person", "name": "Ruth King"}, {"@type": "Person", "name": "Gary Luo"}, {"@type": "Person", "name": "Gary O’Connor"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Managing Load"}, {"uroven": 1, "text": "Google Cloud Load Balancing"}, {"uroven": 5, "text": "Anycast"}, {"uroven": 6, "text": "Stabilized anycast"}, {"uroven": 5, "text": "Maglev"}, {"uroven": 5, "text": "Global Software Load Balancer"}, {"uroven": 5, "text": "Google Front End"}, {"uroven": 5, "text": "GCLB: Low Latency"}, {"uroven": 5, "text": "GCLB: High Availability"}, {"uroven": 5, "text": "Case Study 1: Pokémon GO on GCLB"}, {"uroven": 6, "text": "Migrating to GCLB"}, {"uroven": 6, "text": "Resolving the issue"}, {"uroven": 6, "text": "Future-proofing"}, {"uroven": 1, "text": "Autoscaling"}, {"uroven": 5, "text": "Handling Unhealthy Machines"}, {"uroven": 5, "text": "Working with Stateful Systems"}, {"uroven": 5, "text": "Configuring Conservatively"}, {"uroven": 5, "text": "Setting Constraints"}, {"uroven": 5, "text": "Including Kill Switches and Manual Overrides"}, {"uroven": 5, "text": "Avoiding Overloading Backends"}, {"uroven": 5, "text": "Avoiding Traffic Imbalance"}, {"uroven": 1, "text": "Combining Strategies to Manage Load"}, {"uroven": 5, "text": "Case Study 2: When Load Shedding Attacks"}, {"uroven": 6, "text": "What was happening?"}, {"uroven": 6, "text": "What went wrong?"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Managing Load\n\nBy Cooper Bethea, Gráinne Sheerin, Jennifer Mace, and Ruth King with Gary Luo and Gary O’Connor\n\nNo service is 100% available 100% of the time: clients can be inconsiderate, demand can grow fifty-fold, a service might crash in response to a traffic spike, or an anchor might pull up a transatlantic cable. There are people who depend upon your service, and as service owners, we care about our users. When faced with these chains of outage triggers, how can we make our infrastructure as adaptive and reliable as possible?\n\nThis chapter describes Google’s approach to traffic management with the hope that you can use these best practices to improve the efficiency, reliability, and availability of your services. Over the years, we have discovered that there’s no single solution for equalizing and stabilizing network load. Instead, we use a combination of tools, technologies, and strategies that work in harmony to help keep our services reliable.\n\nBefore we dive in to this chapter, we recommend reading the philosophies discussed in Chapters 19 ([\"Load Balancing at the Frontend\"](https://sre.google/sre-book/load-balancing-frontend/)) and 20 ([\"Load Balancing in the Datacenter\"](https://sre.google/sre-book/load-balancing-datacenter/)) of our first SRE book.\n\n# Google Cloud Load Balancing\n\nThese days, most companies don’t develop and maintain their own global load balancing solutions, instead opting to use load balancing services from a larger public cloud provider. We’ll discuss Google Cloud Load Balancer (GCLB) as a concrete example of large-scale load balancing, but nearly all of the best practices we describe also apply to other cloud providers’ load balancers.\n\nGoogle has spent the past 18 years building infrastructure to make our services fast and reliable. Today we use these systems to serve YouTube, Maps, Gmail, Search, and many other products and services. GCLB is our publicly consumable global load balancing solution, and is the externalization of one of our internally developed global load balancing systems.\n\nThis section describes the components of GCLB and how they work together to serve user requests. We trace a typical user request from its creation to delivery at its destination. The Niantic Pokémon GO case study provides a concrete implementation of GCLB in the real world.\n\n[Chapter 19](https://sre.google/sre-book/load-balancing-frontend/) of our first SRE book described how DNS-based load balancing is the simplest and most effective way to balance load before the user’s connection even starts. We also discussed an endemic problem of this approach: it relies on client cooperation to properly expire and refetch DNS records. For this reason, GCLB does not use DNS load balancing.\n\nInstead, we use anycast, a method for sending clients to the closest cluster without relying on DNS geolocation. Google’s global load balancer knows where the clients are located and directs packets to the closest web service, providing low latency to users while using a single [virtual IP (VIP)](https://en.wikipedia.org/wiki/Virtual_IP_address). Using a single VIP means we can increase the time to live (TTL) of our DNS records, which further reduces latency.\n\n##### Anycast\n\nAnycast is a network addressing and routing methodology. It routes datagrams from a single sender to the topologically nearest node in a group of potential receivers, which are all identified by the same destination IP address. Google announces IPs via [Border Gateway Protocol (BGP)](https://en.wikipedia.org/wiki/Border_Gateway_Protocol) from multiple points in our network. We rely on the BGP routing mesh to deliver packets from a user to the closest frontend location that can terminate a transmission control protocol (TCP) session. This deployment eliminates the problems of unicast IP proliferation and finding the closest frontend for a user. Two main issues remain:\n\n- Too many nearby users can overwhelm a frontend site.\n- BGP route calculation might reset connections.\n\nConsider an ISP that frequently recalculates its BGP routes such that one of its users prefers either of two frontend sites. Each time the BGP route “flaps,” all in-progress TCP streams are reset as the unfortunate user’s packets are directed to a new frontend with no TCP session state. To address these problems, we have leveraged our connection-level load balancer, Maglev (described shortly), to cohere TCP streams even when routes flap. We refer to this technique as stabilized anycast.\n\n###### Stabilized anycast\n\nAs shown in Figure 11-1, Google implements stabilized anycast using Maglev, our custom load balancer. To stabilize anycast, we provide each Maglev machine with a way to map client IPs to the closest Google frontend site. Sometimes Maglev processes a packet destined for an anycast VIP for a client that is closer to another frontend site. In this case, Maglev forwards that packet to another Maglev on a machine located at the closest frontend site for delivery. The Maglev machines at the closest frontend site then simply treat the packet as they would any other packet, and route it to a local backend.\n\nFigure 11-1. Stabilized anycast\n\n##### Maglev\n\n[Maglev](https://ai.google/research/pubs/pub44824), shown in Figure 11-2, is Google’s custom distributed packet-level load balancer. An integral part of our cloud architecture, Maglev machines manage incoming traffic to a cluster. They provide stateful TCP-level load balancing across our frontend servers. Maglev differs from other traditional hardware load balancers in a few key ways:\n\n- All packets destined for a given IP address can be evenly spread across a pool of Maglev machines via [Equal-Cost Multi-Path (ECMP) forwarding](https://en.wikipedia.org/wiki/Equal-cost_multi-path_routing) . This enables us to boost Maglev capacity by simply adding servers to a pool. Spreading packets evenly also enables Maglev redundancy to be modeled as N + 1, enhancing availability and reliability over traditional load balancing systems (which typically rely on active/passive pairs to give 1 + 1 redundancy).\n- Maglev is a Google custom solution. We control the system end-to-end, which allows us to experiment and iterate quickly.\n- Maglev runs on commodity hardware in our datacenters, which greatly simplifies deployment.\n\nFigure 11-2. Maglev\n\nMaglev packet delivery uses consistent hashing and connection tracking. These techniques coalesce TCP streams at our HTTP reverse proxies (also known as Google Front Ends, or GFEs), which terminate TCP sessions. Consistent hashing and connection tracking are key to Maglev’s ability to scale by packet rather than by number of connections. When a router receives a packet destined for a VIP hosted by Maglev, the router forwards the packet to any Maglev machine in the cluster through ECMP. When a Maglev receives a packet, it computes the packet’s 5-tuple hash1 and looks up the hash value in its connection tracking table, which contains routing results for recent connections. If Maglev finds a match and the selected backend service is still healthy, it reuses the connection. Otherwise, Maglev falls back to consistent hashing to choose a backend. The combination of these techniques eliminates the need to share connection state among individual Maglev machines.\n\n##### Global Software Load Balancer\n\nGSLB is Google’s Global Software Load Balancer. It allows us to balance live user traffic between clusters so that we can match user demand to available service capacity, and so we can handle service failures in a way that’s transparent to users. As shown in Figure 11-3, GSLB controls both the distribution of connections to GFEs and the distribution of requests to backend services. GSLB allows us to serve users from backends and GFEs running in different clusters. In addition to load balancing between frontends and backends, GSLB understands the health of backend services and can automatically drain traffic away from failed clusters.\n\nFigure 11-3. GSLB\n\n##### Google Front End\n\nAs shown in Figure 11-4, the GFE sits between the outside world and various Google services (web search, image search, Gmail, etc.) and is frequently the first Google server a client HTTP(S) request encounters. The GFE terminates the client’s TCP and SSL sessions and inspects the HTTP header and URL path to determine which backend service should handle the request. Once the GFE decides where to send the request, it reencrypts the data and forwards the request. For more information on how this encryption process works, see our whitepaper [\"Encryption in Transit in Google Cloud\"](https://cloud.google.com/security/encryption-in-transit/).\n\nThe GFE is also responsible for health-checking its backends. If a backend server returns a negative acknowledgment (“NACKs” the request) or times out health checks, GFEs stop sending traffic to the failed backend. We use this signal to update GFE backends without impacting uptime. By putting GFE backends into a mode in which they fail health checks while continuing to respond to in-flight requests, we can gracefully remove GFE backends from service without disrupting any user requests. We call this “lame duck” mode and we discuss it in more detail in [Chapter 20](https://sre.google/sre-book/load-balancing-datacenter/) of the first SRE book.\n\nFigure 11-4. GFE\n\nThe GFEs also maintain persistent sessions to all their recently active backends so that a connection is ready to use as soon as a request arrives. This strategy helps reduce latency for our users, particularly in scenarios when we use SSL to secure the connection between GFE and the backend.\n\n##### GCLB: Low Latency\n\nOur network provisioning strategy aims to reduce end-user latency to our services. Because negotiating a secure connection via HTTPS requires two network round trips between client and server, it’s particularly important that we minimize the latency of this leg of the request time. To this end, we extended the edge of our network to host Maglev and GFE. These components terminate SSL as close to the user as possible, then forward requests to backend services deeper within our network over long-lived encrypted connections.\n\nWe built GCLB atop this combined Maglev/GFE-augmented edge network. When customers create a load balancer, we provision an anycast VIP and program Maglev to load-balance it globally across GFEs at the edge of our network. GFE’s role is to terminate SSL, accept and buffer HTTP requests, forward those requests to the customer’s backend services, and then proxy the responses back to users. GSLB provides the glue between each layer: it enables Maglev to find the nearest GFE location with available capacity, and enables GFE to route requests to the nearest VM instance group with available capacity.\n\n##### GCLB: High Availability\n\nIn the interest of providing high availability to our customers, GCLB offers an availability SLA2 of 99.99%. In addition, GCLB provides support tools that enable our customers to improve and manage the availability of their own applications. It’s useful to think of the load balancing system as a sort of traffic manager. During normal operation, GCLB routes traffic to the nearest backend with available capacity. When one instance of your service fails, GCLB detects the failure on your behalf and routes traffic to healthy instances.\n\nCanarying and gradual rollouts help GCLB maintain high availability. Canarying is one of our standard release procedures. As described in [Canarying Releases](https://sre.google/workbook/canarying-releases/) this process involves deploying a new application to a very small number of servers, then gradually increasing traffic and carefully observing system behavior to verify that there are no regressions. This practice reduces the impact of any regressions by catching them early in the canary phase. If the new version crashes or otherwise fails health checks, the load balancer routes around it. If you detect a nonfatal regression, you can administratively remove the instance group from the load balancer without touching the main version of the application.\n\n##### Case Study 1: Pokémon GO on GCLB\n\nNiantic launched Pokémon GO in the summer of 2016. It was the first new Pokémon game in years, the first official Pokémon smartphone game, and Niantic’s first project in concert with a major entertainment company. The game was a runaway hit and more popular than anyone expected—that summer you’d regularly see players gathering to duel around landmarks that were Pokémon Gyms in the virtual world.\n\nPokémon GO’s success greatly exceeded the expectations of the Niantic engineering team. Prior to launch, they load-tested their software stack to process up to 5x their most optimistic traffic estimates. The actual launch requests per second (RPS) rate was nearly 50x that estimate—enough to present a scaling challenge for nearly any software stack. To further complicate the matter, the world of Pokémon GO is highly interactive and globally shared among its users. All players in a given area see the same view of the game world and interact with each other inside that world. This requires that the game produce and distribute near-real-time updates to a state shared by all participants.\n\nScaling the game to 50x more users required a truly impressive effort from the Niantic engineering team. In addition, many engineers across Google provided their assistance in scaling the service for a successful launch. Within two days of migrating to GCLB, the Pokemon GO app became the single largest GCLB service, easily on par with the other top 10 GCLB services.\n\nAs shown in Figure 11-5, when it launched, Pokémon GO used Google’s regional [Network Load Balancer (NLB)](https://cloud.google.com/load-balancing/docs/network/) to load-balance ingress traffic across a [Kubernetes](https://kubernetes.io/docs/concepts/services-networking/ingress/) cluster. Each cluster contained pods of [Nginx](https://www.nginx.com/) instances, which served as Layer 7 reverse proxies that terminated SSL, buffered HTTP requests, and performed routing and load balancing across pods of application server backends.\n\nFigure 11-5. Pokémon GO (pre-GCLB)\n\nNLB is responsible for load balancing at the IP layer, so a service that uses NLB effectively becomes a backend of Maglev. In this case, relying on NLB had the following implications for Niantic:\n\n- The Nginx backends were responsible for terminating SSL for clients, which required two round trips from a client device to Niantic’s frontend proxies.\n- The need to buffer HTTP requests from clients led to resource exhaustion on the proxy tier, particularly when clients were only able to send bytes slowly.\n- Low-level network attacks such as [SYN flood](https://en.wikipedia.org/wiki/SYN_flood) could not be effectively ameliorated by a packet-level proxy.\n\nIn order to scale appropriately, Niantic needed a high-level proxy operating on a large edge network. This solution wasn’t possible with NLB.\n\n###### Migrating to GCLB\n\nA large SYN flood attack made migrating Pokémon GO to GCLB a priority. This migration was a joint effort between Niantic and the Google Customer Reliability Engineering (CRE) and SRE teams. The initial transition took place during a traffic trough and, at the time, was unremarkable. However, unforeseen problems emerged for both Niantic and Google as traffic ramped up to peak. Both Google and Niantic discovered that the true client demand for Pokémon GO traffic was 200% higher than previously observed. The Niantic frontend proxies received so many requests that they weren’t able to keep pace with all inbound connections. Any connection refused in this way wasn’t surfaced in the monitoring for inbound requests. The backends never had a chance.\n\nThis traffic surge caused a classic cascading failure scenario. Numerous backing services for the [API—Cloud Datastore](https://sre.google/cloud/), Pokémon GO backends and API servers, and the load balancing system itself—exceeded the capacity available to Niantic’s cloud project. The overload caused Niantic’s backends to become extremely slow (rather than refuse requests), manifesting as requests timing out to the load balancing layer. Under this circumstance, the load balancer retried GET requests, adding to the system load. The combination of extremely high request volume and added retries stressed the SSL client code in the GFE at an unprecedented level, as it tried to reconnect to unresponsive backends. This induced a severe performance regression in GFE such that GCLB’s worldwide capacity was effectively reduced by 50%.\n\nAs backends failed, the Pokémon GO app attempted to retry failed requests on behalf of users. At the time, the app’s retry strategy was a single immediate retry, followed by constant backoff. As the outage continued, the service sometimes returned a large number of quick errors—for example, when a shared backend restarted. These error responses served to effectively synchronize client retries, producing a “thundering herd” problem, in which many client requests were issued at essentially the same time. As shown in Figure 11-6, these synchronized request spikes ramped up enormously to 20× the previous global RPS peak.\n\nFigure 11-6. Traffic spikes caused by synchronous client retries\n\n###### Resolving the issue\n\nThese request spikes, combined with the GFE capacity regression, resulted in queuing and high latency for all GCLB services. Google’s on-call Traffic SREs acted to reduce collateral damage to other GCLB users by doing the following:\n\n1. Isolating GFEs that could serve Pokémon GO traffic from the main pool of load balancers.\n2. Enlarging the isolated Pokémon GO pool until it could handle peak traffic despite the performance regression. This action moved the capacity bottleneck from GFE to the Niantic stack, where servers were still timing out, particularly when client retries started to synchronize and spike.\n3. With Niantic’s blessing, Traffic SRE implemented administrative overrides to limit the rate of traffic the load balancers would accept on behalf of Pokémon GO. This strategy contained client demand enough to allow Niantic to reestablish normal operation and commence scaling upward.\n\nFigure 11-7 shows the final network configuration.\n\nFigure 11-7. Pokémon GO GCLB\n\n###### Future-proofing\n\nIn the wake of this incident, Google and Niantic both made significant changes to their systems. Niantic introduced jitter and truncated exponential backoff3 to their clients, which curbed the massive synchronized retry spikes experienced during cascading failure. Google learned to consider GFE backends as a potentially significant source of load, and instituted qualification and load testing practices to detect GFE performance degradation caused by slow or otherwise misbehaving backends. Finally, both companies realized they should measure load as close to the client as possible. Had Niantic and Google CRE been able to accurately predict client RPS demand, we would have preemptively scaled up the resources allocated to Niantic even more than we did before conducting the switch to GCLB.\n\n# Autoscaling\n\nTools like GCLB can help you balance load efficiently across your fleet, making your service more stable and reliable. Sometimes you simply don’t have enough resources reserved to manage your existing traffic. You can use [autoscaling](https://en.wikipedia.org/wiki/Autoscaling) to scale your fleet strategically. Whether you increase the resources per machine (vertical scaling) or increase the total number of machines in the pool (horizontal scaling), autoscaling is a powerful tool and, when used correctly, can enhance your service availability and utilization. Conversely, if misconfigured or misused, autoscaling can negatively impact your service. This section describes some best practices, common failure modes, and current limitations of autoscaling.\n\n##### Handling Unhealthy Machines\n\nAutoscaling normally averages utilization over all instances regardless of their state, and assumes that instances are homogeneous in terms of request processing efficiency. Autoscaling runs into problems when machines are not serving (known as unhealthy instances) but are still counted toward the utilization average. In this scenario, autoscaling simply won’t occur. A variety of issues can trigger this failure mode, including:\n\n- Instances taking a long time to get ready to serve (e.g., when loading a binary or warming up)\n- Instances stuck in a nonserving state (i.e., zombies)\n\nWe can improve this situation using a variety of tactics. You can make the following improvements in combination or individually:\n\nLoad balancing\n\n- Autoscale using a capacity metric as observed by the load balancer. This will automatically discount unhealthy instances from the average.\n\nWait for new instances to stabilize before collecting metrics\n\n- You can configure autoscaler to collect information about new instances only once new instances become healthy (GCE refers to this period of inactivity as a cool-down period ).\n\nAutoscale and autoheal\n\n- Autohealing monitors your instances and attempts to restart them if they are unhealthy. Typically, you configure your autohealer to monitor a health metric exposed by your instances. If autohealer detects that an instance is down or unhealthy, it will attempt a restart. When configuring your autohealer, it’s important to ensure you leave sufficient time for your instances to become healthy after a restart.\n\nUsing a mix of these solutions, you can optimize horizontal autoscaling to keep track only of healthy machines. Remember that when running your service, autoscaler will continuously adjust the size of your fleet. Creating new instances is never instant.\n\n##### Working with Stateful Systems\n\nA stateful system sends all requests in a user session consistently to the same backend server. If these pathways are overburdened, adding more instances (i.e., horizontal scaling) won’t help. Intelligent, task-level routing that spreads the load around (e.g., using consistent hashing4) is a better strategy for stateful systems.\n\nVertical autoscaling can be useful in stateful systems. When used in combination with task-level balancing to even out load on your system, vertical autoscaling can help absorb short-term hotspots. Use this strategy with caution: because vertical autoscaling is typically uniform across all instances, your low-traffic instances may grow unnecessarily large.\n\n##### Configuring Conservatively\n\nUsing autoscaling to scale up is more important and less risky than using it to scale down since a failure to scale up can result in overload and dropped traffic. By design, most autoscaler implementations are intentionally more sensitive to jumps in traffic than to drops in traffic. When scaling up, autoscalers are inclined to add extra serving capacity quickly. When scaling down, they are more cautious and wait longer for their scaling condition to hold true before slowly reducing resources.\n\nThe load spikes you can absorb increase as your service moves further away from a bottleneck. We recommend configuring your autoscaler to keep your service far from key system bottlenecks (such as CPU). Autoscaler also needs adequate time to react, particularly when new instances cannot turn up and serve instantly. We recommend that user-facing services reserve enough spare capacity for both overload protection and redundancy.5\n\n##### Setting Constraints\n\nAutoscaler is a powerful tool; if misconfigured, it can scale out of control. You might inadvertently trigger serious consequences by introducing a bug or changing a setting. For example, consider the following scenarios:\n\n- You configured autoscaling to scale based on CPU utilization. You release a new version of your system, which contains a bug causing the server to consume CPU without doing any work. Autoscaler reacts by upsizing this job again and again until all available [quota](https://cloud.google.com/compute/quotas) is wasted.\n- Nothing has changed in your service, but a dependency is failing. This failure causes all requests to get stuck on your servers and never finish, consuming resources all the while. Autoscaler will scale up the jobs, causing more and more traffic to get stuck. The increased load on your failing dependency can prevent the dependency from recovering.\n\nIt’s useful to constrain the work that your autoscaler is allowed to perform. Set a minimum and maximum bound for scaling, making sure that you have enough quota to scale to the set limits. Doing so prevents you from depleting your quota and helps with capacity planning.\n\n##### Including Kill Switches and Manual Overrides\n\nIt’s a good idea to have a kill switch in case something goes wrong with your autoscaling. Make sure your on-call engineers understand how to disable autoscaling and how to manually scale if necessary. Your autoscaling kill switch functionality should be easy, obvious, fast, and well documented.\n\n##### Avoiding Overloading Backends\n\nA correctly configured autoscaler will scale up in response to an increase in traffic. An increase in traffic will have consequences down the stack. Backend services, such as databases, need to absorb any additional load your servers might create. Therefore, it’s a good idea to perform a detailed dependency analysis on your backend services before deploying your autoscaler, particularly as some services may scale more linearly than others. Ensure your backends have enough extra capacity to serve increased traffic and are able to degrade gracefully when overloaded. Use the data from your analysis to inform the limits of your autoscaler configuration.\n\nService deployments commonly run a variety of microservices that share quota. If a microservice scales up in response to a traffic spike, it might use most of the quota. If increased traffic on a single microservice means increased traffic on other microservices, there will be no available quota for the remaining microservices to grow. In this scenario, a dependency analysis can help guide you toward preemptively implementing limited scaling. Alternatively, you can implement separate quotas per microservice (which may entail splitting your service into separate projects).\n\n##### Avoiding Traffic Imbalance\n\nSome autoscalers (e.g., AWS EC2, GCP) can balance instances across regional groups of instances ([RMiGs](https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups)). In addition to regular autoscaling, these autoscalers run a separate job that constantly attempts to even out the size of each zone across the region. Rebalancing traffic in this way avoids having one large zone. If the system you’re using allocates quota per zone, this strategy evens out your quota usage. In addition, autoscaling across regions provides more diversity for failure domains.\n\n# Combining Strategies to Manage Load\n\nIf your system becomes sufficiently complex, you may need to use more than one kind of load management. For example, you might run several managed instance groups that scale with load but are cloned across multiple regions for capacity; therefore, you also need to balance traffic between regions. In this case, your system needs to use both load balancing and load-based autoscaling.\n\nOr maybe you run a website across three colocated facilities around the world. You’d like to serve locally for latency, but since it takes weeks to deploy more machines, overflow capacity needs to spill over to other locations. If your site gets popular on social media and suddenly experiences a five-fold increase in traffic, you’d prefer to serve what requests you can. Therefore, you implement load shedding to drop excess traffic. In this case, your system needs to use both load balancing and load shedding.\n\nOr perhaps your data processing pipeline lives in a Kubernetes cluster in one cloud region. When data processing slows significantly, it provisions more pods to handle the work. However, when data comes in so fast that reading it causes you to run out of memory, or slows down garbage collection, your pods may need to shed that load temporarily or permanently. In this case, your system needs to use both load-based autoscaling and load shedding techniques.\n\nLoad balancing, load shedding, and autoscaling are all systems designed for the same goal: to equalize and stabilize the system load. Since the three systems are often implemented, installed, and configured separately, they seem independent. However, as shown in Figure 11-8, they’re not entirely independent. The following case study illustrates how these systems can interact.\n\nFigure 11-8. A full traffic management system\n\n##### Case Study 2: When Load Shedding Attacks\n\nImagine a fictional company, Dressy, that sells dresses online via an app. As this is a traffic-driven service, the development team at Dressy deployed their app across three regions. This deployment allows their app to respond quickly to user requests and weather single-zone failures—or so they thought.\n\nThe customer service team at Dressy starts receiving complaints that customers can’t access the app. Dressy’s development teams investigate and notice a problem: their load balancing is inexplicably drawing all user traffic into region A, even though that region is full-to-overflowing and both B and C are empty (and equally large). The timeline of events (see Figure 11-9) is as follows:\n\n1. At the beginning of the day, the traffic graphs showed all three clusters steady at 90 RPS.\n2. At 10:46 a.m., traffic started to rise in all three regions as eager shoppers began hunting for bargains.\n3. At 11:00 a.m., region A reached 120 RPS just before regions B and C.\n4. At 11:10 a.m., region A continued to grow to 400 RPS, while B and C dipped to 40 RPS.\n5. The load balancer settled at this state.\n6. The majority of requests hitting region A were returning 503 errors.\n7. Users whose requests hit this cluster started to complain.\n\nFigure 11-9. Regional traffic\n\nIf the development team had consulted their load balancer’s fullness graphs, they would have seen something very strange. The load balancer was utilization-aware: it was reading CPU utilization from Dressy’s containers and using this information to estimate fullness. As far as it could tell, per-request CPU utilization was 10 times lower in region A than either B or C. The load balancer determined that all regions were equally loaded, and its job was done.\n\n###### What was happening?\n\nEarlier in the week, to protect against cascading overload, the team enabled load shedding. Whenever CPU utilization reached a certain threshold, a server would return an error for any new requests it received rather than attempting to process them. On this particular day, region A reached this threshold slightly ahead of the other regions. Each server began rejecting 10% of requests it received, then 20% of requests, then 50%. During this time frame, CPU usage remained constant.\n\nAs far as the load balancer system was concerned, each successive dropped request was a reduction in the per-request CPU cost. Region A was far more efficient than regions B and C. It was serving 240 RPS at 80% CPU (the shedding cap), while B and C were managing only 120 RPS. Logically, it decided to send more requests to A.\n\n###### What went wrong?\n\nIn brief, the load balancer didn’t know that the “efficient” requests were errors because the load shedding and load balancing systems weren’t communicating. Each system was added and enabled separately, likely by different engineers. No one had examined them as one unified load management system.\n\n###### Lessons learned\n\nTo effectively manage system load, we need to be deliberate—both in the configuration of our individual load management tools and in the management of their interactions. For example, in the Dressy case study, adding error handling to the load balancer logic would have fixed the problem. Let’s say each “error” request counts as 120% CPU utilization (any number over 100 will work). Now region A looks overloaded. Requests will spread to B and C, and the system will equalize.\n\nYou can use similar logic to extrapolate this example to any combination of load management tactics. When adopting a new load management tool, carefully examine how it interacts with other tools your system is already using and instrument their intersection. Add monitoring to detect feedback loops. Make sure your emergency shutdown triggers can be coordinated across your load management systems, and consider adding automatic shutdown triggers if these systems are behaving wildly out of control. If you don’t take appropriate precautions up front, you’ll likely have to do so in the wake of a postmortem.\n\nIt is easy to say “take precautions.” More specifically, here are some precautions you might consider, depending on the kind of load management you deploy:\n\nLoad balancing\n\n- Load balancing minimizes latency by routing to the location closest to the user. Autoscaling can work together with load balancing to increase the size of locations close to the user and then route more traffic there, creating a positive feedback loop.\n- If demand is primarily closest to one location, that location will grow in size until all serving capacity is in one spot. If this location goes down, the remaining locations will become overloaded and traffic may be dropped. Scaling these locations up will not be instant. You can avoid this situation by setting a minimum number of instances per location to keep spare capacity for failover.\n\nLoad shedding\n\n- It’s a good idea to set your thresholds such that your system autoscales before load shedding kicks in. Otherwise, your system might start shedding traffic it could have served had it scaled up first.\n\nManaging load with RPC\n\n- Handling the right requests is important for efficiency: you don’t want to autoscale up to serve requests that won’t benefit users, or shed load unnecessarily because you’re processing unimportant requests. When using both autoscaling and load shedding, it’s important that you set deadlines on your RPC requests.\n- Processes hold resources for all in-flight requests, and release those resources when the requests are completed. In the absence of a specific deadline, the system will hold resources for all in-progress requests, up to the maximum possible limit. By default, this deadline is a very large number (which depends on the language implementation—some language APIs work in terms of a fixed point in time, and others with a duration of time). This behavior causes clients, and ultimately users, to experience higher latency. The service is also at risk of running out of resources (like memory) and crashing.\n- To handle this scenario gracefully, we recommend that the server terminates requests that take too long, and that clients cancel requests that are no longer useful to them. For example, a server shouldn’t start an expensive search operation if the client already returned an error to the user. To set behavior expectations for a service, you could simply provide a comment in the API’s .proto file to suggest a default deadline. Also, set deliberate deadlines for the client (for examples, see our blog post [“gRPC and Deadlines”](https://grpc.io/blog/deadlines) ).\n\n# Conclusion\n\nIn Google’s experience, there are no perfect traffic management configurations. Autoscaling is a powerful tool, but it’s easy to get wrong. Unless carefully configured, autoscaling can result in disastrous consequences—for example, potentially catastrophic feedback cycles between load balancing, load shedding, and autoscaling when these tools are configured in isolation. As the Pokémon GO case study illustrates, traffic management works best when it’s based upon a holistic view of the interactions between systems.\n\nTime and time again, we’ve seen that no amount of load shedding, autoscaling, or throttling will save our services when they all fail in sync. For example, in the Pokémon GO case study, we had a “thundering herd” of synchronized client retries combined with load balancers that waited for unresponsive backend servers. To fail your services gracefully, you need to plan ahead to mitigate potential problems. Your mitigation strategy might involve setting flags, changing default behaviors, enabling expensive logging, or exposing the current value of parameters the traffic management system uses for decisions.\n\nWe hope the strategies and insights provided in this chapter can help you manage traffic for your own services and keep your users happy.\n\n15-tuple includes the following: source address, destination address, source port, destination port, and the transport protocol type.\n\n2See the Google Cloud Platform blog post [“SLOs, SLIs, SLAs, Oh My—CRE Life Lessons”](https://cloudplatform.googleblog.com/2017/01/availability-part-deux--CRE-life-lessons.html) for an explanation of the difference between SLOs and SLAs.\n\n3For more information on this topic, see [Chapter 22](https://sre.google/sre-book/addressing-cascading-failures/) of the first SRE book.\n\n4See Site Reliability Engineering, [Chapter 19](https://sre.google/sre-book/load-balancing-frontend/).\n\n5For more info about redundancy in capacity planning, see Site Reliability Engineering, [Appendix B](https://sre.google/sre-book/service-best-practices/).", "znaku_textu": 37173, "slov": 5743, "odkazu": 77, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:38", "sha256": "2782799de667caabdeddfb23419d1c5afaf7067bc4bf3b502205ab5f784f2f5e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Virtual_IP_address", "https://en.wikipedia.org/wiki/Border_Gateway_Protocol", "https://ai.google/research/pubs/pub44824", "https://en.wikipedia.org/wiki/Equal-cost_multi-path_routing", "https://cloud.google.com/security/encryption-in-transit/", "https://cloud.google.com/load-balancing/docs/network/", "https://kubernetes.io/docs/concepts/services-networking/ingress/", "https://www.nginx.com/", "https://en.wikipedia.org/wiki/SYN_flood", "https://en.wikipedia.org/wiki/Autoscaling", "https://cloud.google.com/compute/quotas", "https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups", "https://grpc.io/blog/deadlines", "https://cloudplatform.googleblog.com/2017/01/availability-part-deux--CRE-life-lessons.html", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/monitoring/", "titulek": "Google SRE - Monitoring Systems with Advanced Analytics", "h1": "Desirable Features of a Monitoring Strategy", "popis": "Gain visibility into your systems with monitoring system. Monitor metrics, text logs, structured event logging, and event introspection.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/monitoring/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/monitoring/"}, "headline": "Monitoring", "description": "Monitoring can include many types of data, including metrics, text logging, structured event logging, distributed tracing, and event introspection. While all of these approaches are useful in their own right, this chapter mostly addresses metrics and structured logging.", "image": "https://lh3.googleusercontent.com/GuPDyFk1Ja635nOVF5H2iyb2ky15AhNLf_P174exWNgSvDB4BRnffIqYucibEdfHSgvq6-8sqe_BHbfEErvFD7hqniIBWseML33Kcw", "author": [{"@type": "Person", "name": "Jess Frame"}, {"@type": "Person", "name": "Anthony Lenton"}, {"@type": "Person", "name": "Steven Thurgood"}, {"@type": "Person", "name": "Anton Tolchanov"}, {"@type": "Person", "name": "Nejc Trdin"}, {"@type": "Person", "name": "Carmela Quinito"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Monitoring"}, {"uroven": 1, "text": "Desirable Features of a Monitoring Strategy"}, {"uroven": 5, "text": "Speed"}, {"uroven": 5, "text": "Calculations"}, {"uroven": 5, "text": "Interfaces"}, {"uroven": 5, "text": "Alerts"}, {"uroven": 1, "text": "Sources of Monitoring Data"}, {"uroven": 5, "text": "Examples"}, {"uroven": 6, "text": "Move information from logs to metrics"}, {"uroven": 6, "text": "Improve both logs and metrics"}, {"uroven": 6, "text": "Keep logs as the data source"}, {"uroven": 1, "text": "Managing Your Monitoring System"}, {"uroven": 5, "text": "Treat Your Configuration as Code"}, {"uroven": 5, "text": "Encourage Consistency"}, {"uroven": 5, "text": "Prefer Loose Coupling"}, {"uroven": 1, "text": "Metrics with Purpose"}, {"uroven": 5, "text": "Intended Changes"}, {"uroven": 5, "text": "Dependencies"}, {"uroven": 5, "text": "Saturation"}, {"uroven": 5, "text": "Status of Served Traffic"}, {"uroven": 5, "text": "Implementing Purposeful Metrics"}, {"uroven": 1, "text": "Testing Alerting Logic"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Monitoring\n\nBy Jess Frame, Anthony Lenton, Steven Thurgood,\nAnton Tolchanov, and Nejc Trdin\nwith Carmela Quinito\n\nMonitoring can include many types of data, including metrics, text logging, structured event logging, distributed tracing, and event introspection. While all of these approaches are useful in their own right, this chapter mostly addresses metrics and structured logging. In our experience, these two data sources are best suited to SRE’s fundamental monitoring needs.\n\nAt the most basic level, monitoring allows you to gain visibility into a system, which is a core requirement for judging service health and diagnosing your service when things go wrong. [Chapter 6](https://sre.google/sre-book/monitoring-distributed-systems/) in the first SRE book provides some basic monitoring definitions and explains that SREs monitor their systems in order to:\n\n- Alert on conditions that require attention.\n- Investigate and diagnose those issues.\n- Display information about the system visually.\n- Gain insight into trends in resource usage or service health for long-term planning.\n- Compare the behavior of the system before and after a change, or between two groups in an experiment.\n\nThe relative importance of these use cases might lead you to make tradeoffs when selecting or building a monitoring system.\n\nThis chapter talks about how Google manages monitoring systems and provides some guidelines for questions that may arise when you’re choosing and running a monitoring system.\n\n# Desirable Features of a Monitoring Strategy\n\nWhen choosing a monitoring system, it is important to understand and prioritize the features that matter to you. If you’re evaluating different monitoring systems, the attributes in this section can help guide your thinking about which solution(s) best suits your needs. If you already have a monitoring strategy, you might consider using some additional capabilities of your current solution. Depending on your needs, one monitoring system may address all of your use cases, or you may want to use a combination of systems.\n\n##### Speed\n\nDifferent organizations will have different needs when it comes to the freshness of data and the speed of data retrieval.\n\nData should be available when you need it: freshness impacts how long it will take your monitoring system to page you when something goes wrong. Additionally, slow data might lead you to accidentally act on incorrect data. For example, during incident response, if the time between cause (taking an action) and effect (seeing that action reflected in your monitoring) is too long, you might assume a change had no effect or deduce a false correlation between cause and effect. Data more than four to five minutes stale might significantly impact how quickly you can respond to an incident.\n\nIf you’re selecting a monitoring system based upon this criteria, you need to figure out your speed requirements ahead of time. Speed of data retrieval is mostly a problem when you’re querying vast amounts of data. It might take some time for a graph to load if it has to tally up a lot of data from many monitored systems. To speed up your slower graphs, it’s helpful if the monitoring system can create and store new time series based on incoming data; then it can precompute answers to common queries.\n\n##### Calculations\n\nSupport for calculations can span a variety of use cases, across a range of complexities. At a minimum, you’ll probably want your system to retain data over a multimonth time frame. Without a long-term view of your data, you cannot analyze long-term trends like system growth. In terms of granularity, summary data (i.e., aggregated data that you can’t drill down into) is sufficient to facilitate growth planning. Retaining all detailed individual metrics may help with answering questions like, “Has this unusual behavior happened before?” However, the data might be expensive to store or impractical to retrieve.\n\nThe metrics you retain about events or resource consumption should ideally be monotonically incrementing counters. Using counters, your monitoring system can calculate windowed functions over time—for example, to report the rate of requests per second from that counter. Computing these rates over a longer window (up to a month) allows you to implement the building blocks for SLO burn-based alerting (see [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/)).\n\nFinally, support for a more complete range of statistical functions can be useful because trivial operations may mask bad behavior. A monitoring system that supports computing percentiles (i.e., 50th, 95th, 99th percentiles) when recording latency will let you see if 50%, 5%, or 1% of your requests are too slow, whereas the arithmetic mean can only tell you—without specifics—that the request time is slower. Alternatively, if your system doesn’t support computing percentiles directly, you can achieve this by:\n\n- Obtaining a mean value by summing the seconds spent in requests and dividing by the number of requests\n- Logging every request and computing the percentile values by scanning or sampling the log entries\n\nYou might want to record your raw metric data in a separate system for offline analysis—for example, to use in weekly or monthly reports, or to perform more intricate calculations that are too difficult to compute in your monitoring system.\n\n##### Interfaces\n\nA robust monitoring system should allow you to concisely display time-series data in graphs, and also to structure data in tables or a range of chart styles. Your dashboards will be primary interfaces for displaying monitoring, so it’s important that you choose formats that most clearly display the data you care about. Some options include heatmaps, histograms, and logarithmic scale graphs.\n\nYou’ll likely need to offer different views of the same data based upon audience; high-level management may want to view quite different information than SREs. Be specific about creating dashboards that make sense to the people consuming the content. For each set of dashboards, displaying the same types of data consistently is valuable for communication.\n\nYou might need to graph information across different aggregations of a metric—such as machine type, server version, or request type—in real time. It’s a good idea for your team to be comfortable with performing ad hoc drill-downs on your data. By slicing your data according to a variety of metrics, you can look for correlations and patterns in the data when you need it.\n\n##### Alerts\n\nIt’s helpful to be able to classify alerts: multiple categories of alerts allow for proportional responses. The ability to set different severity levels for different alerts is also useful: you might file a ticket to investigate a low rate of errors that lasts more than an hour, while a 100% error rate is an emergency that deserves immediate response.\n\nAlert suppression functionality lets you avoid unnecessary noise from distracting on-call engineers. For example:\n\n- When all nodes are experiencing the same high rate of errors, you can alert just once for the global error rate instead of sending an individual alert for every single node.\n- When one of your service dependencies has a firing alert (e.g., a slow backend), you don’t need to alert for error rates of your service.\n\nYou also need to be able to ensure alerts are no longer suppressed once the event is over.\n\nThe level of control you require over your system will dictate whether you use a third-party monitoring service or deploy and run your own monitoring system. Google developed its own monitoring system in-house, but there are plenty of open source and commercial monitoring systems available.\n\n# Sources of Monitoring Data\n\nYour choice of monitoring system(s) will be informed by the specific sources of [monitoring data](https://sre.google/sre-book/monitoring-distributed-systems/) you’ll use. This section discusses two common sources of monitoring data: logs and metrics. There are other valuable monitoring sources that we won’t cover here, like [distributed tracing](https://microservices.io/patterns/observability/distributed-tracing.html) and runtime introspection.\n\nMetrics are numerical measurements representing attributes and events, typically harvested via many data points at regular time intervals. Logs are an append-only record of events. This chapter’s discussion focuses on structured logs that enable rich query and aggregation tools as opposed to plain-text logs.\n\nGoogle’s logs-based systems process large volumes of highly granular data. There’s some inherent delay between when an event occurs and when it is visible in logs. For analysis that’s not time-sensitive, these logs can be processed with a batch system, interrogated with ad hoc queries, and visualized with dashboards. An example of this workflow would be using [Cloud Dataflow](https://cloud.google.com/dataflow/) to process logs, [BigQuery](https://cloud.google.com/bigquery/) for ad hoc queries, and [Data Studio](https://datastudio.google.com/c/navigation/reporting) for the dashboards.\n\nBy contrast, our metrics-based monitoring system, which collects a large number of metrics from every service at Google, provides much less granular information, but in near real time. These characteristics are fairly typical of other logs- and metrics-based monitoring systems, although there are exceptions, such as real-time logs systems or high-cardinality metrics.\n\nOur alerts and dashboards typically use metrics. The real-time nature of our [metrics-based monitoring system](https://sre.google/sre-book/practical-alerting/) means that engineers can be notified of problems very rapidly. We tend to use logs to find the [root cause of an issue](https://sre.google/sre-book/effective-troubleshooting/), as the information we need is often not available as a metric.\n\nWhen reporting isn’t time-sensitive, we often generate detailed reports using logs processing systems because logs will nearly always produce more accurate data than metrics.\n\nIf you’re alerting based on metrics, it might be tempting to add more alerting based on logs—for example, if you need to be notified when even a single exceptional event happens. We still recommend metrics-based alerting in such cases: you can increment a counter metric when a particular event happens, and configure an alert based on that metric’s value. This strategy keeps all alert configuration in one place, making it easier to manage (see Managing Your Monitoring System).\n\n##### Examples\n\nThe following real-world examples illustrate how to reason through the process of choosing between monitoring systems.\n\n###### Move information from logs to metrics\n\n*Problem.* The HTTP status code is an important signal to App Engine customers debugging their errors. This information was available in logs, but not in metrics. The metrics dashboard could provide only a global rate of all errors, and did not include any information about the exact error code or the cause of the error. As a result, the workflow to debug an issue involved:\n\n1. Looking at the global error graph to find a time when an error occurred.\n2. Reading log files to look for lines containing an error.\n3. Attempting to correlate errors in the log file to the graph.\n\nThe logging tools did not give a sense of scale, making it hard to know if an error seen in one log line was occurring frequently. The logs also contained many other irrelevant lines, making it hard to track down the root cause.\n\n*Proposed solution.* The App Engine dev team chose to export the HTTP status code as a label on the metric (e.g., `requests_total{status=404}` versus `requests_total​{status=500}`). Because the number of different HTTP status codes is relatively limited, this did not increase the volume of metric data to an impractical size, but did make the most pertinent data available for graphing and alerting.\n\n*Outcome.* This new label meant the team could upgrade the graphs to show separate lines for different error categories and types. Customers could now quickly form conjectures about possible problems based on the exposed error codes. We could now also set different alerting thresholds for client and server errors, making the alerts trigger more accurately.\n\n###### Improve both logs and metrics\n\n*Problem.* One Ads SRE team maintained ~50 services, which were written in a number of different languages and frameworks. The team used logs as the canonical source of truth for SLO compliance. To calculate the error budget, each service used a logs processing script with many service-specific special cases. Here’s an example script to process a log entry for a single service:\n\n```\nIf the HTTP status code was in the range (500, 599)\nAND the 'SERVER ERROR' field of the log is populated\nAND DEBUG cookie was not set as part of the request\nAND the url did not contain '/reports'\nAND the 'exception' field did not contain 'com.google.ads.PasswordException'\nTHEN increment the error counter by 1\n```\n\nThese scripts were hard to maintain and also used data that wasn’t available to the metrics-based monitoring system. Because metrics drove alerts, sometimes the alerts would not correspond to user-facing errors. Every alert required an explicit triage step to determine if it was user-facing, which slowed down response time.\n\n*Proposed solution.* The team created a library that hooked into the logic of the framework languages of each application. The library decided if the error was impacting users at request time. The instrumentation wrote this decision in logs and exported it as a metric at the same time, improving consistency. If the metric showed that the service had returned an error, the logs contained the exact error, along with request-related data to help reproduce and debug the issue. Correspondingly, any SLO-impacting error that manifested in the logs also changed the SLI metrics, which the team could then alert on.\n\n*Outcome.* By introducing a uniform control surface across multiple services, the team reused tooling and alerting logic instead of implementing multiple custom solutions. All services benefited from removing the complicated, service-specific logs processing code, which resulted in increased scalability. Once alerts were directly tied to SLOs, they were more clearly actionable, so the false-positive rate decreased significantly.\n\n###### Keep logs as the data source\n\n*Problem.* While investigating production issues, one SRE team would often look at the affected entity IDs to determine user impact and root cause. As with the earlier App Engine example, this investigation required data that was available only in logs. The team had to perform one-off log queries for this while they were responding to incidents. This step added time to incident recovery: a few minutes to correctly put together the query, plus the time to query the logs.\n\n*Proposed solution.* The team initially debated whether a metric should replace their log tools. Unlike in the App Engine example, the entity ID could take on millions of different values, so it would not be practical as a metric label.\n\nUltimately, the team decided to write a script to perform the one-off log queries they needed, and documented which script to run in the alert emails. They could then copy the command directly into a terminal if necessary.\n\n*Outcome.* The team no longer had the cognitive load of managing the correct one-off log query. Accordingly, they could get the results they needed faster (although not as quickly as a metrics-based approach). They also had a backup plan: they could run the script automatically as soon as an alert triggered, and use a small server to query the logs at regular intervals to constantly retrieve semifresh data.\n\n# Managing Your Monitoring System\n\nYour monitoring system is as important as any other service you run. As such, it should be treated with the appropriate level of care and attention.\n\n##### Treat Your Configuration as Code\n\nTreating system configuration as code and storing it in the revision control system are common practices that provide some obvious benefits: change history, links from specific changes to your task tracking system, easier rollbacks and linting checks,1 and enforced code review procedures.\n\nWe strongly recommend also treating monitoring configuration as code (for more on configuration, see [Configuration Design and Best Practices](https://sre.google/workbook/configuration-design/)). A monitoring system that supports intent-based configuration is preferable to systems that only provide web UIs or [CRUD-style](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) APIs. This configuration approach is standard for many open source binaries that only read a configuration file. Some third-party solutions like [grafanalib](https://github.com/weaveworks/grafanalib) enable this approach for components that are traditionally configured with a UI.\n\n##### Encourage Consistency\n\nLarge companies with multiple engineering teams who use monitoring need to strike a fine balance: a centralized approach provides consistency, but on the other hand, individual teams may want full control over the design of their configuration.\n\nThe right solution depends on your organization. Google’s approach has evolved over time toward convergence on a single framework run centrally as a service. This solution works well for us for a few reasons. A single framework enables engineers to ramp up faster when they switch teams, and makes collaboration during debugging easier. We also have a centralized dashboarding service, where each team’s dashboards are discoverable and accessible. If you easily understand another team’s dashboard, you can debug both your issues and theirs more quickly.\n\nIf possible, make basic monitoring coverage effortless. If all your services2 export a consistent set of basic metrics, you can automatically collect those metrics across your entire organization and provide a consistent set of dashboards. This approach means that any new component you launch automatically has basic monitoring. Many teams across your company—even nonengineering teams—can use this monitoring data.\n\n##### Prefer Loose Coupling\n\nBusiness requirements change, and your production system will look different a year from now. Similarly, your monitoring system needs to evolve over time as the services it monitors evolve through different patterns of failure.\n\nWe recommend keeping the components of your monitoring system loosely coupled. You should have stable interfaces for configuring each component and passing monitoring data. Separate components should be in charge of collecting, storing, alerting, and visualizing your monitoring. Stable interfaces make it easier to swap out any given component for a better alternative.\n\nSplitting functionality into individual components is becoming popular in the open source world. A decade ago, monitoring systems like [Zabbix](https://www.zabbix.com/) combined all functions into a single component. Modern design usually involves separating collection and rule evaluation (with a solution like [Prometheus server](https://prometheus.io/)), long-term time series storage ([InfluxDB](https://www.influxdata.com/)), alert aggregation ([Alertmanager](https://prometheus.io/docs/alerting/alertmanager/)), and dashboarding ([Grafana](https://grafana.com/)).\n\nAs of this writing, there are at least two popular open standards for instrumenting your software and exposing metrics:\n\n[statsd](https://github.com/etsy/statsd)\n\n- The metric aggregation daemon initially written by Etsy and now ported to a majority of programming languages.\n\nPrometheus\n\n- An open source monitoring solution with a flexible data model, support for metric labels, and robust histogram functionality. Other systems are now adopting the Prometheus format, and it is being standardized as [OpenMetrics](https://openmetrics.io/) .\n\nA separate dashboarding system that can use multiple data sources provides a central and unified overview of your service. Google recently saw this benefit in practice: our legacy monitoring system (Borgmon3) combined dashboards in the same configuration as alerting rules. While migrating to a new system ([Monarch](https://www.youtube.com/watch?v=LlvJdK1xsl4&feature=youtu.be)), we decided to move dashboarding into a separate service ([Viceroy](https://sre.google/sre-book/communication-and-collaboration/)). Because Viceroy was not a component of Borgmon or Monarch, Monarch had fewer functional requirements. Since users could use Viceroy to display graphs based on data from both monitoring systems, they could gradually migrate from Borgmon to Monarch.\n\n# Metrics with Purpose\n\n[Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/) covers how to monitor and alert using SLI metrics when a system’s error budget is under threat. SLI metrics are the first metrics you want to check when SLO-based alerts trigger. These metrics should appear prominently in your service’s dashboard, ideally on its landing page.\n\nWhen investigating the cause of an SLO violation, you will most likely not get enough information from the SLO dashboards. These dashboards show that you are violating the SLO, but not necessarily why. What other data should the monitoring dashboards display?\n\nWe’ve found the following guidelines helpful in implementing metrics. These metrics should provide reasonable monitoring that allows you to investigate production issues and also provide a broad range of information about your service.\n\n##### Intended Changes\n\nWhen diagnosing an SLO-based alert, you need to be able to move from alerting metrics that notify you of user-impacting issues to metrics that tell you what is causing these issues. Recent intended changes to your service might be at fault. Add monitoring that informs you of any changes in production.4 To determine the trigger, we recommend the following:\n\n- Monitor the version of the binary.\n- Monitor the command-line flags, especially when you use these flags to enable and disable features of the service.\n- If configuration data is pushed to your service dynamically, monitor the version of this dynamic configuration.\n\nIf any of these pieces of the system aren’t versioned, you should be able to monitor the timestamp at which it was last built or packaged.\n\nWhen you’re trying to correlate an outage with a rollout, it’s much easier to look at a graph/dashboard linked from your alert than to trawl through your CI/CD (continuous integration/continuous delivery) system logs after the fact.\n\n##### Dependencies\n\nEven if your service didn’t change, any of its dependencies might change or have problems, so you should also monitor responses coming from direct dependencies.\n\nIt’s reasonable to export the request and response size in bytes, latency, and response codes for each dependency. When choosing the metrics to graph, keep the four [golden signals](https://sre.google/sre-book/monitoring-distributed-systems#xref_monitoring_golden-signals) in mind. You can use additional labels on the metrics to break them down by response code, RPC (remote procedure call) method name, and peer job name.\n\nIdeally, you can instrument the lower-level RPC client library to export these metrics once, instead of asking each RPC client library to export them.5 Instrumenting the client library provides more consistency and allows you to monitor new dependencies for free.\n\nYou will sometimes come across dependencies that offer a very narrow API, where all functionality is available via a single RPC called Get, Query, or something equally unhelpful, and the actual command is specified as arguments to this RPC. A single instrumentation point in the client library falls short with this type of dependency: you will observe a high variance in latency and some percentage of errors that may or may not indicate that some part of this opaque API is failing entirely. If this dependency is critical, you have a couple of options to monitor it well:\n\n- Export separate metrics to tailor for the dependency, so that the metrics can unpack requests they receive to get at the actual signal.\n- Ask the dependency owners to perform a rewrite to export a broader API that supports separate functionality split across separate RPC services and methods.\n\n##### Saturation\n\nAim to monitor and track the usage of every resource the service relies upon. Some resources have hard limits you cannot exceed, like RAM, disk, or CPU quota allocated to your application. Other resources—like open file descriptors, active threads in any thread pools, waiting times in queues, or the volume of written logs—may not have a clear hard limit but still require management.\n\nDepending on the programming language in use, you should monitor additional resources:\n\n- In Java: The heap and [metaspace](https://plumbr.io/outofmemoryerror/metaspace) size, and more specific metrics depending on what type of garbage collection you’re using\n- In Go: The number of goroutines\n\nThe languages themselves provide varying support to track these resources.\n\nIn addition to alerting on significant events as described in [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/) you might also need to set up alerting that fires when you approach exhaustion for specific resources, such as:\n\n- When the resource has a hard limit\n- When crossing a usage threshold causes performance degradation\n\nYou should have monitoring metrics to track all resources—even resources that the service manages well. These metrics are vital in capacity and resource planning.\n\n##### Status of Served Traffic\n\nIt’s a good idea to add metrics or metric labels that allow the dashboards to break down served traffic by status code (unless the metrics your service uses for SLI purposes already include this information). Here are some recommendations:\n\n- For HTTP traffic, monitor all response codes, even if they don’t provide enough signal for alerting, because some can be triggered by incorrect client behavior.\n- If you apply rate limits or quota limits to your users, monitor aggregates of how many requests were denied due to lack of quota.\n\nGraphs of this data can help you identify when the volume of errors changes noticeably during a production change.\n\n##### Implementing Purposeful Metrics\n\nEach exposed metric should serve a purpose. Resist the temptation of exporting a handful of metrics just because they are easy to generate. Instead, think about how these metrics will be used. Metric design, or lack thereof, has implications.\n\nIdeally, metric values used for alerting change dramatically only when the system enters a problem state, and don’t change when a system is operating normally. On the other hand, metrics for debugging don’t have these requirements—they’re intended to provide insight about what is happening when alerts are triggered. Good debugging metrics will point at some aspect of the system that’s potentially causing the issues. When you write a postmortem, think about which additional metrics would have allowed you to diagnose the issue faster.\n\n# Testing Alerting Logic\n\nIn an ideal world, monitoring and alerting code should be subject to the same testing standards as code development. While Prometheus developers are [discussing developing unit tests for monitoring](https://github.com/prometheus/prometheus/issues/1695), there is currently no broadly adopted system that allows you to do this.\n\nAt Google, we test our monitoring and alerting using a domain-specific language that allows us to create synthetic time series. We then write assertions based upon the values in a [derived time series](../../sre-book/practical-alerting/), or the firing status and label presence of specific alerts.\n\nMonitoring and alerting is often a multistage process, which therefore calls for multiple families of unit tests. While this area remains largely underdeveloped, should you want to implement monitoring testing at some point, we recommend a three-tiered approach, as shown in Figure 4-1.\n\nFigure 4-1. Monitoring testing environment tiers\n\n1. *Binary reporting:* Check that the exported metric variables change in value under certain conditions as expected.\n2. *Monitoring configurations:* Make sure that rule evaluation produces expected results, and that specific conditions produce the expected alerts.\n3. *Alerting configurations:* Test that generated alerts are routed to a predetermined destination, based on alert label values.\n\nIf you can’t test your monitoring via synthetic means, or there’s a stage of your monitoring you simply can’t test, consider creating a running system that exports well-known metrics, like number of requests and errors. You can use this system to validate derived time series and alerts. It’s very likely that your alerting rules will not fire for months or years after you configure them, and you need to have confidence that when the metric passes a certain threshold, the correct engineers will be alerted with notifications that make sense.\n\n# Conclusion\n\nBecause the SRE role is responsible for the reliability of systems in production, SREs are often required to be intimately familiar with a service’s monitoring system and its features. Without this knowledge, SREs might not know where to look, how to identify abnormal behavior, or how to find the information they need during an emergency.\n\nWe hope that by pointing out monitoring system features we find useful and why, we can help you evaluate how well your monitoring strategy fits your needs, explore some additional features you might be able to leverage, and consider changes you might want to make. You’ll probably find it useful to combine some source of metrics and logging in your monitoring strategy; the exact mix you need is highly context-dependent. Make sure to collect metrics that serve a particular purpose. That purpose may be to enable better capacity planning, assist in debugging, or directly notify you about problems.\n\nOnce you have monitoring in place, it needs to be visible and useful. To this end, we also recommend testing your monitoring setup. A good monitoring system pays dividends. It is well worth the investment to put substantial thought into what solutions best meet your needs, and to iterate until you get it right.\n\n1For example, using promtool to verify that your Prometheus config is syntactically correct.\n\n2You can export basic metrics via a common library: an instrumentation framework like [OpenCensus](https://opencensus.io/), or a service mesh like [Istio](https://istio.io/).\n\n3See [Chapter 10](https://sre.google/sre-book/practical-alerting/) of Site Reliability Engineering for Borgmon’s concepts and structure.\n\n4This is one case where monitoring via logs is appealing, particularly because production changes are relatively infrequent. Whether you use logs or metrics, these changes should be surfaced in your dashboards so they’re easily accessible for debugging production issues.\n\n5See [https://opencensus.io/](https://opencensus.io/) for a set of libraries that provides this.", "znaku_textu": 30875, "slov": 4692, "odkazu": 75, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:30", "sha256": "5fd2f4a0c4f1fd2b4714d802489a8f78963a22c6e92dc554e501bebca768292f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://microservices.io/patterns/observability/distributed-tracing.html", "https://cloud.google.com/dataflow/", "https://cloud.google.com/bigquery/", "https://datastudio.google.com/c/navigation/reporting", "https://en.wikipedia.org/wiki/Create,_read,_update_and_delete", "https://github.com/weaveworks/grafanalib", "https://www.zabbix.com/", "https://prometheus.io/", "https://www.influxdata.com/", "https://prometheus.io/docs/alerting/alertmanager/", "https://grafana.com/", "https://github.com/etsy/statsd", "https://openmetrics.io/", "https://www.youtube.com/watch?feature=youtu.be&v=LlvJdK1xsl4", "https://plumbr.io/outofmemoryerror/metaspace", "https://github.com/prometheus/prometheus/issues/1695", "https://opencensus.io/", "https://istio.io/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/non-abstract-design/", "titulek": "Google SRE - System Design: Non-Abstract Large System Design", "h1": "What Is NALSD?", "popis": "Explore NALSD for a scalable, reliable system. Learn iterative design approaches, capacity planning, and handling operational cost effectively.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/non-abstract-design/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/non-abstract-design/"}, "headline": "Introducing Non-Abstract Large System Design", "description": "This chapter presents a NALSD approach: we begin with the problem statement, gather requirements, and iterate through designs that become increasingly sophisticated until we reach a viable solution. Ultimately, we arrive at a system that defends against many failure modes and satisfies both the initial requirements and additional details that emerged as we iterated.", "image": "https://lh3.googleusercontent.com/xJ4maPDQQimgZ25xQjnM2-q-0H79hE-xbMcizC01Zr5vwGgYX3sks_6oeSJYCnqdFQJ789T_gbXpLd1E_AElF-3-pSckSa7yU-0hHQ", "author": [{"@type": "Person", "name": "Salim Virji"}, {"@type": "Person", "name": "James Youngman"}, {"@type": "Person", "name": "Henry Robertson"}, {"@type": "Person", "name": "Stephen Thorne"}, {"@type": "Person", "name": "Dave Rensin"}, {"@type": "Person", "name": "Zoltan Egyed"}, {"@type": "Person", "name": "Richard Bondi"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Introducing Non-Abstract Large System Design"}, {"uroven": 1, "text": "What Is NALSD?"}, {"uroven": 1, "text": "Why “Non-Abstract”?"}, {"uroven": 1, "text": "AdWords Example"}, {"uroven": 5, "text": "Design Process"}, {"uroven": 5, "text": "Initial Requirements"}, {"uroven": 5, "text": "One Machine"}, {"uroven": 6, "text": "Calculations"}, {"uroven": 6, "text": "Evaluation"}, {"uroven": 5, "text": "Distributed System"}, {"uroven": 6, "text": "MapReduce"}, {"uroven": 6, "text": "LogJoiner"}, {"uroven": 6, "text": "Sharded LogJoiner"}, {"uroven": 6, "text": "Multidatacenter"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Introducing Non-Abstract Large System Design\n\nBy Salim Virji, James Youngman, Henry Robertson,\nStephen Thorne, Dave Rensin, and Zoltan Egyed\nwith Richard Bondi\n\nWith responsibilities that span production operations and product engineering, SRE is in a unique position to align business case requirements and operational costs. Product engineering teams may not be aware of the maintenance cost of systems they design, especially if that product team is building a single component that factors into a greater production ecosystem.\n\nBased on Google’s experience developing systems, we consider reliability to be the most critical feature of any production system. We find that deferring reliability issues during design is akin to accepting fewer features at higher costs. By following an iterative style of system design and implementation, we arrive at robust and scalable designs with low operational costs. We call this style Non-Abstract Large System Design (NALSD).\n\n# What Is NALSD?\n\nThis chapter presents a NALSD approach: we begin with the problem statement, gather requirements, and iterate through designs that become increasingly sophisticated until we reach a viable solution. Ultimately, we arrive at a system that defends against many failure modes and satisfies both the initial requirements and additional details that emerged as we iterated.\n\nNALSD describes a skill critical to SRE: the ability to assess, design, and evaluate large systems. Practically, NALSD combines elements of capacity planning, component isolation, and graceful system degradation that are crucial to highly available production systems. Google SREs are expected to be able to start resource planning with a basic whiteboard diagram of a system, think through the various scaling and failure domains, and focus their design into a concrete proposal for resources. Because these systems change over time, it’s vitally important that an SRE is able to analyze and evaluate the key [aspects of the system design.](https://sre.google/sre-book/managing-critical-state/)\n\n# Why “Non-Abstract”?\n\nAll systems will eventually have to run on real computers in real datacenters using real networks. Google has learned (the hard way) that the people designing distributed systems need to develop and continuously exercise the muscle of turning a whiteboard design into concrete estimates of resources at multiple steps in the process. Without this rigor, it’s too tempting to create systems that don’t quite translate in the real world.\n\nThis extra bit of work up front typically leads to fewer last-minute system design changes to account for some unforeseen physical constraint.\n\nPlease note that while we drive these exercises to discrete results (e.g., number of machines), examples of sound reasoning and assumption making are more important than any final values. Early assumptions heavily influence calculation results, and making perfect assumptions isn’t a requirement for NALSD. The value of this exercise is in combining many imperfect-but-reasonable results into a better understanding of the design.\n\n# AdWords Example\n\nThe Google AdWords service displays text advertisements on Google Web Search. The click-through rate (CTR) metric tells advertisers how well their ads are performing. CTR is the ratio of times the ad is clicked versus the number of times the ad is shown.\n\nThis AdWords example aims to design a system capable of measuring and reporting an accurate CTR for every AdWords ad. The data we need to calculate CTR is recorded in logs of the search and ad serving systems. These logs record the ads that are shown for each search query and the ads that are clicked, respectively.\n\n##### Design Process\n\nGoogle uses an iterative approach to [design systems](https://sre.google/workbook/configuration-design/) that meet our goals. Each iteration defines a potential design and examines its strengths and weaknesses. This analysis either feeds into the next iteration or indicates when the design is good enough to recommend.\n\nIn broad strokes, the NALSD process has two phases, each with two to three questions.\n\nIn the basic design phase, we try to invent a design that works in principle. We ask two questions:\n\nIs it possible?\n\n- Is the design even possible? If we didn’t have to worry about enough RAM, CPU, network bandwidth, and so on, what would we design to satisfy the requirements?\n\nCan we do better?\n\n- For any such design, we ask, “Can we do better?” For example, can we make the system meaningfully faster, smaller, more efficient? If the design solves the problem in [O(N) time](https://en.wikipedia.org/wiki/Big_O_notation) , can we solve it more quickly—say, O(ln( N ))?\n\nIn the next phase, we try to scale up our basic design—for example, by dramatically increasing a requirement. We ask three questions:\n\nIs it feasible?\n\n- Is it possible to scale this design, given constraints on money, hardware, and so on? If necessary, what distributed design would satisfy the requirements?\n\nIs it resilient?\n\n- Can the design fail gracefully? What happens when this component fails? How does the system work when an entire datacenter fails?\n\nCan we do better?\n\nWhile we generally cover these phases and questions in this approximate order, in practice, we bounce around between the questions and phases. For example, during the basic design phase, we often have growth and scaling in the back of our minds.\n\nThen we iterate. One design may successfully pass most of the phases, only to flounder later. When that happens, we start again, modifying or replacing components. The final design is the end of a story of twists and turns.\n\nWith these concepts in mind, let’s walk through the iterative NALSD process.\n\n##### Initial Requirements\n\nEach advertiser may have multiple advertisements. Each ad is keyed by `ad_id` and is associated with a list of search terms selected by the advertiser.\n\nWhen displaying a dashboard to an advertiser, we need to know the following for each ad and search term:\n\n- How often this search term triggered this ad to be shown\n- How many times the ad was clicked by someone who saw the ad\n\nWith this information, we can calculate the CTR: the number of clicks divided by the number of impressions.\n\nWe know our advertisers care about two things: that the dashboard displays quickly, and that the data is recent. Therefore, when iterating on the design, we will consider our requirements in terms of SLOs (see [Implementing SLOs](https://sre.google/workbook/implementing-slos/) for more details):\n\n- 99.9% of dashboard queries complete in < 1 second.\n- 99.9% of the time, the CTR data displayed is less than 5 minutes old.\n\nThese SLOs provide a reasonable goal that we should be able to consistently meet. They also provide an error budget (see [Chapter 4](https://sre.google/sre-book/service-level-objectives/) in Site Reliability Engineering), which we will compare our solution against in each iteration of the design.\n\nWe aim to create a system that can meet our SLOs and also support millions of advertisers who want to see their CTRs on a dashboard. For transaction rates, let’s assume 500,000 search queries per second and 10,000 ad clicks per second.\n\n##### One Machine\n\nThe simplest starting point is to consider running our entire application on a single computer.\n\nFor every web search query, we log:\n\n`time`\n\n- The time the query occurred\n\n`query_id`\n\n- A unique query identifier (query ID)\n\n`search_term`\n\n- The query content\n\n`ad_id`\n\n- The ad IDs of all the AdWords advertisements shown for the search\n\nTogether, this information forms the query log. Every time a user clicks an ad, we log the time of the click, the query ID, and the ad ID in the click log.\n\nYou may be wondering why we don’t simply add the `search_term` to the click log to reduce complexity. In the arbitrarily reduced scope of our example, this could be feasible. However, in practice, CTR is actually only one of many insights calculated from these logs. Click logs are derived from URLs, which have inherent size limitations, making the separate query log a more scalable solution. Instead of proving this point by adding extra CTR-like requirements to the exercise, we will simply acknowledge this assumption and move forward.\n\nDisplaying a dashboard requires the data from both logs. We need to be able to show that we can achieve our SLO of displaying fresh data on the dashboard in under a second. Achieving this SLO requires that the speed of calculating a CTR remains constant as the system handles large amounts of clicks and queries.\n\nTo meet our SLO of displaying our dashboard in under one second, we need quick lookups of the number of clicked and shown `query_id`s per `search_term` for a given `ad_id`. We can extract the breakdown of shown `query_id`s per `search_term` and `ad_id` from the query log. A CTR dashboard needs all records from both the query log and the click log for the `ad_id`s.\n\nIf we have more than a few advertisers, scanning through the query log and the click log to generate the dashboard will be very inefficient. Therefore, our design calls for our one machine to create an appropriate data structure to allow fast CTR calculations as it receives the logs. On a single machine, using an SQL database with indexes on `query_id` and `search_term` should be able to provide answers in under a second. By joining these logs on `query_id` and grouping by `search_term`, we can report the CTR for each search.\n\n###### Calculations\n\nWe need to calculate how many resources we need to parse all these logs. To determine our scaling limits, we need to make some assumptions, starting with the size of the query log:\n\n`time`\n\n- 64-bit integer, 8 bytes\n\n`query_id`\n\n- 64-bit integer, 8 bytes\n\n`ad_id`\n\n- Three 64-bit integers, 8 bytes\n\n`search_term`\n\n- A long string, up to 500 bytes\n\nOther metadata\n\n- 500–1,000 bytes of information, such as which machine served the ads, which language the search was in, and how many results the search term returned\n\nTo make sure we don’t prematurely hit a limit, we aggressively round up to treat each query log entry as 2 KB. Click log volume should be considerably smaller than query log volume: because the average CTR is 2% (10,000 clicks / 500,000 queries), the click log will have 2% as many records as the query log. Remember that we chose big numbers to illustrate that these principles scale to arbitrarily large implementations. These estimations seem large because they’re supposed to be.\n\nFinally, we can use scientific notation to limit errors caused by arithmetic on inconsistent units. The volume of query logs generated in a 24-hour period will be:\n\n- (5 × 10 5 queries/sec) × (8.64 × 10 4 seconds/day) × (2 × 10 3 bytes) = 86.4 TB/day\n\nBecause we receive 2% as many clicks as queries, and we know that our database indexes will add some reasonable amount of overhead, we can round our 86.4 TB/day up to 100 TB of space required to store one day’s worth of log data.\n\nWith an aggregate storage requirement of ~100 TB, we have some new assumptions to make. Does this design still work with a single machine? While it is possible to attach 100 TB of disks to a single machine, we’ll likely be limited by the machine’s ability to read from and write to disk.\n\nFor example, a common 4 TB HDD might be able to sustain 200 input/output operations per second (IOPS). If every log entry can be stored and indexed in an average of one disk write per log entry, we see that IOPS is a limiting factor for our query logs:\n\n- (5 × 10 5 queries/sec) / (200 IOPS/disk) = 2.5 × 10 3 disks or 2,500 disks\n\nEven if we can batch our queries in a 10:1 ratio to limit the operations, in a best-case scenario we’d need several hundred HDDs. Considering that query log writes are only one component of the design’s IO requirements, we need to use a solution that handles high IOPS better than traditional HDDs.\n\nFor simplicity’s sake, we’ll move straight to evaluating RAM and skip the evaluation of other storage media, such as solid state disk (SSD). A single machine can’t handle a 100 TB footprint entirely in RAM: assuming we have a standard machine footprint of 16 cores, 64 GB RAM, and 1 Gbps network throughput available, we’ll need:\n\n- (100 TB) / (64 GB RAM/machine) = 1,563 machines\n\n###### Evaluation\n\nIgnoring our calculations for a moment and imagining we could fit this design in a single machine, would we actually want to? If we test our design by asking what happens when this component fails, we identify a long list of single points of failure (e.g., CPU, memory, storage, power, network, cooling). Can we reasonably support our SLOs if one of these components fails? Almost certainly not—even a simple power cycle would significantly impact our users.\n\nReturning to our calculations, our one-machine design once again looks unfeasible, but this step hasn’t been a waste of time. We’ve discovered valuable information about how to reason about the constraints of the system and its initial requirements. We need to evolve our design to use more than one machine.\n\n##### Distributed System\n\nThe `search_term`s we need are in the query log, and the `ad_id`s are in the click log. Now that we know we’ll need multiple machines, what’s the best design to join them?\n\n###### MapReduce\n\nWe can process and join the logs with a [MapReduce](https://en.wikipedia.org/wiki/MapReduce). We can periodically grab the accumulated query logs and click logs, and the MapReduce will produce a data set organized by `ad_id` that displays the number of clicks each `search_term` received.\n\nMapReduce works as a batch processor: its inputs are a large data set, and it can use many machines to process that data via workers and produce a result. Once all machines have processed their data, their output can be combined—the MapReduce can directly create summaries of every CTR for every AdWords ad and search term. We can use this data to create the dashboards we need.\n\n*Evaluation.* MapReduce is a widely used model of computation that we are confident will scale horizontally. No matter how big our query log and click log inputs are, adding more machines will always allow the process to complete successfully without running out of disk space or RAM.\n\nUnfortunately, this type of batch process can’t meet our SLO of joined log availability within 5 minutes of logs being received. To serve results within 5 minutes, we’d need to run MapReduce jobs in small batches—just a few minutes of logs at a time.\n\nThe arbitrary and nonoverlapping nature of the batches makes small batches impractical. If a logged query is in batch 1, and its click is in batch 2, the click and query will never be joined. While MapReduce handles self-contained batches well, it’s not optimized for this kind of problem. At this point, we could try to figure out potential workarounds using MapReduce. For simplicity’s sake, however, we’ll move on to examine another solution.\n\n###### LogJoiner\n\nThe number of ads that users click is significantly smaller than the number of ads served. Intuitively, we need to focus on scaling the larger of the two: query logs. We do this by introducing a new distributed system component.\n\nRather than looking for the `query_id` in small batches, as in our MapReduce design, what if we created a store of all queries that we can look up by `query_id` on demand? We’ll call it the QueryStore. It holds the full content of the query logs, keyed by `query_id`. To avoid repetition, we’ll assume that our calculations from the one-machine design will apply to the QueryStore and we’ll limit the review of QueryStore to what we’ve already covered. For a deeper discussion on how a component like this might work, we recommend reading about Bigtable.1\n\nBecause click logs also have the `query_id`, the scale of our processing loop is now much smaller: it only needs to loop over the click logs and pull in the specific queries referenced. We’ll call this component the LogJoiner.\n\nLogJoiner takes a continuous stream of data from the click logs, joins it with the data in QueryStore, and then stores that information, organized by `ad_id`. Once the queries that were clicked on are stored and indexed by `ad_id`, we have half the data required to generate the CTR dashboard. We will call this the ClickMap, because it maps from `ad_id` to the clicks.\n\nIf we don’t find a query for a click (there may be a slowdown in receiving the query logs), we put it aside for some time and retry, up to a time limit. If we can’t find a query for it by that time limit, we discard that click.\n\nThe CTR dashboard needs two components for each `ad_id` and `search_term` pair: the number of impressions, and the number of ads clicked on. ClickMap needs a partner to hold the queries, organized by `ad_id`. We’ll call this QueryMap. QueryMap is directly fed all the data from the query log, and also indexes entries by `ad_id`.\n\nFigure 12-1 depicts how data flows through the system.\n\nThe LogJoiner design introduces several new components: LogJoiner, QueryStore, ClickMap, and QueryMap. We need to make sure these components can scale.\n\nFigure 12-1. Basic LogJoiner design; the click data is processed and stored so the dashboard can retrieve it\n\n*Calculations.* From the calculations we performed in previous iterations, we know the QueryStore will be around 100 TB of data for a day of logs. We can delete data that’s too old to be of value.\n\nThe LogJoiner should process clicks as they come in and retrieve the corresponding query logs from the QueryStore.\n\nThe amount of network throughput LogJoiner needs to process the logs is based on how many clicks per second we have in our logs, multiplied by the 2 KB record size:\n\n- (10 4 clicks/sec) × (2 × 10 3 bytes) = 2 × 10 7 = 20 MB/sec = 160 Mbps\n\nThe QueryStore lookups incur additional network usage. For each click log record, we look up the `query_id` and return a full log record:\n\n- (10 4 clicks/sec) × (8 bytes) = 8 × 10 4 = 80 KB/sec = 640 Kbps\n- (10 4 clicks/sec) * (2 × 10 3 bytes) = 2 × 10 7 = 20 MB/sec = 160 Mbps\n\nLogJoiner will also send results to ClickMap. We need to store the `query_id`, `ad_id`, `search_term`, and `time`. `time` and `query_id` are both 64-bit integers, so that data will be less than 1 KB:\n\n- (10 4 clicks/sec) × (10 3 bytes) = 10 7 = 10 MB/sec = 80 Mbps\n\nAn aggregate of ~400 Mbps is a manageable rate of data transfer for our machines.\n\nThe ClickMap has to store the `time` and the `query_id` for each click, but does not need any additional metadata. We’ll ignore `ad_id` and `search_term` because they are a small linear factor (e.g., number of advertisers × number of ads × 8 bytes). Even 10 million advertisers with 10 ads each is only ~800 MB. A day’s worth of ClickMap is:\n\n- (10 4 clicks/sec) × (8.64 × 10 4 seconds/day) × (8 bytes + 8 bytes) = 1.4 × 10 10 = 14 GB/day for ClickMap\n\nWe’ll round ClickMap up to 20 GB/day to account for any overhead and our `ad_ids`.\n\nAs we fill out the QueryMap, we need to store the `query_id` for each ad that is shown. Our storage need increases because there are potentially three `ad_id`s that could be clicked on for each search query, so we’ll need to record the `query_id` in up to three entries:\n\n- 3 × (5 × 10 5 queries/sec) × (8.64 × 10 4 seconds/day) × (8 bytes + 8 bytes) = 2 × 10 12 = 2 TB/day for QueryMap\n\n2 TB is small enough to be hosted on a single machine using HDDs, but we know from our one-machine iteration that the individual small writes are too frequent to store on a hard drive. While we could calculate the impact of using higher IOPS drives (e.g., SSD), our exercise is focused on demonstrating that the system can scale to an arbitrarily large size. In this case, we need to design around a single machine’s IO limitations. Therefore, the next step in scaling the design is to shard the inputs and outputs: to divide the incoming query logs and click logs into multiple streams.\n\n###### Sharded LogJoiner\n\nOur goal in this iteration is to run multiple LogJoiner instances, each on a different shard of the data.2 To this end, we need to think about several factors:\n\nData management\n\n- To join the query logs and click logs, we must match each click log record with its corresponding query log record on the `query_id` . The design should prevent network and disk throughput from constraining our design as we scale.\n\nReliability\n\n- We know a machine can fail at any time. When a machine running LogJoiner fails, how do we make sure we don’t lose the work that was in progress?\n\nEfficiency\n\n- Can we scale up without being wasteful? We need to use the minimum resources that meet our data management and reliability concerns.\n\nOur LogJoiner design showed that we can join our query logs and click logs, but the resulting volume of data is very large. If we divide the work into shards based on `query_id`, we can run multiple LogJoiners in parallel.\n\nProvided a reasonable number of LogJoiner instances, if we distribute the logs evenly, each instance receives only a trickle of information over the network. As the flow of clicks increases, we scale horizontally by adding more LogJoiner instances, instead of scaling vertically by using more CPU and RAM.\n\nAs shown in Figure 12-2, so that the LogJoiners receive the right messages, we introduce a component called a log sharder, which will direct each log entry to the correct destination. For every record, our click log sharders do the following:\n\n1. Hash the record’s `query_id` .\n2. Modulo the result with N (the number of shards) and add 1 to arrive at a number between 1 and N .\n3. Send the record to the shard number in step 2.\n\nFigure 12-2. How should sharding work?\n\nNow each LogJoiner will get a consistent subset of the incoming logs broken up by `query_id`, instead of the full click log.\n\nThe QueryMap needs to be sharded as well. We know that it will take many hard drives to sustain the IOPS required of QueryMap, and that the size of one day’s QueryMap (2 TB) is too large for our 64 GB machines to store in RAM. However, instead of sharding by `query_id` like the LogJoiner, we will shard on `ad_id`. The `ad_id` is known before any read or write, so using the same hashing approach as the LogJoiner and CTR dashboard will provide a consistent view of the data.\n\nTo keep implementations consistent, we can reuse the same log sharder design for the ClickMap as the QueryMap, since the ClickMap is smaller than the QueryMap.\n\nNow that we know our system will scale, we can move on to address the system’s reliability. Our design must be resilient to LogJoiner failures. If a LogJoiner fails after receiving log messages but before joining them, all its work must be redone. This delays the arrival of accurate data to the dashboard, which will affect our SLO.\n\nIf our log sharder process sends duplicate log entries to two shards, the system can continue to perform at full speed and process accurate results even when a LogJoiner fails (likely because the machine it is on fails).\n\nBy replicating the work in this way, we reduce (but do not eliminate) the chance of losing those joined logs. Two shards might break at the same time and lose the joined logs. By distributing the workload to ensure no duplicate shards land on the same machine, we can mitigate much of that risk. If two machines fail concurrently and we lose both copies of the shard, the system’s error budget (see [Chapter 4](https://sre.google/sre-book/service-level-objectives/) from the first SRE book) can cover the remaining risk. When a disaster does occur, we can reprocess the logs. The dashboard will show only data that’s a bit older than 5 minutes for a brief window of time.\n\nFigure 12-3 shows our design for a shard and its replica, where the LogJoiner, ClickMap, and QueryMap are built on both shards.\n\nFrom the joined logs, we can construct a ClickMap on each of the LogJoiner machines. To display our user dashboards, all ClickMaps need to be combined and queried.\n\n*Evaluation.* Hosting the sharded components in one datacenter creates a single point of failure: if either the right unlucky pair of machines or the datacenter is disconnected, we lose all the ClickMap work, and user dashboards stop working entirely! We need to evolve our design to use more than one datacenter.\n\nFigure 12-3. Sharding of logs with same query_id to duplicate shards\n\n###### Multidatacenter\n\nDuplicating data across datacenters in different geographic locations allows our serving infrastructure to withstand catastrophic failures. If one datacenter is down (e.g., because of a multiday power or network outage), we can fail over to another datacenter. For failover to work, ClickMap data must be available in all datacenters where the system is deployed.\n\nIs such a ClickMap even possible? We don’t want to multiply our compute requirements by the number of datacenters, but how can we efficiently synchronize work between sites to ensure sufficient replication without creating unnecessary duplication?\n\nWe’ve just described an example of the well-known [consensus](https://en.wikipedia.org/wiki/Consensus_(computer_science)) problem in distributed systems engineering. There are a number of complex algorithms for solving this problem, but the basic idea is:\n\n1. Make three or five replicas of the service you want to share (like ClickMap).\n2. Have the replicas use a consensus algorithm such as [Paxos](https://en.wikipedia.org/wiki/Paxos_(computer_science)) to ensure that we can reliably store the state of the calculations if a datacenter-sized failure occurs.\n3. Implement at least one network round-trip time between the participating nodes to accept a write operation. This requirement places a limit on the sequential throughput for the system. We can still parallelize some of the writes to the distributed consensus-based map.\n\nFollowing the steps just listed, the multidatacenter design now seems workable in principle. Will it also work in practice? What types of resources do we need, and how many of them do we need?\n\n*Calculations.* The latency of executing the Paxos algorithm with fault-isolated datacenters means that each operation needs roughly 25 milliseconds to complete. This latency assumption is based upon datacenters at least a few hundred kilometers apart. Therefore, in terms of sequential processes, we can only perform one operation per 25 milliseconds or 40 operations per second. If we need to perform sequential processes 104 times per second (click logs), we need at least 250 processes per datacenter, sharded by `ad_id`, for the Paxos operations. In practice, we’d want to add more processes to increase parallelism—to handle accumulated backlog after any downtime or traffic spikes.\n\nBuilding on our previous calculations for ClickMap and QueryMap, and using the estimate of 40 sequential operations per second, how many new machines do we need for our multidatacenter design?\n\nBecause our sharded LogJoiner design introduces a replica for each log record, we’ve doubled the number of transactions per second to create the ClickMap and QueryMap: 20,000 clicks/second and 1,000,000 queries/second.\n\nWe can calculate the minimum number of processes, or tasks, required by dividing the total queries per second by our maximum operations per second:\n\n- (1.02 × 10 6 queries/sec) / (40 operations/sec) = 25,500 tasks\n\nThe amount of memory for each task (two copies of 2 TB QueryMap):\n\n- (4 × 10 12 bytes) / (25,500 tasks) = 157 MB/task\n\nTasks per machine:\n\n- (6.4 × 10 10 bytes) / (1.57 × 10 8 bytes) = 408 tasks/machine\n\nWe know we can fit many tasks on a single machine, but we need to ensure that we won’t be bottlenecked by IO. The total network throughput for ClickMap and QueryMap (using a high estimate of 2 KB per entry):\n\n- (1.02 × 10 6 queries/sec) × (2 × 10 3 bytes) = 2.04 GB/sec = 16 Gbps\n\nThroughput per task:\n\n- 16 Gbps / 25,500 tasks = 80 KB/sec = 640 Kbps/task\n\nThroughput per machine:\n\n- 408 tasks × 640 Kbps/task = 256 Mbps\n\nOur combination of 157 MB memory and 640 Kbps per task is manageable. We need approximately 4 TB of RAM in each datacenter to host the sharded ClickMap and QueryMap. If we have 64 GB of RAM per machine, we can serve the data from just 64 machines, and will use only 25% of each machine's network bandwidth.\n\n*Evaluation.* Now that we’ve designed a multidatacenter system, let’s review if the dataflow makes sense.\n\nFigure 12-4 shows the entire system design. You can see how each search query and ad click is communicated to the servers, and how the logs are collected and pushed into each component.\n\nWe can check this system against our requirements:\n\n10,000 ad clicks per second\n\n- The LogJoiner can scale horizontally to process all log clicks, and store the result in the ClickMap.\n\n500,000 search queries per second\n\n- The QueryStore and QueryMap have been designed to handle storing a full day of data at this rate.\n\n99.9% of dashboard queries complete in < 1 second\n\n- The CTR dashboard fetches data from QueryMap and ClickMap, which are keyed by `ad_id` , making this transaction fast and simple.\n\n99.9% of the time, the CTR data displayed is less than 5 minutes old\n\n- Each component is designed to scale horizontally, meaning that if the pipeline is too slow, adding more machines will decrease the end-to-end pipeline latency.\n\nWe believe this system architecture scales to meet our requirements for throughput, performance, and reliability.\n\nFigure 12-4. Multidatacenter design\n\n# Conclusion\n\nNALSD describes the iterative process of system design that Google uses for production systems. By breaking down software into logical components and placing these components into a production ecosystem with reliable infrastructure, we arrive at systems that provide reasonable and appropriate targets for data consistency, system availability, and resource efficiency. The practice of NALSD allows us to improve our design without starting anew for each iteration. While various design iterations presented in this chapter satisfied our original problem statement, each iteration revealed new requirements, which we could meet by extending our previous work.\n\nThroughout this process, we separated software components based on how we expected the system to grow. This strategy allowed us to scale different parts of the system independently and removed dependencies on single pieces of hardware or single instances of software, thereby producing a more reliable system.\n\nThroughout the design process, we continued to improve upon each iteration by asking the four key NALSD questions:\n\nIs it possible?\n\n- Can we build it without “magic”?\n\nCan we do better?\n\n- Is it as simple as we can reasonably make it?\n\nIs it feasible?\n\n- Does it fit within our practical constraints (budget, time, etc.)?\n\nIs it resilient?\n\n- Will it survive occasional but inevitable disruptions?\n\nNALSD is a learned skill. As with any skill, you need to practice it regularly to maintain your proficiency. Google’s experience has shown that the ability to reason from an abstract requirement to a concrete approximation of resources is critical to building healthy and long-lived systems.\n\n1Fay Chang et al., “Bigtable: A Distributed Storage System for Structured Data,” ACM Transactions on Computer Systems (TOCS) 26, no. 2 (2008), [https://bit.ly/2J22BZv](https://ai.google/research/pubs/pub27898).\n\n2This section is based on Rajagopal Ananthanarayanan et al., “Photon: Fault-tolerant and Scalable Joining of Continuous Data Streams,” in SIGMOD ’13: Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data (New York: ACM, 2013), [https://bit.ly/2Jse3Ns](https://sreworkbook.page.link/ZD5a).", "znaku_textu": 31277, "slov": 5274, "odkazu": 55, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:39", "sha256": "c6c1f296b81cac47c6ddf5c12f37558cea70363f81555acc7c7fd88e8fc3e5d0", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Big_O_notation", "https://en.wikipedia.org/wiki/MapReduce", "https://en.wikipedia.org/wiki/Consensus_(computer_science)", "https://en.wikipedia.org/wiki/Paxos_(computer_science)", "https://ai.google/research/pubs/pub27898", "https://sreworkbook.page.link/ZD5a", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/on-call", "titulek": "Google SRE: What it Means Being On-Call? | Devops On-Call", "h1": "On-Call", "popis": "How Google Site Reliability Engineering teams structure on-call rotations, site operations, structure approaches to handle incidents and production issues.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/on-call/"}, "headline": "On-Call", "description": "Being on-call means being available during a set period of time, and being ready to respond to production incidents during that time with appropriate urgency. Site Reliability Engineers (SREs) are often required to take part in on-call rotations.", "author": [{"@type": "Person", "name": "Ollie Cook"}, {"@type": "Person", "name": "Sara Smollett"}, {"@type": "Person", "name": "Andrea Spadaccini"}, {"@type": "Person", "name": "Cara Donnelly"}, {"@type": "Person", "name": "Jian Ma"}, {"@type": "Person", "name": "Garrett Plasky (Evernote)"}, {"@type": "Person", "name": "Stephen Thorne"}, {"@type": "Person", "name": "Jessie Yang"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "On-Call"}, {"uroven": 2, "text": "Recap of “Being On-Call” Chapter of First SRE Book"}, {"uroven": 1, "text": "Example On-Call Setups Within Google and Outside Google"}, {"uroven": 5, "text": "Google: Forming a New Team"}, {"uroven": 6, "text": "Initial scenario"}, {"uroven": 6, "text": "Training roadmap"}, {"uroven": 6, "text": "Afterword"}, {"uroven": 5, "text": "Evernote: Finding Our Feet in the Cloud"}, {"uroven": 6, "text": "Moving our on-prem infrastructure to the cloud"}, {"uroven": 6, "text": "Adjusting our on-call policies and processes"}, {"uroven": 6, "text": "Restructuring our monitoring and metrics"}, {"uroven": 6, "text": "Tracking our performance over time"}, {"uroven": 6, "text": "Engaging with CRE"}, {"uroven": 6, "text": "Sustaining a self-perpetuating cycle"}, {"uroven": 1, "text": "Practical Implementation Details"}, {"uroven": 6, "text": "Scenario: A team in overload"}, {"uroven": 6, "text": "Preexisting bugs"}, {"uroven": 6, "text": "New bugs"}, {"uroven": 6, "text": "Identification delay"}, {"uroven": 6, "text": "Mitigation delay"}, {"uroven": 6, "text": "Alerting"}, {"uroven": 6, "text": "Rigor of follow-up"}, {"uroven": 6, "text": "Data quality"}, {"uroven": 6, "text": "Vigilance"}, {"uroven": 5, "text": "On-Call Flexibility"}, {"uroven": 6, "text": "Scenario: A change in personal circumstances"}, {"uroven": 6, "text": "Automate on-call scheduling"}, {"uroven": 6, "text": "Plan for short-term swaps"}, {"uroven": 6, "text": "Plan for long-term breaks"}, {"uroven": 6, "text": "Plan for part-time work schedules"}, {"uroven": 5, "text": "On-Call Team Dynamics"}, {"uroven": 6, "text": "Scenario: A culture of “survive the week”"}, {"uroven": 6, "text": "Proposal one: Empower your ops engineers"}, {"uroven": 6, "text": "Proposal two: Improve team relations"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# On-Call\n\nBy Ollie Cook, Sara Smollett, Andrea Spadaccini,\nCara Donnelly, Jian Ma, and Garrett Plasky (Evernote)\nwith Stephen Thorne and Jessie Yang\n\nBeing on-call means being available during a set period of time, and being ready to respond to production incidents during that time with appropriate urgency. Site Reliability Engineers (SREs) are often required to take part in on-call rotations. During on-call shifts, SREs diagnose, mitigate, fix, or escalate incidents as needed. In addition, SREs are regularly responsible for nonurgent production duties.\n\nAt Google, being on-call is one of the defining characteristics of SRE. SRE teams mitigate incidents, repair production problems, and automate operational tasks. Since most of our SRE teams have not yet fully automated all their operational tasks, escalations need human points of contact—on-call engineers. Depending on how critical the supported systems are, or the state of development the systems are in, not all SRE teams may need to be on-call. In our experience, most SRE teams staff on-call shifts.\n\nOn-call is a large and complex topic, saddled with many constraints and a limited margin for trial and error. [Chapter 11](https://sre.google/sre-book/being-on-call/) of our first book (Site Reliability Engineering), “Being On-Call,” already explored this topic. This chapter addresses specific feedback and questions we received about that chapter. These include the following:\n\n- “We are not Google; we’re much smaller. We don’t have as many people in the rotation, and we don’t have sites in different time zones. What you described in your first book is irrelevant to me.”\n- “We have a mixture of developers and DevOps for on-call rotation. What’s the best way to organize them? Split the responsibilities?”\n- “Our on-call engineer gets paged about a hundred times in a typical 24-hour shift. A lot of pages get ignored, while the real problems are buried under the pile. Where should we start?”\n- “We have a high turnover rate for on-call rotations. How do you address the knowledge gap within the team?”\n- “We want to reorg our DevOps team into SRE. 1 What’s the difference between SRE on-call, DevOps on-call, and developers on-call? Please be specific, because the DevOps team is very concerned about this.”\n\nWe offer practical advice for these situations. Google is a large company with a mature SRE organization, but much of what we’ve learned over the years can be applied to any company or organization, regardless of size or maturity. Google has hundreds of on-call rotations across services of all sizes, and various on-call setups from simple to complicated. On-call is not exclusively an SRE function: many developer teams are directly on-call for their service. Each on-call setup meets the need of a particular service.\n\nThis chapter describes on-call setups both within Google and outside of Google. While your setup and situation will likely differ from our specific examples, the essential concepts we cover are widely applicable.\n\nWe then delve into the anatomy of pager load, explaining what causes pager load. We suggest strategies to optimize on-call setup and minimize that load.\n\nFinally, we share two examples of practices inside Google: on-call flexibility and on-call team dynamics. These practices show that no matter how mathematically sound an on-call setup is, you cannot solely rely on logistics of the on-call setup. Incentives and human nature play an important role, and should also be taken into account.\n\n## Recap of “Being On-Call” Chapter of First SRE Book\n\nSite Reliability Engineering, in [“Being On-Call”](https://sre.google/sre-book/being-on-call/), explains the principles behind on-call rotations at Google. This section discusses the main points of that chapter.\n\nAt Google, the overall goal of being on-call is to provide coverage for critical services, while making sure that we never achieve reliability at the expense of an on-call engineer’s health. As a result, SRE teams strive for balance. SRE work should be a healthy mix of duties: on-call and project work. Specifying that SREs spend at least 50% of their time on project work means that teams have time to tackle the projects required to strategically address any problems found in production. Team staffing must be adequate to ensure time for project work.\n\nWe target a maximum of two incidents per on-call shift,2 to ensure adequate time for follow-up. If the pager load gets too high, corrective action is warranted. (We explore pager load later in this chapter.)\n\nPsychological safety3 is vital for effective on-call rotations. Since being on-call can be daunting and highly stressful, on-call engineers should be fully supported by a series of procedures and escalation paths to make their lives easier.\n\nOn-call usually implies some amount of out-of-hours work. We believe this work should be compensated. While different companies may choose to handle this in different ways, Google offers time-off-in-lieu or cash compensation, capped at some proportion of the overall salary. The compensation scheme provides an incentive for being part of on-call, and ensures that engineers do not take on too many on-call shifts for economic reasons.\n\n# Example On-Call Setups Within Google and Outside Google\n\nThis section describes real-world examples of on-call setups at Google and Evernote, a California company that develops a cross-platform app that helps individuals and teams create, assemble, and share information. For each company, we explore the reasoning behind on-call setups, general on-call philosophy, and on-call practices.\n\n##### Google: Forming a New Team\n\n###### Initial scenario\n\nA few years ago, Sara, an SRE at Google Mountain View, started a new SRE team that needed to be on-call within three months. To put this in perspective, most SRE teams at Google do not expect new hires to be ready for on-call before three to nine months. The new Mountain View SRE team would support three Google Apps services that were previously supported by an SRE team in Kirkland, Washington (a two-hour flight from Mountain View). The Kirkland team had a sister SRE team in London, which would continue to support these services alongside the new Mountain View SRE team, and distributed product development teams.4\n\nThe new Mountain View SRE team came together quickly, assembling seven people:\n\n- Sara, an SRE tech lead\n- Mike, an experienced SRE from another SRE team\n- A transfer from a product development team who was new to SRE\n- Four new hires (“Nooglers”)\n\nEven when a team is mature, going on-call for new services is always challenging, and the new Mountain View SRE team was a relatively junior team. Nonetheless, the new team was able to onboard the services without sacrificing service quality or project velocity. They made immediate improvements to the services, including lowering machine costs by 40%, and fully automating release rollouts with canarying and other safety checks. The new team also continued to deliver reliable services, targeting 99.98% availability, or roughly 26 minutes of downtime per quarter.\n\nHow did the new SRE team bootstrap themselves to accomplish so much? Through starter projects, mentoring, and training.\n\n###### Training roadmap\n\nAlthough the new SRE team didn’t know much about their services, Sara and Mike were familiar with Google’s production environment and SRE. As the four Nooglers completed company orientation, Sara and Mike compiled a checklist of two dozen focus areas for people to practice before going on-call, such as:\n\n- Administering production jobs\n- Understanding debugging info\n- “Draining” traffic away from a cluster\n- Rolling back a bad software push\n- Blocking or rate-limiting unwanted traffic\n- Bringing up additional serving capacity\n- Using the monitoring systems (for alerting and dashboards)\n- Describing the architecture, various components, and dependencies of the services\n\nThe Nooglers found some of this information on their own by researching existing documentation and codelabs (guided, hands-on coding tutorials) and gained understanding on relevant topics by working on their starter projects. When a team member learned about specific topics relevant to the Nooglers’ starter projects, that person led a short, impromptu session to share that information with the rest of the team. Sara and Mike covered the remaining topics. The team also held lab sessions to perform common debugging and mitigation tasks to help everyone build muscle memory and gain confidence in their abilities.\n\nIn addition to the checklist, the new SRE team ran a series of “deep dives” to dig into their services. The team browsed monitoring consoles, identified running jobs, and tried debugging recent pages. Sara and Mike explained that an engineer didn’t need years of expertise with each of the services to become reasonably proficient. They coached the team to explore a service from first principles, and encouraged Nooglers to become familiar with the services. They were open about the limits of their knowledge, and taught others when to ask for help.\n\nThroughout the ramp-up, the new SRE team wasn’t alone. Sara and Mike traveled to meet the other SRE teams and product developers and learn from them. The new SRE team met with the Kirkland and London teams by holding video conferences, exchanging email, and chatting over IRC. In addition, the team attended weekly production meetings, read daily on-call handoffs and postmortems, and browsed existing service documentation. A Kirkland SRE visited to give talks and answer questions. A London SRE put together a thorough set of disaster scenarios and ran them during Google’s disaster recovery training week (see the section [“Preparedness and Disaster Testing”](https://sre.google/sre-book/lessons-learned/) in Site Reliability Engineering, Chapter 33).\n\nThe team also practiced being on-call through “Wheel of Misfortune” training exercises (see the section [“Disaster Role Playing”](https://sre.google/sre-book/accelerating-sre-on-call#id-BnClSLI7IYiJ) in Site Reliability Engineering, Chapter 28), where they role-played recent incidents to practice debugging production problems. During these sessions, all SREs were encouraged to offer suggestions on how to resolve mock production failures. After everyone ramped up, the team still held these sessions, rotating through each team member as the session leader. The team recorded these for future reference.\n\nBefore going on-call, the team reviewed precise guidelines about the responsibilities of on-call engineers. For example:\n\n- At the start of each shift, the on-call engineer reads the handoff from the previous shift.\n- The on-call engineer minimizes user impact first, then makes sure the issues are fully addressed.\n- At the end of the shift, the on-call engineer sends a handoff email to the next engineer on-call.\n\nThe guidelines also specified when to escalate to others, and how to write postmortems for large incidents.\n\nFinally, the team read and updated on-call playbooks. Playbooks contain high-level instructions on how to respond to automated alerts. They explain the severity and impact of the alert, and include debugging suggestions and possible actions to take to mitigate impact and fully resolve the alert. In SRE, whenever an alert is created, a corresponding playbook entry is usually created. These guides reduce stress, the mean time to repair (MTTR), and the risk of human error.\n\nAfter two months, Sara, Mike, and the SRE transfer shadowed the on-call shifts of the outgoing Kirkland SRE team. At three months, they became the primary on-call, with the Kirkland SREs as backup. That way, they could easily escalate to the Kirkland SREs if needed. Next, the Nooglers shadowed the more experienced, local SREs and joined the rotation.\n\nGood documentation and the various strategies discussed earlier all helped the team form a solid foundation and ramp up quickly. Although on-call can be stressful, the teams’ confidence grew enough to take action without second-guessing themselves. There was psychological safety in knowing that their responses were based on the team’s collective knowledge, and that even when they escalated, the on-call engineers were still regarded as competent engineers.\n\n###### Afterword\n\nWhile the Mountain View SREs were ramping up, they learned that their experienced, sister SRE team in London would be moving on to a new project, and a new team was being formed in ZĂĽrich to support the services previously supported by the London SRE team. For this second transition, the same basic approach the Mountain View SREs used proved successful. The previous investment by Mountain View SREs in developing onboarding and training materials helped the new ZĂĽrich SRE team ramp up.\n\nWhile the approach used by the Mountain View SREs made sense when a cohort of SREs were becoming a team, they needed a more lightweight approach when only one person joined the team at a given time. In anticipation of future turnover, the SREs created service architecture diagrams and formalized the basic training checklist into a series of exercises that could be completed semi-independently with minimal involvement from a mentor. These exercises included describing the storage layer, performing capacity increases, and reviewing how HTTP requests are routed.\n\n##### Evernote: Finding Our Feet in the Cloud\n\n###### Moving our on-prem infrastructure to the cloud\n\nWe didn’t set out to reengineer our on-call process, but as with many things in life, necessity is the mother of invention. Prior to December 2016, Evernote ran only on on-prem datacenters, built to support our monolithic application. Our network and servers were designed with a specific architecture and data flow in mind. This, combined with a host of other constraints, meant we lacked the flexibility needed to support a horizontal architecture. Google Cloud Platform (GCP) provided a concrete solution to our problem. However, we still had one major hurdle to surmount: migrating all our production and supporting infrastructure to GCP. Fast-forward 70 days. Through a Herculean effort and many remarkable feats (for example, moving thousands of servers and 3.5 PB of data), we were happily settled in our new home. At this point, though, our job still wasn’t done: how were we going to monitor, alert, and—most importantly—respond to issues in our new environment?\n\n###### Adjusting our on-call policies and processes\n\nThe move to the cloud unleashed the potential for our infrastructure to grow rapidly, but our on-call policies and processes were not yet set up to handle such growth. Once the migration wrapped up, we set out to remedy the problem. In our previous physical datacenter, we built redundancy into nearly every component. This meant that while component failure was common given our size, generally no individual component was capable of negatively impacting users. The infrastructure was very stable because we controlled it—any small bump would inevitably be due to a failure somewhere in the system. Our alerting policies were structured with that in mind: a few dropped packets, resulting in a JDBC (Java Database Connectivity) connection exception, invariably meant that a VM (virtual machine) host was on the verge of failing, or that the control plane on one of our switches was on the fritz. Even before our first day in the cloud, we realized that this type of alert/response system was not tenable going forward. In a world of live migrations and network latency, we needed to take a much more holistic approach to monitoring.\n\nReframing paging events in terms of first principles, and writing these principles down as our explicit SLOs (service level objectives), helped give the team clarity regarding what was important to alert on and allowed us to trim the fat from our monitoring infrastructure. Our focus on higher-level indicators such as API responsiveness, rather than lower-level infrastructure such as InnoDB row lock waits in MySQL, meant we could focus more time on the real pain our users experience during an outage. For our team, this meant less time spent chasing transient problems. This translated into more sleep, effectiveness, and ultimately, job satisfaction.\n\n###### Restructuring our monitoring and metrics\n\nOur primary on-call rotation is staffed by a small but scrappy team of engineers who are responsible for our production infrastructure and a handful of other business systems (for example, staging and build pipeline infrastructure). We have a weekly, 24/7 schedule with a well-oiled handoff procedure, alongside a morning review of incidents at a daily stand-up. Our small team size and comparatively large scope of responsibility necessitates that we make every effort to keep the process burden light, and focus on closing the alert/triage/remediation/analysis loop as quickly as possible. One of the ways we achieve this is to keep our signal-to-noise ratio low by maintaining simple but effective alerting SLAs (service level agreements). We classify any event generated by our metrics or monitoring infrastructure into three categories:\n\nP1: Deal with immediately\n\n- Should be immediately actionable\n- Pages the on-call\n- Leads to event triage\n- Is SLO-impacting\n\nP2: Deal with the next business day\n\n- Generally is not customer-facing, or is very limited in scope\n- Sends an email to team and notifies event stream channel\n\nP3: Event is informational only\n\n- Information is gathered in dashboards, passive email, and the like\n- Includes capacity planning–related information\n\nAny P1 or P2 event has an incident ticket attached to it. The ticket is used for obvious tasks like event triage and tracking remediation actions, as well as for SLO impact, number of occurrences, and postmortem doc links, where applicable.\n\nWhen an event pages (category P1), the on-call is tasked with assessing the impact to users. Incidents are triaged into severities from 1 to 3. For severity 1 (Sev 1) incidents, we maintain a finite set of criteria to make the escalation decision as straightforward as possible for the responder. Once the event is escalated, we assemble an incident team and begin our incident management process. The incident manager is paged, a scribe and communications lead is elected, and our communication channels open. After the incident is resolved, we conduct an automatic postmortem and share the results far and wide within the company. For events rating Sev 2 or Sev 3, the on-call responder handles the incident lifecycle, including an abbreviated postmortem for incident review.\n\nOne of the benefits of keeping our process lightweight is that we can explicitly free the on-call from any expectations of project work. This empowers and encourages the on-call to take immediate follow-up action, and also to identify any major gaps in tooling or process after completing the post-incident review. In this way, we achieve a constant cycle of improvement and flexibility during every on-call shift, keeping pace with the rapid rate of change in our environment. The goal is to make every on-call shift better than the last.\n\n###### Tracking our performance over time\n\nWith the introduction of SLOs, we wanted to track performance over time, and share that information with stakeholders within the company. We implemented a monthly service review meeting, open to anyone who’s interested, to review and discuss the previous month of the service. We have also used this forum to review our on-call burden as a barometer of team health, and discuss remediation actions when we exceed our pager budget. This forum has the dual purpose of spreading the importance of SLOs within the company and keeping the technical organization accountable for maintaining the health and wellness of our service and team.\n\n###### Engaging with CRE\n\nExpressing our objectives in terms of SLOs provides a basis for engaging with Google’s Customer Reliability Engineering (CRE) team. After we discussed our SLOs with CRE to see if they were realistic and measurable, both teams decided CRE would be paged alongside our own engineers for SLO-impacting events. It can be difficult to pinpoint root causes that are hidden behind layers of cloud abstraction, so having a Googler at our side take the guesswork out of black-box event triaging was helpful. More importantly, this exercise further reduced our MTTR, which is ultimately what our users care about.\n\n###### Sustaining a self-perpetuating cycle\n\nRather than spending all our time in the triage/root-cause analysis/postmortem cycle, we now have more time as a team to think about how we move the business forward. Specifically, this translates into projects such as improving our microservices platform and establishing production readiness criteria for our product development teams. The latter includes many of the principles we followed in restructuring our on-call, which is particularly helpful for teams in their first “carry the pager” rodeo. Thus, we perpetuate the cycle of improving on-call for everyone.\n\n# Practical Implementation Details\n\nSo far, we’ve discussed details about on-call setups, both within Google and outside of Google. But what about specific considerations of being on-call? The following sections discuss these implementation details in more depth:\n\n- Pager load—what it is, how it works, and how to manage it\n- How to factor flexibility into on-call scheduling to create a healthier work/life balance for SREs\n- Strategies for improving team dynamics, both within a given SRE team, and with partner teams\n\nYour pager is noisy and it’s making your team unhappy. You’ve read through [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) in Site Reliability Engineering, and run regular production meetings, both with your team and the developer teams you support. Now everyone knows that your on-call engineers are unhappy. What next?\n\nPager load is the number of paging incidents that an on-call engineer receives over a typical shift length (such as per day or per week). An incident may involve more than one page. Here, we’ll walk through the impact of various factors on pager load, and suggest techniques for minimizing future pager load.\n\n| Incident description | Response time | SRE impact |\n| --- | --- | --- |\n| Revenue-impacting network outage | 5 minutes | SRE needs to be within arm's reach of a charged and authenticated laptop with network access at all times; cannot travel; must heavily coordinate with secondary at all times |\n| Customer order batch processing system stuck | 30 minutes | SRE can leave their home for a quick errand or short commute; secondary does not need to provide coverage during this time |\n| Backups of a database for a pre-launch service are failing | Ticket (response during work hours) | None |\n\n###### Scenario: A team in overload\n\nThe (hypothetical) Connection SRE Team, responsible for frontend load balancing and terminating end-user connections, found itself in a position of high pager load. They had an established pager budget of two paging incidents per shift, but for the past year they had regularly been receiving five paging incidents per shift. Analysis revealed that fully one-third of shifts were exceeding their pager budget. Members of the team heroically responded to the daily onslaught of pages but couldn’t keep up; there simply was not enough time in the day to find the root cause and properly fix the incoming issues. Some engineers left the team to join less operationally burdened teams. High-quality incident follow-up was rare, since on-call engineers only had time to mitigate immediate problems.\n\nThe team’s horizon wasn’t entirely bleak: they had a mature monitoring infrastructure that followed SRE best practices. Alerting thresholds were set to align with their SLO, and paging alerts were symptom-based in nature, meaning they fired only when customers were impacted. When senior management were approached with all of this information, they agreed that the team was in operational overload and reviewed the project plan to bring the team back to a healthy state.\n\nIn less positive news, over time the Connection team had taken ownership of software components from more than 10 developer teams and had hard dependencies on Google’s customer-facing edge and backbone networks. The large number of intergroup relationships was complex and had quietly grown difficult to manage.\n\nDespite the team following best practices in structuring their monitoring, many of the pages that they faced were outside their direct control. For example, a black-box probe may have failed due to congestion in the network, causing packet loss. The only action the team could take to mitigate congestion in the backbone was to escalate to the team directly responsible for that network.\n\nOn top of their operational burden, the team needed to deliver new features to the frontend systems, which would be used by all Google services. To make matters worse, their infrastructure was being migrated from a 10-year-old legacy framework and cluster management system to a better-supported replacement. The team’s services were subject to an unprecedented rate of change, and the changes themselves caused a significant portion of the on-call load.\n\nThe team clearly needed to combat this excessive pager load using a variety of techniques. The technical program manager and the people manager of the team approached senior management with a project proposal, which senior management reviewed and approved. The team turned their full attention to reducing their pager load, and learned some valuable lessons along the way.\n\nThe first step in tackling high pager load is to determine what is causing it. Pager load is influenced by three main factors: bugs5 in production, alerting, and human processes. Each of these factors has several inputs, some of which we discuss in more detail in this section.\n\nFor production:\n\n- The number of existing bugs in production\n- The introduction of new bugs into production\n- The speed with which newly introduced bugs are identified\n- The speed with which bugs are mitigated and removed from production\n\nFor alerting:\n\n- The alerting thresholds that trigger a paging alert\n- The introduction of new paging alerts\n- The alignment of a service’s SLO with the SLOs of the services upon which it depends\n\nFor human processes:\n\n- The rigor of fixes and follow-up on bugs\n- The quality of data collected about paging alerts\n- The attention paid to pager load trends\n- Human-actuated changes to production\n\n###### Preexisting bugs\n\nNo system is perfect. There will always be bugs in production: in your own code, the software and libraries that you build upon, or the interfaces between them. The bugs may not be causing paging alerts right now, but they are definitely present. You can use a few techniques to identify or prevent bugs that haven’t yet caused paging alerts:\n\n- Ensure systems are as complicated as they need to be, and no more (see [Simplicity](https://sre.google/sre-book/simplicity/) ).\n- Regularly update the software or libraries that your system is built upon to take advantage of bug fixes (however, see the next section about new bugs).\n- Perform regular destructive testing or fuzzing (for example, using Netflix’s [Chaos Monkey](https://github.com/Netflix/chaosmonkey) ).\n- Perform regular load testing in addition to integration and unit testing.\n\n###### New bugs\n\nIdeally, the SRE team and its partner developer teams should detect new bugs before they even make it into production. In reality, automated testing misses many bugs, which are then launched to production.\n\nSoftware testing is a large topic well covered elsewhere (e.g., [Martin Fowler on Testing](https://martinfowler.com/tags/testing.html)). However, software testing techniques are particularly useful in reducing the number of bugs that reach production, and the amount of time they remain in production:\n\n- Improve testing over time. In particular, for each bug you discover in production, ask “How could we have detected this bug preproduction?” Make sure the necessary engineering follow-up occurs (see Rigor of follow-up ).\n- Don’t ignore load testing, which is often treated as lower priority than functional testing. Many bugs manifest only under particular load conditions or with a particular mix of requests.\n- Run staging (testing with production-like but synthetic traffic) in a production-like environment. We briefly discuss generating synthetic traffic in [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/) of this book.\n- Perform canarying ( [Canarying Releases](https://sre.google/workbook/canarying-releases/) ) in a production environment.\n- Have a low tolerance to new bugs. Follow a “detect, roll back, fix, and roll forward” strategy rather than a “detect, continue to roll forward despite identifying the bug, fix, and roll forward again” strategy. (See Mitigation delay for more details.)\n\nThis kind of rollback strategy requires predictable and frequent releases so that the cost of rolling back any one release is small. We discuss this and related topics in Site Reliability Engineering, in [“Release Engineering”](https://sre.google/sre-book/release-engineering/).\n\nSome bugs may manifest only as the result of changing client behavior. For example:\n\n- Bugs that manifest only under specific levels of load—for example, September back-to-school traffic, Black Friday, Cyber Monday, or that week of the year when Daylight Saving Time means Europe and North America are one hour closer, meaning more of your users are awake and online simultaneously.\n- Bugs that manifest only with a particular mix of requests—for example, servers closer to Asia experiencing a more expensive traffic mix due to language encodings for Asian character sets.\n- Bugs that manifest only when users exercise the system in unexpected ways—for example, Calendar being used by an airline reservation system! Therefore, it is important to expand your testing regimen to test behaviors that do not occur every day.\n\nWhen a production system is plagued by several concurrent bugs, it’s much more difficult to identify if a given page is for an existing or new bug. Minimizing the number of bugs in production not only reduces pager load, it also makes identifying and classifying new bugs easier. Therefore, it is critical to remove production bugs from your systems as quickly as possible. Prioritize fixing existing bugs above delivering new features; if this requires cross-team collaboration, see [SRE Engagement Model](/workbook/engagement-model/).\n\nArchitectural or procedural problems, such as automated health checking, self-healing, and load shedding, may need significant engineering work to resolve. Remember, for simplicity’s sake we’ll consider these problems “bugs,” even if their size, their complexity, or the effort required to resolve them is significant.\n\n[Chapter 3](https://sre.google/sre-book/embracing-risk/) of Site Reliability Engineering describes how error budgets are a useful way to manage the rate at which new bugs are released to production. For example, when a service’s SLO violations exceed a certain fraction of its total quarterly error budget—typically agreed in advance between the developer and SRE teams—new feature development and feature-related rollouts can be halted temporarily to focus on stabilizing the system and reducing the frequency of pages.\n\nThe Connection team from our example adopted a strict policy requiring every outage to have a tracking bug. This enabled the team’s technical program manager to examine the root cause of their new bugs in aggregate. This data revealed that human error was the second most common cause of new bugs in production.\n\nBecause humans are error-prone, it’s better if all changes made to production systems are made by automation informed by (human-developed) intent configuration. Before you make a change to production, automation can perform additional testing that humans cannot. The Connection team was making complex changes to production semimanually. Not surprisingly, the team’s manual changes went wrong sometimes; the team introduced new bugs, which caused pages. Automated systems making the same changes would have determined that the changes were not safe before they entered production and became paging events. The technical program manager took this data to the team and convinced them to prioritize automation projects.\n\n###### Identification delay\n\nIt’s important to promptly identify the cause(s) of alerts because the longer it takes to identify the root cause of a page, the more opportunity it has to recur and page again. For example, given a page that manifests only under high load, say at daily peak, if the problematic code or configuration is not identified before the next daily peak, it is likely that the problem will happen again. There are several techniques you might use to reduce identification delays:\n\nUse good alerts and consoles\n\n- Ensure pages link to relevant monitoring consoles, and that consoles highlight where the system is operating out of specification. In the console, correlate black-box and white-box paging alerts together, and do the same with their associated graphs. Make sure playbooks are up to date with advice on responding to each type of alert. On-call engineers should update the playbook with fresh information when the corresponding page fires.\n\nPractice emergency response\n\n- Run [“Wheel of Misfortune” exercises](https://sre.google/sre-book/accelerating-sre-on-call/) (described in Site Reliability Engineering ) to share general and service-specific debugging techniques with your colleagues.\n\nPerform small releases\n\n- If you perform frequent, smaller releases instead of infrequent monolithic changes, correlating bugs with the corresponding change that introduced them is easier. Canarying releases, described in Canarying Releases gives a strong signal about whether a new bug is due to a new release.\n\nLog changes\n\n- Aggregating change information into a searchable timeline makes it simpler (and hopefully quicker) to correlate new bugs with the corresponding change that introduced them. Tools like [the Slack plug-in for Jenkins](https://github.com/jenkinsci/slack-plugin/blob/master/README.md) can be helpful.\n\nAsk for help\n\n- In Site Reliability Engineering , [“Managing Incidents”](https://sre.google/sre-book/managing-incidents/) , we talked about working together to manage large outages. The on-call engineer is never alone; encourage your team to feel safe when asking for help.\n\n###### Mitigation delay\n\nThe longer it takes to mitigate a bug once it’s identified, the more opportunity it has to recur and page again. Consider these techniques for reducing mitigation delays:\n\nRoll back changes\n\n- If the bug was introduced in a recent code or configuration rollout, promptly remove the bug from production with a rollback, if safe and appropriate (a rollback alone may be necessary but is not sufficient if the bug caused data corruption, for example). Remember that even a “quick fix” needs time to be tested, built, and rolled out. Testing is vital to making sure the quick fix actually fixes the bug, and that it doesn’t introduce additional bugs or other unintended consequences. Generally, it is better to “roll back, fix, and roll forward” rather than “roll forward, fix, and roll forward again.”\n- If you aim for 99.99% availability, you have approximately 15 minutes of error budget per quarter. The build step of rolling forward may take much longer than 15 minutes, so rolling back impacts your users much less.\n- If at all possible, avoid changes that can’t be rolled back, such as API-incompatible changes and lockstep releases.\n\nUse feature isolation\n\n- Design your system so that if feature X goes wrong, you can disable it via, for example, a feature flag without affecting feature Y. This strategy also improves release velocity, and makes disabling feature X a much simpler decision—you don’t need to check that your product managers are comfortable with also disabling feature Y.\n\nDrain requests away\n\n- Drain requests (i.e., redirect customer requests) away from the elements of your system that exhibit the bug. For example, if the bug is the result of a code or config rollout, and you roll out to production gradually, you may have the opportunity to drain the elements of your infrastructure that have received the update. This allows you to mitigate the customer impact in seconds, rather than rolling back, which may take minutes or longer.\n\n###### Alerting\n\nGoogle SRE’s maximum of two distinct incidents per 12-hour shift encourages us to be thoughtful and cautious about how we configure paging alerts and how we introduce new ones. Site Reliability Engineering, [“Monitoring Distributed Systems”](https://sre.google/sre-book/monitoring-distributed-systems/), describes Google’s approach to defining the thresholds for paging alerts. Strictly observing these guidelines is critical to maintaining a healthy on-call rotation.\n\nIt is worth highlighting some key elements discussed in that chapter:\n\n- All alerts should be immediately actionable. There should be an action we expect a human to take immediately after they receive the page that the system is unable to take itself. The signal-to-noise ratio should be high to ensure few false positives; a low signal-to-noise ratio raises the risk for on-call engineers to develop alert fatigue.\n- If a team fully subscribes to SLO-based alerting, or paging only when error budget is burned (see the section [“Black-Box Versus White-Box”](https://sre.google/sre-book/monitoring-distributed-systems#table_monitoring_symptoms) in Site Reliability Engineering ), it is critical that all teams involved in developing and maintaining the service agree about the importance of meeting the SLO and prioritize their work accordingly.\n- If a team fully subscribes to SLO-based and symptom-based alerting, relaxing alert thresholds is rarely an appropriate response to being paged.\n- Just like new code, new alerts should be thoroughly and thoughtfully reviewed. Each alert should have a corresponding playbook entry.\n\nReceiving a page creates a negative psychological impact. To minimize that impact, only introduce new paging alerts when you really need them. Anyone on the team can write a new alert, but the whole team reviews proposed alert additions and can suggest alternatives. Thoroughly test new alerts in production to vet false positives before they are upgraded to paging alerts. For example, you might email the alert’s author when the alert fires, rather than paging the on-call engineer.\n\nNew alerts may find problems in production that you weren’t aware of. After you address these production bugs, alerting will only page on new bugs, effectively functioning like regression tests.\n\nBe sure to run the new alerts in test mode long enough to experience typical periodic production conditions, such as regular software rollouts, maintenance events by your Cloud provider, weekly load peaks, and so on. A week of testing is probably about right. However, this appropriate window depends on the alert and the system.\n\nFinally, use the alert’s trigger rate during the testing period to predict the expected consumption of your pager budget as a result of the new alert. Explicitly approve or disallow the new alert as a team. If introducing a new paging alert causes your service to exceed its paging budget, the stability of the system needs additional attention.\n\n###### Rigor of follow-up\n\nAim to identify the root cause of every page. “Root causes” extend out of the machine and into the team’s processes. Was an outage caused by a bug that would have been caught by a unit test? The root cause might not be a bug in the code, but rather a bug in the team’s processes around code review.\n\nIf you know the root cause, you can fix and prevent it from ever bothering you or your colleagues again. If your team cannot figure out the root cause, add monitoring and/or logging that will help you find the root cause of the page the next time it occurs. If you don’t have enough information to identify the bug, you can always do something to help debug the page further next time. You should rarely conclude that a page is triggered by “cause unknown.” Remember that as an on-call engineer, you are never alone, so ask a colleague to review your findings and see if there’s anything you missed. Typically, it’s easiest to find the root cause of an alert soon after the alert has triggered and fresh evidence is available.\n\nExplaining away a page as “transient,” or taking no action because the system “fixed itself” or the bug inexplicably “went away,” invites the bug to happen again and cause another page, which causes trouble for the next on-call engineer.\n\nSimply fixing the immediate bug (or making a “point” fix) misses a golden opportunity to prevent similar alerts in the future. Use the paging alert as an chance to surface engineering work that improves the system and obviates an entire class of possible future bugs. Do this by filing a project bug in your team’s production component, and advocate to prioritize its implementation by gathering data about how many individual bugs and pages this project would remove. If your proposal will take 3 working weeks or 120 working hours to implement, and a page costs on average 4 working hours to properly handle, there’s a clear break-even point after 30 pages.\n\nFor example, imagine a situation where there are too many servers on the same failure domain, such as a switch in a datacenter, causing regular multiple simultaneous failures:\n\nPoint fix\n\n- Rebalance your current footprint across more failure domains and stop there.\n\nSystemic fix\n\n- Use automation to ensure that this type of server, and all other similar servers, are always spread across sufficient failure domains, and that they rebalance automatically when necessary.\n\nMonitoring (or prevention) fix\n\n- Alert preemptively when the failure domain diversity is below the expected level, but not yet service-impacting. Ideally, the alert would be a ticket alert, not a page, since it doesn’t require an immediate response. The system is still serving happily, albeit at a lower level of redundancy.\n\nTo make sure you’re thorough in your follow-up to paging alerts, consider the following questions:\n\n- How can I prevent this specific bug from happening again?\n- How can I prevent bugs like this from happening again, both for this system and other systems I’m responsible for?\n- What tests could have prevented this bug from being released to production?\n- What ticket alerts could have triggered action to prevent the bug from becoming critical before it paged?\n- What informational alerts could have surfaced the bug on a console before it became critical?\n- Have I maximized the impact of the fixes I’m making?\n\nOf course, it’s not enough for an on-call engineer to just file bugs related to the pages that occur on their shift. It’s incredibly important that bugs identified by the SRE team are dealt with swiftly, to reduce the possibility of them recurring. Make sure resource planning for both the SRE and developer teams consider the effort required to respond to bugs.\n\nWe recommend reserving a fraction of SRE and developer team time for responding to production bugs as they arise. For example, a Google on-caller typically doesn’t work on projects during their on-call shift. Instead, they work on bugs that improve the health of the system. Make sure that your team routinely prioritizes production bugs above other project work. SRE managers and tech leads should make sure that production bugs are promptly dealt with, and escalate to the developer team decision makers when necessary.\n\nWhen a paging event is serious enough to warrant a postmortem, it’s even more important to follow this methodology to catalog and track follow-up action items. (See [Postmortem Culture: Learning from Failure](https://sre.google/sre-book/postmortem-culture/) for more details.)\n\n###### Data quality\n\nOnce you identify bugs in your system that caused pages, a number of questions naturally arise:\n\n- How do you know which bug to fix first?\n- How do you know which component in your system caused most of your pages?\n- How do you determine what repetitive, manual action on-call engineers are taking to resolve the pages?\n- How do you tell how many alerts with unidentified root causes remain?\n- How do you tell which bugs are truly , not just anecdotally, the worst?\n\nThe answer is simple: collect data!\n\nWhen building up your data collection processes, you might track and monitor the patterns in on-call load, but this effort doesn’t scale. It’s far more sustainable to file a placeholder bug for each paging alert in your bug tracking system (e.g., Jira, [IssueTracker](https://developers.google.com/issue-tracker/)), and for the on-call engineer to create a link between the paging alerts from your monitoring system and the relevant bug in the bug tracking system, as and when they realize that each alert is symptomatic of a preexisting issue. You will end up with a list of as-yet-not-understood bugs in one column, and a list of all of the pages that each bug is believed to have caused in the next.\n\nOnce you have structured data about the causes of the pages, you can begin to analyze that data and produce reports. Those reports can answer questions such as:\n\n- Which bugs cause the most pages? Ideally we’d roll back and fix bugs immediately, but sometimes, finding the root cause and deploying the fix takes a long time, and sometimes silencing key alerts isn’t a reasonable option. For example, the aforementioned Connection SRE Team might experience ongoing network congestion that isn’t immediately resolvable but still needs to be tracked. Collecting data on which production issues are causing the most pages and stress to the team supports data-driven conversations about prioritizing your engineering effort systematically.\n- Which component of the system is the cause of most pages (payments gateway, authentication microservice, etc.)?\n- When correlated with your other monitoring data, do particular pages correspond to other signals (peaks in request rate, number of concurrent customer sessions, number of signups, number of withdrawals, etc.)?\n\nTying structured data to bugs and the root causes of your pages has other benefits:\n\n- You can automatically populate a list of existing bugs (that is, known issues), which may be useful for your support team.\n- You can automatically prioritize fixing bugs based on the number of pages each bug causes.\n\nThe quality of the data you collect will determine the quality of the decisions either humans or automata can make. To ensure high-quality data, consider the following techniques:\n\n- Define and document your team’s policy and expectations on data collection for pages.\n- Set up nonpaging alerts from the monitoring system to highlight where pages were not handled according to those expectations. Managers and tech leads should make sure that the expectations are met.\n- Teammates should follow up with each other when handoffs don’t adhere to expectations. Positive comments such as, “Maybe this could be related to bug 123,” “I’ve filed a bug with your findings so we can follow up in more detail,” or “This looks a lot like what happened on my shift last Wednesday: ” powerfully reinforce the expected behaviors and ensure that you maximize opportunities for improvement. No one wants to be paged for the same issue that paged their teammate in the previous shift.\n\n###### Vigilance\n\nAll too often, teams fall into operational overload by a thousand cuts. To avoid [boiling the frog](https://en.wikipedia.org/wiki/Boiling_frog), it is important to pay attention to the health of on-call engineers over time, and ensure that production health is consistently and continuously prioritized by both SRE and developer teams.\n\nThe following techniques can help a team keep a watchful eye on pager load:\n\n- At production meetings (see the section [“Communications: Production Meetings”](https://sre.google/sre-book/communication-and-collaboration#id-rq7uXSATe-marker) in Site Reliability Engineering , Chapter 31), regularly talk about trends in pager load based on the structured data collected. We’ve found a 21-day trailing average to be useful.\n- Set up ticket alerts, possibly targeted at tech leads or managers, for when pager load crosses a “warning” threshold that your team agrees on beforehand.\n- Hold regular meetings between the SRE team and developer team to discuss the current state of production and the outstanding production bugs that are paging SRE.\n\n##### On-Call Flexibility\n\n###### Scenario: A change in personal circumstances\n\nImagine you are a member of an on-call team for a large service that has a 24/7 follow-the-sun model split across two sites. The arrangement works well for you. While you’re not thrilled about the possibility of a 6 a.m. page, you are happy with the work you and the team are doing to keep the operational load manageable while improving the reliability of the service.\n\nAll is well…until one day you realize that the on-call schedule and the demands of your personal life are starting to clash. There are many potential reasons why—for example, becoming a parent, needing to travel on short notice and take a leave from work, or illness.\n\nYou need your on-call duties to coexist with your new personal schedule.\n\nMany teams and organizations face this challenge as they mature. People’s needs change over time, and maintaining a healthy balance of diverse teammate backgrounds leads to an on-call rotation characterized by diverse needs. The key to keeping a healthy, fair, and equitable balance of on-call work and personal life is flexibility.\n\nThere are a number of ways that you can apply flexibility to on-call rotations to meet the needs of team members while still ensuring coverage for your services or products. It is impossible to write down a comprehensive, one-size-fits-all set of guidelines. We encourage embracing flexibility as a principle rather than simply adopting the examples listed here.\n\n###### Automate on-call scheduling\n\nAs teams grow, accounting for scheduling constraints—vacation plans, distribution of on-call weekdays versus weekends, individual preferences, religious requirements, and so on—becomes increasingly difficult. You can’t manage this task manually; it’s hard to find any solution at all, much less a fair one.\n\n“Fairness” doesn’t mean a completely uniform distribution of each type of shift across team members. Different people have different needs and different preferences. Therefore, it’s important for the team to share those preferences and try to meet them in an intelligent way. Team composition and preferences dictate whether your team prefers a uniform distribution, or a more customized way of meeting scheduling preferences.\n\nUsing an automated tool to schedule on-call shifts makes this task much easier. This tool should have a few basic characteristics:\n\n- It should rearrange on-call shifts to accommodate the changing needs of team members.\n- It should automatically rebalance on-call load in response to any changes.\n- It should do its best to ensure fairness by factoring in personal preferences such as “no primary during weekends in April,” as well as historical information such as recent on-call load per engineer.\n- So that on-call engineers can plan around their on-call shifts, it must never change an already generated schedule.\n\nSchedule generation can be either fully automated or scheduled by a human. Likewise, some teams prefer to have members explicitly sign off on the schedule, while others are comfortable with a fully automated process. You might opt to develop your own tool in-house if your needs are complex, but there are a number of commercial and open source software packages that can aid in automating on-call scheduling.\n\n###### Plan for short-term swaps\n\nRequests for short-term changes in the on-call schedule happen frequently. No one can promise on Monday that they won’t have the flu on Thursday. Or you might need to run an unforeseen urgent errand in the middle of your on-call shift.\n\nYou may also want to facilitate on-call swaps for nonurgent reasons—for example, to allow on-callers to attend sports training sessions. In this situation, team members can swap a subset of the on-call day (for example, half of Sunday). Nonurgent swaps are typically best-effort.\n\nTeams with a strict pager response SLO need to take commute coverage into account. If your pager response SLO is 5 minutes, and your commute is 30 minutes, you need to make sure that someone else can respond to emergencies while you get to work.\n\nTo achieve these goals in flexibility, we recommend giving team members the ability to update the on-call rotation. Also, have a documented policy in place describing how swaps should work. Decentralization options range from a fully centralized policy, where only the manager can change the schedule, to a fully decentralized one, where any team member can change the policy independently. In our experience, instituting peer review of changes provides a good tradeoff between safety and flexibility.\n\n###### Plan for long-term breaks\n\nSometimes team members need to stop serving in the on-call rotation because of changes in personal circumstances or burnout. It’s important that teams are structured to allow on-callers to temporarily leave the rotation.\n\nIdeally, team size should allow for a (temporary) staff reduction without causing the rest of the team to suffer too much operational load. In our experience, you need a bare minimum of five people per site to sustain on-call in a multisite, 24/7 configuration, and eight people in a single-site, 24/7 configuration. Therefore, it is safe to assume each site will need one extra engineer as protection against staff reduction, bringing the minimum staffing to six engineers per site (multisite) or nine per site (single-site).\n\n###### Plan for part-time work schedules\n\nBeing on-call with part-time working schedules may seem incompatible, but we’ve found that on-call and part-time work arrangements are compatible if you take certain precautions. The following discussion assumes that if a member of your on-call rotation works part-time, they’ll be unavailable for on-call shifts outside of their part-time working week.\n\nThere are two main models of part-time working:\n\n- Working a reduced amount of full days per week—for example, four 8-hour days a week, instead of five\n- Working a reduced amount of time each day—for example, 6 hours a day, instead of 8 hours a day\n\nBoth models are compatible with on-call work, but require different adjustments to on-call scheduling.\n\nThe first model easily coexists with on-call work, especially if the nonworking day(s) are constant over time. In response, you can adopt an on-call shift length of fewer than seven days a week (for example, Monday through Thursday, or Friday through Sunday) and configure the automated scheduler not to schedule the part-time engineer(s) to be on-call on the days they don’t work.\n\nThe second model is possible in a couple ways:\n\n- Split on-call hours with another engineer, so that no one is on-call when they are not supposed to be. For example, if an on-call engineer needs to work from 9 a.m. to 4 p.m., you can assign the first half of the shift (9 a.m. to 3 p.m.) to them. Rotate the second half (3 p.m. to 9 p.m.) within the team the same way you rotate other on-call shifts.\n- The part-time engineer can work full hours on their on-call days, which may be feasible if the on-call shift is not too frequent.\n\nAs mentioned in [Chapter 11](https://sre.google/sre-book/being-on-call/) of Site Reliability Engineering, Google SRE compensates support outside of regular hours with a reduced hourly rate of pay or time off, according to local labor law and regulations. Take a part-time engineer’s reduced schedule into account when determining on-call compensation.\n\nIn order to maintain a proper balance between project time and on-call time, engineers working reduced hours should receive a proportionately smaller amount of on-call work. Larger teams absorb this additional on-call load more easily than smaller teams.\n\n##### On-Call Team Dynamics\n\nOur first book touched upon how stress factors like high pager load and time pressure can force on-call engineers to adopt decision strategies based on intuition and heuristics rather than reason and data (see the section “Feeling Safe” in [Chapter 11](https://sre.google/sre-book/being-on-call/) of that book). Working from this discussion of team psychology, how do you go about building a team with positive dynamics? Consider an on-call team with the following set of hypothetical problems.\n\n###### Scenario: A culture of “survive the week”\n\nA company begins with a couple of founders and a handful of employees, all feature developers. Everyone knows everyone else, and everyone takes pagers.\n\nThe company grows bigger. On-call duty is limited to a smaller set of more experienced feature developers who know the system better.\n\nThe company grows even bigger. They add an ops role to tackle reliability. This team is responsible for production health, and the job role is focused on operations, not coding. The on-call becomes a joint rotation between feature developers and ops. Feature developers have the final say in maintaining the service, and ops input is limited to operational tasks. By this time, there are 30 engineers in the on-call rotation: 25 feature developers and 5 ops, all located at the same site.\n\nThe team is plagued by high pager volume. Despite following the recommendations described earlier in this chapter to minimize pager load, the team is suffering from low morale. Because the feature developers prioritize developing new features, on-call follow-up takes a long time to implement.\n\nTo make matters worse, the feature developers are concerned about their own subsystem’s health. One feature developer insists on paging by error rate rather than error ratio for their mission-critical module, despite complaints from others on the team. These alerts are noisy, and return many false positives or unactionable pages.\n\nOther members of the on-call rotation aren’t especially bothered by the high pager volume. Sure, there are a lot of pages, but most of them don’t take much time to resolve. As one on-call engineer puts it: “I take a quick look at the page subject and know they are duplicates. So I just ignore them.”\n\nSound familiar?\n\nSome Google teams experienced similar problems during their earlier days of maturity. If not handled carefully, these problems have the potential to tear the feature developer and ops teams apart and hinder on-call operation. There’s no silver bullet to solve these problems, but we found a couple of approaches particularly helpful. While your methodology may differ, your overall goal should be the same: build positive team dynamics, and carefully avoid tailspin.\n\n###### Proposal one: Empower your ops engineers\n\nYou can remodel the operations organization according to the guidelines outlined in this book and Site Reliability Engineering, perhaps even including a change of name (SRE, or similar) to indicate the change of role. Simply retitling your ops organization is not a panacea, but it can be helpful in communicating an actual change in responsibilities away from the old ops-centric model. Make it clear to the team and the entire company that SREs own the site operation. This includes defining a shared roadmap for reliability, driving the full resolution of issues, maintaining monitoring rules, and so on. Feature developers are necessary collaborators but don’t own these endeavors.\n\nTo return to our hypothetical team, this announcement ushered in the following operational changes:\n\n- Action items are assigned only to the five DevOps engineers—who are now SREs. SREs work with subject experts—many of them feature developers—to accomplish these tasks. SREs take on the previously mentioned “error rate versus error ratio” debate by negotiating a change in alerting with the feature developers.\n- SREs are encouraged to dive into the code to make the changes themselves, if possible. They send code reviews to the subject experts. This has the benefit of building a sense of ownership among SREs, as well as upgrading their skills and authority for future occasions.\n\nWith this arrangement, feature developers are explicit collaborators on reliability features, and SREs are given the responsibility to own and improve the site.\n\n###### Proposal two: Improve team relations\n\nAnother possible solution is to build stronger team bonds between team members. Google designates a “fun budget” specifically for organizing offsite activities to strengthen team bonds.\n\nWe’ve found that more robust team relationships create a spirit of increased understanding and collaboration among teammates. As a result, engineers are more likely to fix bugs, finish action items, and help out their colleagues. For example, say you turned off a nightly pipeline job, but forgot to turn off the monitoring that checked if the pipeline ran successfully. As a result, you accidentally page a colleague at 3 a.m. If you’ve spent a little time with that colleague, you’d feel much worse about what happened, and strive to be considerate by being more careful in the future. The mentality of “I protect my colleagues” translates to a more productive work atmosphere.\n\nWe’ve also found that making all members of the on-call rotation sit together, regardless of job title and function area, helps improve team relations tremendously. Encourage teams to eat lunch with each other. Don’t underestimate the power of relatively straightforward changes like these. It plays directly into team dynamics.\n\n# Conclusion\n\nSRE on-call is different than traditional ops roles. Rather than focusing solely on day-to-day operations, SRE fully owns the production environment, and seeks to better it through defining appropriate reliability thresholds, developing automation, and undertaking strategic engineering projects. On-call is critical for site operations, and handling it right is crucial to the company’s bottom line.\n\nOn-call is a source of much tension, both individually and collectively. But if you’ve stared into the eyes of the monster long enough, there is wisdom to be found. This chapter illustrates some of the lessons about on-call that we learned the hard way; we hope that our experience can help others avoid or tackle similar issues.\n\nIf your on-call team is drowning in endless alerts, we recommend taking a step back to observe the situation from a higher level. Compare notes with other SRE and partner teams. Once you’ve gathered the necessary information, address the problems in a systematic way. Thoughtfully structuring on-call is time well spent for on-call engineers, on-call teams, and the whole company.\n\n1Note that this example is often a red flag situation for organizations that aren’t actually practicing DevOps, in which case, a name change won’t fix more structural problems.\n\n2One “incident” is defined as one “problem,” no matter how many alerts have been fired for the same “problem.” One shift is 12 hours.\n\n3There is more on this topic in [Seeking SRE](https://shop.oreilly.com/product/0636920063964.do) by David Blank-Edelman (O’Reilly).\n\n4SRE teams at Google are paired across time zones for service continuity.\n\n5A “bug” in this context is any undesirable system behavior resulting from software or configuration error. Logic errors in code, incorrect configuration of a binary, incorrect capacity planning, misconfigured load balancers, or newly discovered vulnerabilities are all valid examples of “production bugs” that contribute to pager load.", "znaku_textu": 64014, "slov": 10191, "odkazu": 71, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:54", "sha256": "0ad11c48a4d5d57c375f95027245b5dd16a4ab84ebb83b73d42f9c91488f128c", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://github.com/Netflix/chaosmonkey", "https://martinfowler.com/tags/testing.html", "https://github.com/jenkinsci/slack-plugin/blob/master/README.md", "https://developers.google.com/issue-tracker/", "https://en.wikipedia.org/wiki/Boiling_frog", "https://shop.oreilly.com/product/0636920063964.do", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/on-call/", "titulek": "Google SRE: What it Means Being On-Call? | Devops On-Call", "h1": "On-Call", "popis": "How Google Site Reliability Engineering teams structure on-call rotations, site operations, structure approaches to handle incidents and production issues.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/on-call/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/on-call/"}, "headline": "On-Call", "description": "Being on-call means being available during a set period of time, and being ready to respond to production incidents during that time with appropriate urgency. Site Reliability Engineers (SREs) are often required to take part in on-call rotations.", "author": [{"@type": "Person", "name": "Ollie Cook"}, {"@type": "Person", "name": "Sara Smollett"}, {"@type": "Person", "name": "Andrea Spadaccini"}, {"@type": "Person", "name": "Cara Donnelly"}, {"@type": "Person", "name": "Jian Ma"}, {"@type": "Person", "name": "Garrett Plasky (Evernote)"}, {"@type": "Person", "name": "Stephen Thorne"}, {"@type": "Person", "name": "Jessie Yang"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "On-Call"}, {"uroven": 2, "text": "Recap of “Being On-Call” Chapter of First SRE Book"}, {"uroven": 1, "text": "Example On-Call Setups Within Google and Outside Google"}, {"uroven": 5, "text": "Google: Forming a New Team"}, {"uroven": 6, "text": "Initial scenario"}, {"uroven": 6, "text": "Training roadmap"}, {"uroven": 6, "text": "Afterword"}, {"uroven": 5, "text": "Evernote: Finding Our Feet in the Cloud"}, {"uroven": 6, "text": "Moving our on-prem infrastructure to the cloud"}, {"uroven": 6, "text": "Adjusting our on-call policies and processes"}, {"uroven": 6, "text": "Restructuring our monitoring and metrics"}, {"uroven": 6, "text": "Tracking our performance over time"}, {"uroven": 6, "text": "Engaging with CRE"}, {"uroven": 6, "text": "Sustaining a self-perpetuating cycle"}, {"uroven": 1, "text": "Practical Implementation Details"}, {"uroven": 6, "text": "Scenario: A team in overload"}, {"uroven": 6, "text": "Preexisting bugs"}, {"uroven": 6, "text": "New bugs"}, {"uroven": 6, "text": "Identification delay"}, {"uroven": 6, "text": "Mitigation delay"}, {"uroven": 6, "text": "Alerting"}, {"uroven": 6, "text": "Rigor of follow-up"}, {"uroven": 6, "text": "Data quality"}, {"uroven": 6, "text": "Vigilance"}, {"uroven": 5, "text": "On-Call Flexibility"}, {"uroven": 6, "text": "Scenario: A change in personal circumstances"}, {"uroven": 6, "text": "Automate on-call scheduling"}, {"uroven": 6, "text": "Plan for short-term swaps"}, {"uroven": 6, "text": "Plan for long-term breaks"}, {"uroven": 6, "text": "Plan for part-time work schedules"}, {"uroven": 5, "text": "On-Call Team Dynamics"}, {"uroven": 6, "text": "Scenario: A culture of “survive the week”"}, {"uroven": 6, "text": "Proposal one: Empower your ops engineers"}, {"uroven": 6, "text": "Proposal two: Improve team relations"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# On-Call\n\nBy Ollie Cook, Sara Smollett, Andrea Spadaccini,\nCara Donnelly, Jian Ma, and Garrett Plasky (Evernote)\nwith Stephen Thorne and Jessie Yang\n\nBeing on-call means being available during a set period of time, and being ready to respond to production incidents during that time with appropriate urgency. Site Reliability Engineers (SREs) are often required to take part in on-call rotations. During on-call shifts, SREs diagnose, mitigate, fix, or escalate incidents as needed. In addition, SREs are regularly responsible for nonurgent production duties.\n\nAt Google, being on-call is one of the defining characteristics of SRE. SRE teams mitigate incidents, repair production problems, and automate operational tasks. Since most of our SRE teams have not yet fully automated all their operational tasks, escalations need human points of contact—on-call engineers. Depending on how critical the supported systems are, or the state of development the systems are in, not all SRE teams may need to be on-call. In our experience, most SRE teams staff on-call shifts.\n\nOn-call is a large and complex topic, saddled with many constraints and a limited margin for trial and error. [Chapter 11](https://sre.google/sre-book/being-on-call/) of our first book (Site Reliability Engineering), “Being On-Call,” already explored this topic. This chapter addresses specific feedback and questions we received about that chapter. These include the following:\n\n- “We are not Google; we’re much smaller. We don’t have as many people in the rotation, and we don’t have sites in different time zones. What you described in your first book is irrelevant to me.”\n- “We have a mixture of developers and DevOps for on-call rotation. What’s the best way to organize them? Split the responsibilities?”\n- “Our on-call engineer gets paged about a hundred times in a typical 24-hour shift. A lot of pages get ignored, while the real problems are buried under the pile. Where should we start?”\n- “We have a high turnover rate for on-call rotations. How do you address the knowledge gap within the team?”\n- “We want to reorg our DevOps team into SRE. 1 What’s the difference between SRE on-call, DevOps on-call, and developers on-call? Please be specific, because the DevOps team is very concerned about this.”\n\nWe offer practical advice for these situations. Google is a large company with a mature SRE organization, but much of what we’ve learned over the years can be applied to any company or organization, regardless of size or maturity. Google has hundreds of on-call rotations across services of all sizes, and various on-call setups from simple to complicated. On-call is not exclusively an SRE function: many developer teams are directly on-call for their service. Each on-call setup meets the need of a particular service.\n\nThis chapter describes on-call setups both within Google and outside of Google. While your setup and situation will likely differ from our specific examples, the essential concepts we cover are widely applicable.\n\nWe then delve into the anatomy of pager load, explaining what causes pager load. We suggest strategies to optimize on-call setup and minimize that load.\n\nFinally, we share two examples of practices inside Google: on-call flexibility and on-call team dynamics. These practices show that no matter how mathematically sound an on-call setup is, you cannot solely rely on logistics of the on-call setup. Incentives and human nature play an important role, and should also be taken into account.\n\n## Recap of “Being On-Call” Chapter of First SRE Book\n\nSite Reliability Engineering, in [“Being On-Call”](https://sre.google/sre-book/being-on-call/), explains the principles behind on-call rotations at Google. This section discusses the main points of that chapter.\n\nAt Google, the overall goal of being on-call is to provide coverage for critical services, while making sure that we never achieve reliability at the expense of an on-call engineer’s health. As a result, SRE teams strive for balance. SRE work should be a healthy mix of duties: on-call and project work. Specifying that SREs spend at least 50% of their time on project work means that teams have time to tackle the projects required to strategically address any problems found in production. Team staffing must be adequate to ensure time for project work.\n\nWe target a maximum of two incidents per on-call shift,2 to ensure adequate time for follow-up. If the pager load gets too high, corrective action is warranted. (We explore pager load later in this chapter.)\n\nPsychological safety3 is vital for effective on-call rotations. Since being on-call can be daunting and highly stressful, on-call engineers should be fully supported by a series of procedures and escalation paths to make their lives easier.\n\nOn-call usually implies some amount of out-of-hours work. We believe this work should be compensated. While different companies may choose to handle this in different ways, Google offers time-off-in-lieu or cash compensation, capped at some proportion of the overall salary. The compensation scheme provides an incentive for being part of on-call, and ensures that engineers do not take on too many on-call shifts for economic reasons.\n\n# Example On-Call Setups Within Google and Outside Google\n\nThis section describes real-world examples of on-call setups at Google and Evernote, a California company that develops a cross-platform app that helps individuals and teams create, assemble, and share information. For each company, we explore the reasoning behind on-call setups, general on-call philosophy, and on-call practices.\n\n##### Google: Forming a New Team\n\n###### Initial scenario\n\nA few years ago, Sara, an SRE at Google Mountain View, started a new SRE team that needed to be on-call within three months. To put this in perspective, most SRE teams at Google do not expect new hires to be ready for on-call before three to nine months. The new Mountain View SRE team would support three Google Apps services that were previously supported by an SRE team in Kirkland, Washington (a two-hour flight from Mountain View). The Kirkland team had a sister SRE team in London, which would continue to support these services alongside the new Mountain View SRE team, and distributed product development teams.4\n\nThe new Mountain View SRE team came together quickly, assembling seven people:\n\n- Sara, an SRE tech lead\n- Mike, an experienced SRE from another SRE team\n- A transfer from a product development team who was new to SRE\n- Four new hires (“Nooglers”)\n\nEven when a team is mature, going on-call for new services is always challenging, and the new Mountain View SRE team was a relatively junior team. Nonetheless, the new team was able to onboard the services without sacrificing service quality or project velocity. They made immediate improvements to the services, including lowering machine costs by 40%, and fully automating release rollouts with canarying and other safety checks. The new team also continued to deliver reliable services, targeting 99.98% availability, or roughly 26 minutes of downtime per quarter.\n\nHow did the new SRE team bootstrap themselves to accomplish so much? Through starter projects, mentoring, and training.\n\n###### Training roadmap\n\nAlthough the new SRE team didn’t know much about their services, Sara and Mike were familiar with Google’s production environment and SRE. As the four Nooglers completed company orientation, Sara and Mike compiled a checklist of two dozen focus areas for people to practice before going on-call, such as:\n\n- Administering production jobs\n- Understanding debugging info\n- “Draining” traffic away from a cluster\n- Rolling back a bad software push\n- Blocking or rate-limiting unwanted traffic\n- Bringing up additional serving capacity\n- Using the monitoring systems (for alerting and dashboards)\n- Describing the architecture, various components, and dependencies of the services\n\nThe Nooglers found some of this information on their own by researching existing documentation and codelabs (guided, hands-on coding tutorials) and gained understanding on relevant topics by working on their starter projects. When a team member learned about specific topics relevant to the Nooglers’ starter projects, that person led a short, impromptu session to share that information with the rest of the team. Sara and Mike covered the remaining topics. The team also held lab sessions to perform common debugging and mitigation tasks to help everyone build muscle memory and gain confidence in their abilities.\n\nIn addition to the checklist, the new SRE team ran a series of “deep dives” to dig into their services. The team browsed monitoring consoles, identified running jobs, and tried debugging recent pages. Sara and Mike explained that an engineer didn’t need years of expertise with each of the services to become reasonably proficient. They coached the team to explore a service from first principles, and encouraged Nooglers to become familiar with the services. They were open about the limits of their knowledge, and taught others when to ask for help.\n\nThroughout the ramp-up, the new SRE team wasn’t alone. Sara and Mike traveled to meet the other SRE teams and product developers and learn from them. The new SRE team met with the Kirkland and London teams by holding video conferences, exchanging email, and chatting over IRC. In addition, the team attended weekly production meetings, read daily on-call handoffs and postmortems, and browsed existing service documentation. A Kirkland SRE visited to give talks and answer questions. A London SRE put together a thorough set of disaster scenarios and ran them during Google’s disaster recovery training week (see the section [“Preparedness and Disaster Testing”](https://sre.google/sre-book/lessons-learned/) in Site Reliability Engineering, Chapter 33).\n\nThe team also practiced being on-call through “Wheel of Misfortune” training exercises (see the section [“Disaster Role Playing”](https://sre.google/sre-book/accelerating-sre-on-call#id-BnClSLI7IYiJ) in Site Reliability Engineering, Chapter 28), where they role-played recent incidents to practice debugging production problems. During these sessions, all SREs were encouraged to offer suggestions on how to resolve mock production failures. After everyone ramped up, the team still held these sessions, rotating through each team member as the session leader. The team recorded these for future reference.\n\nBefore going on-call, the team reviewed precise guidelines about the responsibilities of on-call engineers. For example:\n\n- At the start of each shift, the on-call engineer reads the handoff from the previous shift.\n- The on-call engineer minimizes user impact first, then makes sure the issues are fully addressed.\n- At the end of the shift, the on-call engineer sends a handoff email to the next engineer on-call.\n\nThe guidelines also specified when to escalate to others, and how to write postmortems for large incidents.\n\nFinally, the team read and updated on-call playbooks. Playbooks contain high-level instructions on how to respond to automated alerts. They explain the severity and impact of the alert, and include debugging suggestions and possible actions to take to mitigate impact and fully resolve the alert. In SRE, whenever an alert is created, a corresponding playbook entry is usually created. These guides reduce stress, the mean time to repair (MTTR), and the risk of human error.\n\nAfter two months, Sara, Mike, and the SRE transfer shadowed the on-call shifts of the outgoing Kirkland SRE team. At three months, they became the primary on-call, with the Kirkland SREs as backup. That way, they could easily escalate to the Kirkland SREs if needed. Next, the Nooglers shadowed the more experienced, local SREs and joined the rotation.\n\nGood documentation and the various strategies discussed earlier all helped the team form a solid foundation and ramp up quickly. Although on-call can be stressful, the teams’ confidence grew enough to take action without second-guessing themselves. There was psychological safety in knowing that their responses were based on the team’s collective knowledge, and that even when they escalated, the on-call engineers were still regarded as competent engineers.\n\n###### Afterword\n\nWhile the Mountain View SREs were ramping up, they learned that their experienced, sister SRE team in London would be moving on to a new project, and a new team was being formed in ZĂĽrich to support the services previously supported by the London SRE team. For this second transition, the same basic approach the Mountain View SREs used proved successful. The previous investment by Mountain View SREs in developing onboarding and training materials helped the new ZĂĽrich SRE team ramp up.\n\nWhile the approach used by the Mountain View SREs made sense when a cohort of SREs were becoming a team, they needed a more lightweight approach when only one person joined the team at a given time. In anticipation of future turnover, the SREs created service architecture diagrams and formalized the basic training checklist into a series of exercises that could be completed semi-independently with minimal involvement from a mentor. These exercises included describing the storage layer, performing capacity increases, and reviewing how HTTP requests are routed.\n\n##### Evernote: Finding Our Feet in the Cloud\n\n###### Moving our on-prem infrastructure to the cloud\n\nWe didn’t set out to reengineer our on-call process, but as with many things in life, necessity is the mother of invention. Prior to December 2016, Evernote ran only on on-prem datacenters, built to support our monolithic application. Our network and servers were designed with a specific architecture and data flow in mind. This, combined with a host of other constraints, meant we lacked the flexibility needed to support a horizontal architecture. Google Cloud Platform (GCP) provided a concrete solution to our problem. However, we still had one major hurdle to surmount: migrating all our production and supporting infrastructure to GCP. Fast-forward 70 days. Through a Herculean effort and many remarkable feats (for example, moving thousands of servers and 3.5 PB of data), we were happily settled in our new home. At this point, though, our job still wasn’t done: how were we going to monitor, alert, and—most importantly—respond to issues in our new environment?\n\n###### Adjusting our on-call policies and processes\n\nThe move to the cloud unleashed the potential for our infrastructure to grow rapidly, but our on-call policies and processes were not yet set up to handle such growth. Once the migration wrapped up, we set out to remedy the problem. In our previous physical datacenter, we built redundancy into nearly every component. This meant that while component failure was common given our size, generally no individual component was capable of negatively impacting users. The infrastructure was very stable because we controlled it—any small bump would inevitably be due to a failure somewhere in the system. Our alerting policies were structured with that in mind: a few dropped packets, resulting in a JDBC (Java Database Connectivity) connection exception, invariably meant that a VM (virtual machine) host was on the verge of failing, or that the control plane on one of our switches was on the fritz. Even before our first day in the cloud, we realized that this type of alert/response system was not tenable going forward. In a world of live migrations and network latency, we needed to take a much more holistic approach to monitoring.\n\nReframing paging events in terms of first principles, and writing these principles down as our explicit SLOs (service level objectives), helped give the team clarity regarding what was important to alert on and allowed us to trim the fat from our monitoring infrastructure. Our focus on higher-level indicators such as API responsiveness, rather than lower-level infrastructure such as InnoDB row lock waits in MySQL, meant we could focus more time on the real pain our users experience during an outage. For our team, this meant less time spent chasing transient problems. This translated into more sleep, effectiveness, and ultimately, job satisfaction.\n\n###### Restructuring our monitoring and metrics\n\nOur primary on-call rotation is staffed by a small but scrappy team of engineers who are responsible for our production infrastructure and a handful of other business systems (for example, staging and build pipeline infrastructure). We have a weekly, 24/7 schedule with a well-oiled handoff procedure, alongside a morning review of incidents at a daily stand-up. Our small team size and comparatively large scope of responsibility necessitates that we make every effort to keep the process burden light, and focus on closing the alert/triage/remediation/analysis loop as quickly as possible. One of the ways we achieve this is to keep our signal-to-noise ratio low by maintaining simple but effective alerting SLAs (service level agreements). We classify any event generated by our metrics or monitoring infrastructure into three categories:\n\nP1: Deal with immediately\n\n- Should be immediately actionable\n- Pages the on-call\n- Leads to event triage\n- Is SLO-impacting\n\nP2: Deal with the next business day\n\n- Generally is not customer-facing, or is very limited in scope\n- Sends an email to team and notifies event stream channel\n\nP3: Event is informational only\n\n- Information is gathered in dashboards, passive email, and the like\n- Includes capacity planning–related information\n\nAny P1 or P2 event has an incident ticket attached to it. The ticket is used for obvious tasks like event triage and tracking remediation actions, as well as for SLO impact, number of occurrences, and postmortem doc links, where applicable.\n\nWhen an event pages (category P1), the on-call is tasked with assessing the impact to users. Incidents are triaged into severities from 1 to 3. For severity 1 (Sev 1) incidents, we maintain a finite set of criteria to make the escalation decision as straightforward as possible for the responder. Once the event is escalated, we assemble an incident team and begin our incident management process. The incident manager is paged, a scribe and communications lead is elected, and our communication channels open. After the incident is resolved, we conduct an automatic postmortem and share the results far and wide within the company. For events rating Sev 2 or Sev 3, the on-call responder handles the incident lifecycle, including an abbreviated postmortem for incident review.\n\nOne of the benefits of keeping our process lightweight is that we can explicitly free the on-call from any expectations of project work. This empowers and encourages the on-call to take immediate follow-up action, and also to identify any major gaps in tooling or process after completing the post-incident review. In this way, we achieve a constant cycle of improvement and flexibility during every on-call shift, keeping pace with the rapid rate of change in our environment. The goal is to make every on-call shift better than the last.\n\n###### Tracking our performance over time\n\nWith the introduction of SLOs, we wanted to track performance over time, and share that information with stakeholders within the company. We implemented a monthly service review meeting, open to anyone who’s interested, to review and discuss the previous month of the service. We have also used this forum to review our on-call burden as a barometer of team health, and discuss remediation actions when we exceed our pager budget. This forum has the dual purpose of spreading the importance of SLOs within the company and keeping the technical organization accountable for maintaining the health and wellness of our service and team.\n\n###### Engaging with CRE\n\nExpressing our objectives in terms of SLOs provides a basis for engaging with Google’s Customer Reliability Engineering (CRE) team. After we discussed our SLOs with CRE to see if they were realistic and measurable, both teams decided CRE would be paged alongside our own engineers for SLO-impacting events. It can be difficult to pinpoint root causes that are hidden behind layers of cloud abstraction, so having a Googler at our side take the guesswork out of black-box event triaging was helpful. More importantly, this exercise further reduced our MTTR, which is ultimately what our users care about.\n\n###### Sustaining a self-perpetuating cycle\n\nRather than spending all our time in the triage/root-cause analysis/postmortem cycle, we now have more time as a team to think about how we move the business forward. Specifically, this translates into projects such as improving our microservices platform and establishing production readiness criteria for our product development teams. The latter includes many of the principles we followed in restructuring our on-call, which is particularly helpful for teams in their first “carry the pager” rodeo. Thus, we perpetuate the cycle of improving on-call for everyone.\n\n# Practical Implementation Details\n\nSo far, we’ve discussed details about on-call setups, both within Google and outside of Google. But what about specific considerations of being on-call? The following sections discuss these implementation details in more depth:\n\n- Pager load—what it is, how it works, and how to manage it\n- How to factor flexibility into on-call scheduling to create a healthier work/life balance for SREs\n- Strategies for improving team dynamics, both within a given SRE team, and with partner teams\n\nYour pager is noisy and it’s making your team unhappy. You’ve read through [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) in Site Reliability Engineering, and run regular production meetings, both with your team and the developer teams you support. Now everyone knows that your on-call engineers are unhappy. What next?\n\nPager load is the number of paging incidents that an on-call engineer receives over a typical shift length (such as per day or per week). An incident may involve more than one page. Here, we’ll walk through the impact of various factors on pager load, and suggest techniques for minimizing future pager load.\n\n| Incident description | Response time | SRE impact |\n| --- | --- | --- |\n| Revenue-impacting network outage | 5 minutes | SRE needs to be within arm's reach of a charged and authenticated laptop with network access at all times; cannot travel; must heavily coordinate with secondary at all times |\n| Customer order batch processing system stuck | 30 minutes | SRE can leave their home for a quick errand or short commute; secondary does not need to provide coverage during this time |\n| Backups of a database for a pre-launch service are failing | Ticket (response during work hours) | None |\n\n###### Scenario: A team in overload\n\nThe (hypothetical) Connection SRE Team, responsible for frontend load balancing and terminating end-user connections, found itself in a position of high pager load. They had an established pager budget of two paging incidents per shift, but for the past year they had regularly been receiving five paging incidents per shift. Analysis revealed that fully one-third of shifts were exceeding their pager budget. Members of the team heroically responded to the daily onslaught of pages but couldn’t keep up; there simply was not enough time in the day to find the root cause and properly fix the incoming issues. Some engineers left the team to join less operationally burdened teams. High-quality incident follow-up was rare, since on-call engineers only had time to mitigate immediate problems.\n\nThe team’s horizon wasn’t entirely bleak: they had a mature monitoring infrastructure that followed SRE best practices. Alerting thresholds were set to align with their SLO, and paging alerts were symptom-based in nature, meaning they fired only when customers were impacted. When senior management were approached with all of this information, they agreed that the team was in operational overload and reviewed the project plan to bring the team back to a healthy state.\n\nIn less positive news, over time the Connection team had taken ownership of software components from more than 10 developer teams and had hard dependencies on Google’s customer-facing edge and backbone networks. The large number of intergroup relationships was complex and had quietly grown difficult to manage.\n\nDespite the team following best practices in structuring their monitoring, many of the pages that they faced were outside their direct control. For example, a black-box probe may have failed due to congestion in the network, causing packet loss. The only action the team could take to mitigate congestion in the backbone was to escalate to the team directly responsible for that network.\n\nOn top of their operational burden, the team needed to deliver new features to the frontend systems, which would be used by all Google services. To make matters worse, their infrastructure was being migrated from a 10-year-old legacy framework and cluster management system to a better-supported replacement. The team’s services were subject to an unprecedented rate of change, and the changes themselves caused a significant portion of the on-call load.\n\nThe team clearly needed to combat this excessive pager load using a variety of techniques. The technical program manager and the people manager of the team approached senior management with a project proposal, which senior management reviewed and approved. The team turned their full attention to reducing their pager load, and learned some valuable lessons along the way.\n\nThe first step in tackling high pager load is to determine what is causing it. Pager load is influenced by three main factors: bugs5 in production, alerting, and human processes. Each of these factors has several inputs, some of which we discuss in more detail in this section.\n\nFor production:\n\n- The number of existing bugs in production\n- The introduction of new bugs into production\n- The speed with which newly introduced bugs are identified\n- The speed with which bugs are mitigated and removed from production\n\nFor alerting:\n\n- The alerting thresholds that trigger a paging alert\n- The introduction of new paging alerts\n- The alignment of a service’s SLO with the SLOs of the services upon which it depends\n\nFor human processes:\n\n- The rigor of fixes and follow-up on bugs\n- The quality of data collected about paging alerts\n- The attention paid to pager load trends\n- Human-actuated changes to production\n\n###### Preexisting bugs\n\nNo system is perfect. There will always be bugs in production: in your own code, the software and libraries that you build upon, or the interfaces between them. The bugs may not be causing paging alerts right now, but they are definitely present. You can use a few techniques to identify or prevent bugs that haven’t yet caused paging alerts:\n\n- Ensure systems are as complicated as they need to be, and no more (see [Simplicity](https://sre.google/sre-book/simplicity/) ).\n- Regularly update the software or libraries that your system is built upon to take advantage of bug fixes (however, see the next section about new bugs).\n- Perform regular destructive testing or fuzzing (for example, using Netflix’s [Chaos Monkey](https://github.com/Netflix/chaosmonkey) ).\n- Perform regular load testing in addition to integration and unit testing.\n\n###### New bugs\n\nIdeally, the SRE team and its partner developer teams should detect new bugs before they even make it into production. In reality, automated testing misses many bugs, which are then launched to production.\n\nSoftware testing is a large topic well covered elsewhere (e.g., [Martin Fowler on Testing](https://martinfowler.com/tags/testing.html)). However, software testing techniques are particularly useful in reducing the number of bugs that reach production, and the amount of time they remain in production:\n\n- Improve testing over time. In particular, for each bug you discover in production, ask “How could we have detected this bug preproduction?” Make sure the necessary engineering follow-up occurs (see Rigor of follow-up ).\n- Don’t ignore load testing, which is often treated as lower priority than functional testing. Many bugs manifest only under particular load conditions or with a particular mix of requests.\n- Run staging (testing with production-like but synthetic traffic) in a production-like environment. We briefly discuss generating synthetic traffic in [Alerting on SLOs](https://sre.google/workbook/alerting-on-slos/) of this book.\n- Perform canarying ( [Canarying Releases](https://sre.google/workbook/canarying-releases/) ) in a production environment.\n- Have a low tolerance to new bugs. Follow a “detect, roll back, fix, and roll forward” strategy rather than a “detect, continue to roll forward despite identifying the bug, fix, and roll forward again” strategy. (See Mitigation delay for more details.)\n\nThis kind of rollback strategy requires predictable and frequent releases so that the cost of rolling back any one release is small. We discuss this and related topics in Site Reliability Engineering, in [“Release Engineering”](https://sre.google/sre-book/release-engineering/).\n\nSome bugs may manifest only as the result of changing client behavior. For example:\n\n- Bugs that manifest only under specific levels of load—for example, September back-to-school traffic, Black Friday, Cyber Monday, or that week of the year when Daylight Saving Time means Europe and North America are one hour closer, meaning more of your users are awake and online simultaneously.\n- Bugs that manifest only with a particular mix of requests—for example, servers closer to Asia experiencing a more expensive traffic mix due to language encodings for Asian character sets.\n- Bugs that manifest only when users exercise the system in unexpected ways—for example, Calendar being used by an airline reservation system! Therefore, it is important to expand your testing regimen to test behaviors that do not occur every day.\n\nWhen a production system is plagued by several concurrent bugs, it’s much more difficult to identify if a given page is for an existing or new bug. Minimizing the number of bugs in production not only reduces pager load, it also makes identifying and classifying new bugs easier. Therefore, it is critical to remove production bugs from your systems as quickly as possible. Prioritize fixing existing bugs above delivering new features; if this requires cross-team collaboration, see [SRE Engagement Model](/workbook/engagement-model/).\n\nArchitectural or procedural problems, such as automated health checking, self-healing, and load shedding, may need significant engineering work to resolve. Remember, for simplicity’s sake we’ll consider these problems “bugs,” even if their size, their complexity, or the effort required to resolve them is significant.\n\n[Chapter 3](https://sre.google/sre-book/embracing-risk/) of Site Reliability Engineering describes how error budgets are a useful way to manage the rate at which new bugs are released to production. For example, when a service’s SLO violations exceed a certain fraction of its total quarterly error budget—typically agreed in advance between the developer and SRE teams—new feature development and feature-related rollouts can be halted temporarily to focus on stabilizing the system and reducing the frequency of pages.\n\nThe Connection team from our example adopted a strict policy requiring every outage to have a tracking bug. This enabled the team’s technical program manager to examine the root cause of their new bugs in aggregate. This data revealed that human error was the second most common cause of new bugs in production.\n\nBecause humans are error-prone, it’s better if all changes made to production systems are made by automation informed by (human-developed) intent configuration. Before you make a change to production, automation can perform additional testing that humans cannot. The Connection team was making complex changes to production semimanually. Not surprisingly, the team’s manual changes went wrong sometimes; the team introduced new bugs, which caused pages. Automated systems making the same changes would have determined that the changes were not safe before they entered production and became paging events. The technical program manager took this data to the team and convinced them to prioritize automation projects.\n\n###### Identification delay\n\nIt’s important to promptly identify the cause(s) of alerts because the longer it takes to identify the root cause of a page, the more opportunity it has to recur and page again. For example, given a page that manifests only under high load, say at daily peak, if the problematic code or configuration is not identified before the next daily peak, it is likely that the problem will happen again. There are several techniques you might use to reduce identification delays:\n\nUse good alerts and consoles\n\n- Ensure pages link to relevant monitoring consoles, and that consoles highlight where the system is operating out of specification. In the console, correlate black-box and white-box paging alerts together, and do the same with their associated graphs. Make sure playbooks are up to date with advice on responding to each type of alert. On-call engineers should update the playbook with fresh information when the corresponding page fires.\n\nPractice emergency response\n\n- Run [“Wheel of Misfortune” exercises](https://sre.google/sre-book/accelerating-sre-on-call/) (described in Site Reliability Engineering ) to share general and service-specific debugging techniques with your colleagues.\n\nPerform small releases\n\n- If you perform frequent, smaller releases instead of infrequent monolithic changes, correlating bugs with the corresponding change that introduced them is easier. Canarying releases, described in Canarying Releases gives a strong signal about whether a new bug is due to a new release.\n\nLog changes\n\n- Aggregating change information into a searchable timeline makes it simpler (and hopefully quicker) to correlate new bugs with the corresponding change that introduced them. Tools like [the Slack plug-in for Jenkins](https://github.com/jenkinsci/slack-plugin/blob/master/README.md) can be helpful.\n\nAsk for help\n\n- In Site Reliability Engineering , [“Managing Incidents”](https://sre.google/sre-book/managing-incidents/) , we talked about working together to manage large outages. The on-call engineer is never alone; encourage your team to feel safe when asking for help.\n\n###### Mitigation delay\n\nThe longer it takes to mitigate a bug once it’s identified, the more opportunity it has to recur and page again. Consider these techniques for reducing mitigation delays:\n\nRoll back changes\n\n- If the bug was introduced in a recent code or configuration rollout, promptly remove the bug from production with a rollback, if safe and appropriate (a rollback alone may be necessary but is not sufficient if the bug caused data corruption, for example). Remember that even a “quick fix” needs time to be tested, built, and rolled out. Testing is vital to making sure the quick fix actually fixes the bug, and that it doesn’t introduce additional bugs or other unintended consequences. Generally, it is better to “roll back, fix, and roll forward” rather than “roll forward, fix, and roll forward again.”\n- If you aim for 99.99% availability, you have approximately 15 minutes of error budget per quarter. The build step of rolling forward may take much longer than 15 minutes, so rolling back impacts your users much less.\n- If at all possible, avoid changes that can’t be rolled back, such as API-incompatible changes and lockstep releases.\n\nUse feature isolation\n\n- Design your system so that if feature X goes wrong, you can disable it via, for example, a feature flag without affecting feature Y. This strategy also improves release velocity, and makes disabling feature X a much simpler decision—you don’t need to check that your product managers are comfortable with also disabling feature Y.\n\nDrain requests away\n\n- Drain requests (i.e., redirect customer requests) away from the elements of your system that exhibit the bug. For example, if the bug is the result of a code or config rollout, and you roll out to production gradually, you may have the opportunity to drain the elements of your infrastructure that have received the update. This allows you to mitigate the customer impact in seconds, rather than rolling back, which may take minutes or longer.\n\n###### Alerting\n\nGoogle SRE’s maximum of two distinct incidents per 12-hour shift encourages us to be thoughtful and cautious about how we configure paging alerts and how we introduce new ones. Site Reliability Engineering, [“Monitoring Distributed Systems”](https://sre.google/sre-book/monitoring-distributed-systems/), describes Google’s approach to defining the thresholds for paging alerts. Strictly observing these guidelines is critical to maintaining a healthy on-call rotation.\n\nIt is worth highlighting some key elements discussed in that chapter:\n\n- All alerts should be immediately actionable. There should be an action we expect a human to take immediately after they receive the page that the system is unable to take itself. The signal-to-noise ratio should be high to ensure few false positives; a low signal-to-noise ratio raises the risk for on-call engineers to develop alert fatigue.\n- If a team fully subscribes to SLO-based alerting, or paging only when error budget is burned (see the section [“Black-Box Versus White-Box”](https://sre.google/sre-book/monitoring-distributed-systems#table_monitoring_symptoms) in Site Reliability Engineering ), it is critical that all teams involved in developing and maintaining the service agree about the importance of meeting the SLO and prioritize their work accordingly.\n- If a team fully subscribes to SLO-based and symptom-based alerting, relaxing alert thresholds is rarely an appropriate response to being paged.\n- Just like new code, new alerts should be thoroughly and thoughtfully reviewed. Each alert should have a corresponding playbook entry.\n\nReceiving a page creates a negative psychological impact. To minimize that impact, only introduce new paging alerts when you really need them. Anyone on the team can write a new alert, but the whole team reviews proposed alert additions and can suggest alternatives. Thoroughly test new alerts in production to vet false positives before they are upgraded to paging alerts. For example, you might email the alert’s author when the alert fires, rather than paging the on-call engineer.\n\nNew alerts may find problems in production that you weren’t aware of. After you address these production bugs, alerting will only page on new bugs, effectively functioning like regression tests.\n\nBe sure to run the new alerts in test mode long enough to experience typical periodic production conditions, such as regular software rollouts, maintenance events by your Cloud provider, weekly load peaks, and so on. A week of testing is probably about right. However, this appropriate window depends on the alert and the system.\n\nFinally, use the alert’s trigger rate during the testing period to predict the expected consumption of your pager budget as a result of the new alert. Explicitly approve or disallow the new alert as a team. If introducing a new paging alert causes your service to exceed its paging budget, the stability of the system needs additional attention.\n\n###### Rigor of follow-up\n\nAim to identify the root cause of every page. “Root causes” extend out of the machine and into the team’s processes. Was an outage caused by a bug that would have been caught by a unit test? The root cause might not be a bug in the code, but rather a bug in the team’s processes around code review.\n\nIf you know the root cause, you can fix and prevent it from ever bothering you or your colleagues again. If your team cannot figure out the root cause, add monitoring and/or logging that will help you find the root cause of the page the next time it occurs. If you don’t have enough information to identify the bug, you can always do something to help debug the page further next time. You should rarely conclude that a page is triggered by “cause unknown.” Remember that as an on-call engineer, you are never alone, so ask a colleague to review your findings and see if there’s anything you missed. Typically, it’s easiest to find the root cause of an alert soon after the alert has triggered and fresh evidence is available.\n\nExplaining away a page as “transient,” or taking no action because the system “fixed itself” or the bug inexplicably “went away,” invites the bug to happen again and cause another page, which causes trouble for the next on-call engineer.\n\nSimply fixing the immediate bug (or making a “point” fix) misses a golden opportunity to prevent similar alerts in the future. Use the paging alert as an chance to surface engineering work that improves the system and obviates an entire class of possible future bugs. Do this by filing a project bug in your team’s production component, and advocate to prioritize its implementation by gathering data about how many individual bugs and pages this project would remove. If your proposal will take 3 working weeks or 120 working hours to implement, and a page costs on average 4 working hours to properly handle, there’s a clear break-even point after 30 pages.\n\nFor example, imagine a situation where there are too many servers on the same failure domain, such as a switch in a datacenter, causing regular multiple simultaneous failures:\n\nPoint fix\n\n- Rebalance your current footprint across more failure domains and stop there.\n\nSystemic fix\n\n- Use automation to ensure that this type of server, and all other similar servers, are always spread across sufficient failure domains, and that they rebalance automatically when necessary.\n\nMonitoring (or prevention) fix\n\n- Alert preemptively when the failure domain diversity is below the expected level, but not yet service-impacting. Ideally, the alert would be a ticket alert, not a page, since it doesn’t require an immediate response. The system is still serving happily, albeit at a lower level of redundancy.\n\nTo make sure you’re thorough in your follow-up to paging alerts, consider the following questions:\n\n- How can I prevent this specific bug from happening again?\n- How can I prevent bugs like this from happening again, both for this system and other systems I’m responsible for?\n- What tests could have prevented this bug from being released to production?\n- What ticket alerts could have triggered action to prevent the bug from becoming critical before it paged?\n- What informational alerts could have surfaced the bug on a console before it became critical?\n- Have I maximized the impact of the fixes I’m making?\n\nOf course, it’s not enough for an on-call engineer to just file bugs related to the pages that occur on their shift. It’s incredibly important that bugs identified by the SRE team are dealt with swiftly, to reduce the possibility of them recurring. Make sure resource planning for both the SRE and developer teams consider the effort required to respond to bugs.\n\nWe recommend reserving a fraction of SRE and developer team time for responding to production bugs as they arise. For example, a Google on-caller typically doesn’t work on projects during their on-call shift. Instead, they work on bugs that improve the health of the system. Make sure that your team routinely prioritizes production bugs above other project work. SRE managers and tech leads should make sure that production bugs are promptly dealt with, and escalate to the developer team decision makers when necessary.\n\nWhen a paging event is serious enough to warrant a postmortem, it’s even more important to follow this methodology to catalog and track follow-up action items. (See [Postmortem Culture: Learning from Failure](https://sre.google/sre-book/postmortem-culture/) for more details.)\n\n###### Data quality\n\nOnce you identify bugs in your system that caused pages, a number of questions naturally arise:\n\n- How do you know which bug to fix first?\n- How do you know which component in your system caused most of your pages?\n- How do you determine what repetitive, manual action on-call engineers are taking to resolve the pages?\n- How do you tell how many alerts with unidentified root causes remain?\n- How do you tell which bugs are truly , not just anecdotally, the worst?\n\nThe answer is simple: collect data!\n\nWhen building up your data collection processes, you might track and monitor the patterns in on-call load, but this effort doesn’t scale. It’s far more sustainable to file a placeholder bug for each paging alert in your bug tracking system (e.g., Jira, [IssueTracker](https://developers.google.com/issue-tracker/)), and for the on-call engineer to create a link between the paging alerts from your monitoring system and the relevant bug in the bug tracking system, as and when they realize that each alert is symptomatic of a preexisting issue. You will end up with a list of as-yet-not-understood bugs in one column, and a list of all of the pages that each bug is believed to have caused in the next.\n\nOnce you have structured data about the causes of the pages, you can begin to analyze that data and produce reports. Those reports can answer questions such as:\n\n- Which bugs cause the most pages? Ideally we’d roll back and fix bugs immediately, but sometimes, finding the root cause and deploying the fix takes a long time, and sometimes silencing key alerts isn’t a reasonable option. For example, the aforementioned Connection SRE Team might experience ongoing network congestion that isn’t immediately resolvable but still needs to be tracked. Collecting data on which production issues are causing the most pages and stress to the team supports data-driven conversations about prioritizing your engineering effort systematically.\n- Which component of the system is the cause of most pages (payments gateway, authentication microservice, etc.)?\n- When correlated with your other monitoring data, do particular pages correspond to other signals (peaks in request rate, number of concurrent customer sessions, number of signups, number of withdrawals, etc.)?\n\nTying structured data to bugs and the root causes of your pages has other benefits:\n\n- You can automatically populate a list of existing bugs (that is, known issues), which may be useful for your support team.\n- You can automatically prioritize fixing bugs based on the number of pages each bug causes.\n\nThe quality of the data you collect will determine the quality of the decisions either humans or automata can make. To ensure high-quality data, consider the following techniques:\n\n- Define and document your team’s policy and expectations on data collection for pages.\n- Set up nonpaging alerts from the monitoring system to highlight where pages were not handled according to those expectations. Managers and tech leads should make sure that the expectations are met.\n- Teammates should follow up with each other when handoffs don’t adhere to expectations. Positive comments such as, “Maybe this could be related to bug 123,” “I’ve filed a bug with your findings so we can follow up in more detail,” or “This looks a lot like what happened on my shift last Wednesday: ” powerfully reinforce the expected behaviors and ensure that you maximize opportunities for improvement. No one wants to be paged for the same issue that paged their teammate in the previous shift.\n\n###### Vigilance\n\nAll too often, teams fall into operational overload by a thousand cuts. To avoid [boiling the frog](https://en.wikipedia.org/wiki/Boiling_frog), it is important to pay attention to the health of on-call engineers over time, and ensure that production health is consistently and continuously prioritized by both SRE and developer teams.\n\nThe following techniques can help a team keep a watchful eye on pager load:\n\n- At production meetings (see the section [“Communications: Production Meetings”](https://sre.google/sre-book/communication-and-collaboration#id-rq7uXSATe-marker) in Site Reliability Engineering , Chapter 31), regularly talk about trends in pager load based on the structured data collected. We’ve found a 21-day trailing average to be useful.\n- Set up ticket alerts, possibly targeted at tech leads or managers, for when pager load crosses a “warning” threshold that your team agrees on beforehand.\n- Hold regular meetings between the SRE team and developer team to discuss the current state of production and the outstanding production bugs that are paging SRE.\n\n##### On-Call Flexibility\n\n###### Scenario: A change in personal circumstances\n\nImagine you are a member of an on-call team for a large service that has a 24/7 follow-the-sun model split across two sites. The arrangement works well for you. While you’re not thrilled about the possibility of a 6 a.m. page, you are happy with the work you and the team are doing to keep the operational load manageable while improving the reliability of the service.\n\nAll is well…until one day you realize that the on-call schedule and the demands of your personal life are starting to clash. There are many potential reasons why—for example, becoming a parent, needing to travel on short notice and take a leave from work, or illness.\n\nYou need your on-call duties to coexist with your new personal schedule.\n\nMany teams and organizations face this challenge as they mature. People’s needs change over time, and maintaining a healthy balance of diverse teammate backgrounds leads to an on-call rotation characterized by diverse needs. The key to keeping a healthy, fair, and equitable balance of on-call work and personal life is flexibility.\n\nThere are a number of ways that you can apply flexibility to on-call rotations to meet the needs of team members while still ensuring coverage for your services or products. It is impossible to write down a comprehensive, one-size-fits-all set of guidelines. We encourage embracing flexibility as a principle rather than simply adopting the examples listed here.\n\n###### Automate on-call scheduling\n\nAs teams grow, accounting for scheduling constraints—vacation plans, distribution of on-call weekdays versus weekends, individual preferences, religious requirements, and so on—becomes increasingly difficult. You can’t manage this task manually; it’s hard to find any solution at all, much less a fair one.\n\n“Fairness” doesn’t mean a completely uniform distribution of each type of shift across team members. Different people have different needs and different preferences. Therefore, it’s important for the team to share those preferences and try to meet them in an intelligent way. Team composition and preferences dictate whether your team prefers a uniform distribution, or a more customized way of meeting scheduling preferences.\n\nUsing an automated tool to schedule on-call shifts makes this task much easier. This tool should have a few basic characteristics:\n\n- It should rearrange on-call shifts to accommodate the changing needs of team members.\n- It should automatically rebalance on-call load in response to any changes.\n- It should do its best to ensure fairness by factoring in personal preferences such as “no primary during weekends in April,” as well as historical information such as recent on-call load per engineer.\n- So that on-call engineers can plan around their on-call shifts, it must never change an already generated schedule.\n\nSchedule generation can be either fully automated or scheduled by a human. Likewise, some teams prefer to have members explicitly sign off on the schedule, while others are comfortable with a fully automated process. You might opt to develop your own tool in-house if your needs are complex, but there are a number of commercial and open source software packages that can aid in automating on-call scheduling.\n\n###### Plan for short-term swaps\n\nRequests for short-term changes in the on-call schedule happen frequently. No one can promise on Monday that they won’t have the flu on Thursday. Or you might need to run an unforeseen urgent errand in the middle of your on-call shift.\n\nYou may also want to facilitate on-call swaps for nonurgent reasons—for example, to allow on-callers to attend sports training sessions. In this situation, team members can swap a subset of the on-call day (for example, half of Sunday). Nonurgent swaps are typically best-effort.\n\nTeams with a strict pager response SLO need to take commute coverage into account. If your pager response SLO is 5 minutes, and your commute is 30 minutes, you need to make sure that someone else can respond to emergencies while you get to work.\n\nTo achieve these goals in flexibility, we recommend giving team members the ability to update the on-call rotation. Also, have a documented policy in place describing how swaps should work. Decentralization options range from a fully centralized policy, where only the manager can change the schedule, to a fully decentralized one, where any team member can change the policy independently. In our experience, instituting peer review of changes provides a good tradeoff between safety and flexibility.\n\n###### Plan for long-term breaks\n\nSometimes team members need to stop serving in the on-call rotation because of changes in personal circumstances or burnout. It’s important that teams are structured to allow on-callers to temporarily leave the rotation.\n\nIdeally, team size should allow for a (temporary) staff reduction without causing the rest of the team to suffer too much operational load. In our experience, you need a bare minimum of five people per site to sustain on-call in a multisite, 24/7 configuration, and eight people in a single-site, 24/7 configuration. Therefore, it is safe to assume each site will need one extra engineer as protection against staff reduction, bringing the minimum staffing to six engineers per site (multisite) or nine per site (single-site).\n\n###### Plan for part-time work schedules\n\nBeing on-call with part-time working schedules may seem incompatible, but we’ve found that on-call and part-time work arrangements are compatible if you take certain precautions. The following discussion assumes that if a member of your on-call rotation works part-time, they’ll be unavailable for on-call shifts outside of their part-time working week.\n\nThere are two main models of part-time working:\n\n- Working a reduced amount of full days per week—for example, four 8-hour days a week, instead of five\n- Working a reduced amount of time each day—for example, 6 hours a day, instead of 8 hours a day\n\nBoth models are compatible with on-call work, but require different adjustments to on-call scheduling.\n\nThe first model easily coexists with on-call work, especially if the nonworking day(s) are constant over time. In response, you can adopt an on-call shift length of fewer than seven days a week (for example, Monday through Thursday, or Friday through Sunday) and configure the automated scheduler not to schedule the part-time engineer(s) to be on-call on the days they don’t work.\n\nThe second model is possible in a couple ways:\n\n- Split on-call hours with another engineer, so that no one is on-call when they are not supposed to be. For example, if an on-call engineer needs to work from 9 a.m. to 4 p.m., you can assign the first half of the shift (9 a.m. to 3 p.m.) to them. Rotate the second half (3 p.m. to 9 p.m.) within the team the same way you rotate other on-call shifts.\n- The part-time engineer can work full hours on their on-call days, which may be feasible if the on-call shift is not too frequent.\n\nAs mentioned in [Chapter 11](https://sre.google/sre-book/being-on-call/) of Site Reliability Engineering, Google SRE compensates support outside of regular hours with a reduced hourly rate of pay or time off, according to local labor law and regulations. Take a part-time engineer’s reduced schedule into account when determining on-call compensation.\n\nIn order to maintain a proper balance between project time and on-call time, engineers working reduced hours should receive a proportionately smaller amount of on-call work. Larger teams absorb this additional on-call load more easily than smaller teams.\n\n##### On-Call Team Dynamics\n\nOur first book touched upon how stress factors like high pager load and time pressure can force on-call engineers to adopt decision strategies based on intuition and heuristics rather than reason and data (see the section “Feeling Safe” in [Chapter 11](https://sre.google/sre-book/being-on-call/) of that book). Working from this discussion of team psychology, how do you go about building a team with positive dynamics? Consider an on-call team with the following set of hypothetical problems.\n\n###### Scenario: A culture of “survive the week”\n\nA company begins with a couple of founders and a handful of employees, all feature developers. Everyone knows everyone else, and everyone takes pagers.\n\nThe company grows bigger. On-call duty is limited to a smaller set of more experienced feature developers who know the system better.\n\nThe company grows even bigger. They add an ops role to tackle reliability. This team is responsible for production health, and the job role is focused on operations, not coding. The on-call becomes a joint rotation between feature developers and ops. Feature developers have the final say in maintaining the service, and ops input is limited to operational tasks. By this time, there are 30 engineers in the on-call rotation: 25 feature developers and 5 ops, all located at the same site.\n\nThe team is plagued by high pager volume. Despite following the recommendations described earlier in this chapter to minimize pager load, the team is suffering from low morale. Because the feature developers prioritize developing new features, on-call follow-up takes a long time to implement.\n\nTo make matters worse, the feature developers are concerned about their own subsystem’s health. One feature developer insists on paging by error rate rather than error ratio for their mission-critical module, despite complaints from others on the team. These alerts are noisy, and return many false positives or unactionable pages.\n\nOther members of the on-call rotation aren’t especially bothered by the high pager volume. Sure, there are a lot of pages, but most of them don’t take much time to resolve. As one on-call engineer puts it: “I take a quick look at the page subject and know they are duplicates. So I just ignore them.”\n\nSound familiar?\n\nSome Google teams experienced similar problems during their earlier days of maturity. If not handled carefully, these problems have the potential to tear the feature developer and ops teams apart and hinder on-call operation. There’s no silver bullet to solve these problems, but we found a couple of approaches particularly helpful. While your methodology may differ, your overall goal should be the same: build positive team dynamics, and carefully avoid tailspin.\n\n###### Proposal one: Empower your ops engineers\n\nYou can remodel the operations organization according to the guidelines outlined in this book and Site Reliability Engineering, perhaps even including a change of name (SRE, or similar) to indicate the change of role. Simply retitling your ops organization is not a panacea, but it can be helpful in communicating an actual change in responsibilities away from the old ops-centric model. Make it clear to the team and the entire company that SREs own the site operation. This includes defining a shared roadmap for reliability, driving the full resolution of issues, maintaining monitoring rules, and so on. Feature developers are necessary collaborators but don’t own these endeavors.\n\nTo return to our hypothetical team, this announcement ushered in the following operational changes:\n\n- Action items are assigned only to the five DevOps engineers—who are now SREs. SREs work with subject experts—many of them feature developers—to accomplish these tasks. SREs take on the previously mentioned “error rate versus error ratio” debate by negotiating a change in alerting with the feature developers.\n- SREs are encouraged to dive into the code to make the changes themselves, if possible. They send code reviews to the subject experts. This has the benefit of building a sense of ownership among SREs, as well as upgrading their skills and authority for future occasions.\n\nWith this arrangement, feature developers are explicit collaborators on reliability features, and SREs are given the responsibility to own and improve the site.\n\n###### Proposal two: Improve team relations\n\nAnother possible solution is to build stronger team bonds between team members. Google designates a “fun budget” specifically for organizing offsite activities to strengthen team bonds.\n\nWe’ve found that more robust team relationships create a spirit of increased understanding and collaboration among teammates. As a result, engineers are more likely to fix bugs, finish action items, and help out their colleagues. For example, say you turned off a nightly pipeline job, but forgot to turn off the monitoring that checked if the pipeline ran successfully. As a result, you accidentally page a colleague at 3 a.m. If you’ve spent a little time with that colleague, you’d feel much worse about what happened, and strive to be considerate by being more careful in the future. The mentality of “I protect my colleagues” translates to a more productive work atmosphere.\n\nWe’ve also found that making all members of the on-call rotation sit together, regardless of job title and function area, helps improve team relations tremendously. Encourage teams to eat lunch with each other. Don’t underestimate the power of relatively straightforward changes like these. It plays directly into team dynamics.\n\n# Conclusion\n\nSRE on-call is different than traditional ops roles. Rather than focusing solely on day-to-day operations, SRE fully owns the production environment, and seeks to better it through defining appropriate reliability thresholds, developing automation, and undertaking strategic engineering projects. On-call is critical for site operations, and handling it right is crucial to the company’s bottom line.\n\nOn-call is a source of much tension, both individually and collectively. But if you’ve stared into the eyes of the monster long enough, there is wisdom to be found. This chapter illustrates some of the lessons about on-call that we learned the hard way; we hope that our experience can help others avoid or tackle similar issues.\n\nIf your on-call team is drowning in endless alerts, we recommend taking a step back to observe the situation from a higher level. Compare notes with other SRE and partner teams. Once you’ve gathered the necessary information, address the problems in a systematic way. Thoughtfully structuring on-call is time well spent for on-call engineers, on-call teams, and the whole company.\n\n1Note that this example is often a red flag situation for organizations that aren’t actually practicing DevOps, in which case, a name change won’t fix more structural problems.\n\n2One “incident” is defined as one “problem,” no matter how many alerts have been fired for the same “problem.” One shift is 12 hours.\n\n3There is more on this topic in [Seeking SRE](https://shop.oreilly.com/product/0636920063964.do) by David Blank-Edelman (O’Reilly).\n\n4SRE teams at Google are paired across time zones for service continuity.\n\n5A “bug” in this context is any undesirable system behavior resulting from software or configuration error. Logic errors in code, incorrect configuration of a binary, incorrect capacity planning, misconfigured load balancers, or newly discovered vulnerabilities are all valid examples of “production bugs” that contribute to pager load.", "znaku_textu": 64014, "slov": 10191, "odkazu": 71, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/workbook/on-call", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:35", "sha256": "0ad11c48a4d5d57c375f95027245b5dd16a4ab84ebb83b73d42f9c91488f128c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://github.com/Netflix/chaosmonkey", "https://martinfowler.com/tags/testing.html", "https://github.com/jenkinsci/slack-plugin/blob/master/README.md", "https://developers.google.com/issue-tracker/", "https://en.wikipedia.org/wiki/Boiling_frog", "https://shop.oreilly.com/product/0636920063964.do", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/organizational-change", "titulek": "Google SRE - Change Management for IT Transformation", "h1": "Organizational Change Management in SRE", "popis": "Change management theories and their application in Google SRE. From Lewin's Three-Stage Model to Kotter's Eight-Step Process, and frameworks guide.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/organizational-change/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/organizational-change/"}, "headline": "Organizational Change Management in SRE", "description": "In the introduction to the first SRE Book, Ben Treynor Sloss describes SRE teams as 'characterized by both rapid innovation and a large acceptance of change', and specifies organizational change management as a core responsibility of an SRE team. This chapter examines how theory can apply in practice across SRE teams.", "image": "https://lh3.googleusercontent.com/3Ry1jgV9J7g4SyuncxuYlvZyLBqMK18M1pduyirHyi-IJqUIs1-PK_0PHxJkMRgio7t8G8u9tp9OYvArtDb6yGG5t1W1EJau8hxQJQ", "author": [{"@type": "Person", "name": "Alex Bramley"}, {"@type": "Person", "name": "Ben Lutch"}, {"@type": "Person", "name": "Michelle Duffy"}, {"@type": "Person", "name": "Nir Tarcic"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Organizational Change Management in SRE"}, {"uroven": 2, "text": "SRE Embraces Change"}, {"uroven": 1, "text": "Introduction to Change Management"}, {"uroven": 5, "text": "Lewin’s Three-Stage Model"}, {"uroven": 5, "text": "McKinsey’s 7-S Model"}, {"uroven": 5, "text": "Kotter’s Eight-Step Process for Leading Change"}, {"uroven": 5, "text": "The Prosci ADKAR Model"}, {"uroven": 5, "text": "Emotion-Based Models"}, {"uroven": 5, "text": "The Deming Cycle"}, {"uroven": 5, "text": "How These Theories Apply to SRE"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "The Messaging Queue: Replacing a System While Maintaining Reliability"}, {"uroven": 5, "text": "The Next Cycle of Change: Improving the Deployment Process"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Case Study 2: Common Tooling Adoption in SRE"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Design"}, {"uroven": 5, "text": "Implementation: Monitoring"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Organizational Change Management in SRE\n\nBy Alex Bramley, Ben Lutch, Michelle Duffy, and Nir Tarcic\nwith Betsy Beyer\n\nIn the [introduction to the first SRE Book](https://sre.google/sre-book/introduction/), Ben Treynor Sloss describes SRE teams as “characterized by both rapid innovation and a large acceptance of change,” and specifies organizational change management as a core responsibility of an SRE team. This chapter examines how theory can apply in practice across SRE teams. After reviewing some key change management theories, we explore two case studies that demonstrate how different styles of change management have played out in concrete ways at Google.\n\nNote that the term change management has two interpretations: organizational change management and change control. This chapter examines change management as a collective term for all approaches to preparing and supporting individuals, teams, and business units in making organizational change. We do not discuss this term within a project management context, where it may be used to refer to change control processes, such as change review or versioning.\n\n## SRE Embraces Change\n\nMore than 2,000 years ago, the Greek philosopher Heraclitus claimed change is the only constant. This axiom still holds true today—especially in regards to technology, and particularly in rapidly evolving internet and cloud sectors.\n\nProduct teams exist to build products, ship features, and delight customers. At Google, most change is fast-paced, following a “launch and iterate” approach. Executing on such change typically requires coordination across systems, products, and globally distributed teams. Site Reliability Engineers are frequently in the middle of this complicated and rapidly shifting landscape, responsible for balancing the risks inherent in change with product reliability and availability. Error budgets (see [Implementing SLOs](/workbook/implementing-slos/)) are a primary mechanism for achieving this balance.\n\n# Introduction to Change Management\n\nChange management as an area of study and practice has grown since foundational work in the field by Kurt Lewin in the 1940s. Theories primarily focus on developing frameworks for managing organizational change. In-depth analysis of particular theories is beyond the scope of this book, but to contextualize them within the realm of SRE, we briefly describe some common theories and how each might be applicable in an SRE-type organization. While the formal processes implicit in these theoretical frameworks have not been applied by SRE at Google, considering SRE activities through the lens of these frameworks has helped us refine our approach to managing change. Following this discussion, we will introduce some case studies that demonstrate how elements of some of these theories apply to change management activities led by Google SRE.\n\n##### Lewin’s Three-Stage Model\n\n[Kurt Lewin’s “unfreeze–change–freeze” model](https://journals.sagepub.com/doi/pdf/10.1177/0018726715577707) for managing change is the oldest of the relevant theories in this field. This simple three-stage model is a tool for managing process review and the resulting changes in group dynamics. Stage 1 entails persuading a group that change is necessary. Once they are amenable to the idea of change, Stage 2 executes that change. Finally, when the change is broadly complete, Stage 3 institutionalizes the new patterns of behavior and thought. The model’s core principle posits the group as the primary dynamic instrument, arguing that individual and group interactions should be examined as a system when the group is planning, executing, and completing any period of change. Accordingly, Lewin's work is most useful for planning organizational change at the macro level.\n\n##### McKinsey’s 7-S Model\n\n[McKinsey’s seven S’s](https://www.mckinsey.com/business-functions/strategy-and-corporate-finance/our-insights/enduring-ideas-the-7-s-framework) stand for structure, strategy, systems, skills, style, staff, and shared values. Similar to Lewin’s work, this framework is also a toolset for planned organizational change. While Lewin’s framework is generic, 7-S has an explicit goal of improving organizational effectiveness. Application of both theories begins with an analysis of current purpose and processes. However, 7-S also explicitly covers both business elements (structure, strategy, systems) and people-management elements (shared values, skills, style, staff). This model could be useful for a team considering change from a traditional systems administration focus to the more holistic Site Reliability Engineering approach.\n\n##### Kotter’s Eight-Step Process for Leading Change\n\nTime magazine named John P. Kotter’s 1996 book Leading Change (Harvard Business School Press) one of the [Top 25 Most Influential Business Management Books of all time](https://content.time.com/time/specials/packages/completelist/0,29569,2086680,00.html). Figure 21-1 depicts the eight steps in Kotter’s change management process.\n\nFigure 21-1. Kotter’s model of change management (source: [https://www.kotterinc.com/8-steps-process-for-leading-change/](https://www.kotterinc.com/8-steps-process-for-leading-change/))\n\nKotter’s process is particularly relevant to SRE teams and organizations, with one small exception: in many cases (e.g., the upcoming Waze case study), there’s no need to create a sense of urgency. SRE teams supporting products and systems with accelerating growth are frequently faced with urgent scaling, reliability, and operational challenges. The component systems are often owned by multiple development teams, which may span several organizational units; scaling issues may also require coordination with teams ranging from physical infrastructure to product management. Because SRE is often on the front line when problems occur, it is uniquely motivated to lead the change needed to ensure products are available 24/7/365. Much of SRE work (implicitly) embraces Kotter’s process to ensure the continued availability of supported products.\n\n##### The Prosci ADKAR Model\n\nThe [Prosci ADKAR model](https://www.prosci.com/adkar/adkar-model) focuses on balancing both the business and people aspects of change management. ADKAR is an acronym for the goals individuals must achieve for successful organizational change: awareness, desire, knowledge, ability, and reinforcement.\n\nIn principle, ADKAR provides a useful, thoughtful, people-centric framework. However, its applicability to SRE is limited because operational responsibilities quite often impose considerable time constraints. Proceeding iteratively through ADKAR’s stages and providing the necessary training or coaching requires pacing and investment in communication, which are difficult to implement in the context of globally distributed, operationally focused teams. That said, Google has successfully used ADKAR-style processes for introducing and building support for high-level changes—for example, introducing global organizational change to the SRE management team while preserving local autonomy for implementation details.\n\n##### Emotion-Based Models\n\nThe [Bridges Transition Model](https://wmbridges.com/what-is-transition/) describes people’s emotional reactions to change. While a useful management tool for people managers, it’s not a framework or process for change management. Similarly, the KĂĽbler-Ross Change Curve describes ranges of emotions people may feel when faced with change. Developed from Elisabeth KĂĽbler-Ross’s research on death and dying,1 it has been applied to understanding and anticipating employee reactions to organizational change. Both models can be useful in maintaining high employee productivity throughout periods of change, since unhappy people are rarely productive.\n\n##### The Deming Cycle\n\nAlso known as the Plan-Do-Check-Act (or PDCA) Cycle, this process from statistician Edward W. Deming is commonly used in DevOps environments for process improvements—for example, adoption of continuous integration/continuous delivery techniques. It is not suited to organizational change management because it does not cover the human side of change, including motivations and leadership styles. Deming’s focus is to take existing processes (mechanical, automated, or workflow) and cyclically apply continuous improvements. The case studies we refer to in this chapter deal with larger, organizational changes where iteration is counterproductive: frequent, wrenching org-chart changes can sap employee confidence and negatively impact company culture.\n\n##### How These Theories Apply to SRE\n\nNo change management model is universally applicable to every situation, so it’s not surprising that Google SRE hasn’t exclusively standardized on one model. That said, here’s how we like to think about applying these models to common change management scenarios in SRE:\n\n- Kotter’s Eight-Step Process is a change management model for SRE teams who necessarily embrace change as a core responsibility.\n- The Prosci ADKAR model is a framework that SRE management may want to consider to coordinate change across globally distributed teams.\n- All individual SRE managers will benefit from familiarity with both the Bridges Transition Model and the KĂĽbler-Ross Change Curve , which provide tools to support employees in times of organizational change.\n\nNow that we’ve introduced the theories, let’s look at two case studies that show how change management has played out at Google.\n\n##### Background\n\nWaze is a community-based navigation app acquired by Google in 2013. After the acquisition, Waze entered a period of significant growth in active users, engineering staff, and computing infrastructure, but continued to operate relatively autonomously within Google. The growth introduced many challenges, both technical and organizational.\n\nWaze’s autonomy and startup ethos led them to meet these challenges with a grassroots technical response from small groups of engineers, rather than management-led, structured organizational change as implied by the formal models discussed in the previous section. Nevertheless, their approach to propagating changes throughout the organization and infrastructure significantly resembles Kotter’s model of change management. This case study examines how Kotter’s process (which we apply retroactively) aptly describes a sequence of technical and organizational challenges Waze faced as they grew post-acquisition.\n\n##### The Messaging Queue: Replacing a System While Maintaining Reliability\n\nKotter’s model begins the cycle of change with a sense of urgency. Waze’s SRE team needed to act quickly and decisively when the reliability of Waze’s message queueing system regressed badly, leading to increasingly frequent and severe outages. As shown in Figure 21-2, the message queueing system was critical to operations because every component of Waze (real time, geocoding, routing, etc.) used it to communicate with other components internally.\n\nFigure 21-2. Communication paths between Waze components\n\nAs throughput on the message queue grew significantly, the system simply couldn’t cope with the ever-increasing demands. SREs needed to manually intervene to preserve system stability at shorter and shorter intervals. At its worst, the entire Waze SRE team spent most of a two-week period firefighting 24/7, eventually resorting to restarting some components of the message queue hourly to keep messages flowing and tens of millions of users happy.\n\nBecause SRE was also responsible for building and releasing all of Waze’s software, this operational load had a noticeable impact on feature velocity—when SREs spent all of their time fighting fires, they hardly had time to support new feature rollouts. By highlighting the severity of the situation, engineers convinced Waze’s leadership to reevaluate priorities and dedicate some engineering time to reliability work. A guiding coalition of two SREs and a senior engineer came together to form a strategic vision of a future where SRE toil was no longer necessary to keep messages flowing. This small team evaluated off-the-shelf message queue products, but quickly decided that they could only meet Waze’s scaling and reliability requirements with a custom-built solution.\n\nDeveloping this message queue in-house would be impossible without some way to maintain operations in the meantime. The coalition removed this barrier to action by enlisting a volunteer army of developers from the teams who used the current messaging queue. Each team reviewed the codebase for their service to identify ways to cut the volume of messages they published. Trimming unnecessary messages and rolling out a compression layer on top of the old queue reduced some load on the system. The team also gained some more operational breathing room by building a dedicated messaging queue for one particular component that was responsible for over 30% of system traffic. These measures yielded enough of a temporary operational reprieve to allow for a two-month window to assemble and test a prototype of the new messaging system.\n\nMigrating a message queue system that handles tens of thousands of messages per second is a daunting task even without the pressure of imminent service meltdown. But gradually reducing the load on the old system would relieve some of this pressure, affording the team a longer time window to complete the migration. To this end, Waze SRE rebuilt the client libraries for the message queue so they could publish and receive messages using either or both systems, using a centralized control surface to switch the traffic over.\n\nOnce the new system was proven to work, SRE began the first phase of the migration: they identified some low-traffic, high-importance message flows for which messaging outages were catastrophic. For these flows, writing to both messaging systems would provide a backup path. A couple of near misses, where the backup path kept core Waze services operating while the old system faltered, provided the short-term wins that justified the initial investment.\n\nMass migration to the new system required SRE to work closely with the teams who use it. The team needed to figure out both how to best support their use cases and how to coordinate the traffic switch. As the SRE team automated the process of migrating traffic and the new system supported more use cases by default, the rate of migrations accelerated significantly.\n\nKotter’s change management process ends with instituting change. Eventually, with enough momentum behind the adoption of the new system, the SRE team could declare the old system deprecated and no longer supported. They migrated the last stragglers a few quarters later. Today, the new system handles more than 1000 times the load of the previous one, and requires little manual intervention from SREs for ongoing support and maintenance.\n\n##### The Next Cycle of Change: Improving the Deployment Process\n\nThe process of change as a cycle was one of Kotter’s key insights. The cyclical nature of meaningful change is particularly apparent when it comes to the types of technical changes that face SRE. Eliminating one bottleneck in a system often highlights another one. As each change cycle is completed, the resulting improvements, standardization, and automation free up engineering time. Engineering teams now have the space to more closely examine their systems and identify more pain points, triggering the next cycle of change.\n\nWhen Waze SRE could finally take a step back from firefighting problems related to the messaging system, a new bottleneck emerged, bringing with it a renewed sense of urgency: SRE’s sole ownership of releases was noticeably and seriously hindering development velocity. The manual nature of releases required a significant amount of SRE time. To exacerbate an already suboptimal situation, system components were large, and because releases were costly, they were relatively infrequent. As a result, each release represented a large delta, significantly increasing the possibility that a major defect would necessitate a rollback.\n\nImprovements toward a better release process happened incrementally, as Waze SRE didn’t have a master plan from square one. To slim down system components so the team could iterate each more rapidly, one of the senior Waze developers created a framework for building microservices. This provided a standard “batteries included” platform that made it easy for the engineering organization to start breaking their components apart. SRE worked with this developer to include some reliability-focused features—for example, a common control surface and a set of behaviors that were amenable to automation. As a result, SRE could develop a suite of tools to manage the previously costly parts of the release process. One of these tools incentivized adoption by bundling all of the steps needed to create a new microservice with the framework.\n\nThese tools were quick-and-dirty at first—the initial prototypes were built by one SRE over the course of several days. As the team cleaved more microservices from their parent components, the value of the SRE-developed tools quickly became apparent to the wider organization. SRE was spending less time shepherding the slimmed-down components into production, and the new microservices were much less costly to release individually.\n\nWhile the release process was already much improved, the proliferation of new microservices meant that SRE’s overall burden was still concerning. Engineering leadership was unwilling to assume responsibility for the release process until releases were less burdensome.\n\nIn response, a small coalition of SREs and developers sketched out a strategic vision to shift to a continuous deployment strategy using [Spinnaker](https://www.spinnaker.io/), an open source, multicloud, continuous delivery platform for building and executing deployment workflows. With the time saved by our bootstrap tooling, the team now was able to engineer this new system to enable one-click builds and deployments of hundreds or thousands of microservices. The new system was technically superior to the previous system in every way, but SRE still couldn’t persuade development teams to make the switch. This reluctance was driven by two factors: the obvious disincentive of having to push their own releases to production, plus change aversion driven by poor visibility into the release process.\n\nWaze SRE tore down these barriers to adoption by showing how the new process added value. The team built a centralized dashboard that displayed the release status of binaries and a number of standard metrics exported by the microservice framework. Development teams could easily link their releases to changes in those metrics, which gave them confidence that deployments were successful. SRE worked closely with a few volunteer systems-oriented development teams to move services to Spinnaker. These wins proved that the new system could not only fulfill its requirements, but also add value beyond the original release process. At this point, engineering leadership set a goal for all teams to perform releases using the new Spinnaker deployment pipelines.\n\nTo facilitate the migration, Waze SRE provided organization-wide Spinnaker training sessions and consulting sessions for teams with complex requirements. When early adopters became familiar with the new system, their positive experiences sparked a chain reaction of accelerating adoption. They found the new process faster and less painful than waiting for SRE to push their releases. Now, engineers began to put pressure on dependencies that had not moved, as they were the impediment to faster development velocity—not the SRE team!\n\nToday, more than 95% of Waze’s services use Spinnaker for continuous deployment, and changes can be pushed to production with very little human involvement. While Spinnaker isn’t a one-size-fits-all solution, configuring a release pipeline is trivial if a new service is built using the microservices framework, so new services have a strong incentive to standardize on this solution.\n\n##### Lessons Learned\n\nWaze’s experience in removing bottlenecks to technical change contains a number of useful lessons for other teams attempting engineering-led technical or organizational change. To begin with, change management theory is not a waste of time! Viewing this development and [migration process](https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/) through the lens of Kotter’s process demonstrates the model’s applicability. A more formal application of Kotter’s model at the time could have helped streamline and guide the process of change.\n\nChange instigated from the grass roots requires close collaboration between SRE and development, as well as support from executive leadership. Creating a small, focused group with members from all parts of the organization—SRE, developers, and management—was key to the team’s success. A similar collaboration was vital to instituting the change. Over time, these ad hoc groups can and should evolve into more formal and structured cooperation, where SREs are automatically involved in design discussions and can advise on best practices for building and deploying robust applications in a production environment throughout the entire product lifecycle.\n\nIncremental change is much easier to manage. Jumping straight to the “perfect” solution is too large a step to take all at once (not to mention probably infeasible if your system is about to collapse), and the concept of “perfect” will likely evolve as new information comes to light during the change process. An iterative approach can demonstrate early wins that help an organization buy into the vision of change and justify further investment. On the other hand, if early iterations don’t demonstrate value, you’ll waste less time and fewer resources when you inevitably abandon the change. Because incremental change doesn’t happen all at once, having a master plan is invaluable. Describe the goals in broad terms, be flexible, and ensure that each iteration moves toward them.\n\nFinally, sometimes your current solutions can’t support the requirements of your strategic vision. Building something new has a large engineering cost, but can be worthwhile if the project pushes you out of a local maxima and enables long-term growth. As a thought experiment, figure out where bottlenecks might arise in your systems and tooling as your business and organization grow over the next few years. If you suspect any elements don’t scale horizontally, or have superlinear (or worse, exponential) growth with respect to a core business metric such as daily active users, you may need to consider redesigning or replacing them.\n\nWaze’s development of a new in-house message queue system shows that it is possible for small groups of determined engineers to institute change that moves the needle toward greater service reliability. Mapping Kotter’s model onto the change shows that some consideration of change management strategy can help provide a formula for success even in small, engineering-led organizations. And, as the next case study also demonstrates, when changes promote standardizing technology and processes, the organization as a whole can reap considerable efficiency gains.\n\n# Case Study 2: Common Tooling Adoption in SRE\n\n##### Background\n\nSREs are opinionated about the software they can and should use to manage production. Years of experience, observing what goes well and what doesn’t, and examining the past through the lens of the postmortem, have given SREs a deep background coupled with strong instincts. Specifying, building, and implementing software to automate this year’s job away is a core value in SRE. In particular, Google SRE recently focused our efforts on horizontal software. Adoption of the same solution by a critical mass of users and developers creates a virtuous cycle and reduces reinvention of wheels. Teams who otherwise might not interact share practices and policies that are automated using the same software.\n\nThis case study is based on an organizational evolution, not a response to a systems scaling or reliability issue (as discussed in the Waze case study). Hence, the Prosci ADKAR model (shown in Figure 21-3) is a better fit than Kotter’s model, as it recognizes both explicit organizational/people management characteristics and technical considerations during the change.\n\nFigure 21-3. Prosci ADKAR model of change management\n\n##### Problem Statement\n\nA few years ago, Google SRE found itself using multiple independent software solutions for approximately the same problem across multiple problem spaces: monitoring, releases and rollouts, incident response, capacity management, and so on.\n\nThis end state arose in part because the people building tools for SRE were dissociated from their users and their requirements. The tool developers didn’t always have a current view of the problem statement or the overall production landscape—the production environment changes very rapidly and in new ways as new software, hardware, and use cases are brought to life almost daily. Additionally, the consumers of tools were varied, sometimes with orthogonal needs (“this rollout has to be fast; approximate is fine” versus “this rollout has to be 100% correct; okay for it to go slowly”).\n\nAs a result, none of these long-term projects fully addressed anyone’s needs, and each was characterized by varying levels of development effort, feature completeness, and ongoing support. Those waiting for the big use case—a nonspecific, singing-and-dancing solution of the future—waited a long time, got frustrated, and used their own software engineering skills to create their own niche solution. Those who had smaller, specific needs were loath to adopt a broader solution that wasn’t as tailored to them. The long-term, technical, and organizational benefits of more universal solutions were clear, but customers, services, and teams were not staffed or rewarded for waiting. To compound this scenario, requirements of both large and small customer teams changed over time.\n\n##### What We Decided to Do\n\nTo scope this scenario as one concrete problem space, we asked ourselves: What if all Google SREs could use a common monitoring engine and set of dashboards, which were easy to use and supported a wide variety of use cases without requiring customization?\n\nLikewise, we could extend this model of thinking to releases and rollouts, incident response, capacity management, and beyond. If the initial configuration of a product captured a wide representation of approaches to address the majority of our functional needs, our general and well-informed solutions would become inevitable over time. At some point, the critical mass of engineers who interact with production would outgrow whatever solution they were using and self-select to migrate to a common, well-supported set of tools and automation, abandoning their custom-built tools and their associated maintenance costs.\n\nSRE at Google is fortunate that many of its engineers have software engineering backgrounds and experience. It seemed like a natural first step to encourage engineers who were experts and opinionated about specific problems—from load balancing to rollout tooling to incident management and response—to work as a virtual team, self-selected by a common long-term vision. These engineers would translate their vision into working, real software that would eventually be adopted across all of SRE, and then all of Google, as the basic functions of production.\n\nTo return to the ADKAR model for change management, the steps discussed so far—identifying a problem and acknowledging an opportunity—are textbook examples of ADKAR’s initiating awareness step. The Google SRE leadership team agreed on the need (desire) and had sufficient knowledge and ability to move to designing solutions fairly quickly.\n\n##### Design\n\nOur first task was to converge upon a number of topics that we agreed were central, and that would benefit greatly from a consistent vision: to deliver solutions and adoption plans that fit most use cases. Starting from a list of 65+ proposed projects, we spent multiple months collecting customer requirements, verifying roadmaps, and performing market analysis, ultimately scoping our efforts toward a handful of vetted topics.\n\nOur initial design created a virtual team of SRE experts around these topics. This virtual team would contribute a significant percentage of their time, around 80%, to these horizontal projects. The idea behind 80% time and a virtual team was to ensure we did not design or build solutions without constant contact with production. However, we (maybe predictably) discovered a few pain points with this approach:\n\n- Coordinating a virtual team—whose focus was broken by being on-call regularly, across multiple time zones—was very difficult. There was a lot of state to be swapped between running a service and building a serious piece of software.\n- Everything from gathering consensus to code reviews was affected by the lack of a central location and common time.\n- Headcount for horizontal projects initially had to come from existing teams, who now had fewer engineering resources to tackle their own projects. Even at Google, there’s tension between delegating headcount to support the system as is versus delegating headcount to build future-looking infrastructure.\n\nWith enough data in hand, we realized we needed to redesign our approach, and settled on the more familiar centralized model. Most significantly, we removed the requirement that team members split their time 80/20 between project work and on-call duties. Most SRE software development is now done by small groups of senior engineers with plenty of on-call experience, but who are heads-down focused on building software based on those experiences. We also physically centralized many of these teams by recruiting or moving engineers. Small group (6–10 people) development is simply more efficient within one room (however, this argument doesn’t apply to all groups—for example, remote SRE teams). We can still meet our goal of collecting requirements and perspectives across the entire Google engineering organization via videoconference, email, and good old-fashioned travel.\n\nSo our evolution of design actually ended up in a familiar place—small, agile, mostly local, fast-moving teams—but with the added emphasis on selecting and building automation and tools for adoption by 60% of Google engineers (the figure we decided was a reasonable interpretation of the goal of “almost everyone at Google”). Success means most of Google is using what SRE has built to manage their production environment.\n\nThe ADKAR model maps the implementation phase of the change project between the people-centric stages of knowledge and ability. This case study bears out that mapping. We had many engaged, talented, and knowledgeable engineers, but we were asking people who had been focused on SRE concerns to act like product software development engineers by focusing on customer requirements, product roadmaps, and delivery commitments. We needed to revisit the implementation of this change to enable engineers to demonstrate their abilities with respect to these new attributes.\n\n##### Implementation: Monitoring\n\nTo return to the monitoring space mentioned in the previous section, [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) in the first SRE book described how Viceroy—Google SRE’s effort to create a single monitoring dashboard solution suitable for everyone—addressed the problem of disparate custom solutions. Several SRE teams worked together to create and run the initial iteration, and as Viceroy grew to become the de facto monitoring and dashboarding solution at Google, a dedicated centralized SRE development team assumed ownership of the project.\n\nBut even when the Viceroy framework united SRE under a common framework, there was a lot of duplicated effort as teams built complex custom dashboards specific to their services. While Viceroy provided a standard hosted method to design and build visual displays of data, it still required each team to decide what data to display and how to organize it.\n\nThe now-centralized software development team began a second parallel effort to provide common dashboards, building an opinionated zero-config system on top of the lower-level “custom” system. This zero-config system provided a standard set of comprehensive monitoring displays based on the assumption that a given service was organized in one of a handful of popular styles. Over time, most services migrated to using these standard dashboards instead of investing in custom layouts. Very large, unique, or otherwise special services can still deploy custom views in the hosted system if they need to.\n\nReturning to the ADKAR model, the consolidation of monitoring tools at Google began as a grassroots effort, and the resulting improvements in operational efficiencies provided a quantifiable basis (awareness and desire) to initiate a broader effort: SRE self-funded a software development team to build production management tooling for all of Google.\n\n##### Lessons Learned\n\nDesigning a migration of interdependent pieces is often more complicated than a blank-sheet design. But in real life, the hardest engineering work ends up being the evolution of many small/constrained systems into fewer, more general systems—without disturbing already running services that many customers depend on. In the meantime, alongside the existing systems, new small systems are added—some of which eventually surprise us by growing into large systems. There is an intellectual attraction to starting anew with the big design, only backing into constraints that are really necessary, but the migration of systems and teams turns out to be the most difficult work by far.\n\nDesigning horizontal software requires a lot of listening to prospective end users, and, in many ways, the tasks of building and adoption look much like the role of a product manager. In order for this effort to achieve success, we had to make sure that we absorbed and prioritized priorities. Meeting customer needs—of both SREs and other production users—was also a critical element of success. It is important to acknowledge that the move toward common tooling is still a work in progress. We iterated on the structure and staffing of the teams building our shared technologies to better enable meeting customer needs, and we added product management and user experience talent (addressing missing knowledge).\n\nIn the past year or two, we have seen uptake of these SRE-designed and -built products across a broad swath of teams at Google. We have learned that to achieve success, the cost of migration (from older, fragmented but specialized solutions) needs to be small relative to the net benefits of the new common solution. Otherwise, the migration itself becomes a barrier to adoption. We continue to work with the individual teams building these products to reinforce the behaviors needed to delight customers with the common solutions the teams are delivering.\n\nOne common theme we discovered across horizontal software development projects was that no matter how good new software and products were, the cost of migration—away from something that was already working to something new—was always perceived as very high. Despite the allure of easier management and less specific deep knowledge, the costs of migrating away from the familiar (with all its warts and toil) were generally a barrier. In addition, individual engineers often had a similar internal monologue: “I’m not improving or changing the system; I’m swapping out one working piece for another working piece.” ADKAR describes this resistance as the “knowledge-to-ability gap.” On the human side, in order to recognize and embrace change, people need time, coaching, and training in new tools and skills. On the technical side, implementing change requires understanding adoption costs and including work to minimize these costs as part of the launch process.\n\nAs a result, migration costs need to be nearly zero (“just recompile and you pick up new $thing”) and the benefits need to be clear (“now you’re protected from $foo vulnerability”) to the team, to individuals, and to the company.\n\nSRE commonly used to build products that we committed to in a “best effort” way, meaning that the amount of time we gave the product fit into the cracks between everything else we were doing (managing primary services, capacity planning, dealing with outages, etc.). As a result, our execution was not very reliable; it was impossible to predict when a feature or service would be available. By extension, consumers of our products had less trust in the end result since it felt perpetually delayed and was staffed by a rotating cast of product managers and individual engineers. When individual SREs or SRE teams built tools for their own use, the focus was on solving individual problems to reduce the cost of maintaining SLOs for supported systems. In endeavoring to build common tooling for most use cases at Google, we needed to shift the focus to measuring the success of this effort in terms of product adoption.\n\nOwing to both our organizational culture and our wealth of resources, we approached this project in a bottom-up, rather than top-down, fashion. Instead of mandating that users migrated to our new monitoring system, we sought to win over users by demonstrating that our new offering was better than existing solutions.\n\nOver time, we learned that how we conducted our development process would inform how potential internal users perceived the end result. These projects gained real traction only when staffed by production-experienced engineers 100% dedicated to building software, with schedules and support identical to the rest of Google’s software development. Building common software transparently, like clockwork, with great communication (“We’ll have X done by Y date”), greatly improved the speed of migration to the new system. People already trusted the new system because they could observe how it was developed from an early stage. Perceptions of how the sausage is made turned out to be more important than we anticipated from the get-go. Our initial thought that “if you build something great, people will naturally flock to it” didn’t hold true. Rather, these projects had to be clearly defined, well advertised in advance, evaluated against a multitude of user cases (targeted to the grumpiest adopters first), leaps and bounds better than existing options, and adoptable with little to no effort.\n\nThe more consumers you have for common tooling and adoption, the more time you actually have to spend doing things other than writing code. This may sound obvious in retrospect, but clear end goals, believable dates, regular updates, and constant contact with consumers is paramount. Often skeptical consumers will ask, “If my current one-off shell script works okay, do I really need this?” Adoption of common software or processes is analogous to reliability as a feature—you may build the best thing in the world, but if people don’t adopt it (or can’t use it if it’s not reliable), it’s not useful to anyone. Having a plan for adoption—from champions to beta testers to executive sponsors to dedicated engineers who understand the importance of minimizing barriers to adoption—is both the end goal and the starting point when it comes to building and adopting common tools and practices.\n\nThis is because adoption drives a network effect: as the scale and reach of common software tools increases, incremental improvements to those tools are more valuable to the organization. As the value of the tools increases, development effort dedicated to them also tends to increase. Some of this development effort naturally goes toward further reducing migration costs, incentivizing greater adoption. Broad adoption encourages building organization-wide improvements in a consistent, product-like fashion, and justifies staffing full teams to support the tools for the long term. These tools should be characterized by rapid development, feature stability, common control surfaces, and automatable APIs.\n\nWhen it comes to measuring the impact of such efforts, we can ask questions similar to the following:\n\n- How quickly can a new product developer build and manage a world-scale service?\n- Enabled by common tools and practices, how easily can an SRE in one domain move to another domain?\n- How many services can be managed with the same primitives, as end-to-end user experiences versus separate services?\n\nThese are all possible and highly valuable ways to measure impact, but our first measurement must be adoption.\n\n# Conclusion\n\nAs demonstrated by the Waze and horizontal software case studies, even within a single company, SRE change management may need to tackle a variety of problem spaces and organizational context. As a result, there’s likely no single formal model of change management that will neatly apply to the spectrum of changes any given organization may tackle. However, these frameworks, particularly Kotter’s eight-step process and the Prosci ADKAR model, can provide useful insights for approaching change. One commonality across any change necessary in an environment as dynamic as SRE is constant reevaluation and iteration. While many changes may start organically in a grassroots fashion, most can benefit from structured coordination and planning as the changes mature.\n\n1Elisabeth KĂĽbler-Ross, On Death and Dying: What the Dying Have to Teach Doctors, Nurses, Clergy and Their Own Families (New York: Scribner, 1969).", "znaku_textu": 42022, "slov": 6350, "odkazu": 52, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:53", "sha256": "4ddb16ca6e38607d6b49a4102e8f1794e070b39fdf459ee62fe022ae11a5817f", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://journals.sagepub.com/doi/pdf/10.1177/0018726715577707", "https://www.mckinsey.com/business-functions/strategy-and-corporate-finance/our-insights/enduring-ideas-the-7-s-framework", "https://content.time.com/time/specials/packages/completelist/0,29569,2086680,00.html", "https://www.kotterinc.com/8-steps-process-for-leading-change/", "https://www.prosci.com/adkar/adkar-model", "https://wmbridges.com/what-is-transition/", "https://www.spinnaker.io/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/organizational-change/", "titulek": "Google SRE - Change Management for IT Transformation", "h1": "Organizational Change Management in SRE", "popis": "Change management theories and their application in Google SRE. From Lewin's Three-Stage Model to Kotter's Eight-Step Process, and frameworks guide.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/organizational-change/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/organizational-change/"}, "headline": "Organizational Change Management in SRE", "description": "In the introduction to the first SRE Book, Ben Treynor Sloss describes SRE teams as 'characterized by both rapid innovation and a large acceptance of change', and specifies organizational change management as a core responsibility of an SRE team. This chapter examines how theory can apply in practice across SRE teams.", "image": "https://lh3.googleusercontent.com/3Ry1jgV9J7g4SyuncxuYlvZyLBqMK18M1pduyirHyi-IJqUIs1-PK_0PHxJkMRgio7t8G8u9tp9OYvArtDb6yGG5t1W1EJau8hxQJQ", "author": [{"@type": "Person", "name": "Alex Bramley"}, {"@type": "Person", "name": "Ben Lutch"}, {"@type": "Person", "name": "Michelle Duffy"}, {"@type": "Person", "name": "Nir Tarcic"}, {"@type": "Person", "name": "Betsy Beyer"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Organizational Change Management in SRE"}, {"uroven": 2, "text": "SRE Embraces Change"}, {"uroven": 1, "text": "Introduction to Change Management"}, {"uroven": 5, "text": "Lewin’s Three-Stage Model"}, {"uroven": 5, "text": "McKinsey’s 7-S Model"}, {"uroven": 5, "text": "Kotter’s Eight-Step Process for Leading Change"}, {"uroven": 5, "text": "The Prosci ADKAR Model"}, {"uroven": 5, "text": "Emotion-Based Models"}, {"uroven": 5, "text": "The Deming Cycle"}, {"uroven": 5, "text": "How These Theories Apply to SRE"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "The Messaging Queue: Replacing a System While Maintaining Reliability"}, {"uroven": 5, "text": "The Next Cycle of Change: Improving the Deployment Process"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Case Study 2: Common Tooling Adoption in SRE"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Design"}, {"uroven": 5, "text": "Implementation: Monitoring"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Organizational Change Management in SRE\n\nBy Alex Bramley, Ben Lutch, Michelle Duffy, and Nir Tarcic\nwith Betsy Beyer\n\nIn the [introduction to the first SRE Book](https://sre.google/sre-book/introduction/), Ben Treynor Sloss describes SRE teams as “characterized by both rapid innovation and a large acceptance of change,” and specifies organizational change management as a core responsibility of an SRE team. This chapter examines how theory can apply in practice across SRE teams. After reviewing some key change management theories, we explore two case studies that demonstrate how different styles of change management have played out in concrete ways at Google.\n\nNote that the term change management has two interpretations: organizational change management and change control. This chapter examines change management as a collective term for all approaches to preparing and supporting individuals, teams, and business units in making organizational change. We do not discuss this term within a project management context, where it may be used to refer to change control processes, such as change review or versioning.\n\n## SRE Embraces Change\n\nMore than 2,000 years ago, the Greek philosopher Heraclitus claimed change is the only constant. This axiom still holds true today—especially in regards to technology, and particularly in rapidly evolving internet and cloud sectors.\n\nProduct teams exist to build products, ship features, and delight customers. At Google, most change is fast-paced, following a “launch and iterate” approach. Executing on such change typically requires coordination across systems, products, and globally distributed teams. Site Reliability Engineers are frequently in the middle of this complicated and rapidly shifting landscape, responsible for balancing the risks inherent in change with product reliability and availability. Error budgets (see [Implementing SLOs](/workbook/implementing-slos/)) are a primary mechanism for achieving this balance.\n\n# Introduction to Change Management\n\nChange management as an area of study and practice has grown since foundational work in the field by Kurt Lewin in the 1940s. Theories primarily focus on developing frameworks for managing organizational change. In-depth analysis of particular theories is beyond the scope of this book, but to contextualize them within the realm of SRE, we briefly describe some common theories and how each might be applicable in an SRE-type organization. While the formal processes implicit in these theoretical frameworks have not been applied by SRE at Google, considering SRE activities through the lens of these frameworks has helped us refine our approach to managing change. Following this discussion, we will introduce some case studies that demonstrate how elements of some of these theories apply to change management activities led by Google SRE.\n\n##### Lewin’s Three-Stage Model\n\n[Kurt Lewin’s “unfreeze–change–freeze” model](https://journals.sagepub.com/doi/pdf/10.1177/0018726715577707) for managing change is the oldest of the relevant theories in this field. This simple three-stage model is a tool for managing process review and the resulting changes in group dynamics. Stage 1 entails persuading a group that change is necessary. Once they are amenable to the idea of change, Stage 2 executes that change. Finally, when the change is broadly complete, Stage 3 institutionalizes the new patterns of behavior and thought. The model’s core principle posits the group as the primary dynamic instrument, arguing that individual and group interactions should be examined as a system when the group is planning, executing, and completing any period of change. Accordingly, Lewin's work is most useful for planning organizational change at the macro level.\n\n##### McKinsey’s 7-S Model\n\n[McKinsey’s seven S’s](https://www.mckinsey.com/business-functions/strategy-and-corporate-finance/our-insights/enduring-ideas-the-7-s-framework) stand for structure, strategy, systems, skills, style, staff, and shared values. Similar to Lewin’s work, this framework is also a toolset for planned organizational change. While Lewin’s framework is generic, 7-S has an explicit goal of improving organizational effectiveness. Application of both theories begins with an analysis of current purpose and processes. However, 7-S also explicitly covers both business elements (structure, strategy, systems) and people-management elements (shared values, skills, style, staff). This model could be useful for a team considering change from a traditional systems administration focus to the more holistic Site Reliability Engineering approach.\n\n##### Kotter’s Eight-Step Process for Leading Change\n\nTime magazine named John P. Kotter’s 1996 book Leading Change (Harvard Business School Press) one of the [Top 25 Most Influential Business Management Books of all time](https://content.time.com/time/specials/packages/completelist/0,29569,2086680,00.html). Figure 21-1 depicts the eight steps in Kotter’s change management process.\n\nFigure 21-1. Kotter’s model of change management (source: [https://www.kotterinc.com/8-steps-process-for-leading-change/](https://www.kotterinc.com/8-steps-process-for-leading-change/))\n\nKotter’s process is particularly relevant to SRE teams and organizations, with one small exception: in many cases (e.g., the upcoming Waze case study), there’s no need to create a sense of urgency. SRE teams supporting products and systems with accelerating growth are frequently faced with urgent scaling, reliability, and operational challenges. The component systems are often owned by multiple development teams, which may span several organizational units; scaling issues may also require coordination with teams ranging from physical infrastructure to product management. Because SRE is often on the front line when problems occur, it is uniquely motivated to lead the change needed to ensure products are available 24/7/365. Much of SRE work (implicitly) embraces Kotter’s process to ensure the continued availability of supported products.\n\n##### The Prosci ADKAR Model\n\nThe [Prosci ADKAR model](https://www.prosci.com/adkar/adkar-model) focuses on balancing both the business and people aspects of change management. ADKAR is an acronym for the goals individuals must achieve for successful organizational change: awareness, desire, knowledge, ability, and reinforcement.\n\nIn principle, ADKAR provides a useful, thoughtful, people-centric framework. However, its applicability to SRE is limited because operational responsibilities quite often impose considerable time constraints. Proceeding iteratively through ADKAR’s stages and providing the necessary training or coaching requires pacing and investment in communication, which are difficult to implement in the context of globally distributed, operationally focused teams. That said, Google has successfully used ADKAR-style processes for introducing and building support for high-level changes—for example, introducing global organizational change to the SRE management team while preserving local autonomy for implementation details.\n\n##### Emotion-Based Models\n\nThe [Bridges Transition Model](https://wmbridges.com/what-is-transition/) describes people’s emotional reactions to change. While a useful management tool for people managers, it’s not a framework or process for change management. Similarly, the KĂĽbler-Ross Change Curve describes ranges of emotions people may feel when faced with change. Developed from Elisabeth KĂĽbler-Ross’s research on death and dying,1 it has been applied to understanding and anticipating employee reactions to organizational change. Both models can be useful in maintaining high employee productivity throughout periods of change, since unhappy people are rarely productive.\n\n##### The Deming Cycle\n\nAlso known as the Plan-Do-Check-Act (or PDCA) Cycle, this process from statistician Edward W. Deming is commonly used in DevOps environments for process improvements—for example, adoption of continuous integration/continuous delivery techniques. It is not suited to organizational change management because it does not cover the human side of change, including motivations and leadership styles. Deming’s focus is to take existing processes (mechanical, automated, or workflow) and cyclically apply continuous improvements. The case studies we refer to in this chapter deal with larger, organizational changes where iteration is counterproductive: frequent, wrenching org-chart changes can sap employee confidence and negatively impact company culture.\n\n##### How These Theories Apply to SRE\n\nNo change management model is universally applicable to every situation, so it’s not surprising that Google SRE hasn’t exclusively standardized on one model. That said, here’s how we like to think about applying these models to common change management scenarios in SRE:\n\n- Kotter’s Eight-Step Process is a change management model for SRE teams who necessarily embrace change as a core responsibility.\n- The Prosci ADKAR model is a framework that SRE management may want to consider to coordinate change across globally distributed teams.\n- All individual SRE managers will benefit from familiarity with both the Bridges Transition Model and the KĂĽbler-Ross Change Curve , which provide tools to support employees in times of organizational change.\n\nNow that we’ve introduced the theories, let’s look at two case studies that show how change management has played out at Google.\n\n##### Background\n\nWaze is a community-based navigation app acquired by Google in 2013. After the acquisition, Waze entered a period of significant growth in active users, engineering staff, and computing infrastructure, but continued to operate relatively autonomously within Google. The growth introduced many challenges, both technical and organizational.\n\nWaze’s autonomy and startup ethos led them to meet these challenges with a grassroots technical response from small groups of engineers, rather than management-led, structured organizational change as implied by the formal models discussed in the previous section. Nevertheless, their approach to propagating changes throughout the organization and infrastructure significantly resembles Kotter’s model of change management. This case study examines how Kotter’s process (which we apply retroactively) aptly describes a sequence of technical and organizational challenges Waze faced as they grew post-acquisition.\n\n##### The Messaging Queue: Replacing a System While Maintaining Reliability\n\nKotter’s model begins the cycle of change with a sense of urgency. Waze’s SRE team needed to act quickly and decisively when the reliability of Waze’s message queueing system regressed badly, leading to increasingly frequent and severe outages. As shown in Figure 21-2, the message queueing system was critical to operations because every component of Waze (real time, geocoding, routing, etc.) used it to communicate with other components internally.\n\nFigure 21-2. Communication paths between Waze components\n\nAs throughput on the message queue grew significantly, the system simply couldn’t cope with the ever-increasing demands. SREs needed to manually intervene to preserve system stability at shorter and shorter intervals. At its worst, the entire Waze SRE team spent most of a two-week period firefighting 24/7, eventually resorting to restarting some components of the message queue hourly to keep messages flowing and tens of millions of users happy.\n\nBecause SRE was also responsible for building and releasing all of Waze’s software, this operational load had a noticeable impact on feature velocity—when SREs spent all of their time fighting fires, they hardly had time to support new feature rollouts. By highlighting the severity of the situation, engineers convinced Waze’s leadership to reevaluate priorities and dedicate some engineering time to reliability work. A guiding coalition of two SREs and a senior engineer came together to form a strategic vision of a future where SRE toil was no longer necessary to keep messages flowing. This small team evaluated off-the-shelf message queue products, but quickly decided that they could only meet Waze’s scaling and reliability requirements with a custom-built solution.\n\nDeveloping this message queue in-house would be impossible without some way to maintain operations in the meantime. The coalition removed this barrier to action by enlisting a volunteer army of developers from the teams who used the current messaging queue. Each team reviewed the codebase for their service to identify ways to cut the volume of messages they published. Trimming unnecessary messages and rolling out a compression layer on top of the old queue reduced some load on the system. The team also gained some more operational breathing room by building a dedicated messaging queue for one particular component that was responsible for over 30% of system traffic. These measures yielded enough of a temporary operational reprieve to allow for a two-month window to assemble and test a prototype of the new messaging system.\n\nMigrating a message queue system that handles tens of thousands of messages per second is a daunting task even without the pressure of imminent service meltdown. But gradually reducing the load on the old system would relieve some of this pressure, affording the team a longer time window to complete the migration. To this end, Waze SRE rebuilt the client libraries for the message queue so they could publish and receive messages using either or both systems, using a centralized control surface to switch the traffic over.\n\nOnce the new system was proven to work, SRE began the first phase of the migration: they identified some low-traffic, high-importance message flows for which messaging outages were catastrophic. For these flows, writing to both messaging systems would provide a backup path. A couple of near misses, where the backup path kept core Waze services operating while the old system faltered, provided the short-term wins that justified the initial investment.\n\nMass migration to the new system required SRE to work closely with the teams who use it. The team needed to figure out both how to best support their use cases and how to coordinate the traffic switch. As the SRE team automated the process of migrating traffic and the new system supported more use cases by default, the rate of migrations accelerated significantly.\n\nKotter’s change management process ends with instituting change. Eventually, with enough momentum behind the adoption of the new system, the SRE team could declare the old system deprecated and no longer supported. They migrated the last stragglers a few quarters later. Today, the new system handles more than 1000 times the load of the previous one, and requires little manual intervention from SREs for ongoing support and maintenance.\n\n##### The Next Cycle of Change: Improving the Deployment Process\n\nThe process of change as a cycle was one of Kotter’s key insights. The cyclical nature of meaningful change is particularly apparent when it comes to the types of technical changes that face SRE. Eliminating one bottleneck in a system often highlights another one. As each change cycle is completed, the resulting improvements, standardization, and automation free up engineering time. Engineering teams now have the space to more closely examine their systems and identify more pain points, triggering the next cycle of change.\n\nWhen Waze SRE could finally take a step back from firefighting problems related to the messaging system, a new bottleneck emerged, bringing with it a renewed sense of urgency: SRE’s sole ownership of releases was noticeably and seriously hindering development velocity. The manual nature of releases required a significant amount of SRE time. To exacerbate an already suboptimal situation, system components were large, and because releases were costly, they were relatively infrequent. As a result, each release represented a large delta, significantly increasing the possibility that a major defect would necessitate a rollback.\n\nImprovements toward a better release process happened incrementally, as Waze SRE didn’t have a master plan from square one. To slim down system components so the team could iterate each more rapidly, one of the senior Waze developers created a framework for building microservices. This provided a standard “batteries included” platform that made it easy for the engineering organization to start breaking their components apart. SRE worked with this developer to include some reliability-focused features—for example, a common control surface and a set of behaviors that were amenable to automation. As a result, SRE could develop a suite of tools to manage the previously costly parts of the release process. One of these tools incentivized adoption by bundling all of the steps needed to create a new microservice with the framework.\n\nThese tools were quick-and-dirty at first—the initial prototypes were built by one SRE over the course of several days. As the team cleaved more microservices from their parent components, the value of the SRE-developed tools quickly became apparent to the wider organization. SRE was spending less time shepherding the slimmed-down components into production, and the new microservices were much less costly to release individually.\n\nWhile the release process was already much improved, the proliferation of new microservices meant that SRE’s overall burden was still concerning. Engineering leadership was unwilling to assume responsibility for the release process until releases were less burdensome.\n\nIn response, a small coalition of SREs and developers sketched out a strategic vision to shift to a continuous deployment strategy using [Spinnaker](https://www.spinnaker.io/), an open source, multicloud, continuous delivery platform for building and executing deployment workflows. With the time saved by our bootstrap tooling, the team now was able to engineer this new system to enable one-click builds and deployments of hundreds or thousands of microservices. The new system was technically superior to the previous system in every way, but SRE still couldn’t persuade development teams to make the switch. This reluctance was driven by two factors: the obvious disincentive of having to push their own releases to production, plus change aversion driven by poor visibility into the release process.\n\nWaze SRE tore down these barriers to adoption by showing how the new process added value. The team built a centralized dashboard that displayed the release status of binaries and a number of standard metrics exported by the microservice framework. Development teams could easily link their releases to changes in those metrics, which gave them confidence that deployments were successful. SRE worked closely with a few volunteer systems-oriented development teams to move services to Spinnaker. These wins proved that the new system could not only fulfill its requirements, but also add value beyond the original release process. At this point, engineering leadership set a goal for all teams to perform releases using the new Spinnaker deployment pipelines.\n\nTo facilitate the migration, Waze SRE provided organization-wide Spinnaker training sessions and consulting sessions for teams with complex requirements. When early adopters became familiar with the new system, their positive experiences sparked a chain reaction of accelerating adoption. They found the new process faster and less painful than waiting for SRE to push their releases. Now, engineers began to put pressure on dependencies that had not moved, as they were the impediment to faster development velocity—not the SRE team!\n\nToday, more than 95% of Waze’s services use Spinnaker for continuous deployment, and changes can be pushed to production with very little human involvement. While Spinnaker isn’t a one-size-fits-all solution, configuring a release pipeline is trivial if a new service is built using the microservices framework, so new services have a strong incentive to standardize on this solution.\n\n##### Lessons Learned\n\nWaze’s experience in removing bottlenecks to technical change contains a number of useful lessons for other teams attempting engineering-led technical or organizational change. To begin with, change management theory is not a waste of time! Viewing this development and [migration process](https://sre.google/resources/practices-and-processes/practical-guide-to-cloud-migration/) through the lens of Kotter’s process demonstrates the model’s applicability. A more formal application of Kotter’s model at the time could have helped streamline and guide the process of change.\n\nChange instigated from the grass roots requires close collaboration between SRE and development, as well as support from executive leadership. Creating a small, focused group with members from all parts of the organization—SRE, developers, and management—was key to the team’s success. A similar collaboration was vital to instituting the change. Over time, these ad hoc groups can and should evolve into more formal and structured cooperation, where SREs are automatically involved in design discussions and can advise on best practices for building and deploying robust applications in a production environment throughout the entire product lifecycle.\n\nIncremental change is much easier to manage. Jumping straight to the “perfect” solution is too large a step to take all at once (not to mention probably infeasible if your system is about to collapse), and the concept of “perfect” will likely evolve as new information comes to light during the change process. An iterative approach can demonstrate early wins that help an organization buy into the vision of change and justify further investment. On the other hand, if early iterations don’t demonstrate value, you’ll waste less time and fewer resources when you inevitably abandon the change. Because incremental change doesn’t happen all at once, having a master plan is invaluable. Describe the goals in broad terms, be flexible, and ensure that each iteration moves toward them.\n\nFinally, sometimes your current solutions can’t support the requirements of your strategic vision. Building something new has a large engineering cost, but can be worthwhile if the project pushes you out of a local maxima and enables long-term growth. As a thought experiment, figure out where bottlenecks might arise in your systems and tooling as your business and organization grow over the next few years. If you suspect any elements don’t scale horizontally, or have superlinear (or worse, exponential) growth with respect to a core business metric such as daily active users, you may need to consider redesigning or replacing them.\n\nWaze’s development of a new in-house message queue system shows that it is possible for small groups of determined engineers to institute change that moves the needle toward greater service reliability. Mapping Kotter’s model onto the change shows that some consideration of change management strategy can help provide a formula for success even in small, engineering-led organizations. And, as the next case study also demonstrates, when changes promote standardizing technology and processes, the organization as a whole can reap considerable efficiency gains.\n\n# Case Study 2: Common Tooling Adoption in SRE\n\n##### Background\n\nSREs are opinionated about the software they can and should use to manage production. Years of experience, observing what goes well and what doesn’t, and examining the past through the lens of the postmortem, have given SREs a deep background coupled with strong instincts. Specifying, building, and implementing software to automate this year’s job away is a core value in SRE. In particular, Google SRE recently focused our efforts on horizontal software. Adoption of the same solution by a critical mass of users and developers creates a virtuous cycle and reduces reinvention of wheels. Teams who otherwise might not interact share practices and policies that are automated using the same software.\n\nThis case study is based on an organizational evolution, not a response to a systems scaling or reliability issue (as discussed in the Waze case study). Hence, the Prosci ADKAR model (shown in Figure 21-3) is a better fit than Kotter’s model, as it recognizes both explicit organizational/people management characteristics and technical considerations during the change.\n\nFigure 21-3. Prosci ADKAR model of change management\n\n##### Problem Statement\n\nA few years ago, Google SRE found itself using multiple independent software solutions for approximately the same problem across multiple problem spaces: monitoring, releases and rollouts, incident response, capacity management, and so on.\n\nThis end state arose in part because the people building tools for SRE were dissociated from their users and their requirements. The tool developers didn’t always have a current view of the problem statement or the overall production landscape—the production environment changes very rapidly and in new ways as new software, hardware, and use cases are brought to life almost daily. Additionally, the consumers of tools were varied, sometimes with orthogonal needs (“this rollout has to be fast; approximate is fine” versus “this rollout has to be 100% correct; okay for it to go slowly”).\n\nAs a result, none of these long-term projects fully addressed anyone’s needs, and each was characterized by varying levels of development effort, feature completeness, and ongoing support. Those waiting for the big use case—a nonspecific, singing-and-dancing solution of the future—waited a long time, got frustrated, and used their own software engineering skills to create their own niche solution. Those who had smaller, specific needs were loath to adopt a broader solution that wasn’t as tailored to them. The long-term, technical, and organizational benefits of more universal solutions were clear, but customers, services, and teams were not staffed or rewarded for waiting. To compound this scenario, requirements of both large and small customer teams changed over time.\n\n##### What We Decided to Do\n\nTo scope this scenario as one concrete problem space, we asked ourselves: What if all Google SREs could use a common monitoring engine and set of dashboards, which were easy to use and supported a wide variety of use cases without requiring customization?\n\nLikewise, we could extend this model of thinking to releases and rollouts, incident response, capacity management, and beyond. If the initial configuration of a product captured a wide representation of approaches to address the majority of our functional needs, our general and well-informed solutions would become inevitable over time. At some point, the critical mass of engineers who interact with production would outgrow whatever solution they were using and self-select to migrate to a common, well-supported set of tools and automation, abandoning their custom-built tools and their associated maintenance costs.\n\nSRE at Google is fortunate that many of its engineers have software engineering backgrounds and experience. It seemed like a natural first step to encourage engineers who were experts and opinionated about specific problems—from load balancing to rollout tooling to incident management and response—to work as a virtual team, self-selected by a common long-term vision. These engineers would translate their vision into working, real software that would eventually be adopted across all of SRE, and then all of Google, as the basic functions of production.\n\nTo return to the ADKAR model for change management, the steps discussed so far—identifying a problem and acknowledging an opportunity—are textbook examples of ADKAR’s initiating awareness step. The Google SRE leadership team agreed on the need (desire) and had sufficient knowledge and ability to move to designing solutions fairly quickly.\n\n##### Design\n\nOur first task was to converge upon a number of topics that we agreed were central, and that would benefit greatly from a consistent vision: to deliver solutions and adoption plans that fit most use cases. Starting from a list of 65+ proposed projects, we spent multiple months collecting customer requirements, verifying roadmaps, and performing market analysis, ultimately scoping our efforts toward a handful of vetted topics.\n\nOur initial design created a virtual team of SRE experts around these topics. This virtual team would contribute a significant percentage of their time, around 80%, to these horizontal projects. The idea behind 80% time and a virtual team was to ensure we did not design or build solutions without constant contact with production. However, we (maybe predictably) discovered a few pain points with this approach:\n\n- Coordinating a virtual team—whose focus was broken by being on-call regularly, across multiple time zones—was very difficult. There was a lot of state to be swapped between running a service and building a serious piece of software.\n- Everything from gathering consensus to code reviews was affected by the lack of a central location and common time.\n- Headcount for horizontal projects initially had to come from existing teams, who now had fewer engineering resources to tackle their own projects. Even at Google, there’s tension between delegating headcount to support the system as is versus delegating headcount to build future-looking infrastructure.\n\nWith enough data in hand, we realized we needed to redesign our approach, and settled on the more familiar centralized model. Most significantly, we removed the requirement that team members split their time 80/20 between project work and on-call duties. Most SRE software development is now done by small groups of senior engineers with plenty of on-call experience, but who are heads-down focused on building software based on those experiences. We also physically centralized many of these teams by recruiting or moving engineers. Small group (6–10 people) development is simply more efficient within one room (however, this argument doesn’t apply to all groups—for example, remote SRE teams). We can still meet our goal of collecting requirements and perspectives across the entire Google engineering organization via videoconference, email, and good old-fashioned travel.\n\nSo our evolution of design actually ended up in a familiar place—small, agile, mostly local, fast-moving teams—but with the added emphasis on selecting and building automation and tools for adoption by 60% of Google engineers (the figure we decided was a reasonable interpretation of the goal of “almost everyone at Google”). Success means most of Google is using what SRE has built to manage their production environment.\n\nThe ADKAR model maps the implementation phase of the change project between the people-centric stages of knowledge and ability. This case study bears out that mapping. We had many engaged, talented, and knowledgeable engineers, but we were asking people who had been focused on SRE concerns to act like product software development engineers by focusing on customer requirements, product roadmaps, and delivery commitments. We needed to revisit the implementation of this change to enable engineers to demonstrate their abilities with respect to these new attributes.\n\n##### Implementation: Monitoring\n\nTo return to the monitoring space mentioned in the previous section, [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) in the first SRE book described how Viceroy—Google SRE’s effort to create a single monitoring dashboard solution suitable for everyone—addressed the problem of disparate custom solutions. Several SRE teams worked together to create and run the initial iteration, and as Viceroy grew to become the de facto monitoring and dashboarding solution at Google, a dedicated centralized SRE development team assumed ownership of the project.\n\nBut even when the Viceroy framework united SRE under a common framework, there was a lot of duplicated effort as teams built complex custom dashboards specific to their services. While Viceroy provided a standard hosted method to design and build visual displays of data, it still required each team to decide what data to display and how to organize it.\n\nThe now-centralized software development team began a second parallel effort to provide common dashboards, building an opinionated zero-config system on top of the lower-level “custom” system. This zero-config system provided a standard set of comprehensive monitoring displays based on the assumption that a given service was organized in one of a handful of popular styles. Over time, most services migrated to using these standard dashboards instead of investing in custom layouts. Very large, unique, or otherwise special services can still deploy custom views in the hosted system if they need to.\n\nReturning to the ADKAR model, the consolidation of monitoring tools at Google began as a grassroots effort, and the resulting improvements in operational efficiencies provided a quantifiable basis (awareness and desire) to initiate a broader effort: SRE self-funded a software development team to build production management tooling for all of Google.\n\n##### Lessons Learned\n\nDesigning a migration of interdependent pieces is often more complicated than a blank-sheet design. But in real life, the hardest engineering work ends up being the evolution of many small/constrained systems into fewer, more general systems—without disturbing already running services that many customers depend on. In the meantime, alongside the existing systems, new small systems are added—some of which eventually surprise us by growing into large systems. There is an intellectual attraction to starting anew with the big design, only backing into constraints that are really necessary, but the migration of systems and teams turns out to be the most difficult work by far.\n\nDesigning horizontal software requires a lot of listening to prospective end users, and, in many ways, the tasks of building and adoption look much like the role of a product manager. In order for this effort to achieve success, we had to make sure that we absorbed and prioritized priorities. Meeting customer needs—of both SREs and other production users—was also a critical element of success. It is important to acknowledge that the move toward common tooling is still a work in progress. We iterated on the structure and staffing of the teams building our shared technologies to better enable meeting customer needs, and we added product management and user experience talent (addressing missing knowledge).\n\nIn the past year or two, we have seen uptake of these SRE-designed and -built products across a broad swath of teams at Google. We have learned that to achieve success, the cost of migration (from older, fragmented but specialized solutions) needs to be small relative to the net benefits of the new common solution. Otherwise, the migration itself becomes a barrier to adoption. We continue to work with the individual teams building these products to reinforce the behaviors needed to delight customers with the common solutions the teams are delivering.\n\nOne common theme we discovered across horizontal software development projects was that no matter how good new software and products were, the cost of migration—away from something that was already working to something new—was always perceived as very high. Despite the allure of easier management and less specific deep knowledge, the costs of migrating away from the familiar (with all its warts and toil) were generally a barrier. In addition, individual engineers often had a similar internal monologue: “I’m not improving or changing the system; I’m swapping out one working piece for another working piece.” ADKAR describes this resistance as the “knowledge-to-ability gap.” On the human side, in order to recognize and embrace change, people need time, coaching, and training in new tools and skills. On the technical side, implementing change requires understanding adoption costs and including work to minimize these costs as part of the launch process.\n\nAs a result, migration costs need to be nearly zero (“just recompile and you pick up new $thing”) and the benefits need to be clear (“now you’re protected from $foo vulnerability”) to the team, to individuals, and to the company.\n\nSRE commonly used to build products that we committed to in a “best effort” way, meaning that the amount of time we gave the product fit into the cracks between everything else we were doing (managing primary services, capacity planning, dealing with outages, etc.). As a result, our execution was not very reliable; it was impossible to predict when a feature or service would be available. By extension, consumers of our products had less trust in the end result since it felt perpetually delayed and was staffed by a rotating cast of product managers and individual engineers. When individual SREs or SRE teams built tools for their own use, the focus was on solving individual problems to reduce the cost of maintaining SLOs for supported systems. In endeavoring to build common tooling for most use cases at Google, we needed to shift the focus to measuring the success of this effort in terms of product adoption.\n\nOwing to both our organizational culture and our wealth of resources, we approached this project in a bottom-up, rather than top-down, fashion. Instead of mandating that users migrated to our new monitoring system, we sought to win over users by demonstrating that our new offering was better than existing solutions.\n\nOver time, we learned that how we conducted our development process would inform how potential internal users perceived the end result. These projects gained real traction only when staffed by production-experienced engineers 100% dedicated to building software, with schedules and support identical to the rest of Google’s software development. Building common software transparently, like clockwork, with great communication (“We’ll have X done by Y date”), greatly improved the speed of migration to the new system. People already trusted the new system because they could observe how it was developed from an early stage. Perceptions of how the sausage is made turned out to be more important than we anticipated from the get-go. Our initial thought that “if you build something great, people will naturally flock to it” didn’t hold true. Rather, these projects had to be clearly defined, well advertised in advance, evaluated against a multitude of user cases (targeted to the grumpiest adopters first), leaps and bounds better than existing options, and adoptable with little to no effort.\n\nThe more consumers you have for common tooling and adoption, the more time you actually have to spend doing things other than writing code. This may sound obvious in retrospect, but clear end goals, believable dates, regular updates, and constant contact with consumers is paramount. Often skeptical consumers will ask, “If my current one-off shell script works okay, do I really need this?” Adoption of common software or processes is analogous to reliability as a feature—you may build the best thing in the world, but if people don’t adopt it (or can’t use it if it’s not reliable), it’s not useful to anyone. Having a plan for adoption—from champions to beta testers to executive sponsors to dedicated engineers who understand the importance of minimizing barriers to adoption—is both the end goal and the starting point when it comes to building and adopting common tools and practices.\n\nThis is because adoption drives a network effect: as the scale and reach of common software tools increases, incremental improvements to those tools are more valuable to the organization. As the value of the tools increases, development effort dedicated to them also tends to increase. Some of this development effort naturally goes toward further reducing migration costs, incentivizing greater adoption. Broad adoption encourages building organization-wide improvements in a consistent, product-like fashion, and justifies staffing full teams to support the tools for the long term. These tools should be characterized by rapid development, feature stability, common control surfaces, and automatable APIs.\n\nWhen it comes to measuring the impact of such efforts, we can ask questions similar to the following:\n\n- How quickly can a new product developer build and manage a world-scale service?\n- Enabled by common tools and practices, how easily can an SRE in one domain move to another domain?\n- How many services can be managed with the same primitives, as end-to-end user experiences versus separate services?\n\nThese are all possible and highly valuable ways to measure impact, but our first measurement must be adoption.\n\n# Conclusion\n\nAs demonstrated by the Waze and horizontal software case studies, even within a single company, SRE change management may need to tackle a variety of problem spaces and organizational context. As a result, there’s likely no single formal model of change management that will neatly apply to the spectrum of changes any given organization may tackle. However, these frameworks, particularly Kotter’s eight-step process and the Prosci ADKAR model, can provide useful insights for approaching change. One commonality across any change necessary in an environment as dynamic as SRE is constant reevaluation and iteration. While many changes may start organically in a grassroots fashion, most can benefit from structured coordination and planning as the changes mature.\n\n1Elisabeth KĂĽbler-Ross, On Death and Dying: What the Dying Have to Teach Doctors, Nurses, Clergy and Their Own Families (New York: Scribner, 1969).", "znaku_textu": 42022, "slov": 6350, "odkazu": 52, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/workbook/organizational-change", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:48", "sha256": "4ddb16ca6e38607d6b49a4102e8f1794e070b39fdf459ee62fe022ae11a5817f", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://journals.sagepub.com/doi/pdf/10.1177/0018726715577707", "https://www.mckinsey.com/business-functions/strategy-and-corporate-finance/our-insights/enduring-ideas-the-7-s-framework", "https://content.time.com/time/specials/packages/completelist/0,29569,2086680,00.html", "https://www.kotterinc.com/8-steps-process-for-leading-change/", "https://www.prosci.com/adkar/adkar-model", "https://wmbridges.com/what-is-transition/", "https://www.spinnaker.io/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/overload/", "titulek": "Google SRE: Handling Operational Overload, Workload Management", "h1": "Identifying and Recovering from Overload", "popis": "Operational overload can cripple teams - learn how to detect, manage and recover using proven workload management and operational improvement techniques.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/overload/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/overload/"}, "headline": "Identifying and Recovering from Overload", "description": "Operational load (or operational workload) is a term that describes the ongoing maintenance tasks that keep systems and services running at optimal performance. There are three distinct types of operational load: pages, tickets, and ongoing operational responsibilities.", "author": [{"@type": "Person", "name": "Maria-Hendrike Peetz"}, {"@type": "Person", "name": "Luis Quesada Torres"}, {"@type": "Person", "name": "Marilia Melo"}, {"@type": "Person", "name": "Diane Bates"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Identifying and Recovering from Overload"}, {"uroven": 2, "text": "From Load to Overload"}, {"uroven": 1, "text": "Case Study 1: Work Overload When Half a Team Leaves"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Implementation"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Case Study 2: Perceived Overload After Organizational and Workload Changes"}, {"uroven": 5, "text": "Background"}, {"uroven": 5, "text": "Problem Statement"}, {"uroven": 5, "text": "What We Decided to Do"}, {"uroven": 5, "text": "Implementation"}, {"uroven": 6, "text": "Short-term actions"}, {"uroven": 6, "text": "Mid-term actions"}, {"uroven": 6, "text": "Long-term actions"}, {"uroven": 5, "text": "Effects"}, {"uroven": 5, "text": "Lessons Learned"}, {"uroven": 1, "text": "Strategies for Mitigating Overload"}, {"uroven": 5, "text": "Recognizing the Symptoms of Overload"}, {"uroven": 5, "text": "Reducing Overload and Restoring Team Health"}, {"uroven": 6, "text": "Identify and alleviate psychosocial stressors"}, {"uroven": 6, "text": "Prioritize and triage within one quarter"}, {"uroven": 6, "text": "Protect yourself in the future"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Identifying and Recovering from Overload\n\nBy Maria-Hendrike Peetz, Luis Quesada Torres, and Marilia Melo with Diane Bates\n\nWhen an SRE team is running smoothly, team members should feel like they can comfortably handle all of their work. They should be able to work on tickets and still have time to work on long-term projects that make it easier to manage the service in the future.\n\nBut sometimes circumstances get in the way of a team’s work goals. Team members take time off for long-term illnesses or move to new teams. Organizations hand down new production-wide programs for SRE. Changes to the service or the larger system introduce new technical challenges. As workload increases, team members start working longer hours to handle tickets and pages and spend less time on engineering work. The whole team starts to feel stressed and frustrated as they work harder but don’t feel like they are making progress. Stress, in turn, causes people to make more mistakes, impacting reliability and, ultimately, end users. In short, the team loses its ability to regulate its daily work and effectively manage the service.\n\nAt this point, the team needs to find a way out of this overloaded state. They need to rebalance their workload so that team members can focus on essential engineering work.\n\n[Operational load](https://sre.google/workbook/overload/) (or operational workload) is a term that describes the ongoing maintenance tasks that keep systems and services running at optimal performance. There are three distinct types of operational load: pages, tickets, and ongoing operational responsibilities. Pages typically require immediate attention, and tickets related to urgent problems can have tight deadlines. Both pages and urgent tickets interrupt SREs from working on engineering projects that support the team’s operational responsibilities. For that reason, we refer to them as interrupts. [Chapter 29](https://sre.google/sre-book/dealing-with-interrupts/) of Site Reliability Engineering discusses techniques to manage the interrupts that naturally arise when a team is maintaining a complex system in a functional state.\n\nWhen operational load outstrips a team’s ability to manage it, the team ends up in a state of operational overload (also called work overload). A team is in a state of operational overload when it can’t make progress toward key priorities because urgent issues continually preempt project work. In addition to detracting from the team’s priorities and service improvements, overload can increase the chance that engineers make errors.1\n\nThe threshold of operational overload can vary from team to team. Google SRE teams cap operational work at 50% of an engineer’s time. A successful SRE team must have confidence that over the long term, they will be able to complete the engineering projects required to reduce the operational load for the services they manage.\n\nThis chapter describes how teams at Google progressed from a difficult situation characterized by operational overload to a [well-managed workload.](https://sre.google/sre-book/handling-overload/) Two case studies show the detrimental effect of operational overload on team health, and how the teams made changes to their daily tasks so they could focus on long-term impactful projects. In Case Study 1, overload results when remaining members on a shrinking team are unable to keep up with the workload. In Case Study 2, a team suffers from perceived overload—a state that has the same effects as operational overload, but starts as a misperception of the real workload.\n\nWhile these case studies highlight specific actions that worked for two Google SRE teams, the section Strategies for Mitigating Overload provides practices for identifying and mitigating overload that apply to any company or organization. Therefore, this chapter should be useful to managers of overloaded teams, or any SRE team concerned about overload.\n\n## From Load to Overload\n\nRegardless of its origin, overload is an occupational stress that can cripple productivity. Left unchecked, [it can cause serious illness](https://osha.europa.eu/en/tools-and-publications/publications/literature_reviews/calculating-the-cost-of-work-related-stress-and-psychosocial-risks). For SRE teams, operational load is typically a combination of cognitively difficult tasks (like debugging memory leaks or segmentation faults) and many small tasks that require frequent context switches (working through quota requests, starting binary rollouts, etc.).\n\nWork overload often happens when a team doesn’t have enough time to handle all these tasks—an objective reality when the number of tasks assigned to a team can’t be completed within the given deadline for each task. Perceived overload is more subjective, and happens when individuals on the team feel that they have too much work. This usually happens when several organizational or work changes take place over a short period of time, but the team has little opportunity to communicate with leadership about the changes.\n\nIt’s never clear what problems will develop when you’re on-call, or what your workload will be. On the one hand, a single, seemingly innocent ticket about running out of disk space might lead to an in-depth investigation of a recurring garbage collection job. On the other hand, a pager storm with 20+ pages might turn out to be a case of bad monitoring. When it’s hard to estimate or predict your workload, you can easily fall victim to cognitive biases and misjudge your workload—for example, you might gauge a ticket queue as too large to finish during your on-call shift. Even if you can finish all the tickets quickly and the actual workload is low, you feel overloaded when you first look at the ticket queue. This perceived overload2 itself has a psychological component that affects your approach and attitude toward your work. If you don’t start your day with the preconception that there’s too much work, you’re more likely to dive in and start working your way through the ticket queue. Perhaps you work all day and don’t finish your workload (thus facing work overload), but you make a lot more progress than if you had started your day feeling overwhelmed.\n\nAccumulating many interrupts can lead to work overload, but it doesn’t have to. But when frequent interruptions are paired with external stress factors, a large workload (or even a small workload) can easily turn into perceived overload. This stress might stem from the fear of disappointing other team members, job insecurity, work-related or personal conflicts, illness, or health-related issues like the lack of sleep or exercise.\n\nIf your work isn’t properly prioritized, every task can seem equally urgent, leading to both actual and perceived overload. In the case of actual overload, the urgency of tickets and alerts might cause team members to work until they resolve the problem, even if doing so means continuous long hours. When a team faces perceived overload, reprioritizing can help decrease the amount of urgent work, creating space for them to tackle the sources of overload through project work.\n\nWhen analyzing your specific situation, you shouldn’t necessarily assume that the workload itself needs to change. Instead, we recommend first quantifying the work your team faces, and how it has (or hasn’t) changed over time. For example, you might measure workload by the number of tickets and pages the team handles. If your workload hasn’t actually changed over time, the team might feel overloaded simply because they perceive the work as overwhelming. To get a more holistic view of the team’s current workload, you can collect a one-time snapshot by asking every member to list all the work tasks they face. Then take a look at psychological stress factors your team faces, such as organizational changes or reprioritization. Once you’ve done your research, you have a stable basis for making decisions about changing the workload.\n\nStrategies for Mitigating Overload talks more about how to identify overload, both real and perceived. First, we present two case studies of teams that recognized that they were in overload and took steps to alleviate it.\n\n# Case Study 1: Work Overload When Half a Team Leaves\n\n##### Background\n\nOne of Google’s internal storage SRE teams was in charge of backends for multiple services, including Gmail, Google Drive, and Google Groups, and many other internal or user-facing services. We experienced a crisis in mid-2016 when two-thirds of the team—including the most senior engineer (the manager)—transferred to other opportunities within a relatively short window, for genuinely entirely unrelated reasons. This event obviously led to a huge workload management problem: fewer SREs available to cover the same operational and project work quickly resulted in overload. Our work was also bottlenecked because each team member’s expertise was siloed to a different area of production. While the addition of new team members and three interns would improve our workload in the long term, ramping up those engineers would take a serious investment of time and energy.\n\n##### Problem Statement\n\nThe preceding factors significantly decreased team productivity. We started to fall behind on project work, and tickets related to the many services we managed began to pile up. We didn’t have the bandwidth to address this backlog, as all of our work was consumed by higher-priority tasks. It wouldn’t be long before we weren’t able to undertake all of the critical and urgent work we needed to. Meanwhile, our team was slated to receive more high-priority work soon.\n\nIf we didn’t move some work off our plate, it was only a matter of time before we accidentally began to drop important work. However, as soon as we started offloading work, we hit some psychological barriers:\n\n- Dropping any work that was in progress felt like we had just wasted our efforts. Most of the backlog seemed to be either critical or worth the effort to us, so it just didn’t feel right to cancel or delay projects indefinitely. We didn’t realize we were in the grip of a [sunk cost fallacy](https://en.wikipedia.org/wiki/Sunk_cost#Loss_aversion_and_the_sunk_cost_fallacy) .\n- Putting effort into automating processes or fixing the root cause of the workload was not as critical as immediately dealing with high-priority interrupts. When this work was added to the top of an already huge pile, all of the work felt overwhelming.\n\n##### What We Decided to Do\n\nWe gathered the team in a room and listed all the team’s responsibilities, including project backlog, operational work, and tickets. Then we triaged every list item. Viewing every single one of our work tasks (even though the list barely fit on the whiteboard) helped us identify and redefine our actual priorities. We were then able to find ways to minimize, hand off, or eliminate lower-priority work items.\n\n##### Implementation\n\nWe identified low-effort automation that, while not critical, would significantly reduce operational load once deployed.\n\nWe also identified common problems that we could document that would enable self-service. Writing the procedures our customers needed didn’t take long, and removed some repetitive work from our queue.\n\nWe closed as many of our backlogged tickets as we reasonably could. Most of these tickets turned out to be obsolete, redundant, or not as urgent as they claimed. Some tickets were monitoring artifacts that were nonactionable, so we fixed the relevant monitoring. In some cases, we were actively addressing issues that weren’t critical. We set these issues aside to work on more urgent tickets, but first documented our progress so we wouldn’t lose context before we were able to work on them again.\n\nWhen in doubt, we dropped a task, but marked it for a second phase of triage. Once our plates were (almost) empty, we revisited this tentative list to decide what tasks to resume. It turned out that almost none of these tasks were impactful or important enough to resume.\n\nIn two days—one day of intensive triage plus one day of documenting processes and implementing automation—our much smaller team addressed a backlog of several months of interrupts. We could then deal with the few remaining interrupts, which were related to active issues in production.\n\n##### Lessons Learned\n\nOur team learned that [identifying and scoping overload](../../sre-book/handling-overload/) is the first step toward fixing it. We needed to get everyone in a room and reevaluate the backlog before we could help our team get back to a healthy state.\n\nIn order to avoid a new pile-up of interrupts, we started triaging interrupts once every two weeks. Our technical lead periodically checks the task queue and evaluates whether the team is at risk of becoming overloaded. We decided that each team member should have 10 or fewer open tickets to avoid overload. If the team lead notices that team members have more than 10 tickets, they can do one or some combination of the following:\n\n- Remind the team to close out stale tickets.\n- Sync with overloaded team members and offload tickets from them.\n- Prompt individual team members to address their ticket queue.\n- Organize a team-wide one-day ticket fix-it.\n- Assign work to fix the sources of tickets, or operational work to reduce future tickets.\n\n# Case Study 2: Perceived Overload After Organizational and Workload Changes\n\n##### Background\n\nThe Google SRE team in this case study was split between two locations, with six or seven on-call engineers at each site (for more discussion on team size, see [Chapter 11](https://sre.google/sre-book/being-on-call/) of Site Reliability Engineering. While the Sydney team was operationally healthy, the Zürich team was overloaded.\n\nBefore the Zürich team went into overload, we were stable and content. The number of services we managed was relatively stable, and each was varied and high maintenance. While the SLOs of the services we supported were mismatched with the SLOs of their external dependencies, this mismatch hadn’t caused any issues. We were working on a number of projects to improve the services we managed (for example, improving load balancing).\n\nSimultaneous triggers sent the Zürich team into overload: we started onboarding new services that were noisier and less integrated into Google’s general infrastructure, and the technical lead manager and another team member left our team, leaving it two people short. The combination of the additional workload and knowledge drain triggered more problems:\n\n- Untuned monitoring for the new services and the migration-related monitoring resulted in more pages per shift. This buildup was gradual, so we didn’t notice the uptick as it occurred.\n- SREs felt relatively helpless with the new services. We didn’t know enough about them to react appropriately, and often needed to ask the development team questions. While the overload perhaps warranted handing a service back to developers, our team had never handed back a service, so we didn’t really consider this a viable option.\n- A smaller on-call rotation of five people cut into the hours we normally spent on operational work.\n- New ticket alerts were surfacing problems that existed before the recent team changes. While we had simply ignored these problems in the past, we were now required to move ignored email alerts to tickets. Project planning hadn’t taken this new source of technical debt into account.\n- A new ticket SLO required us to handle tickets within three days, meaning that on-callers had to resolve tickets created during their on-call shift much sooner. 3 The SLO aimed to reduce the number of tickets being added to our (mostly ignored) backlog, but created a side effect that was perhaps even worse. Now SREs felt that they couldn’t get the rest they needed after a shift because they had to immediately tackle follow-up work. The higher priority placed on these tickets also meant that SREs didn’t have enough time for other operational work.\n\nDuring this time, our team was assigned to a new manager who also managed two other teams. The new manager was not part of the on-call rotation and therefore didn’t directly feel the stress team members were experiencing. When the team explained the situation to the manager, nothing changed. Team members felt that they weren't being heard, which left them feeling distant from the management team.\n\nThe overload from tickets continued for months, making team members grumpy, until a cascade of unhappiness spread across the team.\n\n##### Problem Statement\n\nAfter losing two people and receiving additional and varied work, our team felt overloaded. When we tried to communicate this feeling to our direct manager, the manager disagreed. As the long hours continued, exhaustion set in. Productivity was declining and tasks started accruing faster than the team could resolve them. The perceived overload now became objective overload, making the situation worse.\n\nThe emotional stress caused by overload was lowering morale and causing some team members to burn out. As individuals dealt with the physical effects from overwork (illness and lower productivity), other people on the team had to pick up more work. The work assigned in weekly team meetings wasn’t getting done.\n\nWe then started assuming we couldn’t depend on other people to get their work done, which eroded feelings of trust and dependability within the team. As a result, we did not feel safe about interpersonal risk taking, an important factor in psychological safety (see [Chapter 11](https://sre.google/sre-book/being-on-call/) in Site Reliability Engineering). Team members didn’t feel accepted and respected by other team members, so they didn’t freely collaborate with each other. As psychological safety diminished on the team, collaboration stopped, slowing down information sharing and causing further inefficiencies.\n\nTeam surveys also revealed a loss of psychological safety—team members said they didn’t feel like they belonged on the team. They no longer cared about their own career development, and the promotion rate on the team dropped to an all-time low.\n\nWe finally hit a breaking point when upper management assigned us new mandatory company-wide projects. At this point, we renewed our conversations with management about overload with renewed vigor. A series of discussions revealed that our unhappy situation wasn’t just a result of too much work—our perceptions of team safety led us to stop trusting and collaborating with each other.\n\n##### What We Decided to Do\n\nUpper management assigned our team a new manager who wasn’t shared among three teams. The new manager used a [participatory management style](https://en.wikipedia.org/wiki/Participatory_management) to improve psychological safety on the team so that we could once again collaborate. This method empowers team members to actively participate in solving team problems. The entire team, including our direct manager, engaged in a set of simple team-building exercises to improve the effectiveness of our team (some of which were as simple as drinking tea together).4 As a result, we were able to draft a set of goals:\n\nShort term\n\n- Relieve stress and improve psychological safety to establish a healthy work atmosphere.\n\nMedium term\n\n- Build confidence of individual team members through training.\n- Find the root cause of the issues that are causing overload.\n\nLong term\n\n- Resolve ongoing problems that contributed to the cascade.\n\nIn order to set these goals, we had to first achieve some kind of baseline psychological safety within the team. As morale improved, we began to share knowledge and build on each other’s ideas to figure out ways to get our workload under control.\n\n##### Implementation\n\n###### Short-term actions\n\nLong-term stress, whether caused by overwork or perceptions of team safety, decreases productivity and impacts people’s health. Therefore, our most important short-term action was to provide stress relief and improve trust and psychological safety. Once relieved of some stress, team members could think more clearly and participate in driving the whole team forward. Within a month of identifying the overload, we implemented the following:\n\n- *Started a semiregular round table to discuss issues.* The team released frustration and brainstormed possible causes of the overload.\n- *Found a better metric for measuring load.* We decided to improve upon our original metric of number of pages. We auto-assigned tickets to on-callers, and the on-caller was responsible for these tickets even after their shift ended. Our new metric measured how much time an on-caller needed to resolve a ticket after their shift.\n- *Audited and removed spamming alerts.* We reviewed alerts and removed the ones that didn’t represent user-facing problems.\n- *Silenced alerts generously.* The team deliberately didn’t try to find the source for every single alert, but focused on relieving the stress from being paged and ticketed continuously for issues we already knew about. We used the following strategy:\n - Alerts that surfaced were silenced until they were fixed.\n - Alerts could be silenced only for a limited period of time (typically a day, sometimes up to a week). Otherwise, they might mask outages.\n - Alerts that couldn’t be fixed within a few minutes were assigned to a tracking ticket.\n- *Added a direct manager dedicated to a single team.* Making a well-respected team member the new manager reestablished trust in management. Rather than managing three teams, the new manager could focus more time on the individual team and its members.\n- *Rebalanced the team.* We introduced a new perspective and on-call relief by adding technically experienced SREs that didn’t have preconceptions about the team or organization. Finding appropriate people was by no means an easy task, but was well worth the effort.\n- *Instituted team events like lunches and board game sessions.* Talking about non-work-related topics and laughing together eased tension on the team and improved psychological safety.\n\n###### Mid-term actions\n\nShort-term solutions alone wouldn’t sustain a healthy atmosphere—for example, one of our short-term tactics was to silence alerts without actually fixing the cause. Within three months, we also took the following actions:\n\n- *Limited operational work to on-call time as much as possible* (see [Chapter 29](https://sre.google/sre-book/dealing-with-interrupts/) in Site Reliability Engineering ) so the team could concentrate on permanent fixes and project work.\n- *Returned responsibility for one service back to its development team.*\n- *Trained each other (and new team members).* While training requires an investment of time and energy, disseminating knowledge meant that all team members (and future hires) could troubleshoot and fix issues more quickly in the future. Training coworkers improved our confidence, because we came to realize that we actually knew quite a bit about the services. As they gained knowledge, team members started to find new ways to manage services, improving their reliability and reducing overload.\n- *Brought in SREs from the remote team to staff some of our on-call shifts and participate in training.* They noticed the strain on the team and provided some valuable new perspective.\n- *Backfilled the two open roles on the team.*\n- *Tackled each alert as the silences expired.* We discussed repetitive pages and pages that resulted in no action at length in the weekly production meeting, which led us to tune alerts and/or fix the underlying problems. While these were important (and obvious) actions, we only had the space to analyze and take action once the alert was silenced and not creating constant noise.\n- *Organized listening events.* Management (including the skip-level manager and team leads) made a conscious effort to listen to the team’s pain points and to find a team-driven solution.\n- *Added perspective.* Hope is not a strategy, but it certainly helps team morale. With the promise of new members joining the on-call rotation, a shift to clearer priorities, and an end to noise-generating projects, the team’s mood improved.\n\n###### Long-term actions\n\nTo help maintain our newfound stability, we are currently aligning our SLOs with the SLOs of their service backends, and working toward making the services more uniform. Uniformity has a double benefit: it decreases cognitive load for SREs and makes it easier to write automation that can be used across services. We’re also reviewing services that have been around for a long time and updating them to current production standards. For example, some services are operating poorly under load that’s increased significantly over the years. Some services need to be updated per changes to their backend services’ policies. Other services simply haven’t been updated for several years.\n\n##### Effects\n\nA few months after our first brainstorming meeting, results began to surface: on-call shifts became quieter, and our team managed to quickly and efficiently deal with a difficult incident collaboratively as a group. A bit later, new team members arrived. When we discussed psychological safety during a round-table session, the new members said they couldn’t imagine that the team ever had such problems. In fact, they saw our team as a warm and safe place to work. About one year after the original escalation, little of the original overload remained and an anonymous survey showed that team members now felt the team was effective and safe.\n\n##### Lessons Learned\n\nWorkplace changes can have a psychological impact on the people on the team—after all, your teammates are not machines. You need to attend to the team’s stress levels so that people start trusting each other enough to work together; otherwise, the team can enter a vicious cycle of overload that causes stress, which in turn prevents you from tackling overload.\n\nPerceived overload is, in fact, overload, and has as much impact to a team as work overload caused by other factors. In our case, our sister team in Sydney didn’t experience the same issues, and the number of pages we fielded didn’t actually change very much compared to previous years. Instead, the loss of two team members, increased cognitive load, increased ticket noise, and a new three-day SLO on tickets led the team to perceive overload. In the end, the difference between objective and perceived overload didn’t matter: the perceived overload of a few team members can very quickly lead to overload for the whole team.\n\n# Strategies for Mitigating Overload\n\nAn outside perspective can sometimes quite easily identify when a team is overloaded. Similarly, it’s easy to comment on what actions should have been taken in retrospect. But how do you identify overload when you’re in the middle of experiencing it? The path toward a healthy, friendly, and happy work atmosphere can be hard to visualize when you’re mired in overload. This section describes practices for both identifying and mitigating overload on your team.\n\n##### Recognizing the Symptoms of Overload\n\nIt’s pretty easy to identify an overloaded team if you know the symptoms of overload:\n\nDecreased team morale\n\n- Overload might manifest as rants and complaints. Surveys on relevant topics (job conditions, work satisfaction, projects, peers, and managers) usually reflect team morale and yield more negative results when a team is overloaded. Regular active listening sessions with team leaders can surface issues that you weren’t aware of. An essential element of active listening is to listen without judgment.\n\nTeam members working long hours, and/or working when sick\n\n- Working overtime without compensation can be a psychosocial stressor. Leaders should set a good example: work contractual hours and stay home when sick.\n\nMore frequent illness5\n\n- Overworked team members tend to get run down and sick more often.\n\nAn unhealthy tasks queue\n\n- We recommend regularly reviewing your team’s tasks queue to see how many tickets are backlogged, who is dealing with which issues, and what tasks can be delayed or dropped. If the team is missing deadlines, or if urgent matters prevent you from performing this review regularly, the team is very likely accumulating interrupts faster than it can attend to them.\n\nImbalanced metrics\n\n- A few key metrics might indicate that your team is overloaded:\n - Long time periods to close a single issue\n - High proportion of time spent on toil\n - Large number of days to close issues originating from an on-call session\n\nThe team should work together to decide what measures to use. There is no one-size-fits-all approach; every team’s overload is reflected in different ways. As a manager, don’t impose a measure on the team without getting an idea of each individual’s workload and work habits. Team members might feel that you don’t understand the work if you insist on using a specific measure. For example, if you’re evaluating load by the number of days it takes to fix an issue, one person might work a full day fixing an issue, while another person might distribute the work across several days, along with other work.\n\n##### Reducing Overload and Restoring Team Health\n\nAfter reading through the criteria, you might think your team is already overloaded. Don’t despair! This section provides a list of ideas to get your team back to a healthy state.\n\nIn general, giving team members more control and power reduces perceived overload.6 While managers might be tempted to resort to micro-management in stressful situations, it’s important to keep the team in the loop and work on prioritization together in order to increase the level of performance and job satisfaction.7 This model assumes [baseline of a functional team](https://rework.withgoogle.com/intl/en/guides/understanding-team-effectiveness), where you have (at minimum) a somewhat healthy relationship between management and team members, and between team members.\n\n###### Identify and alleviate psychosocial stressors\n\nWhen it comes to fixing a dysfunctional team, first and foremost, individual team members need to regain their sense of psychological safety. A team can function only as well as its individual members.\n\nYou can start by identifying and alleviating psychosocial stressors8 for each individual and the team as a whole. Which of these factors do you actually have control over? You can’t control whether or not a team member has a major illness, but you can control the size of your team’s backlog (as seen in Case Study 1) or silence pages (as in Case Study 2).\n\nCommunicate with your partner product developer teams, and let them know your team is overloaded. They might be able to give a helping hand, provide compassion, or even take over entire projects.\n\nWhen your team members rely on each other and achieve a certain level of [psychological safety](https://en.wikipedia.org/wiki/Psychological_safety) (such that they’re able to take interpersonal risks), you can give more responsibility to individual team members. Uncovering areas of expertise and assigning point people and technical leads to specific technologies increases their self-confidence and therefore enables them to take risks.\n\nDecision making should be transparent and, if possible, democratic. Each team member should have a feeling of control over the situation. For example, the brainstorming session in Case Study 2 helped the team identify and discuss issues.\n\n###### Prioritize and triage within one quarter\n\nA healthy team can prioritize and triage issues. Case Study 1 provides a good example of this exercise: the team sat together in a room and reviewed their backlog. The review helped them realize they were overloaded. They reprioritized their work, and worked on the tasks that would quickly reduce some of the overload. The team in Case Study 2 now meets at the end of each quarter to plan and prioritize existing and future work together.\n\nIf possible, we recommend that SREs schedule interrupt-free time (no on-call) on their calendars, so that they have time to work on qualitatively difficult tasks like developing automation and investigating the root causes of interrupts. In Case Study 2, when the remote team gave the on-call some relief, team members then had precious time to focus on their projects.\n\nIf absolutely necessary, drop work: in Case Study 2, the team dropped on-call support for one of their services by returning this responsibility to the development team.\n\n###### Protect yourself in the future\n\nWe strongly recommend establishing metrics to evaluate the team’s workload. Regularly review the metrics to make sure they are measuring the right things.\n\nOnce your team emerges from overload, you can prevent future overload by taking steps to monitor or resolve the underlying problems. For example, the team in Case Study 1 now maintains a lightweight triage process to detect a growing backlog of tasks. The team in Case Study 2 is currently working on a long-term plan to align backend and service SLOs.\n\nWhen your team is in overload, prioritize project work that pays down repetitive toil even more than you would if you weren’t overloaded. You will profit in the future.\n\nFinally, everyone on the team should feel responsible for the early warning signs (see Recognizing the Symptoms of Overload) that indicate a possible overload situation. Managers should sit down and talk with team members if they feel that the team is moving toward overload.\n\n# Conclusion\n\nIn a perfect world, SRE teams would always be able to manage interrupts with the tactics described in our first book. But we’re only human, and sometimes our teams don’t reach that ideal. This chapter examined some of the ways that overload can consume a team and discussed how to detect and respond when it does.\n\nParticularly when it comes to operational work, excessive interrupts can very easily cause a team to slip from a normal workload to overload. Frequent interrupts can lead to overload, and overload negatively affects health and productivity. Overload creates psychosocial stressors for team members, which impacts work even further, causing a self-enforcing cycle.\n\nPerceived overload is a special form of overload that can’t be measured by the amount of toil or operational work. It is hard to pinpoint and to eliminate.\n\nIn order to keep a team’s workload in balance, it’s important to constantly monitor (perceived or nonperceived) overload. To better serve your users and do good work, you need to first show respect to yourself and your team. Maintaining a healthy balance in your daily work goes a long way in helping you and your team accomplish that goal.\n\n1Kara A. Latorella, Investigating Interruptions: Implications for Flightdeck Performance (Hampton, VA: Langley Research Center, 1999), [https://go.nasa.gov/2Jc50Nh](https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20000004291.pdf); NTSB, Aircraft Accident Report: NWA DC-9-82 N312RC, Detroit Metro, 16 August 1987 (No. NTSB/AAR-88/05) (Washington, DC: National Transportation Safety Board, 1988), [https://libraryonline.erau.edu/online-full-text/ntsb/aircraft-accident-reports/AAR88-05.pdf](https://libraryonline.erau.edu/online-full-text/ntsb/aircraft-accident-reports/AAR88-05.pdf).\n\n2Emmanuelle Brun and Malgorzata Milczarek, Expert Forecast on Emerging Psychosocial Risks Related to Occupational Safety and Health (Bilbao, Spain: European Agency for Safety and Health at Work, 2007), [https://osha.europa.eu/en/tools-and-publications/publications/reports/7807118](https://osha.europa.eu/en/tools-and-publications/publications/reports/7807118); M. Melchior, I. Niedhammer, L. F. Berkman, and M. Goldberg, “Do Psychosocial Work Factors and Social Relations Exert Independent Effects on Sickness Absence? A Six-Year Prospective Study of the GAZEL Cohort,” Journal of Epidemiology and Community Health 57, no. 4 (2003): 285–93, [https://jech.bmj.com/content/jech/57/4/285.full.pdf](https://jech.bmj.com/content/jech/57/4/285.full.pdf).\n\n3For context, according to estimates, an SRE needed at least one additional day of ticket follow-up per shift.\n\n4We used the Google program based on Project Aristotle: [https://bit.ly/2LPemR2](https://rework.withgoogle.com/intl/en/guides/understanding-team-effectiveness).\n\n5Kurt G. I. Wahlstedt and Christer Edling, “Organizational Changes at a Postal Sorting Terminal—Their Effects Upon Work Satisfaction, Psychosomatic Complaints and Sick Leave,” Work and Stress 11, no. 3 (1997): 279–91.\n\n6Robert A. Karasek Jr., “Job Demands, Job Decision Latitude, and Mental Strain—Implications for Job Redesign,” Administrative Science Quarterly 24, no. 2 (1979): 285–308.\n\n7Frank W. Bond and David Bunce, “Job Control Mediates Change in a Work Reorganization Intervention for Stress Reduction,” Journal of Occupational Health Psychology 6, no. 4 (2001): 290–302; Toby D. Wall, Paul R. Jackson, and Keith Davids, “Operator Work Design and Robotics System Performance: A Serendipitous Field Study,” Journal of Applied Psychology 77, no. 3 (1992): 353–62.\n\n8Brun and Malgorzata, Expert Forecast.", "znaku_textu": 36849, "slov": 5782, "odkazu": 69, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:44", "sha256": "d48173a0839ae45e03d2fd22782fda7f3da28654b441a9630e4eae8b271f04f7", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://osha.europa.eu/en/tools-and-publications/publications/literature_reviews/calculating-the-cost-of-work-related-stress-and-psychosocial-risks", "https://en.wikipedia.org/wiki/Sunk_cost", "https://en.wikipedia.org/wiki/Participatory_management", "https://rework.withgoogle.com/intl/en/guides/understanding-team-effectiveness", "https://en.wikipedia.org/wiki/Psychological_safety", "https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20000004291.pdf", "https://libraryonline.erau.edu/online-full-text/ntsb/aircraft-accident-reports/AAR88-05.pdf", "https://osha.europa.eu/en/tools-and-publications/publications/reports/7807118", "https://jech.bmj.com/content/jech/57/4/285.full.pdf", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/part-I-foundations/", "titulek": "Google SRE - Tools for Building Reliable Systems", "h1": "Part I. Foundations", "popis": "Tools of SRE with Google. Learn how to establish SLOs, implement effective monitoring and alerting systems, reduce toil, and embrace simplicity.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/part-I-foundations/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/part-I-foundations/"}, "headline": "Part I - Foundations", "description": "Every implementation guide needs to start with a common base from which to build. In this case, the basic foundations of SRE include SLOs, monitoring, alerting, toil reduction, and simplicity. Getting these basics right will set you up well to succeed on your SRE journey.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part I. Foundations"}], "markdown": "# Part I. Foundations\n\nEvery implementation guide needs to start with a common base from which to build. In this case, the basic foundations of SRE include SLOs, monitoring, alerting, toil reduction, and simplicity. Getting these basics right will set you up well to succeed on your SRE journey.\n\nThe following chapters explore techniques for turning these core principles into concrete practices for your organization.", "znaku_textu": 415, "slov": 64, "odkazu": 37, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:27", "sha256": "e815d456b715cca5329b5a1caf0d79cf71f84b91755339daf0e56ebe0b2b89cd", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/part-II-practices/", "titulek": "Google SRE - Operational Work For Balancing SRE Project", "h1": "Part II. Practices", "popis": "Discover how Google approaches operational work in SRE, including on-call, customer requests, incident response, and postmortems.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/part-II-practices/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/part-II-practices/"}, "headline": "Part II - Practices", "description": "Building upon the solid foundation of SRE principles covered in Foundations, Part II dives deep into how to conduct SRE-related activities that Google has found important for operating at scale.", "image": "https://lh3.googleusercontent.com/42wWj0EPhg6W-wDDEwiW8ymNwqrX8pmRKITAAUljf7FOARMcblyJqEtCvyxA2E6RXHf08eW3tu-rpTi7EI8wpZyKVUrOVEQFUkJC", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part II. Practices"}], "markdown": "# Part II. Practices\n\nBuilding upon the solid foundation of SRE principles covered in [Foundations](/workbook/part-I-foundations/), Part II dives deep into how to conduct SRE-related activities that Google has found important for operating at scale.\n\nSome of these topics, such as data processing pipelines and managing load, won’t apply to all organizations. Other topics, such as safely handling changes with configuration and canarying, on-call practices, and what to do when things go wrong, contain valuable [lessons for any SRE team](../../sre-book/lessons-learned/).\n\nThis part also introduces an important SRE skill—Non-Abstract Large System Design (NALSD)—and presents a detailed example of how to practice this design process.\n\nAs we move from SRE foundations to practices, we wanted to provide a bit more context on the relationship between operational duties and project work, and the engineering it takes to accomplish both strategically.", "znaku_textu": 945, "slov": 142, "odkazu": 43, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:34", "sha256": "e94fd46b2a3ebe24bd43681c6349a79e7d4b3d166abb82496749bfd1e9572bae", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/part-III-processes/", "titulek": "Google SRE - SRE Processes: Effective Management and Change", "h1": "Part III. Processes", "popis": "Key SRE processes for managing operations, handling overload, and improving change management. Essesntial guide for SRE leaders to enhance team practices.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/part-III-processes/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/part-III-processes/"}, "headline": "Part III - Processes", "description": "SRE is more than just a collection of technical practices—it's a culture that requires consistent and logical processes. This section addresses some important elements of processes as applied in SRE", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Part III. Processes"}], "markdown": "# Part III. Processes\n\nSRE is more than just a collection of technical practices—it’s a culture that requires consistent and logical processes. This section addresses some important [elements of processes as applied in SRE](../../sre-book/part-IV-management/): managing operations and development work, [recovering from overload](../../sre-book/handling-overload/), structuring and managing your relationships with development partners and customers, and implementing practical change management.\n\nIf you are an SRE leader, this section is your how-to guide for creating the space and environment your teams need to successfully implement the practices covered in [Practices](/workbook/part-II-practices/).", "znaku_textu": 702, "slov": 93, "odkazu": 39, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:43", "sha256": "e5f4f30652fc32ee9e260066f93e2113549761aaaec30bf8962b8923a066c575", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/postmortem-analysis/", "titulek": "Google SRE - Incident Management: Postmortem Analysis", "h1": "Results of Postmortem Analysis", "popis": "Postmortem analysis for identifying incident root causes in ", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/postmortem-analysis/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/postmortem-analysis/"}, "headline": "Results of Postmortem Analysis", "description": "At Google, we have a standard postmortem template that allows us to consistently capture the incident root cause and trigger, which enables trend analysis. We use this trend analysis to help us target improvements that address systemic root-cause types, such as faulty software interface design or immature change deployment planning.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Results of Postmortem Analysis"}], "markdown": "# Results of Postmortem Analysis\n\nAt Google, we have a standard [postmortem template](../../sre-book/example-postmortem/) that allows us to consistently capture the incident root cause and trigger, which enables trend analysis. We use this trend analysis to help us target improvements that address systemic root-cause types, such as faulty software interface design or immature change deployment planning. Table C-1 shows the breakdown of our top eight triggers for outages, based on a sample of thousands of postmortems over the last seven years.\n\n| Binary push | 37% |\n| --- | --- |\n| Configuration push | 31% |\n| User behavior change | 9% |\n| Processing pipeline | 6% |\n| Service provider change | 5% |\n| Performance decay | 5% |\n| Capacity management | 5% |\n| Hardware | 2% |\n\nTable C-2 presents the top five contributing root-cause categories.\n\n| Software | 41.35% |\n| --- | --- |\n| Development process failure | 20.23% |\n| Complex system behaviors | 16.90% |\n| Deployment planning | 6.74% |\n| Network failure | 2.75% |", "znaku_textu": 942, "slov": 135, "odkazu": 40, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:52", "sha256": "3f89a31be1817c5f6c245a035e43d6aedcd3ca12897ef56ba58c5b96071a554e", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/postmortem-culture/", "titulek": "Google SRE - Postmortem Practices for Incident Management", "h1": "Postmortem Culture: Learning from Failure", "popis": "SRE postmortem practices for documenting incidents, understanding root causes, and preventing recurrence. Explore blameless postmortemculture and best practices.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/postmortem-culture/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/postmortem-culture/"}, "headline": "Postmortem Culture: Learning from Failure", "description": "Introducing postmortems into an organization is as much a cultural change as it is a technical one. Making such a shift can seem daunting. The key takeaway from this chapter is that making this change is possible, and needn't seem like an insurmountable challenge.", "image": "https://lh3.googleusercontent.com/L4hSmfujS0jXPgjFwTc0LdMQwLchtsPJLm86A2z6nH23ykrj0Sw39gQPtRwl37sFZ0XaZGysiBMhK6gJc1p-Pq12sDHM-fYmvSTH", "author": [{"@type": "Person", "name": "Daniel Rogers"}, {"@type": "Person", "name": "Murali Suriar"}, {"@type": "Person", "name": "Sue Lueder"}, {"@type": "Person", "name": "Pranjal Deo"}, {"@type": "Person", "name": "Divya Sudhakar"}, {"@type": "Person", "name": "Gary O'Connor"}, {"@type": "Person", "name": "Dave Rensin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Postmortem Culture: Learning from Failure"}, {"uroven": 2, "text": "Case Study"}, {"uroven": 1, "text": "Bad Postmortem"}, {"uroven": 5, "text": "Why Is This Postmortem Bad?"}, {"uroven": 6, "text": "Missing context"}, {"uroven": 6, "text": "Key details omitted"}, {"uroven": 6, "text": "Key action item characteristics missing"}, {"uroven": 6, "text": "Counterproductive finger pointing"}, {"uroven": 6, "text": "Animated language"}, {"uroven": 6, "text": "Missing ownership"}, {"uroven": 6, "text": "Limited audience"}, {"uroven": 6, "text": "Delayed publication"}, {"uroven": 1, "text": "Good Postmortem"}, {"uroven": 5, "text": "Why Is This Postmortem Better?"}, {"uroven": 6, "text": "Clarity"}, {"uroven": 6, "text": "Concrete action items"}, {"uroven": 6, "text": "Blamelessness"}, {"uroven": 6, "text": "Depth"}, {"uroven": 6, "text": "Promptness"}, {"uroven": 6, "text": "Conciseness"}, {"uroven": 1, "text": "Organizational Incentives"}, {"uroven": 5, "text": "Model and Enforce Blameless Behavior"}, {"uroven": 6, "text": "Use blameless language"}, {"uroven": 6, "text": "Include all incident participants in postmortem authoring"}, {"uroven": 6, "text": "Gather feedback"}, {"uroven": 5, "text": "Reward Postmortem Outcomes"}, {"uroven": 6, "text": "Reward action item closeout"}, {"uroven": 6, "text": "Reward positive organizational change"}, {"uroven": 6, "text": "Highlight improved reliability"}, {"uroven": 6, "text": "Hold up postmortem owners as leaders"}, {"uroven": 6, "text": "Gamification"}, {"uroven": 6, "text": "Conduct cross-team reviews"}, {"uroven": 6, "text": "Hold training exercises"}, {"uroven": 6, "text": "Report incidents and outages weekly"}, {"uroven": 5, "text": "Respond to Postmortem Culture Failures"}, {"uroven": 6, "text": "Avoiding association"}, {"uroven": 6, "text": "Failing to reinforce the culture"}, {"uroven": 6, "text": "Lacking time to write postmortems"}, {"uroven": 6, "text": "Repeating incidents"}, {"uroven": 1, "text": "Tools and Templates"}, {"uroven": 5, "text": "Postmortem Templates"}, {"uroven": 6, "text": "Google’s template"}, {"uroven": 6, "text": "Other industry templates"}, {"uroven": 5, "text": "Postmortem Tooling"}, {"uroven": 6, "text": "Postmortem creation"}, {"uroven": 6, "text": "Postmortem checklist"}, {"uroven": 6, "text": "Postmortem storage"}, {"uroven": 6, "text": "Postmortem follow-up"}, {"uroven": 6, "text": "Postmortem analysis"}, {"uroven": 6, "text": "Other industry tools"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# Postmortem Culture: Learning from Failure\n\nBy Daniel Rogers, Murali Suriar, Sue Lueder,\nPranjal Deo, and Divya Sudhakar\nwith Gary O’Connor and Dave Rensin\n\nOur experience shows that a truly blameless postmortem culture results in more reliable systems—which is why we believe this practice is important to creating and maintaining a successful SRE organization.\n\nIntroducing postmortems into an organization is as much a cultural change as it is a technical one. Making such a shift can seem daunting. The key takeaway from this chapter is that making this change is possible, and needn’t seem like an insurmountable challenge. Don’t emerge from an incident hoping that your systems will eventually remedy themselves. You can start small by introducing a very basic postmortem procedure, and then reflect and tune your process to best suit your organization—as with many things, there is no one size that fits all.\n\nWhen written well, acted upon, and widely shared, postmortems can be a very effective tool for driving positive organizational change and preventing repeat outages. To illustrate the principles of good postmortem writing, this chapter presents a case study of an actual outage that happened at Google. An example of a poorly written postmortem highlights the reasons why “bad” postmortem practices are damaging to an organization that’s trying to create a healthy postmortem culture. We then compare the bad postmortem with the actual postmortem that was written after the incident, highlighting the principles and best practices of a high-quality postmortem.\n\nThe second part of this chapter shares what we’ve learned about creating incentives for nurturing of a robust postmortem culture and how to recognize (and remedy) the early signs that the culture is breaking down.\n\nFinally, we provide tools and templates that you can use to bootstrap a postmortem culture.\n\nFor a comprehensive discussion on blameless postmortem philosophy, see [Chapter 15](https://sre.google/sre-book/postmortem-culture/) in our first book, Site Reliability Engineering.\n\n## Case Study\n\nThis case study features a routine rack decommission that led to an increase in service latency for our users. A bug in our maintenance automation, combined with insufficient rate limits, caused thousands of servers carrying production traffic to simultaneously go offline.\n\nWhile the majority of Google’s servers are located in our proprietary datacenters, we also have racks of proxy/cache machines in colocation facilities (or “colos”). Racks in colos that contain our proxy machines are called satellites. Because satellites undergo regular maintenance and upgrades, a number of satellite racks are being installed or decommissioned at any point in time. At Google, these maintenance processes are largely automated.\n\nThe decommission process overwrites the full content of all drives in the rack using a process we call diskerase. Once a machine is sent to diskerase, the data it once stored is no longer retrievable. The steps for a typical rack decommission are as follows:\n\n```\n# Get all active machines in \"satellite\"\nmachines = GetMachines(satellite)\n\n# Send all candidate machines matching \"filter\" to decom\nSendToDecom(candidates=GetAllSatelliteMachines(),\n filter=machines)\n```\n\nOur case study begins with a satellite rack that was marked for decommissioning. The diskerase step of the decommission process finished successfully, but the automation responsible for the remainder of the machine decommission failed. To debug the failure, we retried the decommission process. The second decommission ran as follows:\n\n```\n# Get all active machines in \"satellite\"\nmachines = GetMachines(satellite)\n\n# \"machines\" is an empty list, because the decom flow has already run.\n# API bug: an empty list is treated as \"no filter\", rather than \"act on no\n# machines\"\n\n# Send all candidate machines matching \"filter\" to decom\nSendToDecom(candidates=GetAllSatelliteMachines(),\n filter=machines)\n\n# Send all machines in \"candidates\" to diskerase.\n```\n\nWithin minutes, the disks of all satellite machines, globally, were erased. The machines were rendered inert and could no longer accept connections from users, so subsequent user connections were routed directly to our datacenters. As a result, users experienced a slight increase in latency. Thanks to good capacity planning, very few of our users noticed the issue during the two days it took us to reinstall machines in the affected colo racks. Following the incident, we spent several weeks auditing and adding more sanity checks to our automation to make our decommission workflow idempotent.\n\nThree years after this outage, we experienced a similar incident: a number of satellites were drained, resulting in increased user latency. The action items implemented from the original postmortem dramatically reduced the blast radius and rate of the second incident.\n\nSuppose you were the person responsible for writing the postmortem for this case study. What would you want to know, and what actions would you propose to prevent this outage from happening again?\n\nLet’s start with a not-so-great postmortem for this incident.\n\n# Bad Postmortem\n\n##### Why Is This Postmortem Bad?\n\nThe example “bad” postmortem contains a number of common failure modes that we try to avoid. The following sections explain how to improve upon this postmortem.\n\n###### Missing context\n\nFrom the outset, our [example postmortem](../../sre-book/example-postmortem/) introduces terminology that’s specific to traffic serving (e.g., “satellites”) and lower layers of machine management automation at Google (e.g., “diskerase”). If you need to provide additional context as part of the postmortem, use the Background and/or Glossary sections (which can link to longer documents). In this case, both sections were blank.\n\nIf you don’t properly contextualize content when [writing a postmortem](https://sre.google/sre-book/example-postmortem/), the document might be misunderstood or even ignored. It’s important to remember that your audience extends beyond the immediate team.\n\n###### Key details omitted\n\nMultiple sections contain high-level summaries but lacked important details. For example:\n\nProblem summary\n\n- For outages affecting multiple services, you should present [numbers to give a consistent representation](https://sre.google/workbook/postmortem-analysis/) of impact. The only numerical data our example provides is the duration of the problem. We don’t have enough details to estimate the size or impact of the outage. Even if there is no concrete data, a well-informed estimate is better than no data at all. After all, if you don’t know how to measure it, then you can’t know it’s fixed!\n\nRoot causes and trigger\n\n- Identifying the root causes and trigger is one of the most important reasons to write a postmortem. Our example contains a small paragraph that describes the root causes and trigger, but it doesn’t explore the lower-level details of the issue.\n\nRecovery efforts\n\n- A postmortem acts as the record of an incident for its readers. A good postmortem will let readers know what happened, how the issue was mitigated, and how users were impacted. The answers to many of these questions are typically found in the Recovery Efforts section, which was left empty in our example.\n\nIf an outage merits a postmortem, you should also take the time to accurately capture and document the necessary details. The reader should get a complete view of the outage and, more importantly, learn something new.\n\n###### Key action item characteristics missing\n\nThe Action Items (AIs) section of our example is missing the core aspects of an actionable plan to prevent recurrence. For example:\n\n- The action items are mostly mitigative. To minimize the likelihood of the outage recurring, you should include some preventative action items and fixes. The one “preventative” action item suggests we “make humans less error-prone.” In general, trying to change human behavior is less reliable than changing automated systems and processes. (Or as Dan Milstein [once quipped](https://product.hubspot.com/blog/bid/64771/Post-Mortems-at-HubSpot-What-I-Learned-From-250-Whys) : “Let’s plan for a future where we’re all as stupid as we are today.”)\n- All of the action items have been tagged with an equal priority. There’s no way to determine which action to tackle first.\n- The first two action items in the list use ambiguous phrases like “Improve” and “Make better.” These terms are vague and open to interpretation. Using unclear language makes it difficult to measure and understand success criteria.\n- Only one action item was assigned a tracking bug. Without a formal tracking process, action items from postmortems are often forgotten, resulting in outages.\n\n###### Counterproductive finger pointing\n\nEvery postmortem has the potential to lapse into a blameful narrative. Let’s take a look at some examples:\n\nThings that went poorly\n\n- The entire team is blamed for the outage, while two members (maxone@ and logantwo@) are specifically called out.\n\nAction items\n\n- The last item in the list targets sydneythree@ for succumbing to pressure and mismanaging the cross-site handoff.\n\nRoot causes and trigger\n\n- dylanfour@ is held solely responsible for the outage.\n\nIt may seem like a good idea to highlight individuals in a postmortem. Instead, this practice leads team members to become risk-averse because they’re afraid of being publicly shamed. They may be motivated to cover up facts critical to understanding and preventing recurrence.\n\n###### Animated language\n\nA postmortem is a factual artifact that should be free from personal judgments and subjective language. It should consider multiple perspectives and be respectful of others. Our example postmortem contains multiple examples of undesirable language:\n\nRoot causes and trigger\n\n- Superfluous language (e.g., “careless ignorance”)\n\nThings that went poorly\n\n- Animated text (e.g., “which is ridiculous”)\n\nWhere we got lucky\n\n- An exclamation of disbelief (e.g., “I can't believe we survived this one!!!”)\n\nAnimated language and dramatic descriptions of events distract from the key message and erode psychological safety. Instead, provide verifiable data to justify the severity of a statement.\n\n###### Missing ownership\n\nDeclaring official ownership results in accountability, which leads to action. Our example postmortem contains several examples of missing ownership:\n\n- The postmortem lists four owners. Ideally, an owner is a single point of contact who is responsible for the postmortem, follow-up, and completion.\n- The Action Items section has little or no ownership for its entries. Actions items without clear owners are less likely to be resolved.\n\nIt’s better to have a single owner and multiple collaborators.\n\n###### Limited audience\n\nOur example postmortem was shared only among members of the team. By default, the document should have been accessible to everyone at the company. We recommend proactively sharing your postmortem as widely as possible—perhaps even with your customers. The value of a postmortem is proportional to the learning it creates. The more people that can learn from past incidents, the less likely they are to be repeated. A thoughtful and honest postmortem is also a key tool in restoring shaken trust.\n\nAs your experience and comfort grows, you will also likely expand your “audience” to nonhumans. Mature postmortem cultures often add machine-readable tags (and other metadata) to enable downstream analytics.\n\n###### Delayed publication\n\nOur example postmortem was published four months after the incident. In the interim, had the incident recurred (which in reality, did happen), team members likely would have forgotten key details that a timely postmortem would have captured.\n\n# Good Postmortem\n\n##### Why Is This Postmortem Better?\n\nThis postmortem exemplifies several good writing practices.\n\n###### Clarity\n\nThe postmortem is well organized and explains key terms in sufficient detail. For example:\n\nGlossary\n\n- A well-written glossary makes the postmortem accessible and comprehensible to a broad audience.\n\nAction items\n\n- This was a large incident with many action items. Grouping action items by theme makes it easier to assign owners and priorities.\n\nQuantifiable metrics\n\n- The postmortem presents useful data on the incident, such as cache hit ratios, traffic levels, and duration of the impact. Relevant sections of the data are presented with links back to the original sources. This data transparency removes ambiguity and provides context for the reader.\n\n###### Concrete action items\n\nA postmortem with no action items is ineffective. These action items have a few notable characteristics:\n\nOwnership\n\n- All action items have both an owner and a tracking number.\n\nPrioritization\n\n- All action items are assigned a priority level.\n\nMeasurability\n\n- The action items have a verifiable end state (e.g., “Add an alert when more than X% of our machines have been taken away from us”).\n\nPreventative action\n\n- Each action item “theme” has Prevent/Mitigate action items that help avoid outage recurrence (for example, “Disallow any single operation from affecting servers spanning namespace/class boundaries”).\n\n###### Blamelessness\n\nThe authors focused on the gaps in system design that permitted undesirable failure modes. For example:\n\nThings that went poorly\n\n- No individual or team is blamed for the incident.\n\nRoot cause and trigger\n\n- Focuses on “what” went wrong, not “who” caused the incident.\n\nAction items\n\n- Are aimed at improving the system instead of improving people.\n\n###### Depth\n\nRather than only investigating the proximate area of the system failure, the postmortem explores the impact and system flaws across multiple teams. Specifically:\n\nImpact\n\n- This section contains lots of details from various perspectives, making it balanced and objective.\n\nRoot cause and trigger\n\n- This section performs a deep dive on the incident and arrives at a root cause and trigger.\n\nData-driven conclusions\n\n- All of the conclusions presented are based on facts and data. Any data used to arrive at a conclusion is linked from the document.\n\nAdditional resources\n\n- These present further useful information in the form of graphs. Graphs are explained to give context to readers who aren’t familiar with the system.\n\n###### Promptness\n\nThe postmortem was written and circulated less than a week after the incident was closed. A prompt postmortem tends to be more accurate because information is fresh in the contributors’ minds. The people who were affected by the outage are waiting for an explanation and some demonstration that you have things under control. The longer you wait, the more they will fill the gap with the products of their imagination. That seldom works in your favor!\n\n###### Conciseness\n\nThe incident was a global one, impacting multiple systems. As a result, the postmortem recorded and subsequently parsed a lot of data. Lengthy data sources, such as chat transcripts and system logs, were abstracted, with the unedited versions linked from the main document. Overall, the postmortem strikes a balance between verbosity and readability.\n\n# Organizational Incentives\n\nIdeally, senior leadership should support and encourage effective postmortems. This section describes how an organization can incentivize a healthy postmortem culture. We highlight warning signs that the culture is failing and offer some solutions. We also provide tools and templates to streamline and automate the postmortem process.\n\n##### Model and Enforce Blameless Behavior\n\nTo properly support postmortem culture, engineering leaders should consistently exemplify blameless behavior and encourage blamelessness in every aspect of postmortem discussion. You can use a few concrete strategies to enforce blameless behavior in an organization.\n\n###### Use blameless language\n\nBlameful language stifles collaboration between teams. Consider the following scenario:\n\n- Sandy missed a service Foo training and wasn’t sure how to run a particular update command. The delay ultimately prolonged an outage.\n- SRE Jesse [to Sandy’s manager]: “You’re the manager; why aren’t you making sure that everyone finishes the training?”\n\nThe exchange includes a leading question that will instantly put the recipient on the defensive. A more balanced response would be:\n\n- SRE Jesse [to Sandy’s manager]: “Reading the postmortem, I see that the on-caller missed an important training that would have allowed them to resolve the outage more quickly. Maybe team members should be required to complete this training before joining the on-call rotation? Or we could remind them that if they get stuck to please quickly escalate. After all, escalation is not a sin—especially if it helps lower customer pain! Long term, we shouldn't really rely so much on training, as it’s easy to forget in the heat of the moment.”\n\n###### Include all incident participants in postmortem authoring\n\nIt can be easy to overlook key contributing factors to an outage when the postmortem is written in isolation or by a single team.\n\n###### Gather feedback\n\nA clear review process and communication plan for postmortems can help prevent blameful language and perspectives from propagating within an organization. For a suggested structured review process, see the section Postmortem checklist.\n\n##### Reward Postmortem Outcomes\n\nWhen well written, acted upon, and widely shared, postmortems are an effective vehicle for driving positive organizational change and preventing repeat outages. Consider the following strategies to incentivize postmortem culture.\n\n###### Reward action item closeout\n\nIf you reward engineers for writing postmortems, but not for closing the associated action items, you risk an unvirtuous cycle of unclosed postmortems. Ensure that incentives are balanced between writing the postmortem and successfully implementing its action plan.\n\n###### Reward positive organizational change\n\nYou can incentivize widespread implementation of postmortem lessons by presenting postmortems as an opportunity to expand impact across an organization. Reward this level of impact with peer bonuses, positive performance reviews, promotion, and the like.\n\n###### Highlight improved reliability\n\nOver time, an effective postmortem culture leads to fewer outages and more reliable systems. As a result, teams can focus on feature velocity instead of infrastructure patching. It’s intrinsically motivating to highlight these improvements in reports, presentations, and performance reviews.\n\n###### Hold up postmortem owners as leaders\n\nCelebrating postmortems through emails or meetings, or by giving the authors an opportunity to present lessons learned to an audience, can appeal to individuals that appreciate public accolades. Setting up the owner as an “expert” on a type of failure and its avoidance can be rewarding for many engineers who seek peer acknowledgment. For example, you might hear someone say, “Talk to Sara, she’s an expert now. She just coauthored a postmortem where she figured out how to fix that gap!”\n\n###### Gamification\n\nSome individuals are incentivized by a sense of accomplishment and progress toward a larger goal, such as fixing system weaknesses and increasing reliability. For these individuals, a scoreboard or burndown of postmortem action items can be an incentive. At Google, we hold “FixIt” weeks twice a year. SREs who close the most postmortem action items receive small tokens of appreciation and (of course) bragging rights. Figure 10-3 shows an example of a postmortem leaderboard.\n\nFigure 10-3. Postmortem leaderboard\n\nIn order to maintain a healthy postmortem culture within an organization, it’s important to share postmortems as widely as possible. Implementing even one of the following tactics can help.\n\nAnnounce the availability of the postmortem draft on your internal communication channels, email, Slack, and the like. If you have a regular company all-hands, make it a practice to share a recent postmortem of interest.\n\n###### Conduct cross-team reviews\n\nConduct cross-team reviews of postmortems. In these reviews, a team walks though their incident while other teams ask questions and learn vicariously. At Google, several offices have informal Postmortem Reading Clubs that are open to all employees.\n\nIn addition, a cross-functional group of developers, SREs, and organizational leaders reviews the overall postmortem process. These folks meet monthly to review the effectiveness of the postmortem process and template.\n\n###### Hold training exercises\n\nUse the [Wheel of Misfortune](https://sre.google/sre-book/accelerating-sre-on-call#xref_training_disaster-rpg) when training new engineers: a cast of engineers reenacts a previous postmortem, assuming roles laid out in the postmortem. The original Incident Commander attends to help make the experience as “real” as possible.\n\n###### Report incidents and outages weekly\n\nCreate a weekly outage report containing the incidents and outages from the past seven days. Share the report with as wide an audience as possible. From the weekly outages, compile and share a periodic greatest hits report.\n\n##### Respond to Postmortem Culture Failures\n\nThe breakdown of postmortem culture may not always be obvious. The following are some common failure patterns and recommended solutions.\n\n###### Avoiding association\n\nDisengaging from the postmortem process is a sign that postmortem culture at an organization is failing. For example, suppose SRE Director Parker overhears the following conversation:\n\n- SWE Sam: Wow, did you hear about that huge blow-up?\n- SWE Riley: Yeah, it was terrible. They’ll have to write a postmortem now.\n- SWE Sam: Oh no! I’m so glad I’m not involved with that.\n- SWE Riley: Yeah, I really wouldn’t want to be in the meeting where that one is discussed.\n\nEnsuring that high-visibility postmortems are reviewed for blameful prose can help prevent this kind of avoidance. In addition, sharing high-quality examples and discussing how those involved were rewarded can help reengage individuals.\n\n###### Failing to reinforce the culture\n\nResponding when a senior executive uses blameful language can be challenging. Consider the following statement made by senior leadership at a meeting about an outage:\n\n- VP Ash: I know we are supposed to be blameless, but this is a safe space. Someone must have known beforehand this was a bad idea, so why didn’t you listen to that person?\n\nMitigate the damage by moving the narrative in a more constructive direction. For example:\n\n- SRE Dana: Hmmm, I’m sure everyone had the best intent, so to keep it blameless, maybe we ask generically if there were any warning signs we could have heeded, and why we might have dismissed them.\n\nIndividuals act in good faith and make decisions based on the best information available. Investigating the source of misleading information is much more beneficial to the organization than assigning blame. (If you have encountered Agile principles, this should [be familiar to you](https://martinfowler.com/bliki/PrimingPrimeDirective.html).)\n\n###### Lacking time to write postmortems\n\nQuality postmortems take time to write. When a team is overloaded with other tasks, the quality of postmortems suffers. Subpar postmortems with incomplete action items make a recurrence far more likely. Postmortems are letters you write to future team members: it’s very important to keep a consistent quality bar, lest you accidentally teach future teammates a bad lesson. Prioritize postmortem work, track the postmortem completion and review, and allow teams adequate time to implement the associated action plan. The tooling we discuss in the section Tools and Templates can help with these activities.\n\n###### Repeating incidents\n\nIf teams are experiencing failures that mirror previous incidents, it’s time to dig deeper. Consider asking questions like:\n\n- Are action items taking too long to close?\n- Is feature velocity trumping reliability fixes?\n- Are the right action items being captured in the first place?\n- Is the faulty service overdue for a refactor?\n- Are people putting Band-Aids on a more serious problem?\n\nIf you uncovered a systemic process or technical problem, it’s time to take a step back and consider the overall service health. Bring the postmortem collaborators from each similar incident together to discuss the best course of action to prevent repeats.\n\n# Tools and Templates\n\nA set of tools and templates can bootstrap a postmortem culture by making writing postmortems and managing the associated data easier. There are a number of resources from Google and other companies that you can leverage in this space.\n\n##### Postmortem Templates\n\nTemplates make it easier to write complete postmortems and share them across an organization. Using a standard format makes postmortems more accessible for readers outside the domain. You can customize the template to fit your needs. For example, it may be useful to capture team-specific metadata like hardware make/model for a datacenter team, or Android versions affected for a mobile team. You can then add customizations as the team matures and performs more sophisticated postmortems.\n\n###### Google’s template\n\nGoogle has shared a version of our postmortem template in Google Docs format at [https://g.co/SiteReliabilityWorkbookMaterials](https://drive.google.com/corp/drive/folders/1t7fO8M3EZFeuu4GmzvStd0TGDI4bDCeb). Internally, we primarily use Docs to write postmortems because it facilitates collaboration via shared editing rights and comments. Some of our internal tools prepopulate this template with metadata to make the postmortem easier to write. We leverage [Google Apps Script](https://developers.google.com/apps-script/) to automate parts of the authoring, and capture a lot of the data into specific sections and tables to make it easier for our postmortem repository to parse out data for analysis.\n\n###### Other industry templates\n\nSeveral other companies and individuals have shared their postmortem templates:\n\n- [Pager Duty](https://response.pagerduty.com/after/post_mortem_template/)\n- [An adaptation of the original Google Site Reliability Engineering book template](https://gist.github.com/mlafeldt/6e02ea0caeebef1205b47f31c2647966)\n- [A list of four templates hosted on GitHub](https://github.com/dastergon/postmortem-templates/tree/master/templates)\n- [GitHub user Julian Dunn](https://gist.github.com/juliandunn/52b4fbde451628e0fe48)\n- [Server Fault](https://serverfault.com/questions/29188/documenting-an-outage-for-a-post-mortem-review)\n\n##### Postmortem Tooling\n\nAs of this writing, Google’s postmortem management tooling is not available for external use (check our [blog](https://cloud.google.com/blog/) for the latest updates). We can, however, explain how our tools facilitate postmortem culture.\n\n###### Postmortem creation\n\nOur incident management tooling collects and stores a lot of useful data about an incident and pushes that data automatically into the postmortem. Examples of data we push includes:\n\n- Incident Commander and other roles\n- Detailed incident timeline and IRC logs\n- Services affected and root-cause services\n- Incident severity\n- Incident detection mechanisms\n\n###### Postmortem checklist\n\nTo help authors ensure a postmortem is properly completed, we provide a postmortem checklist that walks the owner through key steps. Here are just a few example checks on the list:\n\n- Perform a complete assessment of incident impact.\n- Conduct sufficiently detailed root-cause analysis to drive action item planning.\n- Ensure action items are vetted and approved by the technical leads of the service.\n- Share the postmortem with the wider organization.\n\nThe full checklist is available at [https://g.co/SiteReliabilityWorkbookMaterials](https://drive.google.com/corp/drive/folders/1t7fO8M3EZFeuu4GmzvStd0TGDI4bDCeb).\n\n###### Postmortem storage\n\nWe store postmortems in a tool called Requiem so it’s easy for any Googler to find them. Our incident management tool automatically pushes all postmortems to Requiem, and anyone in the organization can post their postmortem for all to see. We have thousands of postmortems stored, dating back to 2009. Requiem parses out metadata from individual postmortems and makes it available for searching, analysis, and reporting.\n\n###### Postmortem follow-up\n\nOur postmortems are stored in Requiem’s database. Any resulting action items are filed as bugs in our centralized bug tracking system. Consequently, we can monitor the closure of action items from each postmortem. With this level of tracking, we can ensure that action items don’t slip through the cracks, leading to increasingly unstable services. Figure 10-4 shows a mockup of postmortem action item monitoring enabled by our tooling.\n\nFigure 10-4. Postmortem action item monitoring\n\n###### Postmortem analysis\n\nOur postmortem management tool stores its information in a database for analysis. Teams can use the data to write reports about their postmortem trends and identify their most vulnerable systems. This helps us uncover underlying sources of instability or incident management dysfunctions that may otherwise go unnoticed. For example, Figure 10-5 shows charts that were built with our analysis tooling. These charts show us trends like how many postmortems we have per month per organization, incident mean duration, time to detect, time to resolve, and blast radius.\n\nFigure 10-5. Postmortem analysis\n\n###### Other industry tools\n\nHere are some third-party tools that can help you create, organize, and analyze postmortems:\n\n- [Pager Duty Postmortems](https://www.pagerduty.com/features/post-mortems/)\n- [Morgue by Etsy](https://github.com/etsy/morgue)\n- [VictorOps](https://victorops.com/blog/importance-of-post-mortems)\n\nAlthough it’s impossible to fully automate every step of writing postmortems, we’ve found that postmortem templates and tooling make the process run more smoothly. These tools free up time, allowing authors to focus on the critical aspects of the postmortem, such as root-cause analysis and action item planning.\n\n# Conclusion\n\nOngoing investment in cultivating a postmortem culture pays dividends in the form of fewer outages, a better overall experience for users, and more trust from the people that depend on you. Consistent application of these practices results in better system design, less downtime, and more effective and happier engineers. If the worst does happen and an incident recurs, you will suffer less damage and recover faster and have even more data to continue reinforcing production.\n\n1A general term for a shut-down switch (e.g., an emergency power-off button) to be used in catastrophic circumstances to avert further damage.", "znaku_textu": 30474, "slov": 4484, "odkazu": 67, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:37", "sha256": "68a91385357957faa3d46927b88af63e047cd5e0b228c52a024c6093c24e0018", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://product.hubspot.com/blog/bid/64771/Post-Mortems-at-HubSpot-What-I-Learned-From-250-Whys", "https://en.wikipedia.org/wiki/Confused_deputy_problem", "https://martinfowler.com/bliki/PrimingPrimeDirective.html", "https://drive.google.com/corp/drive/folders/1t7fO8M3EZFeuu4GmzvStd0TGDI4bDCeb", "https://developers.google.com/apps-script/", "https://response.pagerduty.com/after/post_mortem_template/", "https://gist.github.com/mlafeldt/6e02ea0caeebef1205b47f31c2647966", "https://github.com/dastergon/postmortem-templates/tree/master/templates", "https://gist.github.com/juliandunn/52b4fbde451628e0fe48", "https://serverfault.com/questions/29188/documenting-an-outage-for-a-post-mortem-review", "https://cloud.google.com/blog/", "https://www.pagerduty.com/features/post-mortems/", "https://github.com/etsy/morgue", "https://victorops.com/blog/importance-of-post-mortems", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/preface/", "titulek": "Google SRE Handbook - Enacting the Principles of SRE", "h1": "Preface", "popis": "Discover how to bring the principles of Google SRE to life with comprehensive Google SRE handbook. Learn about SLOs, incident management, and more.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/preface/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/preface/"}, "headline": "Preface", "description": "When we wrote the original Site Reliability Engineering book, we had a goal: explain the philosophy and the principles of production engineering and operations at Google. The book was our attempt to share our teams' best practices and lessons with the rest of the computing world.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Preface"}, {"uroven": 2, "text": "Conventions Used in This Book"}, {"uroven": 1, "text": "Using Code Examples"}, {"uroven": 1, "text": "O'Reilly Safari"}, {"uroven": 1, "text": "How to Contact Us"}, {"uroven": 1, "text": "Acknowledgments"}], "markdown": "# Preface\n\nWhen we wrote the original [Site Reliability Engineering book](https://sre.google/sre-book/table-of-contents/), we had a goal: explain the philosophy and the principles of production engineering and operations at Google. The book was our attempt to share our teams’ best practices and lessons with the rest of the computing world. We assumed that the SRE book might appeal to a modest number of engineers working in large, reliability-conscious endeavors, and that both the quantity and the focus of the content would tend to limit the book’s appeal.\n\nAs it turned out, we were happily mistaken on both counts.\n\nTo our surprise and delight, the SRE book was a best-seller in computing for an exhilarating period after its release, and it was not just being sold or downloaded; it was being read. We received questions from around the world about the book, the team, the practices, and the outcomes. We were asked to speak about chapters, approaches, and incidents. We found ourselves in the unexpected position of having to turn down outside requests because we were out of cycles.\n\nLike most success disasters, the SRE book created an opportunity to respond with human effort (“Hire more people! Do more speaking engagements!”) or with something more scalable. And being SREs, it will surprise few readers that we gravitated toward the latter approach. We decided to write a second SRE book—one that expanded on the content we were most frequently being asked to speak about, and that addressed the most common questions readers had about the first book.\n\nOut of the many different questions, requests, and comments we received about the first SRE book, two themes were particularly interesting to us; if left unaddressed, they were barriers to putting SRE’s lessons to productive use. These themes are colloquially summarized as:\n\n- Principles are interesting, but how do I turn them into practice in my project/team/company?\n- SRE’s approach would not work for me; it is feasible only in Google’s culture, and makes sense only at Google’s scale.\n\nThe purpose of this second SRE book is (a) to add more implementation detail to the principles outlined in the first volume, and (b) to dispel the idea that SRE is implementable only at “Google scale” or in “Google culture.”\n\nThis volume is a companion to the previous work—not a new version. The two books should be taken together as a pair. You will get the most from this book if you’re already familiar with its predecessor. The first SRE book is available [online for free](https://sre.google/).\n\nBy design, the structure of this book roughly follows the structure of the first volume. We want you to be able to read the chapters in tandem. Each chapter in this volume assumes you’re familiar with its counterpart from the previous work; our goal is to allow you to jump back and forth between principle and practice as you go. That way, you can use both volumes as ongoing references.\n\nNext, a word about ethos: We heard from some readers that while describing Google’s journey toward better operations we concentrated too much on just us. Some readers suggested that we were too removed from the practicalities of the world outside Google, and failed to address [the interaction of our ideas](https://charity.wtf/2016/06/30/devops-vs-sre-delayed-coverage-of-the-dumbest-war/) with the principles of DevOps. That’s an entirely fair criticism that we’ve tried to take to heart in this volume.\n\nHowever, we do think that the highly opinionated nature of SRE contributes to its usefulness as a discipline. To us that’s a feature, not a bug. We do not advocate that SRE is the only way (or even universally the best way) to build and operate highly reliable systems. It’s just the way that has been most successful for us.\n\nWe’ll also spend a few words talking about how SRE and DevOps relate to each other. The important point to keep in mind is that they are not in conflict.\n\nWe’d like to acknowledge up front that this volume is necessarily incomplete. The SRE discipline is a broad field even inside the confines of Google, and it is evolving even faster now that it’s practiced widely outside of Google. Rather than go broad and superficial, we focused this volume to answer the most requested implementation details from the first volume.\n\nFinally, this volume and its predecessor are not intended to be gospel. Please don’t treat them that way. Even after all these years, we’re still finding conditions and cases that cause us to tweak (or in some cases, replace) previously firmly held beliefs. SRE is a journey as much as it is a discipline.\n\nWe hope that you enjoy what you read in these pages and find the book useful. Assembling it has been a labor of love. We’re delighted that there’s a growing and skilled community of SRE professionals with whom we can learn and improve.\n\nAs always, your direct feedback is much appreciated. It teaches us something valuable every time you contribute it.\n\n## Conventions Used in This Book\n\nThe following typographical conventions are used in this book:\n\nItalic\n\nIndicates new terms, URLs, email addresses, filenames, and file extensions.\n\n`Constant width`\n\nUsed for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.\n\n`*Constant width bold*`\n\nShows commands or other text that should be typed literally by the user.\n\n`Constant width italic`\n\nShows text that should be replaced with user-supplied values or by values determined by context.\n\n# Using Code Examples\n\nSupplemental material (code examples, exercises, etc.) is available for download at [https://g.co/SiteReliabilityWorkbookMaterials](https://drive.google.com/corp/drive/folders/1t7fO8M3EZFeuu4GmzvStd0TGDI4bDCeb).\n\nThis book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.\n\nWe appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: “The Site Reliability Workbook, edited by Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, and Stephen Thorne (O’Reilly). Copyright 2018 Google LLC, 978-1-492-02950-2.”\n\nIf you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at [*permissions@oreilly.com*](mailto:permissions@oreilly.com).\n\n# O'Reilly Safari\n\nMembers have access to thousands of books, training videos, Learning Paths, interactive tutorials, and curated playlists from over 250 publishers, including O’Reilly Media, Harvard Business Review, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Adobe, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, and Course Technology, among others.\n\nFor more information, please visit [https://oreilly.com/safari](https://www.safaribooksonline.com/accounts/login/).\n\n# How to Contact Us\n\nPlease address comments and questions concerning this book to the publisher:\n\n- O’Reilly Media, Inc.\n- 1005 Gravenstein Highway North\n- Sebastopol, CA 95472\n- 800-998-9938 (in the United States or Canada)\n- 707-829-0515 (international or local)\n- 707-829-0104 (fax)\n\nWe have a web page for this book, where we list errata, examples, and any additional information. You can access this page at [https://bit.ly/siteReliabilityWkbk](https://shop.oreilly.com/product/0636920132448.do).\n\nTo comment or ask technical questions about this book, send email to [*bookquestions@oreilly.com*](mailto:bookquestions@oreilly.com)\n\nFor more information about our books, courses, conferences, and news, see our website at [https://www.oreilly.com](https://www.oreilly.com/).\n\nFind us on Facebook: [https://facebook.com/oreilly](https://facebook.com/oreilly)\n\nFollow us on Twitter: [https://twitter.com/oreillymedia](https://twitter.com/oreillymedia)\n\nWatch us on YouTube: [https://www.youtube.com/oreillymedia](https://www.youtube.com/oreillymedia)\n\n# Acknowledgments\n\nThis book is the product of the enthusiastic and generous contributions of more than 100 people, including authors, tech writers, and reviewers. Each chapter has a byline for the individual authors and tech writers. We’d also like to take a moment to thank everyone not listed there.\n\nWe would like to thank the following reviewers for providing valuable (and sometimes pointed) feedback: Abe Hassan, Alex Perry, Cara Donnelly, Chris Jones, Cody Smith, Dermot Duffy, Jarrod Todd, Jay Judkowitz, John T. Reese, Liz Fong-Jones, Mike Danese, Murali Suriar, Narayan Desai, Niccolò Cascarano, Ralph Pearson, Salim Virji, Todd Underwood, Vivek Rau, and Zoltan Egyed.\n\nWe would like to express our deepest appreciation to the following people for serving as our overall quality bar for this volume. They made substantial contributions throughout the entire volume: Alex Matey, Max Luebbe, Matt Brown, and JC van Winkel.\n\nAs the leaders of Google SRE, Benjamin Treynor Sloss and Ben Lutch were this book’s primary executive sponsors within Google; their strong and unwavering belief in a follow-up project that was a worthy companion of the first SRE book was essential to making this book happen.\n\nWhile the authors and technical writers are specifically acknowledged in each chapter, we’d like to recognize those that contributed to each chapter by providing thoughtful input, discussion, and review. In chapter order, they are:\n\n- [Implementing SLOs:](/workbook/implementing-slos/) Javier Kohen, Patrick Eaton, Richard Bondi, Yaniv Aknin\n- [Monitoring:](/workbook/monitoring/) Alex Matey, Clint Pauline, Cody Smith, JC van Winkel, Ola Kłapcińska, Štěpán Davidovič\n- [Alerting on SLOs:](/workbook/alerting-on-slos/) Alex Matey, Clint Pauline, Cody Smith, Iain Cooke, JC van Winkel, Štěpán Davidovič\n- [Eliminating Toil:](/workbook/eliminating-toil/) Dermot Duffy, James O'Keeffe, Stephen Thorne\n- [Simplicity:](/workbook/simplicity/) Mark Brody\n- [On-Call:](/workbook/on-call/) Alex Perry, Alex Hidalgo, David Huska, Sebastian Kirsch, Sabrina Farmer, Steven Carstensen, Liz Fong-Jones,\n Nandu Shah (Evernote), Robert Holley (Evernote)\n- [Incident Response:](/workbook/incident-response/) Alex Hidalgo, Alex Matey, Alex Perry, Dave Rensin, Matt Brown, Tor Gunnar Houeland, Trevor\n Strohman\n- [Postmortem Culture:](/workbook/postmortem-culture/) Learning from Failure: John T. Reese\n- [Managing Load:](/workbook/managing-load/) Daniel E. Eisenbud, Dave Rensin, Dmitry Nefedkin, Dževad Trumić, Edward Wu (Niantic), JC van Winkel, Lucas Pereira, Luke Stone, Matt Brown, Natalia Sakowska, Niall Richard Murphy, Phil Keslin (Niantic), Rita Sodt, Scott Devoid, Simon Donovan, Tomasz Kulczyński\n- [Introducing Non-Abstract Large System Design:](/workbook/non-abstract-design/) Ivo Krka, Matt Brown, Nicky Nicolosi, Tanya Reilly\n- [Data Processing Pipelines:](/workbook/data-processing/) Bartosz Janota (Spotify), Cara Donnelly, Chris Farrar, Johannes Rußek (Spotify), Max Charas, Max Luebbe, Michelle Duffy, Nelson Arapé (Spotify), Riccardo Petrocco (Spotify), Rickard Zwahlen (Spotify), Robert Stephenson (Spotify), Steven Thurgood\n- [Configuration Design and Best Practices:](/workbook/configuration-design/) Charlene Perez, Dave Cunningham, Dave Rensin, JC van Winkel, John Reese, Stephen Thorne\n- [Configuration Specifics:](/workbook/configuration-specifics/) Alex Matey, Bo Shi, Charlene Perez, Dave Rensin, Eric Johnson, Juliette Benton, Lars Wander, Mike Danese, Narayan Desai, Niall Richard Murphy, Štěpán Davidovič, Stephen Thorne\n- [Canarying Releases:](/workbook/canarying-releases/) Alex Matey, Liz Fong-Jones, Max Luebbe\n- [Identifying and Recovering from Overload:](/workbook/overload/) Andrew Harvey, Aleksander Szymanek, Brad Kratochvil, Ed Wehrwein, Duncan Sargeant, Jessika Reissland, Matt Brown, Piotr Sieklucki and Thomas Adamcik\n- [SRE Engagement Model:](/workbook/engagement-model/) Brian Balser ( New York Times ), Deep Kapadia ( New York Times ), Michelle Duffy, Xavier Llorà\n- [SRE: Reaching Beyond Your Walls:](/workbook/reaching-beyond/) Matt Brown\n- [SRE Team Lifecycles:](/workbook/team-lifecycles/) Brian Balser ( New York Times ), Christophe Kalt, Daniel Rogers, Max Luebbe, Niall Richard Murphy, Ramón Medrano Llamas, Richard Bondi, Steven Carstensen, Stephen Thorne, Steven Thurgood, Thomas Wright\n- [Organizational Change Management in SRE:](/workbook/organizational-change/) Dave Rensin, JC Van Winkel, Max Luebbe, Ronen Louvton, Stephen Thorne, Tom Feiner, Tsiki Rosenman\n\nWe are also grateful to the following contributors, who supplied significant expertise or resources, or had some otherwise excellent effect on this work: Caleb Donaldson, Charlene Perez, Evan Leonard, Jennifer Petoff, Juliette Benton, and Lea Miller.\n\nWe very much appreciate the thoughtful and in-depth feedback that we received from industry reviewers: Mark Burgess, David Blank-Edelman, John Looney, Jennifer Davis, Björn Rabenstein, Susan Fowler, Thomas A. Limoncelli, James Meickle, Theo Schlossangle, Jez Humble, Alice Goldfuss, Arup Chakrabarti, John Allspaw, Angus Lees, Eric Liang, Brendan Gregg, and Bryan Liles.\n\nWe would like to extend a special thanks to Shylaja Nukala, who generously committed the time and skills of the SRE Technical Writing Team. She enthusiastically supported their necessary and valued efforts.\n\nThanks also to the O’Reilly Media team—Virginia Wilson, Kristen Brown, Rachel Monaghan, Nikki McDonald, Melanie Yarbrough, and Gloria Lukos—for their help and support making the book a reality in our ambitious timeline.\n\nAnd an extra special thanks to Niall Richard Murphy: despite the fact that he moved on from Google before this book hit the shelves, his continual insights and dedication were crucial for getting a goodly portion of meaningful content over the finish line. His leadership, thoughtfulness, tenacity, and wit are nothing short of inspirational!\n\nFinally, the editors would also like to personally thank the following people:\n\n- *Betsy Beyer:* To Grandmother, my go-to source for encouragement, inspiration, popcorn, pep, and puzzling. You made both this book and my everyday life better! To Duzzie, Hammer, Joan, Kiki, and Mini (note the alphabetical order—ha!) who helped shape me into the obsessive writer slash person I am today. And of course, Riba, for providing the DMD and other provisions necessary to fuel this effort.\n- *Niall Richard Murphy:* To Léan, Oisín, Fiachra, and Kay, north stars. To someone whose protestations of self-interest are entirely out of odds with how he acts. To Sharon, more influential than she knows. To Alex, in a light-filled sitting room, with a cup of tea, a book, a box of dice, and thou.\n- *Stephen Thorne:* To my mum and dad, who have always encouraged me to push myself. To my wife, Elspeth. To my colleagues who have given me more respect and encouragement than I think I deserve: Ola, Štěpán, Perry, and David.\n- *Dave Rensin:* After I wrote my first book, I swore I’d never write another. That was six books ago and I say exactly the same thing each time. To my wife, Lia, who gives me the space to do it and never says “I told you so.” (Even though she tells me so.) To my colleagues at Google—and particularly to the family of SRE—who have taught me more these last few years about production engineering at scale than I had learned in the previous 20. Finally, to Benjamin Treynor Sloss, who interviewed me and convinced me to come to Google in the first place.\n- *Kent Kawahara:* To my parents, Denby and Setsuko, and my Aunt Asako for helping me get to where I am. To my siblings, Randy and Patti, for their support over the years. To my wife, Angela, and my sons, Ryan, Ethan, and Brady, for their love and support. Finally, to the core team of Dave, Betsy, Niall, Juliette, and Stephen, I feel honored to have worked with you on this project.", "znaku_textu": 16468, "slov": 2456, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:25", "sha256": "a681fb02bb4fbeceb37b175f3624c21dea1234d9e66c30b6defffd71243ca8ea", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://charity.wtf/2016/06/30/devops-vs-sre-delayed-coverage-of-the-dumbest-war/", "https://drive.google.com/corp/drive/folders/1t7fO8M3EZFeuu4GmzvStd0TGDI4bDCeb", "https://www.safaribooksonline.com/accounts/login/", "https://shop.oreilly.com/product/0636920132448.do", "https://www.oreilly.com/", "https://facebook.com/oreilly", "https://twitter.com/oreillymedia", "https://www.youtube.com/oreillymedia", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/reaching-beyond/", "titulek": "Google SRE Core Principles. Google's 14 Years of Learnings", "h1": "SRE: Reaching Beyond Your Walls", "popis": "Discover how SRE best practices and SRE core principles guide the evolving journey of reliability engineering - inside and beyond Google | SRE with customers.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/reaching-beyond/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/reaching-beyond/"}, "headline": "SRE: Reaching Beyond Your Walls", "description": "The past two years since the publication of our first SRE book have been especially interesting. The number of companies now practicing the SRE discipline and the amount of time we spend talking about it at conferences and with customers has grown beyond anything we previously imagined.", "author": [{"@type": "Person", "name": "Dave Rensin"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Niall Richard Murphy"}, {"@type": "Person", "name": "Liz Fong-Jones"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE: Reaching Beyond Your Walls"}, {"uroven": 2, "text": "Truths We Hold to Be Self-Evident"}, {"uroven": 5, "text": "Reliability Is the Most Important Feature"}, {"uroven": 5, "text": "Your Users, Not Your Monitoring, Decide Your Reliability"}, {"uroven": 5, "text": "If You Run a Platform, Then Reliability Is a Partnership"}, {"uroven": 5, "text": "Everything Important Eventually Becomes a Platform"}, {"uroven": 5, "text": "When Your Customers Have a Hard Time, You Have to Slow Down"}, {"uroven": 5, "text": "You Will Need to Practice SRE with Your Customers"}, {"uroven": 1, "text": "How to: SRE with Your Customers"}, {"uroven": 5, "text": "Step 1: SLOs and SLIs Are How You Speak"}, {"uroven": 5, "text": "Step 2: Audit the Monitoring and Build Shared Dashboards"}, {"uroven": 5, "text": "Step 3: Measure and Renegotiate"}, {"uroven": 5, "text": "Step 4: Design Reviews and Risk Analysis"}, {"uroven": 5, "text": "Step 5: Practice, Practice, Practice"}, {"uroven": 5, "text": "Be Thoughtful and Disciplined"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# SRE: Reaching Beyond Your Walls\n\nBy Dave Rensin\nwith Betsy Beyer, Niall Richard Murphy, and Liz Fong-Jones\n\nIt has been 14 years since we started practicing SRE at Google. Some of what has come in that time seems obvious in retrospect, while other developments came as something of a shock. The past two years since the publication of [our first SRE book](https://sre.google/sre-book/table-of-contents/) have been especially interesting. The number of companies now practicing the SRE discipline and the amount of time we spend talking about it at conferences and with customers has grown beyond anything we previously imagined.\n\nThat change in particular—the rapid expansion of the non-Google ecosystem around SRE—is the most exciting development, but it makes predicting the future of the SRE profession more difficult. Still, in our own SRE work at Google we are starting to see some trends that might inform an outline of the profession’s future. This chapter represents our effort to share what we, along with our SRE coworkers around the globe, have seen, and what we have concluded so far.\n\n## Truths We Hold to Be Self-Evident\n\nThe only way to make any useful sense of the future is to start with a set of principles and work forward. Some of what follows should be uncontroversial. Other bits, not so much. In every case, though, these principles are based on real things [we’re seeing in the world](https://www.usenix.org/conference/srecon17americas/program/presentation/rensin).\n\n##### Reliability Is the Most Important Feature\n\nPeople don’t normally disagree much with us when we assert that “reliability is the most important feature of any system”—as long as we take care to point out that “reliability” often covers a wide area.\n\nThe argument is simple enough:\n\n- If a system isn’t reliable, users won’t trust it.\n- If users don’t trust a system, when given a choice, they won’t use it.\n- Since all software systems are governed by network effects, if a system has no users, it’s worth nothing.\n- You are what you measure, so choose your metrics carefully.\n\n##### Your Users, Not Your Monitoring, Decide Your Reliability\n\nSince the value of a system is related to its users, it stands to reason that the only measure of reliability that matters is how your users experience reliability. If your user is worried that your platform is responsible for instability they’re experiencing, then telling them “our monitoring looks fine; the problem must be on your end” won’t make them any less grumpy. They’re experiencing your system as unstable, and that’s what they will remember when the time comes to choose between you and your competitor. (This phenomenon is called the [peak-end rule](https://en.wikipedia.org/wiki/Peak%E2%80%93end_rule).)\n\nYour monitoring, logs, and alerting are valuable only insofar as they help you notice problems before your customers do.\n\n##### If You Run a Platform, Then Reliability Is a Partnership\n\nIf the only way for someone to use your system is via a visual user interface (e.g., a web page) and your system is consumed only by actual human beings (as opposed to machines), then the reliability your users experience is almost exclusively tied to the job you do as an SRE keeping your system healthy.\n\nHowever, once you add an API and some of your “users” are actually other machines, you are running a platform and the rules change.\n\nWhen your product acts as a platform, the reliability your users experience isn’t limited to the choices you make. Reliability becomes a partnership. If your users build or operate a system on your platform that never achieves better than 99% availability—even if you’re running your platform at 99.999% availability—then their [best-case experience](https://cacm.acm.org/magazines/2017/9/220426-the-calculus-of-service-availability/fulltext) is 98.99901%.\n\nThe choices these users make directly affect the experience they have and associate with your service. You might not like it, but they will hold you accountable for whatever they experience—even if it’s not “your fault.”\n\n##### Everything Important Eventually Becomes a Platform\n\nSince the value of your system increases with the number of people using it, you will want to find ways to reach other large established user pools. As you attract more users, other software systems will want to reach your audience, too.\n\nThis is when other companies start making their machines talk to your machines via APIs. If your system is even remotely popular, integration is an inevitable step in your evolution.\n\nEven if you decide that you don’t care about other user communities, and decide to never create a machine-consumable API, you still won’t be able to avoid this future. Other people will simply [wrap](https://en.wikipedia.org/wiki/Data_scraping#Screen_scraping) your UI into a machine API and consume it. The only difference is that you’ll have no control over the outcome.\n\nOnce your system becomes a gateway to a large collection of users, it becomes valuable. APIs—official or unofficial—will be a part of your future.\n\n##### When Your Customers Have a Hard Time, You Have to Slow Down\n\nWhen your customers have a hard time, their frustration turns into friction for you. Even if you don’t have traditional modes of support (trouble tickets, email, phone, etc.), you will still spend time triaging questions and responding to complaints via StackOverflow, or even Twitter, Facebook, and other social platforms.\n\nWhatever energy you put into helping users past their difficult moments is energy you can’t invest in advancing your system. We have seen many teams (and companies) allow their time to be slowly absorbed by break/fix customer problems—leaving an ever-diminishing innovation budget. These teams are consumed by toil.\n\nOnce in this state, it’s hard to dig out (see [Eliminating Toil](/workbook/eliminating-toil/)). A better plan is to get ahead of the impending toil. You might be reading this and thinking, Gee, I’m on an internal platform team. This doesn’t apply to me!\n\nWe’re sorry to inform you that this doubly applies to you! In your case, your customers are the consumers of your system within your company.\n\nThis leads us to the next conclusion.\n\n##### You Will Need to Practice SRE with Your Customers\n\nIf you want your customers to design and operate reliable systems using your platform, you have to teach them how to do it. Yes, this includes your internal customers, too. Just because you work on an internal platform team doesn’t mean you escape this dynamic—in fact, you’re likeliest to run into it first.\n\nEven if you could perfectly distill that information into highly scaled one-to-many forms (books, blog posts, architecture diagrams, videos, etc.), you still need a way to figure out what content and training to include. As you grow and improve your platform, those lessons will change. You will always need a way to keep these resources from getting stale.\n\nThe best way to learn these lessons is to “do SRE” with your customers.\n\nThat doesn’t necessarily mean you need to take the pagers for your customers’ systems, but you do need to undertake most of the work that normally leads up to pager handoff (meaning the system has met certain minimum viable reliability requirements), with at least a representative sample of your users.\n\n# How to: SRE with Your Customers\n\nThe idea of walking an SRE journey with your customers might seem a little daunting. You’re probably reading this book because you’re not entirely sure how to walk it yourself! No worries. It’s possible to do both at the same time. In fact, the former can help you accelerate the latter.\n\nHere are the steps we like to follow. They work pretty well for us, and we think they’ll be useful for you, too.\n\n##### Step 1: SLOs and SLIs Are How You Speak\n\nYou want your customers to perceive your system as reliable. Otherwise, you risk losing them. It stands to reason, therefore, that you should care a lot about how they form those opinions. What do they measure? How do they measure it? Most importantly, what [promises](https://shop.oreilly.com/product/0636920036289.do) are they making to their customers?\n\nYour life will be a lot better if your customers measure SLIs and [alert on SLOs](https://sre.google/sre-book/monitoring-distributed-systems/), and if they share those measurements with you. Otherwise, you will spend a lot of energy in conversations like this:\n\n- *Customer:* API call X usually takes time T, but now it’s taking time U. I think you are having a problem. Please look into it and get back to me immediately.\n- *You:* That performance seems in line with what we expect, and everything looks fine on our end. Is it a problem if API call X takes this long?\n- *Customer:* I don’t know. It doesn’t usually take this long, so obviously something has changed and we’re worried about it.\n\nThis conversation will go round in circles and never reach a satisfactory answer. You will either spend a lot of time convincing your customer that they shouldn’t care, or you will spend a lot of time root-causing the change so you can convince your customer they shouldn’t care. In either case, you’re spending a lot of effort that you could be using elsewhere.\n\nThe root cause of this problem is that the customer isn’t using SLOs to figure out if they should care about the performance they’re seeing. They’re just noticing an unexpected change and deciding to worry about it. Remember, in the absence of a stated SLO, your customer will inevitably invent one and not tell you until you don’t meet it! You’d much rather have this conversation:\n\n- *Customer:* We’re burning through our SLO for application FOO too quickly and the application is in jeopardy. SLIs X and Y seem to have fallen off a cliff. They both depend on your API X.\n- *You:* Okay. Let me look into how API X is performing in our system and/or how it’s performing specific to you.\n\nThat’s a much more productive conversation because (a) it will happen only when the SLO is threatened, and (b) it relies on mutually understood metrics (SLIs) and targets (SLOs).\n\nIf you’re running your systems using SRE practices, then you are speaking SLOs internally. Your life will be better and your customers will be happier if they are speaking SLOs, too, because it makes it easier for the two of you to talk.\n\nWe recommend a simple exercise to make your working relationship with a customer a lot better: sit down with your customer. Explain SLOs, SLIs, and error budgets—and especially how you practice them in your teams. Then help them describe the critical applications they’ve built on your platform in those terms.\n\n##### Step 2: Audit the Monitoring and Build Shared Dashboards\n\nOnce your customers have picked some basic SLOs for their application, the next question is if they are [measuring the right things](https://cloud.google.com/blog/products/gcp/available-or-not-that-is-the-question-cre-life-lessons) to determine whether or not they’re meeting those goals. You should help them figure out if the measurements they’re using are appropriate.\n\nIn our experience, up to half of the things your customer is measuring (and alerting on) have zero impact on their SLOs. Your life will be better when you point this out to them and they turn off the offending alerting. It will mean fewer pages for them, and for you!\n\nThe remaining measurements are useful candidate SLIs. Help your customer assemble those measurements to calculate their SLOs.\n\nOnce you begin this exercise, you’ll quickly find that parts of the SLOs are uncovered—there aren’t relevant measurements in place to say anything useful about these dimensions. You should help your customer cover these parts of their SLOs, too.\n\nNow, your customers can start to say something about their application’s SLO performance on your platform.\n\nFinally, build a set of shared SLO dashboards with your customer. You should be able to see their application SLOs, and you should share any information you have that’s relevant to how they’re experiencing your system performance. Your goal is that whenever your customer contacts you because their SLO seems threatened, you shouldn’t have to swap much additional information. All of that information should be in the shared monitoring.\n\n##### Step 3: Measure and Renegotiate\n\nOnce you sort the measurements out, you should collect data for a month or two. Be prepared for the likelihood that your customer is in for a rude awakening. The application they thought was operating at “five 9s” (99.999%; everybody thinks they’re getting five 9s) is probably achieving only 99.5%–99.9% when measured against their shiny new SLOs.\n\nAfter the initial shock wears off, this is a great time to point out that their users aren’t yelling all the time, so they probably never needed the five 9s they haven’t really been getting.\n\nThe key question is, how satisfied are their users with the application’s performance? If their users are happy, and there’s no evidence that improving performance or availability will increase user adoption/retention/usage, then you’re done. You should periodically ask yourself this question to make sure that your budgets and priorities are still correct. (See [Implementing SLOs](/workbook/implementing-slos/) for a more in-depth treatment of this topic.)\n\nIf the customer thinks they still need to make things a little better, move on to the next step.\n\n##### Step 4: Design Reviews and Risk Analysis\n\nSit down with your customer and really understand how their application is designed and operated. Do they have any hidden single point of failures (SPOFs)? Are their rollouts and rollbacks manual? Basically, conduct the same exercise you conduct for your own internal applications.\n\nNext, rank the issues you find by how much of their error budget each item consumes. (Read more about how to do that [on the Google Cloud Platform Blog](https://cloud.google.com/blog/products/gcp/know-thy-enemy-how-to-prioritize-and-communicate-risks-cre-life-lessons).) Pay attention to which items your customer chooses to fix in order to “earn back the 9s” they want (e.g., to move from 99.5% to 99.9%).\n\nWhat you learn from these reviews will tell you:\n\n- How your customers consume your platform\n- What reliability mistakes they make when doing so\n- Which tradeoffs they choose when trying to improve\n\nThis exercise will also help your customer set realistic expectations around the reliability they should experience with their current application. Their expectations will affect their perceptions, so setting them appropriately can only be helpful in earning and keeping their trust.\n\n##### Step 5: Practice, Practice, Practice\n\nThe final step is to create some operational rigor with your customer. Practice simulated problems (Wheel of Misfortune exercises, [disaster and recovery testing](https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan), paper game days, etc.).\n\nDevelop a healthy muscle memory between the teams for effective ways to communicate during a crisis. It’s a great way to build trust, lower the MTTR, and learn about weird operational edge cases that you can integrate as enhancements into your platform features.\n\nWhen an incident does occur, don’t just share your postmortems with your customer. Actually conduct some [joint postmortems](https://cloud.google.com/blog/products/gcp/fearless-shared-postmortems-cre-life-lessons). Doing so will also build trust and teach you some invaluable lessons.\n\n##### Be Thoughtful and Disciplined\n\nIt will quickly become impossible to carry out these steps with more than a small percentage of your customers. Please don’t try extending this model to everyone. Instead, make some principled decisions about how you will make selections. Here are some common approaches:\n\nRevenue coverage\n\n- Select the minimum number of customers to account for XX% of your revenue. If your revenue is heavily weighted to a few large customers, then this might be the right choice for you.\n\nFeature coverage\n\n- Select the minimum number of customers to cover more than XX% of your platform features. If you run a highly diverse platform with a long tail of customers doing a lot of different things, then this approach will help you avoid surprises.\n\nWorkload coverage\n\n- Your platform’s usage may be dominated by a few distinct use cases or customer types. Perhaps no individual customer in those types is dominant, but you can easily group them into cohorts. In that case, sampling one or two customers from each cohort is a good way to get platform coverage and discover operational differences between the use cases.\n\nWhatever approach you choose, stick to it. Mixing and matching will confuse your stakeholders and quickly overwhelm your team.\n\n# Conclusion\n\nOver the last few years, the SRE profession and role has spread widely outside the walls of Google. Although we never expected this, we are nonetheless thrilled by it. We might be able to say something credible about how we think the discipline will evolve inside Google, but in the wild—well, that’s an [“uncomfortably exciting” proposition](https://googlepress.blogspot.com/2009/05/larry-pages-university-of-michigan.html).\n\nOne thing we feel pretty sure about is that as you adopt SRE principles into your organization, you will cross many of the same inflection points we did (and some we have not!)—including the need to blur the lines more between where your customers end and where you start.\n\nEngaging with individual customers at this level of operational depth is a rewarding new frontier for us, and we’re still very much on the path. (You can follow along online at the [Google Cloud Platform Blog](https://cloud.google.com/blog/products/cre).) The further we go, however, the more certain we are that this is a journey that you, too, will need to take.", "znaku_textu": 17674, "slov": 2844, "odkazu": 50, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:46", "sha256": "364a149c74677ed59b8626c0a399fd825a9193a0862e9499113865d89d19de2c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.usenix.org/conference/srecon17americas/program/presentation/rensin", "https://en.wikipedia.org/wiki/Peak%E2%80%93end_rule", "https://cacm.acm.org/magazines/2017/9/220426-the-calculus-of-service-availability/fulltext", "https://en.wikipedia.org/wiki/Data_scraping", "https://shop.oreilly.com/product/0636920036289.do", "https://cloud.google.com/blog/products/gcp/available-or-not-that-is-the-question-cre-life-lessons", "https://cloud.google.com/blog/products/gcp/know-thy-enemy-how-to-prioritize-and-communicate-risks-cre-life-lessons", "https://www.usenix.org/conference/lisa15/conference-program/presentation/krishnan", "https://cloud.google.com/blog/products/gcp/fearless-shared-postmortems-cre-life-lessons", "https://googlepress.blogspot.com/2009/05/larry-pages-university-of-michigan.html", "https://cloud.google.com/blog/products/cre", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/simplicity/", "titulek": "Google SRE - Understanding Cyclomatic Complexity in Software", "h1": "Measuring Complexity", "popis": "Explore how cyclomatic complexity measures code paths and influences simplicity in software systems. Learn practical approaches for SREs to manage complexity.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/simplicity/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/simplicity/"}, "headline": "Simplicity", "description": "Simplicity is an important goal for SREs, as it strongly correlates with reliability: simple software breaks less often and is easier and faster to fix when it does break. Simple systems are easier to understand, easier to maintain, and easier to test.", "image": "https://lh3.googleusercontent.com/DwINwDuDWN0vDJzAXjFPFu7OvB9CmrCKifVPQET9kNTfIMPYuVCR5YeTuGaEkJZ0C0MHXYsiwS_rF6zG-elIKp5zaXP2-5AvCd7s6Q", "author": [{"@type": "Person", "name": "John Lunney"}, {"@type": "Person", "name": "Robert van Gent"}, {"@type": "Person", "name": "Scott Ritchie"}, {"@type": "Person", "name": "Diane Bates"}, {"@type": "Person", "name": "Niall Richard Murphy"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 2, "text": "Simplicity"}, {"uroven": 1, "text": "Measuring Complexity"}, {"uroven": 1, "text": "Simplicity Is End-to-End, and SREs Are Good for That"}, {"uroven": 5, "text": "Case Study 1: End-to-End API Simplicity"}, {"uroven": 6, "text": "Background"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 5, "text": "Case Study 2: Project Lifecycle Complexity"}, {"uroven": 6, "text": "Background"}, {"uroven": 6, "text": "What we decided to do"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 1, "text": "Regaining Simplicity"}, {"uroven": 6, "text": "Background"}, {"uroven": 6, "text": "What we decided to do"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 5, "text": "Case Study 4: Running Hundreds of Microservices on a Shared Platform"}, {"uroven": 6, "text": "Background"}, {"uroven": 6, "text": "What we decided to do"}, {"uroven": 6, "text": "Design"}, {"uroven": 6, "text": "Outcomes"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 5, "text": "Case Study 5: pDNS No Longer Depends on Itself"}, {"uroven": 6, "text": "Background"}, {"uroven": 6, "text": "Problem statement"}, {"uroven": 6, "text": "What we decided to do"}, {"uroven": 6, "text": "Lessons learned"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "## Simplicity\n\nBy John Lunney, Robert van Gent, and Scott Ritchie\nwith Diane Bates and Niall Richard Murphy\n\n> A complex system that works is invariably found to have evolved from a simple system that worked.\n> \n> [Gall’s Law](https://en.wikipedia.org/wiki/John_Gall_(author))\n\nSimplicity is an important goal for SREs, as it strongly correlates with reliability: simple software breaks less often and is easier and faster to fix when it does break. Simple systems are easier to understand, easier to maintain, and easier to test.\n\nFor SREs, simplicity is an end-to-end goal: it should extend beyond the code itself to the system architecture and the tools and processes used to manage the software lifecycle. This chapter explores some examples that demonstrate how SREs can measure, think about, and encourage simplicity.\n\n# Measuring Complexity\n\nMeasuring the [complexity of software systems](https://sre.google/sre-book/simplicity/) is not an absolute science. There are a number of ways to measure software code complexity, most of which are quite objective.1 Perhaps the best-known and most widely available standard is [cyclomatic code complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity), which measures the number of distinct code paths through a specific set of statements. For example, a block of code with no loops or conditionals has a cyclomatic complexity number (CCN) of 1. The software community is actually quite good at measuring code complexity, and there are measurement tools for a number of integrated development environments (including Visual Studio, Eclipse, and IntelliJ). We’re less adept at understanding whether the resulting measured complexity is necessary or accidental, how the complexity of one method might influence a larger system, and which approaches are best for refactoring.\n\nOn the other hand, formal methodologies for measuring system complexity are rare.2 You might be tempted to try a CCN-type approach of counting the number of distinct entities (e.g., microservices) and possible communication paths between them. However, for most sizable systems, that number can grow hopelessly large very quickly.\n\nSome more practical proxies for systems-level complexity include:\n\nTraining time\n\n- How long does it take a new team member to go on-call? Poor or missing documentation can be a significant source of subjective complexity.\n\nExplanation time\n\n- How long does it take to explain a comprehensive high-level view of the service to a new team member (e.g., diagram the system architecture on a whiteboard and explain the functionality and dependencies of each component)?\n\nAdministrative diversity\n\n- How many ways are there to configure similar settings in different parts of the system? Is configuration stored in a centralized place, or in multiple locations?\n\nDiversity of deployed configurations\n\n- How many unique configurations are deployed in production (including binaries, binary versions, flags, and environments)?\n\nAge\n\n- How old is the system? [Hyrum’s Law](https://www.hyrumslaw.com/) states that over time, the users of an API depend on every aspect of its implementation, resulting in fragile and unpredictable behaviors.\n\nWhile measuring complexity is occasionally worthwhile, it’s difficult. However, there seems to be no serious opposition to the observations that:\n\n- In general, complexity will increase in living software systems unless there is a countervailing effort.\n- Providing that effort is a worthwhile thing to do.\n\n# Simplicity Is End-to-End, and SREs Are Good for That\n\nGenerally, production systems are not designed in a holistic fashion; rather, they grow organically. They accumulate components and connections over time as teams add new features and launch new products. While a single change might be relatively simple, every change impacts the components around it. Therefore, overall complexity can quickly become overwhelming. For example, adding retries in one component might overload a database and destabilize the whole system, or make it harder to reason about the path a given query follows through the system.\n\nFrequently, the cost of complexity does not directly affect the individual, team, or role that introduces it—in economic terms, complexity is an externality. Instead, complexity impacts those who continue to work in and around it. Thus, it is important to have a champion for [end-to-end system simplicity](https://sre.google/workbook/configuration-design/).\n\nSREs are a natural fit for this role because their work requires them to treat the system as a whole.3 In addition to supporting their own services, SREs must also have insight into the systems their service interacts with. Google’s product development teams often don’t have visibility on production-wide issues, so they find it valuable to consult SREs for advice on the design and operation of their systems.\n\nIn our experience, product developers usually end up working in a narrow subsystem or component. As a result, they don’t have a mental model for the overall system, and their teams don’t create system-level architecture diagrams. These diagrams are useful because they help team members visualize system interactions and articulate issues using a common vocabulary. More often than not, we find the SRE team for the service draws the system-level architecture diagrams.\n\n##### Case Study 1: End-to-End API Simplicity\n\n###### Background\n\nIn a previous role, one of the chapter authors worked at a startup that used a key/value `bag` data structure in its core libraries. RPCs (remote procedure calls) took a `bag` and returned a `bag`; actual parameters were stored as key/value pairs inside the `bag`. The core libraries supported common operations on `bag`s, such as serialization, encryption, and logging. All of the core libraries and APIs were extremely simple and flexible—success, right?\n\nSadly, no: the clients of the libraries ended up paying a penalty for the abstract nature of the core APIs. The set of keys and values (and value types) needed to be carefully documented for each service, but usually weren’t. In addition, maintaining backward/forward compatibility became difficult as parameters were added, removed, or changed over time.\n\n###### Lessons learned\n\nStructured data types like [Google’s Protocol Buffers](https://developers.google.com/protocol-buffers/) or [Apache Thrift](https://thrift.apache.org/) might seem more complex than their abstract general-purpose alternatives, but they result in simpler end-to-end solutions because they force upfront design decisions and documentation.\n\n##### Case Study 2: Project Lifecycle Complexity\n\nWhen you review the tangled spaghetti of your existing system, it might be tempting to replace it wholesale with a new, clean, simple system that solves the same problem. Unfortunately, the cost of creating a new system while maintaining the current one might not be worthwhile.\n\n###### Background\n\n[Borg](https://ai.google/research/pubs/pub43438) is Google’s internal container management system. It runs huge numbers of Linux containers and has a wide variety of usage patterns: batch versus production, pipelines versus servers, and more. Over the years, Borg and its surrounding ecosystem grew as hardware changed, features were added, and its scale increased.\n\n[Omega](https://ai.google/research/pubs/pub41684) was intended to be a more principled, cleaner version of Borg that supported the same use cases. However, the planned switch from Borg to Omega had a few serious problems:\n\n- Borg continued to evolve as Omega was developed, so Omega was always chasing a moving target.\n- Early estimates of the difficulty of improving Borg proved overly pessimistic, while the expectations for Omega proved overly optimistic (in practice, the grass isn’t always greener).\n- We didn’t fully appreciate how difficult it would be to migrate from Borg to Omega. Millions of lines of configuration code across thousands of services and many SRE teams meant that the migration would be extremely costly in terms of engineering and calendar time. During the migration period, which would likely take years, we’d have to support and maintain both systems.\n\n###### What we decided to do\n\n[Eventually](https://sreworkbook.page.link/6DtX), we fed some of the ideas that emerged while designing Omega back into Borg. We also used many of Omega’s concepts to jump-start [Kubernetes](https://kubernetes.io/), an open source container management system.\n\n###### Lessons learned\n\nWhen considering a rewrite, think about the full project lifecycle, including development toward a moving target, a full migration plan, and extra costs you might incur during the migration time window. Wide APIs with lots of users are very hard to migrate. Don’t compare the expected result to your current system. Instead, compare the expected result to what your current system would look like if you invested the same effort in improving it. Sometimes a rewrite is the best way forward, but make sure you’ve weighed the costs and benefits and that you don’t underestimate the costs.\n\n# Regaining Simplicity\n\nMost simplification work consists of removing elements from a system. Sometimes simplification is direct (e.g., removing a dependency on an unused piece of data fetched from a remote system). Other times, simplification requires redesign. For example, two parts of a system might need access to the same remote data. Rather than fetch it twice, a simpler system might fetch the data once and forward the result.\n\nWhatever the work, leadership must ensure that simplification efforts are celebrated and explicitly prioritized. Simplification is efficiency—instead of saving compute or network resources, it saves engineering time and cognitive load. Treat successful simplification projects just as you treat useful feature launches, and measure and celebrate code addition and removal equally.4 For example, Google’s intranet displays a “Zombie Code Slayer” badge for engineers that delete significant amounts of code.\n\nSimplification is a feature. You need to prioritize and staff simplification projects and reserve time for SREs to work on them. If product developers and SREs do not see simplification projects as beneficial to their careers, they won’t undertake these projects. Consider making simplicity an explicit goal for particularly complex systems or overloaded teams. Create a separate bucket of time to do this work. For example, reserve 10% of engineering project time for “simplicity” projects.5\n\nAs a system grows in complexity, there is a temptation to split SRE teams, focusing each new team on smaller parts of the system. While this is sometimes necessary, the reduced scope of the new teams might lessen their motivation or ability to drive larger simplification projects. Consider designating a small rotating group of SREs who maintain working knowledge of the entire stack (likely with less depth), and can push for conformity and simplification across it.\n\nAs previously mentioned, the act of diagramming your system can help you identify deeper design problems that hinder your ability to understand the system and predict its behavior. For example, when diagramming your system, you might look for the following:\n\nAmplification\n\n- When a call returns an error or times out and is retried on several levels, it causes the total number of RPCs to multiply.\n\nCyclic dependencies\n\n- When a component depends on itself (often indirectly), system integrity can be gravely compromised—in particular, a cold start of the whole system might become impossible.\n\n###### Background\n\nGoogle’s Display Ads business has many related products, including some that originated from acquisitions (DoubleClick, AdMob, Invite Media, etc.). These products had to be adapted to work with Google infrastructure and existing products. For example, we wanted a website using DoubleClick for Publishers to be able to show ads chosen by Google’s AdSense; similarly, we wanted bidders using DoubleClick Bid Manager to have access to the real-time auctions run on Google’s Ad Exchange.\n\nThese independently developed products formed a system of interconnected backends that was difficult to reason about. Observing what happened to traffic as it passed through components was difficult, and provisioning the right amount of capacity for each piece was inconvenient and imprecise. At one point, we added tests to make sure we had removed all infinite loops in the query flow.\n\n###### What we decided to do\n\nAds serving SREs were the natural drivers for standardization: while each component had a specific developer team, SREs were on-call for the entire stack. One of our first undertakings was to draft uniformity standards and work with developer teams to incrementally adopt them. These standards:\n\n- Established a single way to copy large data sets\n- Established a single way to perform external data lookups\n- Provided common templates for monitoring, provisioning, and configuration\n\nBefore this initiative, separate programs provided frontend and auction functionality for each product. As shown in Figure 7-1, when an ad request might hit two targeting systems, we rewrote the request to meet the expectations of the second system. This required additional code and processing, and it also opened the possibility of undesirable loops.\n\nFigure 7-1. Previously, an ad request might hit both the AdMob and AdSense systems\n\nTo [simplify the system](https://sre.google/sre-book/simplicity/), we added logic to common programs that satisfied all of our use cases, along with flags to guard the programs. Over time, we removed the flags and consolidated the functionality into fewer server backends.\n\nOnce the servers were unified, the auction server could talk to both targeting servers directly. As shown in Figure 7-2, when multiple targeting servers needed data lookups, the lookup needed to happen only once in the unified auction server.\n\nFigure 7-2. The unified auction server now performs a data lookup only once\n\n###### Lessons learned\n\nIt’s best to integrate an already running system into your own infrastructure incrementally.\n\nJust as the presence of very similar functions in a single program represents a “code smell” that indicates deeper design problems, redundant lookups in a single request represent a “system smell.”\n\nWhen you create well-defined standards with buy-in from SRE and developers, you can provide a clear blueprint for removing complexity that managers are more likely to endorse and reward.\n\n##### Case Study 4: Running Hundreds of Microservices on a Shared Platform\n\nby Mike Curtis\n\n###### Background\n\nOver the past 15 years, Google has developed multiple successful product verticals (Search, Ads, and Gmail, to name a few) and produced a steady stream of new and refactored systems. Many of these systems have a dedicated SRE team and a corresponding domain-specific production stack that includes a bespoke development workflow, continuous integration and continuous delivery (CI/CD) software cycles, and monitoring. These unique production stacks incur significant overhead in terms of maintenance, development costs, and independent SRE engagement. They also make it harder to move services (or engineers!) between teams, or to add new services.\n\n###### What we decided to do\n\nA set of SRE teams in the social networking space worked to converge the production stacks for their services into a single managed microservices platform, managed by a single group of SREs. The shared platform is compliant with best practices, and it bundles and automatically configures many previously underused features that improve reliability and facilitate debugging. Regardless of their SRE engagement level, new services within the scope of the SRE team were required to use the common platform, and legacy services had to either migrate to the new platform or be phased out.\n\nAfter its success in the social network space, the shared platform is gaining adoption with other SRE and non-SRE teams across Google.\n\n###### Design\n\nWe used microservices so we could quickly update and deploy features—a single monolithic service changes slowly. Services are managed, not hosted: rather than removing control and responsibility from individual teams, we empower them to manage their services effectively themselves. We provide workflow tools that service teams can use to release, monitor, and more.\n\nThe tools we provide include a UI, API, and a command-line interface that SREs and developers use to interact with their stack. The tools make the developer experience feel unified, even when it involves many underlying systems.\n\n###### Outcomes\n\nThe platform’s high quality and feature set had an unexpected benefit: developer teams can run hundreds of services without any deep SRE engagement.\n\nThe common platform also changed the SRE-developer relationship. As a result, tiered SRE engagement is becoming common at Google. Tiered engagement includes a spectrum of SRE involvement, ranging from light consulting and design reviews to deep engagement (i.e., SREs share on-call duties).\n\n###### Lessons learned\n\nShifting from sparse or ill-defined standards to a highly standardized platform is a long-term investment. Each step might feel incremental, but ultimately, these steps reduce overhead and make running services at scale possible.\n\nIt’s important that developers see the value in such a transition. Aim for incremental productivity wins that are unlocked at each stage of development. Don’t try to convince people to perform a huge refactor that pays off only at the very end.\n\n##### Case Study 5: pDNS No Longer Depends on Itself\n\n###### Background\n\nWhen a client in Google production wants to look up the IP address for a service, it often uses a lookup service called Svelte. In the past, to find the IP address for Svelte, the client used a Google naming service called pDNS (Production DNS). The pDNS service is accessed through a load balancer, which looks up the IP addresses for the actual pDNS servers…using Svelte.\n\n###### Problem statement\n\npDNS had a transitive dependency on itself, which was unintentionally introduced at some point and only later identified as a reliability concern. Lookups normally didn’t run into issues because the pDNS service is replicated, and the data needed to break out of the dependency loop was always available somewhere in Google production. However, a cold start would have been impossible. In the words of one SRE, “We were like cave dwellers who could only light fires by running with a torch lit from the last campfire.”\n\n###### What we decided to do\n\nWe modified a low-level component in Google production to maintain a list of current IP addresses for nearby Svelte servers in local storage for all Google production machines. In addition to breaking the circular dependency described earlier, this change also eliminated an implicit dependency on pDNS for most other Google services.\n\nTo avoid similar issues, we also introduced a method for whitelisting the set of services allowed to communicate with pDNS, and slowly worked to reduce that set. As a result, each service lookup in production now has a simpler and more reliable path through the system.\n\n###### Lessons learned\n\nBe careful about your service’s dependencies—use an explicit whitelist to prevent accidental additions. Also, be on the lookout for circular dependencies.\n\n# Conclusion\n\nSimplicity is a natural goal for SREs because simple systems tend to be reliable and easy to run. It’s not easy to quantitatively measure simplicity (or its inverse, complexity) for distributed systems, but there are reasonable proxies, and it’s worth picking some and working to improve them.\n\nBecause of their end-to-end understanding of a system, SREs are in an excellent position to identify, prevent, and fix sources of complexity, whether they are found in software design, system architecture, configuration, deployment processes, or elsewhere. SREs should be involved in design discussions early on to provide their unique perspective about the costs and benefits of alternatives, with a particular eye toward simplicity. SREs can also proactively develop standards to homogenize production.\n\nAs an SRE, pushing for simplicity is an important part of your job description. We strongly recommend that SRE leadership empower SRE teams to push for simplicity, and to explicitly reward these efforts. Systems inevitably creep toward complexity as they evolve, so the fight for simplicity requires continuous attention and commitment—but it is very much worth pursuing.\n\n1If you’re interested in learning more, read this recent [review](https://arxiv.org/abs/1608.01533) of trends in software complexity, or read Horst Zuse, Software Complexity: Measures and Methods (Berlin: Walter de Gruyter, 1991).\n\n2Although there are examples of it—for example, [“Automated Formal Reasoning about AWS Systems”](https://www.slideshare.net/mobile/AmazonWebServices/aws-reinvent-2016-automated-formal-reasoning-about-aws-systems-sec401).\n\n3As a result, SRE may be a useful investment for product development leads who wish to attack complexity as a proxy for technical debt, but find it hard to justify that work within the scope of their existing team.\n\n4As Dijkstra [said](https://en.wikiquote.org/wiki/Edsger_W._Dijkstra), “If we wish to count lines of code, we should not regard them as ‘lines produced’ but as ‘lines spent.’”\n\n5Reserving some portion of time for simplicity projects (10%, for example) doesn’t mean the team has a green light to introduce complexity with the other 90%. It just means you are setting aside some effort with the specific goal of simplification.", "znaku_textu": 21479, "slov": 3275, "odkazu": 63, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:33", "sha256": "55f8199630679692c3f10aaedd91086faadf3cf31a430a6aeb525c6576a0e046", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/John_Gall_(author)", "https://en.wikipedia.org/wiki/Cyclomatic_complexity", "https://www.hyrumslaw.com/", "https://developers.google.com/protocol-buffers/", "https://thrift.apache.org/", "https://ai.google/research/pubs/pub43438", "https://ai.google/research/pubs/pub41684", "https://sreworkbook.page.link/6DtX", "https://kubernetes.io/", "https://arxiv.org/abs/1608.01533", "https://www.slideshare.net/mobile/AmazonWebServices/aws-reinvent-2016-automated-formal-reasoning-about-aws-systems-sec401", "https://en.wikiquote.org/wiki/Edsger_W._Dijkstra", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/slo-document/", "titulek": "Google SRE - SLO Documnets: Game Services API, HTTP, Score", "h1": "Example SLO Document", "popis": "Example of SLO document detailing SLO for API, HTTP server, and score pipeline with metrics on availability, latency, and correctness.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/slo-document/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/slo-document/"}, "headline": "Example SLO Document", "description": "The Example Game Service allows Android and iPhone users to play a game with each other. The app runs on users' phones, and moves are sent back to the API via a REST API.", "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "Example SLO Document"}, {"uroven": 5, "text": "Service Overview"}, {"uroven": 5, "text": "SLIs and SLOs"}, {"uroven": 5, "text": "Rationale"}, {"uroven": 5, "text": "Error Budget"}, {"uroven": 5, "text": "Clarifications and Caveats"}], "markdown": "# Example SLO Document\n\nThis document describes the SLOs for the Example Game Service.\n\n| Status | Published |\n| --- | --- |\n| Author | Steven Thurgood |\n| Date | 2018-02-19 |\n| Reviewers | David Ferguson |\n| Approvers | Betsy Beyer |\n| Approval Date | 2018-02-20 |\n| Revisit Date | 2019-02-01 |\n\n##### Service Overview\n\nThe Example Game Service allows Android and iPhone users to play a game with each other. The app runs on users’ phones, and moves are sent back to the API via a REST API. The data store contains the states of all current and previous games. A score pipeline reads this table and generates up-to-date league tables for today, this week, and all time. League table results are available in the app, via the API, and also on a public HTTP server.\n\nThe SLO uses a four-week rolling window.\n\n##### SLIs and SLOs\n\n| Category | SLI | SLO |\n| --- | --- | --- |\n| *API* | | |\n| Availability | The proportion of successful requests, as measured from the load balancer metrics. Any HTTP status other than 500–599 is considered successful. `count of \"api\" http_requests which\n\n do not have a 5XX status code\n\n divided by\n\n count of all \"api\" http_requests` | 97% success |\n| Latency | The proportion of sufficiently fast requests, as measured from the load balancer metrics. “Sufficiently fast” is defined as < 400 ms, or < 850 ms. `count of \"api\" http_requests with\n\n a duration less than or equal to\n\n \"0.4\" seconds\n\n divided by\n\n count of all \"api\" http_requests` `count of \"api\" http_requests with\n\n a duration less than or equal to\n\n \"0.85\" seconds\n\n divided by\n\n count of all \"api\" http_requests` | 90% of requests < 400 ms 99% of requests < 850 ms |\n| *HTTP server* | | |\n| Availability | The proportion of successful requests, as measured from the load balancer metrics. Any HTTP status other than 500–599 is considered successful. `count of \"web\" http_requests which\n\n do not have a 5XX status code\n\n divided by\n\n count of all \"web\" http_requests` | 99% |\n| Latency | The proportion of sufficiently fast requests, as measured from the load balancer metrics. “Sufficiently fast” is defined as < 200 ms, or < 1,000 ms. `count of \"web\" http_requests with\n\n a duration less than or equal to\n\n \"0.2\" seconds\n\n divided by\n\n count of all \"web\" http_requests` `count of \"web\" http_requests with\n a duration less than or equal to\n \"1.0\" seconds\n divided by\n count of all \"web\" http_requests` | 90% of requests < 200 ms 99% of requests < 1,000 ms |\n| *Score pipeline* | | |\n| Freshness | The proportion of records read from the league table that were updated recently. “Recently” is defined as within 1 minute, or within 10 minutes. Uses metrics from the API and HTTP server: `count of all data_requests for\n\n \"api\" and \"web\" with freshness\n\n less than or equal to 1 minute\n\n divided by\n\n count of all data_requests` `count of all data_requests for\n\n \"api\" and \"web\" with freshness\n\n less than or equal to 10 minutes\n\n divided by\n\n count of all data_requests` | 90% of reads use data written within the previous 1 minute. 99% of reads use data written within the previous 10 minutes. |\n| Correctness | The proportion of records injected into the state table by a correctness prober that result in the correct data being read from the league table. A correctness prober injects synthetic data, with known correct outcomes, and exports a success metric: `count of all data_requests which\n\n were correct\n\n divided by\n\n count of all data_requests` | 99.99999% of records injected by the prober result in the correct output. |\n| Completeness | The proportion of hours in which 100% of the games in the data store were processed (no records were skipped). Uses metrics exported by the score pipeline: `count of all pipeline runs that\n\n processed 100% of the records\n\n divided by\n\n count of all pipeline runs` | 99% of pipeline runs cover 100% of the data. |\n\n##### Rationale\n\nAvailability and latency SLIs were based on measurement over the period 2018-01-01 to 2018-01-28. Availability SLOs were rounded down to the nearest 1% and [latency SLO](https://sre.google/workbook/implementing-slos/)timings were rounded up to the nearest 50 ms. All other numbers were picked by the author and the services were verified to be running at or above those levels.\n\nNo attempt has yet been made to verify that these numbers correlate strongly with user experience.1\n\n##### Error Budget\n\nEach objective has a separate error budget, defined as 100% minus (–) the goal for that objective. For example, if there have been 1,000,000 requests to the API server in the previous four weeks, the API availability error budget is 3% (100% – 97%) of 1,000,000: 30,000 errors.\n\nWe will enact the error budget policy (see [Example Error Budget Policy](/workbook/error-budget-policy/)) when any of our objectives has exhausted its error budget.\n\n##### Clarifications and Caveats\n\n- Request metrics are measured at the load balancer. This measurement may fail to accurately measure cases where user requests didn’t reach the load balancer.\n- We only count HTTP 5XX status messages as error codes; everything else is counted as success.\n- The test data used by the correctness prober contains approximately 200 tests, which are injected every 1s. Our error budget is 48 errors every four weeks.\n\n1Even if the numbers in the SLO are not strongly evidence-based, it is necessary to document this so that future readers can understand this fact, and make their decisions appropriately. They may decide that it is worth the investment to collect more evidence.", "znaku_textu": 5303, "slov": 874, "odkazu": 40, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:50", "sha256": "e4c901d8fc1d832695f0ff5f82e3f429292d3cc3f8151bc919edd417e8c8d319", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/slo-engineering-case-studies/", "titulek": "Google SRE - SLO Implementation: Evernote and Home Depot", "h1": "SLO Engineering Case Studies", "popis": "How Evernote and Home Depot adpted SLOs to enhance reliability. Learn from their experiences with SLos and error budgets for improved service quality.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/slo-engineering-case-studies/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/slo-engineering-case-studies/"}, "headline": "SLO Engineering Case Studies", "description": "Here we present two stories, told by two very different companies, that outline their journeys toward adopting an SLO and error budget–based approach while working with the Google CRE team.", "image": "https://lh3.googleusercontent.com/Kg3DZ3ZDM78O94osASDymgRvD1YPSVTGYurPK7YToFt7mo0Aer2o12QwBXJ_4xvWyspkKKF9ijMptjWnduiqtkOR1qNDc-reL1hbFA", "author": [{"@type": "Person", "name": "Ben McCormack (Evernote)"}, {"@type": "Person", "name": "William Bonnell (The Home Depot)"}, {"@type": "Person", "name": "Garrett Plasky (Evernote)"}, {"@type": "Person", "name": "Alex Hidalgo"}, {"@type": "Person", "name": "Betsy Beyer"}, {"@type": "Person", "name": "Dave Rensin"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SLO Engineering Case Studies"}, {"uroven": 2, "text": "Evernote’s SLO Story"}, {"uroven": 5, "text": "Why Did Evernote Adopt the SRE Model?"}, {"uroven": 5, "text": "Introduction of SLOs: A Journey in Progress"}, {"uroven": 5, "text": "Breaking Down the SLO Wall Between Customer and Cloud Provider"}, {"uroven": 5, "text": "Current State"}, {"uroven": 1, "text": "The Home Depot’s SLO Story"}, {"uroven": 5, "text": "The SLO Culture Project"}, {"uroven": 5, "text": "Our First Set of SLOs"}, {"uroven": 6, "text": "Availability and latency for API calls"}, {"uroven": 6, "text": "Infrastructure utilization"}, {"uroven": 6, "text": "Traffic volume"}, {"uroven": 6, "text": "Latency"}, {"uroven": 6, "text": "Errors"}, {"uroven": 6, "text": "Tickets"}, {"uroven": 6, "text": "VALET"}, {"uroven": 5, "text": "Evangelizing SLOs"}, {"uroven": 5, "text": "Automating VALET Data Collection"}, {"uroven": 6, "text": "TPS Reports"}, {"uroven": 6, "text": "VALET service"}, {"uroven": 6, "text": "VALET Dashboard"}, {"uroven": 5, "text": "The Proliferation of SLOs"}, {"uroven": 5, "text": "Applying VALET to Batch Applications"}, {"uroven": 5, "text": "Using VALET in Testing"}, {"uroven": 5, "text": "Future Aspirations"}, {"uroven": 5, "text": "Summary"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# SLO Engineering Case Studies\n\nBy Ben McCormack (Evernote) and\nWilliam Bonnell (The Home Depot)\nwith Garrett Plasky (Evernote), Alex Hidalgo,\nBetsy Beyer, and Dave Rensin\n\nWhile many tenets of SRE were shaped within the walls of Google, its principles have long lived outside our gates. Many standard Google SRE practices have been discovered in parallel or otherwise been adopted by many other organizations across the industry.\n\nSLOs are fundamental to the SRE model. Since we launched the Customer Reliability Engineering (CRE) team—a group of experienced SREs who help Google Cloud Platform (GCP) customers build more reliable services—almost every customer interaction starts and ends with SLOs.\n\nHere we present two stories, told by two very different companies, that outline their journeys toward adopting an SLO and error budget–based approach while working with the Google CRE team. For a more general discussion about SLOs and error budgets, see [Implementing SLOs](/workbook/implementing-slos/) in this book, and [Chapter 3](https://sre.google/sre-book/embracing-risk/) in our first book.\n\n## Evernote’s SLO Story\n\nby Ben McCormack, Evernote\n\nEvernote is a cross-platform app that helps individuals and teams create, assemble, and share information. With more than 220 million users worldwide, we store over 12 billion pieces of information—a mix of text-based notes, files, and attachments/images—within the platform. Behind the scenes, the Evernote service is supported by 750+ MySQL instances.\n\nWe introduced the [concept of SLOs](https://sre.google/resources/practices-and-processes/art-of-slos/) to Evernote as part of a much wider technology revamp aimed at increasing engineering velocity while maintaining quality of service. Our goals included:\n\n- Move engineering focus away from undifferentiated heavy lifting in datacenters and toward product engineering work that customers actually cared about. To that end, we stopped running our physical datacenters and moved to a public cloud.\n- Revise the working model of operations and software engineers to support an increase in feature velocity while maintaining overall quality of service.\n- Revamp how we look at SLAs to ensure that we increase focus on how failures impact our large global customer base.\n\nThese goals may look familiar to organizations across many industries. While no single approach to making these types of changes will work across the board, we hope that sharing our experience will provide valuable insights for others facing similar challenges.\n\n##### Why Did Evernote Adopt the SRE Model?\n\nAt the outset of this transition, Evernote was characterized by a traditional ops/dev split: an operations team protected the sanctity of the production environment, while a development team was tasked with developing new product features for customers. These objectives were usually in conflict: the dev team felt constrained by lengthy operational requirements, while the ops team became frustrated when new code introduced new issues in production. As we swung wildly between these two goals, the ops and dev teams developed a frustrated and strained relationship. We wanted to reach a happier medium that better balanced the varying needs of the teams involved.\n\nWe attempted to address the gaps in this traditional dichotomy in various ways over the course of five-plus years. After trying out a “You wrote it, you run it” (development) model, and a “You wrote it, we run it for you” (operations) model, we moved toward an SLO-centric SRE approach.\n\nSo what motivated Evernote to move in this direction?\n\nAt Evernote, we view the core disciplines of operations and development as separate professional tracks in which engineers can specialize. One track is concerned with the nearly 24/7 ongoing delivery of a service to customers. The other is concerned with the extension and evolution of that service to meet customer needs in the future. These two disciplines have moved toward each other in recent years as movements like SRE and DevOps emphasize software development as applied to operations. (This convergence has been furthered by advances in datacenter automation and the growth of public clouds, both of which give us a datacenter that can be fully controlled by software.) On the other side of the spectrum, full-stack ownership and continuous deployment are increasingly applied to software development.\n\nWe were drawn to the SRE model because it fully embraces and accepts the differences between operations and development while encouraging teams to work toward a common goal. It does not try to transform operations engineers into application developers, or vice versa. Instead, it gives both a common frame of reference. In our experience, an error budget/SLO approach has led both teams to make similar decisions when presented with the same facts, as it removes a good deal of subjectivity from the conversation.\n\n##### Introduction of SLOs: A Journey in Progress\n\nThe first part of our journey was the move from physical datacenters to Google Cloud Platform.1 Once the Evernote service was up and running on GCP and stabilized, we introduced SLOs. Our objectives here were twofold:\n\n- Align teams internally around Evernote SLOs, ensuring that all teams were working within the new framework.\n- Incorporate Evernote’s SLO into how we work with the Google Cloud team, who now had responsibility for our underlying infrastructure. Since we now had a new partner within the overall model, we needed to ensure the move to GCP did not dilute or mask our commitment to our users.\n\nAfter actively using SLOs for about nine months, Evernote is already on version 3 of its SLO practice!\n\nBefore getting into the technical details of an SLO, it is important to start the conversation from your customers’ point of view: what promises are you trying to uphold? Similar to most services, Evernote has many features and options that our users put to use in a variety of creative ways. We wanted to ensure we initially focused on the most important and common customer need: the availability of the Evernote service for users to access and sync their content across multiple clients. Our SLO journey started from that goal. We kept our first pass simple by focusing on uptime. Using this simple first approach, we could clearly articulate what we were measuring, and how.\n\nOur first SLOs document contained the following:\n\nA definition of the SLOs\n\n- This was an uptime measure: 99.95% uptime measured over a monthly window, set for certain services and methods. We chose this number based upon discussions with our internal customer support and product teams and—more importantly—user feedback. We deliberately chose to bind our SLOs to a calendar month versus a rolling period to keep us focused and organized when running service reviews.\n\nWhat to measure, and how to measure it\n\n- What to measure\n- How to measure\n\nHow to calculate SLOs from monitoring data\n\n- Finally, we carefully documented how we calculate the SLO from the raw data we received from Pingdom. For example, we specified how to account for maintenance windows: we could not assume that all of our hundreds of millions of users knew about our published maintenance windows. Uninformed users would therefore experience these windows as generic and unexplained downtime, so our SLO calculations treated maintenance as downtime.\n\nOnce we defined our SLOs, we had to do something with them. We wanted the SLOs to drive software and operations changes that would make our customers happier and keep them happy. How best to do this?\n\nWe use the SLO/error budget concept as a method to allocate resources going forward. For example, if we missed the SLO for last month, that behavior helps us prioritize relevant fixes, improvements, and bug fixes. We keep it simple: teams from both Evernote and Google conduct a monthly review of SLO performance. At this meeting, we review the SLO performance from the previous month and perform a deep dive on any outages. Based on this analysis of the past month, we set action items for improvements that may not have been captured through the regular root-cause-analysis process.\n\nThroughout this process, our guiding principle has been “Perfect is the enemy of good.” Even when SLOs aren’t perfect, they’re good enough to guide improvements over time. A “perfect” SLO would be one that measures every possible user interaction with our service and accounts for all edge cases. While this is a great idea on paper, it would take many months to achieve (if achieving perfection were even possible)—time which we could use to improve the service. Instead, we selected an initial SLO that covered most, but not all, user interactions, which was a good proxy for quality of service.\n\nSince we began, we have revised our SLOs twice, according to signals from both our internal service reviews and in response to customer-impacting outages. Because we weren’t aiming for perfect SLOs at the outset, we were comfortable with making changes to better align with the business. In addition to our monthly Evernote/Google review of SLO performance, we’ve settled on a six-month SLO review cycle, which strikes the right balance between changing SLOs too often and letting them become stale. In revising our SLOs, we’ve also learned that it's important to balance what you would like to measure with what’s possible to measure.\n\nSince introducing SLOs, the relationship between our operations and development teams has subtly but markedly improved. The teams now have a common measure of success: removing the human interpretation of quality of service (QoS) has allowed both teams to maintain the same view and standards. To provide just one example, SLOs provided a common ground when we had to facilitate multiple releases in a compressed timeline in 2017. While we chased down a complex bug, product development requested that we apportion our normal weekly release over multiple separate windows, each of which would potentially impact customers. By applying an SLO calculation to the problem and removing human subjectivity from the scenario, we were able to better quantify customer impact and reduce our release windows from five to two to minimize customer pain.\n\n##### Breaking Down the SLO Wall Between Customer and Cloud Provider\n\nA virtual wall between customer and cloud provider concerns might seem natural or inevitable. While Google has SLOs and SLAs (service level agreements) for the GCP platforms we run Evernote on, Evernote has its own SLOs and SLAs. It’s not always expected that two such engineering teams would be informed about each other’s SLAs.\n\nEvernote never wanted such a wall. Of course, we could have engineered to a dividing wall, basing our SLOs and SLAs on the underlying GCP metrics. Instead, from the beginning, we wanted Google to understand which performance characteristics were most important to us, and why. We wanted to align Google’s objectives with ours, and for both companies to view Evernote’s reliability successes and failures as shared responsibilities. To achieve this, we needed a way to:\n\n- Align objectives\n- Ensure our partner (in this case, Google) really understood what’s important to us\n- Share both successes and failures\n\nMost service providers manage to the published SLO/SLAs for their cloud services. Working within this context is important, but it can’t holistically represent how well our service is running within the cloud provider’s environment.\n\nFor example, a given cloud provider probably runs hundreds of thousands of virtual machines globally, which they manage for uptime and availability. GCP promises 99.95% availability for Compute Engine (i.e., its virtual machines). Even when GCP SLO graphs are green (i.e., above 99.95%), Evernote’s view of the same SLO might be very different: because our virtual machine footprint is only a small percentage of the global GCP number, outages isolated to our region (or isolated for other reasons) may be “lost” in the overall rollup to a global level.\n\nTo correct for scenarios like this, we share our SLO and real-time performance against SLO with Google. As a result, both the Google CRE team and Evernote work with same performance dashboards. This may seem like a very simple point, but has proven a rather powerful way to drive truly customer-focused behavior. As a result, rather than receiving generic “Service X is running slow”–type notifications, Google provides us with notifications that are more specific to our environment. For example, in addition to a generic “GCP load balancing environment is running slow today,” we’ll also be informed that this issue is causing a 5% impact to Evernote’s SLO. This relationship also helps teams within Google, who can see how their actions and decisions impact customers.\n\nThis two-way relationship has also given us a very effective framework to support major incidents. Most of the time, the usual model of P1–P5 tickets and regular support channels works well and allows us to maintain good service and a good relationship with Google. But we all know there are times when a P1 ticket (“major impact to our business”) is not enough—the times when your whole service is on the line and you face extended business impact.\n\nAt times like these, our shared SLOs and relationship with the CRE team come to fruition. We have a common understanding that if the SLO impact is high enough, both parties will treat the issue as a P1 ticket with special handling. Quite often, this means that Evernote and Google’s CRE Team rapidly mobilize on a shared conference bridge. The Google CRE team monitors the SLO we jointly defined and agreed upon, allowing us to remain in sync in terms of prioritization and appropriate responses.\n\n##### Current State\n\nAfter actively using SLOs for about nine months, Evernote is already on version 3 of its SLO practice. The next version of SLOs will progress from our simple uptime SLO. We plan to start probing individual API calls and accounting for the in-client view of metrics/performance so we can represent user QoS even better.\n\nBy providing a standard and defined way of measuring QoS, SLOs have allowed Evernote to better focus on how our service is running. We can now have data-driven conversations—both internally, and with Google—about the impact of outages, which enables us to drive service improvements, ultimately making for more effective support teams and happier customers.\n\n# The Home Depot’s SLO Story\n\nby William Bonnell, The Home Depot\n\nThe Home Depot (THD) is the world’s largest home improvement retailer: we have more than 2,200 stores across North America, each filled with more than 35,000 unique products (and supplemented with over 1.5 million products online). Our infrastructure hosts a variety of software applications that support nearly 400,000 associates and process more than 1.5 billion customer transactions per year. The stores are deeply integrated with a global supply chain and an ecommerce website that receives more than 2 billion visits per year.\n\nIn a recent refresh to our operations approach aimed at increasing the velocity and quality of our software development, THD both pivoted to Agile software development and changed how we design and manage our software. We moved from centralized support teams that supported large, monolithic software packages to a microservices architecture led by small, independently operated software development teams. As a result, our system now had smaller chunks of constantly changing software, which also needed to be integrated across the stack.\n\nOur move to microservices was complemented by a move to a new “freedom and responsibility culture” of full-stack ownership. This approach gives developers freedom to push code when they want, but also makes them jointly responsible for the operations of their service. For this model of joint ownership to work, operations and development teams need to speak a common language that promotes accountability and cuts across complexity: service level objectives. Services that depend upon each other need to know information like:\n\n- How reliable is your service? Is it built for three 9s, three and a half 9s, or four 9s (or better)? Is there planned downtime?\n- What kind of latency can I expect at the upper bounds?\n- Can you handle the volume of requests I am going to send? How do you handle overload? Has your service achieved its SLOs over time?\n\nIf every service could provide transparent and consistent answers to these questions, teams would have a clear view into their dependencies, which allows for better communication and increased trust and accountability between teams.\n\n##### The SLO Culture Project\n\nBefore we began this shift in our service model, The Home Depot didn’t have a culture of SLOs. Monitoring tools and dashboards were plentiful, but were scattered everywhere and didn’t track data over time. We weren’t always able to pinpoint the service at the root of a given outage. Often, we began troubleshooting at the user-facing service and worked backward until we found the problem, wasting countless hours. If a service required planned downtime, its dependent services were surprised. If a team needed to build a three and a half 9s service, they wouldn’t know if the service they had a hard dependency on could support them with even better uptime (four 9s). These disconnects caused confusion and disappointment between our software development and operations teams.\n\nWe needed to address these disconnects by building a common culture of SLOs. Doing so required an overarching strategy to influence people, process, and technology. Our efforts spanned four general areas:\n\nCommon vernacular\n\n- Define SLOs in the context of THD. Define how to measure them in a consistent way.\n\nEvangelism\n\n- Spread the word across the company.\n\nAutomation\n\n- To reduce the friction of adoption, implement a metric collection platform to automatically collect service level indicators for any service deployed to production. These SLIs can later be more easily turned into SLOs.\n\nIncentive\n\n- Establish annual goals for all development managers to set and measure SLOs for their services.\n\nEstablishing a common vernacular was critical to getting everybody on the same page. We also wanted to keep this framework as simple as possible to help the idea spread faster. To get started, we took a critical look at the metrics we monitored across our various services and discovered some patterns. Every service monitored some form of its traffic volume, latency, errors, and utilization—metrics that map closely to Google SRE’s [Four Golden Signals](https://sre.google/sre-book/monitoring-distributed-systems#xref_monitoring_golden-signals). In addition, many services monitored uptime or availability distinctly from errors. Unfortunately, across the board, all categories of metrics were inconsistently monitored, were named differently, or had insufficient data.\n\nNone of our services had SLOs. The closest metric our production systems had to a customer-facing SLO was support tickets. The primary (and often only) way we measured the reliability of the applications deployed to our stores was by tracking the number of support calls our internal support desk receives.\n\n##### Our First Set of SLOs\n\nWe couldn’t create SLOs for every aspect of our systems that could be measured, so we had to decide which metrics or SLIs should also have SLOs.\n\n###### Availability and latency for API calls\n\nWe decided that each microservice had to have availability and latency SLOs for its API calls that were called by other microservices. For example, the Cart microservice called the Inventory microservice. For those API calls, the Inventory microservice published SLOs that the Cart microservice (and other microservices that needed Inventory) could consult to determine if the Inventory microservice could meet its reliability requirements.\n\n###### Infrastructure utilization\n\nTeams at THD measure infrastructure utilization in different ways, but the most typical measurement is real-time infrastructure utilization at one minute granularity. We decided against setting utilization SLOs for a few reasons. To begin with, microservices aren’t overly concerned with this metric—your users don’t really care about utilization as long as you can handle the traffic volume, your microservice is up, it’s responding quickly, it’s not throwing errors, and you’re not in danger of running out of capacity. Additionally, our impending move to the cloud meant that utilization would be less of a concern, so cost planning would overshadow capacity planning. (We’d still need to monitor utilization and perform capacity planning, but we didn’t need to include it in our SLO framework.)\n\n###### Traffic volume\n\nBecause THD didn’t already have a culture of capacity planning, we needed a mechanism for software and operations teams to communicate how much volume their service could handle. Traffic was easy to define as requests to a service, but we needed to decide if we should track average requests per second, peak requests per second, or the volume of requests over the reporting time period. We decided to track all three and let each service select the most appropriate metric. We debated whether or not to set an SLO for traffic volume because this metric is determined by user behavior, rather than internal factors that we can control. Ultimately, we decided that as a retailer we needed to size our service for peaks like Black Friday, so we set an SLO according to expected peak capacity.\n\n###### Latency\n\nWe let each service define its SLO for latency and determine where to best measure it. Our only request was that a service should supplement our common white-box performance monitoring with black-box monitoring to catch issues caused by the network or other layers like caches and proxies that fail outside the microservice. We also decided that percentiles were more appropriate than arithmetic averages. At minimum, services needed to hit a 90th percentile target; user-facing services had a preferred target of 95th and/or 99th percentile.\n\n###### Errors\n\nErrors were somewhat complicated to account for. Since we were primarily dealing with web services, we had to standardize what constitutes an error and how to return errors. If a web service encountered an error, we naturally standardized on HTTP response codes:\n\n- A service should not indicate an error in the body of a 2xx response; rather, it should throw either a 4xx or a 5xx.\n- An error caused by a problem with the service (for example, out of memory) should throw a 5xx error.\n- An error caused by the client (for example, sending a malformed request) should throw a 4xx error.\n\nAfter much deliberation, we decided to track both 4xx and 5xx errors, but used 5xx errors only to set SLOs. Similar to our approach for other SLO-related elements, we kept this dimension generic so that different applications could leverage it for different contexts. For example, in addition to HTTP errors, errors for a batch processing service might be the number of records that failed to process.\n\n###### Tickets\n\nAs previously mentioned, tickets were originally the primary way we evaluated most of our production software. For historical reasons, we decided to continue to track tickets alongside our other SLOs. You can consider this metric as analogous to something like “software operation level.”\n\n###### VALET\n\nWe summed up our new SLOs into a handy acronym: VALET.\n\nVolume (traffic)\n\n- How much business volume can my service handle?\n\nAvailability\n\n- Is the service up when I need it?\n\nLatency\n\n- Does the service respond fast when I use it?\n\nErrors\n\n- Does the service throw an error when I use it?\n\nTickets\n\n- Does the service require manual intervention to complete my request?\n\n##### Evangelizing SLOs\n\nArmed with an easy-to-remember acronym, we set out to evangelize SLOs to the enterprise:\n\n- Why SLOs are important\n- How SLOs support our “freedom and responsibility” culture\n- What should be measured\n- What to do with the results\n\nSince developers were now responsible for the operation of their software, they needed to establish SLOs to demonstrate their ability to build and support reliable software, and also to communicate with the consumers of their services and product managers for customer-facing services. However, most of this audience was unfamiliar with concepts like SLAs and SLOs, so they needed to be educated on this new VALET framework.\n\nAs we needed to secure executive backing for our move to SLOs, our education campaign started with senior leadership. We then met with development teams one by one to espouse the values of SLOs. We encouraged teams to move from their custom metric-tracking mechanisms (which were often manual) to the VALET framework. To keep the momentum going, we sent a weekly SLO report in VALET format, which we paired with commentary around general reliability concepts and lessons learned from internal events, to senior leadership. This also helped frame business metrics like purchase orders created (Volume) or purchase orders that failed to process (Errors) in terms of VALET.\n\nWe also scaled our evangelism in a number of ways:\n\n- We set up an internal WordPress site to host blogs about VALET and reliability, outlinking to useful resources.\n- We conducted internal Tech Talks (including a Google SRE guest speaker) to discuss general reliability concepts and how to measure with VALET.\n- We conducted a series of VALET training workshops (which would later evolve into FiRE Academy), and opened the invite to whomever wanted to attend. The attendance for these workshops stayed strong for several months.\n- We even created VALET laptop stickers and t-shirts to support a comprehensive internal marketing campaign.\n\nSoon everybody in the company knew VALET, and our new culture of SLOs began to take hold. SLO implementation even began to officially factor into THD’s annual performance reviews for development managers. While roughly 50 services were regularly capturing and reporting on their SLOs on a weekly basis, we were storing the metrics ad hoc in a spreadsheet. Although the idea of VALET had caught on like wildfire, we needed to automate data collection to foster widespread adoption.\n\n##### Automating VALET Data Collection\n\nWhile our culture of SLOs now had a strong foothold, automating VALET data collection would accelerate SLO adoption.\n\n###### TPS Reports\n\nWe built a framework to automatically capture VALET data for any service that was deployed to our new GCP environment. We called this framework TPS Reports, a play on the term we used for volume and performance testing (transactions per second), and, of course, to [poke fun](https://static1.squarespace.com/static/52c1bc04e4b0410823c3b233/t/546eb062e4b06b70fedb2d0a/1416540259711/)3 at the idea that multiple managers might want to review this data. We built the TPS Reports framework on top of GCP’s BigQuery database platform. All of the logs generated by our web-serving frontend were fed into BigQuery for processing by TPS Reports. We eventually also included metrics from a variety of other monitoring systems such as Stackdriver’s probe for availability.\n\nTPS Reports transformed this data into hourly VALET metrics that anyone could query. Newly created services were automatically registered into TPS Reports and therefore could be immediately queried. Since the data was all stored in BigQuery, we could efficiently report on VALET metrics across time frames. We used this data to build a variety of automated reports and alerts. The most interesting integration was a chatbot that let us directly report on the VALET of services in a commercial chat platform. For example, any service could display VALET for the last hour, VALET versus previous week, services out of SLO, and a variety of other interesting data right inside the chat channel.\n\n###### VALET service\n\nOur next step was to create a VALET application to store and report on SLO data. Because SLOs are best leveraged as a trending tool, the service tracks SLOs at daily, weekly, and monthly granularity. Note that our SLOs are a trending tool that we can use for error budgets, but aren’t directly connected to our monitoring systems. Instead, we have a variety of disparate monitoring platforms, each with its own alerting. Those monitoring systems aggregate their SLOs on a daily basis and publish to the VALET service for trending. The downside of this setup is that alerting thresholds set in the monitoring systems aren’t integrated with SLOs; however, we have the flexibility to change out monitoring systems as needed.\n\nAnticipating the need to integrate VALET with other applications not running in GCP, we created a VALET integration layer that provides an API to collect aggregated VALET data for a service daily. TPS Reports was the first system to integrate with the VALET service, and we eventually integrated with a variety of on-premises application platforms (more than half of the services registered in VALET).\n\n###### VALET Dashboard\n\nThe VALET Dashboard (shown in Figure 3-1) is our UI to visualize and report on this data and is relatively straightforward. It allows users to:\n\n- Register a new service. This typically means assigning the service to one or more URLs, which may already have VALET data collected.\n- Set SLO objectives for any of the five VALET categories.\n- Add new metrics types under each of the VALET categories. For example, one service may track latency at the 99th percentile, while another tracks latency at the 90th percentile (or both). Or, a backend processing system may track volume at a daily level (purchase orders created in a day), whereas a customer-serving frontend may track peak transactions per second.\n\nThe VALET Dashboard lets users report on SLOs for many services at once, and to slice and dice the data in a variety of ways. For example, a team can view stats for all of their services that missed SLO in the past week. A team seeking to review service performance can view latency across all of their services and the services they depend upon. The VALET Dashboard stores the data in a simple Cloud SQL database, and developers use a popular commercial reporting tool to build reports.\n\nThese reports became the foundation for a new best practice with developers: regular SLO reviews of their services (typically, either weekly or monthly). Based upon these reviews, developers can create action items to return a service to its SLO, or perhaps decide that an unrealistic SLO needs to be adjusted.\n\nFigure 3-1.The VALET Dashboard\n\n##### The Proliferation of SLOs\n\nOnce SLOs were firmly cemented in the organization’s collective mind and effective automation and reporting were in place, new SLOs proliferated quickly. After tracking SLOs for about 50 services at the beginning of the year, by the end of the year we were tracking SLOs for 800 services, with about 50 new services per month being registered with VALET.\n\nBecause VALET allowed us to scale SLO adoption across THD, the time effort required to develop automation was well worth it. However, other companies shouldn’t be scared away from adopting an SLO-based approach if they can’t develop similarly complex automation. While automation provided THD extra benefits, there are benefits to just writing SLOs in the first place.\n\n##### Applying VALET to Batch Applications\n\nAs we developed robust reporting around SLOs, we discovered some additional uses for VALET. With a little adjusting, batch applications can fit into this framework as follows:\n\nVolume\n\n- The volume of records processed\n\nAvailability\n\n- How often (as a percentage) the job completed by a certain time\n\nLatency\n\n- The amount of time it takes for the job to run\n\nErrors\n\n- The records that failed to process\n\nTickets\n\n- The number of times an operator has to manually fix data and reprocess a job\n\n##### Using VALET in Testing\n\nSince we were developing an SRE culture at the same time, we found that VALET supported our destructive testing (chaos engineering) automation in our staging environments. With the TPS Reports framework in place, we could automatically run destructive tests and record the impact (or hopefully lack of impact) to the service’s VALET data.\n\n##### Future Aspirations\n\nWith 800 services (and growing) collecting VALET data, we have a lot of useful operational data at our disposal. We have several aspirations for the future.\n\nNow that we are effectively collecting SLOs, we want to use this data to take action. Our next step is an error budget culture similar to Google, whereby a team stops pushing new features (other than improvements to reliability) when a service is out of SLO. To protect the velocity demands of our business, we’ll have to strive to find a good balance between the SLO reporting time frame (weekly or monthly) and the frequency of SLOs being breached. Like many companies adopting error budgets, we’re weighing the pros and cons of rolling windows versus fixed windows.\n\nWe want to further refine VALET to track detailed endpoints and the consumers of a service. Currently, even if a particular service has multiple endpoints, we track VALET only across the entire service. As a result, it’s difficult to distinguish between different operations (for example, a write to the catalog versus a read to the catalog; while we monitor and alert on these operations separately, we don’t track SLOs). Similarly, we’d also like to differentiate VALET results for different consumers of a service.\n\nAlthough we currently track latency SLOs at the web-serving layer, we’d also like to track a latency SLO for end users. This measurement would capture how factors like third-party tags, internet latency, and CDN caching affect how long it takes a page to start rendering and to complete rendering.\n\nWe’d also like to extend VALET data to application deployments. Specifically, we’d like to use automation to verify that VALET is within tolerance before rolling out a change to the next server, zone, or region.\n\nWe’ve started to collect information about service dependencies, and have prototyped a visual graph that shows where we’re not hitting VALET metrics along a call tree. This type of analysis will become even easier with emerging service mesh platforms.\n\nFinally, we strongly believe that the SLOs for a service should be set by the business owner of the service (often called a product manager) based on its criticality to the business. At the very least, we want the business owners to set the requirement for a service’s uptime and use that SLO as a shared objective between product management and development. Although technologists found VALET intuitive, the concept wasn’t so intuitive for product managers. We are striving to simplify the concepts of VALET using terminology relevant to them: we’ve both simplified the number of choices for uptime and provided example metrics. We also emphasize the significant investment required to move from one level to another. Here’s an example of simplified VALET metrics we might provide:\n\n- 99.5%: Applications that are not used by store associates or an MVP of a new service\n- 99.9%: Adequate for the majority of nonselling systems at THD\n- 99.95%: Selling systems (or services that support selling systems)\n- 99.99%: Shared infrastructure services\n\nCasting metrics in business terms and sharing a visible goal (an SLO!) between product and development will reduce a lot of misaligned expectations about reliability often seen in large companies.\n\n##### Summary\n\nIntroducing a new process, let alone a new culture, to a large company takes a good strategy, executive buy-in, strong evangelism, easy adoption patterns, and—most of all—patience. It might take years for a significant change like SLOs to become firmly established at a company. We’d like to emphasize that The Home Depot is a traditional enterprise; if we can introduce such a large change successfully, you can too. You also don’t have to approach this task all at once. While we implemented SLOs piece by piece, developing a comprehensive evangelism strategy and clear incentive structure facilitated a quick transformation: we went from 0 to 800 SLO-supported services in less than a year.\n\n# Conclusion\n\nSLOs and error budgets are powerful concepts that help address many different problem sets. These case studies from Evernote and The Home Depot present very real examples of how implementing an SLO culture can bring product development and operations closer together. Doing so can facilitate communication and better inform development decisions. It will ultimately result in better experiences for your customers—whether those customers are internal, external, humans, or other services.\n\nThese two case studies highlight that SLO culture is an ongoing process and not a one-time fix or solution. While they share philosophical underpinnings, THD’s and Evernote’s measurement styles, SLIs, SLOs, and implementation details are markedly different. Both stories complement Google’s own take on SLOs by demonstrating that SLO implementation need not be Google-specific. Just as these companies tailored SLOs to their own unique environments, so can other companies and organizations.\n\n1But that’s a story for another book—see more details at [https://bit.ly/2spqgcl](https://blog.evernote.com/tech/2017/02/08/part-1-evernote-service-options-migrate-google-cloud-platform-gcp/).\n\n2Training options range from a one-hour primer to half-day workshops to intense four-week immersion with a mature SRE team, complete with a graduation ceremony and a FiRE badge.\n\n3As made famous in the 1999 film [Office Space](https://www.imdb.com/title/tt0151804/).", "znaku_textu": 37706, "slov": 5982, "odkazu": 51, "kodovani": "windows-1250", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:28", "sha256": "138a8bfcc5eaef75ec1dfcd52c03f92d32a94c00bd0495d6925c37c928f0a661", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://www.pingdom.com/", "https://static1.squarespace.com/static/52c1bc04e4b0410823c3b233/t/546eb062e4b06b70fedb2d0a/1416540259711/", "https://blog.evernote.com/tech/2017/02/08/part-1-evernote-service-options-migrate-google-cloud-platform-gcp/", "https://www.imdb.com/title/tt0151804/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/table-of-contents/", "titulek": "Google SRE - SRE workbook table of content", "h1": "Table of Contents", "popis": "The site reliability workbook table of contents, navigate key SRE concepts of sre and practical strategies for building reliable, scalable systems.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/table-of-contents/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 1, "text": "Table of Contents"}], "markdown": "# Table of Contents\n\n- [Foreword I](/workbook/foreword-I/)\n- [Foreword II](/workbook/foreword-II/)\n- [Preface](/workbook/preface/)\n- [Chapter 1 - How SRE Relates to DevOps](/workbook/how-sre-relates/)\n- [**Part I - Foundations**](/workbook/part-I-foundations/)\n- [Chapter 2 - Implementing SLOs](/workbook/implementing-slos/)\n- [Chapter 3 - SLO Engineering Case Studies](/workbook/slo-engineering-case-studies/)\n- [Chapter 4 - Monitoring](/workbook/monitoring/)\n- [Chapter 5 - Alerting on SLOs](/workbook/alerting-on-slos/)\n- [Chapter 6 - Eliminating Toil](/workbook/eliminating-toil/)\n- [Chapter 7 - Simplicity](/workbook/simplicity/)\n- [**Part II - Practices**](/workbook/part-II-practices/)\n- [Chapter 8 - On-Call](/workbook/on-call/)\n- [Chapter 9 - Incident Response](/workbook/incident-response/)\n- [Chapter 10 - Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/)\n- [Chapter 11 - Managing Load](/workbook/managing-load/)\n- [Chapter 12 - Introducing Non-Abstract Large System Design](/workbook/non-abstract-design/)\n- [Chapter 13 - Data Processing Pipelines](/workbook/data-processing/)\n- [Chapter 14 - Configuration Design and Best Practices](/workbook/configuration-design/)\n- [Chapter 15 - Configuration Specifics](/workbook/configuration-specifics/)\n- [Chapter 16 - Canarying Releases](/workbook/canarying-releases/)\n- [**Part III - Processes**](/workbook/part-III-processes/)\n- [Chapter 17 - Identifying and Recovering from Overload](/workbook/overload/)\n- [Chapter 18 - SRE Engagement Model](/workbook/engagement-model/)\n- [Chapter 19 - SRE: Reaching Beyond Your Walls](/workbook/reaching-beyond/)\n- [Chapter 20 - SRE Team Lifecycles](/workbook/team-lifecycles/)\n- [Chapter 21 - Organizational Change Management in SRE](/workbook/organizational-change/)\n- [**Conclusion**](/workbook/conclusion/)\n- [Appendix A - Example SLO Document](/workbook/slo-document/)\n- [Appendix B - Example Error Budget Policy](/workbook/error-budget-policy/)\n- [Appendix C - Results of Postmortem Analysis](/workbook/postmortem-analysis/)\n- [Index](/workbook/index/)\n- [About the Editors](/workbook/editors/)\n- [Colophon](/workbook/colophon/)", "znaku_textu": 2052, "slov": 193, "odkazu": 37, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 04:23:02", "sha256": "8f7a4c97dc3f41c83db8c5c107e8fdf4c19c79767155df67c125b6a398e322d6", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/team-lifecycles", "titulek": "Google SRE - Understanding sre team lifecycle handbook", "h1": "SRE Team Lifecycles", "popis": "SRE lifecycle: a roadmap for building & scaling an sre organization to mature into successful sre teams. Identify strategies for evolving your SRE organization.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/team-lifecycles/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/team-lifecycles/"}, "headline": "SRE Team Lifecycles", "description": "The preface to this book set a goal to dispel the idea that SRE is implementable only at 'Google scale' or in 'Google culture'. This chapter lays out a roadmap for maturing an SRE organization from unstaffed but aspirational, through various stages of maturity, to a robust and (potentially) globally distributed set of SRE teams.", "author": [{"@type": "Person", "name": "David Ferguson"}, {"@type": "Person", "name": "Prashant Labhane"}, {"@type": "Person", "name": "Shylaja Nukala"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Team Lifecycles"}, {"uroven": 2, "text": "SRE Practices Without SREs"}, {"uroven": 1, "text": "Starting an SRE Role"}, {"uroven": 5, "text": "Finding Your First SRE"}, {"uroven": 5, "text": "Placing Your First SRE"}, {"uroven": 5, "text": "Bootstrapping Your First SRE"}, {"uroven": 5, "text": "Distributed SREs \n If your organization doesn’t have (or doesn’t plan to have) a discrete SRE team (or teams), it’s important to construct a community for distributed SREs. This community should advocate the SRE’s distinctive role and drive consistent changes in reliability-focused technology or practices across teams. Without a social grouping, individual SREs may feel very isolated.\n Your First SRE Team \n You might start an SRE team in a number of ways. Approaches we’ve used at Google, from least to most complex, include:\n \n Creating a new team as part of a major project\n \n Establishing a horizontal SRE team\n \n Converting an existing team (for example, an operations team)\n \n The approach that’s best for your organization is highly situational. A team needs enough SREs to handle the operational tasks required to run the service. Addressing that workload brings us to our third principle:\n \n Outside of a large SRE organization, a team likely can’t embrace this concept from day one. This principle is open to interpretation and can be difficult to put into practice organizationally. It’s also the most subtle of our three principles, and bears some unpacking. The following sections walk through the stages of building a team, using Tuckman’s performance model and stages of forming, storming, norming, and performing.1 Forming \n The team you assemble should have combined experience and expertise that includes the following:\n \n Making changes to application software to improve reliability and performance.\n \n Writing software to:\n \n Expedite the detection and mitigation of problems in production.\n \n Automate manual processes.\n \n Establishing and using strong software practices and standards to facilitate long-term maintainability.\n \n Having a methodical and careful approach to making operational changes: be able to describe why certain practices are reliable.\n \n Understanding system architecture (distributed systems design and operation).\n \n Ideally, your team will be ready to adopt a new way of working, and have a balance of skills and established personal relationships with other teams. If possible, we recommend that you seed the team with internal transfers. This can reduce the time it takes your team to get up and running.\n Creating a new team as part of a major project \n You might create a new SRE team for a major project that is large enough to justify new headcount, and for which reliability and operational capability have been identified as project risks. Examples might include the creation of a new service or a substantial change in your technology (e.g., migration to a public cloud).\n Assembling a horizontal SRE team \n In this approach (well documented in Chapter 27 of our first book), a small team of SREs consults across a number of teams. This team might also establish best practices and tools for configuration management, monitoring, and alerting.\n Converting a team in place \n You might be able to convert an existing team into an SRE team. The existing team likely isn’t a product development team; typical candidates include an operations team or a team responsible for managing a popular open source component that your organization uses heavily. Be careful to avoid renaming a team from “Operations” to “SRE” without first applying SRE practices and principles! If your rebranding effort fails, your organization may be poisoned against the entire concept of SRE in the future.\n Storming \n Once assembled, the team needs to start working collaboratively: the team members need to work well with each other, and also with other teams.\n \n You might employ any number of tactics to promote this type of cohesion. At Google, we’ve had success providing a regular forum for learning and discussing SRE practices and reflecting on how the team is performing. For example, you might hold a regular television lunch, where you show a video from SREcon, or a book club, where you all preread some relevant content and then discuss how you can apply it.\n \n During this phase, encourage your new SRE team to stretch themselves. Your new SREs should be comfortable speaking out about SRE practices that don’t fit within your organization, and whether it’s worth making the change so they fit.\n Risks and mitigations \n During this nascent phase of the SRE journey, there are a number of ways the team might fail. Next we present some risks and possible mitigation strategies, broken down by how the new team formed. You might use one or more of the mitigation strategies for each risk.\n New team as part of a major project Risks The team:\n \n Spreads itself too thin by taking responsibility for too many services at once.\n \n A team that is constantly firefighting doesn’t have time to address risk in a more permanent way.\n \n Becomes too introspective trying to understand SRE principles and how to implement them. As a result, it underdelivers.\n \n For example, the team might become consumed with developing the perfect SLO definition, neglecting the needs of the service in the meantime.\n \n Doesn’t examine its work thoroughly. As a result, service management reverts to previous behaviors.\n \n The team is paged 100 times a day. Since the pages don’t indicate that immediate intervention is required, they ignore the pages.\n \n Abandons SRE principles and practices in order to meet product milestones.\n \n Reliability improvements to defend the SLO, such as architectural changes, may never be implemented because they set back development timelines.\n \n Gets distracted by conflict with existing teams that perceive a loss of influence or power as a result of the new SRE team.\n \n Does not have the necessary breadth of skills, so delivers only part of the necessary improvements.\n \n Without the ability to, for example, program, SREs may be unable to instrument the product to measure reliability.\n Mitigations The team: \n Engages initially on a single important service.\n \n Engages as early as possible on the project, ideally at the design stage.\n \n Has input into the design, with a particular focus on defining SLOs and analyzing reliability risks inherent in the design.\n \n Partners with the product development team and works on features specific to reliability and integration with existing operational platforms.\n \n Is not expected to have operational responsibility on day one. Instead, this responsibility initially sits with the product development team or project team. This may be a significant cultural change that needs support from management.\n \n Has clear agreement on the conditions that a service must meet to be onboarded by SRE (see Chapter 32 of Site Reliability Engineering).\n In addition: \n If the project involves a migration, the team should have a solid understanding of the current and future environments. If you need to recruit team members externally, consider candidates who have knowledge of software engineering and the future environment.\n \n Continue to keep the number of new hires to less than a third of the team so that the training effort doesn’t overwhelm existing team members.\n Horizontal SRE team Risks \n The team is perceived as a new “gating” organization that does no real work or adds no real value.\n Mitigations The team: \n Is seeded with respected engineers who have relevant subject matter expertise.\n \n Undertakes project work that focuses on delivering tools (for monitoring, alerting, rollouts, best practices, checklists). These tools should have a short-term beneficial impact on at least two other teams.\n \n Communicates successes and benefits. An SRE team that makes an efficiency breakthrough, automates away toil, or permanently eliminates a source of system unreliability should be celebrated.\n \n Sees themselves as enablers, not gatekeepers. Focus on solutions, not just problems.\n A team converted in place Risks The team: \n Perceives that the conversion process is the start of a slow journey to job losses as automation replaces humans.\n \n Doesn’t support the change to an SRE team.\n \n Has no slack capacity they can leverage to change the team’s day-to-day activities.\n \n Sees no benefit to their day-to-day routine after a few months.\n \n Works with systems that do not support scripting or automation.\n \n Doesn’t have the software engineering skills to automate their current workload.\n \n Doesn’t consistently have the skills needed to evolve toward SRE, or an interest in acquiring the skills.\n Mitigations The team: \n Secures senior leadership support for the change.\n \n Renegotiates responsibilities to create the slack needed to effect change.\n \n Manages communication of the change very carefully.\n \n Has access to robust personal and technical support throughout the transition.\n \n Deals with the concern about job losses head on. In a lot of environments, automation eliminates portions of work, but not jobs as a whole; while this might be a step on the path to job losses, it does at least have the virtue of freeing up time to do something better (and more sellable to a future employer) than nonautomated toil.\n \n Can escape operational overload and have more significant impact. If engineers reduce the volume of toil enough to necessitate a smaller team, then their experience should be highly reusable elsewhere in your organization. If their experience can’t be used internally, it should provide an advantage in seeking work elsewhere.\n \n Receives training to acquire the skills SREs need. Your product development team can provide product training, while SRE orientation can make use of this book and other external resources.\n \n Changes how performance is evaluated—the metrics that assess both the team and individuals. The former should be aligned with SLOs and adoption of other SRE practices; the latter should be aligned with evidence of SRE skills.\n \n Adds an experienced SRE or developer to the team.\n \n Has the freedom (budget or time) to identify and introduce new open source or cloud-based monitoring and alerting systems to enable automation. Determining whether the existing systems are sufficient should be an early priority.\n \n Regularly reviews progress internally and with stakeholders.\n Norming \n Norming entails working past the issues raised in Risks and mitigations and reaching broad agreement on best practices for the organization’s SRE teams. Teams need to agree on an acceptable level of toil, appropriate alerting thresholds, and important and relevant SRE practices. Teams also need to become self-sufficient at proactively identifying the challenges ahead of the service and setting medium- and long-term goals to improve the service.\n \n Teams should reach the following levels of maturity during the norming phase:\n \n SLOs and error budgets are in place, and the error budget policy is exercised following significant incidents. Leadership is interested in SLO measurements.\n \n On-call rotations are established and sustainable (see On-Call). On-call engineers are compensated for their on-call time. There is sufficient tooling, documentation2, and training to support any team member during a significant incident.\n \n Toil is documented, bounded, and managed. As a result, SREs complete impactful projects that improve reliability and efficiency.\n \n Postmortem culture is well established. (See Postmortem Culture: Learning from Failure.)\n \n The team exhibits most of the tenets listed in How SRE Relates to DevOps.\n \n As the team solves initial issues listed in Storming, they capture what they learned and prevent repeating problems. The team regularly runs training exercises, such as Wheel of Misfortune or DiRT (Disaster Recovery Testing). (For more information on on-call training, see Chapter 11 in our first book and SRE Engagement Model in this book.)\n \n The product development team benefits from remaining involved in the on-call rotation.\n \n The team produces regular reports (e.g., quarterly) for their stakeholders that cover the highlights, lowlights, and key metrics of the reporting period.\n \n Establishing a healthy relationship with your product development team forms the basis of many of these mitigation strategies. Teams should plan work together per your organization’s planning cycle.\n \n Before moving on to the next step: pause, celebrate this success, and write a retrospective that covers your journey so far.\n Performing \n The SRE team’s experience with production and work up to this point should have earned the respect and attention of the wider organization, and laid the foundation for strategically moving forward. In the final stage of Tuckman’s performance model, performing, you should expect to:\n \n Partner on all architecture design and change.\n From the initial design phase onward, SRE should define the patterns for how software is built and structured for reliability. \n Have complete workload self-determination.\n \n Teams should consistently apply Principle 3 with a view toward the holistic health of the system.\n Partnering on architecture \n The product development team should start to reach out to its partner SRE team for advice on all significant service changes. The SRE team now has the opportunity to have some of its greatest impact.\n \n For example, the SRE team might provide early input into the design of new service architecture to reduce the likelihood of high-cost reengineering at a later date. The product development and SRE teams can acknowledge their differences in perspective on architectural decisions to arrive at a good design process. A successful engagement can add value through:\n \n Improved reliability, scalability, and operability\n \n Better reuse of existing patterns\n \n Simpler migration (if required)\n Self-regulating workload \n Whereas architectural partnerships should emerge somewhat organically over time, an SRE team must clearly assert Principle #3 to its partners. Doing so requires strong team leadership and clear, upfront commitment from senior management. The ability to regulate its own workload secures the SRE team’s position as an engineering team that works on the organization’s most important services, equal to its product development team peers.\n \n In practice, how an SRE team goes about determining its own workload depends on the teams with which SREs interface. At Google, SRE teams most commonly interact with a distinct product development team. In this case, the relationship has the following characteristics:\n \n An SRE team chooses if and when to onboard a service (see Chapter 32 of Site Reliability Engineering).\n \n In the event of operational overload, the team can reduce toil by:\n \n Reducing the SLO\n \n Transferring operational work to another team (e.g., a product development team)\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, the SRE team can hand back the service to the product development team.\n SRE engagement is not perpetual—it feeds itself by solving problems at scale and improving the reliability of services. If an SRE team has solved all such problems for a service, you need to either:\n \n Intentionally consider what other reliability challenges the SRE team needs to tackle.\n \n Make an intentional decision to hand back the service to the product development team.\n Otherwise, your team risks attrition as SREs move on to more interesting opportunities. The slow bleed from attrition can put production at risk. \n Not all SRE teams have partner product development teams. Some SRE teams are also responsible for developing the systems they run. Some SRE teams package third-party software, hardware, or services (e.g., open source packages, network equipment, something-as-a-service), and turn those assets into internal services. In this case, you don’t have the option to transfer work back to another team. Instead, consider the following tactics:\n \n If the service does not conform to its SLO, stop feature-related project work in favor of reliability-focused project work.\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, reduce your SLOs—unless management provides more capacity (people or infrastructure) to deal with the situation.\n Making More SRE Teams \n Once your first SRE team is up and running, you may want to form an additional SRE team. You might do so for one of the following reasons:\n Service complexity \n As a service gains users and features, it becomes more complex and harder for a single SRE team to support effectively. You might want to split the team into subteams that specialize in parts of the service.\n SRE rollout \n If your first SRE team has been successful and made a clear difference, there may be an organizational interest in adopting this approach across more services.\n Geographically split \n You want to split the team into two halves in different time zones and move to 12-hour on-call shifts.\n \n When you’re creating a new SRE team, we recommend that you do the following:\n \n Read any postmortems written after other teams were established. Identify and repeat what went well and fix and explore alternatives for things that didn’t go well.\n \n Seed the new team with SREs from the existing team—some of your best SREs and highest-potential SREs who can rise to the challenge. In our experience, finding qualified SRE candidates is difficult, so growing a team quickly with new hires often isn’t realistic.\n \n Standardize the framework for establishing teams and onboarding services (see SRE Engagement Model).\n \n Make changes to the on-call responsibilities slowly. For example:\n \n To avoid a sudden loss of skilled on-call engineers, keep team members on-call for their previous team’s systems for a transitional period.\n \n After the teams split, wait three to six months to split the on-call rotations.\n Service Complexity Where to split \n If a service becomes too complex for a single team to manage, there are a number of ways to split the work. Consider the following options to simplify the cognitive load on team members:\n Architectural splits \n For example, compute, storage, and network; frontend and backend; frontend and database; client and server; frontend and pipelines.\n Language splits \n SRE principles are not dependent on programming languages. However, if your SREs are deeply involved in your source code, there may be some benefit in a split along these lines.\n Location splits \n If your organization’s engineering spans multiple offices, you might want to align SRE team placement with application development.\n Pitfalls \n When a team splits, sometimes none of the new teams pick up responsibility for a component owned by the original team. To mitigate this risk, you can:\n \n Designate one team as responsible for everything not covered in the second team’s charter.\n \n Appoint a senior SRE to an overarching technical lead role across both teams.\n SRE Rollout \n If your initial SRE team(s) are successful, your organization may want more of them. We recommend carefully prioritizing the services that receive SRE support. Consider the following points:\n \n Prioritize services for which reliability has a high financial or reputational impact. The higher the impact, the higher the priority.\n \n Define the minimal viable set of services that need to be up in order for the product to function. Prioritize those services and make sure that other services degrade gracefully.\n \n A service should not be a priority for SRE simply because it’s unreliable. SRE should be applied tactically where it is most relevant for the business. You also don’t want to allow your developers to ignore reliability until after SREs are engaged.\n Geographical Splits \n As described in Chapter 11 of our first book, Google commonly staffs sister SRE teams on different continents. We do this for a number of reasons:\n Service reliability \n If a major incident (e.g., natural disaster) prevents one team from operating, the other team can continue to support a service.\n On-call stress \n Splitting the pager rotation into 12-hour shifts allows proper breaks for on-call engineers.\n Recruiting and retaining talent \n An on-call shift that overlaps the normal working day broadens the base of engineers that we can recruit into SRE roles, and underlines the engineering part of our role.\n Production maturity \n Splitting service responsibility across two offices tends to lead to an improvement in maturity as the need for documentation, training, and standardization become more important.\n \n If your organization is lucky enough to already have engineering teams on multiple continents, we recommend staffing multisite SRE teams. It’s possible to have an SRE team in a different office than the development team, but in our experience, colocation provides benefits in the form of a healthy and robust interteam dialog. Otherwise, it’s harder for SREs to understand how the services evolve or how the technical infrastructure is used, and it’s harder for product developers to be optimistic about infrastructure improvements.\n Placement: How many time zones apart should the teams be? \n Assuming you have some choice, time zone separation is an important consideration in deciding where to locate the two teams. Unfortunately, the objectives are mutually exclusive:\n \n Minimizing the number of hours that on-callers have to work outside of normal office hours\n \n Maximizing the overlap time when both teams are online so that they can interact with each other regularly\n The situation is complicated by Daylight Saving Time. \n In our experience, staffing teams in time zones that are six to eight hours apart works well and avoids 12 a.m. to 6 a.m. on-call shifts. You can use online resources like https://www.timeanddate.com/worldclock/meeting.html to visualize time zone overlaps for various locations.\n People and projects: Seeding the team \n When you split a team geographically, the first SRE team in a new office will set the norms for future SRE teams. Your likelihood of success will be much higher if you can identify one or more SREs who are willing to relocate from the original site on a temporary or long-term basis to establish SRE practices and recruit and train the new team. The new team should also undertake a high-value project that fosters collaboration within the team and requires interaction with their sister team.\n Parity: Distributing Work Between Offices and Avoiding a “Night Shift” \n Often, one of two sister SRE teams is colocated (or at least in the same time zone) with the product development team (we’ll call this “Office 1”). If this is the case, be vigilant to ensure that the team that is not colocated (“Office 2”) doesn’t become a night shift that has little contact with the product development team, takes more than its fair share of toil, or is assigned only the less interesting or impactful projects.\n \n The workloads of the two offices will have some natural differences:\n \n Your service likely has a daily peak, and one office will be on-call during that peak. As a result, the on-call experience of the two sites will differ.\n \n Your development process will produce new releases with a particular cadence. One office will likely take more of the burden associated with rollouts and rollbacks.\n \n Office 1 is more likely to be interrupted during their working day by questions from the product development team.\n \n It’s easier for Office 1 to undertake project work associated with major releases. Conversely, it’s easier for Office 2 to undertake project work decoupled from immediate product goals.\n \n You can help maintain balance by using the following practices:\n \n Balance the on-call load between offices. Designate a higher percentage of tickets to the office that fields the lower percentage of pages.\n \n Associate development areas with SRE teams in a particular office. This could be short term (e.g., according to project) or longer term (e.g., according to service). Otherwise, the product development team will likely lean on Office 1, and not effectively engage with SREs in Office 2.\n \n Assign a higher percentage of internal service improvement projects (that are likely to require less involvement with the product development team) to Office 2.\n \n Spread the most interesting and impactful projects fairly between the two offices.\n \n Maintain a similar team size and seniority mix between the two offices.\n \n Split projects across the two sites to deliberately foster interoffice interactions between SREs. While running a major project from a single office might gain some efficiencies, splitting projects across the two sites both helps spread knowledge and builds trust between offices.\n \n Allow engineers to travel to the other office regularly. This enables creating better rapport and, hence, willingness to do work for the other side.\n Placement: What about having three shifts? \n Our attempts at splitting SRE teams across three sites resulted in various issues:\n \n It is impossible to have an interoffice production meeting that all SREs can attend (see Chapter 31 of our first book).\n \n It is harder to ensure parity of knowledge, capability, and operational response across three offices.\n \n If all on-call duties take place only during office hours, there’s less of an incentive to automate low-level toil and low-value pages. Being the hero that fixes easy problems is fun during office hours. But if it has some amount of personal cost, the motivation to make sure it never happens again is sharp and immediate.\n Timing: Should both halves of the team start at the same time? \n You might spin up sister teams using any of the following models:\n \n Both halves start at the same time.\n \n Set up the site that is colocated with the product development team first. This allows SREs to get involved earlier in the product lifecycle.\n \n Set up the site that is not colocated with the product development team first or, if a service has been in production for some time, the SRE team and the product development team can share the pager.\n \n Start making changes according to where the right people are at the right time.\n Finance: Travel budget \n It is very important to create opportunities for high-quality interactions between the two halves of the team. Despite the effectiveness of video conferencing for day-to-day meetings, we’ve found that regular face-to-face interactions go a long way toward facilitating healthy relationships and trust. We recommend that:\n \n Every SRE, product development manager, and technical lead in Site 1 visit Site 2 annually (at a minimum), and vice versa.\n \n Every SRE in a management or technical leadership role at Site 1 visit Site 2 at least twice a year, and vice versa.\n \n All SREs convene at least once a year.\n Leadership: Joint ownership of a service \n If you have multiple SRE sites, you likely have decision makers in each office. These parties should meet regularly face-to-face and by video conference. Only by establishing a strong personal relationship can they:\n \n Debate solutions to challenges that the team faces.\n \n Resolve differences of opinion and agree on a joint path forward.\n \n Advocate on behalf of each other’s team (to prevent an “us versus them” mentality).\n \n Support the health of each other’s team.\n Suggested Practices for Running Many Teams \n New challenges arise as your organization accumulates more SREs and SRE teams. For example, you’ll have to:\n \n Ensure you provide SREs with the career opportunities they need.\n \n Encourage consistency of practices and tooling.\n \n Deal with services that don’t justify a full SRE engagement.\n \n This section describes a number of the practices that we have adopted at Google to deal with these concerns. Depending on the specifics of your organization, some or many may work for you too.\n Mission Control \n Google’s Mission Control program gives engineers from product development teams the opportunity to spend six months embedded in an SRE team. We typically match these engineers to SRE teams working in a distinctly different area from their expertise. The software engineer is trained in production systems and practices and eventually goes on-call for that service. After six months, some engineers decide to stay in SRE; others return to their old teams with a much better appreciation for the production environment and SRE practices. SRE teams benefit from additional engineering resources and gain valuable insight into gaps and inaccuracies in training material and documentation.\n SRE Exchange \n Google’s SRE Exchange program lets an SRE spend a week working alongside a different SRE team. The visiting SRE observes how the host team works and shares practices from their home team that might be useful to the host team. At the end of the exchange, the visiting SRE writes a trip report describing their week, their observations, and their recommendations for both teams. This program is useful at Google because our SRE teams are highly specialized.\n Training \n Training is critical to SRE’s ability to operate systems. While most of this is delivered in-team (see Training roadmap in On-Call), consider establishing a standard training curriculum for all SREs. At Google, all new SREs attend SRE EDU, an immersive weeklong training that introduces key concepts, tooling, and platforms that almost all SREs work with. This provides a baseline level of knowledge across all new SREs, and simplifies team-specific and service-specific training objectives. The SRE EDU team also runs a second series of classes a few months later that covers the common tools and processes that we use for managing major incidents. Our performance management process specifically recognizes SREs who facilitate this training.\n Horizontal Projects \n Because SRE teams are tightly aligned with a set of services, there is a temptation for teams to build proprietary solutions to deal with the challenges they encounter—for example, monitoring, software rollout, and configuration tools. This can lead to significant duplication of efforts across teams. While there is value in allowing a number of solutions to compete for “market” adoption, at some point, it makes sense to converge upon a standard solution that:\n \n Meets most teams’ requirements\n \n Provides a stable and scalable platform upon which the next layer of innovation can be built\n \n Google approaches these efforts by using horizontal teams, which are often staffed by experienced SREs. These horizontal teams build and run a standard solution and partner with other SRE teams to ensure smooth adoption. (For more information on horizontal software development, see Case Study 2: Common Tooling Adoption in SRE in Organizational Change Management in SRE.)\n SRE Mobility \n Google does its best to ensure that engineers actively want to be part of their respective teams. To this end, we make sure that SREs are able to (and aware that they’re able to) transfer between teams. Assuming there are no performance issues, SREs are free to transfer to other SRE teams with open headcount. SREs who also passed our hiring bar for software engineer roles are free to transfer to product development teams (see https://bit.ly/2xyQ4aD).\n \n This level of mobility is very healthy for individuals and teams for a number of reasons:\n \n Engineers are able to identify and occupy roles of interest.\n \n If personal circumstances change and on-call responsibilities become impractical, SREs can explore opportunities on teams with less demanding on-call duties. They can obtain this information by talking to other teams and reviewing team on-call stats.\n \n SREs who move between teams broaden the experience of the teams they join.\n \n SREs who move between offices help build or maintain cultural consistency between different offices.\n \n SREs are not compelled to work on services that are unhealthy, or for managers who aren’t supportive of their personal development.\n \n This policy also has the side effect of keeping your SRE managers focused on healthy and happy services and teams.\n Travel \n In addition to the travel required to keep geographically split teams healthy (see the section Finance: Travel budget), consider funding for:\n \n Building internal company communities of interest that include SREs from a number of offices. Such groups can largely collaborate via email and video conferencing, but meet face-to-face at least annually.\n \n Attending and presenting at industry-wide SRE and SRE-related conferences to broaden knowledge, learn how other organizations tackle similar problems, and, hopefully, be inspired and energized.\n Launch Coordination Engineering Teams \n As described in Chapter 27 of our first book, a Launch Coordination Engineering (LCE) team can apply SRE principles to a broader set of product development teams—teams that build services that don’t require the level of attention that merits SRE engagement. Just like any other SRE team, an LCE team should be actively engaged in automating its daily operations. For example, developing standard tooling and frameworks enable product development teams to design, build, and launch their service in a production environment.\n Production Excellence \n As the number of SRE teams at your organization grows, a number of best practices will emerge. Every SRE team evolves differently, so evaluating them requires senior SREs with insight into multiple teams.\n \n At Google, we run a regular service review called Production Excellence. On a regular basis, senior SRE leaders review every SRE team, assessing them on a number of standard measures (e.g., pager load, error budget usage, project completion, bug closure rates). The review both applauds outstanding performance and provides suggestions for underperforming teams.\n \n Experienced SREs are equipped to evaluate nuanced scenarios. For example, it can be challenging to tease out a drop in project completion rate caused by a team merger or split versus genuine team performance issues. If a team is at risk of becoming overwhelmed, the reviewers can and should to use their organizational position to support the team's leadership in rectifying the situation.\n SRE Funding and Hiring At Google, we use two practices to make sure that every SRE contributes significant value: \n Much of SRE funding comes from the same source as product development team funding. Similar to testing or security, reliability is a core pillar of product development, and is funded as such.\n \n In our experience, the supply of SREs is always smaller than the demand for them. This dynamic ensures that we regularly review and prioritize the services that receive SRE support.\n \n In short, you should have fewer SREs than the organization would like, and only enough SREs to accomplish their specialized work.\n \n At Google, the ratio of SREs to engineers on product development teams ranges from around 1:5 (e.g., low-level infrastructure services) to around 1:50 (e.g., consumer-facing applications with a large number of microservices built using standard frameworks). Many services fall in the middle of this range, at a ratio of around 1:10.\n Conclusion \n We believe an organization of any size can implement SRE practices by applying the following three principles:\n \n SRE needs SLOs with consequences.\n \n SREs must have time to make tomorrow better than today.\n \n SRE teams have the ability to regulate their workload.\n \n Since Google started talking publicly about SRE, it has grown from Google-specific production practices into a profession practiced in many companies. These principles have often proven true—both over our years of direct experience at scale, and during our more recent experience of working with our customers to adopt SRE practices. Because we’ve seen these practices work both within and outside of Google, we feel these recommendations should prove useful across a range of organizations of different types and sizes.\n 1Bruce W. Tuckman, “Developmental Sequence in Small Groups,” Psychological Bulletin 63, no. 6 (1965): 384–99.\n 2Shylaja Nukala and Vivek Rau, “Why SRE Documents Matter,” ACM Queue (May–June 2018): forthcoming."}, {"uroven": 1, "text": "Your First SRE Team"}, {"uroven": 5, "text": "Forming"}, {"uroven": 6, "text": "Creating a new team as part of a major project"}, {"uroven": 6, "text": "Assembling a horizontal SRE team"}, {"uroven": 6, "text": "Converting a team in place"}, {"uroven": 5, "text": "Storming"}, {"uroven": 6, "text": "Risks and mitigations"}, {"uroven": 6, "text": "New team as part of a major project"}, {"uroven": 6, "text": "Horizontal SRE team"}, {"uroven": 6, "text": "A team converted in place"}, {"uroven": 5, "text": "Norming"}, {"uroven": 5, "text": "Performing"}, {"uroven": 6, "text": "Partnering on architecture"}, {"uroven": 6, "text": "Self-regulating workload"}, {"uroven": 1, "text": "Making More SRE Teams"}, {"uroven": 5, "text": "Service Complexity"}, {"uroven": 6, "text": "Where to split"}, {"uroven": 6, "text": "Pitfalls"}, {"uroven": 5, "text": "SRE Rollout"}, {"uroven": 5, "text": "Geographical Splits"}, {"uroven": 6, "text": "Placement: How many time zones apart should the teams be?"}, {"uroven": 6, "text": "People and projects: Seeding the team"}, {"uroven": 6, "text": "Parity: Distributing Work Between Offices and Avoiding a “Night Shift”"}, {"uroven": 6, "text": "Placement: What about having three shifts?"}, {"uroven": 6, "text": "Timing: Should both halves of the team start at the same time?"}, {"uroven": 6, "text": "Finance: Travel budget"}, {"uroven": 6, "text": "Leadership: Joint ownership of a service"}, {"uroven": 1, "text": "Suggested Practices for Running Many Teams"}, {"uroven": 5, "text": "Mission Control"}, {"uroven": 5, "text": "SRE Exchange"}, {"uroven": 5, "text": "Training"}, {"uroven": 5, "text": "Horizontal Projects"}, {"uroven": 5, "text": "SRE Mobility"}, {"uroven": 5, "text": "Travel"}, {"uroven": 5, "text": "Launch Coordination Engineering Teams"}, {"uroven": 5, "text": "Production Excellence"}, {"uroven": 5, "text": "SRE Funding and Hiring"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# SRE Team Lifecycles\n\nBy David Ferguson and Prashant Labhane\nwith Shylaja Nukala\n\nThe [Preface](/workbook/preface/) to this book set a goal to “dispel the idea that SRE is implementable only at ‘Google scale’ or in ‘Google culture.’” This chapter lays out a [roadmap for maturing an SRE organization](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/) from unstaffed but aspirational, through various stages of maturity, to a robust and (potentially) globally distributed set of SRE teams. Regardless of where you are in your journey as an SRE organization, this chapter will help you identify strategies for evolving your SRE organization.\n\nWe discuss the [SRE principles](../../sre-book/part-II-principles/) that need to be in place at each stage of this journey. While your own journey will vary depending on the size, nature, and geographic distribution of your organization, the path we describe to successfully apply SRE principles and implement SRE practices should be generalizable to many different types of organizations.\n\n## SRE Practices Without SREs\n\nEven if you don’t have SREs, you can adopt SRE practices by using SLOs. As discussed in [Implementing SLOs](/workbook/implementing-slos/), SLO are the [foundations for SRE practices](../../sre-book/part-III-practices/). As such, they inform our first principle of SRE:\n\nThe performance of your service relative to SLOs should guide your business decisions.\n\nWe believe that the following practices—which you can achieve without even having a single SRE—are the crucial steps toward implementing SRE practices:\n\n- Acknowledge that you don’t want 100% reliability.\n- Set a reasonable SLO target. This SLO should measure the reliability that is most important to your users.\n- Agree on an error budget policy that will help defend your user experience. Use the error budget to help guide:\n- Measure the SLO and commit to following the error budget policy. This commitment requires agreement from company leadership.\n\nEven if an organization doesn’t have SRE staff, we believe that it is worthwhile to set SLOs for critical customer applications and to implement an error budget policy, if only because an implicit 100% SLO means a team can only ever be reactive. This SRE principle allows you to make data-informed decisions about how to ensure the reliability of your application.\n\n# Starting an SRE Role\n\n##### Finding Your First SRE\n\nIt’s possible that your first SRE employees won’t have explicit experience as an SRE. We’ve found the following areas to be relevant to the SRE role, and therefore appropriate to cover in interviews:\n\nOperations\n\n- Running applications in production gives invaluable insights that cannot be easily gained otherwise.\n\nSoftware engineering\n\n- SREs need to understand the software they are supporting, and be empowered to improve it.\n\nMonitoring systems\n\n- SRE principles require SLOs that can be measured and accounted for.\n\nProduction automation\n\n- Scaling operations requires automation.\n\nSystem architecture\n\n- Scaling the application requires good architecture.\n\nYour first SRE will likely occupy a difficult and ambiguous position between velocity and reliability goals. They will need to be resilient and flexible in order to provide the right balance between enabling product development and defending the customer experience.\n\n##### Placing Your First SRE\n\nOnce you’ve hired your first SRE, you now need to decide where to embed them in your organization. You have three main choices:\n\n- In a product development team\n- In an operations team\n- In a horizontal role, consulting across a number of teams\n\nWe recommend that you evaluate the pros and cons of each of these three options after reading this chapter, taking into account:\n\nYour own role and sphere of influence.\n\n- If you’re able to effectively influence product development team(s), then embedding an SRE in operations or horizontal work can help iron out gnarly production issues early.\n\nThe immediate challenges that you face.\n\n- If the challenges require hands-on work to mitigate a technical problem or business risk, then embedding an SRE in an operations or product team can be advantageous. Doing so removes organizational silos and facilitates easy communication between team members.\n\nThe challenges you expect to face in the next 12 months.\n\n- For example, if you’re focusing on launches, embedding the SRE within a product development team might make sense. If you’re focusing on infrastructure changes, embedding the SRE with an operations team might make more sense.\n\nYour plan for how you want to change your organization.\n\n- If you plan to move toward a centralized SRE organization, you might not want to embed SREs in product development teams initially—it might be hard to remove them from these teams later.\n\nThe person you have identified as your first SRE.\n\n- Decide where this first SRE would be most productive based upon their background and skills.\n\nIt might make sense to experiment with different models as you figure out which approach works best for you. However, we strongly recommend sticking with one stable and coherent model in the long term; otherwise, the instability will undermine the effectiveness of SRE.\n\n##### Bootstrapping Your First SRE\n\nYour first SRE’s initial mission is to get up to speed on the service. In order to have a positive impact, an SRE needs to understand the service’s current problems, its required toil (see [Eliminating Toil](/workbook/eliminating-toil/)) and the engineering required to keep the system within SLOs. If your organization doesn’t already have SLOs and error budgets as per Principle #1, your first SRE needs to perform the engineering required to design and implement these tools. At this point, our second SRE principle comes into play:\n\nWithout this principle, toil will only increase as service usage increases and the system becomes correspondingly larger and more complex. A healthy balance between operational responsibilities and project work is essential—if toil becomes too burdensome, talented engineers will flee the team. For more guidance on how an SRE team might obtain that balance, see [Identifying and Recovering from Overload](/workbook/overload/).\n\nInitial project work might focus on one of the following:\n\n- Improving monitoring so you can better understand the system when things go wrong.\n- Addressing any high-priority actions identified in recent postmortems (see [Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/) ).\n- Implementing automation to reduce a specific element of toil required to run the service.\n\nIt is vital that the SRE has a distinctive role and that their projects benefit the whole team. Look out for signs that the SRE work is not going well:\n\n- Their mix of work is indistinguishable from other engineering work.\n- If your first SRE is on a product development team, they are doing more than their fair share of operational work, or they are the only person working on service configuration changes.\n- The SLOs are not being taken seriously, and the SRE isn’t making progress in measuring and defending the customer experience.\n\n##### Distributed SREs \n If your organization doesn’t have (or doesn’t plan to have) a discrete [SRE team](https://sre.google/sre-book/introduction/) (or teams), it’s important to construct a community for distributed SREs. This community should advocate the SRE’s distinctive role and drive consistent changes in reliability-focused technology or practices across teams. Without a social grouping, individual SREs may feel very isolated.\n Your First SRE Team \n You might start an SRE team in a number of ways. Approaches we’ve used at Google, from least to most complex, include:\n \n Creating a new team as part of a major project\n \n Establishing a horizontal SRE team\n \n Converting an existing team (for example, an operations team)\n \n The approach that’s best for your organization is highly situational. A team needs enough SREs to handle the operational tasks required to run the service. Addressing that workload brings us to our third principle:\n \n Outside of a large SRE organization, a team likely can’t embrace this concept from day one. This principle is open to interpretation and can be difficult to put into practice organizationally. It’s also the most subtle of our three principles, and bears some unpacking. The following sections walk through the stages of building a team, using Tuckman’s performance model and stages of forming, storming, norming, and performing.1 Forming \n The team you assemble should have combined experience and expertise that includes the following:\n \n Making changes to application software to improve reliability and performance.\n \n Writing software to:\n \n Expedite the detection and mitigation of problems in production.\n \n Automate manual processes.\n \n Establishing and using strong software practices and standards to facilitate long-term maintainability.\n \n Having a methodical and careful approach to making operational changes: be able to describe why certain practices are reliable.\n \n Understanding system architecture (distributed systems design and operation).\n \n Ideally, your team will be ready to adopt a new way of working, and have a balance of skills and established personal relationships with other teams. If possible, we recommend that you seed the team with internal transfers. This can reduce the time it takes your team to get up and running.\n Creating a new team as part of a major project \n You might create a [new SRE team](../../sre-book/part-IV-management/) for a major project that is large enough to justify new headcount, and for which reliability and operational capability have been identified as project risks. Examples might include the creation of a new service or a substantial change in your technology (e.g., migration to a public cloud).\n Assembling a horizontal SRE team \n In this approach (well documented in [Chapter 27](https://sre.google/sre-book/reliable-product-launches/) of our first book), a small team of SREs consults across a number of teams. This team might also establish best practices and tools for configuration management, monitoring, and alerting.\n Converting a team in place \n You might be able to convert an existing team into an SRE team. The existing team likely isn’t a product development team; typical candidates include an operations team or a team responsible for managing a popular open source component that your organization uses heavily. Be careful to avoid renaming a team from “Operations” to “SRE” without first applying SRE practices and principles! If your rebranding effort fails, your organization may be poisoned against the entire concept of SRE in the future.\n Storming \n Once assembled, the team needs to start working collaboratively: the team members need to work well with each other, and also with other teams.\n \n You might employ any number of tactics to promote this type of cohesion. At Google, we’ve had success providing a regular forum for learning and discussing SRE practices and reflecting on how the team is performing. For example, you might hold a regular television lunch, where you show a video from SREcon, or a book club, where you all preread some relevant content and then discuss how you can apply it.\n \n During this phase, encourage your new SRE team to stretch themselves. Your new SREs should be comfortable speaking out about SRE practices that don’t fit within your organization, and whether it’s worth making the change so they fit.\n Risks and mitigations \n During this nascent phase of the SRE journey, there are a number of ways the team might fail. Next we present some risks and possible mitigation strategies, broken down by how the new team formed. You might use one or more of the mitigation strategies for each risk.\n New team as part of a major project Risks The team:\n \n Spreads itself too thin by taking responsibility for too many services at once.\n \n A team that is constantly firefighting doesn’t have time to address risk in a more permanent way.\n \n Becomes too introspective trying to understand SRE principles and how to implement them. As a result, it underdelivers.\n \n For example, the team might become consumed with developing the perfect SLO definition, neglecting the needs of the service in the meantime.\n \n Doesn’t examine its work thoroughly. As a result, service management reverts to previous behaviors.\n \n The team is paged 100 times a day. Since the pages don’t indicate that immediate intervention is required, they ignore the pages.\n \n Abandons SRE principles and practices in order to meet product milestones.\n \n Reliability improvements to defend the SLO, such as architectural changes, may never be implemented because they set back development timelines.\n \n Gets distracted by conflict with existing teams that perceive a loss of influence or power as a result of the new SRE team.\n \n Does not have the necessary breadth of skills, so delivers only part of the necessary improvements.\n \n Without the ability to, for example, program, SREs may be unable to instrument the product to measure reliability.\n Mitigations The team: \n Engages initially on a single important service.\n \n Engages as early as possible on the project, ideally at the design stage.\n \n Has input into the design, with a particular focus on defining SLOs and analyzing reliability risks inherent in the design.\n \n Partners with the product development team and works on features specific to reliability and integration with existing operational platforms.\n \n Is not expected to have operational responsibility on day one. Instead, this responsibility initially sits with the product development team or project team. This may be a significant cultural change that needs support from management.\n \n Has clear agreement on the conditions that a service must meet to be onboarded by SRE (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) of Site Reliability Engineering).\n In addition: \n If the project involves a migration, the team should have a solid understanding of the current and future environments. If you need to recruit team members externally, consider candidates who have knowledge of software engineering and the future environment.\n \n Continue to keep the number of new hires to less than a third of the team so that the training effort doesn’t overwhelm existing team members.\n Horizontal SRE team Risks \n The team is perceived as a new “gating” organization that does no real work or adds no real value.\n Mitigations The team: \n Is seeded with respected engineers who have relevant subject matter expertise.\n \n Undertakes project work that focuses on delivering tools (for monitoring, alerting, rollouts, best practices, checklists). These tools should have a short-term beneficial impact on at least two other teams.\n \n Communicates successes and benefits. An SRE team that makes an efficiency breakthrough, automates away toil, or permanently eliminates a source of system unreliability should be celebrated.\n \n Sees themselves as enablers, not gatekeepers. Focus on solutions, not just problems.\n A team converted in place Risks The team: \n Perceives that the conversion process is the start of a slow journey to job losses as automation replaces humans.\n \n Doesn’t support the change to an SRE team.\n \n Has no slack capacity they can leverage to change the team’s day-to-day activities.\n \n Sees no benefit to their day-to-day routine after a few months.\n \n Works with systems that do not support scripting or automation.\n \n Doesn’t have the software engineering skills to automate their current workload.\n \n Doesn’t consistently have the skills needed to evolve toward SRE, or an interest in acquiring the skills.\n Mitigations The team: \n Secures senior leadership support for the change.\n \n Renegotiates responsibilities to create the slack needed to effect change.\n \n Manages communication of the change very carefully.\n \n Has access to robust personal and technical support throughout the transition.\n \n Deals with the concern about job losses head on. In a lot of environments, automation eliminates portions of work, but not jobs as a whole; while this might be a step on the path to job losses, it does at least have the virtue of freeing up time to do something better (and more sellable to a future employer) than nonautomated toil.\n \n Can escape operational overload and have more significant impact. If engineers reduce the volume of toil enough to necessitate a smaller team, then their experience should be highly reusable elsewhere in your organization. If their experience can’t be used internally, it should provide an advantage in seeking work elsewhere.\n \n Receives training to acquire the skills SREs need. Your product development team can provide product training, while SRE orientation can make use of this book and other external resources.\n \n Changes how performance is evaluated—the metrics that assess both the team and individuals. The former should be aligned with SLOs and adoption of other SRE practices; the latter should be aligned with evidence of SRE skills.\n \n Adds an experienced SRE or developer to the team.\n \n Has the freedom (budget or time) to identify and introduce new open source or cloud-based monitoring and alerting systems to enable automation. Determining whether the existing systems are sufficient should be an early priority.\n \n Regularly reviews progress internally and with stakeholders.\n Norming \n Norming entails working past the issues raised in Risks and mitigations and reaching broad agreement on best practices for the organization’s SRE teams. Teams need to agree on an acceptable level of toil, appropriate alerting thresholds, and [important and relevant SRE practices](../../sre-book/part-III-practices/). Teams also need to become self-sufficient at proactively identifying the challenges ahead of the service and setting medium- and long-term goals to improve the service.\n \n Teams should reach the following levels of maturity during the norming phase:\n \n SLOs and error budgets are in place, and the error budget policy is exercised following significant incidents. Leadership is interested in SLO measurements.\n \n On-call rotations are established and sustainable (see [On-Call](/workbook/on-call/)). On-call engineers are compensated for their on-call time. There is sufficient tooling, documentation2, and training to support any team member during a significant incident.\n \n Toil is documented, bounded, and managed. As a result, SREs complete impactful projects that improve reliability and efficiency.\n \n Postmortem culture is well established. (See [Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/).)\n \n The team exhibits most of the tenets listed in [How SRE Relates to DevOps](/workbook/how-sre-relates/).\n \n As the team solves initial issues listed in Storming, they capture what they learned and prevent repeating problems. The team regularly runs training exercises, such as Wheel of Misfortune or DiRT (Disaster Recovery Testing). (For more information on on-call training, see [Chapter 11](https://sre.google/sre-book/being-on-call/) in our first book and [SRE Engagement Model](/workbook/engagement-model/) in this book.)\n \n The product development team benefits from remaining involved in the on-call rotation.\n \n The team produces regular reports (e.g., quarterly) for their stakeholders that cover the highlights, lowlights, and key metrics of the reporting period.\n \n Establishing a healthy relationship with your product development team forms the basis of many of these mitigation strategies. Teams should plan work together per your organization’s planning cycle.\n \n Before moving on to the next step: pause, celebrate this success, and write a retrospective that covers your journey so far.\n Performing \n The SRE team’s experience with production and work up to this point should have earned the respect and attention of the wider organization, and laid the foundation for strategically moving forward. In the final stage of Tuckman’s performance model, performing, you should expect to:\n \n Partner on all architecture design and change.\n From the initial design phase onward, SRE should define the patterns for how software is built and structured for reliability. \n Have complete workload self-determination.\n \n Teams should consistently apply Principle 3 with a view toward the holistic health of the system.\n Partnering on architecture \n The product development team should start to reach out to its partner SRE team for advice on all significant service changes. The SRE team now has the opportunity to have some of its greatest impact.\n \n For example, the SRE team might provide early input into the design of new service architecture to reduce the likelihood of high-cost reengineering at a later date. The product development and SRE teams can acknowledge their differences in perspective on architectural decisions to arrive at a good design process. A successful engagement can add value through:\n \n Improved reliability, scalability, and operability\n \n Better reuse of existing patterns\n \n Simpler migration (if required)\n Self-regulating workload \n Whereas architectural partnerships should emerge somewhat organically over time, an SRE team must clearly assert Principle #3 to its partners. Doing so requires strong team leadership and clear, upfront commitment from senior management. The ability to regulate its own workload secures the SRE team’s position as an engineering team that works on the organization’s most important services, equal to its product development team peers.\n \n In practice, how an SRE team goes about determining its own workload depends on the teams with which SREs interface. At Google, SRE teams most commonly interact with a distinct product development team. In this case, the relationship has the following characteristics:\n \n An SRE team chooses if and when to onboard a service (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) of Site Reliability Engineering).\n \n In the event of operational overload, the team can reduce toil by:\n \n Reducing the SLO\n \n Transferring operational work to another team (e.g., a product development team)\n \n If it becomes impossible to operate a service at SLO within agreed [toil constraints](https://sre.google/sre-book/eliminating-toil/), the SRE team can hand back the service to the product development team.\n [SRE engagement](https://sre.google/sre-book/communication-and-collaboration/) is not perpetual—it feeds itself by solving problems at scale and improving the reliability of services. If an SRE team has solved all such problems for a service, you need to either:\n \n Intentionally consider what other reliability challenges the SRE team needs to tackle.\n \n Make an intentional decision to hand back the service to the product development team.\n Otherwise, your team risks attrition as SREs move on to more interesting opportunities. The slow bleed from attrition can put production at risk. \n Not all SRE teams have partner product development teams. Some SRE teams are also responsible for developing the systems they run. Some SRE teams package third-party software, hardware, or services (e.g., open source packages, network equipment, something-as-a-service), and turn those assets into internal services. In this case, you don’t have the option to transfer work back to another team. Instead, consider the following tactics:\n \n If the service does not conform to its SLO, stop feature-related project work in favor of reliability-focused project work.\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, reduce your SLOs—unless management provides more capacity (people or infrastructure) to deal with the situation.\n Making More SRE Teams \n Once your first SRE team is up and running, you may want to form an additional SRE team. You might do so for one of the following reasons:\n Service complexity \n As a service gains users and features, it becomes more complex and harder for a single SRE team to support effectively. You might want to split the team into subteams that specialize in parts of the service.\n SRE rollout \n If your first SRE team has been successful and made a clear difference, there may be an organizational interest in adopting this approach across more services.\n Geographically split \n You want to split the team into two halves in different time zones and move to 12-hour on-call shifts.\n \n When you’re creating a new SRE team, we recommend that you do the following:\n \n Read any postmortems written after other teams were established. Identify and repeat what went well and fix and explore alternatives for things that didn’t go well.\n \n Seed the new team with SREs from the existing team—some of your best SREs and highest-potential SREs who can rise to the challenge. In our experience, finding qualified SRE candidates is difficult, so growing a team quickly with new hires often isn’t realistic.\n \n Standardize the framework for establishing teams and onboarding services (see [SRE Engagement Model](/workbook/engagement-model/)).\n \n Make changes to the on-call responsibilities slowly. For example:\n \n To avoid a sudden loss of skilled on-call engineers, keep team members on-call for their previous team’s systems for a transitional period.\n \n After the teams split, wait three to six months to split the on-call rotations.\n Service Complexity Where to split \n If a service becomes too complex for a single team to manage, there are a number of ways to split the work. Consider the following options to simplify the cognitive load on team members:\n Architectural splits \n For example, compute, storage, and network; frontend and backend; frontend and database; client and server; frontend and pipelines.\n Language splits \n SRE principles are not dependent on programming languages. However, if your SREs are deeply involved in your source code, there may be some benefit in a split along these lines.\n Location splits \n If your organization’s engineering spans multiple offices, you might want to align SRE team placement with application development.\n Pitfalls \n When a team splits, sometimes none of the new teams pick up responsibility for a component owned by the original team. To mitigate this risk, you can:\n \n Designate one team as responsible for everything not covered in the second team’s charter.\n \n Appoint a senior SRE to an overarching technical lead role across both teams.\n SRE Rollout \n If your initial SRE team(s) are successful, your organization may want more of them. We recommend carefully prioritizing the services that receive SRE support. Consider the following points:\n \n Prioritize services for which reliability has a high financial or reputational impact. The higher the impact, the higher the priority.\n \n Define the minimal viable set of services that need to be up in order for the product to function. Prioritize those services and make sure that other services degrade gracefully.\n \n A service should not be a priority for SRE simply because it’s unreliable. SRE should be applied tactically where it is most relevant for the business. You also don’t want to allow your developers to ignore reliability until after SREs are engaged.\n Geographical Splits \n As described in [Chapter 11](https://sre.google/sre-book/being-on-call/) of our first book, Google commonly staffs sister SRE teams on different continents. We do this for a number of reasons:\n Service reliability \n If a major incident (e.g., natural disaster) prevents one team from operating, the other team can continue to support a service.\n On-call stress \n Splitting the pager rotation into 12-hour shifts allows proper breaks for on-call engineers.\n Recruiting and retaining talent \n An on-call shift that overlaps the normal working day broadens the base of engineers that we can recruit into SRE roles, and underlines the engineering part of our role.\n Production maturity \n Splitting service responsibility across two offices tends to lead to an improvement in maturity as the need for documentation, training, and standardization become more important.\n \n If your organization is lucky enough to already have engineering teams on multiple continents, we recommend staffing multisite SRE teams. It’s possible to have an SRE team in a different office than the development team, but in our experience, colocation provides benefits in the form of a healthy and robust interteam dialog. Otherwise, it’s harder for SREs to understand how the services evolve or how the technical infrastructure is used, and it’s harder for product developers to be optimistic about infrastructure improvements.\n Placement: How many time zones apart should the teams be? \n Assuming you have some choice, time zone separation is an important consideration in deciding where to locate the two teams. Unfortunately, the objectives are mutually exclusive:\n \n Minimizing the number of hours that on-callers have to work outside of normal office hours\n \n Maximizing the overlap time when both teams are online so that they can interact with each other regularly\n The situation is complicated by Daylight Saving Time. \n In our experience, staffing teams in time zones that are six to eight hours apart works well and avoids 12 a.m. to 6 a.m. on-call shifts. You can use online resources like [https://www.timeanddate.com/worldclock/meeting.html](https://www.timeanddate.com/worldclock/meeting.html) to visualize time zone overlaps for various locations.\n People and projects: Seeding the team \n When you split a team geographically, the first SRE team in a new office will set the norms for future SRE teams. Your likelihood of success will be much higher if you can identify one or more SREs who are willing to relocate from the original site on a temporary or long-term basis to establish SRE practices and recruit and train the new team. The new team should also undertake a high-value project that fosters collaboration within the team and requires interaction with their sister team.\n Parity: Distributing Work Between Offices and Avoiding a “Night Shift” \n Often, one of two sister SRE teams is colocated (or at least in the same time zone) with the product development team (we’ll call this “Office 1”). If this is the case, be vigilant to ensure that the team that is not colocated (“Office 2”) doesn’t become a night shift that has little contact with the product development team, takes more than its fair share of toil, or is assigned only the less interesting or impactful projects.\n \n The workloads of the two offices will have some natural differences:\n \n Your service likely has a daily peak, and one office will be on-call during that peak. As a result, the on-call experience of the two sites will differ.\n \n Your development process will produce new releases with a particular cadence. One office will likely take more of the burden associated with rollouts and rollbacks.\n \n Office 1 is more likely to be interrupted during their working day by questions from the product development team.\n \n It’s easier for Office 1 to undertake project work associated with major releases. Conversely, it’s easier for Office 2 to undertake project work decoupled from immediate product goals.\n \n You can help maintain balance by using the following practices:\n \n Balance the on-call load between offices. Designate a higher percentage of tickets to the office that fields the lower percentage of pages.\n \n Associate development areas with SRE teams in a particular office. This could be short term (e.g., according to project) or longer term (e.g., according to service). Otherwise, the product development team will likely lean on Office 1, and not effectively engage with SREs in Office 2.\n \n Assign a higher percentage of internal service improvement projects (that are likely to require less involvement with the product development team) to Office 2.\n \n Spread the most interesting and impactful projects fairly between the two offices.\n \n Maintain a similar team size and seniority mix between the two offices.\n \n Split projects across the two sites to deliberately foster interoffice interactions between SREs. While running a major project from a single office might gain some efficiencies, splitting projects across the two sites both helps spread knowledge and builds trust between offices.\n \n Allow engineers to travel to the other office regularly. This enables creating better rapport and, hence, willingness to do work for the other side.\n Placement: What about having three shifts? \n Our attempts at splitting SRE teams across three sites resulted in various issues:\n \n It is impossible to have an interoffice production meeting that all SREs can attend (see [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) of our first book).\n \n It is harder to ensure parity of knowledge, capability, and operational response across three offices.\n \n If all on-call duties take place only during office hours, there’s less of an incentive to automate low-level toil and low-value pages. Being the hero that fixes easy problems is fun during office hours. But if it has some amount of personal cost, the motivation to make sure it never happens again is sharp and immediate.\n Timing: Should both halves of the team start at the same time? \n You might spin up sister teams using any of the following models:\n \n Both halves start at the same time.\n \n Set up the site that is colocated with the product development team first. This allows SREs to get involved earlier in the product lifecycle.\n \n Set up the site that is not colocated with the product development team first or, if a service has been in production for some time, the SRE team and the product development team can share the pager.\n \n Start making changes according to where the right people are at the right time.\n Finance: Travel budget \n It is very important to create opportunities for high-quality interactions between the two halves of the team. Despite the effectiveness of video conferencing for day-to-day meetings, we’ve found that regular face-to-face interactions go a long way toward facilitating healthy relationships and trust. We recommend that:\n \n Every SRE, product development manager, and technical lead in Site 1 visit Site 2 annually (at a minimum), and vice versa.\n \n Every SRE in a management or technical leadership role at Site 1 visit Site 2 at least twice a year, and vice versa.\n \n All SREs convene at least once a year.\n Leadership: Joint ownership of a service \n If you have multiple SRE sites, you likely have decision makers in each office. These parties should meet regularly face-to-face and by video conference. Only by establishing a strong personal relationship can they:\n \n Debate solutions to challenges that the team faces.\n \n Resolve differences of opinion and agree on a joint path forward.\n \n Advocate on behalf of each other’s team (to prevent an “us versus them” mentality).\n \n Support the health of each other’s team.\n Suggested Practices for Running Many Teams \n New challenges arise as your organization accumulates more SREs and SRE teams. For example, you’ll have to:\n \n Ensure you provide SREs with the career opportunities they need.\n \n Encourage consistency of practices and tooling.\n \n Deal with services that don’t justify a full SRE engagement.\n \n This section describes a number of the practices that we have adopted at Google to deal with these concerns. Depending on the specifics of your organization, some or many may work for you too.\n Mission Control \n Google’s [Mission Control](https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land) program gives engineers from product development teams the opportunity to spend six months embedded in an SRE team. We typically match these engineers to SRE teams working in a distinctly different area from their expertise. The software engineer is trained in production systems and practices and eventually goes on-call for that service. After six months, some engineers decide to stay in SRE; others return to their old teams with a much better appreciation for the production environment and SRE practices. SRE teams benefit from additional engineering resources and gain valuable insight into gaps and inaccuracies in training material and documentation.\n SRE Exchange \n Google’s SRE Exchange program lets an SRE spend a week working alongside a different SRE team. The visiting SRE observes how the host team works and shares practices from their home team that might be useful to the host team. At the end of the exchange, the visiting SRE writes a trip report describing their week, their observations, and their recommendations for both teams. This program is useful at Google because our SRE teams are highly specialized.\n Training \n Training is critical to SRE’s ability to operate systems. While most of this is delivered in-team (see [Training roadmap](/workbook/on-call#training-roadmap) in [On-Call](/workbook/on-call/)), consider establishing a standard [training curriculum](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) for all SREs. At Google, all new SREs attend SRE EDU, an immersive weeklong training that introduces key concepts, tooling, and platforms that almost all SREs work with. This provides a baseline level of knowledge across all new SREs, and simplifies [team-specific and service-specific training](../../sre-book/accelerating-sre-on-call/) objectives. The SRE EDU team also runs a second series of classes a few months later that covers the common tools and processes that we use for managing major incidents. Our performance management process specifically recognizes SREs who facilitate this training.\n Horizontal Projects \n Because SRE teams are tightly aligned with a set of services, there is a temptation for teams to build proprietary solutions to deal with the challenges they encounter—for example, monitoring, software rollout, and configuration tools. This can lead to significant duplication of efforts across teams. While there is value in allowing a number of solutions to compete for “market” adoption, at some point, it makes sense to converge upon a standard solution that:\n \n Meets most teams’ requirements\n \n Provides a stable and scalable platform upon which the next layer of innovation can be built\n \n Google approaches these efforts by using horizontal teams, which are often staffed by experienced SREs. These horizontal teams build and run a standard solution and partner with other SRE teams to ensure smooth adoption. (For more information on horizontal software development, see [Case Study 2: Common Tooling Adoption in SRE](/workbook/organizational-change#case-study-2-common-tooling-adoption-in-sre) in [Organizational Change Management in SRE](/workbook/organizational-change/).)\n SRE Mobility \n Google does its best to ensure that engineers actively want to be part of their respective teams. To this end, we make sure that SREs are able to (and aware that they’re able to) transfer between teams. Assuming there are no performance issues, SREs are free to transfer to other SRE teams with open headcount. SREs who also passed our hiring bar for software engineer roles are free to transfer to product development teams (see [https://bit.ly/2xyQ4aD](https://sre.google/in-conversation/)).\n \n This level of mobility is very healthy for individuals and teams for a number of reasons:\n \n Engineers are able to identify and occupy roles of interest.\n \n If personal circumstances change and on-call responsibilities become impractical, SREs can explore opportunities on teams with less demanding on-call duties. They can obtain this information by talking to other teams and reviewing team on-call stats.\n \n SREs who move between teams broaden the experience of the teams they join.\n \n SREs who move between offices help build or maintain cultural consistency between different offices.\n \n SREs are not compelled to work on services that are unhealthy, or for managers who aren’t supportive of their personal development.\n \n This policy also has the side effect of keeping your SRE managers focused on healthy and happy services and teams.\n Travel \n In addition to the travel required to keep geographically split teams healthy (see the section Finance: Travel budget), consider funding for:\n \n Building internal company communities of interest that include SREs from a number of offices. Such groups can largely collaborate via email and video conferencing, but meet face-to-face at least annually.\n \n Attending and presenting at industry-wide SRE and SRE-related conferences to broaden knowledge, learn how other organizations tackle similar problems, and, hopefully, be inspired and energized.\n Launch Coordination Engineering Teams \n As described in [Chapter 27](https://sre.google/sre-book/reliable-product-launches/) of our first book, a Launch Coordination Engineering (LCE) team can apply SRE principles to a broader set of product development teams—teams that build services that don’t require the level of attention that merits SRE engagement. Just like any other SRE team, an LCE team should be actively engaged in automating its daily operations. For example, developing standard tooling and frameworks enable product development teams to design, build, and launch their service in a production environment.\n Production Excellence \n As the number of SRE teams at your organization grows, a number of best practices will emerge. Every SRE team evolves differently, so evaluating them requires senior SREs with insight into multiple teams.\n \n At Google, we run a regular service review called Production Excellence. On a regular basis, senior SRE leaders review every SRE team, assessing them on a number of standard measures (e.g., pager load, error budget usage, project completion, bug closure rates). The review both applauds outstanding performance and provides suggestions for underperforming teams.\n \n Experienced SREs are equipped to evaluate nuanced scenarios. For example, it can be challenging to tease out a drop in project completion rate caused by a team merger or split versus genuine team performance issues. If a team is at risk of becoming overwhelmed, the reviewers can and should to use their organizational position to support the team's leadership in rectifying the situation.\n SRE Funding and Hiring At Google, we use two practices to make sure that every SRE contributes significant value: \n Much of SRE funding comes from the same source as product development team funding. Similar to testing or security, reliability is a core pillar of product development, and is funded as such.\n \n In our experience, the supply of SREs is always smaller than the demand for them. This dynamic ensures that we regularly review and prioritize the services that receive SRE support.\n \n In short, you should have fewer SREs than the organization would like, and only enough SREs to accomplish their specialized work.\n \n At Google, the ratio of SREs to engineers on product development teams ranges from around 1:5 (e.g., low-level infrastructure services) to around 1:50 (e.g., consumer-facing applications with a large number of microservices built using standard frameworks). Many services fall in the middle of this range, at a ratio of around 1:10.\n Conclusion \n We believe an organization of any size can implement SRE practices by applying the following three principles:\n \n SRE needs SLOs with consequences.\n \n SREs must have time to make tomorrow better than today.\n \n SRE teams have the ability to regulate their workload.\n \n Since Google started talking publicly about SRE, it has grown from Google-specific production practices into a profession practiced in many companies. These principles have often proven true—both over our years of direct experience at scale, and during our more recent experience of working with our customers to adopt SRE practices. Because we’ve seen these practices work both within and outside of Google, we feel these recommendations should prove useful across a range of organizations of different types and sizes.\n 1Bruce W. Tuckman, “Developmental Sequence in Small Groups,” Psychological Bulletin 63, no. 6 (1965): 384–99.\n 2Shylaja Nukala and Vivek Rau, “Why SRE Documents Matter,” ACM Queue (May–June 2018): forthcoming.", "znaku_textu": 44395, "slov": 6803, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:52:56", "sha256": "0560ea34ed5e48f2f6dd25fcfd4fe8d620c3124e39454ec349172b01c4f664b3", "hloubka": 2, "zdroj_objevu": "odkaz", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Bus_factor", "https://www.timeanddate.com/worldclock/meeting.html", "https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]} {"url": "https://sre.google/workbook/team-lifecycles/", "titulek": "Google SRE - Understanding sre team lifecycle handbook", "h1": "SRE Team Lifecycles", "popis": "SRE lifecycle: a roadmap for building & scaling an sre organization to mature into successful sre teams. Identify strategies for evolving your SRE organization.", "klicova_slova": "", "kanonicka": "https://sre.google/workbook/team-lifecycles/", "jazyk": "en", "robots_meta": "", "og": {}, "jsonld": [{"@context": "https://schema.org", "@type": "Article", "mainEntityOfPage": {"@type": "WebPage", "@id": "/workbook/team-lifecycles/"}, "headline": "SRE Team Lifecycles", "description": "The preface to this book set a goal to dispel the idea that SRE is implementable only at 'Google scale' or in 'Google culture'. This chapter lays out a roadmap for maturing an SRE organization from unstaffed but aspirational, through various stages of maturity, to a robust and (potentially) globally distributed set of SRE teams.", "author": [{"@type": "Person", "name": "David Ferguson"}, {"@type": "Person", "name": "Prashant Labhane"}, {"@type": "Person", "name": "Shylaja Nukala"}], "publisher": {"@type": "Organization", "name": "Google SRE", "logo": {"@type": "ImageObject", "url": "https://lh3.googleusercontent.com/C3_YVnTdc7xzTDekhsGeZ2hEYUnAlp47Au-9C50vi5r44rfpJAgiycs1g6AFKWqIpw6KVPrZWLse1VUqgOqYht-RxV1iowdB0_IABUd966aDsDWW-65m"}}}], "drobecky": [], "osnova": [{"uroven": 1, "text": "SRE Team Lifecycles"}, {"uroven": 2, "text": "SRE Practices Without SREs"}, {"uroven": 1, "text": "Starting an SRE Role"}, {"uroven": 5, "text": "Finding Your First SRE"}, {"uroven": 5, "text": "Placing Your First SRE"}, {"uroven": 5, "text": "Bootstrapping Your First SRE"}, {"uroven": 5, "text": "Distributed SREs \n If your organization doesn’t have (or doesn’t plan to have) a discrete SRE team (or teams), it’s important to construct a community for distributed SREs. This community should advocate the SRE’s distinctive role and drive consistent changes in reliability-focused technology or practices across teams. Without a social grouping, individual SREs may feel very isolated.\n Your First SRE Team \n You might start an SRE team in a number of ways. Approaches we’ve used at Google, from least to most complex, include:\n \n Creating a new team as part of a major project\n \n Establishing a horizontal SRE team\n \n Converting an existing team (for example, an operations team)\n \n The approach that’s best for your organization is highly situational. A team needs enough SREs to handle the operational tasks required to run the service. Addressing that workload brings us to our third principle:\n \n Outside of a large SRE organization, a team likely can’t embrace this concept from day one. This principle is open to interpretation and can be difficult to put into practice organizationally. It’s also the most subtle of our three principles, and bears some unpacking. The following sections walk through the stages of building a team, using Tuckman’s performance model and stages of forming, storming, norming, and performing.1 Forming \n The team you assemble should have combined experience and expertise that includes the following:\n \n Making changes to application software to improve reliability and performance.\n \n Writing software to:\n \n Expedite the detection and mitigation of problems in production.\n \n Automate manual processes.\n \n Establishing and using strong software practices and standards to facilitate long-term maintainability.\n \n Having a methodical and careful approach to making operational changes: be able to describe why certain practices are reliable.\n \n Understanding system architecture (distributed systems design and operation).\n \n Ideally, your team will be ready to adopt a new way of working, and have a balance of skills and established personal relationships with other teams. If possible, we recommend that you seed the team with internal transfers. This can reduce the time it takes your team to get up and running.\n Creating a new team as part of a major project \n You might create a new SRE team for a major project that is large enough to justify new headcount, and for which reliability and operational capability have been identified as project risks. Examples might include the creation of a new service or a substantial change in your technology (e.g., migration to a public cloud).\n Assembling a horizontal SRE team \n In this approach (well documented in Chapter 27 of our first book), a small team of SREs consults across a number of teams. This team might also establish best practices and tools for configuration management, monitoring, and alerting.\n Converting a team in place \n You might be able to convert an existing team into an SRE team. The existing team likely isn’t a product development team; typical candidates include an operations team or a team responsible for managing a popular open source component that your organization uses heavily. Be careful to avoid renaming a team from “Operations” to “SRE” without first applying SRE practices and principles! If your rebranding effort fails, your organization may be poisoned against the entire concept of SRE in the future.\n Storming \n Once assembled, the team needs to start working collaboratively: the team members need to work well with each other, and also with other teams.\n \n You might employ any number of tactics to promote this type of cohesion. At Google, we’ve had success providing a regular forum for learning and discussing SRE practices and reflecting on how the team is performing. For example, you might hold a regular television lunch, where you show a video from SREcon, or a book club, where you all preread some relevant content and then discuss how you can apply it.\n \n During this phase, encourage your new SRE team to stretch themselves. Your new SREs should be comfortable speaking out about SRE practices that don’t fit within your organization, and whether it’s worth making the change so they fit.\n Risks and mitigations \n During this nascent phase of the SRE journey, there are a number of ways the team might fail. Next we present some risks and possible mitigation strategies, broken down by how the new team formed. You might use one or more of the mitigation strategies for each risk.\n New team as part of a major project Risks The team:\n \n Spreads itself too thin by taking responsibility for too many services at once.\n \n A team that is constantly firefighting doesn’t have time to address risk in a more permanent way.\n \n Becomes too introspective trying to understand SRE principles and how to implement them. As a result, it underdelivers.\n \n For example, the team might become consumed with developing the perfect SLO definition, neglecting the needs of the service in the meantime.\n \n Doesn’t examine its work thoroughly. As a result, service management reverts to previous behaviors.\n \n The team is paged 100 times a day. Since the pages don’t indicate that immediate intervention is required, they ignore the pages.\n \n Abandons SRE principles and practices in order to meet product milestones.\n \n Reliability improvements to defend the SLO, such as architectural changes, may never be implemented because they set back development timelines.\n \n Gets distracted by conflict with existing teams that perceive a loss of influence or power as a result of the new SRE team.\n \n Does not have the necessary breadth of skills, so delivers only part of the necessary improvements.\n \n Without the ability to, for example, program, SREs may be unable to instrument the product to measure reliability.\n Mitigations The team: \n Engages initially on a single important service.\n \n Engages as early as possible on the project, ideally at the design stage.\n \n Has input into the design, with a particular focus on defining SLOs and analyzing reliability risks inherent in the design.\n \n Partners with the product development team and works on features specific to reliability and integration with existing operational platforms.\n \n Is not expected to have operational responsibility on day one. Instead, this responsibility initially sits with the product development team or project team. This may be a significant cultural change that needs support from management.\n \n Has clear agreement on the conditions that a service must meet to be onboarded by SRE (see Chapter 32 of Site Reliability Engineering).\n In addition: \n If the project involves a migration, the team should have a solid understanding of the current and future environments. If you need to recruit team members externally, consider candidates who have knowledge of software engineering and the future environment.\n \n Continue to keep the number of new hires to less than a third of the team so that the training effort doesn’t overwhelm existing team members.\n Horizontal SRE team Risks \n The team is perceived as a new “gating” organization that does no real work or adds no real value.\n Mitigations The team: \n Is seeded with respected engineers who have relevant subject matter expertise.\n \n Undertakes project work that focuses on delivering tools (for monitoring, alerting, rollouts, best practices, checklists). These tools should have a short-term beneficial impact on at least two other teams.\n \n Communicates successes and benefits. An SRE team that makes an efficiency breakthrough, automates away toil, or permanently eliminates a source of system unreliability should be celebrated.\n \n Sees themselves as enablers, not gatekeepers. Focus on solutions, not just problems.\n A team converted in place Risks The team: \n Perceives that the conversion process is the start of a slow journey to job losses as automation replaces humans.\n \n Doesn’t support the change to an SRE team.\n \n Has no slack capacity they can leverage to change the team’s day-to-day activities.\n \n Sees no benefit to their day-to-day routine after a few months.\n \n Works with systems that do not support scripting or automation.\n \n Doesn’t have the software engineering skills to automate their current workload.\n \n Doesn’t consistently have the skills needed to evolve toward SRE, or an interest in acquiring the skills.\n Mitigations The team: \n Secures senior leadership support for the change.\n \n Renegotiates responsibilities to create the slack needed to effect change.\n \n Manages communication of the change very carefully.\n \n Has access to robust personal and technical support throughout the transition.\n \n Deals with the concern about job losses head on. In a lot of environments, automation eliminates portions of work, but not jobs as a whole; while this might be a step on the path to job losses, it does at least have the virtue of freeing up time to do something better (and more sellable to a future employer) than nonautomated toil.\n \n Can escape operational overload and have more significant impact. If engineers reduce the volume of toil enough to necessitate a smaller team, then their experience should be highly reusable elsewhere in your organization. If their experience can’t be used internally, it should provide an advantage in seeking work elsewhere.\n \n Receives training to acquire the skills SREs need. Your product development team can provide product training, while SRE orientation can make use of this book and other external resources.\n \n Changes how performance is evaluated—the metrics that assess both the team and individuals. The former should be aligned with SLOs and adoption of other SRE practices; the latter should be aligned with evidence of SRE skills.\n \n Adds an experienced SRE or developer to the team.\n \n Has the freedom (budget or time) to identify and introduce new open source or cloud-based monitoring and alerting systems to enable automation. Determining whether the existing systems are sufficient should be an early priority.\n \n Regularly reviews progress internally and with stakeholders.\n Norming \n Norming entails working past the issues raised in Risks and mitigations and reaching broad agreement on best practices for the organization’s SRE teams. Teams need to agree on an acceptable level of toil, appropriate alerting thresholds, and important and relevant SRE practices. Teams also need to become self-sufficient at proactively identifying the challenges ahead of the service and setting medium- and long-term goals to improve the service.\n \n Teams should reach the following levels of maturity during the norming phase:\n \n SLOs and error budgets are in place, and the error budget policy is exercised following significant incidents. Leadership is interested in SLO measurements.\n \n On-call rotations are established and sustainable (see On-Call). On-call engineers are compensated for their on-call time. There is sufficient tooling, documentation2, and training to support any team member during a significant incident.\n \n Toil is documented, bounded, and managed. As a result, SREs complete impactful projects that improve reliability and efficiency.\n \n Postmortem culture is well established. (See Postmortem Culture: Learning from Failure.)\n \n The team exhibits most of the tenets listed in How SRE Relates to DevOps.\n \n As the team solves initial issues listed in Storming, they capture what they learned and prevent repeating problems. The team regularly runs training exercises, such as Wheel of Misfortune or DiRT (Disaster Recovery Testing). (For more information on on-call training, see Chapter 11 in our first book and SRE Engagement Model in this book.)\n \n The product development team benefits from remaining involved in the on-call rotation.\n \n The team produces regular reports (e.g., quarterly) for their stakeholders that cover the highlights, lowlights, and key metrics of the reporting period.\n \n Establishing a healthy relationship with your product development team forms the basis of many of these mitigation strategies. Teams should plan work together per your organization’s planning cycle.\n \n Before moving on to the next step: pause, celebrate this success, and write a retrospective that covers your journey so far.\n Performing \n The SRE team’s experience with production and work up to this point should have earned the respect and attention of the wider organization, and laid the foundation for strategically moving forward. In the final stage of Tuckman’s performance model, performing, you should expect to:\n \n Partner on all architecture design and change.\n From the initial design phase onward, SRE should define the patterns for how software is built and structured for reliability. \n Have complete workload self-determination.\n \n Teams should consistently apply Principle 3 with a view toward the holistic health of the system.\n Partnering on architecture \n The product development team should start to reach out to its partner SRE team for advice on all significant service changes. The SRE team now has the opportunity to have some of its greatest impact.\n \n For example, the SRE team might provide early input into the design of new service architecture to reduce the likelihood of high-cost reengineering at a later date. The product development and SRE teams can acknowledge their differences in perspective on architectural decisions to arrive at a good design process. A successful engagement can add value through:\n \n Improved reliability, scalability, and operability\n \n Better reuse of existing patterns\n \n Simpler migration (if required)\n Self-regulating workload \n Whereas architectural partnerships should emerge somewhat organically over time, an SRE team must clearly assert Principle #3 to its partners. Doing so requires strong team leadership and clear, upfront commitment from senior management. The ability to regulate its own workload secures the SRE team’s position as an engineering team that works on the organization’s most important services, equal to its product development team peers.\n \n In practice, how an SRE team goes about determining its own workload depends on the teams with which SREs interface. At Google, SRE teams most commonly interact with a distinct product development team. In this case, the relationship has the following characteristics:\n \n An SRE team chooses if and when to onboard a service (see Chapter 32 of Site Reliability Engineering).\n \n In the event of operational overload, the team can reduce toil by:\n \n Reducing the SLO\n \n Transferring operational work to another team (e.g., a product development team)\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, the SRE team can hand back the service to the product development team.\n SRE engagement is not perpetual—it feeds itself by solving problems at scale and improving the reliability of services. If an SRE team has solved all such problems for a service, you need to either:\n \n Intentionally consider what other reliability challenges the SRE team needs to tackle.\n \n Make an intentional decision to hand back the service to the product development team.\n Otherwise, your team risks attrition as SREs move on to more interesting opportunities. The slow bleed from attrition can put production at risk. \n Not all SRE teams have partner product development teams. Some SRE teams are also responsible for developing the systems they run. Some SRE teams package third-party software, hardware, or services (e.g., open source packages, network equipment, something-as-a-service), and turn those assets into internal services. In this case, you don’t have the option to transfer work back to another team. Instead, consider the following tactics:\n \n If the service does not conform to its SLO, stop feature-related project work in favor of reliability-focused project work.\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, reduce your SLOs—unless management provides more capacity (people or infrastructure) to deal with the situation.\n Making More SRE Teams \n Once your first SRE team is up and running, you may want to form an additional SRE team. You might do so for one of the following reasons:\n Service complexity \n As a service gains users and features, it becomes more complex and harder for a single SRE team to support effectively. You might want to split the team into subteams that specialize in parts of the service.\n SRE rollout \n If your first SRE team has been successful and made a clear difference, there may be an organizational interest in adopting this approach across more services.\n Geographically split \n You want to split the team into two halves in different time zones and move to 12-hour on-call shifts.\n \n When you’re creating a new SRE team, we recommend that you do the following:\n \n Read any postmortems written after other teams were established. Identify and repeat what went well and fix and explore alternatives for things that didn’t go well.\n \n Seed the new team with SREs from the existing team—some of your best SREs and highest-potential SREs who can rise to the challenge. In our experience, finding qualified SRE candidates is difficult, so growing a team quickly with new hires often isn’t realistic.\n \n Standardize the framework for establishing teams and onboarding services (see SRE Engagement Model).\n \n Make changes to the on-call responsibilities slowly. For example:\n \n To avoid a sudden loss of skilled on-call engineers, keep team members on-call for their previous team’s systems for a transitional period.\n \n After the teams split, wait three to six months to split the on-call rotations.\n Service Complexity Where to split \n If a service becomes too complex for a single team to manage, there are a number of ways to split the work. Consider the following options to simplify the cognitive load on team members:\n Architectural splits \n For example, compute, storage, and network; frontend and backend; frontend and database; client and server; frontend and pipelines.\n Language splits \n SRE principles are not dependent on programming languages. However, if your SREs are deeply involved in your source code, there may be some benefit in a split along these lines.\n Location splits \n If your organization’s engineering spans multiple offices, you might want to align SRE team placement with application development.\n Pitfalls \n When a team splits, sometimes none of the new teams pick up responsibility for a component owned by the original team. To mitigate this risk, you can:\n \n Designate one team as responsible for everything not covered in the second team’s charter.\n \n Appoint a senior SRE to an overarching technical lead role across both teams.\n SRE Rollout \n If your initial SRE team(s) are successful, your organization may want more of them. We recommend carefully prioritizing the services that receive SRE support. Consider the following points:\n \n Prioritize services for which reliability has a high financial or reputational impact. The higher the impact, the higher the priority.\n \n Define the minimal viable set of services that need to be up in order for the product to function. Prioritize those services and make sure that other services degrade gracefully.\n \n A service should not be a priority for SRE simply because it’s unreliable. SRE should be applied tactically where it is most relevant for the business. You also don’t want to allow your developers to ignore reliability until after SREs are engaged.\n Geographical Splits \n As described in Chapter 11 of our first book, Google commonly staffs sister SRE teams on different continents. We do this for a number of reasons:\n Service reliability \n If a major incident (e.g., natural disaster) prevents one team from operating, the other team can continue to support a service.\n On-call stress \n Splitting the pager rotation into 12-hour shifts allows proper breaks for on-call engineers.\n Recruiting and retaining talent \n An on-call shift that overlaps the normal working day broadens the base of engineers that we can recruit into SRE roles, and underlines the engineering part of our role.\n Production maturity \n Splitting service responsibility across two offices tends to lead to an improvement in maturity as the need for documentation, training, and standardization become more important.\n \n If your organization is lucky enough to already have engineering teams on multiple continents, we recommend staffing multisite SRE teams. It’s possible to have an SRE team in a different office than the development team, but in our experience, colocation provides benefits in the form of a healthy and robust interteam dialog. Otherwise, it’s harder for SREs to understand how the services evolve or how the technical infrastructure is used, and it’s harder for product developers to be optimistic about infrastructure improvements.\n Placement: How many time zones apart should the teams be? \n Assuming you have some choice, time zone separation is an important consideration in deciding where to locate the two teams. Unfortunately, the objectives are mutually exclusive:\n \n Minimizing the number of hours that on-callers have to work outside of normal office hours\n \n Maximizing the overlap time when both teams are online so that they can interact with each other regularly\n The situation is complicated by Daylight Saving Time. \n In our experience, staffing teams in time zones that are six to eight hours apart works well and avoids 12 a.m. to 6 a.m. on-call shifts. You can use online resources like https://www.timeanddate.com/worldclock/meeting.html to visualize time zone overlaps for various locations.\n People and projects: Seeding the team \n When you split a team geographically, the first SRE team in a new office will set the norms for future SRE teams. Your likelihood of success will be much higher if you can identify one or more SREs who are willing to relocate from the original site on a temporary or long-term basis to establish SRE practices and recruit and train the new team. The new team should also undertake a high-value project that fosters collaboration within the team and requires interaction with their sister team.\n Parity: Distributing Work Between Offices and Avoiding a “Night Shift” \n Often, one of two sister SRE teams is colocated (or at least in the same time zone) with the product development team (we’ll call this “Office 1”). If this is the case, be vigilant to ensure that the team that is not colocated (“Office 2”) doesn’t become a night shift that has little contact with the product development team, takes more than its fair share of toil, or is assigned only the less interesting or impactful projects.\n \n The workloads of the two offices will have some natural differences:\n \n Your service likely has a daily peak, and one office will be on-call during that peak. As a result, the on-call experience of the two sites will differ.\n \n Your development process will produce new releases with a particular cadence. One office will likely take more of the burden associated with rollouts and rollbacks.\n \n Office 1 is more likely to be interrupted during their working day by questions from the product development team.\n \n It’s easier for Office 1 to undertake project work associated with major releases. Conversely, it’s easier for Office 2 to undertake project work decoupled from immediate product goals.\n \n You can help maintain balance by using the following practices:\n \n Balance the on-call load between offices. Designate a higher percentage of tickets to the office that fields the lower percentage of pages.\n \n Associate development areas with SRE teams in a particular office. This could be short term (e.g., according to project) or longer term (e.g., according to service). Otherwise, the product development team will likely lean on Office 1, and not effectively engage with SREs in Office 2.\n \n Assign a higher percentage of internal service improvement projects (that are likely to require less involvement with the product development team) to Office 2.\n \n Spread the most interesting and impactful projects fairly between the two offices.\n \n Maintain a similar team size and seniority mix between the two offices.\n \n Split projects across the two sites to deliberately foster interoffice interactions between SREs. While running a major project from a single office might gain some efficiencies, splitting projects across the two sites both helps spread knowledge and builds trust between offices.\n \n Allow engineers to travel to the other office regularly. This enables creating better rapport and, hence, willingness to do work for the other side.\n Placement: What about having three shifts? \n Our attempts at splitting SRE teams across three sites resulted in various issues:\n \n It is impossible to have an interoffice production meeting that all SREs can attend (see Chapter 31 of our first book).\n \n It is harder to ensure parity of knowledge, capability, and operational response across three offices.\n \n If all on-call duties take place only during office hours, there’s less of an incentive to automate low-level toil and low-value pages. Being the hero that fixes easy problems is fun during office hours. But if it has some amount of personal cost, the motivation to make sure it never happens again is sharp and immediate.\n Timing: Should both halves of the team start at the same time? \n You might spin up sister teams using any of the following models:\n \n Both halves start at the same time.\n \n Set up the site that is colocated with the product development team first. This allows SREs to get involved earlier in the product lifecycle.\n \n Set up the site that is not colocated with the product development team first or, if a service has been in production for some time, the SRE team and the product development team can share the pager.\n \n Start making changes according to where the right people are at the right time.\n Finance: Travel budget \n It is very important to create opportunities for high-quality interactions between the two halves of the team. Despite the effectiveness of video conferencing for day-to-day meetings, we’ve found that regular face-to-face interactions go a long way toward facilitating healthy relationships and trust. We recommend that:\n \n Every SRE, product development manager, and technical lead in Site 1 visit Site 2 annually (at a minimum), and vice versa.\n \n Every SRE in a management or technical leadership role at Site 1 visit Site 2 at least twice a year, and vice versa.\n \n All SREs convene at least once a year.\n Leadership: Joint ownership of a service \n If you have multiple SRE sites, you likely have decision makers in each office. These parties should meet regularly face-to-face and by video conference. Only by establishing a strong personal relationship can they:\n \n Debate solutions to challenges that the team faces.\n \n Resolve differences of opinion and agree on a joint path forward.\n \n Advocate on behalf of each other’s team (to prevent an “us versus them” mentality).\n \n Support the health of each other’s team.\n Suggested Practices for Running Many Teams \n New challenges arise as your organization accumulates more SREs and SRE teams. For example, you’ll have to:\n \n Ensure you provide SREs with the career opportunities they need.\n \n Encourage consistency of practices and tooling.\n \n Deal with services that don’t justify a full SRE engagement.\n \n This section describes a number of the practices that we have adopted at Google to deal with these concerns. Depending on the specifics of your organization, some or many may work for you too.\n Mission Control \n Google’s Mission Control program gives engineers from product development teams the opportunity to spend six months embedded in an SRE team. We typically match these engineers to SRE teams working in a distinctly different area from their expertise. The software engineer is trained in production systems and practices and eventually goes on-call for that service. After six months, some engineers decide to stay in SRE; others return to their old teams with a much better appreciation for the production environment and SRE practices. SRE teams benefit from additional engineering resources and gain valuable insight into gaps and inaccuracies in training material and documentation.\n SRE Exchange \n Google’s SRE Exchange program lets an SRE spend a week working alongside a different SRE team. The visiting SRE observes how the host team works and shares practices from their home team that might be useful to the host team. At the end of the exchange, the visiting SRE writes a trip report describing their week, their observations, and their recommendations for both teams. This program is useful at Google because our SRE teams are highly specialized.\n Training \n Training is critical to SRE’s ability to operate systems. While most of this is delivered in-team (see Training roadmap in On-Call), consider establishing a standard training curriculum for all SREs. At Google, all new SREs attend SRE EDU, an immersive weeklong training that introduces key concepts, tooling, and platforms that almost all SREs work with. This provides a baseline level of knowledge across all new SREs, and simplifies team-specific and service-specific training objectives. The SRE EDU team also runs a second series of classes a few months later that covers the common tools and processes that we use for managing major incidents. Our performance management process specifically recognizes SREs who facilitate this training.\n Horizontal Projects \n Because SRE teams are tightly aligned with a set of services, there is a temptation for teams to build proprietary solutions to deal with the challenges they encounter—for example, monitoring, software rollout, and configuration tools. This can lead to significant duplication of efforts across teams. While there is value in allowing a number of solutions to compete for “market” adoption, at some point, it makes sense to converge upon a standard solution that:\n \n Meets most teams’ requirements\n \n Provides a stable and scalable platform upon which the next layer of innovation can be built\n \n Google approaches these efforts by using horizontal teams, which are often staffed by experienced SREs. These horizontal teams build and run a standard solution and partner with other SRE teams to ensure smooth adoption. (For more information on horizontal software development, see Case Study 2: Common Tooling Adoption in SRE in Organizational Change Management in SRE.)\n SRE Mobility \n Google does its best to ensure that engineers actively want to be part of their respective teams. To this end, we make sure that SREs are able to (and aware that they’re able to) transfer between teams. Assuming there are no performance issues, SREs are free to transfer to other SRE teams with open headcount. SREs who also passed our hiring bar for software engineer roles are free to transfer to product development teams (see https://bit.ly/2xyQ4aD).\n \n This level of mobility is very healthy for individuals and teams for a number of reasons:\n \n Engineers are able to identify and occupy roles of interest.\n \n If personal circumstances change and on-call responsibilities become impractical, SREs can explore opportunities on teams with less demanding on-call duties. They can obtain this information by talking to other teams and reviewing team on-call stats.\n \n SREs who move between teams broaden the experience of the teams they join.\n \n SREs who move between offices help build or maintain cultural consistency between different offices.\n \n SREs are not compelled to work on services that are unhealthy, or for managers who aren’t supportive of their personal development.\n \n This policy also has the side effect of keeping your SRE managers focused on healthy and happy services and teams.\n Travel \n In addition to the travel required to keep geographically split teams healthy (see the section Finance: Travel budget), consider funding for:\n \n Building internal company communities of interest that include SREs from a number of offices. Such groups can largely collaborate via email and video conferencing, but meet face-to-face at least annually.\n \n Attending and presenting at industry-wide SRE and SRE-related conferences to broaden knowledge, learn how other organizations tackle similar problems, and, hopefully, be inspired and energized.\n Launch Coordination Engineering Teams \n As described in Chapter 27 of our first book, a Launch Coordination Engineering (LCE) team can apply SRE principles to a broader set of product development teams—teams that build services that don’t require the level of attention that merits SRE engagement. Just like any other SRE team, an LCE team should be actively engaged in automating its daily operations. For example, developing standard tooling and frameworks enable product development teams to design, build, and launch their service in a production environment.\n Production Excellence \n As the number of SRE teams at your organization grows, a number of best practices will emerge. Every SRE team evolves differently, so evaluating them requires senior SREs with insight into multiple teams.\n \n At Google, we run a regular service review called Production Excellence. On a regular basis, senior SRE leaders review every SRE team, assessing them on a number of standard measures (e.g., pager load, error budget usage, project completion, bug closure rates). The review both applauds outstanding performance and provides suggestions for underperforming teams.\n \n Experienced SREs are equipped to evaluate nuanced scenarios. For example, it can be challenging to tease out a drop in project completion rate caused by a team merger or split versus genuine team performance issues. If a team is at risk of becoming overwhelmed, the reviewers can and should to use their organizational position to support the team's leadership in rectifying the situation.\n SRE Funding and Hiring At Google, we use two practices to make sure that every SRE contributes significant value: \n Much of SRE funding comes from the same source as product development team funding. Similar to testing or security, reliability is a core pillar of product development, and is funded as such.\n \n In our experience, the supply of SREs is always smaller than the demand for them. This dynamic ensures that we regularly review and prioritize the services that receive SRE support.\n \n In short, you should have fewer SREs than the organization would like, and only enough SREs to accomplish their specialized work.\n \n At Google, the ratio of SREs to engineers on product development teams ranges from around 1:5 (e.g., low-level infrastructure services) to around 1:50 (e.g., consumer-facing applications with a large number of microservices built using standard frameworks). Many services fall in the middle of this range, at a ratio of around 1:10.\n Conclusion \n We believe an organization of any size can implement SRE practices by applying the following three principles:\n \n SRE needs SLOs with consequences.\n \n SREs must have time to make tomorrow better than today.\n \n SRE teams have the ability to regulate their workload.\n \n Since Google started talking publicly about SRE, it has grown from Google-specific production practices into a profession practiced in many companies. These principles have often proven true—both over our years of direct experience at scale, and during our more recent experience of working with our customers to adopt SRE practices. Because we’ve seen these practices work both within and outside of Google, we feel these recommendations should prove useful across a range of organizations of different types and sizes.\n 1Bruce W. Tuckman, “Developmental Sequence in Small Groups,” Psychological Bulletin 63, no. 6 (1965): 384–99.\n 2Shylaja Nukala and Vivek Rau, “Why SRE Documents Matter,” ACM Queue (May–June 2018): forthcoming."}, {"uroven": 1, "text": "Your First SRE Team"}, {"uroven": 5, "text": "Forming"}, {"uroven": 6, "text": "Creating a new team as part of a major project"}, {"uroven": 6, "text": "Assembling a horizontal SRE team"}, {"uroven": 6, "text": "Converting a team in place"}, {"uroven": 5, "text": "Storming"}, {"uroven": 6, "text": "Risks and mitigations"}, {"uroven": 6, "text": "New team as part of a major project"}, {"uroven": 6, "text": "Horizontal SRE team"}, {"uroven": 6, "text": "A team converted in place"}, {"uroven": 5, "text": "Norming"}, {"uroven": 5, "text": "Performing"}, {"uroven": 6, "text": "Partnering on architecture"}, {"uroven": 6, "text": "Self-regulating workload"}, {"uroven": 1, "text": "Making More SRE Teams"}, {"uroven": 5, "text": "Service Complexity"}, {"uroven": 6, "text": "Where to split"}, {"uroven": 6, "text": "Pitfalls"}, {"uroven": 5, "text": "SRE Rollout"}, {"uroven": 5, "text": "Geographical Splits"}, {"uroven": 6, "text": "Placement: How many time zones apart should the teams be?"}, {"uroven": 6, "text": "People and projects: Seeding the team"}, {"uroven": 6, "text": "Parity: Distributing Work Between Offices and Avoiding a “Night Shift”"}, {"uroven": 6, "text": "Placement: What about having three shifts?"}, {"uroven": 6, "text": "Timing: Should both halves of the team start at the same time?"}, {"uroven": 6, "text": "Finance: Travel budget"}, {"uroven": 6, "text": "Leadership: Joint ownership of a service"}, {"uroven": 1, "text": "Suggested Practices for Running Many Teams"}, {"uroven": 5, "text": "Mission Control"}, {"uroven": 5, "text": "SRE Exchange"}, {"uroven": 5, "text": "Training"}, {"uroven": 5, "text": "Horizontal Projects"}, {"uroven": 5, "text": "SRE Mobility"}, {"uroven": 5, "text": "Travel"}, {"uroven": 5, "text": "Launch Coordination Engineering Teams"}, {"uroven": 5, "text": "Production Excellence"}, {"uroven": 5, "text": "SRE Funding and Hiring"}, {"uroven": 1, "text": "Conclusion"}], "markdown": "# SRE Team Lifecycles\n\nBy David Ferguson and Prashant Labhane\nwith Shylaja Nukala\n\nThe [Preface](/workbook/preface/) to this book set a goal to “dispel the idea that SRE is implementable only at ‘Google scale’ or in ‘Google culture.’” This chapter lays out a [roadmap for maturing an SRE organization](https://sre.google/resources/practices-and-processes/enterprise-roadmap-to-sre/) from unstaffed but aspirational, through various stages of maturity, to a robust and (potentially) globally distributed set of SRE teams. Regardless of where you are in your journey as an SRE organization, this chapter will help you identify strategies for evolving your SRE organization.\n\nWe discuss the [SRE principles](../../sre-book/part-II-principles/) that need to be in place at each stage of this journey. While your own journey will vary depending on the size, nature, and geographic distribution of your organization, the path we describe to successfully apply SRE principles and implement SRE practices should be generalizable to many different types of organizations.\n\n## SRE Practices Without SREs\n\nEven if you don’t have SREs, you can adopt SRE practices by using SLOs. As discussed in [Implementing SLOs](/workbook/implementing-slos/), SLO are the [foundations for SRE practices](../../sre-book/part-III-practices/). As such, they inform our first principle of SRE:\n\nThe performance of your service relative to SLOs should guide your business decisions.\n\nWe believe that the following practices—which you can achieve without even having a single SRE—are the crucial steps toward implementing SRE practices:\n\n- Acknowledge that you don’t want 100% reliability.\n- Set a reasonable SLO target. This SLO should measure the reliability that is most important to your users.\n- Agree on an error budget policy that will help defend your user experience. Use the error budget to help guide:\n- Measure the SLO and commit to following the error budget policy. This commitment requires agreement from company leadership.\n\nEven if an organization doesn’t have SRE staff, we believe that it is worthwhile to set SLOs for critical customer applications and to implement an error budget policy, if only because an implicit 100% SLO means a team can only ever be reactive. This SRE principle allows you to make data-informed decisions about how to ensure the reliability of your application.\n\n# Starting an SRE Role\n\n##### Finding Your First SRE\n\nIt’s possible that your first SRE employees won’t have explicit experience as an SRE. We’ve found the following areas to be relevant to the SRE role, and therefore appropriate to cover in interviews:\n\nOperations\n\n- Running applications in production gives invaluable insights that cannot be easily gained otherwise.\n\nSoftware engineering\n\n- SREs need to understand the software they are supporting, and be empowered to improve it.\n\nMonitoring systems\n\n- SRE principles require SLOs that can be measured and accounted for.\n\nProduction automation\n\n- Scaling operations requires automation.\n\nSystem architecture\n\n- Scaling the application requires good architecture.\n\nYour first SRE will likely occupy a difficult and ambiguous position between velocity and reliability goals. They will need to be resilient and flexible in order to provide the right balance between enabling product development and defending the customer experience.\n\n##### Placing Your First SRE\n\nOnce you’ve hired your first SRE, you now need to decide where to embed them in your organization. You have three main choices:\n\n- In a product development team\n- In an operations team\n- In a horizontal role, consulting across a number of teams\n\nWe recommend that you evaluate the pros and cons of each of these three options after reading this chapter, taking into account:\n\nYour own role and sphere of influence.\n\n- If you’re able to effectively influence product development team(s), then embedding an SRE in operations or horizontal work can help iron out gnarly production issues early.\n\nThe immediate challenges that you face.\n\n- If the challenges require hands-on work to mitigate a technical problem or business risk, then embedding an SRE in an operations or product team can be advantageous. Doing so removes organizational silos and facilitates easy communication between team members.\n\nThe challenges you expect to face in the next 12 months.\n\n- For example, if you’re focusing on launches, embedding the SRE within a product development team might make sense. If you’re focusing on infrastructure changes, embedding the SRE with an operations team might make more sense.\n\nYour plan for how you want to change your organization.\n\n- If you plan to move toward a centralized SRE organization, you might not want to embed SREs in product development teams initially—it might be hard to remove them from these teams later.\n\nThe person you have identified as your first SRE.\n\n- Decide where this first SRE would be most productive based upon their background and skills.\n\nIt might make sense to experiment with different models as you figure out which approach works best for you. However, we strongly recommend sticking with one stable and coherent model in the long term; otherwise, the instability will undermine the effectiveness of SRE.\n\n##### Bootstrapping Your First SRE\n\nYour first SRE’s initial mission is to get up to speed on the service. In order to have a positive impact, an SRE needs to understand the service’s current problems, its required toil (see [Eliminating Toil](/workbook/eliminating-toil/)) and the engineering required to keep the system within SLOs. If your organization doesn’t already have SLOs and error budgets as per Principle #1, your first SRE needs to perform the engineering required to design and implement these tools. At this point, our second SRE principle comes into play:\n\nWithout this principle, toil will only increase as service usage increases and the system becomes correspondingly larger and more complex. A healthy balance between operational responsibilities and project work is essential—if toil becomes too burdensome, talented engineers will flee the team. For more guidance on how an SRE team might obtain that balance, see [Identifying and Recovering from Overload](/workbook/overload/).\n\nInitial project work might focus on one of the following:\n\n- Improving monitoring so you can better understand the system when things go wrong.\n- Addressing any high-priority actions identified in recent postmortems (see [Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/) ).\n- Implementing automation to reduce a specific element of toil required to run the service.\n\nIt is vital that the SRE has a distinctive role and that their projects benefit the whole team. Look out for signs that the SRE work is not going well:\n\n- Their mix of work is indistinguishable from other engineering work.\n- If your first SRE is on a product development team, they are doing more than their fair share of operational work, or they are the only person working on service configuration changes.\n- The SLOs are not being taken seriously, and the SRE isn’t making progress in measuring and defending the customer experience.\n\n##### Distributed SREs \n If your organization doesn’t have (or doesn’t plan to have) a discrete [SRE team](https://sre.google/sre-book/introduction/) (or teams), it’s important to construct a community for distributed SREs. This community should advocate the SRE’s distinctive role and drive consistent changes in reliability-focused technology or practices across teams. Without a social grouping, individual SREs may feel very isolated.\n Your First SRE Team \n You might start an SRE team in a number of ways. Approaches we’ve used at Google, from least to most complex, include:\n \n Creating a new team as part of a major project\n \n Establishing a horizontal SRE team\n \n Converting an existing team (for example, an operations team)\n \n The approach that’s best for your organization is highly situational. A team needs enough SREs to handle the operational tasks required to run the service. Addressing that workload brings us to our third principle:\n \n Outside of a large SRE organization, a team likely can’t embrace this concept from day one. This principle is open to interpretation and can be difficult to put into practice organizationally. It’s also the most subtle of our three principles, and bears some unpacking. The following sections walk through the stages of building a team, using Tuckman’s performance model and stages of forming, storming, norming, and performing.1 Forming \n The team you assemble should have combined experience and expertise that includes the following:\n \n Making changes to application software to improve reliability and performance.\n \n Writing software to:\n \n Expedite the detection and mitigation of problems in production.\n \n Automate manual processes.\n \n Establishing and using strong software practices and standards to facilitate long-term maintainability.\n \n Having a methodical and careful approach to making operational changes: be able to describe why certain practices are reliable.\n \n Understanding system architecture (distributed systems design and operation).\n \n Ideally, your team will be ready to adopt a new way of working, and have a balance of skills and established personal relationships with other teams. If possible, we recommend that you seed the team with internal transfers. This can reduce the time it takes your team to get up and running.\n Creating a new team as part of a major project \n You might create a [new SRE team](../../sre-book/part-IV-management/) for a major project that is large enough to justify new headcount, and for which reliability and operational capability have been identified as project risks. Examples might include the creation of a new service or a substantial change in your technology (e.g., migration to a public cloud).\n Assembling a horizontal SRE team \n In this approach (well documented in [Chapter 27](https://sre.google/sre-book/reliable-product-launches/) of our first book), a small team of SREs consults across a number of teams. This team might also establish best practices and tools for configuration management, monitoring, and alerting.\n Converting a team in place \n You might be able to convert an existing team into an SRE team. The existing team likely isn’t a product development team; typical candidates include an operations team or a team responsible for managing a popular open source component that your organization uses heavily. Be careful to avoid renaming a team from “Operations” to “SRE” without first applying SRE practices and principles! If your rebranding effort fails, your organization may be poisoned against the entire concept of SRE in the future.\n Storming \n Once assembled, the team needs to start working collaboratively: the team members need to work well with each other, and also with other teams.\n \n You might employ any number of tactics to promote this type of cohesion. At Google, we’ve had success providing a regular forum for learning and discussing SRE practices and reflecting on how the team is performing. For example, you might hold a regular television lunch, where you show a video from SREcon, or a book club, where you all preread some relevant content and then discuss how you can apply it.\n \n During this phase, encourage your new SRE team to stretch themselves. Your new SREs should be comfortable speaking out about SRE practices that don’t fit within your organization, and whether it’s worth making the change so they fit.\n Risks and mitigations \n During this nascent phase of the SRE journey, there are a number of ways the team might fail. Next we present some risks and possible mitigation strategies, broken down by how the new team formed. You might use one or more of the mitigation strategies for each risk.\n New team as part of a major project Risks The team:\n \n Spreads itself too thin by taking responsibility for too many services at once.\n \n A team that is constantly firefighting doesn’t have time to address risk in a more permanent way.\n \n Becomes too introspective trying to understand SRE principles and how to implement them. As a result, it underdelivers.\n \n For example, the team might become consumed with developing the perfect SLO definition, neglecting the needs of the service in the meantime.\n \n Doesn’t examine its work thoroughly. As a result, service management reverts to previous behaviors.\n \n The team is paged 100 times a day. Since the pages don’t indicate that immediate intervention is required, they ignore the pages.\n \n Abandons SRE principles and practices in order to meet product milestones.\n \n Reliability improvements to defend the SLO, such as architectural changes, may never be implemented because they set back development timelines.\n \n Gets distracted by conflict with existing teams that perceive a loss of influence or power as a result of the new SRE team.\n \n Does not have the necessary breadth of skills, so delivers only part of the necessary improvements.\n \n Without the ability to, for example, program, SREs may be unable to instrument the product to measure reliability.\n Mitigations The team: \n Engages initially on a single important service.\n \n Engages as early as possible on the project, ideally at the design stage.\n \n Has input into the design, with a particular focus on defining SLOs and analyzing reliability risks inherent in the design.\n \n Partners with the product development team and works on features specific to reliability and integration with existing operational platforms.\n \n Is not expected to have operational responsibility on day one. Instead, this responsibility initially sits with the product development team or project team. This may be a significant cultural change that needs support from management.\n \n Has clear agreement on the conditions that a service must meet to be onboarded by SRE (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) of Site Reliability Engineering).\n In addition: \n If the project involves a migration, the team should have a solid understanding of the current and future environments. If you need to recruit team members externally, consider candidates who have knowledge of software engineering and the future environment.\n \n Continue to keep the number of new hires to less than a third of the team so that the training effort doesn’t overwhelm existing team members.\n Horizontal SRE team Risks \n The team is perceived as a new “gating” organization that does no real work or adds no real value.\n Mitigations The team: \n Is seeded with respected engineers who have relevant subject matter expertise.\n \n Undertakes project work that focuses on delivering tools (for monitoring, alerting, rollouts, best practices, checklists). These tools should have a short-term beneficial impact on at least two other teams.\n \n Communicates successes and benefits. An SRE team that makes an efficiency breakthrough, automates away toil, or permanently eliminates a source of system unreliability should be celebrated.\n \n Sees themselves as enablers, not gatekeepers. Focus on solutions, not just problems.\n A team converted in place Risks The team: \n Perceives that the conversion process is the start of a slow journey to job losses as automation replaces humans.\n \n Doesn’t support the change to an SRE team.\n \n Has no slack capacity they can leverage to change the team’s day-to-day activities.\n \n Sees no benefit to their day-to-day routine after a few months.\n \n Works with systems that do not support scripting or automation.\n \n Doesn’t have the software engineering skills to automate their current workload.\n \n Doesn’t consistently have the skills needed to evolve toward SRE, or an interest in acquiring the skills.\n Mitigations The team: \n Secures senior leadership support for the change.\n \n Renegotiates responsibilities to create the slack needed to effect change.\n \n Manages communication of the change very carefully.\n \n Has access to robust personal and technical support throughout the transition.\n \n Deals with the concern about job losses head on. In a lot of environments, automation eliminates portions of work, but not jobs as a whole; while this might be a step on the path to job losses, it does at least have the virtue of freeing up time to do something better (and more sellable to a future employer) than nonautomated toil.\n \n Can escape operational overload and have more significant impact. If engineers reduce the volume of toil enough to necessitate a smaller team, then their experience should be highly reusable elsewhere in your organization. If their experience can’t be used internally, it should provide an advantage in seeking work elsewhere.\n \n Receives training to acquire the skills SREs need. Your product development team can provide product training, while SRE orientation can make use of this book and other external resources.\n \n Changes how performance is evaluated—the metrics that assess both the team and individuals. The former should be aligned with SLOs and adoption of other SRE practices; the latter should be aligned with evidence of SRE skills.\n \n Adds an experienced SRE or developer to the team.\n \n Has the freedom (budget or time) to identify and introduce new open source or cloud-based monitoring and alerting systems to enable automation. Determining whether the existing systems are sufficient should be an early priority.\n \n Regularly reviews progress internally and with stakeholders.\n Norming \n Norming entails working past the issues raised in Risks and mitigations and reaching broad agreement on best practices for the organization’s SRE teams. Teams need to agree on an acceptable level of toil, appropriate alerting thresholds, and [important and relevant SRE practices](../../sre-book/part-III-practices/). Teams also need to become self-sufficient at proactively identifying the challenges ahead of the service and setting medium- and long-term goals to improve the service.\n \n Teams should reach the following levels of maturity during the norming phase:\n \n SLOs and error budgets are in place, and the error budget policy is exercised following significant incidents. Leadership is interested in SLO measurements.\n \n On-call rotations are established and sustainable (see [On-Call](/workbook/on-call/)). On-call engineers are compensated for their on-call time. There is sufficient tooling, documentation2, and training to support any team member during a significant incident.\n \n Toil is documented, bounded, and managed. As a result, SREs complete impactful projects that improve reliability and efficiency.\n \n Postmortem culture is well established. (See [Postmortem Culture: Learning from Failure](/workbook/postmortem-culture/).)\n \n The team exhibits most of the tenets listed in [How SRE Relates to DevOps](/workbook/how-sre-relates/).\n \n As the team solves initial issues listed in Storming, they capture what they learned and prevent repeating problems. The team regularly runs training exercises, such as Wheel of Misfortune or DiRT (Disaster Recovery Testing). (For more information on on-call training, see [Chapter 11](https://sre.google/sre-book/being-on-call/) in our first book and [SRE Engagement Model](/workbook/engagement-model/) in this book.)\n \n The product development team benefits from remaining involved in the on-call rotation.\n \n The team produces regular reports (e.g., quarterly) for their stakeholders that cover the highlights, lowlights, and key metrics of the reporting period.\n \n Establishing a healthy relationship with your product development team forms the basis of many of these mitigation strategies. Teams should plan work together per your organization’s planning cycle.\n \n Before moving on to the next step: pause, celebrate this success, and write a retrospective that covers your journey so far.\n Performing \n The SRE team’s experience with production and work up to this point should have earned the respect and attention of the wider organization, and laid the foundation for strategically moving forward. In the final stage of Tuckman’s performance model, performing, you should expect to:\n \n Partner on all architecture design and change.\n From the initial design phase onward, SRE should define the patterns for how software is built and structured for reliability. \n Have complete workload self-determination.\n \n Teams should consistently apply Principle 3 with a view toward the holistic health of the system.\n Partnering on architecture \n The product development team should start to reach out to its partner SRE team for advice on all significant service changes. The SRE team now has the opportunity to have some of its greatest impact.\n \n For example, the SRE team might provide early input into the design of new service architecture to reduce the likelihood of high-cost reengineering at a later date. The product development and SRE teams can acknowledge their differences in perspective on architectural decisions to arrive at a good design process. A successful engagement can add value through:\n \n Improved reliability, scalability, and operability\n \n Better reuse of existing patterns\n \n Simpler migration (if required)\n Self-regulating workload \n Whereas architectural partnerships should emerge somewhat organically over time, an SRE team must clearly assert Principle #3 to its partners. Doing so requires strong team leadership and clear, upfront commitment from senior management. The ability to regulate its own workload secures the SRE team’s position as an engineering team that works on the organization’s most important services, equal to its product development team peers.\n \n In practice, how an SRE team goes about determining its own workload depends on the teams with which SREs interface. At Google, SRE teams most commonly interact with a distinct product development team. In this case, the relationship has the following characteristics:\n \n An SRE team chooses if and when to onboard a service (see [Chapter 32](https://sre.google/sre-book/evolving-sre-engagement-model/) of Site Reliability Engineering).\n \n In the event of operational overload, the team can reduce toil by:\n \n Reducing the SLO\n \n Transferring operational work to another team (e.g., a product development team)\n \n If it becomes impossible to operate a service at SLO within agreed [toil constraints](https://sre.google/sre-book/eliminating-toil/), the SRE team can hand back the service to the product development team.\n [SRE engagement](https://sre.google/sre-book/communication-and-collaboration/) is not perpetual—it feeds itself by solving problems at scale and improving the reliability of services. If an SRE team has solved all such problems for a service, you need to either:\n \n Intentionally consider what other reliability challenges the SRE team needs to tackle.\n \n Make an intentional decision to hand back the service to the product development team.\n Otherwise, your team risks attrition as SREs move on to more interesting opportunities. The slow bleed from attrition can put production at risk. \n Not all SRE teams have partner product development teams. Some SRE teams are also responsible for developing the systems they run. Some SRE teams package third-party software, hardware, or services (e.g., open source packages, network equipment, something-as-a-service), and turn those assets into internal services. In this case, you don’t have the option to transfer work back to another team. Instead, consider the following tactics:\n \n If the service does not conform to its SLO, stop feature-related project work in favor of reliability-focused project work.\n \n If it becomes impossible to operate a service at SLO within agreed toil constraints, reduce your SLOs—unless management provides more capacity (people or infrastructure) to deal with the situation.\n Making More SRE Teams \n Once your first SRE team is up and running, you may want to form an additional SRE team. You might do so for one of the following reasons:\n Service complexity \n As a service gains users and features, it becomes more complex and harder for a single SRE team to support effectively. You might want to split the team into subteams that specialize in parts of the service.\n SRE rollout \n If your first SRE team has been successful and made a clear difference, there may be an organizational interest in adopting this approach across more services.\n Geographically split \n You want to split the team into two halves in different time zones and move to 12-hour on-call shifts.\n \n When you’re creating a new SRE team, we recommend that you do the following:\n \n Read any postmortems written after other teams were established. Identify and repeat what went well and fix and explore alternatives for things that didn’t go well.\n \n Seed the new team with SREs from the existing team—some of your best SREs and highest-potential SREs who can rise to the challenge. In our experience, finding qualified SRE candidates is difficult, so growing a team quickly with new hires often isn’t realistic.\n \n Standardize the framework for establishing teams and onboarding services (see [SRE Engagement Model](/workbook/engagement-model/)).\n \n Make changes to the on-call responsibilities slowly. For example:\n \n To avoid a sudden loss of skilled on-call engineers, keep team members on-call for their previous team’s systems for a transitional period.\n \n After the teams split, wait three to six months to split the on-call rotations.\n Service Complexity Where to split \n If a service becomes too complex for a single team to manage, there are a number of ways to split the work. Consider the following options to simplify the cognitive load on team members:\n Architectural splits \n For example, compute, storage, and network; frontend and backend; frontend and database; client and server; frontend and pipelines.\n Language splits \n SRE principles are not dependent on programming languages. However, if your SREs are deeply involved in your source code, there may be some benefit in a split along these lines.\n Location splits \n If your organization’s engineering spans multiple offices, you might want to align SRE team placement with application development.\n Pitfalls \n When a team splits, sometimes none of the new teams pick up responsibility for a component owned by the original team. To mitigate this risk, you can:\n \n Designate one team as responsible for everything not covered in the second team’s charter.\n \n Appoint a senior SRE to an overarching technical lead role across both teams.\n SRE Rollout \n If your initial SRE team(s) are successful, your organization may want more of them. We recommend carefully prioritizing the services that receive SRE support. Consider the following points:\n \n Prioritize services for which reliability has a high financial or reputational impact. The higher the impact, the higher the priority.\n \n Define the minimal viable set of services that need to be up in order for the product to function. Prioritize those services and make sure that other services degrade gracefully.\n \n A service should not be a priority for SRE simply because it’s unreliable. SRE should be applied tactically where it is most relevant for the business. You also don’t want to allow your developers to ignore reliability until after SREs are engaged.\n Geographical Splits \n As described in [Chapter 11](https://sre.google/sre-book/being-on-call/) of our first book, Google commonly staffs sister SRE teams on different continents. We do this for a number of reasons:\n Service reliability \n If a major incident (e.g., natural disaster) prevents one team from operating, the other team can continue to support a service.\n On-call stress \n Splitting the pager rotation into 12-hour shifts allows proper breaks for on-call engineers.\n Recruiting and retaining talent \n An on-call shift that overlaps the normal working day broadens the base of engineers that we can recruit into SRE roles, and underlines the engineering part of our role.\n Production maturity \n Splitting service responsibility across two offices tends to lead to an improvement in maturity as the need for documentation, training, and standardization become more important.\n \n If your organization is lucky enough to already have engineering teams on multiple continents, we recommend staffing multisite SRE teams. It’s possible to have an SRE team in a different office than the development team, but in our experience, colocation provides benefits in the form of a healthy and robust interteam dialog. Otherwise, it’s harder for SREs to understand how the services evolve or how the technical infrastructure is used, and it’s harder for product developers to be optimistic about infrastructure improvements.\n Placement: How many time zones apart should the teams be? \n Assuming you have some choice, time zone separation is an important consideration in deciding where to locate the two teams. Unfortunately, the objectives are mutually exclusive:\n \n Minimizing the number of hours that on-callers have to work outside of normal office hours\n \n Maximizing the overlap time when both teams are online so that they can interact with each other regularly\n The situation is complicated by Daylight Saving Time. \n In our experience, staffing teams in time zones that are six to eight hours apart works well and avoids 12 a.m. to 6 a.m. on-call shifts. You can use online resources like [https://www.timeanddate.com/worldclock/meeting.html](https://www.timeanddate.com/worldclock/meeting.html) to visualize time zone overlaps for various locations.\n People and projects: Seeding the team \n When you split a team geographically, the first SRE team in a new office will set the norms for future SRE teams. Your likelihood of success will be much higher if you can identify one or more SREs who are willing to relocate from the original site on a temporary or long-term basis to establish SRE practices and recruit and train the new team. The new team should also undertake a high-value project that fosters collaboration within the team and requires interaction with their sister team.\n Parity: Distributing Work Between Offices and Avoiding a “Night Shift” \n Often, one of two sister SRE teams is colocated (or at least in the same time zone) with the product development team (we’ll call this “Office 1”). If this is the case, be vigilant to ensure that the team that is not colocated (“Office 2”) doesn’t become a night shift that has little contact with the product development team, takes more than its fair share of toil, or is assigned only the less interesting or impactful projects.\n \n The workloads of the two offices will have some natural differences:\n \n Your service likely has a daily peak, and one office will be on-call during that peak. As a result, the on-call experience of the two sites will differ.\n \n Your development process will produce new releases with a particular cadence. One office will likely take more of the burden associated with rollouts and rollbacks.\n \n Office 1 is more likely to be interrupted during their working day by questions from the product development team.\n \n It’s easier for Office 1 to undertake project work associated with major releases. Conversely, it’s easier for Office 2 to undertake project work decoupled from immediate product goals.\n \n You can help maintain balance by using the following practices:\n \n Balance the on-call load between offices. Designate a higher percentage of tickets to the office that fields the lower percentage of pages.\n \n Associate development areas with SRE teams in a particular office. This could be short term (e.g., according to project) or longer term (e.g., according to service). Otherwise, the product development team will likely lean on Office 1, and not effectively engage with SREs in Office 2.\n \n Assign a higher percentage of internal service improvement projects (that are likely to require less involvement with the product development team) to Office 2.\n \n Spread the most interesting and impactful projects fairly between the two offices.\n \n Maintain a similar team size and seniority mix between the two offices.\n \n Split projects across the two sites to deliberately foster interoffice interactions between SREs. While running a major project from a single office might gain some efficiencies, splitting projects across the two sites both helps spread knowledge and builds trust between offices.\n \n Allow engineers to travel to the other office regularly. This enables creating better rapport and, hence, willingness to do work for the other side.\n Placement: What about having three shifts? \n Our attempts at splitting SRE teams across three sites resulted in various issues:\n \n It is impossible to have an interoffice production meeting that all SREs can attend (see [Chapter 31](https://sre.google/sre-book/communication-and-collaboration/) of our first book).\n \n It is harder to ensure parity of knowledge, capability, and operational response across three offices.\n \n If all on-call duties take place only during office hours, there’s less of an incentive to automate low-level toil and low-value pages. Being the hero that fixes easy problems is fun during office hours. But if it has some amount of personal cost, the motivation to make sure it never happens again is sharp and immediate.\n Timing: Should both halves of the team start at the same time? \n You might spin up sister teams using any of the following models:\n \n Both halves start at the same time.\n \n Set up the site that is colocated with the product development team first. This allows SREs to get involved earlier in the product lifecycle.\n \n Set up the site that is not colocated with the product development team first or, if a service has been in production for some time, the SRE team and the product development team can share the pager.\n \n Start making changes according to where the right people are at the right time.\n Finance: Travel budget \n It is very important to create opportunities for high-quality interactions between the two halves of the team. Despite the effectiveness of video conferencing for day-to-day meetings, we’ve found that regular face-to-face interactions go a long way toward facilitating healthy relationships and trust. We recommend that:\n \n Every SRE, product development manager, and technical lead in Site 1 visit Site 2 annually (at a minimum), and vice versa.\n \n Every SRE in a management or technical leadership role at Site 1 visit Site 2 at least twice a year, and vice versa.\n \n All SREs convene at least once a year.\n Leadership: Joint ownership of a service \n If you have multiple SRE sites, you likely have decision makers in each office. These parties should meet regularly face-to-face and by video conference. Only by establishing a strong personal relationship can they:\n \n Debate solutions to challenges that the team faces.\n \n Resolve differences of opinion and agree on a joint path forward.\n \n Advocate on behalf of each other’s team (to prevent an “us versus them” mentality).\n \n Support the health of each other’s team.\n Suggested Practices for Running Many Teams \n New challenges arise as your organization accumulates more SREs and SRE teams. For example, you’ll have to:\n \n Ensure you provide SREs with the career opportunities they need.\n \n Encourage consistency of practices and tooling.\n \n Deal with services that don’t justify a full SRE engagement.\n \n This section describes a number of the practices that we have adopted at Google to deal with these concerns. Depending on the specifics of your organization, some or many may work for you too.\n Mission Control \n Google’s [Mission Control](https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land) program gives engineers from product development teams the opportunity to spend six months embedded in an SRE team. We typically match these engineers to SRE teams working in a distinctly different area from their expertise. The software engineer is trained in production systems and practices and eventually goes on-call for that service. After six months, some engineers decide to stay in SRE; others return to their old teams with a much better appreciation for the production environment and SRE practices. SRE teams benefit from additional engineering resources and gain valuable insight into gaps and inaccuracies in training material and documentation.\n SRE Exchange \n Google’s SRE Exchange program lets an SRE spend a week working alongside a different SRE team. The visiting SRE observes how the host team works and shares practices from their home team that might be useful to the host team. At the end of the exchange, the visiting SRE writes a trip report describing their week, their observations, and their recommendations for both teams. This program is useful at Google because our SRE teams are highly specialized.\n Training \n Training is critical to SRE’s ability to operate systems. While most of this is delivered in-team (see [Training roadmap](/workbook/on-call#training-roadmap) in [On-Call](/workbook/on-call/)), consider establishing a standard [training curriculum](https://sre.google/resources/practices-and-processes/training-site-reliability-engineers/) for all SREs. At Google, all new SREs attend SRE EDU, an immersive weeklong training that introduces key concepts, tooling, and platforms that almost all SREs work with. This provides a baseline level of knowledge across all new SREs, and simplifies [team-specific and service-specific training](../../sre-book/accelerating-sre-on-call/) objectives. The SRE EDU team also runs a second series of classes a few months later that covers the common tools and processes that we use for managing major incidents. Our performance management process specifically recognizes SREs who facilitate this training.\n Horizontal Projects \n Because SRE teams are tightly aligned with a set of services, there is a temptation for teams to build proprietary solutions to deal with the challenges they encounter—for example, monitoring, software rollout, and configuration tools. This can lead to significant duplication of efforts across teams. While there is value in allowing a number of solutions to compete for “market” adoption, at some point, it makes sense to converge upon a standard solution that:\n \n Meets most teams’ requirements\n \n Provides a stable and scalable platform upon which the next layer of innovation can be built\n \n Google approaches these efforts by using horizontal teams, which are often staffed by experienced SREs. These horizontal teams build and run a standard solution and partner with other SRE teams to ensure smooth adoption. (For more information on horizontal software development, see [Case Study 2: Common Tooling Adoption in SRE](/workbook/organizational-change#case-study-2-common-tooling-adoption-in-sre) in [Organizational Change Management in SRE](/workbook/organizational-change/).)\n SRE Mobility \n Google does its best to ensure that engineers actively want to be part of their respective teams. To this end, we make sure that SREs are able to (and aware that they’re able to) transfer between teams. Assuming there are no performance issues, SREs are free to transfer to other SRE teams with open headcount. SREs who also passed our hiring bar for software engineer roles are free to transfer to product development teams (see [https://bit.ly/2xyQ4aD](https://sre.google/in-conversation/)).\n \n This level of mobility is very healthy for individuals and teams for a number of reasons:\n \n Engineers are able to identify and occupy roles of interest.\n \n If personal circumstances change and on-call responsibilities become impractical, SREs can explore opportunities on teams with less demanding on-call duties. They can obtain this information by talking to other teams and reviewing team on-call stats.\n \n SREs who move between teams broaden the experience of the teams they join.\n \n SREs who move between offices help build or maintain cultural consistency between different offices.\n \n SREs are not compelled to work on services that are unhealthy, or for managers who aren’t supportive of their personal development.\n \n This policy also has the side effect of keeping your SRE managers focused on healthy and happy services and teams.\n Travel \n In addition to the travel required to keep geographically split teams healthy (see the section Finance: Travel budget), consider funding for:\n \n Building internal company communities of interest that include SREs from a number of offices. Such groups can largely collaborate via email and video conferencing, but meet face-to-face at least annually.\n \n Attending and presenting at industry-wide SRE and SRE-related conferences to broaden knowledge, learn how other organizations tackle similar problems, and, hopefully, be inspired and energized.\n Launch Coordination Engineering Teams \n As described in [Chapter 27](https://sre.google/sre-book/reliable-product-launches/) of our first book, a Launch Coordination Engineering (LCE) team can apply SRE principles to a broader set of product development teams—teams that build services that don’t require the level of attention that merits SRE engagement. Just like any other SRE team, an LCE team should be actively engaged in automating its daily operations. For example, developing standard tooling and frameworks enable product development teams to design, build, and launch their service in a production environment.\n Production Excellence \n As the number of SRE teams at your organization grows, a number of best practices will emerge. Every SRE team evolves differently, so evaluating them requires senior SREs with insight into multiple teams.\n \n At Google, we run a regular service review called Production Excellence. On a regular basis, senior SRE leaders review every SRE team, assessing them on a number of standard measures (e.g., pager load, error budget usage, project completion, bug closure rates). The review both applauds outstanding performance and provides suggestions for underperforming teams.\n \n Experienced SREs are equipped to evaluate nuanced scenarios. For example, it can be challenging to tease out a drop in project completion rate caused by a team merger or split versus genuine team performance issues. If a team is at risk of becoming overwhelmed, the reviewers can and should to use their organizational position to support the team's leadership in rectifying the situation.\n SRE Funding and Hiring At Google, we use two practices to make sure that every SRE contributes significant value: \n Much of SRE funding comes from the same source as product development team funding. Similar to testing or security, reliability is a core pillar of product development, and is funded as such.\n \n In our experience, the supply of SREs is always smaller than the demand for them. This dynamic ensures that we regularly review and prioritize the services that receive SRE support.\n \n In short, you should have fewer SREs than the organization would like, and only enough SREs to accomplish their specialized work.\n \n At Google, the ratio of SREs to engineers on product development teams ranges from around 1:5 (e.g., low-level infrastructure services) to around 1:50 (e.g., consumer-facing applications with a large number of microservices built using standard frameworks). Many services fall in the middle of this range, at a ratio of around 1:10.\n Conclusion \n We believe an organization of any size can implement SRE practices by applying the following three principles:\n \n SRE needs SLOs with consequences.\n \n SREs must have time to make tomorrow better than today.\n \n SRE teams have the ability to regulate their workload.\n \n Since Google started talking publicly about SRE, it has grown from Google-specific production practices into a profession practiced in many companies. These principles have often proven true—both over our years of direct experience at scale, and during our more recent experience of working with our customers to adopt SRE practices. Because we’ve seen these practices work both within and outside of Google, we feel these recommendations should prove useful across a range of organizations of different types and sizes.\n 1Bruce W. Tuckman, “Developmental Sequence in Small Groups,” Psychological Bulletin 63, no. 6 (1965): 384–99.\n 2Shylaja Nukala and Vivek Rau, “Why SRE Documents Matter,” ACM Queue (May–June 2018): forthcoming.", "znaku_textu": 44395, "slov": 6803, "odkazu": 62, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "https://sre.google/workbook/team-lifecycles", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-14 05:12:47", "sha256": "0560ea34ed5e48f2f6dd25fcfd4fe8d620c3124e39454ec349172b01c4f664b3", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://www.google.com/", "https://en.wikipedia.org/wiki/Bus_factor", "https://www.timeanddate.com/worldclock/meeting.html", "https://cloud.google.com/blog/products/gcp/incident-management-at-google-adventures-in-sre-land", "https://creativecommons.org/licenses/by-nc-nd/4.0/"]}